Document Line Create, Delete & Update
Create Document Line
The “www.” subdomain prefix can included and excluded from the URL used for the API Request. Examples below:
https://www.aqilla.net/InstanceName/wsapi/2.5/Documents/Miscellaneous/Miscellaneous - Details/MISC000004/sub
https://aqilla.net/InstanceName/wsapi/2.5/Documents/Miscellaneous/Miscellaneous - Details/MISC000004/sub
Try excluding “www.” from the URL if your API request fails to pull data.
The following endpoint URL styles are used:
https://{server}/{instance name}/wsapi/2.5/Documents/{summary view}/{details view}/{UBK}/sub
e.g. https://www.aqilla.net/ InstanceName/wsapi/2.5/Documents/Miscellaneous/Miscellaneous - Details/MISC000004/sub
https://{server}/{instance name}/wsapi/2.5/{GUID}/sub
e.g. https://www.aqilla.net/ InstanceName/wsapi/2.5/8sggg986s6787g786sts33ds/sub
Create document line - example
Header |
XML
|
Body |
XML
|
Response |
XML
|
Document lines are created with the Aqilla state Entered. See Promote Document Line to learn how to promote documents.
Attach file to document line
See: Attachments
Delete Document Line
The following endpoint URL styles are used:
https://{server}/{instance name}/wsapi/2.5/Documents/{summary view}/{details view}/{doc ref}/sub/{line number}
e.g. https://www.aqilla.net/ InstanceName /wsapi/2.5/Documents/Miscellaneous/Miscellaneous - Details/MISC000004/sub/1
https://{server}/{instance name}/wsapi/2.5/{GUID}/sub
e.g. https://www.aqilla.net/ InstanceName /wsapi/2.5/8sggg986s6787g786sts33ds
The line number may not be obvious to you. If you enter two lines and delete them both the next line will be line 3. It's always safest to use GUID's.
Delete document line - example
API Request |
XML
|
Response |
XML
|
Document lines are created with the Aqilla state Entered. See Promote Document Line to learn how to promote documents.
Update Document line
The following endpoint URL styles are used:
https://{server}/{instance name}/wsapi/2.5/Documents/{summary view}/{details view}/{UBK}/sub/{line number}
e.g. https://www.aqilla.net/ InstanceName /wsapi/2.5/Documents/Miscellaneous/Miscellaneous - Details/MISC000004/sub/1
https://{server}/{instance name}/wsapi/2.5/{GUID}
e.g. https://www.aqilla.net/ InstanceName /wsapi/2.5/8sggg986s6787g786sts33ds
The line number may not be obvious to you. If you enter two lines and delete them both the next line will be line 3. It's always safest to use GUID's.
Update document line - example
API Request |
XML
|
Body |
XML
|
Response |
XML
|