Service overbooking limits
Get all service overbooking limits
Restricted!This operation is currently in beta-test and as such it is subject to change.
Returns all service overbooking limits. Note this operation uses Pagination and supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/serviceOverbookingLimits/getAll
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
EnterpriseIds
array of string
optional, max 1000 items
Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token.
ServiceIds
array of string
required, max 1000 items
Unique identifiers of Services
associated with the service overbooking limits.
ServiceOverbookingLimitIds
array of string
optional, max 1000 items
Unique identifiers of the service overbooking limits.
CollidingUtc
optional
Interval in which the service overbooking limit is active.
UpdatedUtc
optional, max length 3 months
Interval in which the service overbooking limits were updated.
ActivityStates
optional
Whether to return only active, only deleted, or both types of record. If not specified, only active records will be returned.
Limitation
required
Limitation on the quantity of data returned and optional Cursor for the starting point of data.
Response
ServiceOverbookingLimits
required
Service overbooking limits of the default service.
Cursor
string
optional
Unique identifier of the item one newer in time order than the items to be returned. If Cursor is not specified, i.e. null, then the latest or most recent items will be returned.
Service overbooking limit
Id
string
required
Unique identifier of the service overbooking limit.
ServiceId
string
required
Unique identifier of the Service
.
FirstTimeUnitStartUtc
string
required
LastTimeUnitStartUtc
string
required
Limit
integer
required
Number of overbookings allowed for the Service
.
CreatedUtc
string
required
Timestamp in UTC timezone ISO 8601 format when the service overbooking was created.
UpdatedUtc
string
required
Timestamp in UTC timezone ISO 8601 format when the service overbooking was updated.
IsActive
boolean
required
Whether the service overbooking limit is still active.
Set service overbooking limits
Restricted!This operation is currently in beta-test and as such it is subject to change.
Adds new service overbooking limits with the specified conditions. Past overbooking limits cannot be updated outside of OperationalEditableHistoryInterval
. Care is needed to specify FirstTimeUnitStartUtc
and LastTimeUnitStartUtc
in the correct format - see Datetimes. This operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/serviceOverbookingLimits/set
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
EnterpriseId
string
optional
ServiceId
string
required
SetServiceOverbookingLimits
required, max 1000 items
Collection of service overbooking limits to be set.
Service overbooking limits set parameters
FirstTimeUnitStartUtc
string
required
LastTimeUnitStartUtc
string
required
Limit
integer
required
Number of overbookings allowed for the Service
. Must be non-negative.
Response
Clear service overbooking limits
Restricted!This operation is currently in beta-test and as such it is subject to change.
Deletes service overbooking limits that exactly match the specified conditions. This operation is intended to be used alongside serviceOverbookingLimits/set
. The specified conditions must be met exactly. The time interval, however, does not need to correspond to an existing service overbooking limit in the system, instead the API uses a splicing algorithm to work out how to divide up any existing service overbooking limit to meet the specified time interval. Past overbooking limits cannot be cleared outside of OperationalEditableHistoryInterval
. Care is needed to specify FirstTimeUnitStartUtc
and LastTimeUnitStartUtc
in the correct format - see Datetimes. This operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/serviceOverbookingLimits/clear
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
EnterpriseId
string
optional
ServiceId
string
required
ClearServiceOverbookingLimits
required, max 1000 items
Collection of service overbooking limits to be cleared.
Service overbooking limits clear parameters
FirstTimeUnitStartUtc
string
required
LastTimeUnitStartUtc
string
required
Response
Last updated