business/documents method

Last modified: 9. October 2020

This method allows OpenTrans 2.1 documents to be retrieved for existing orders and quotes. The corresponding transaction IDs can be obtained using the respective business/deals or business/quotes API methods.

OpenTrans 2.1 ORDER download

The following URL is an example of retrieving an OpenTrans 2.1 ORDER document for an ITscope order that has already been created or sent, using the transaction ID ‘acb-sxf-sswa-1241541′:

https://api.itscope.com/2.0/business/documents/acb-sxf-sswa-1241541/ORDER.xml

OpenTrans 2.1 ORDERRESPONSE download

The following URL is an example of retrieving an OpenTrans 2.1 ORDERRESPONSE document for an ITscope order that has already been sent, using the transaction ID ‘acb-sxf-bbaaa-35461541′:

https://api.itscope.com/2.0/business/documents/acb-sxf-bbaaa-35461541/ORDERRESPONSE.xml

OpenTrans 2.1 DISPATCHNOTIFICATION download

The following URL is an example of retrieving an OpenTrans 2.1 DISPATCHNOTIFICATION document for an ITscope order that has already been sent, using the transaction ID ‘bdh-aur-bbey-887523435′:

https://api.itscope.com/2.0/business/documents/bdh -aur-bbey-887523435 /DISPATCHNOTIFICATION.xml

OpenTrans 2.1 INVOICE download

The following URL is an example of retrieving an OpenTrans 2.1 INVOICE document for an ITscope order that has already been sent, using the transaction ID ‘buik-oikje-uiohd-98792874′:

https://api.itscope.com/2.0/business/documents/ buik-oikje-uiohd-98792874 /INVOICE.xml

OpenTrans 2.1 QUOTATION download

The following URL is an example of retrieving an OpenTrans 2.1 QUOTATION document for an ITscope order that has already been created or sent, using the transaction ID ‘123-agfa-1254-579a653bd’:

https://api.itscope.com/2.0/business/documents/123-agfa-1254-579a653bd/QUOTATION.xml

Validation of ORDER and other OpenTrans 2.1 documents

You can validate the OpenTrans 2.1 ORDER document during development (or before sending) by using our API.

The error output will specify the line and column number that led to the invalid result.

e.g.: https://api.itscope.com/2.0/business/documents/validate

Additionally, OpenTrans 2.1 ORDERRESPONSE, DISPATCHNOTIFICATION and INVOICE documents can also be validated.

Was this article helpful?
Dislike 0
Views: 24