PUT api/MovableUnits/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
MovableUnitBindingViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
Required |
|
| Description | string |
None. |
|
| Length | decimal number |
None. |
|
| Width | decimal number |
None. |
|
| Height | decimal number |
None. |
|
| Weight | decimal number |
None. |
|
| LengthUs | decimal number |
None. |
|
| WidthUs | decimal number |
None. |
|
| HeightUs | decimal number |
None. |
|
| WeightUs | decimal number |
None. |
|
| Cost | string |
None. |
|
| Rate | string |
None. |
|
| MaterialTypeId | integer |
Required |
|
| LoadTypeId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"Description": "sample string 2",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"Weight": 1.0,
"LengthUs": 1.0,
"WidthUs": 1.0,
"HeightUs": 1.0,
"WeightUs": 1.0,
"Cost": "sample string 3",
"Rate": "sample string 4",
"MaterialTypeId": 5,
"LoadTypeId": 6
}
application/xml, text/xml
Sample:
<MovableUnitBindingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Admin"> <Code>sample string 1</Code> <Cost>sample string 3</Cost> <Description>sample string 2</Description> <Height>1</Height> <HeightUs>1</HeightUs> <Length>1</Length> <LengthUs>1</LengthUs> <LoadTypeId>6</LoadTypeId> <MaterialTypeId>5</MaterialTypeId> <Rate>sample string 4</Rate> <Weight>1</Weight> <WeightUs>1</WeightUs> <Width>1</Width> <WidthUs>1</WidthUs> </MovableUnitBindingViewModel>
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.