POST api/Values/Ins_Expenses
Request Information
URI Parameters
None.
Body Parameters
Expenses| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| e_id | string |
None. |
|
| expense_date | string |
None. |
|
| travel_amount | decimal number |
None. |
|
| travel_img | string |
None. |
|
| food_amount | decimal number |
None. |
|
| food_img | string |
None. |
|
| stay_amount | decimal number |
None. |
|
| stay_img | string |
None. |
|
| other_amount | decimal number |
None. |
|
| other_img | string |
None. |
|
| total_amount | decimal number |
None. |
|
| description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"e_id": "sample string 2",
"expense_date": "sample string 3",
"travel_amount": 4.0,
"travel_img": "sample string 5",
"food_amount": 6.0,
"food_img": "sample string 7",
"stay_amount": 8.0,
"stay_img": "sample string 9",
"other_amount": 10.0,
"other_img": "sample string 11",
"total_amount": 12.0,
"description": "sample string 13"
}
application/xml, text/xml
Sample:
<Expenses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OBS.Models"> <description>sample string 13</description> <e_id>sample string 2</e_id> <expense_date>sample string 3</expense_date> <food_amount>6</food_amount> <food_img>sample string 7</food_img> <id>1</id> <other_amount>10</other_amount> <other_img>sample string 11</other_img> <stay_amount>8</stay_amount> <stay_img>sample string 9</stay_img> <total_amount>12</total_amount> <travel_amount>4</travel_amount> <travel_img>sample string 5</travel_img> </Expenses>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.