POST api/material/setting/PostSettingCost/{tapType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tapType | string |
Required |
Body Parameters
m_post_cost| Name | Description | Type | Additional information |
|---|---|---|---|
| costSettingId | integer |
None. |
|
| group_name | string |
Required |
|
| price | integer |
Required |
|
| waste_type | string |
None. |
|
| models | Collection of m_list_model |
None. |
Request Formats
application/json, text/json
Sample:
{
"costSettingId": 1,
"group_name": "sample string 2",
"price": 3,
"waste_type": "sample string 4",
"models": [
{
"model": "sample string 1"
},
{
"model": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<m_post_cost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Material">
<costSettingId>1</costSettingId>
<group_name>sample string 2</group_name>
<models>
<m_list_model>
<model>sample string 1</model>
</m_list_model>
<m_list_model>
<model>sample string 1</model>
</m_list_model>
</models>
<price>3</price>
<waste_type>sample string 4</waste_type>
</m_post_cost>
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.