Station-classes

Events

Action Event name
creates a new station class stationclass.created
updates an existing station class stationclass.updated
deletes an existing station class stationclass.deleted

Payload example created

{
  "attemptId": "46896f4b-c88e-41e5-946e-645614a20df3",
  "created": 1755034049,
  "data": {
    "_id": "689bb1bf38694206e10f4e90",
    "accountId": "52a377ec430c7d4e220001fc",
    "createdAt": {
      "offset": 0,
      "value": "2025-08-12T21:27:27.645Z"
    },
    "createdBy": "55fc2f318791db6e1a0000b6",
    "externalId": "2345",
    "name": "Test webhook",
    "updatedAt": {
      "offset": 0,
      "value": "2025-08-12T21:27:27.645Z"
    },
    "updatedBy": "55fc2f318791db6e1a0000b6"
  },
  "event": "stationclass.created",
  "id": "fca53b9c-53fb-4b97-8c31-c15a238a950d",
  "livemode": true
}

Payload example updated

{
  "attemptId": "a9da0609-130d-4635-b531-6e3973eaaeb8",
  "created": 1755034060,
  "data": {
    "_id": "689bb1bf38694206e10f4e90",
    "accountId": "52a377ec430c7d4e220001fc",
    "createdAt": {
      "offset": 0,
      "value": "2025-08-12T21:27:27.645Z"
    },
    "createdBy": "55fc2f318791db6e1a0000b6",
    "externalId": "2345",
    "name": "Test webhook update",
    "updatedAt": {
      "offset": 0,
      "value": "2025-08-12T21:27:37.826Z"
    },
    "updatedBy": "55fc2f318791db6e1a0000b6"
  },
  "event": "stationclass.updated",
  "id": "85fa5554-929d-49c2-a0ae-a55ce87fe867",
  "livemode": true
}

Payload example deleted

{
  "attemptId": "36a3fe0f-3984-49f7-bc0a-9fdc8461a2f9",
  "created": 1755034076,
  "data": {
    "stationClassId": "689bb1bf38694206e10f4e90"
  },
  "event": "stationclass.deleted",
  "id": "846db654-39d8-40f6-8649-a5cd54ac5d35",
  "livemode": true
}