POST payroll/additionsdeductions
Request Information
URI Parameters
None.
Body Parameters
AdditionDeductionName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Title | string |
None. |
|
TypeID | integer |
None. |
|
Type | AdditionDeductionType |
None. |
|
EmployeeID | integer |
None. |
|
Employee | Worker |
None. |
|
From | date |
None. |
|
To | date |
None. |
|
Amount | decimal number |
None. |
|
Remainder | decimal number |
None. |
|
PartnerID | integer |
None. |
|
PaymentOrder_Name | string |
None. |
|
PaymentOrder_City | string |
None. |
|
PaymentOrder_Account | string |
None. |
|
PaymentOrder_RRN | string |
None. |
|
Audit | Audit |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Title": "sample string 2", "TypeID": 3, "Type": { "ID": 1, "CountryID": 2, "Title": "sample string 3", "Deduction": true, "Percentage": true, "TaxDeduction": true }, "EmployeeID": 4, "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-03T07:03:01.0931127+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-03T07:03:01.0931127+00:00", "EditUser": 1, "EditTime": "2025-04-03T07:03:01.0931127+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-03T07:03:01.0931127+00:00", "EditUser": 1, "EditTime": "2025-04-03T07:03:01.0931127+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-03T07:03:01.0931127+00:00" }, "From": "2025-04-03T07:03:01.0931127+00:00", "To": "2025-04-03T07:03:01.0931127+00:00", "Amount": 5.0, "Remainder": 1.0, "PartnerID": 1, "PaymentOrder_Name": "sample string 6", "PaymentOrder_City": "sample string 7", "PaymentOrder_Account": "sample string 8", "PaymentOrder_RRN": "sample string 9", "Audit": { "AddUser": 1, "AddTime": "2025-04-03T07:03:01.0931127+00:00", "EditUser": 1, "EditTime": "2025-04-03T07:03:01.0931127+00:00" } }
text/xml
Sample:
<AdditionDeduction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Payroll"> <Amount>5</Amount> <Audit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d2p1:AddTime>2025-04-03T07:03:01.0931127+00:00</d2p1:AddTime> <d2p1:AddUser>1</d2p1:AddUser> <d2p1:EditTime>2025-04-03T07:03:01.0931127+00:00</d2p1:EditTime> <d2p1:EditUser>1</d2p1:EditUser> </Audit> <Employee> <Birthdate xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common">2025-04-03T07:03:01.0931127+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-03T07:03:01.0931127+00:00</d3p1:AddTime> <d3p1:AddUser>1</d3p1:AddUser> <d3p1:EditTime>2025-04-03T07:03:01.0931127+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-03T07:03:01.0931127+00:00</d4p1:AddTime> <d4p1:AddUser>1</d4p1:AddUser> <d4p1:EditTime>2025-04-03T07:03:01.0931127+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-03T07:03:01.0931127+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>4</EmployeeID> <From>2025-04-03T07:03:01.0931127+00:00</From> <ID>1</ID> <PartnerID>1</PartnerID> <PaymentOrder_Account>sample string 8</PaymentOrder_Account> <PaymentOrder_City>sample string 7</PaymentOrder_City> <PaymentOrder_Name>sample string 6</PaymentOrder_Name> <PaymentOrder_RRN>sample string 9</PaymentOrder_RRN> <Remainder>1</Remainder> <Title>sample string 2</Title> <To>2025-04-03T07:03:01.0931127+00:00</To> <Type> <CountryID>2</CountryID> <Deduction>true</Deduction> <ID>1</ID> <Percentage>true</Percentage> <TaxDeduction>true</TaxDeduction> <Title>sample string 3</Title> </Type> <TypeID>3</TypeID> </AdditionDeduction>
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. |