POST payroll/resolutions
Request Information
URI Parameters
None.
Body Parameters
ResolutionName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Title | string |
None. |
|
WorkCategoryID | integer |
None. |
|
WorkCategory | WorkCategory |
None. |
|
EmployeeID | integer |
None. |
|
Employee | Worker |
None. |
|
From | date |
None. |
|
To | date |
None. |
|
CostCenterID | integer |
None. |
|
Value | decimal number |
None. |
|
Audit | Audit |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Title": "sample string 2", "WorkCategoryID": 3, "WorkCategory": { "ID": 1, "CalculationModel": 2, "Name": "sample string 3", "TypeID": 4, "Coefficient": 1.0, "Taxable": true, "Average": true, "FundHours": true, "Restrictions": [ { "From": "2025-04-03T06:57:54.9716335+00:00", "To": "2025-04-03T06:57:54.9716335+00:00", "Min": 1.0, "Max": 1.0 }, { "From": "2025-04-03T06:57:54.9716335+00:00", "To": "2025-04-03T06:57:54.9716335+00:00", "Min": 1.0, "Max": 1.0 } ], "Audit": { "AddUser": 1, "AddTime": "2025-04-03T06:57:54.9716335+00:00", "EditUser": 1, "EditTime": "2025-04-03T06:57:54.9716335+00:00" } }, "EmployeeID": 1, "Employee": { "ID": 1, "EMail": "sample string 2", "IBAN": "sample string 3", "RRN": "sample string 4", "IBAN2": "sample string 5", "RRN2": "sample string 6", "HealthInsuranceNumber": "sample string 7", "PensionInsuranceNumber": "sample string 8", "FirstContract": "2025-04-03T06:57:54.9716335+00:00", "CitizenshipID": 10, "Citizenship": { "ID": 1, "Name": "sample string 2", "CurrencyID": 1, "Currency": { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "Sign": "sample string 4", "Lookup": "sample string 5" }, "ISO31661": 1, "Alpha2": "sample string 3", "Alpha3": "sample string 4", "Audit": { "AddUser": 1, "AddTime": "2025-04-03T06:57:54.9716335+00:00", "EditUser": 1, "EditTime": "2025-04-03T06:57:54.9716335+00:00" } }, "Street": "sample string 11", "Postcode": "sample string 12", "City": "sample string 13", "MunicipalityName": "sample string 14", "MunicipalityID": 15, "Audit": { "AddUser": 1, "AddTime": "2025-04-03T06:57:54.9716335+00:00", "EditUser": 1, "EditTime": "2025-04-03T06:57:54.9716335+00:00" }, "FirstName": "sample string 16", "LastName": "sample string 17", "FullName": "sample string 18", "FirstAndLastName": "sample string 16 sample string 17", "VAT": "sample string 20", "FamilyName": "sample string 21", "Gender": "sample string 22", "Birthdate": "2025-04-03T06:57:54.9716335+00:00" }, "From": "2025-04-03T06:57:54.9716335+00:00", "To": "2025-04-03T06:57:54.9716335+00:00", "CostCenterID": 1, "Value": 1.0, "Audit": { "AddUser": 1, "AddTime": "2025-04-03T06:57:54.9716335+00:00", "EditUser": 1, "EditTime": "2025-04-03T06:57:54.9716335+00:00" } }
text/xml
Sample:
<Resolution 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-04-03T06:57:54.9716335+00:00</d2p1:AddTime> <d2p1:AddUser>1</d2p1:AddUser> <d2p1:EditTime>2025-04-03T06:57:54.9716335+00:00</d2p1:EditTime> <d2p1:EditUser>1</d2p1:EditUser> </Audit> <CostCenterID>1</CostCenterID> <Employee> <Birthdate xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common">2025-04-03T06:57:54.9716335+00:00</Birthdate> <FamilyName xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common">sample string 21</FamilyName> <FirstAndLastName xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common">sample string 16 sample string 17</FirstAndLastName> <FirstName xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common">sample string 16</FirstName> <FullName xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common">sample string 18</FullName> <Gender xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common">sample string 22</Gender> <LastName xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common">sample string 17</LastName> <VAT xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common">sample string 20</VAT> <Audit xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d3p1:AddTime>2025-04-03T06:57:54.9716335+00:00</d3p1:AddTime> <d3p1:AddUser>1</d3p1:AddUser> <d3p1:EditTime>2025-04-03T06:57:54.9716335+00:00</d3p1:EditTime> <d3p1:EditUser>1</d3p1:EditUser> </Audit> <Citizenship xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <d3p1:Alpha2>sample string 3</d3p1:Alpha2> <d3p1:Alpha3>sample string 4</d3p1:Alpha3> <d3p1:Audit xmlns:d4p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d4p1:AddTime>2025-04-03T06:57:54.9716335+00:00</d4p1:AddTime> <d4p1:AddUser>1</d4p1:AddUser> <d4p1:EditTime>2025-04-03T06:57:54.9716335+00:00</d4p1:EditTime> <d4p1:EditUser>1</d4p1:EditUser> </d3p1:Audit> <d3p1:Currency> <d3p1:Code>sample string 2</d3p1:Code> <d3p1:ID>1</d3p1:ID> <d3p1:Lookup>sample string 5</d3p1:Lookup> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:Sign>sample string 4</d3p1:Sign> </d3p1:Currency> <d3p1:CurrencyID>1</d3p1:CurrencyID> <d3p1:ID>1</d3p1:ID> <d3p1:ISO31661>1</d3p1:ISO31661> <d3p1:Name>sample string 2</d3p1:Name> </Citizenship> <CitizenshipID>10</CitizenshipID> <City>sample string 13</City> <EMail>sample string 2</EMail> <FirstContract>2025-04-03T06:57:54.9716335+00:00</FirstContract> <HealthInsuranceNumber>sample string 7</HealthInsuranceNumber> <IBAN>sample string 3</IBAN> <IBAN2>sample string 5</IBAN2> <ID>1</ID> <MunicipalityID>15</MunicipalityID> <MunicipalityName>sample string 14</MunicipalityName> <PensionInsuranceNumber>sample string 8</PensionInsuranceNumber> <Postcode>sample string 12</Postcode> <RRN>sample string 4</RRN> <RRN2>sample string 6</RRN2> <Street>sample string 11</Street> </Employee> <EmployeeID>1</EmployeeID> <From>2025-04-03T06:57:54.9716335+00:00</From> <ID>1</ID> <Title>sample string 2</Title> <To>2025-04-03T06:57:54.9716335+00:00</To> <Value>1</Value> <WorkCategory> <Audit xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d3p1:AddTime>2025-04-03T06:57:54.9716335+00:00</d3p1:AddTime> <d3p1:AddUser>1</d3p1:AddUser> <d3p1:EditTime>2025-04-03T06:57:54.9716335+00:00</d3p1:EditTime> <d3p1:EditUser>1</d3p1: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-04-03T06:57:54.9716335+00:00</From> <Max>1</Max> <Min>1</Min> <To>2025-04-03T06:57:54.9716335+00:00</To> </WorkCategoryRestriction> <WorkCategoryRestriction> <From>2025-04-03T06:57:54.9716335+00:00</From> <Max>1</Max> <Min>1</Min> <To>2025-04-03T06:57:54.9716335+00:00</To> </WorkCategoryRestriction> </Restrictions> <Taxable>true</Taxable> <TypeID>4</TypeID> </WorkCategory> <WorkCategoryID>3</WorkCategoryID> </Resolution>
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. |