POST v1/Warehouses/{warehouseId}/Parameters
Updates or adds a Warehouse Parameter.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
warehouseId |
The id of the Warehouse. |
integer |
Required. |
Body Parameters
The Warehouse parameter.
WarehouseParameterName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
WarehouseId | integer |
None. |
|
Key | string |
None. |
|
Value | string |
None. |
|
DataType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "WarehouseId": 2, "Key": "sample string 3", "Value": "sample string 4", "DataType": "sample string 5" }
application/xml, text/xml
Sample:
<WarehouseParameter xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <WarehouseId>2</WarehouseId> <Key>sample string 3</Key> <Value>sample string 4</Value> <DataType>sample string 5</DataType> </WarehouseParameter>
Response Information
Response Codes
- OK (200)
Resource Description
The HttpResponseMessage object.
HttpResponseMessage
Name | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |