Retrieve the list of products a user is entitled access to
GET https://api.ft.com/users/{userId}/products
For security reasons requests must be made over HTTPS.
| Path Param | Value |
|---|---|
| userId |
The unique identifier for the user whose products are to be retrieved |
| Header | Value |
|---|---|
| X-Api-Key | <API key value> |
Not supported.
A JSON representation of the user’s User Products Resource an example of which is as below:
{
“user”: {
“userId”: “b412ec22-c387-4267-a248-cf2fd757990b”,
“products”: [
{“productCode”: “Tools”},
{“productCode”: “P0”},
{“productCode”: “P2”}
]
}
}
| Http Status | Description |
|---|---|
| 200 Ok | The user products resource for the supplied userId was returned successfully. Note that the API call does not validate if the userId exists. |
| 400 Bad Request | The request was invalid. You may refer to Error Response Object returned for details around why the request was invalid. |
| 403 Forbidden | Invalid API key |
|
404 Not Found |
User does not exist |
| 503 Backend service not available | |
| 504 Gateway timeout |