Hi Paul,
Thanks for your feedback and I’m really sorry you keep running into
problems.
Absolutely, our API is in need of some TLC and we’re making that a priority
over the coming months.
I’ll follow-up with Graeme as to the status of your most recent bug. If
needed, I can update the documentation to help others avoid the issue in
the short-term.
I really appreciate your patience and wish you a happy (and bug free) 2015!
Kind regards,
Dave JOn 26 December 2014 at 12:03, Paul McDermott <larkfield.consulting@gmail.com wrote:
On 23/12/14 10:01, Graeme Boyd wrote:
There’s another bug with the API - we’re not returning the correct nominal
code for the cost of sales category from the stock_items resource.
OK, so that’s 2 bugs. It would be useful if, at a minimum, these issues
were noted in the API documentation.
The following works for me to create a return of stock journal:
{
“journal_set”: {
“dated_on”: “2014-12-23”,
“description”: “Stock Test from API”,
“journal_entries”: [
{
“category”: “https://api.freeagent.com/v2/categories/101”,
“debit_value”: “100.0”
},
{
“category”: “https://api.freeagent.com/v2/categories/609”,
“debit_value”: “-100.0”,
“stock_altering_quantity”: “1.0”,
“stock_item”: “https://api.freeagent.com/v2/stock_items/1”
}
]
}
}
Thank you. I have now got it working by looking up the ‘Cost of Sale’
category via the API.
As a side issue, the new journal entry I created appears “locked”, whereas
those I created via the web UI do not. It is true that the journal entry I
created was for a “locked” VAT period, but the journal entry is not VAT
affecting, and other journal entries in the same period do not appear
locked, which is inconsistent.
I’ll get the bug with the cost of sales category fixed.
Very good. An what about the misleading error code?
More generally, I think Free Agent need to spend some more time on this
API. The functionality coverage is not complete, and paying customers such
as myself are experiencing bugs. It is sometime difficult to remember that
this is a paid for SaaS proposition, and not some open source project
(except when I get the monthly bill…).
From a strategic perspective, a good, fully-featured API is the key to
creating a well-developed ecosystem of add-on services and partners. Free
Agent is slipping behind in this regard when compared to say Xero.
Thanks for your help,
Paul
–
You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to freeagent_api+unsubscribe@googlegroups.com.
To post to this group, send email to freeagent_api@googlegroups.com.
Visit this group at http://groups.google.com/group/freeagent_api.
For more options, visit https://groups.google.com/d/optout.
David Jones
Senior Support Engineer
FreeAgent