POST api/EmergencyCall
Request Information
URI Parameters
None.
Body Parameters
EmergencyCall| Name | Description | Type | Additional information |
|---|---|---|---|
| USER_ID | string |
None. |
|
| PLOT_ID | string |
None. |
|
| REMARK | string |
None. |
|
| CALL_CAT | string |
None. |
|
| LOCATION | string |
None. |
|
| LATITUDE | string |
None. |
|
| LONGITUDE | string |
None. |
|
| CROP_ID | string |
None. |
|
| CALL_DATETIME | string |
None. |
|
| FD_IMAGE | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"USER_ID": "sample string 1",
"PLOT_ID": "sample string 2",
"REMARK": "sample string 3",
"CALL_CAT": "sample string 4",
"LOCATION": "sample string 5",
"LATITUDE": "sample string 6",
"LONGITUDE": "sample string 7",
"CROP_ID": "sample string 8",
"CALL_DATETIME": "sample string 9",
"FD_IMAGE": "QEA="
}
application/xml, text/xml
Sample:
<EmergencyCall xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiCropguru.Models"> <CALL_CAT>sample string 4</CALL_CAT> <CALL_DATETIME>sample string 9</CALL_DATETIME> <CROP_ID>sample string 8</CROP_ID> <FD_IMAGE>QEA=</FD_IMAGE> <LATITUDE>sample string 6</LATITUDE> <LOCATION>sample string 5</LOCATION> <LONGITUDE>sample string 7</LONGITUDE> <PLOT_ID>sample string 2</PLOT_ID> <REMARK>sample string 3</REMARK> <USER_ID>sample string 1</USER_ID> </EmergencyCall>
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. |