Endpoints

Get account data for the bookmaker.

get

Retrieves accounts that belong to the provided bookmaker.

Authorizations
Path parameters
bookmakerstringRequired

Identifier for the bookmaker. Generated by Sportradar, contact your OAM or CI engineer in case of any issues with obtaining the correct value.

Query parameters
limitstringOptional

Maximum number of items returned in the response (page size). Set to 100 by default. Maximum limit/page size is 10000. Use this parameter to paginate the response.

sortstringOptional

Use this parameter to sort the response. Response can be sorted by multiple attributes with joining multiple sorting expressions delimited by plus sign (+). Format of a sort is attribute:direction. Supported attributes are sourceId, accountId, accountType, sccf, ccf, lbs, markerScore, botScore and lastModified. Supported directions are asc (ascending) and desc (descending). Example: sort=botScore:desc+sccf:asc

offsetstringOptional

Number of items to skip at the beginning of the response. Set to 0 by default. Use this parameter to paginate the response.

filtersstringOptional

Use this parameter to filter the response. Filters are delimited by plus sign (+). Format of a filter is attribute:operator:value. Supported attributes are sourceId (string), accountId (string), accountType (string - supported values are T for terminals, S for shops and C for customers), sccf (decimal), ccf (decimal), lbs (decimal), markerScore (decimal), botScore (decimal) and lastModified (epoch timestamp - long). Supported operators are eq (equals), neq (not equals), gt (greater than), lt (less than), gte (greater than or equal to), lte (less than or equal to), in (attribute value is in set of values separated by comma), nin (attribute value is not in set of values separated by comma), like (value is allowed to have up to 3 characters) and starts_with. Example: filters=botScore:gte:0.5+accountType:in:C,S+accountId:starts_with:John

Responses
200

Success

get
GET https://<URL>/v1/bookmakers/{bookmaker} HTTP/1.1
'Authorization: Bearer <JWT>'
'Accept: */*'
{
  "errorMessage": "text",
  "items": [
    {
      "accountId": "text",
      "accountType": "text",
      "bookmakerId": 1,
      "botScore": 1,
      "ccf": 1,
      "lbs": 1,
      "markerScore": 1,
      "sccf": 1,
      "sourceId": "text",
      "subBookmakerId": 1
    }
  ],
  "metadata": {
    "pagination": {
      "currentPage": 1,
      "limit": 1,
      "offset": 1,
      "pageCount": 1,
      "sortedBy": "text",
      "totalCount": 1
    }
  }
}

Get account data for specified account id.

get

Retrieves account data for the provided account id.

Authorizations
Path parameters
sub-bookmakerstringRequired

Identifier for the sub-bookmaker. Generated by Sportradar, contact your OAM or CI engineer in case of any issues with obtaining the correct value.

accountstringRequired

Identifier for the account.

bookmakerstringRequired

Identifier for the bookmaker. Generated by Sportradar, contact your OAM or CI engineer in case of any issues with obtaining the correct value.

Query parameters
limitstringOptional

Maximum number of items returned in the response (page size). Set to 100 by default. Maximum limit/page size is 10000. Use this parameter to paginate the response.

sortstringOptional

Use this parameter to sort the response. Response can be sorted by multiple attributes with joining multiple sorting expressions delimited by plus sign (+). Format of a sort is attribute:direction. Supported attributes are sourceId, accountId, accountType, sccf, ccf, lbs, markerScore, botScore and lastModified. Supported directions are asc (ascending) and desc (descending). Example: sort=botScore:desc+sccf:asc

offsetstringOptional

Number of items to skip at the beginning of the response. Set to 0 by default. Use this parameter to paginate the response.

filtersstringOptional

Use this parameter to filter the response. Filters are delimited by plus sign (+). Format of a filter is attribute:operator:value. Supported attributes are sourceId (string), accountId (string), accountType (string - supported values are T for terminals, S for shops and C for customers), sccf (decimal), ccf (decimal), lbs (decimal), markerScore (decimal), botScore (decimal) and lastModified (epoch timestamp - long). Supported operators are eq (equals), neq (not equals), gt (greater than), lt (less than), gte (greater than or equal to), lte (less than or equal to), in (attribute value is in set of values separated by comma), nin (attribute value is not in set of values separated by comma), like (value is allowed to have up to 3 characters) and starts_with. Example: filters=botScore:gte:0.5+accountType:in:C,S+accountId:starts_with:John

Responses
200

Success

get
GET https://<URL>/v1/bookmakers/{bookmaker}/sub-bookmakers/{sub-bookmaker}/accounts/{account} HTTP/1.1
'Authorization: Bearer <JWT>'
'Accept: */*'
{
  "errorMessage": "text",
  "items": [
    {
      "accountId": "text",
      "accountType": "text",
      "bookmakerId": 1,
      "botScore": 1,
      "ccf": 1,
      "lbs": 1,
      "markerScore": 1,
      "sccf": 1,
      "sourceId": "text",
      "subBookmakerId": 1
    }
  ],
  "metadata": {
    "pagination": {
      "currentPage": 1,
      "limit": 1,
      "offset": 1,
      "pageCount": 1,
      "sortedBy": "text",
      "totalCount": 1
    }
  }
}

