Posting multiple expenses in one HTTP request

Hi guys,

I’m making progress on an Android client for FreeAgent Central, and was
wondering if there’s currently any way to post multiple records (such as
expense and mileage claims) in a single HTTP request, rather than having to
open a new connection for each record.

Timeslips in my app are cached to a local database so that the user can
choose to upload them to FAC when they have connectivity. I’ve tried
wrapping the XML in a plural node (e.g.
……), but this
returned an HTTP 500 error.

Does the API support this type of post, or is it planned for APIv2?

Thanks!
Chris
Plymouth Software Limited
Tamar Science Park, 1 Davy Road, Plymouth, Devon, PL6 8BX

+44 (0)1752 395016


twitter.com/plymsoftware

Company No. 7678709. Registered in England and Wales.

…Just after posting, I spotted this post
https://groups.google.com/d/msg/freeagent_api/Twi7azOeJc0/fASzQiHY8P8J

Sorry for the double-up…would be nice for v2 though :slight_smile:

Chris
Plymouth Software Limited
Tamar Science Park, 1 Davy Road, Plymouth, Devon, PL6 8BX

+44 (0)1752 395016


twitter.com/plymsoftware

Company No. 7678709. Registered in England and Wales.

Hi Adil,

Yep, I’m putting the same functionality into my app as I find quickly
snapping a receipt and uploading it the easiest way to keep track of things
in FreeAgent.

Happy to add you to the beta list of FreeAgent testers if you wanted to help
test my app instead - let me know your email (email to chris at
plymouthsoftware dot com) and I’ll add you to the list.

Chris

Hi Chris and Freeagent API-ers,

Forgot to say on this group. I’m working on an Android app too. Plan is to
keep it simple and to allow entering details of expenses/mileage and taking
pictures of receipts offline (or when connected to the internet), and to
upload/synch saved expenses next time the app is opened with internet
connection. Didn’t realise there was another app being built and if so will
probably stop with that functionality to avoid duplicating work.

Let me know what you’re planning Chris if you don’t mind…

Regards,
AdilOn Thu, Oct 20, 2011 at 4:34 PM, Chris Blunt cbl2001@gmail.com wrote:

…Just after posting, I spotted this post
https://groups.google.com/d/msg/freeagent_api/Twi7azOeJc0/fASzQiHY8P8J

Sorry for the double-up…would be nice for v2 though :slight_smile:

Chris

Plymouth Software Limited
Tamar Science Park, 1 Davy Road, Plymouth, Devon, PL6 8BX

+44 (0)1752 395016

plymouthsoftware.com
twitter.com/plymsoftware

Company No. 7678709. Registered in England and Wales.


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/freeagent_api/-/TlZwhD1xZsoJ.

To post to this group, send email to freeagent_api@googlegroups.com.
To unsubscribe from this group, send email to
freeagent_api+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/freeagent_api?hl=en.