Websales config

Events

Action Event name
creating a websales config websalesConfig.created
updating a websales config websalesConfig.updated
deleting a websales config websalesConfig.deleted

Payload example created

{
  "attemptId": "15b4cd65-a0bb-485e-997b-f244fec0ca20",
  "created": 1640621211,
  "data": {
    "domain": "domain"
  },
  "event": "websalesConfig.created",
  "id": "e0870b6e-d0ca-4edb-af8b-a599266ad8b1",
  "livemode": true
}

Payload example updated

{
  "attemptId": "15b4cd65-a0bb-485e-997b-f244fec0ca20",
  "created": 1640621211,
  "data": 
  {
        "_id": "6261875eaad6f32745351fe2",
        "accountId": "624e08b5fdd69a15e973fcbc",
        "domain": "domain",
        "websales_bgcolor": "",
        "customCss": "",
        "socialSharing": false,
        "fullpageLogoLink": "",
        "fullpageHeadline": "",
        "fullpageInfoHeadline": "",
        "fullpageInfoDetails": "",
        "waitingMessage": "",
        "websales_logoredirecturl": "",
        "disableBackButtonOnTripResults": false,
        "forceLogin": false,
        "sso": {
            "enabled": false,
            "cas": [
                {
                    "id": "",
                    "name": "",
                    "serverUrl": "",
                    "uniqueIdProp": "",
                    "validationProperty": "",
                    "validationValue": "",
                    "propFirstName": "",
                    "propLastName": "",
                    "propEmail": ""
                }
            ],
            "only": false
        },
        "lexiconKeys": {
            "fullpageHeadline": "624e08b5fdd69a15e973fcbc-websalesConfig-6261875eaad6f32745351fe2-fullpageHeadline",
            "fullpageInfoHeadline": "624e08b5fdd69a15e973fcbc-websalesConfig-6261875eaad6f32745351fe2-fullpageInfoHeadline",
            "fullpageInfoDetails": "624e08b5fdd69a15e973fcbc-websalesConfig-6261875eaad6f32745351fe2-fullpageInfoDetails",
            "ssoErrorMsg": "624e08b5fdd69a15e973fcbc-websalesConfig-6261875eaad6f32745351fe2-ssoErrorMsg"
        },
        "userId": "624e08b5fdd69a15e973fcc0",
        "createdAt": {
            "value": "2022-04-21T17:59:00.517Z",
            "offset": 0
        },
        "createdBy": "624e08b5fdd69a15e973fcc0",
        "updatedAt": {
            "value": "2022-04-21T17:59:00.517Z",
            "offset": 0
        },
        "updatedBy": "624e08b5fdd69a15e973fcc0",
        "deleted": false
      },
  "event": "websalesConfig.updated",
  "id": "e0870b6e-d0ca-4edb-af8b-a599266ad8b1",
  "livemode": true
}

Payload example deleted

{
  "attemptId": "15b4cd65-a0bb-485e-997b-f244fec0ca20",
  "created": 1640621211,
  "data": {
    "accountId": "624e08b5fdd69a15e973fcbc",
    "domain": "deleteddomain"
  },
  "event": "websalesConfig.deleted",
  "id": "e0870b6e-d0ca-4edb-af8b-a599266ad8b1",
  "livemode": true
}