PUT api/purchase/locations/{location_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| location_id | integer |
Required |
Body Parameters
m_purchase_location_update| Name | Description | Type | Additional information |
|---|---|---|---|
| location_name | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"location_name": "sample string 1"
}
application/xml, text/xml
Sample:
<m_purchase_location_update xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Purchase"> <location_name>sample string 1</location_name> </m_purchase_location_update>
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.