AddDocumentAttachment
Add a URL of a PDF document to be added after a specific document in Business Central.
Endpoint
Code
BaseURL
The URL to the Business Central instance you want to target.
CompanyID
The ID of the company you want to add a document to.
Body
id
The ID of the record is a Guid. When inserting a new entry, it will be automatically created. Use this value if you want to change a specific entry.
type
The type is the Number of the corresponding record in Business Central.
e.g. 36 for a Sales Header
documentType
The documentType is the Number of the Document Type of the corresponding Record in Business Central.
e.g. 1 for Order
documentNo
The documentNo is the value of the No. field of the corresponding record in Business Central.
url
The url is a link that points to a pdf file. The url has to start with http:// or https://.
Example
Use HTTP Method POST with this URL and Body:
Code
Code


