AlphaAlpha Docs
API ReferenceBooking widget config

Update a booking widget config

PATCH
/crm/booking/widgets/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/crm/booking/widgets/string" \  -H "Content-Type: application/json" \  -d '{    "bufferAfter": 0,    "bufferBefore": 0,    "defaultDuration": 0,    "durationOptions": [      0    ],    "eventCategory": "DEFAULT",    "eventTitle": "string",    "isActive": true,    "isAddressRequired": true,    "isLocationDependent": true,    "maxAdvanceDays": 0,    "minNoticeHours": 0,    "name": "string",    "redirectUrls": {      "property1": "string",      "property2": "string"    },    "showCompanyField": true,    "showLogo": true,    "showPoweredBy": true,    "slug": "string",    "subsidiaryIds": [      "string"    ],    "teamMemberIds": [      "string"    ],    "teamName": "string"  }'
{
  "active": true,
  "addressRequired": true,
  "assignedTeamLeadId": "string",
  "bufferAfter": 0,
  "bufferBefore": 0,
  "confirmationMessage": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "defaultDuration": 0,
  "description": "string",
  "durationOptions": [
    0
  ],
  "eventCategory": "DEFAULT",
  "eventTitle": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "isActive": true,
  "isAddressRequired": true,
  "isLocationDependent": true,
  "locationDependent": true,
  "maxAdvanceDays": 0,
  "minNoticeHours": 0,
  "name": "string",
  "number": "string",
  "redirectUrls": {
    "property1": "string",
    "property2": "string"
  },
  "roundRobinCounter": 0,
  "showCompanyField": true,
  "showLogo": true,
  "showPoweredBy": true,
  "slug": "string",
  "subsidiaryIds": [
    "string"
  ],
  "teamMemberIds": [
    "string"
  ],
  "teamName": "string",
  "tenantId": "string",
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}