POST api/FarmerVisit?SALESTEAM_ID={SALESTEAM_ID}&TYPE={TYPE}&FARMER_ID={FARMER_ID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SALESTEAM_ID | string |
Required |
|
| TYPE | string |
Required |
|
| FARMER_ID | string |
Required |
Body Parameters
StartEndLatLong| Name | Description | Type | Additional information |
|---|---|---|---|
| START | string |
None. |
|
| END | string |
None. |
|
| WORD | string |
None. |
|
| LATTITUDE | string |
None. |
|
| LONGITUDE | string |
None. |
|
| DISTRICT_ID | string |
None. |
|
| TALUKA_ID | string |
None. |
|
| USER_ID | string |
None. |
|
| ACCESS_TOKEN | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"START": "sample string 1",
"END": "sample string 2",
"WORD": "sample string 3",
"LATTITUDE": "sample string 4",
"LONGITUDE": "sample string 5",
"DISTRICT_ID": "sample string 6",
"TALUKA_ID": "sample string 7",
"USER_ID": "sample string 8",
"ACCESS_TOKEN": "sample string 9"
}
application/xml, text/xml
Sample:
<StartEndLatLong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiAFC.Models"> <ACCESS_TOKEN>sample string 9</ACCESS_TOKEN> <DISTRICT_ID>sample string 6</DISTRICT_ID> <END>sample string 2</END> <LATTITUDE>sample string 4</LATTITUDE> <LONGITUDE>sample string 5</LONGITUDE> <START>sample string 1</START> <TALUKA_ID>sample string 7</TALUKA_ID> <USER_ID>sample string 8</USER_ID> <WORD>sample string 3</WORD> </StartEndLatLong>
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. |