Type definitions
Application subscription details
Field name | Type | Required | Description |
---|---|---|---|
subscriptionToken | String | Application key identifier | |
expiryDateTime | Date | Subscription Expiry date | |
expiredDateTime | Date | Subscription Expired date | |
createdDateTime | Date | Subscription Create date | |
activationDateTime | Date | Subscription Activation date | |
cancellationDateTime | Date | Subscription Cancelled date | |
subscriptionStatus | Subscription status |
Application subscription details
Field name | Type | Required | Description |
---|---|---|---|
subscriptionTokens | List< SubscriptionTokenInfo > | Lis t of subscription token details | |
applicationName | String | Application name | |
applicationVersionId | String | Application version Id |
Subscription token information
Field name | Type | Required | Description |
---|---|---|---|
subscriptionToken | String | Subscription token | |
activatedDateTime | Date | Subscription Activated date | |
expiryDateTime | Date | Subscription Expiry date | |
expiredDateTime | Date | Subscription Expired date | |
cancellationDateTime | Date | Subscription Cancelled date | |
subscriptionStatus | Subscription status |
Describes developer/vendor specific application
Field name | Type | Required | Description |
---|---|---|---|
appName | String | The unique name of the application | |
appId | long | A unique id of this application | |
appVersions | List< DeveloperAppVersion > | The application versions (including application keys) |
Describes a version of an external application
Field name | Type | Required | Description |
---|---|---|---|
owner | String | The sportex user who owns the specific version of the application | |
versionId | long | The unique Id of the application version | |
version | String | The version identifier string such as 1.0, 2.0. Unique for a given application. | |
applicationKey | String | The unqiue application key associated with this application version | |
delayData | boolean | Indicates whether the data exposed by platform services as seen by this application key is delayed or realtime. | |
subscriptionRequired | boolean | Indicates whether the application version needs explicit subscription | |
ownerManaged | boolean | Indicates whether the application version needs explicit management by producers. A value of false indicates, this is a version meant for developer use. | |
active | boolean | Indicates whether the application version is currently active |
Response for retrieving available to bet.
Field name | Type | Required | Description |
---|---|---|---|
availableToBetBalance | double | Amount available to bet. | |
exposure | double | Current exposure. | |
retainedCommission | double | Sum of retained commission. | |
exposureLimit | double | Exposure limit. |
Response for Account details.
Field name | Type | Required | Description |
---|---|---|---|
currencyCode | String | Default user currency Code. | |
firstName | String | First Name. | |
lastName | String | Last Name. | |
localeCode | String | Locale Code. | |
region | String | Region. | |
timezone | String | User Time Zone. | |
discountRate | double | Uer Discount Rate. | |
pointsBalance | int | The Betfair points balance. |