POST api/transactions/addcash
Request Information
URI Parameters
None.
Body Parameters
AddCashModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| Description | string |
None. |
|
| Date | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeId": 1,
"Amount": 2.0,
"Description": "sample string 3",
"Date": "sample string 4"
}
application/xml, text/xml
Sample:
<AddCashModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizBook.Models.NewModel"> <Amount>2</Amount> <Date>sample string 4</Date> <Description>sample string 3</Description> <EmployeeId>1</EmployeeId> </AddCashModel>
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. |