PUT api/manage-shoesBox/{box_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| box_id | integer |
Required |
Body Parameters
m_shoes_box| Name | Description | Type | Additional information |
|---|---|---|---|
| box_name | string |
Required |
|
| width | decimal number |
None. |
|
| length | decimal number |
None. |
|
| height | decimal number |
None. |
|
| weight | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"box_name": "sample string 1",
"width": 1.1,
"length": 1.1,
"height": 1.1,
"weight": 1.1
}
application/xml, text/xml
Sample:
<m_shoes_box xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ShoesBox"> <box_name>sample string 1</box_name> <height>1.1</height> <length>1.1</length> <weight>1.1</weight> <width>1.1</width> </m_shoes_box>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
v_shoes_box| Name | Description | Type | Additional information |
|---|---|---|---|
| box_id | integer |
None. |
|
| box_name | string |
None. |
|
| width | decimal number |
None. |
|
| length | decimal number |
None. |
|
| height | decimal number |
None. |
|
| weight | decimal number |
None. |
|
| models | string |
None. |
|
| model_list | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"box_id": 1,
"box_name": "sample string 2",
"width": 1.1,
"length": 1.1,
"height": 1.1,
"weight": 1.1,
"models": "sample string 3",
"model_list": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<v_shoes_box xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ShoesBox">
<box_id>1</box_id>
<box_name>sample string 2</box_name>
<height>1.1</height>
<length>1.1</length>
<model_list xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</model_list>
<models>sample string 3</models>
<weight>1.1</weight>
<width>1.1</width>
</v_shoes_box>