POST api/STExpences
Request Information
URI Parameters
None.
Body Parameters
ProductExpences| Name | Description | Type | Additional information |
|---|---|---|---|
| AMOUNT | string |
None. |
|
| CATEGORY | string |
None. |
|
| LOCATION | string |
None. |
|
| LAT | string |
None. |
|
| LONG | string |
None. |
|
| DESCRIPTION | string |
None. |
|
| TITLE | string |
None. |
|
| ST_ID | string |
None. |
|
| EXTRA | string |
None. |
|
| EXPENCES_IMG | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"AMOUNT": "sample string 1",
"CATEGORY": "sample string 2",
"LOCATION": "sample string 3",
"LAT": "sample string 4",
"LONG": "sample string 5",
"DESCRIPTION": "sample string 6",
"TITLE": "sample string 7",
"ST_ID": "sample string 8",
"EXTRA": "sample string 9",
"EXPENCES_IMG": "QEA="
}
application/xml, text/xml
Sample:
<ProductExpences xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiNisargaCrop.Models"> <AMOUNT>sample string 1</AMOUNT> <CATEGORY>sample string 2</CATEGORY> <DESCRIPTION>sample string 6</DESCRIPTION> <EXPENCES_IMG>QEA=</EXPENCES_IMG> <EXTRA>sample string 9</EXTRA> <LAT>sample string 4</LAT> <LOCATION>sample string 3</LOCATION> <LONG>sample string 5</LONG> <ST_ID>sample string 8</ST_ID> <TITLE>sample string 7</TITLE> </ProductExpences>
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. |