Experiences

Lists all experiences.

get
Responses
200Success
application/json
get
GET /v1/flow/experiences HTTP/1.1
Host: 
Accept: */*
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "items": [
      {
        "locales": {},
        "minGuests": 1,
        "maxGuests": 1,
        "sort": 1,
        "feeInvoiceType": {},
        "feePerGuest": true,
        "feeAppendLoyaltyBenefits": true,
        "default": true,
        "image": "text",
        "ageGroups": [
          {
            "id": "text",
            "counted": true,
            "productUid": "text",
            "locales": {}
          }
        ],
        "sortNumber": 1,
        "createdAt": "text",
        "createdVia": "text",
        "createdBy": "text",
        "updatedAt": "text",
        "updatedVia": "text",
        "updatedBy": "text",
        "uid": "text",
        "productUid": "text",
        "productListUid": "text",
        "optionalProductListUid": "text"
      }
    ],
    "next": "text"
  }
}

Creates a new experience.

post
Body
Responses
200Success
application/json
post
POST /v1/flow/experiences HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 499

{
  "params": {
    "locales": {},
    "effectiveRules": [
      {
        "conditions": [
          {
            "key": 1,
            "operator": "contains",
            "value": "text"
          }
        ],
        "action": 1
      }
    ],
    "minGuests": 1,
    "maxGuests": 1,
    "sort": 1,
    "feeInvoiceType": {},
    "feePerGuest": true,
    "feeAppendLoyaltyBenefits": true,
    "minScheduledItems": 1,
    "minScheduledPaymentPercent": 1,
    "default": true,
    "image": "text",
    "lastSeatingAdjustment": 1,
    "confirmWinow": 1,
    "confirmWinowMethod": {},
    "autoCanceled": true,
    "ageGroups": [
      {}
    ],
    "productUid": "text",
    "productList": "text",
    "optionalProductList": "text",
    "sortNumber": 1
  }
}
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "succeed": true,
    "uid": "text"
  }
}

Returns a specific experience.

get
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /v1/flow/experiences/{id} HTTP/1.1
Host: 
Accept: */*
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "item": {
      "locales": {},
      "minGuests": 1,
      "maxGuests": 1,
      "sort": 1,
      "feeInvoiceType": {},
      "feePerGuest": true,
      "feeAppendLoyaltyBenefits": true,
      "default": true,
      "image": "text",
      "ageGroups": [
        {
          "id": "text",
          "counted": true,
          "productUid": "text",
          "locales": {}
        }
      ],
      "sortNumber": 1,
      "createdAt": "text",
      "createdVia": "text",
      "createdBy": "text",
      "updatedAt": "text",
      "updatedVia": "text",
      "updatedBy": "text",
      "uid": "text",
      "productUid": "text",
      "productListUid": "text",
      "optionalProductListUid": "text"
    }
  }
}

Deletes a specific experience.

delete
Path parameters
idstringRequired
Responses
200Success
application/json
delete
DELETE /v1/flow/experiences/{id} HTTP/1.1
Host: 
Accept: */*
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "succeed": true
  }
}
patch
Path parameters
idstringRequired
Body
Responses
200Success
application/json
patch
PATCH /v1/flow/experiences/{id} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 510

{
  "params": {
    "uid": "text",
    "locales": {},
    "effectiveRules": [
      {
        "conditions": [
          {
            "key": 1,
            "operator": "contains",
            "value": "text"
          }
        ],
        "action": 1
      }
    ],
    "minGuests": 1,
    "maxGuests": 1,
    "sort": 1,
    "feeInvoiceType": {},
    "feePerGuest": true,
    "feeAppendLoyaltyBenefits": true,
    "minScheduledItems": 1,
    "minScheduledPaymentPercent": 1,
    "default": true,
    "image": "text",
    "lastSeatingAdjustment": 1,
    "confirmWinow": 1,
    "confirmWinowMethod": {},
    "autoCanceled": true,
    "ageGroups": {},
    "productUid": "text",
    "productList": "text",
    "optionalProductList": "text",
    "sortNumber": 1
  }
}
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "item": {
      "locales": {},
      "minGuests": 1,
      "maxGuests": 1,
      "sort": 1,
      "feeInvoiceType": {},
      "feePerGuest": true,
      "feeAppendLoyaltyBenefits": true,
      "default": true,
      "image": "text",
      "ageGroups": [
        {
          "id": "text",
          "counted": true,
          "productUid": "text",
          "locales": {}
        }
      ],
      "sortNumber": 1,
      "createdAt": "text",
      "createdVia": "text",
      "createdBy": "text",
      "updatedAt": "text",
      "updatedVia": "text",
      "updatedBy": "text",
      "uid": "text",
      "productUid": "text",
      "productListUid": "text",
      "optionalProductListUid": "text"
    }
  }
}

Exports all experiences with support for incremental fetching.

get
Path parameters
updatedSincestringRequired
offsetstringRequired
Responses
200Success
application/json
get
GET /v1/flow/experiences/export HTTP/1.1
Host: 
Accept: */*
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "items": [
      {
        "locales": {},
        "minGuests": 1,
        "maxGuests": 1,
        "sort": 1,
        "feeInvoiceType": {},
        "feePerGuest": true,
        "feeAppendLoyaltyBenefits": true,
        "default": true,
        "image": "text",
        "ageGroups": [
          {
            "id": "text",
            "counted": true,
            "productUid": "text",
            "locales": {}
          }
        ],
        "sortNumber": 1,
        "createdAt": "text",
        "createdVia": "text",
        "createdBy": "text",
        "updatedAt": "text",
        "updatedVia": "text",
        "updatedBy": "text",
        "uid": "text",
        "productUid": "text",
        "productListUid": "text",
        "optionalProductListUid": "text"
      }
    ],
    "next": "text"
  }
}

Was this helpful?