PUT api/Carriers/transport/trailerTypes
Request Information
URI Parameters
None.
Body Parameters
BindTrailerTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CarrierId | integer |
Required |
|
| TrailerTypes | Collection of SimplifiedTrailerTypeViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"CarrierId": 1,
"TrailerTypes": [
{
"TrailerTypeId": 1,
"IsFull": true,
"IsPartial": true
},
{
"TrailerTypeId": 1,
"IsFull": true,
"IsPartial": true
}
]
}
application/xml, text/xml
Sample:
<BindTrailerTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Contacts">
<CarrierId>1</CarrierId>
<TrailerTypes>
<SimplifiedTrailerTypeViewModel>
<IsFull>true</IsFull>
<IsPartial>true</IsPartial>
<TrailerTypeId>1</TrailerTypeId>
</SimplifiedTrailerTypeViewModel>
<SimplifiedTrailerTypeViewModel>
<IsFull>true</IsFull>
<IsPartial>true</IsPartial>
<TrailerTypeId>1</TrailerTypeId>
</SimplifiedTrailerTypeViewModel>
</TrailerTypes>
</BindTrailerTypeViewModel>
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.