v1

latestSwagger 2.02026-07-144713.2 KB
Sessions

Obtains a one-time Service Ticket that can be used to access other William Hill services.

Obtains a one-time Service Ticket that can be used to access other CAS enabled William Hill services that are not available through the standard suite of APIs. You first need to have logged in a customer to obtain an Authentication Ticket.

get/tickets/{tgt}/serviceTicket

Path parameters

tgtstring required

Ticket Granting Ticket obtained from a previous request

Query parameters

languageAsPerTerritorystring

Defines response field name language, true (default) returns in language defined by territory, false returns in English

targetstring required

The target URL of the CAS enabled service that you want to use with the service ticket.

fieldsstring[]

Specify an absolute field list to return (Comma Separated List)

includestring[]

Specify fields in addition to the default to return (Comma Separated List)

excludestring[]

Specify fields from the default to exclude (Comma Separated List)

Headers

apiKeystring required

A unique identifier of your application that is generated by the API portal.

apiSecretstring required

Another unique identifier for your application.

territorystring

Territory from which request originates

Response

Success - Service Ticket created

locationstring

This is the URL of the target service sent in the request. This is a combination of the endpoint and the ticket for future operations such as DELETE.

ticketstring required

The TGT ticket