JCoulter
JCoulter

Reputation: 21

Get new Invoice ID when created via API using JSON

I have been using XML to create invoices but I am updating my code and switching to using JSON. When using XML I would get a set of XML returned and part of the data was the new Invoice ID. However, so it seems at least, when I create a new invoice via the API using JSON, I just get "http/200" (or something like that) returned and no info about what the new invoice ID is! I need the invoice ID so I can post an attachment. I tried adding "?summarizeErrors=false" to the end of the URL but nothing was returned unless there was an issue - kinda what it says it does :-)

Can anyone point me in the right direction?

Thanks, Jeremy

Upvotes: 0

Views: 179

Answers (1)

JCoulter
JCoulter

Reputation: 21

Its Ok....I resolved it. Wrong value populated in a property in the HTTP control I was using...ugh.

Upvotes: 0

Related Questions