pdfDocument resource type
Represents a pdf document in Business Central.
Note
For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.
Methods
Method | Return Type | Description |
---|---|---|
GET pdfDocument | pdfDocument | Gets a pdf document object. |
Navigation
Navigation | Return Type | Description |
---|---|---|
salesInvoice | salesInvoice | Gets the salesinvoice of the pdfDocument. |
salesQuote | salesQuote | Gets the salesquote of the pdfDocument. |
salesCreditMemo | salesCreditMemo | Gets the salescreditmemo of the pdfDocument. |
purchaseInvoice | purchaseInvoice | Gets the purchaseinvoice of the pdfDocument. |
purchaseCreditMemo | purchaseCreditMemo | Gets the purchasecreditmemo of the pdfDocument. |
Properties
Property | Type | Description |
---|---|---|
id | GUID | The unique ID of the pdf document. Non-editable. |
parentId | GUID | The ID of the parent entity. |
parentType | NAV.attachmentEntityBufferDocumentType | The type of the parent document of the pdf document. It can be " ", "Journal", "Sales Order", "Sales Quote", "Sales Credit Memo", "Sales Invoice" or "Purchase Invoice". |
pdfDocumentContent | stream | The content of the PDF document. |
JSON representation
Here is a JSON representation of the pdfDocument resource.
{
"id": "GUID",
"parentId": "GUID",
"parentType": "NAV.attachmentEntityBufferDocumentType",
"pdfDocumentContent": "stream"
}
See Also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour