POST api/PlotVisit
Request Information
URI Parameters
None.
Body Parameters
AddPlotVisit| Name | Description | Type | Additional information |
|---|---|---|---|
| EMPLOYEE_ID | string |
None. |
|
| PLOT_ID | string |
None. |
|
| VISIT_DATE | string |
None. |
|
| VISIT_DETAILS | string |
None. |
|
| EXTRA1 | string |
None. |
|
| PHOTO1 | Collection of byte |
None. |
|
| PHOTO2 | Collection of byte |
None. |
|
| PHOTO3 | Collection of byte |
None. |
|
| PHOTO4 | Collection of byte |
None. |
|
| EXTRA2 | string |
None. |
|
| EXTRA3 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EMPLOYEE_ID": "sample string 1",
"PLOT_ID": "sample string 2",
"VISIT_DATE": "sample string 3",
"VISIT_DETAILS": "sample string 4",
"EXTRA1": "sample string 5",
"PHOTO1": "QEA=",
"PHOTO2": "QEA=",
"PHOTO3": "QEA=",
"PHOTO4": "QEA=",
"EXTRA2": "sample string 6",
"EXTRA3": "sample string 7"
}
application/xml, text/xml
Sample:
<AddPlotVisit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiFarmsons.Controllers"> <EMPLOYEE_ID>sample string 1</EMPLOYEE_ID> <EXTRA1>sample string 5</EXTRA1> <EXTRA2>sample string 6</EXTRA2> <EXTRA3>sample string 7</EXTRA3> <PHOTO1>QEA=</PHOTO1> <PHOTO2>QEA=</PHOTO2> <PHOTO3>QEA=</PHOTO3> <PHOTO4>QEA=</PHOTO4> <PLOT_ID>sample string 2</PLOT_ID> <VISIT_DATE>sample string 3</VISIT_DATE> <VISIT_DETAILS>sample string 4</VISIT_DETAILS> </AddPlotVisit>
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. |