Get categories

/account_change_log/available_categories

Target audience: Developers

1
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

1
2
3
4
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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

See common error responses