Cost Rate represents the hourly cost for an account member, specified in a specific currency. A cost rate
with the same currency as the account default currency is called the default cost rate
.
This endpoint returns structured Cost Rate objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the cost_rates
top-level JSON key.
Please see our Response Format section for more information.
created_after | string <date-time> Filter for records created after a specified datetime. The datetime must be in ISO 8601 format. |
created_before | string <date-time> Filter for records created before a specified datetime. The datetime must be in ISO 8601 format. |
include | string Any of the below associations can be included in your request by providing the
|
only | string Allows you to request one or more resources directly by ID. Multiple IDs can be supplied
in a comma separated list, like |
order | string Default: "created_at:asc" Supply Valid values: |
page | integer <int32> Default: 1 |
per_page | integer <int32> <= 200 Default: 20 |
updated_after | string <date-time> Filter for records updated after a specified datetime. The datetime must be in ISO 8601 format. |
updated_before | string <date-time> Filter for records updated before a specified datetime. The datetime must be in ISO 8601 format. |
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "cost_rates": {
- "property1": {
- "account_membership_id": 0,
- "amount_in_subunits": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "in_use": true,
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "account_membership_id": 0,
- "amount_in_subunits": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "in_use": true,
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "account_memberships": {
- "property1": {
- "backup_approver_association_ids": [
- "string"
], - "bill_rate_in_cents": 0,
- "billability_target": 0,
- "can_create_workspace": true,
- "can_view_reports": true,
- "collaborator_only_license": true,
- "cost_rate_ids": [
- "string"
], - "cost_rate_in_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "default_read_only": true,
- "default_role_id": "string",
- "disabled_at": "2019-08-24T14:15:22Z",
- "effective_workweek_id": "string",
- "future_billable_utilization_ids": [
- "string"
], - "is_administrator": true,
- "is_backup_approver": true,
- "is_owner": true,
- "is_project_lead": true,
- "is_punch_clock_user": true,
- "managee_ids": [
- "string"
], - "manager_can_approve": true,
- "manager_can_edit_skills": true,
- "manager_id": "string",
- "non_participant": true,
- "permission": "string",
- "possible_managee_ids": [
- "string"
], - "possible_manager_ids": [
- "string"
], - "should_show_alert_on_timesheet_submission": true,
- "skill_membership_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string"
}, - "property2": {
- "backup_approver_association_ids": [
- "string"
], - "bill_rate_in_cents": 0,
- "billability_target": 0,
- "can_create_workspace": true,
- "can_view_reports": true,
- "collaborator_only_license": true,
- "cost_rate_ids": [
- "string"
], - "cost_rate_in_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "default_read_only": true,
- "default_role_id": "string",
- "disabled_at": "2019-08-24T14:15:22Z",
- "effective_workweek_id": "string",
- "future_billable_utilization_ids": [
- "string"
], - "is_administrator": true,
- "is_backup_approver": true,
- "is_owner": true,
- "is_project_lead": true,
- "is_punch_clock_user": true,
- "managee_ids": [
- "string"
], - "manager_can_approve": true,
- "manager_can_edit_skills": true,
- "manager_id": "string",
- "non_participant": true,
- "permission": "string",
- "possible_managee_ids": [
- "string"
], - "possible_manager_ids": [
- "string"
], - "should_show_alert_on_timesheet_submission": true,
- "skill_membership_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string"
}
}
}
Creates a new cost rate for a specified account membership and currency. If a cost rate already exists for the specified account membership and currency, it will be overridden, effectively making this an update request as well. Up to 100 cost rates can be created or updated at once.
Note: Updating a cost rate will set the cost rate for future work. Existing time entries will not be affected.
This endpoint returns structured Cost Rate objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the cost_rates
top-level JSON key.
Please see our Response Format section for more information.
object | |
Array of objects Multiple cost rates and their attributes in an array. |
{- "cost_rate": {
- "account_membership_id": 0,
- "currency": "string",
- "amount_in_subunits": 0
}, - "cost_rates": [
- {
- "account_membership_id": 0,
- "currency": "string",
- "amount_in_subunits": 0
}
]
}
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "cost_rates": {
- "property1": {
- "account_membership_id": 0,
- "amount_in_subunits": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "in_use": true,
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "account_membership_id": 0,
- "amount_in_subunits": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "in_use": true,
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "account_memberships": {
- "property1": {
- "backup_approver_association_ids": [
- "string"
], - "bill_rate_in_cents": 0,
- "billability_target": 0,
- "can_create_workspace": true,
- "can_view_reports": true,
- "collaborator_only_license": true,
- "cost_rate_ids": [
- "string"
], - "cost_rate_in_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "default_read_only": true,
- "default_role_id": "string",
- "disabled_at": "2019-08-24T14:15:22Z",
- "effective_workweek_id": "string",
- "future_billable_utilization_ids": [
- "string"
], - "is_administrator": true,
- "is_backup_approver": true,
- "is_owner": true,
- "is_project_lead": true,
- "is_punch_clock_user": true,
- "managee_ids": [
- "string"
], - "manager_can_approve": true,
- "manager_can_edit_skills": true,
- "manager_id": "string",
- "non_participant": true,
- "permission": "string",
- "possible_managee_ids": [
- "string"
], - "possible_manager_ids": [
- "string"
], - "should_show_alert_on_timesheet_submission": true,
- "skill_membership_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string"
}, - "property2": {
- "backup_approver_association_ids": [
- "string"
], - "bill_rate_in_cents": 0,
- "billability_target": 0,
- "can_create_workspace": true,
- "can_view_reports": true,
- "collaborator_only_license": true,
- "cost_rate_ids": [
- "string"
], - "cost_rate_in_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "default_read_only": true,
- "default_role_id": "string",
- "disabled_at": "2019-08-24T14:15:22Z",
- "effective_workweek_id": "string",
- "future_billable_utilization_ids": [
- "string"
], - "is_administrator": true,
- "is_backup_approver": true,
- "is_owner": true,
- "is_project_lead": true,
- "is_punch_clock_user": true,
- "managee_ids": [
- "string"
], - "manager_can_approve": true,
- "manager_can_edit_skills": true,
- "manager_id": "string",
- "non_participant": true,
- "permission": "string",
- "possible_managee_ids": [
- "string"
], - "possible_manager_ids": [
- "string"
], - "should_show_alert_on_timesheet_submission": true,
- "skill_membership_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string"
}
}
}
This endpoint returns structured Cost Rate objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the cost_rates
top-level JSON key.
Please see our Response Format section for more information.
{- "cost_rate": {
- "amount_in_subunits": 0
}
}
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "cost_rates": {
- "property1": {
- "account_membership_id": 0,
- "amount_in_subunits": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "in_use": true,
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "account_membership_id": 0,
- "amount_in_subunits": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "string",
- "in_use": true,
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "account_memberships": {
- "property1": {
- "backup_approver_association_ids": [
- "string"
], - "bill_rate_in_cents": 0,
- "billability_target": 0,
- "can_create_workspace": true,
- "can_view_reports": true,
- "collaborator_only_license": true,
- "cost_rate_ids": [
- "string"
], - "cost_rate_in_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "default_read_only": true,
- "default_role_id": "string",
- "disabled_at": "2019-08-24T14:15:22Z",
- "effective_workweek_id": "string",
- "future_billable_utilization_ids": [
- "string"
], - "is_administrator": true,
- "is_backup_approver": true,
- "is_owner": true,
- "is_project_lead": true,
- "is_punch_clock_user": true,
- "managee_ids": [
- "string"
], - "manager_can_approve": true,
- "manager_can_edit_skills": true,
- "manager_id": "string",
- "non_participant": true,
- "permission": "string",
- "possible_managee_ids": [
- "string"
], - "possible_manager_ids": [
- "string"
], - "should_show_alert_on_timesheet_submission": true,
- "skill_membership_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string"
}, - "property2": {
- "backup_approver_association_ids": [
- "string"
], - "bill_rate_in_cents": 0,
- "billability_target": 0,
- "can_create_workspace": true,
- "can_view_reports": true,
- "collaborator_only_license": true,
- "cost_rate_ids": [
- "string"
], - "cost_rate_in_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "default_read_only": true,
- "default_role_id": "string",
- "disabled_at": "2019-08-24T14:15:22Z",
- "effective_workweek_id": "string",
- "future_billable_utilization_ids": [
- "string"
], - "is_administrator": true,
- "is_backup_approver": true,
- "is_owner": true,
- "is_project_lead": true,
- "is_punch_clock_user": true,
- "managee_ids": [
- "string"
], - "manager_can_approve": true,
- "manager_can_edit_skills": true,
- "manager_id": "string",
- "non_participant": true,
- "permission": "string",
- "possible_managee_ids": [
- "string"
], - "possible_manager_ids": [
- "string"
], - "should_show_alert_on_timesheet_submission": true,
- "skill_membership_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "user_id": "string"
}
}
}
The response will contain no content and an HTTP 204 status code if the request was successful, or a standard Kantata OX error message explaining why the object could not be deleted.
Cost Rate has been deleted.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "errors": [
- {
- "type": "string",
- "message": "string"
}
]
}