PUT api/manage/dieshot/{dieshot_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dieshot_id | integer |
Required |
Body Parameters
md_Dieshot_create| Name | Description | Type | Additional information |
|---|---|---|---|
| dieshot_type | string |
Required Matching regular expression pattern: ([US]{1}) String length: inclusive between 0 and 1 |
|
| dieshot_type_name | string |
None. |
|
| dieshot_code | string |
Required |
|
| dieshot_size | Collection of md_Dieshot_Size_view |
None. |
Request Formats
application/json, text/json
Sample:
{
"dieshot_type": "sample string 1",
"dieshot_type_name": "sample string 2",
"dieshot_code": "sample string 3",
"dieshot_size": [
{
"dieshot_size_id": 1,
"size": 2,
"usage": 1.0
},
{
"dieshot_size_id": 1,
"size": 2,
"usage": 1.0
}
]
}
application/xml, text/xml
Sample:
<md_Dieshot_create xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Manage.DieShot">
<dieshot_code>sample string 3</dieshot_code>
<dieshot_size xmlns:d2p1="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Manage.DiesShot">
<d2p1:md_Dieshot_Size_view>
<d2p1:dieshot_size_id>1</d2p1:dieshot_size_id>
<d2p1:size>2</d2p1:size>
<d2p1:usage>1</d2p1:usage>
</d2p1:md_Dieshot_Size_view>
<d2p1:md_Dieshot_Size_view>
<d2p1:dieshot_size_id>1</d2p1:dieshot_size_id>
<d2p1:size>2</d2p1:size>
<d2p1:usage>1</d2p1:usage>
</d2p1:md_Dieshot_Size_view>
</dieshot_size>
<dieshot_type>sample string 1</dieshot_type>
<dieshot_type_name>sample string 2</dieshot_type_name>
</md_Dieshot_create>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.