{
  "x-generator": "NSwag v14.6.3.0 (NJsonSchema v11.5.2.0 (Newtonsoft.Json v13.0.0.0))",
  "openapi": "3.0.0",
  "info": {
    "title": "Host",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://help.bookingmonster.nl"
    }
  ],
  "paths": {
    "/api/tracking/update/{sessionId}": {
      "post": {
        "tags": [
          "Api"
        ],
        "operationId": "HostEndpointsTrackingUpdateLocationEndpoint",
        "parameters": [
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "UpdateLocationRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HostEndpointsTrackingUpdateLocationRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/tickets/{ticketId}/pois": {
      "get": {
        "tags": [
          "Tickets"
        ],
        "operationId": "HostEndpointsTicketsGetTicketPoisEndpoint",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContractsDtoRoutesPois"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/tickets/{ticketId}/routes": {
      "get": {
        "tags": [
          "Tickets"
        ],
        "operationId": "HostEndpointsTicketsGetTicketRoutesEndpoint",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContractsDtoRoutesRoute"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/tickets": {
      "get": {
        "tags": [
          "Tickets"
        ],
        "operationId": "HostEndpointsTicketsGetTicketEndpoint",
        "parameters": [
          {
            "name": "ticketId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContractsTicket"
                }
              }
            }
          }
        }
      }
    },
    "/test/sendwhatsapp": {
      "post": {
        "tags": [
          "Test"
        ],
        "operationId": "HostEndpointsTestTestEndpoint",
        "requestBody": {
          "x-name": "TestRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HostEndpointsTestTestRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/css/tenant-{_tenantId}.css": {
      "get": {
        "tags": [
          "Css"
        ],
        "operationId": "HostEndpointsCssCssEndpoint",
        "parameters": [
          {
            "name": "_tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/bedrijven/{bedrijfId}": {
      "get": {
        "tags": [
          "Bedrijven"
        ],
        "operationId": "HostEndpointsBedrijvenGetCompanyEndpoint",
        "parameters": [
          {
            "name": "bedrijfId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContractsDtoRoutesBedrijf"
                }
              }
            }
          }
        }
      }
    },
    "/assist": {
      "post": {
        "tags": [
          "Assist"
        ],
        "operationId": "HostEndpointsAssistGetAssistEndpoint",
        "requestBody": {
          "x-name": "AssistRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HostEndpointsAssistAssistRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/demo": {
      "get": {
        "operationId": "GetDemo",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/.well-known/apple-app-site-association": {
      "get": {
        "operationId": "Get.wellKnownAppleAppSiteAssociation",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/.well-known/assetlinks.json": {
      "get": {
        "operationId": "Get.wellKnownAssetlinks.json",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/privacy": {
      "get": {
        "operationId": "GetPrivacy",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HostEndpointsTrackingUpdateLocationRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "location": {
            "$ref": "#/components/schemas/ContractsDtoRoutesLocation"
          }
        }
      },
      "ContractsDtoRoutesLocation": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "lat": {
            "type": "number",
            "format": "double"
          },
          "lng": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "ContractsDtoRoutesPois": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "discriminator": {
            "type": "integer",
            "format": "int32"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "mapPoint": {
            "$ref": "#/components/schemas/ContractsDtoRoutesLocation"
          },
          "radiusMeters": {
            "type": "number",
            "format": "double"
          },
          "zoomLevel": {
            "type": "integer",
            "format": "int32"
          },
          "thumbnailUrl": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "HostEndpointsTicketsGetTicketPoisRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "ContractsDtoRoutesRoute": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          },
          "routeColor": {
            "type": "string"
          },
          "track": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractsDtoRoutesTrack"
            }
          }
        }
      },
      "ContractsDtoRoutesTrack": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "lat": {
            "type": "number",
            "format": "double"
          },
          "lng": {
            "type": "number",
            "format": "double"
          },
          "oneWay": {
            "type": "boolean"
          }
        }
      },
      "HostEndpointsTicketsGetTicketRoutesRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "ContractsTicket": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "validUntil": {
            "type": "string",
            "format": "date-time"
          },
          "bedrijfId": {
            "type": "integer",
            "format": "int32"
          },
          "vestigingId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "playlistId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "tag": {
            "type": "string"
          },
          "isValid": {
            "type": "boolean"
          }
        }
      },
      "HostEndpointsTicketsGetTicketRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "HostEndpointsTestTestRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "phoneNumber": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "ContractsDtoRoutesBedrijf": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "naam": {
            "type": "string"
          },
          "vestigingen": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractsDtoRoutesVestiging"
            }
          }
        }
      },
      "ContractsDtoRoutesVestiging": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "naam": {
            "type": "string"
          },
          "telefoon": {
            "type": "string"
          },
          "adres": {
            "type": "string"
          },
          "postCode": {
            "type": "string"
          },
          "woonplaats": {
            "type": "string"
          },
          "position": {
            "$ref": "#/components/schemas/ContractsDtoRoutesLocation"
          },
          "openingstijden": {
            "$ref": "#/components/schemas/ContractsDtoRoutesOpeningstijden"
          }
        }
      },
      "ContractsDtoRoutesOpeningstijden": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "gesloten": {
            "type": "boolean"
          },
          "vanaf": {
            "type": "string",
            "format": "date-time"
          },
          "tot": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "HostEndpointsBedrijvenGetCompanyRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "HostEndpointsAssistAssistRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "location": {
            "$ref": "#/components/schemas/HostEndpointsAssistLocation"
          },
          "exemplaarHash": {
            "type": "string"
          }
        }
      },
      "HostEndpointsAssistLocation": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "lat": {
            "type": "integer",
            "format": "int64"
          },
          "lon": {
            "type": "integer",
            "format": "int64"
          }
        }
      }
    },
    "securitySchemes": {
      "JWTBearerAuth": {
        "type": "http",
        "description": "Enter a JWT token to authorize the requests...",
        "scheme": "Bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}