POST api/AddExpenses
Request Information
URI Parameters
None.
Body Parameters
ADD_EXPENSESName | Description | Type | Additional information |
---|---|---|---|
EMP_ID | string |
None. |
|
EXPENSE_TYPE | string |
None. |
|
AMOUNT | string |
None. |
|
REMARK | string |
None. |
|
PHOTO | Collection of byte |
None. |
|
EXTRA1 | string |
None. |
|
EXTRA2 | string |
None. |
|
EXTRA3 | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EMP_ID": "sample string 1", "EXPENSE_TYPE": "sample string 2", "AMOUNT": "sample string 3", "REMARK": "sample string 4", "PHOTO": "QEA=", "EXTRA1": "sample string 5", "EXTRA2": "sample string 6", "EXTRA3": "sample string 7" }
application/xml, text/xml
Sample:
<ADD_EXPENSES xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaiHealthCare.Models"> <AMOUNT>sample string 3</AMOUNT> <EMP_ID>sample string 1</EMP_ID> <EXPENSE_TYPE>sample string 2</EXPENSE_TYPE> <EXTRA1>sample string 5</EXTRA1> <EXTRA2>sample string 6</EXTRA2> <EXTRA3>sample string 7</EXTRA3> <PHOTO>QEA=</PHOTO> <REMARK>sample string 4</REMARK> </ADD_EXPENSES>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | 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. |