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. |
|
InvoiceAttachments | Collection of InvoiceAttachmentDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "InvoiceDocumentId": "31795ce4-872b-4ac9-9994-8831570ebef3", "InvoiceId": "e8276388-0b51-4bb6-85a1-5c8fbce97b29", "DocumentType": "sample string 3", "ItemSort": 1, "InvoiceAttachments": [ { "InvoiceAttachmentId": "f7845968-3272-4665-bb8c-b175fd009be0", "InvoiceDocumentId": "590d151c-6d6b-4bf9-92e9-c34ecb459142", "FileName": "sample string 3", "Extension": "sample string 4", "Size": 1, "DatetimeCreated": "2025-08-30T16:10:00.3923167-05:00", "Attachment": "QEA=", "TifFilePath": "sample string 6", "SecurityUserId": "fcc4d404-5c60-436d-8299-9b33e614dda3" }, { "InvoiceAttachmentId": "f7845968-3272-4665-bb8c-b175fd009be0", "InvoiceDocumentId": "590d151c-6d6b-4bf9-92e9-c34ecb459142", "FileName": "sample string 3", "Extension": "sample string 4", "Size": 1, "DatetimeCreated": "2025-08-30T16:10:00.3923167-05:00", "Attachment": "QEA=", "TifFilePath": "sample string 6", "SecurityUserId": "fcc4d404-5c60-436d-8299-9b33e614dda3" } ] }
application/xml, text/xml
Sample:
<InvoiceDocumentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DTO"> <DocumentType>sample string 3</DocumentType> <InvoiceAttachments> <InvoiceAttachmentDTO> <Attachment>QEA=</Attachment> <DatetimeCreated>2025-08-30T16:10:00.3923167-05:00</DatetimeCreated> <Extension>sample string 4</Extension> <FileName>sample string 3</FileName> <InvoiceAttachmentId>f7845968-3272-4665-bb8c-b175fd009be0</InvoiceAttachmentId> <InvoiceDocumentId>590d151c-6d6b-4bf9-92e9-c34ecb459142</InvoiceDocumentId> <SecurityUserId>fcc4d404-5c60-436d-8299-9b33e614dda3</SecurityUserId> <Size>1</Size> <TifFilePath>sample string 6</TifFilePath> </InvoiceAttachmentDTO> <InvoiceAttachmentDTO> <Attachment>QEA=</Attachment> <DatetimeCreated>2025-08-30T16:10:00.3923167-05:00</DatetimeCreated> <Extension>sample string 4</Extension> <FileName>sample string 3</FileName> <InvoiceAttachmentId>f7845968-3272-4665-bb8c-b175fd009be0</InvoiceAttachmentId> <InvoiceDocumentId>590d151c-6d6b-4bf9-92e9-c34ecb459142</InvoiceDocumentId> <SecurityUserId>fcc4d404-5c60-436d-8299-9b33e614dda3</SecurityUserId> <Size>1</Size> <TifFilePath>sample string 6</TifFilePath> </InvoiceAttachmentDTO> </InvoiceAttachments> <InvoiceDocumentId>31795ce4-872b-4ac9-9994-8831570ebef3</InvoiceDocumentId> <InvoiceId>e8276388-0b51-4bb6-85a1-5c8fbce97b29</InvoiceId> <ItemSort>1</ItemSort> </InvoiceDocumentDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResultOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Content | boolean |
None. |
|
SerializerSettings | JsonSerializerSettings |
None. |
|
Encoding | Encoding |
None. |
|
Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.