POST attachments/upload
Request Information
URI Parameters
None.
Body Parameters
UploadAttachmentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DocumentType | FORZADocumentTypes |
None. |
|
| DocumentKey | integer |
None. |
|
| FileName | string |
None. |
|
| Comments | string |
None. |
|
| OverwriteIfExists | boolean |
None. |
|
| AttachmentDataBase64 | string |
None. |
Request Formats
application/xml, text/xml
Sample:
<UploadAttachmentRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DocumentType>SalesInvoice</DocumentType> <DocumentKey>1</DocumentKey> <FileName>sample string 2</FileName> <Comments>sample string 3</Comments> <OverwriteIfExists>true</OverwriteIfExists> <AttachmentDataBase64>sample string 5</AttachmentDataBase64> </UploadAttachmentRequest>
Response Information
Resource Description
IHttpActionResultNone.