POST payroll/positions
Request Information
URI Parameters
None.
Body Parameters
Position| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Points | decimal number |
None. |
|
| PointsType | integer |
None. |
|
| ServiceYears | integer |
None. |
|
| Audit | Audit |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Points": 3.0,
"PointsType": 4,
"ServiceYears": 5,
"Audit": {
"AddUser": 1,
"AddTime": "2025-12-13T20:58:08.1184178+00:00",
"EditUser": 1,
"EditTime": "2025-12-13T20:58:08.1184178+00:00"
}
}
text/xml
Sample:
<Position xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Payroll">
<Audit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO">
<d2p1:AddTime>2025-12-13T20:58:08.1184178+00:00</d2p1:AddTime>
<d2p1:AddUser>1</d2p1:AddUser>
<d2p1:EditTime>2025-12-13T20:58:08.1184178+00:00</d2p1:EditTime>
<d2p1:EditUser>1</d2p1:EditUser>
</Audit>
<ID>1</ID>
<Name>sample string 2</Name>
<Points>3</Points>
<PointsType>4</PointsType>
<ServiceYears>5</ServiceYears>
</Position>
application/x-www-form-urlencoded
Sample:
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. |