POST api/EmployeeAdvances
Request Information
URI Parameters
None.
Body Parameters
Employee_advances| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| no | integer |
None. |
|
| salary_id | integer |
None. |
|
| date | date |
None. |
|
| month | integer |
None. |
|
| year | integer |
None. |
|
| state | integer |
None. |
|
| branch | integer |
None. |
|
| emp | integer |
None. |
|
| amount | decimal number |
None. |
|
| emp_resp | integer |
None. |
|
| notes | string |
None. |
|
| IS_Deleted | boolean |
None. |
|
| center | integer |
None. |
|
| kind | integer |
None. |
|
| create_user | integer |
None. |
|
| safe_bank_id | integer |
None. |
|
| type | integer |
None. |
|
| rest_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"no": 1,
"salary_id": 1,
"date": "2025-11-09T14:04:09.3691105+03:00",
"month": 1,
"year": 1,
"state": 1,
"branch": 1,
"emp": 1,
"amount": 1.1,
"emp_resp": 1,
"notes": "sample string 2",
"IS_Deleted": true,
"center": 1,
"kind": 1,
"create_user": 1,
"safe_bank_id": 1,
"type": 1,
"rest_id": 1
}
application/xml, text/xml
Sample:
<Employee_advances xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Models"> <IS_Deleted>true</IS_Deleted> <amount>1.1</amount> <branch>1</branch> <center>1</center> <create_user>1</create_user> <date>2025-11-09T14:04:09.3691105+03:00</date> <emp>1</emp> <emp_resp>1</emp_resp> <id>1</id> <kind>1</kind> <month>1</month> <no>1</no> <notes>sample string 2</notes> <rest_id>1</rest_id> <safe_bank_id>1</safe_bank_id> <salary_id>1</salary_id> <state>1</state> <type>1</type> <year>1</year> </Employee_advances>
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. |