POST api/orders/{orderNumber}/attachments?attachmentType={attachmentType}&desiredFilename={desiredFilename}
Adds an attachment to a previously created work order. File sizes are limited to just under 2Gb. Include contents of file as binary multipart/form-data data in the request. The attachmentType and desiredFilename parameters can be submitted either on the URL or as part of the multipart/form-data in the body. Anything specified in the URL takes precedence.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
orderNumber |
Work order number. |
integer |
Required |
attachmentType |
Type of attachment. |
OrderAttachmentType |
Default value is Other |
desiredFilename |
The desired original name of the file if different from actual filename. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.