You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
USTA provides limited access to play history
GET https://services.usta.com/v1/dataexchange//v1/ustaTerms/redirectUrl
No body is required for this call.
No body for this call
The deep link to the most current USTA terms and conditions on http://usta.com . The calling application should redirect to this ungated landing page
Once the participant consents, there is no need to present the terms again.
{ "redirectUrl": "https://stage.usta.com/en/home/about-usta/who-we-are/national/usta-terms-of-use.html" }
You must first retrieve an access token using Bound or Unbound method. See Cognito Client Integration Guide for more on how to request a token.
The following is a sample curl illustrating the contribution of a doubles matchup.
Where:
--header 'Authorization: Bearer eyJraW...
specifies the token that you retrieved using the https://stage-account.usta.com/oauth2/token endpoint.
curl --location --request GET 'https://stage-services.usta.com/v1/dataexchange/ustaTerms/redirectUrl' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer eyJraW...' \ --header 'Cookie: JSESSIONID=A18BF05059108055D15F38262123C04D' \ --data-raw ''
On This Page: