Get categories
/account_change_log/available_categories
Target audience: Developers
Release version: 4.4.0
Get available logging categories¶
Introduction¶
This endpoint returns the available logging categories for an account. This is most often used together with log to accounts to resolve what category to use.
URI¶
Environment | URI |
---|---|
Stage | https://payway-api.stage.adeprimo.se/external/api/v1/account_change_log/available_categories |
Production | https://backend.worldoftulo.com/external/api/v1/account_change_log/available_categories |
Requirements¶
Identity | Scope |
---|---|
No | /external/account_change_log/r |
Curl Example¶
Get¶
curl --request GET \
--url https://payway-api.stage.adeprimo.se/external/api/v1/account_change_log/available_categories \
--header 'accept: application/json' \
--header 'authorization: Bearer <token>' \
Response¶
Successful response¶
HTTP 200
{
"items": [
{
"type": "system",
"description": "This event type is used to categorize system events for an account!"
},
{
"type": "comment",
"description": "This event type is used to categorize comments on an account!"
},
{
"type": "subscription",
"description": "This event type is used to categorize events for a subscription on a account!"
},
{
"type": "account",
"description": "This event type is used to categorize events for an account!"
},
{
"type": "password",
"description": "This event type is used to categorize password events for an account!"
},
{
"type": "order",
"description": "This event type is used to categorize events for an order aon a account!"
},
{
"type": "payment",
"description": "This event type is used to categorize payment events for an order on a account!"
},
{
"type": "voucher",
"description": "This event type is used to categorize voucher usage for an account!"
},
{
"type": "sharing",
"description": "This event type is used to categorize sharing events for a subscription! pm a account"
},
{
"type": "distribution",
"description": "This event type is used to categorize events for the distribution of a subscription!"
},
{
"type": "contact",
"description": "This event type is used to categorize contact events on an account!"
}
]
}
Errors¶
This API uses the common error conventions of the Payway API