GET /redeemable-tokens/{tokenId}

Purpose

Retrieve a redeemable token

Request

Resource URL

GET https://api.ft.com/redeemable-tokens/{tokenId}

For security reasons requests must be made over HTTPS.

Parameters

Path ParamValue
tokenId
The unique identifier for the redeemable token to be retrieved

Request Headers

HeaderValue
X-Api-Key <API key value>

Request Body

Not supported.

Response

Response Body

A JSON representation of the Redeemable Token Resource an example of which is as below:

{
“id”: “b412ec22-c387-4267-a248-cf2fd757990b”,
“creationDateTime”: “2016-05-27T10:44:20.278Z”,
“redeemableFor”: {
“accessLicenceId”: “aca9e27f-2a58-496c-b94d-bc84dffa6f5c”,
    “type”: “LICENCE”,
“accessDuration” : “P12M”,
    },
“status”: “AVAILABLE”,
“redeemability”: “UNLIMITED”,
“validUntil”: “2017-05-27T10:44:20.278Z”
}

HTTP Status Codes

Http StatusDescription
200 Ok The redeemable token resource for the supplied tokenId was returned successfully.
403 Forbidden Invalid API key
404 Not Found Redeemable token with that id was not found
500 Error Error