The employee rate object provides information about compensation for a specified employee and date range. The rate can be either hourly or annual.
Returns a collection with a key, ID, and link for each employee rate. This operation is mostly for use in testing; use the query service to find objects that meet certain criteria and to specify properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "1",
- "href": "/objects/company-config/employee-rate/1"
}, - {
- "key": "3",
- "id": "3",
- "href": "/objects/company-config/employee-rate/3"
}, - {
- "key": "5",
- "id": "5",
- "href": "/objects/company-config/employee-rate/5"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified employee rate.
key required | string System-assigned unique key for an employee rate. Example: 111 |
OK
Bad Request
{- "ia::result": {
- "id": "28",
- "key": "28",
- "employee": {
- "key": "7",
- "id": "MGR3",
- "name": "PM Dept - Manager",
- "href": "/objects/company-config/employee/7"
}, - "hourlyRate": null,
- "annualSalary": "2080",
- "startDate": "2000-01-01",
- "endDate": "2010-12-31",
- "audit": {
- "createdDateTime": "2016-06-28T20:44:38Z",
- "modifiedDateTime": "2016-06-28T20:44:38Z",
- "createdByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "createdBy": "1",
- "modifiedByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "modifiedBy": "1"
}, - "href": "/objects/company-config/employee-rate/28"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes an employee rate.
key required | string System-assigned unique key for an employee rate. Example: 111 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}