Retrieve a redeemable token
GET https://api.ft.com/redeemable-tokens/{tokenId}
For security reasons requests must be made over HTTPS.
Path Param | Value |
---|---|
tokenId |
The unique identifier for the redeemable token to be retrieved |
Header | Value |
---|---|
X-Api-Key | <API key value> |
Not supported.
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 | Description |
---|---|
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 |