GET eco/bookings?start={start}&end={end}&bookingNo={bookingNo}&siteId={siteId}&adventureId={adventureId}&statusId={statusId}&adventurer={adventurer}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
start

date

Required

end

date

Required

bookingNo

string

Default value is

siteId

integer

Default value is 0

adventureId

integer

Default value is 0

statusId

integer

Default value is 0

adventurer

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of pBookingGET
NameDescriptionTypeAdditional information
Activity

ActivityGET

None.

Adventurer

AdventurerBasicGET

None.

Addons

Collection of BookingAddonGET

None.

Packages

Collection of BookingAddonGET

None.

EndDate

date

None.

Id

integer

None.

Modified

date

None.

ModifiedBy

UserBasicGET

None.

Pax

integer

None.

Permits

Collection of PermitGET

None.

SessionType

SessionTypeGET

None.

StartDate

date

None.

BookingStatus

BookingStatusGET

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "activity": {
      "activityType": {
        "description": "sample string 1",
        "iconUrl": "sample string 2",
        "id": 3,
        "name": "sample string 4",
        "selectedIconUrl": "sample string 5",
        "unselectedIconUrl": "sample string 6"
      },
      "contacts": [
        {
          "contactNo": "sample string 1",
          "id": 2,
          "email": "sample string 3",
          "name": "sample string 4"
        },
        {
          "contactNo": "sample string 1",
          "id": 2,
          "email": "sample string 3",
          "name": "sample string 4"
        }
      ],
      "coordinates": null,
      "days": 1,
      "description": "sample string 2",
      "difficulty": {
        "description": "sample string 1",
        "iconUrl": "sample string 2",
        "id": 3,
        "name": "sample string 4",
        "selectedIconUrl": "sample string 5",
        "unselectedIconUrl": "sample string 6"
      },
      "distance": 3.0,
      "elevation": 4,
      "featuredImageId": 5,
      "features": [
        {
          "description": "sample string 1",
          "iconUrl": "sample string 2",
          "id": 3,
          "name": "sample string 4"
        },
        {
          "description": "sample string 1",
          "iconUrl": "sample string 2",
          "id": 3,
          "name": "sample string 4"
        }
      ],
      "id": 6,
      "location": {
        "id": 1,
        "name": "sample string 2"
      },
      "mapUrl": "sample string 7",
      "modified": "2024-02-20T22:09:13.2237327+02:00",
      "modifiedBy": {
        "firstName": "sample string 1",
        "id": 2,
        "lastName": "sample string 3",
        "uid": "sample string 4",
        "username": "sample string 5"
      },
      "name": "sample string 9",
      "requirements": "sample string 10",
      "sessionTypes": [
        {
          "dayOfWeek": 1,
          "id": 2,
          "name": "sample string 3"
        },
        {
          "dayOfWeek": 1,
          "id": 2,
          "name": "sample string 3"
        }
      ],
      "site": {
        "id": 1,
        "name": "sample string 2"
      },
      "status": {
        "id": 1,
        "name": "sample string 2"
      }
    },
    "adventurer": {
      "contactNumber": "sample string 1",
      "emailAddress": "sample string 2",
      "emergencyContactNo": "sample string 3",
      "id": 4,
      "fullName": "sample string 5",
      "rsaId": "sample string 6"
    },
    "addons": [
      {
        "id": 1,
        "status": {
          "id": 1,
          "name": "sample string 2"
        },
        "packageType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "core": true,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": {
            "firstName": "sample string 1",
            "id": 2,
            "lastName": "sample string 3",
            "uid": "sample string 4",
            "username": "sample string 5"
          },
          "name": "sample string 8",
          "status": {
            "id": 1,
            "name": "sample string 2"
          },
          "resourceGroups": [
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            },
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            }
          ]
        },
        "trxCost": 2.0,
        "pax": 3
      },
      {
        "id": 1,
        "status": {
          "id": 1,
          "name": "sample string 2"
        },
        "packageType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "core": true,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": {
            "firstName": "sample string 1",
            "id": 2,
            "lastName": "sample string 3",
            "uid": "sample string 4",
            "username": "sample string 5"
          },
          "name": "sample string 8",
          "status": {
            "id": 1,
            "name": "sample string 2"
          },
          "resourceGroups": [
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            },
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            }
          ]
        },
        "trxCost": 2.0,
        "pax": 3
      }
    ],
    "packages": [
      {
        "id": 1,
        "status": {
          "id": 1,
          "name": "sample string 2"
        },
        "packageType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "core": true,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": {
            "firstName": "sample string 1",
            "id": 2,
            "lastName": "sample string 3",
            "uid": "sample string 4",
            "username": "sample string 5"
          },
          "name": "sample string 8",
          "status": {
            "id": 1,
            "name": "sample string 2"
          },
          "resourceGroups": [
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            },
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            }
          ]
        },
        "trxCost": 2.0,
        "pax": 3
      },
      {
        "id": 1,
        "status": {
          "id": 1,
          "name": "sample string 2"
        },
        "packageType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "core": true,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": {
            "firstName": "sample string 1",
            "id": 2,
            "lastName": "sample string 3",
            "uid": "sample string 4",
            "username": "sample string 5"
          },
          "name": "sample string 8",
          "status": {
            "id": 1,
            "name": "sample string 2"
          },
          "resourceGroups": [
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            },
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            }
          ]
        },
        "trxCost": 2.0,
        "pax": 3
      }
    ],
    "endDate": "2024-02-20T22:09:13.2237327+02:00",
    "id": 2,
    "modified": "2024-02-20T22:09:13.2237327+02:00",
    "modifiedBy": {
      "firstName": "sample string 1",
      "id": 2,
      "lastName": "sample string 3",
      "uid": "sample string 4",
      "username": "sample string 5"
    },
    "pax": 4,
    "permits": [
      {
        "accessCards": [
          {
            "cardNo": "sample string 1",
            "id": 2
          },
          {
            "cardNo": "sample string 1",
            "id": 2
          }
        ],
        "bookingId": 1,
        "id": 2,
        "pax": 3,
        "adventurer": {
          "contactNo": "sample string 1",
          "emailAddress": "sample string 2",
          "emergencyContactNo": "sample string 3",
          "fullName": "sample string 4",
          "id": 5,
          "rsaId": "sample string 6",
          "uid": "sample string 7"
        },
        "permitType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "daysValid": 3,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": 8,
          "name": "sample string 9",
          "organisationId": 10,
          "statusId": 11
        },
        "plates": [
          {
            "id": 1,
            "plateNo": "sample string 2"
          },
          {
            "id": 1,
            "plateNo": "sample string 2"
          }
        ],
        "status": "sample string 4",
        "validFrom": "2024-02-20T22:09:13.2237327+02:00",
        "validTo": "2024-02-20T22:09:13.2237327+02:00"
      },
      {
        "accessCards": [
          {
            "cardNo": "sample string 1",
            "id": 2
          },
          {
            "cardNo": "sample string 1",
            "id": 2
          }
        ],
        "bookingId": 1,
        "id": 2,
        "pax": 3,
        "adventurer": {
          "contactNo": "sample string 1",
          "emailAddress": "sample string 2",
          "emergencyContactNo": "sample string 3",
          "fullName": "sample string 4",
          "id": 5,
          "rsaId": "sample string 6",
          "uid": "sample string 7"
        },
        "permitType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "daysValid": 3,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": 8,
          "name": "sample string 9",
          "organisationId": 10,
          "statusId": 11
        },
        "plates": [
          {
            "id": 1,
            "plateNo": "sample string 2"
          },
          {
            "id": 1,
            "plateNo": "sample string 2"
          }
        ],
        "status": "sample string 4",
        "validFrom": "2024-02-20T22:09:13.2237327+02:00",
        "validTo": "2024-02-20T22:09:13.2237327+02:00"
      }
    ],
    "sessionType": {
      "dayOfWeek": 1,
      "id": 2,
      "name": "sample string 3"
    },
    "startDate": "2024-02-20T22:09:13.2237327+02:00",
    "bookingStatus": {
      "id": 1,
      "name": "sample string 2"
    }
  },
  {
    "activity": {
      "activityType": {
        "description": "sample string 1",
        "iconUrl": "sample string 2",
        "id": 3,
        "name": "sample string 4",
        "selectedIconUrl": "sample string 5",
        "unselectedIconUrl": "sample string 6"
      },
      "contacts": [
        {
          "contactNo": "sample string 1",
          "id": 2,
          "email": "sample string 3",
          "name": "sample string 4"
        },
        {
          "contactNo": "sample string 1",
          "id": 2,
          "email": "sample string 3",
          "name": "sample string 4"
        }
      ],
      "coordinates": null,
      "days": 1,
      "description": "sample string 2",
      "difficulty": {
        "description": "sample string 1",
        "iconUrl": "sample string 2",
        "id": 3,
        "name": "sample string 4",
        "selectedIconUrl": "sample string 5",
        "unselectedIconUrl": "sample string 6"
      },
      "distance": 3.0,
      "elevation": 4,
      "featuredImageId": 5,
      "features": [
        {
          "description": "sample string 1",
          "iconUrl": "sample string 2",
          "id": 3,
          "name": "sample string 4"
        },
        {
          "description": "sample string 1",
          "iconUrl": "sample string 2",
          "id": 3,
          "name": "sample string 4"
        }
      ],
      "id": 6,
      "location": {
        "id": 1,
        "name": "sample string 2"
      },
      "mapUrl": "sample string 7",
      "modified": "2024-02-20T22:09:13.2237327+02:00",
      "modifiedBy": {
        "firstName": "sample string 1",
        "id": 2,
        "lastName": "sample string 3",
        "uid": "sample string 4",
        "username": "sample string 5"
      },
      "name": "sample string 9",
      "requirements": "sample string 10",
      "sessionTypes": [
        {
          "dayOfWeek": 1,
          "id": 2,
          "name": "sample string 3"
        },
        {
          "dayOfWeek": 1,
          "id": 2,
          "name": "sample string 3"
        }
      ],
      "site": {
        "id": 1,
        "name": "sample string 2"
      },
      "status": {
        "id": 1,
        "name": "sample string 2"
      }
    },
    "adventurer": {
      "contactNumber": "sample string 1",
      "emailAddress": "sample string 2",
      "emergencyContactNo": "sample string 3",
      "id": 4,
      "fullName": "sample string 5",
      "rsaId": "sample string 6"
    },
    "addons": [
      {
        "id": 1,
        "status": {
          "id": 1,
          "name": "sample string 2"
        },
        "packageType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "core": true,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": {
            "firstName": "sample string 1",
            "id": 2,
            "lastName": "sample string 3",
            "uid": "sample string 4",
            "username": "sample string 5"
          },
          "name": "sample string 8",
          "status": {
            "id": 1,
            "name": "sample string 2"
          },
          "resourceGroups": [
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            },
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            }
          ]
        },
        "trxCost": 2.0,
        "pax": 3
      },
      {
        "id": 1,
        "status": {
          "id": 1,
          "name": "sample string 2"
        },
        "packageType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "core": true,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": {
            "firstName": "sample string 1",
            "id": 2,
            "lastName": "sample string 3",
            "uid": "sample string 4",
            "username": "sample string 5"
          },
          "name": "sample string 8",
          "status": {
            "id": 1,
            "name": "sample string 2"
          },
          "resourceGroups": [
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            },
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            }
          ]
        },
        "trxCost": 2.0,
        "pax": 3
      }
    ],
    "packages": [
      {
        "id": 1,
        "status": {
          "id": 1,
          "name": "sample string 2"
        },
        "packageType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "core": true,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": {
            "firstName": "sample string 1",
            "id": 2,
            "lastName": "sample string 3",
            "uid": "sample string 4",
            "username": "sample string 5"
          },
          "name": "sample string 8",
          "status": {
            "id": 1,
            "name": "sample string 2"
          },
          "resourceGroups": [
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            },
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            }
          ]
        },
        "trxCost": 2.0,
        "pax": 3
      },
      {
        "id": 1,
        "status": {
          "id": 1,
          "name": "sample string 2"
        },
        "packageType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "core": true,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": {
            "firstName": "sample string 1",
            "id": 2,
            "lastName": "sample string 3",
            "uid": "sample string 4",
            "username": "sample string 5"
          },
          "name": "sample string 8",
          "status": {
            "id": 1,
            "name": "sample string 2"
          },
          "resourceGroups": [
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            },
            {
              "day": 1,
              "resourceGroupId": 2,
              "description": "sample string 3",
              "id": 4,
              "modified": "2024-02-20T22:09:13.2237327+02:00",
              "modifiedBy": {
                "firstName": "sample string 1",
                "id": 2,
                "lastName": "sample string 3",
                "uid": "sample string 4",
                "username": "sample string 5"
              },
              "name": "sample string 6",
              "status": {
                "id": 1,
                "name": "sample string 2"
              }
            }
          ]
        },
        "trxCost": 2.0,
        "pax": 3
      }
    ],
    "endDate": "2024-02-20T22:09:13.2237327+02:00",
    "id": 2,
    "modified": "2024-02-20T22:09:13.2237327+02:00",
    "modifiedBy": {
      "firstName": "sample string 1",
      "id": 2,
      "lastName": "sample string 3",
      "uid": "sample string 4",
      "username": "sample string 5"
    },
    "pax": 4,
    "permits": [
      {
        "accessCards": [
          {
            "cardNo": "sample string 1",
            "id": 2
          },
          {
            "cardNo": "sample string 1",
            "id": 2
          }
        ],
        "bookingId": 1,
        "id": 2,
        "pax": 3,
        "adventurer": {
          "contactNo": "sample string 1",
          "emailAddress": "sample string 2",
          "emergencyContactNo": "sample string 3",
          "fullName": "sample string 4",
          "id": 5,
          "rsaId": "sample string 6",
          "uid": "sample string 7"
        },
        "permitType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "daysValid": 3,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": 8,
          "name": "sample string 9",
          "organisationId": 10,
          "statusId": 11
        },
        "plates": [
          {
            "id": 1,
            "plateNo": "sample string 2"
          },
          {
            "id": 1,
            "plateNo": "sample string 2"
          }
        ],
        "status": "sample string 4",
        "validFrom": "2024-02-20T22:09:13.2237327+02:00",
        "validTo": "2024-02-20T22:09:13.2237327+02:00"
      },
      {
        "accessCards": [
          {
            "cardNo": "sample string 1",
            "id": 2
          },
          {
            "cardNo": "sample string 1",
            "id": 2
          }
        ],
        "bookingId": 1,
        "id": 2,
        "pax": 3,
        "adventurer": {
          "contactNo": "sample string 1",
          "emailAddress": "sample string 2",
          "emergencyContactNo": "sample string 3",
          "fullName": "sample string 4",
          "id": 5,
          "rsaId": "sample string 6",
          "uid": "sample string 7"
        },
        "permitType": {
          "baseCost": 1.0,
          "baseUsers": 2,
          "daysValid": 3,
          "description": "sample string 4",
          "extraCost": 5.0,
          "id": 6,
          "modified": "2024-02-20T22:09:13.2237327+02:00",
          "modifiedBy": 8,
          "name": "sample string 9",
          "organisationId": 10,
          "statusId": 11
        },
        "plates": [
          {
            "id": 1,
            "plateNo": "sample string 2"
          },
          {
            "id": 1,
            "plateNo": "sample string 2"
          }
        ],
        "status": "sample string 4",
        "validFrom": "2024-02-20T22:09:13.2237327+02:00",
        "validTo": "2024-02-20T22:09:13.2237327+02:00"
      }
    ],
    "sessionType": {
      "dayOfWeek": 1,
      "id": 2,
      "name": "sample string 3"
    },
    "startDate": "2024-02-20T22:09:13.2237327+02:00",
    "bookingStatus": {
      "id": 1,
      "name": "sample string 2"
    }
  }
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'MTO.Coordinates' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'MTO.Coordinates' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.