GET payroll/work/categories/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WorkCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CalculationModel | integer |
None. |
|
| Name | string |
None. |
|
| TypeID | integer |
None. |
|
| Coefficient | decimal number |
None. |
|
| Taxable | boolean |
None. |
|
| Average | boolean |
None. |
|
| FundHours | boolean |
None. |
|
| Restrictions | Collection of WorkCategoryRestriction |
None. |
|
| Audit | Audit |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"CalculationModel": 2,
"Name": "sample string 3",
"TypeID": 4,
"Coefficient": 1.0,
"Taxable": true,
"Average": true,
"FundHours": true,
"Restrictions": [
{
"From": "2025-12-13T08:06:43.0363755+00:00",
"To": "2025-12-13T08:06:43.0363755+00:00",
"Min": 1.0,
"Max": 1.0
},
{
"From": "2025-12-13T08:06:43.0363755+00:00",
"To": "2025-12-13T08:06:43.0363755+00:00",
"Min": 1.0,
"Max": 1.0
}
],
"Audit": {
"AddUser": 1,
"AddTime": "2025-12-13T08:06:43.0363755+00:00",
"EditUser": 1,
"EditTime": "2025-12-13T08:06:43.0363755+00:00"
}
}
text/xml
Sample:
<WorkCategory 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-13T08:06:43.0363755+00:00</d2p1:AddTime>
<d2p1:AddUser>1</d2p1:AddUser>
<d2p1:EditTime>2025-12-13T08:06:43.0363755+00:00</d2p1:EditTime>
<d2p1:EditUser>1</d2p1:EditUser>
</Audit>
<Average>true</Average>
<CalculationModel>2</CalculationModel>
<Coefficient>1</Coefficient>
<FundHours>true</FundHours>
<ID>1</ID>
<Name>sample string 3</Name>
<Restrictions>
<WorkCategoryRestriction>
<From>2025-12-13T08:06:43.0363755+00:00</From>
<Max>1</Max>
<Min>1</Min>
<To>2025-12-13T08:06:43.0363755+00:00</To>
</WorkCategoryRestriction>
<WorkCategoryRestriction>
<From>2025-12-13T08:06:43.0363755+00:00</From>
<Max>1</Max>
<Min>1</Min>
<To>2025-12-13T08:06:43.0363755+00:00</To>
</WorkCategoryRestriction>
</Restrictions>
<Taxable>true</Taxable>
<TypeID>4</TypeID>
</WorkCategory>