This call returns a paginated list of time card summary information with approvals for the specified job, foreman, and date range. If there are additional pages, the response metadata will include a "nextCursor" field. That field should be passed as the "cursor" query parameter to request the next page of results.
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
{- "results": [
- {
- "id": "54afcd7c-dc29-46c0-a566-321c48b14414",
- "foreman": {
- "employeeId": "d01d3fb9-c579-4cb7-b405-60c7eaa791ec",
- "employeeCode": "FOREMANCODE",
- "employeeFirstName": "Foreman",
- "employeeLastName": "Name"
}, - "jobId": "8d6b8063-0465-48c1-b507-671ef42e29a9",
- "businessUnitId": "ccd69fe4-9b4f-4365-bef1-38c0eac381e3",
- "date": "2019-01-01",
- "revision": 3,
- "shift": 1,
- "lastModifiedDateTime": "2019-09-10T16:12:29Z",
- "lastModifiedPreciseDateTime": "2019-09-10T16:12:29.9498214Z",
- "sentToPayrollDateTime": "2019-02-28T03:01:15Z",
- "sentToPayrollRevision": 1,
- "isApproved": true,
- "lastChangedById": "8436b4bd-fd7b-44c8-8f02-f04d62945116",
- "lastChangedByName": "LastChanged Name",
- "isReviewed": true,
- "isAccepted": true,
- "isRejected": false,
- "isSentToPayroll": true,
- "approvedDateTime": "2019-09-10T16:12:29Z",
- "approvedBy": {
- "employeeId": "8436b4bd-fd7b-44c8-8f02-f04d62945116",
- "employeeFirstName": "Approver First Name",
- "employeeLastName": "Approver Last Name"
}, - "reviewedDateTime": "2019-09-10T16:12:29Z",
- "reviewedBy": {
- "employeeId": "8436b4bd-fd7b-44c8-8f02-f04d62945116",
- "employeeFirstName": "Reviewer First Name",
- "employeeLastName": "Reviewer Last Name"
}, - "acceptedDateTime": "2019-09-10T16:12:29Z",
- "acceptedBy": {
- "employeeId": "8436b4bd-fd7b-44c8-8f02-f04d62945116",
- "employeeFirstName": "Accepter First Name",
- "employeeLastName": "Accepter Last Name"
}
}, - {
- "id": "3cb13a22-97f8-4744-8a7a-42e3b0367b66",
- "foreman": {
- "employeeId": "d01d3fb9-c579-4cb7-b405-60c7eaa791ec",
- "employeeCode": "FOREMANCODE",
- "employeeFirstName": "Foreman",
- "employeeLastName": "Name"
}, - "jobId": "8d6b8063-0465-48c1-b507-671ef42e29a9",
- "businessUnitId": "ccd69fe4-9b4f-4365-bef1-38c0eac381e3",
- "date": "2019-02-03",
- "revision": 1,
- "shift": 1,
- "lastModifiedDateTime": "2019-09-10T16:12:29Z",
- "lastModifiedPreciseDateTime": "2019-09-10T16:12:29.9498214Z",
- "lockedDateTime": "2019-09-10T16:12:29Z",
- "isApproved": true,
- "lastChangedById": "8436b4bd-fd7b-44c8-8f02-f04d62945116",
- "lastChangedByName": "LastChanged Name",
- "lastPreparedById": "8436b4bd-fd7b-44c8-8f02-f04d62945116",
- "lastPreparedByName": "LastPrepared Name",
- "isReviewed": true,
- "isAccepted": true,
- "isRejected": false,
- "isSentToPayroll": true,
- "approvedDateTime": "2019-09-10T16:12:29Z",
- "approvedBy": {
- "employeeId": "8436b4bd-fd7b-44c8-8f02-f04d62945116",
- "employeeFirstName": "Approver First Name",
- "employeeLastName": "Approver Last Name"
}, - "reviewedDateTime": "2019-09-10T16:12:29Z",
- "reviewedBy": {
- "employeeId": "8436b4bd-fd7b-44c8-8f02-f04d62945116",
- "employeeFirstName": "Reviewer First Name",
- "employeeLastName": "Reviewer Last Name"
}, - "acceptedDateTime": "2019-09-10T16:12:29Z",
- "acceptedBy": {
- "employeeId": "8436b4bd-fd7b-44c8-8f02-f04d62945116",
- "employeeFirstName": "Accepter First Name",
- "employeeLastName": "Accepter Last Name"
}, - "rejectedDateTime": "2019-09-10T16:12:29Z",
- "rejectedBy": {
- "employeeId": "8436b4bd-fd7b-44c8-8f02-f04d62945116",
- "employeeFirstName": "Rejecter First Name",
- "employeeLastName": "Rejecter Last Name"
}
}
], - "metadata": {
- "nextCursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2"
}
}
This call Returns a paginated list of time card summary information for the specified job, foreman, and date range. If there are additional pages, the response metadata will include a "nextCursor" field. That field should be passed as the "cursor" query parameter to request the next page of results.
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
{- "results": [
- {
- "id": "54afcd7c-dc29-46c0-a566-321c48b14414",
- "foremanId": "d01d3fb9-c579-4cb7-b405-60c7eaa791ec",
- "jobId": "8d6b8063-0465-48c1-b507-671ef42e29a9",
- "businessUnitId": "ccd69fe4-9b4f-4365-bef1-38c0eac381e3",
- "date": "2019-01-01",
- "revision": 3,
- "shift": 1,
- "lastModifiedDateTime": "2019-09-10T16:12:29Z",
- "lastModifiedPreciseDateTime": "2019-09-10T16:12:29.9498214Z",
- "lockedDateTime": "2019-02-25T17:29:11Z",
- "sentToPayrollDateTime": "2019-02-28T03:01:15Z",
- "sentToPayrollRevision": 1,
- "isApproved": true
}, - {
- "id": "3cb13a22-97f8-4744-8a7a-42e3b0367b66",
- "foremanId": "d01d3fb9-c579-4cb7-b405-60c7eaa791ec",
- "jobId": "8d6b8063-0465-48c1-b507-671ef42e29a9",
- "businessUnitId": "ccd69fe4-9b4f-4365-bef1-38c0eac381e3",
- "date": "2019-02-03",
- "revision": 1,
- "shift": 1,
- "lastModifiedDateTime": "2019-09-10T16:12:29Z",
- "lastModifiedPreciseDateTime": "2019-09-10T16:12:29.9498214Z",
- "lockedDateTime": "2019-02-25T17:29:11Z",
- "isApproved": true
}
], - "metadata": {
- "nextCursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2"
}
}
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
{- "id": "5a6d4a4c-f061-4b02-bbcd-c9f92fbb8819",
- "foremanId": "bcce40ea-d3c5-40ff-99ec-b60fe146cf39",
- "foremanCode": "SMITH",
- "foremanDescription": "John Smith",
- "jobId": "cc5f264d-e277-40ea-b313-c68c532cbac1",
- "jobCode": "016-FLD",
- "jobDescription": "Fountain lake subdivision",
- "businessUnitId": "e1afcb90-9514-446d-b3e7-d0948827ab5c",
- "businessUnitCode": "MANAGER",
- "businessUnitDescription": "Non-enterprise",
- "date": "2019-01-01",
- "shift": 2,
- "revision": 5,
- "isApproved": true,
- "approvedById": "e78a0d3c-02ab-440b-b3ce-bb1048f52366",
- "isReviewed": true,
- "reviewedById": "af212780-f139-4474-b55e-38a649fd42a6",
- "isAccepted": true,
- "acceptedById": "ed674c6a-a6b9-4d0c-b43b-bd544bac806f",
- "isRejected": false,
- "sentToPayrollRevision": 0,
- "sentToPayrollDateTime": "2019-03-03T15:30:00Z",
- "lastModifiedDateTime": "2019-03-01T12:05:05Z",
- "lockedDateTime": "2019-02-25T17:29:11Z",
- "costCodes": [
- {
- "timeCardCostCodeId": "c451c16d-f040-42f2-bfd4-fb682dd45975",
- "costCodeId": "85e35caa-f65c-4a29-bb9a-9796bb0a1ae3",
- "costCodeCode": "PAVE-L",
- "costCodeDescription": "Pave left hand turn lane",
- "isRework": false,
- "isTm": false,
- "quantity": 20.5,
- "unitOfMeasure": "yards",
- "column": 1,
- "publicNotes": "this is an inspector note",
- "privateNotes": "this is a private note"
}
], - "employees": [
- {
- "timeCardEmployeeId": "2ceca427-2eb6-44ee-879a-db7a7ec2f732",
- "employeeId": "42c0c2b4-eb11-46c0-ba1d-835d34a686e1",
- "employeeCode": "SMITH",
- "employeeDescription": "John Smith",
- "payClassId": "0287ad5a-c4ab-4573-bfd2-0aa71f6e32b7",
- "payClassCode": "LABORER",
- "payClassDescription": "Standard labor",
- "regularHours": [
- {
- "timeCardCostCodeId": "c451c16d-f040-42f2-bfd4-fb682dd45975",
- "hours": 6.5
}, - {
- "timeCardCostCodeId": "c451c16d-f040-42f2-bfd4-fb682dd45975",
- "tagId": "06f02f40-721a-485a-b9d9-6c0fbe39200f",
- "tagCode": "A",
- "hours": 1.5
}
], - "overtimeHours": [ ],
- "doubleOvertimeHours": [ ],
- "costAdjustments": [
- {
- "costAdjustmentType": "day",
- "quantity": 1.3,
- "costAdjustmentId": "93a24a06-cb60-4462-bc45-498ced93f85f",
- "costAdjustmentCode": "NS",
- "costAdjustmentDescription": "Night Shift"
}
], - "order": 1
}
], - "equipment": [
- {
- "timeCardEquipmentId": "c1a54d6b-fe5c-48d8-b415-885841ba7eb6",
- "equipmentId": "dd296262-e3d9-454f-b73b-5ce9fe5bbd68",
- "equipmentCode": "CRANE",
- "equipmentDescription": "Tower Crane",
- "payClassId": "27809d57-bf53-442c-b4a5-86a2bd921257",
- "payClassCode": "PC1",
- "payClassDescription": "Operating pay class",
- "linkedTimeCardEmployeeId": "2ceca427-2eb6-44ee-879a-db7a7ec2f732",
- "totalHours": [
- {
- "timeCardCostCodeId": "c451c16d-f040-42f2-bfd4-fb682dd45975",
- "tagId": "ff1eccce-3346-41ac-8aaf-404cd3bd1740",
- "tagCode": "M",
- "hours": 5.5
}
], - "ownershipHours": [ ],
- "operatingHours": [ ],
- "order": 2
}
]
}
Updates an existing time card by id. Sent-to-payroll revision and sent-to-payroll datetime are the only fields supported at this time.
The set of values to be updated. Currently only sent-to-payroll revision and sent-to-payroll datetime.
No Content
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
The specified resource is not found.
{- "sentToPayrollRevision": 2,
- "sentToPayrollDateTime": "2019-12-10T10:20:15Z"
}
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
[- {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "employeeCode": "string",
- "employeeFirstName": "string",
- "employeeLastName": "string",
- "accountingCode": "string"
}
]
This call returns time card data for time cards that used a given piece of equipment on a given date.
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
[- {
- "date": "2021-04-04T00:00:00",
- "timeCardId": "e4c4352d-258a-4be1-a575-bf93f00632f0",
- "jobId": "bc66ef22-ed8b-4c6b-b9d2-3aca86e684ce",
- "jobCode": "Job1",
- "jobDescription": "Job1 in BU 1",
- "businessUnitId": "5a48a406-1d74-4441-b7e7-29321ce05787",
- "businessUnitCode": "TESTBU",
- "foreman": {
- "employeeId": "e94c57ae-8c31-4e37-9eef-d053da6f354f",
- "employeeCode": "Employee 1",
- "employeeFirstName": "James",
- "employeeLastName": "Smith"
}, - "operators": [
- {
- "employeeId": "d8b4ec9c-b23a-4339-a212-7afc3a5aeca6",
- "employeeCode": "Employee 2",
- "employeeFirstName": "John",
- "employeeLastName": "Smith"
}
]
}, - {
- "date": "2021-04-04T00:00:00",
- "timeCardId": "72607a2c-e32e-4ef9-9f9c-b6fd05421520",
- "jobId": "491c56dc-d303-4d45-bdc8-1b22c66cf89a",
- "jobCode": "Job2",
- "jobDescription": "Job2 in BU 1",
- "businessUnitId": "0657c33c-b38b-4f70-b415-04c9bf416b88",
- "businessUnitCode": "TESTBU",
- "foreman": {
- "employeeId": "10f2facb-171f-4a7d-881b-27257fcbf45b",
- "employeeCode": "Employee 1",
- "employeeFirstName": "James",
- "employeeLastName": "Smith"
}, - "operators": [ ]
}
]