In the Rate Card system, Rate Card Set Versions represent snapshots of a Rate Card Set, that take effect on the set published date. A Rate Card Set Version owns a copy of each Rate Card Version of a Rate Card in the associated Rate Card Set.
Rate Card Roles can only be accessed, edited, or published by an Administrator on the account.
Since Rate Cards and Rate Card Versions are immutable after they are published and in use, generating a Rate Card Set Version is the correct process for making any changes. When a new Rate Card Set Version is created or cloned, all of the Rate Card Versions from the old Rate Card Set Version are copied to a new one.
Rate Card Set Versions are only accessible to Administrators on the account.
This endpoint returns structured Rate Card Set Version 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 rate_card_set_versions
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. |
effective_on_date | string <date> Returns Rate Card Set Versions that are effective on the requested date.
The date should be in |
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 |
rate_card_set_id | integer <int32> Restricts Rate Card Set Versions to the specified Rate Card Set. |
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"
}
], - "rate_card_set_versions": {
- "property1": {
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "effective_date": "2019-08-24",
- "rate_card_set_id": "string",
- "rate_card_version_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "used_currencies": [
- "string"
]
}, - "property2": {
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "effective_date": "2019-08-24",
- "rate_card_set_id": "string",
- "rate_card_version_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "used_currencies": [
- "string"
]
}
}, - "rate_card_sets": {
- "property1": {
- "account_default": true,
- "active_currencies": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "default_currencies": [
- "string"
], - "destroyable": true,
- "rate_card_ids": [
- "string"
], - "rate_card_set_version_ids": [
- "string"
], - "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
]
}, - "property2": {
- "account_default": true,
- "active_currencies": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "default_currencies": [
- "string"
], - "destroyable": true,
- "rate_card_ids": [
- "string"
], - "rate_card_set_version_ids": [
- "string"
], - "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
]
}
}, - "rate_card_versions": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "default_rate": 0,
- "rate_card_id": "string",
- "rate_card_role_ids": [
- "string"
], - "rate_card_set_version_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "default_rate": 0,
- "rate_card_id": "string",
- "rate_card_role_ids": [
- "string"
], - "rate_card_set_version_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
Rate Card Set Versions can only created by an Administrator on the account.
Creating/Cloning a Rate Card Set Version on a Rate Card Set, does the following:
This endpoint returns structured Rate Card Set Version 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 rate_card_set_versions
top-level JSON key.
Please see our Response Format section for more information.
object | |||||
|
{- "rate_card_set_version": {
- "rate_card_set_id": 0,
- "effective_date": "2019-08-24"
}
}
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "rate_card_set_versions": {
- "property1": {
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "effective_date": "2019-08-24",
- "rate_card_set_id": "string",
- "rate_card_version_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "used_currencies": [
- "string"
]
}, - "property2": {
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "effective_date": "2019-08-24",
- "rate_card_set_id": "string",
- "rate_card_version_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "used_currencies": [
- "string"
]
}
}, - "rate_card_sets": {
- "property1": {
- "account_default": true,
- "active_currencies": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "default_currencies": [
- "string"
], - "destroyable": true,
- "rate_card_ids": [
- "string"
], - "rate_card_set_version_ids": [
- "string"
], - "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
]
}, - "property2": {
- "account_default": true,
- "active_currencies": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "default_currencies": [
- "string"
], - "destroyable": true,
- "rate_card_ids": [
- "string"
], - "rate_card_set_version_ids": [
- "string"
], - "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
]
}
}, - "rate_card_versions": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "default_rate": 0,
- "rate_card_id": "string",
- "rate_card_role_ids": [
- "string"
], - "rate_card_set_version_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "default_rate": 0,
- "rate_card_id": "string",
- "rate_card_role_ids": [
- "string"
], - "rate_card_set_version_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
A Rate Card Set Version is only accessible to an Administrator on the account.
This endpoint returns structured Rate Card Set Version 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 rate_card_set_versions
top-level JSON key.
Please see our Response Format section for more information.
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "rate_card_set_versions": {
- "property1": {
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "effective_date": "2019-08-24",
- "rate_card_set_id": "string",
- "rate_card_version_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "used_currencies": [
- "string"
]
}, - "property2": {
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "effective_date": "2019-08-24",
- "rate_card_set_id": "string",
- "rate_card_version_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "used_currencies": [
- "string"
]
}
}, - "rate_card_sets": {
- "property1": {
- "account_default": true,
- "active_currencies": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "default_currencies": [
- "string"
], - "destroyable": true,
- "rate_card_ids": [
- "string"
], - "rate_card_set_version_ids": [
- "string"
], - "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
]
}, - "property2": {
- "account_default": true,
- "active_currencies": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "default_currencies": [
- "string"
], - "destroyable": true,
- "rate_card_ids": [
- "string"
], - "rate_card_set_version_ids": [
- "string"
], - "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
]
}
}, - "rate_card_versions": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "default_rate": 0,
- "rate_card_id": "string",
- "rate_card_role_ids": [
- "string"
], - "rate_card_set_version_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "default_rate": 0,
- "rate_card_id": "string",
- "rate_card_role_ids": [
- "string"
], - "rate_card_set_version_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
A Rate Card Set Version can only be modified when the effective date is in the future, or when it is not yet published.
This endpoint returns structured Rate Card Set Version 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 rate_card_set_versions
top-level JSON key.
Please see our Response Format section for more information.
object | |||
|
{- "rate_card_set_version": {
- "effective_date": "2019-08-24"
}
}
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "rate_card_set_versions": {
- "property1": {
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "effective_date": "2019-08-24",
- "rate_card_set_id": "string",
- "rate_card_version_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "used_currencies": [
- "string"
]
}, - "property2": {
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "effective_date": "2019-08-24",
- "rate_card_set_id": "string",
- "rate_card_version_ids": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "used_currencies": [
- "string"
]
}
}, - "rate_card_sets": {
- "property1": {
- "account_default": true,
- "active_currencies": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "default_currencies": [
- "string"
], - "destroyable": true,
- "rate_card_ids": [
- "string"
], - "rate_card_set_version_ids": [
- "string"
], - "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
]
}, - "property2": {
- "account_default": true,
- "active_currencies": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "default_currencies": [
- "string"
], - "destroyable": true,
- "rate_card_ids": [
- "string"
], - "rate_card_set_version_ids": [
- "string"
], - "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "workspace_group_ids": [
- "string"
]
}
}, - "rate_card_versions": {
- "property1": {
- "created_at": "2019-08-24T14:15:22Z",
- "default_rate": 0,
- "rate_card_id": "string",
- "rate_card_role_ids": [
- "string"
], - "rate_card_set_version_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "created_at": "2019-08-24T14:15:22Z",
- "default_rate": 0,
- "rate_card_id": "string",
- "rate_card_role_ids": [
- "string"
], - "rate_card_set_version_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
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.
Rate Card Set Version has been deleted.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "errors": [
- {
- "type": "string",
- "message": "string"
}
]
}
Publishing a Rate Card Set Version means activating the version from the set effective date. A Rate Card Set Version can be published to any future date, but cannot be published on the same effective date as another Rate Card Set Version on the same Rate Card Set. Once published, a Rate Card Set Version cannot be unpublished.
This endpoint returns structured Rate Card Set Version 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 rate_card_set_versions
top-level JSON key.
Please see our Response Format section for more information.
{- "activated": true
}