Untitled

mail@pastecode.io avatar
unknown
json
2 years ago
21 kB
4
Indexable
Never
{
    "statusCode": 200,
    "success": true,
    "data": {
        "totalPrice": 8164304,
        "statusCount": {
            "PENDING": 2,
            "CONFIRMED": 11,
            "CANCELLED": 6,
            "FAILED": 0,
            "COMPLETED": 0
        },
        "reservations": [
            {
                "id": "7b7bffa6-74d3-41bf-9184-071533f42964",
                "checkIn": "2022-12-10T00:00:00.000Z",
                "checkOut": "2022-12-12T00:00:00.000Z",
                "duration": 2,
                "status": "CONFIRMED",
                "roomsNumber": 1,
                "guestCount": 2,
                "specialRequest": null,
                "totalPrice": 690390,
                "createdAt": "2022-12-07T14:58:08.228Z",
                "user": {
                    "id": "1f3370c2-3736-4561-9cfc-6550a1d327a6",
                    "name": "John Doe",
                    "phone": "0911002244"
                },
                "property": {
                    "id": "a3402dac-7f51-41d7-90b4-cccdc4983202",
                    "name": "Adela Boutique Hotel"
                },
                "roomType": {
                    "id": "f7789e27-da74-474b-8ccd-1c6eec84f0f9",
                    "name": "Deluxe Twin",
                    "price": 345195
                }
            },
            {
                "id": "b7b4d884-d330-4991-816e-29a2e4bfe25c",
                "checkIn": "2022-12-10T00:00:00.000Z",
                "checkOut": "2022-12-12T00:00:00.000Z",
                "duration": 2,
                "status": "CONFIRMED",
                "roomsNumber": 1,
                "guestCount": 2,
                "specialRequest": null,
                "totalPrice": 1104118,
                "createdAt": "2022-12-07T15:30:46.021Z",
                "user": {
                    "id": "1f3370c2-3736-4561-9cfc-6550a1d327a6",
                    "name": "John Doe",
                    "phone": "0911002244"
                },
                "property": {
                    "id": "2c2c738c-d29d-4ae7-83ee-4bab8fd358d9",
                    "name": "Gold Plaza Hotel Da Nang"
                },
                "roomType": {
                    "id": "e7dd9ae4-2d72-4694-ad46-3a1fc9634e7b",
                    "name": "Superior Twin River View",
                    "price": 552059
                }
            },
            {
                "id": "c8071c3b-0a74-4a4c-aca4-597de11bad7c",
                "checkIn": "2022-12-15T00:00:00.000Z",
                "checkOut": "2022-12-17T00:00:00.000Z",
                "duration": 2,
                "status": "CONFIRMED",
                "roomsNumber": 1,
                "guestCount": 2,
                "specialRequest": "My special request",
                "totalPrice": 744384,
                "createdAt": "2022-12-08T07:09:28.817Z",
                "user": {
                    "id": "1f3370c2-3736-4561-9cfc-6550a1d327a6",
                    "name": "John Doe",
                    "phone": "0911002244"
                },
                "property": {
                    "id": "e32e66a3-619e-47fb-8f5e-20f82bd38fee",
                    "name": "Menora Grand Da Nang"
                },
                "roomType": {
                    "id": "dca5a359-6084-4f9a-932d-f508487c1d9a",
                    "name": "Superior Partial Seaview",
                    "price": 372192
                }
            },
            {
                "id": "9b7d85b1-6309-4e64-a884-e6819d8a6979",
                "checkIn": "2022-12-08T00:00:00.000Z",
                "checkOut": "2022-12-09T00:00:00.000Z",
                "duration": 1,
                "status": "CONFIRMED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 372192,
                "createdAt": "2022-12-14T04:22:08.896Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "e32e66a3-619e-47fb-8f5e-20f82bd38fee",
                    "name": "Menora Grand Da Nang"
                },
                "roomType": {
                    "id": "dca5a359-6084-4f9a-932d-f508487c1d9a",
                    "name": "Superior Partial Seaview",
                    "price": 372192
                }
            },
            {
                "id": "44a1158b-6134-4c81-b662-b629bec0defe",
                "checkIn": "2022-12-02T00:00:00.000Z",
                "checkOut": "2022-12-03T00:00:00.000Z",
                "duration": 1,
                "status": "CANCELLED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Yêu cầu view xịn",
                "totalPrice": 372192,
                "createdAt": "2022-12-12T17:27:35.993Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "e32e66a3-619e-47fb-8f5e-20f82bd38fee",
                    "name": "Menora Grand Da Nang"
                },
                "roomType": {
                    "id": "dca5a359-6084-4f9a-932d-f508487c1d9a",
                    "name": "Superior Partial Seaview",
                    "price": 372192
                }
            },
            {
                "id": "28573573-6ec8-4a45-9433-b8ba54c79075",
                "checkIn": "2022-12-02T00:00:00.000Z",
                "checkOut": "2022-12-03T00:00:00.000Z",
                "duration": 1,
                "status": "CANCELLED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 372192,
                "createdAt": "2022-12-12T17:31:54.876Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "e32e66a3-619e-47fb-8f5e-20f82bd38fee",
                    "name": "Menora Grand Da Nang"
                },
                "roomType": {
                    "id": "dca5a359-6084-4f9a-932d-f508487c1d9a",
                    "name": "Superior Partial Seaview",
                    "price": 372192
                }
            },
            {
                "id": "78b8f13b-cd9d-44d9-a640-be20df17e891",
                "checkIn": "2022-12-02T00:00:00.000Z",
                "checkOut": "2022-12-03T00:00:00.000Z",
                "duration": 1,
                "status": "CANCELLED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 372192,
                "createdAt": "2022-12-12T17:31:13.094Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "e32e66a3-619e-47fb-8f5e-20f82bd38fee",
                    "name": "Menora Grand Da Nang"
                },
                "roomType": {
                    "id": "dca5a359-6084-4f9a-932d-f508487c1d9a",
                    "name": "Superior Partial Seaview",
                    "price": 372192
                }
            },
            {
                "id": "0903355f-ea4f-41c6-9a81-9620dcc42093",
                "checkIn": "2022-12-04T00:00:00.000Z",
                "checkOut": "2022-12-05T00:00:00.000Z",
                "duration": 1,
                "status": "CONFIRMED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 372192,
                "createdAt": "2022-12-15T03:42:36.992Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "e32e66a3-619e-47fb-8f5e-20f82bd38fee",
                    "name": "Menora Grand Da Nang"
                },
                "roomType": {
                    "id": "dca5a359-6084-4f9a-932d-f508487c1d9a",
                    "name": "Superior Partial Seaview",
                    "price": 372192
                }
            },
            {
                "id": "5d1f3501-109b-47b4-ab8e-6b76aa14054d",
                "checkIn": "2022-12-03T00:00:00.000Z",
                "checkOut": "2022-12-04T00:00:00.000Z",
                "duration": 1,
                "status": "CANCELLED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 372192,
                "createdAt": "2022-12-14T10:28:37.855Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "e32e66a3-619e-47fb-8f5e-20f82bd38fee",
                    "name": "Menora Grand Da Nang"
                },
                "roomType": {
                    "id": "dca5a359-6084-4f9a-932d-f508487c1d9a",
                    "name": "Superior Partial Seaview",
                    "price": 372192
                }
            },
            {
                "id": "bbcaf767-44ac-4cc5-b989-2a48a615726d",
                "checkIn": "2022-12-03T00:00:00.000Z",
                "checkOut": "2022-12-04T00:00:00.000Z",
                "duration": 1,
                "status": "CANCELLED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 372192,
                "createdAt": "2022-12-14T10:23:41.554Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "e32e66a3-619e-47fb-8f5e-20f82bd38fee",
                    "name": "Menora Grand Da Nang"
                },
                "roomType": {
                    "id": "dca5a359-6084-4f9a-932d-f508487c1d9a",
                    "name": "Superior Partial Seaview",
                    "price": 372192
                }
            },
            {
                "id": "0792d764-75f5-4c47-bd8a-bdcc6c2c0ad0",
                "checkIn": "2022-12-17T00:00:00.000Z",
                "checkOut": "2022-12-18T00:00:00.000Z",
                "duration": 1,
                "status": "CONFIRMED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 552059,
                "createdAt": "2022-12-17T10:49:42.277Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "2c2c738c-d29d-4ae7-83ee-4bab8fd358d9",
                    "name": "Gold Plaza Hotel Da Nang"
                },
                "roomType": {
                    "id": "e7dd9ae4-2d72-4694-ad46-3a1fc9634e7b",
                    "name": "Superior Twin River View",
                    "price": 552059
                }
            },
            {
                "id": "72c2b464-9907-4716-8ebf-07684e89ab2d",
                "checkIn": "2022-12-18T00:00:00.000Z",
                "checkOut": "2022-12-19T00:00:00.000Z",
                "duration": 1,
                "status": "CONFIRMED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 345195,
                "createdAt": "2022-12-18T08:28:03.376Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "a3402dac-7f51-41d7-90b4-cccdc4983202",
                    "name": "Adela Boutique Hotel"
                },
                "roomType": {
                    "id": "f7789e27-da74-474b-8ccd-1c6eec84f0f9",
                    "name": "Deluxe Twin",
                    "price": 345195
                }
            },
            {
                "id": "4c8c5ec7-b379-452a-b038-888034f58538",
                "checkIn": "2022-12-23T00:00:00.000Z",
                "checkOut": "2022-12-24T00:00:00.000Z",
                "duration": 1,
                "status": "CONFIRMED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "ABC",
                "totalPrice": 686343,
                "createdAt": "2022-12-18T08:45:41.206Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "2c2c738c-d29d-4ae7-83ee-4bab8fd358d9",
                    "name": "Gold Plaza Hotel Da Nang"
                },
                "roomType": {
                    "id": "3524f845-9338-4424-afc4-c49af70a9cf2",
                    "name": "Premium Gold Suite",
                    "price": 686343
                }
            },
            {
                "id": "ea722340-fafa-4adb-96f5-148ba148cd88",
                "checkIn": "2022-12-21T00:00:00.000Z",
                "checkOut": "2022-12-22T00:00:00.000Z",
                "duration": 1,
                "status": "CONFIRMED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 686343,
                "createdAt": "2022-12-18T08:48:26.565Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "2c2c738c-d29d-4ae7-83ee-4bab8fd358d9",
                    "name": "Gold Plaza Hotel Da Nang"
                },
                "roomType": {
                    "id": "3524f845-9338-4424-afc4-c49af70a9cf2",
                    "name": "Premium Gold Suite",
                    "price": 686343
                }
            },
            {
                "id": "c60afff7-32d1-4c0d-a759-b2cd1a2eb967",
                "checkIn": "2022-12-27T00:00:00.000Z",
                "checkOut": "2022-12-30T00:00:00.000Z",
                "duration": 3,
                "status": "CONFIRMED",
                "roomsNumber": 1,
                "guestCount": 2,
                "specialRequest": "qwe",
                "totalPrice": 2059029,
                "createdAt": "2022-12-18T09:15:25.041Z",
                "user": {
                    "id": "1f3370c2-3736-4561-9cfc-6550a1d327a6",
                    "name": "John Doe",
                    "phone": "0911002244"
                },
                "property": {
                    "id": "2c2c738c-d29d-4ae7-83ee-4bab8fd358d9",
                    "name": "Gold Plaza Hotel Da Nang"
                },
                "roomType": {
                    "id": "3524f845-9338-4424-afc4-c49af70a9cf2",
                    "name": "Premium Gold Suite",
                    "price": 686343
                }
            },
            {
                "id": "6e1703ec-84d1-43a8-afce-d0bc66bfcb2b",
                "checkIn": "2022-12-18T00:00:00.000Z",
                "checkOut": "2022-12-19T00:00:00.000Z",
                "duration": 1,
                "status": "CANCELLED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 372192,
                "createdAt": "2022-12-18T07:24:19.367Z",
                "user": {
                    "id": "48ac24c2-1b5f-4eb5-a66e-79d57aace2f1",
                    "name": "Minh Huy ",
                    "phone": "1234567892"
                },
                "property": {
                    "id": "e32e66a3-619e-47fb-8f5e-20f82bd38fee",
                    "name": "Menora Grand Da Nang"
                },
                "roomType": {
                    "id": "dca5a359-6084-4f9a-932d-f508487c1d9a",
                    "name": "Superior Partial Seaview",
                    "price": 372192
                }
            },
            {
                "id": "c960b075-5b9a-4905-9fb9-e302c1d1250f",
                "checkIn": "2022-12-22T00:00:00.000Z",
                "checkOut": "2022-12-23T00:00:00.000Z",
                "duration": 1,
                "status": "CONFIRMED",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 552059,
                "createdAt": "2022-12-22T04:51:58.389Z",
                "user": {
                    "id": "f4fd08ce-5e75-4153-a8d5-44099f1e1177",
                    "name": "Minh Huy",
                    "phone": "1234567890"
                },
                "property": {
                    "id": "1df20f35-55ae-4a93-b3bd-3253e0f6dfda",
                    "name": "Tarasa Hotel"
                },
                "roomType": {
                    "id": "d9696c68-5e0a-4e92-8f1d-35eafc7ad414",
                    "name": "Superior Twin",
                    "price": 552059
                }
            },
            {
                "id": "543a9fd6-0f55-4a81-9ee0-55e33dd1cf28",
                "checkIn": "2022-12-22T00:00:00.000Z",
                "checkOut": "2022-12-23T00:00:00.000Z",
                "duration": 1,
                "status": "PENDING",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 517440,
                "createdAt": "2022-12-22T07:08:25.986Z",
                "user": {
                    "id": "f4fd08ce-5e75-4153-a8d5-44099f1e1177",
                    "name": "Minh Huy",
                    "phone": "1234567890"
                },
                "property": {
                    "id": "5c67b0e7-07b4-401e-af2c-d7732bbd4a28",
                    "name": "Adaline Hotel & Apartment"
                },
                "roomType": {
                    "id": "629f3ade-6369-4730-947a-4fe70becb37c",
                    "name": "One Bedroom Apartment With Balcony Sea View",
                    "price": 517440
                }
            },
            {
                "id": "d9fe236d-3627-4736-b162-ed8b4eba536e",
                "checkIn": "2022-12-22T00:00:00.000Z",
                "checkOut": "2022-12-23T00:00:00.000Z",
                "duration": 1,
                "status": "PENDING",
                "roomsNumber": 1,
                "guestCount": 1,
                "specialRequest": "Không có yêu cầu đặc biệt",
                "totalPrice": 517440,
                "createdAt": "2022-12-22T07:09:39.558Z",
                "user": {
                    "id": "f4fd08ce-5e75-4153-a8d5-44099f1e1177",
                    "name": "Minh Huy",
                    "phone": "1234567890"
                },
                "property": {
                    "id": "5c67b0e7-07b4-401e-af2c-d7732bbd4a28",
                    "name": "Adaline Hotel & Apartment"
                },
                "roomType": {
                    "id": "629f3ade-6369-4730-947a-4fe70becb37c",
                    "name": "One Bedroom Apartment With Balcony Sea View",
                    "price": 517440
                }
            }
        ]
    }
}