post https://sandbox.newcraft.io/payrolls/:payroll_id/get
Retrieves a specific payroll run data.
Response Definitions
Response Item | Description | Data type |
---|---|---|
id | The ID associated with the employee on payroll. Each employee ID is assigned by NewCraft. | String |
attributes/{id} | The ID associated with the employee on payroll. Each employee ID is assigned by NewCraft. | String |
attributes/{check_data} | The date and time the employee was last given a paycheck, in Zulu time. | String |
attributes/{pay_period_end_date} | The end date of the employee's most recent pay period, in the format "YYYY-MM-DD". | String |
attributes/{pay_period_start_date} | The start date of the employee's most recent pay period, in the format "YYYY-MM-DD". | String |
Sample Response
{
"data": {
"id": "6cfee506-f278-4d31-b9b3-01b5505fd5b3",
"type": "Payroll",
"attributes": {
"id": "6cfee506-f278-4d31-b9b3-01b5505fd5b3",
"check_data": "2020-10-29T02:44:05Z",
"pay_period_end_date": "2020-10-29",
"pay_period_start_date": "2020-10-15"
}
}
}