PUT api/material/setting/PutSettingCost/{tapType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tapType

string

Required

Body Parameters

m_post_cost
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'm_post_cost'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.