POST api/ShipmentActions/AddAttachment
Request Information
URI Parameters
None.
Body Parameters
ShipmentAttachmentBindingViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ShipmentId | integer |
Required |
|
| AccessLevelId | integer |
Required |
|
| AttachmentTypeId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"ShipmentId": 1,
"AccessLevelId": 2,
"AttachmentTypeId": 3
}
application/xml, text/xml
Sample:
<ShipmentAttachmentBindingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.ShipmentAttachment"> <AccessLevelId>2</AccessLevelId> <AttachmentTypeId>3</AttachmentTypeId> <ShipmentId>1</ShipmentId> </ShipmentAttachmentBindingViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.