If it fails, you will receive an error message. Please note, if one of your payments has bad data, the entire transaction is invalid. Invoices not in the state of 'Accepted' or 'Paid' will cause the transaction to be invalid.
Not Allowed - Bad data in the XML or current delivery state does not allow an update
The following command is an example of how to use curl.
curl -H ‘Content-Type:application/xml’ -H ‘Accept:application/xml’ -k -X POST -d @import.xml https://<url>.<cloudlogistics-staging/gocloudlogistics>.com/<endpoint from above>?auth_token=...
Installing Curl on Windows
Select Type of Package: curl executable
Select Operating System: Windows / Win32 or Win64
Select for What Flavour: Generic
Select which Win32 Version (only if you selected Windows / Win32 in step 2): Unspecified
If you chose Windows / Win32 you should end up here, a page that links to http://www.paehl.com/open_source/?CURL_x.y.z (x.y.z will change as newer versions of curl are released). There you can click the first link ("Download WITHOUT SSL") or second link ("Download WITH SUPPORT SSL") for a zip file with curl.exe.
Windows curl example (Based on “WITH SUPPORT SSL” version):
curl -H “Content-Type:application/xml” -H “Accept:application/xml” -k -X POST --data “@import.xml” https://<url>.<cloudlogistics-staging/gocloudlogistics>.com/<endpoint from above>?auth_token=...