POST api/AddDealer/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
DealerLocationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DEALER_ID | integer |
None. |
|
| EMPLOYEE_ID | integer |
None. |
|
| LATITUDE | string |
None. |
|
| LONGITUDE | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DEALER_ID": 1,
"EMPLOYEE_ID": 2,
"LATITUDE": "sample string 3",
"LONGITUDE": "sample string 4"
}
application/xml, text/xml
Sample:
<DealerLocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiFarmsons.Controllers"> <DEALER_ID>1</DEALER_ID> <EMPLOYEE_ID>2</EMPLOYEE_ID> <LATITUDE>sample string 3</LATITUDE> <LONGITUDE>sample string 4</LONGITUDE> </DealerLocationModel>
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. |