PUT api/SalaryPay
Request Information
URI Parameters
None.
Body Parameters
SalaryPayModel| Name | Description | Type | Additional information |
|---|---|---|---|
| salaryPay | SalaryPay |
None. |
|
| addProf | integer |
None. |
|
| salary_prof | decimal number |
None. |
|
| rest_notes | string |
None. |
|
| house | decimal number |
None. |
|
| food | decimal number |
None. |
|
| medical | decimal number |
None. |
|
| salary_add | decimal number |
None. |
|
| travel | decimal number |
None. |
|
| salary_other | decimal number |
None. |
|
| month | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"salaryPay": {
"id": 1,
"date": "2025-11-09T14:25:48.9750197+03:00",
"update_date": "2025-11-09T14:25:48.9750197+03:00",
"month": 1,
"no": 1,
"update_user": 1,
"year": 1,
"branch": 1,
"emp": 1,
"tot_salary": 1.1,
"salary_add": 1.1,
"salary_sub": 1.1,
"salary_net": 1.1,
"tot_advances": 1.1,
"emp_resp": 1,
"notes": "sample string 2",
"IS_Deleted": true,
"center": 1,
"safe_bank_id": 1,
"type": 1,
"rest_id": 1
},
"addProf": 1,
"salary_prof": 2.1,
"rest_notes": "sample string 3",
"house": 4.1,
"food": 5.1,
"medical": 6.1,
"salary_add": 7.1,
"travel": 8.1,
"salary_other": 9.1,
"month": "sample string 10"
}
application/xml, text/xml
Sample:
<SalaryPayController.SalaryPayModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLite.Controllers.Users">
<addProf>1</addProf>
<food>5.1</food>
<house>4.1</house>
<medical>6.1</medical>
<month>sample string 10</month>
<rest_notes>sample string 3</rest_notes>
<salaryPay xmlns:d2p1="http://schemas.datacontract.org/2004/07/ApiLite.Models">
<d2p1:IS_Deleted>true</d2p1:IS_Deleted>
<d2p1:branch>1</d2p1:branch>
<d2p1:center>1</d2p1:center>
<d2p1:date>2025-11-09T14:25:48.9750197+03:00</d2p1:date>
<d2p1:emp>1</d2p1:emp>
<d2p1:emp_resp>1</d2p1:emp_resp>
<d2p1:id>1</d2p1:id>
<d2p1:month>1</d2p1:month>
<d2p1:no>1</d2p1:no>
<d2p1:notes>sample string 2</d2p1:notes>
<d2p1:rest_id>1</d2p1:rest_id>
<d2p1:safe_bank_id>1</d2p1:safe_bank_id>
<d2p1:salary_add>1.1</d2p1:salary_add>
<d2p1:salary_net>1.1</d2p1:salary_net>
<d2p1:salary_sub>1.1</d2p1:salary_sub>
<d2p1:tot_advances>1.1</d2p1:tot_advances>
<d2p1:tot_salary>1.1</d2p1:tot_salary>
<d2p1:type>1</d2p1:type>
<d2p1:update_date>2025-11-09T14:25:48.9750197+03:00</d2p1:update_date>
<d2p1:update_user>1</d2p1:update_user>
<d2p1:year>1</d2p1:year>
</salaryPay>
<salary_add>7.1</salary_add>
<salary_other>9.1</salary_other>
<salary_prof>2.1</salary_prof>
<travel>8.1</travel>
</SalaryPayController.SalaryPayModel>
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. |