Companies
The Aqilla REST API can be used to access different companies.
This is allowed in two different forms. Either by including a company tag in the xml body or by including it in the URL.
Updating Company-specific Document
POST: UPDATING AN EXISTING DOCUMENT.
Only supports company in the URL.
API Request: POST > URL +
?company.name=You Company Name
POST / API update request |
XML
|
For example, if you are using the API to approve or post a purchase invoice and need to specify the company.
Creating Company-specific Document
This is an example of entering a Sales Invoice (Services) document in a specified company.
Supported by Company Tag (<company name=""/>) and URL tag
API Request: PUT > URL +
?company.name=You Company Name
XML Request Body
<company name="Demo Ltd"/>
API Request |
XML
|
Body |
XML
|
Response |
XML
|