POST api/TodaysWork?CAT_ID={CAT_ID}&EXTRA={EXTRA}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CAT_ID | string |
Required |
|
| EXTRA | string |
Required |
Body Parameters
OFFICE_WORK| Name | Description | Type | Additional information |
|---|---|---|---|
| USER_ID | string |
None. |
|
| ANSWER | string |
None. |
|
| STATUS | string |
None. |
|
| AGRONOMIST_ID | string |
None. |
|
| WORK_ID | string |
None. |
|
| LOCATION | string |
None. |
|
| LATITUDE | string |
None. |
|
| LONGITUDE | string |
None. |
|
| CROP_ID | string |
None. |
|
| CALL_DATETIME | string |
None. |
|
| JSON_ARRAy | string |
None. |
|
| FD_IMAGE | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"USER_ID": "sample string 1",
"ANSWER": "sample string 2",
"STATUS": "sample string 3",
"AGRONOMIST_ID": "sample string 4",
"WORK_ID": "sample string 5",
"LOCATION": "sample string 6",
"LATITUDE": "sample string 7",
"LONGITUDE": "sample string 8",
"CROP_ID": "sample string 9",
"CALL_DATETIME": "sample string 10",
"JSON_ARRAy": "sample string 11",
"FD_IMAGE": "QEA="
}
application/xml, text/xml
Sample:
<OFFICE_WORK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiCropguru.Models"> <AGRONOMIST_ID>sample string 4</AGRONOMIST_ID> <ANSWER>sample string 2</ANSWER> <CALL_DATETIME>sample string 10</CALL_DATETIME> <CROP_ID>sample string 9</CROP_ID> <FD_IMAGE>QEA=</FD_IMAGE> <JSON_ARRAy>sample string 11</JSON_ARRAy> <LATITUDE>sample string 7</LATITUDE> <LOCATION>sample string 6</LOCATION> <LONGITUDE>sample string 8</LONGITUDE> <STATUS>sample string 3</STATUS> <USER_ID>sample string 1</USER_ID> <WORK_ID>sample string 5</WORK_ID> </OFFICE_WORK>
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. |