POST api/invoices/document
Request Information
URI Parameters
None.
Body Parameters
InvoiceDocumentDTOName | Description | Type | Additional information |
---|---|---|---|
InvoiceDocumentId | globally unique identifier |
None. |
|
InvoiceId | globally unique identifier |
None. |
|
DocumentType | string |
None. |
|
ItemSort | integer |
None. |
|
DecompressDocument | boolean |
None. |
|
InvoiceAttachments | Collection of InvoiceAttachmentDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "InvoiceDocumentId": "ff04f6e8-3617-4471-84dc-c9635b3a555f", "InvoiceId": "f35dca66-d5c0-4f92-9c99-568a3c577919", "DocumentType": "sample string 3", "ItemSort": 1, "DecompressDocument": true, "InvoiceAttachments": [ { "InvoiceAttachmentId": "fedb0bb1-1ed1-4a47-8d7c-752fff709d91", "InvoiceDocumentId": "e70994b8-a2f3-4cb3-bb23-898a259b5ef2", "FileName": "sample string 3", "Extension": "sample string 4", "Size": 1, "DatetimeCreated": "2025-04-03T18:11:40.2932607-05:00", "Attachment": "QEA=", "TifFilePath": "sample string 6", "SecurityUserId": "3a8cca6c-24dd-466d-9a80-5873e3e14df0" }, { "InvoiceAttachmentId": "fedb0bb1-1ed1-4a47-8d7c-752fff709d91", "InvoiceDocumentId": "e70994b8-a2f3-4cb3-bb23-898a259b5ef2", "FileName": "sample string 3", "Extension": "sample string 4", "Size": 1, "DatetimeCreated": "2025-04-03T18:11:40.2932607-05:00", "Attachment": "QEA=", "TifFilePath": "sample string 6", "SecurityUserId": "3a8cca6c-24dd-466d-9a80-5873e3e14df0" } ] }
application/xml, text/xml
Sample:
<InvoiceDocumentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DTO"> <DecompressDocument>true</DecompressDocument> <DocumentType>sample string 3</DocumentType> <InvoiceAttachments> <InvoiceAttachmentDTO> <Attachment>QEA=</Attachment> <DatetimeCreated>2025-04-03T18:11:40.2932607-05:00</DatetimeCreated> <Extension>sample string 4</Extension> <FileName>sample string 3</FileName> <InvoiceAttachmentId>fedb0bb1-1ed1-4a47-8d7c-752fff709d91</InvoiceAttachmentId> <InvoiceDocumentId>e70994b8-a2f3-4cb3-bb23-898a259b5ef2</InvoiceDocumentId> <SecurityUserId>3a8cca6c-24dd-466d-9a80-5873e3e14df0</SecurityUserId> <Size>1</Size> <TifFilePath>sample string 6</TifFilePath> </InvoiceAttachmentDTO> <InvoiceAttachmentDTO> <Attachment>QEA=</Attachment> <DatetimeCreated>2025-04-03T18:11:40.2932607-05:00</DatetimeCreated> <Extension>sample string 4</Extension> <FileName>sample string 3</FileName> <InvoiceAttachmentId>fedb0bb1-1ed1-4a47-8d7c-752fff709d91</InvoiceAttachmentId> <InvoiceDocumentId>e70994b8-a2f3-4cb3-bb23-898a259b5ef2</InvoiceDocumentId> <SecurityUserId>3a8cca6c-24dd-466d-9a80-5873e3e14df0</SecurityUserId> <Size>1</Size> <TifFilePath>sample string 6</TifFilePath> </InvoiceAttachmentDTO> </InvoiceAttachments> <InvoiceDocumentId>ff04f6e8-3617-4471-84dc-c9635b3a555f</InvoiceDocumentId> <InvoiceId>f35dca66-d5c0-4f92-9c99-568a3c577919</InvoiceId> <ItemSort>1</ItemSort> </InvoiceDocumentDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfAPIResponseName | Description | Type | Additional information |
---|---|---|---|
Content | APIResponse |
None. |
|
SerializerSettings | JsonSerializerSettings |
None. |
|
Encoding | Encoding |
None. |
|
Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.