Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 21 Next »

Type definitions

ApplicationSubscription

Application subscription details

Field name

Type

Required

Description

subscriptionToken

String

(tick)

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

SubscriptionStatus

 

Subscription status

clientReferenceString Client reference
vendorClientIdString Vendor client Id

Subscription History

Application subscription history details

Field name

Type

Required

Description

subscriptionToken

String

(tick)

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

SubscriptionStatus

 

Subscription status

clientReferenceString Client reference

 


AccountSubscription

Application subscription details

Field name

Type

Required

Description

subscriptionTokens

List< SubscriptionTokenInfo >

(tick)

Lis t of subscription token details

applicationName

String

 

Application name

applicationVersionId

String

 

Application version Id


SubscriptionTokenInfo

Subscription token information

Field name

Type

Required

Description

subscriptionToken

String

(tick)

Subscription token

activatedDateTime

Date

 

Subscription Activated date

expiryDateTime

Date

 

Subscription Expiry date

expiredDateTime

Date

 

Subscription Expired date

cancellationDateTime

Date

 

Subscription Cancelled date

subscriptionStatus

SubscriptionStatus

 

Subscription status


DeveloperApp

Describes developer/vendor specific application

Field name

Type

Required

Description

appName

String

(tick)

The unique name of the application

appId

long

(tick)

A unique id of this application

appVersions

List< DeveloperAppVersion >

(tick)

The application versions (including application keys)


DeveloperAppVersion

Describes a version of an external application

Field name

Type

Required

Description

owner

String

(tick)

The sportex user who owns the specific version of the application

versionId

long

(tick)

The unique Id of the application version

version

String

(tick)

The version identifier string such as 1.0, 2.0. Unique for a given application.

applicationKey

String

(tick)

The unqiue application key associated with this application version

delayData

boolean

(tick)

Indicates whether the data exposed by platform services as seen by this application key is delayed or realtime.

subscriptionRequired

boolean

(tick)

Indicates whether the application version needs explicit subscription

ownerManaged

boolean

(tick)

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

(tick)

Indicates whether the application version is currently active


AccountFundsResponse

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.

discountRate

double

 

User Discount Rate.

pointsBalanceint The Betfair points balance


AccountDetailsResponse

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

 

User Discount Rate.

pointsBalance

int

 

The Betfair points balance.

AccountStatementReport

A container representing search results.

Field name

Type

Required

Description

accountStatement

List<StatementItem>

The list of statement items returned by your request.

moreAvailable

boolean

Indicates whether there are further result items beyond this page.

StatementItem

Summary of a cleared order.

Field name

Type

Required

Description

refId

String

 

An external reference, eg. equivalent to betId in the case of an exchange bet statement item.

itemDate

Date

The date and time of the statement item, eg. equivalent to settledData for an exchange bet statement item. (in ISO-8601 format, not translated)

amount

double

 

The amount of money the balance is adjusted by

balance

double

 

Account balance.

itemClass

ItemClass

 

Class of statement item. This value will determine which set of keys will be included in itemClassData

itemClassData

Map<String,String>

 

Key value pairs describing the current statement item. The set of keys will be determined by the itemClass

legacyData

StatementLegacyData

 

Set of fields originally returned from APIv6. Provided to facilitate migration from APIv6 to API-NG, and ultimately onto itemClass and itemClassData

 

StatementLegacyData

Summary of a cleared order.

Field name

Type

Required

Description

avgPrice

double

 

 

betSize

double

 

 

betType

String

 

 

betCategoryType

String

 

 

commissionRate

String

 

 

eventId

long

 

 

eventTypeId

long

 

 

fullMarketName

String

 

 

grossBetAmount

double

 

 

marketName

String

 

 

marketType

String

 

 

placedDate

Date

 

 

selectionId

long

 

 

selectionName

String

 

 

startDate

Date

 

 

transactionType

String

 

 

transactionId

long

 

 

winLose

String

 

 

 

TimeRange

TimeRange

Field name

Type

Required

Description

from

Date

 

from, format: ISO 8601)

to

Date

 

to, format: ISO 8601

CurrencyRate

 Currency rate

Field name

Type

Required

Description

currencyCode

String

 

Three letter ISO 4217 code

rate

double

 

Exchange rate for the currency specified in the request

 

 

 

 

  • No labels