VRPlatformVRPlatform
Reservation line mappings

/reservations/line-mappings

Reservation Line Mappings List

Required scope: reservation-mappings:read

GET
/reservations/line-mappings
X-API-Key<token>

API key provided in dashboard

In: header

Query Parameters

search?string
appId?string
status?string

Derived status: mapped has an account, excluded has an explicit mapping with no account, and unmapped has no mapping

Value in"mapped" | "unmapped" | "excluded"
accountId?string

Filter by account id(s)

limit?number
Default100
Range1 <= value <= 250
page?number
Default1
Range1 <= value
offset?number
Range0 <= value

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.vrplatform.app/reservations/line-mappings"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "account": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "name": "string"
      },
      "status": "mapped",
      "revenueRecognition": "checkIn",
      "type": "string",
      "appId": "string",
      "description": "string",
      "source": "manual",
      "channelMappings": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "account": {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "name": "string"
          },
          "status": "mapped",
          "revenueRecognition": "checkIn",
          "bookingChannel": "string"
        }
      ]
    }
  ],
  "pagination": {
    "limit": 100,
    "page": 1,
    "total": 0,
    "totalPage": 0,
    "nextPage": 0
  }
}
{
  "code": "string",
  "message": "string",
  "links": {
    "docs": "string",
    "schema": "string"
  },
  "issues": [
    {
      "message": "string",
      "path": [
        "string"
      ],
      "schema": "string"
    }
  ],
  "context": null
}
{
  "code": "string",
  "message": "string",
  "links": {
    "docs": "string",
    "schema": "string"
  },
  "issues": [
    {
      "message": "string",
      "path": [
        "string"
      ],
      "schema": "string"
    }
  ],
  "context": null
}
{
  "code": "string",
  "message": "string",
  "links": {
    "docs": "string",
    "schema": "string"
  },
  "issues": [
    {
      "message": "string",
      "path": [
        "string"
      ],
      "schema": "string"
    }
  ],
  "context": null
}
{
  "code": "string",
  "message": "string",
  "links": {
    "docs": "string",
    "schema": "string"
  },
  "issues": [
    {
      "message": "string",
      "path": [
        "string"
      ],
      "schema": "string"
    }
  ],
  "context": null
}
{
  "code": "string",
  "message": "string",
  "links": {
    "docs": "string",
    "schema": "string"
  },
  "issues": [
    {
      "message": "string",
      "path": [
        "string"
      ],
      "schema": "string"
    }
  ],
  "context": null
}
{
  "code": "string",
  "message": "string",
  "links": {
    "docs": "string",
    "schema": "string"
  },
  "issues": [
    {
      "message": "string",
      "path": [
        "string"
      ],
      "schema": "string"
    }
  ],
  "context": null
}