Get all account data

get

Retrieves accounts for the profile that the user belongs to.

Authorizations
Query parameters
limitstringOptional

Maximum number of items returned in the response (page size). Set to 100 by default. Maximum limit/page size is 10000. Use this parameter to paginate the response.

sortstringOptional

Use this parameter to sort the response. Response can be sorted by multiple attributes with joining multiple sorting expressions delimited by plus sign (+). Format of a sort is attribute:direction. Supported attributes are sourceId, accountId, accountType, sccf, ccf, lbs, markerScore, botScore and lastModified. Supported directions are asc (ascending) and desc (descending). Example: sort=botScore:desc+sccf:asc

offsetstringOptional

Number of items to skip at the beginning of the response. Set to 0 by default. Use this parameter to paginate the response.

filtersstringOptional

Use this parameter to filter the response. Filters are delimited by plus sign (+). Format of a filter is attribute:operator:value. Supported attributes are sourceId (string), accountId (string), accountType (string - supported values are T for terminals, S for shops and C for customers), sccf (decimal), ccf (decimal), lbs (decimal), markerScore (decimal), botScore (decimal) and lastModified (epoch timestamp - long). Supported operators are eq (equals), neq (not equals), gt (greater than), lt (less than), gte (greater than or equal to), lte (less than or equal to), in (attribute value is in set of values separated by comma), nin (attribute value is not in set of values separated by comma), like (value is allowed to have up to 3 characters) and starts_with. Example: filters=botScore:gte:0.5+accountType:in:C,S+accountId:starts_with:John

Responses
200

Success

get
GET https://<URL>/v1 HTTP/1.1
'Authorization: Bearer <JWT>'
'Accept: */*'
{
  "errorMessage": "text",
  "items": [
    {
      "accountId": "text",
      "accountType": "text",
      "bookmakerId": 1,
      "botScore": 1,
      "ccf": 1,
      "lbs": 1,
      "markerScore": 1,
      "sccf": 1,
      "sourceId": "text",
      "subBookmakerId": 1
    }
  ],
  "metadata": {
    "pagination": {
      "currentPage": 1,
      "limit": 1,
      "offset": 1,
      "pageCount": 1,
      "sortedBy": "text",
      "totalCount": 1
    }
  }
}

Get accounts for the sub-bookmaker.

get

Retrieves accounts that belong to the provided bookmaker and sub-bookmaker.

Authorizations
Path parameters
sub-bookmakerstringRequired

Identifier for the sub-bookmaker. Generated by Sportradar, contact your OAM or CI engineer in case of any issues with obtaining the correct value.

bookmakerstringRequired

Identifier for the bookmaker. Generated by Sportradar, contact your OAM or CI engineer in case of any issues with obtaining the correct value.

Query parameters
limitstringOptional

Maximum number of items returned in the response (page size). Set to 100 by default. Maximum limit/page size is 10000. Use this parameter to paginate the response.

sortstringOptional

Use this parameter to sort the response. Response can be sorted by multiple attributes with joining multiple sorting expressions delimited by plus sign (+). Format of a sort is attribute:direction. Supported attributes are sourceId, accountId, accountType, sccf, ccf, lbs, markerScore, botScore and lastModified. Supported directions are asc (ascending) and desc (descending). Example: sort=botScore:desc+sccf:asc

offsetstringOptional

Number of items to skip at the beginning of the response. Set to 0 by default. Use this parameter to paginate the response.

filtersstringOptional

Use this parameter to filter the response. Filters are delimited by plus sign (+). Format of a filter is attribute:operator:value. Supported attributes are sourceId (string), accountId (string), accountType (string - supported values are T for terminals, S for shops and C for customers), sccf (decimal), ccf (decimal), lbs (decimal), markerScore (decimal), botScore (decimal) and lastModified (epoch timestamp - long). Supported operators are eq (equals), neq (not equals), gt (greater than), lt (less than), gte (greater than or equal to), lte (less than or equal to), in (attribute value is in set of values separated by comma), nin (attribute value is not in set of values separated by comma), like (value is allowed to have up to 3 characters) and starts_with. Example: filters=botScore:gte:0.5+accountType:in:C,S+accountId:starts_with:John

Responses
200

Success

get
GET https://<URL>/v1/bookmakers/{bookmaker}/sub-bookmakers/{sub-bookmaker} HTTP/1.1
'Authorization: Bearer <JWT>'
'Accept: */*'
{
  "errorMessage": "text",
  "items": [
    {
      "accountId": "text",
      "accountType": "text",
      "bookmakerId": 1,
      "botScore": 1,
      "ccf": 1,
      "lbs": 1,
      "markerScore": 1,
      "sccf": 1,
      "sourceId": "text",
      "subBookmakerId": 1
    }
  ],
  "metadata": {
    "pagination": {
      "currentPage": 1,
      "limit": 1,
      "offset": 1,
      "pageCount": 1,
      "sortedBy": "text",
      "totalCount": 1
    }
  }
}

Was this helpful?