Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.2 KB

create-booking-custom-attribute-definition-request.md

File metadata and controls

34 lines (25 loc) · 1.2 KB

Create Booking Custom Attribute Definition Request

Represents a CreateBookingCustomAttributeDefinition request.

Structure

CreateBookingCustomAttributeDefinitionRequest

Fields

Name Type Tags Description
customAttributeDefinition CustomAttributeDefinition Required Represents a definition for custom attribute values. A custom attribute definition
specifies the key, visibility, schema, and other properties for a custom attribute.
idempotencyKey string | undefined Optional A unique identifier for this request, used to ensure idempotency. For more information,
see Idempotency.
Constraints: Maximum Length: 45

Example (as JSON)

{
  "custom_attribute_definition": {
    "key": "key2",
    "schema": {
      "key1": "val1",
      "key2": "val2"
    },
    "name": "name2",
    "description": "description8",
    "visibility": "VISIBILITY_HIDDEN"
  },
  "idempotency_key": "idempotency_key6"
}