Special service requests

Events

Action Event name
create a new special service requests ssr.created
update an existing special service request ssr.updated

Payload example created

{
  "attemptId": "4df04027-de74-495e-8464-84b70cb20feb",
  "created": 1623863890,
  "data": {
    "printInManifest": true,
    "capacityImpact": 0,
    "emptyUnitDescription": "",
    "disabled": false,
    "code": "TTT",
    "unitDescription": "",
    "createdAt": {
      "offset": 0,
      "value": "2021-06-16T17:17:54.556Z"
    },
    "printInTicket": true,
    "userId": "55fc2f318791db6e1a0000b6",
    "printable": true,
    "cutoffTime": 0,
    "maxWithoutCharge": 0,
    "applyByJourney": true,
    "maxQty": 10,
    "ord": 0,
    "textLabel": "",
    "type": "value",
    "mandatoryField": false,
    "toc": "",
    "icon": "fa-square",
    "displayIn5dayOutlook": false,
    "feeType": "$",
    "_id": "60ca324267bb0c3f900b5da9",
    "productTypes": [
      "reservation"
    ],
    "oneTrip": true,
    "name": "Test",
    "deleted": false,
    "updatedAt": {
      "offset": 0,
      "value": "2021-06-16T17:17:54.580Z"
    },
    "pluralUnitDescription": "",
    "description": "test",
    "fee": 200000,
    "needsQuantity": false,
    "lexiconKeys": {
      "description": "ssrs-description-52a377ec430c7d4e220001fc-ad134170-9703-453b-ada0-4440d44e3faf",
      "name": "ssrs-name-52a377ec430c7d4e220001fc-ad499d38-498b-4197-959a-27a5ea124e39",
      "toc": "ssrs-toc-52a377ec430c7d4e220001fc-71f125a5-8022-4116-b8f1-b051706c258d"
    },
    "accountId": "52a377ec430c7d4e220001fc",
    "productIds": [
      "52a377ec430c7d4e220001fe"
    ]
  },
  "event": "ssr.created",
  "id": "fdc766cc-4949-461f-be6c-b67dadcedc1d",
  "livemode": true
}

Payload example updated

{
  "attemptId": "57820e95-9f12-4d9a-99bd-1bd7b5ca8cbe",
  "created": 1623863897,
  "data": {
    "printInManifest": true,
    "capacityImpact": 0,
    "disabled": false,
    "code": "TTT",
    "unitDescription": "",
    "createdAt": {
      "offset": 0,
      "value": "2021-06-16T17:17:54.556Z"
    },
    "printInTicket": true,
    "userId": "55fc2f318791db6e1a0000b6",
    "printable": true,
    "cutoffTime": "0",
    "maxWithoutCharge": 0,
    "applyByJourney": true,
    "maxQty": 10,
    "ord": 0,
    "textLabel": "gh",
    "type": "text",
    "mandatoryField": false,
    "toc": "",
    "icon": "fa-square",
    "displayIn5dayOutlook": false,
    "feeType": "$",
    "_id": "60ca324267bb0c3f900b5da9",
    "productTypes": [
      "reservation"
    ],
    "oneTrip": true,
    "name": "Test",
    "deleted": false,
    "updatedAt": {
      "offset": 0,
      "value": "2021-06-16T17:18:16.171Z"
    },
    "description": "test",
    "fee": 200000,
    "needsQuantity": false,
    "lexiconKeys": {
      "description": "ssrs-description-52a377ec430c7d4e220001fc-ad134170-9703-453b-ada0-4440d44e3faf",
      "name": "ssrs-name-52a377ec430c7d4e220001fc-ad499d38-498b-4197-959a-27a5ea124e39",
      "textLabel": "ssrs-textLabel-52a377ec430c7d4e220001fc-e76afba6-681b-4bb6-8e67-0ebc80e46b43",
      "toc": "ssrs-toc-52a377ec430c7d4e220001fc-71f125a5-8022-4116-b8f1-b051706c258d"
    },
    "accountId": "52a377ec430c7d4e220001fc",
    "productIds": [
      "52a377ec430c7d4e220001fe"
    ]
  },
  "event": "ssr.updated",
  "id": "40466cd1-2569-4182-85c5-8d0ce6a7fdd4",
  "livemode": true
}