PUT api/externalstocklocation/{id}

Update name of an existing external stock location.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Identifier of the external stock location

integer

Required

Body Parameters

New name

ExternalStockLocationRequest
NameDescriptionTypeAdditional information
ExternalStockLocationName

string

None.

Remarks

None.

Example

None.

Request Formats

application/json, text/json

Sample:
{
  "ExternalStockLocationName": "sample string 1"
}

application/xml, text/xml

Sample:
<ExternalStockLocationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.ExternalStock">
  <ExternalStockLocationName>sample string 1</ExternalStockLocationName>
</ExternalStockLocationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Ok if updated, NotFound if the location does not exist

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.