Creates a pay item
Headers
This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Request body
Example request
{
"EarningsRates": [
{
"Name": "PTO",
"TypeOfUnits": "Fixed",
"IsQualifyingEarnings": true,
"EarningsRateID": "e0eb6747-7c17-4075-b804-989f8d4e5d39",
"Multiplier": 1.5,
"Amount": 50.3,
"UpdatedDateUTC": "/Date(1583967733054+0000)/",
"CurrentRecord": true
}
],
"DeductionTypes": [
{
"Name": "PTO",
"DeductionTypeID": "e0eb6747-7c17-4075-b804-989f8d4e5d39",
"UpdatedDateUTC": "/Date(1583967733054+0000)/",
"CurrentRecord": true
}
],
"LeaveTypes": [
{
"Name": "PTO",
"TypeOfUnits": "Hours",
"LeaveTypeID": "e0eb6747-7c17-4075-b804-989f8d4e5d39",
"NormalEntitlement": 152,
"LeaveLoadingRate": 2,
"UpdatedDateUTC": "/Date(1583967733054+0000)/",
"IsPaidLeave": true,
"ShowOnPayslip": true,
"CurrentRecord": true,
"LeaveCategoryCode": "ANNUALLEAVE",
"SGCExempt": true,
"IsQualifyingEarnings": true
}
],
"ReimbursementTypes": [
{
"Name": "PTO",
"ReimbursementTypeID": "e0eb6747-7c17-4075-b804-989f8d4e5d39",
"UpdatedDateUTC": "/Date(1583967733054+0000)/",
"CurrentRecord": true
}
]
}Response
A successful request - currently returns empty array for JSON
Example response
{
"PayItems": {
"EarningsRates": [
{
"Name": "PTO",
"TypeOfUnits": "Fixed",
"IsQualifyingEarnings": true,
"EarningsRateID": "e0eb6747-7c17-4075-b804-989f8d4e5d39",
"Multiplier": 1.5,
"Amount": 50.3,
"UpdatedDateUTC": "/Date(1583967733054+0000)/",
"CurrentRecord": true
}
],
"DeductionTypes": [
{
"Name": "PTO",
"DeductionTypeID": "e0eb6747-7c17-4075-b804-989f8d4e5d39",
"UpdatedDateUTC": "/Date(1583967733054+0000)/",
"CurrentRecord": true
}
],
"LeaveTypes": [
{
"Name": "PTO",
"TypeOfUnits": "Hours",
"LeaveTypeID": "e0eb6747-7c17-4075-b804-989f8d4e5d39",
"NormalEntitlement": 152,
"LeaveLoadingRate": 2,
"UpdatedDateUTC": "/Date(1583967733054+0000)/",
"IsPaidLeave": true,
"ShowOnPayslip": true,
"CurrentRecord": true,
"LeaveCategoryCode": "ANNUALLEAVE",
"SGCExempt": true,
"IsQualifyingEarnings": true
}
],
"ReimbursementTypes": [
{
"Name": "PTO",
"ReimbursementTypeID": "e0eb6747-7c17-4075-b804-989f8d4e5d39",
"UpdatedDateUTC": "/Date(1583967733054+0000)/",
"CurrentRecord": true
}
]
}
}Changes
Changed in 7 of the 54 revisions of this API.5211
- ▲
the request property
EarningsRates/items/IsQualifyingEarningsbecame requiredrequest-property-became-required
- ▲
the request property
LeaveTypes/items/IsQualifyingEarningsbecame requiredrequest-property-became-required
- ○
the response property
PayItems/EarningsRates/items/IsQualifyingEarningsbecame required for the status200response-property-became-required
- ○
the response property
PayItems/LeaveTypes/items/IsQualifyingEarningsbecame required for the status200response-property-became-required
- ▲
- ○
added the new optional request property
EarningsRates/items/IsQualifyingEarningsnew-optional-request-property
- ○
added the new optional request property
LeaveTypes/items/IsQualifyingEarningsnew-optional-request-property
- ○
added the optional property
PayItems/EarningsRates/items/IsQualifyingEarningsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
PayItems/LeaveTypes/items/IsQualifyingEarningsto the response with the200statusresponse-optional-property-added
- ○
- ▲
removed the enum value
JOBKEEPERof the request propertyEarningsRates/items/AllowanceTyperequest-property-enum-value-removed
- ○
removed the
JOBKEEPERenum value from thePayItems/EarningsRates/items/AllowanceTyperesponse property for the response status200response-property-enum-value-removed
- ▲
- ●
added the new
JOBKEEPERenum value to thePayItems/EarningsRates/items/AllowanceTyperesponse property for the response status200response-property-enum-value-added
- ○
added the new
JOBKEEPERenum value to the request propertyEarningsRates/items/AllowanceTyperequest-property-enum-value-added
- ●
- ▲
removed the enum value
JOBKEEPERof the request propertyEarningsRates/items/AllowanceTyperequest-property-enum-value-removed
- ○
removed the
JOBKEEPERenum value from thePayItems/EarningsRates/items/AllowanceTyperesponse property for the response status200response-property-enum-value-removed
- ▲
- ●
added the new
JOBKEEPERenum value to thePayItems/EarningsRates/items/AllowanceTyperesponse property for the response status200response-property-enum-value-added
- ○
added the new
JOBKEEPERenum value to the request propertyEarningsRates/items/AllowanceTyperequest-property-enum-value-added
- ●
- ▲
removed the enum value
JOBKEEPERof the request propertyEarningsRates/items/AllowanceTyperequest-property-enum-value-removed
- ○
removed the
JOBKEEPERenum value from thePayItems/EarningsRates/items/AllowanceTyperesponse property for the response status200response-property-enum-value-removed
- ▲