POST api/Services/EquipmentSizes
Request Information
URI Parameters
None.
Body Parameters
EquipmentSizeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
Required |
|
| MaxCft | decimal number |
None. |
|
| MaxCbm | decimal number |
None. |
|
| MaxLbs | decimal number |
None. |
|
| MaxKgs | decimal number |
None. |
|
| Refrigerated | boolean |
Required |
|
| IsActive | boolean |
Required |
|
| EquipmentType | string |
None. |
|
| EquipmentTypeId | integer |
Required |
|
| Service | string |
None. |
|
| Mode | string |
None. |
|
| ServiceLevel | string |
None. |
|
| ServiceType | string |
None. |
|
| ServiceLevelId | integer |
None. |
|
| ModeId | integer |
None. |
|
| ServiceId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"MaxCft": 1.0,
"MaxCbm": 1.0,
"MaxLbs": 1.0,
"MaxKgs": 1.0,
"Refrigerated": true,
"IsActive": true,
"EquipmentType": "sample string 5",
"EquipmentTypeId": 6,
"Service": "sample string 7",
"Mode": "sample string 8",
"ServiceLevel": "sample string 9",
"ServiceType": "sample string 10",
"ServiceLevelId": 11,
"ModeId": 12,
"ServiceId": 13
}
application/xml, text/xml
Sample:
<EquipmentSizeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Services"> <EquipmentType>sample string 5</EquipmentType> <EquipmentTypeId>6</EquipmentTypeId> <Id>1</Id> <IsActive>true</IsActive> <MaxCbm>1</MaxCbm> <MaxCft>1</MaxCft> <MaxKgs>1</MaxKgs> <MaxLbs>1</MaxLbs> <Mode>sample string 8</Mode> <ModeId>12</ModeId> <Name>sample string 2</Name> <Refrigerated>true</Refrigerated> <Service>sample string 7</Service> <ServiceId>13</ServiceId> <ServiceLevel>sample string 9</ServiceLevel> <ServiceLevelId>11</ServiceLevelId> <ServiceType>sample string 10</ServiceType> </EquipmentSizeViewModel>
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.