POST api/CargoRelease/Attachments/DownloadAttachments
Request Information
URI Parameters
None.
Body Parameters
DownloadAttachmentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentID | Collection of globally unique identifier |
None. |
|
| IFSAttachmentID | integer |
None. |
|
| SourceType_ID | string |
None. |
|
| FileName | string |
None. |
|
| DownloadType | DownloadTypeEnum |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttachmentID": [
"ddbfbc9f-edbb-4bb1-991e-1b8a9084c968",
"61de7dda-6d6f-4701-b83a-41050192f6b6"
],
"IFSAttachmentID": 1,
"SourceType_ID": "sample string 1",
"FileName": "sample string 2",
"DownloadType": 1
}
application/xml, text/xml
Sample:
<DownloadAttachmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
<AttachmentID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>ddbfbc9f-edbb-4bb1-991e-1b8a9084c968</d2p1:guid>
<d2p1:guid>61de7dda-6d6f-4701-b83a-41050192f6b6</d2p1:guid>
</AttachmentID>
<DownloadType>DownloadAttachments</DownloadType>
<FileName>sample string 2</FileName>
<IFSAttachmentID>1</IFSAttachmentID>
<SourceType_ID>sample string 1</SourceType_ID>
</DownloadAttachmentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"AttachmentID":["ddbfbc9f-edbb-4bb1-991e-1b8a9084c968","61de7dda-6d6f-4701-b83a-41050192f6b6"],"IFSAttachmentID":1,"SourceType_ID":"sample string 1","FileName":"sample string 2","DownloadType":1}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.