v1

latestOpenAPI 3.0.3Apache 2.02026-07-13121230447.8 KB
Entitlements

List feature credits entries of a feature for an account

This API let’s you to list the feature credits entries of a feature for an account

get/accounts/{account_id}/features/{feature_id}/entries

Path parameters

account_idstring required
Example:ACC00001

account_id corresponding to an account

feature_idstring required
Example:feat.fdjskl.sdkjl

feature_id corresponding to a feature

Query parameters

pageSizeinteger
Example:10

Maximum page size expected by client to return the record list.

NOTE: Max page size cannot be more than 50. Also 50 is the default page size if no value is provided.

nextTokenstring
Example:eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEyMywgInNvcnRPcmRlciI6ICJhc2MifQ==

Pagination token used as a marker to get records from next page.

Response

Success response

nextTokenstring

Example response

{
  "data": [
    {
      "id": "purchase.20rvWRxQcQK.0ZwPG$1",
      "effectiveFrom": "2021-03-04T14:25:10Z",
      "effectiveUntil": "2021-05-20T01:00:10Z",
      "granted": 15,
      "balance": 10,
      "used": 10
    }
  ]
}