PUT api/material/setting/PutAddUnit
Request Information
URI Parameters
None.
Body Parameters
m_put_unit| Name | Description | Type | Additional information |
|---|---|---|---|
| old_unit_name | string |
Required |
|
| new_unit_name | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"old_unit_name": "sample string 1",
"new_unit_name": "sample string 2"
}
application/xml, text/xml
Sample:
<m_put_unit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Material"> <new_unit_name>sample string 2</new_unit_name> <old_unit_name>sample string 1</old_unit_name> </m_put_unit>
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.