POST api/FarmerVisit
Request Information
URI Parameters
None.
Body Parameters
PLOTVISIT| Name | Description | Type | Additional information |
|---|---|---|---|
| USER_ID | string |
None. |
|
| EMPLOYEE_ID | string |
None. |
|
| ADDRESS | string |
None. |
|
| EXTRA1 | string |
None. |
|
| EXTRA2 | string |
None. |
|
| EXTRA3 | string |
None. |
|
| TYPE | string |
None. |
|
| VISIT_REMARK | string |
None. |
|
| VISIT_PHOTO_1 | Collection of byte |
None. |
|
| VISIT_PHOTO_2 | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"USER_ID": "sample string 1",
"EMPLOYEE_ID": "sample string 2",
"ADDRESS": "sample string 3",
"EXTRA1": "sample string 4",
"EXTRA2": "sample string 5",
"EXTRA3": "sample string 6",
"TYPE": "sample string 7",
"VISIT_REMARK": "sample string 8",
"VISIT_PHOTO_1": "QEA=",
"VISIT_PHOTO_2": "QEA="
}
application/xml, text/xml
Sample:
<PLOTVISIT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiSwaroopAgromart.Controllers.Team"> <ADDRESS>sample string 3</ADDRESS> <EMPLOYEE_ID>sample string 2</EMPLOYEE_ID> <EXTRA1>sample string 4</EXTRA1> <EXTRA2>sample string 5</EXTRA2> <EXTRA3>sample string 6</EXTRA3> <TYPE>sample string 7</TYPE> <USER_ID>sample string 1</USER_ID> <VISIT_PHOTO_1>QEA=</VISIT_PHOTO_1> <VISIT_PHOTO_2>QEA=</VISIT_PHOTO_2> <VISIT_REMARK>sample string 8</VISIT_REMARK> </PLOTVISIT>
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. |