POST api/Location/AddLocation
Request Information
URI Parameters
None.
Body Parameters
Location| Name | Description | Type | Additional information |
|---|---|---|---|
| LocName | string |
None. |
|
| L | decimal number |
None. |
|
| W | decimal number |
None. |
|
| MaxL | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LocName": "sample string 1",
"L": 2.1,
"W": 3.1,
"MaxL": 4
}
application/xml, text/xml
Sample:
<Location xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FaceAtt.Models"> <L>2.1</L> <LocName>sample string 1</LocName> <MaxL>4</MaxL> <W>3.1</W> </Location>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |