Don’t miss our Special Offer!

Up to 50% off
Grab Amelia
Grab Amelia

Amelia API – Stats

Here you can see API endpoints related to statistics.

You can see all the API endpoints with examples of requests and responses in the Amelia API Postman collection which you can download here.

Please note: The API Endpoints are included only in the Elite license plans. Using API Endpoints requires a certain level of coding skills, and is not included in the provided support for the plugin.

Authorization

All Amelia endpoints use an API key authorization, using the header property named “Amelia”.

Path

Amelia API paths start with: {{your_site_URL}}/wp-admin/admin-ajax.php?action=wpamelia_api&call=/api/v1

Add stats

Add a stat.

Method

This endpoint accepts POST requests.

Path

/stats

Required Properties

The following properties are required.

Key Type Description
serviceId integer Service id.
providerId
integer Employee id.

Optional Properties

The following properties are optional

Key Type Description
locationId integer Location id.

Example

curl --location 'http://localhost/amelia/wp-admin/admin-ajax.php?action=wpamelia_api&call=/api/v1/stats' \
--header 'Content-Type: application/json' \
--header 'Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0' \
--data '{
    "serviceId": 1,
    "providerId": 3,
    "locationId": 2
}'
{
    "message": "Successfully added stats.",
    "data": null
}

Get stats

Retrieve stats. These are used on the Dashboard page for employee statistics.

Method

This endpoint accepts GET requests.

Path

/stats

Optional Properties

You can use the following query parameters for filtering the stats.

Key Type Description
dates
string The start and end date. The format is: startDate, endDate

Example

curl --location 'http://localhost/amelia/wp-admin/admin-ajax.php?action=wpamelia_api&call=/api/v1/stats&dates=2023-05-18%2C2023-05-19' \
--header 'Amelia: qUmkNNOLrWbf28izIgNnZ29O+7gVWL5M+8ySJ8VXq3r0'
{
    "message": "Successfully retrieved appointments.",
    "data": {
        "count": {
            "approved": 0,
            "pending": 0
        },
        "selectedPeriodStats": {
            "2023-11-04": {
                "providers": {
                    "14": {
                        "count": 1,
                        "occupied": 30,
                        "revenue": 46.2,
                        "intervals": [
                            {
                                "time": [
                                    41400,
                                    79800
                                ],
                                "services": []
                            }
                        ]
                    }
                },
                "services": {
                    "1": {
                        "count": 1,
                        "occupied": 30,
                        "revenue": 46.2
                    }
                }
            }
        },
        "previousPeriodStats": {
            "2023-11-03": {
                "providers": {
                    "3": {
                        "count": 0,
                        "occupied": 0,
                        "revenue": 0,
                        "intervals": [
                            {
                                "time": [
                                    32400,
                                    61200
                                ],
                                "services": []
                            }
                        ]
                    },
                    "14": {
                        "count": 0,
                        "occupied": 0,
                        "revenue": 0,
                        "intervals": [
                            {
                                "time": [
                                    41400,
                                    79800
                                ],
                                "services": []
                            }
                        ]
                    },
                    "12": {
                        "count": 2,
                        "occupied": 60,
                        "revenue": 60.2,
                        "intervals": [
                            {
                                "time": [
                                    32400,
                                    57600
                                ],
                                "services": []
                            }
                        ]
                    }
                },
                "services": {
                    "1": {
                        "count": 2,
                        "occupied": 60,
                        "revenue": 60.2
                    }
                },
                "packages": {
                    "8": {
                        "count": 1,
                        "purchased": 0,
                        "occupied": 30,
                        "revenue": 0,
                        "intervals": []
                    }
                }
            }
        },
        "employeesStats": [
            {
                "id": 14,
                "name": "New Employee",
                "appointments": 1
            }
        ],
        "servicesStats": [
            {
                "id": 1,
                "name": "amelia service",
                "appointments": 1
            }
        ],
        "locationsStats": [
            {
                "id": 4,
                "name": "179 West Drive",
                "appointments": 1
            }
        ],
        "customersStats": {
            "newCustomersCount": 0,
            "returningCustomersCount": 1,
            "totalPastPeriodCustomers": 2
        },
        "appointments": [
            {
                "id": 841,
                "bookings": [
                    {
                        "id": 1133,
                        "customerId": 34,
                        "customer": {
                            "id": 34,
                            "firstName": "Viola",
                            "lastName": "Smith",
                            "birthday": null,
                            "email": "[email protected]",
                            "phone": null,
                            "type": "customer",
                            "status": "visible",
                            "note": null,
                            "zoomUserId": null,
                            "countryPhoneIso": null,
                            "externalId": null,
                            "pictureFullPath": null,
                            "pictureThumbPath": null,
                            "translations": null,
                            "gender": null
                        },
                        "status": "approved",
                        "extras": [],
                        "couponId": null,
                        "price": 27,
                        "coupon": null,
                        "customFields": "{\"2\":{\"label\":\"Select1\",\"type\":\"select\",\"value\":\"\"},\"5\":{\"label\":\"text3\",\"type\":\"text\",\"value\":\"\"},\"7\":{\"label\":\"My address\",\"type\":\"address\",\"value\":\"\"},\"9\":{\"label\":\"address4\",\"type\":\"address\",\"value\":\"\"},\"11\":{\"label\":\"Select custom field\",\"type\":\"select\",\"value\":\"\"},\"13\":{\"label\":\"file\",\"type\":\"file\",\"value\":[]}}",
                        "info": "{\"firstName\":\"Viola\",\"lastName\":\"Smith\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\/Belgrade\",\"urlParams\":null}",
                        "appointmentId": 841,
                        "persons": 1,
                        "token": null,
                        "payments": [
                            {
                                "id": 1140,
                                "customerBookingId": 1133,
                                "packageCustomerId": null,
                                "parentId": 1138,
                                "amount": 46.2,
                                "gateway": "wc",
                                "gatewayTitle": "Cash on delivery",
                                "dateTime": "2023-11-01 09:56:49",
                                "status": "partiallyPaid",
                                "data": "",
                                "entity": null,
                                "created": "2023-11-01 08:56:49",
                                "actionsCompleted": null,
                                "wcOrderId": 983,
                                "wcOrderUrl": null,
                                "wcItemCouponValue": null,
                                "wcItemTaxValue": 4.2,
                                "transactionId": null
                            }
                        ],
                        "utcOffset": null,
                        "aggregatedPrice": true,
                        "isChangedStatus": null,
                        "isLastBooking": null,
                        "packageCustomerService": null,
                        "ticketsData": [],
                        "duration": 1800,
                        "created": "2023-11-01 09:56:49",
                        "actionsCompleted": null,
                        "isUpdated": null
                    }
                ],
                "notifyParticipants": 1,
                "internalNotes": "",
                "status": "approved",
                "serviceId": 1,
                "parentId": 831,
                "providerId": 14,
                "locationId": 4,
                "provider": null,
                "service": {
                    "id": 1,
                    "name": "amelia service",
                    "description": "location address: %location_address%",
                    "color": "#1788FB",
                    "price": 20,
                    "deposit": null,
                    "depositPayment": null,
                    "depositPerPerson": null,
                    "pictureFullPath": null,
                    "pictureThumbPath": null,
                    "extras": [],
                    "coupons": [],
                    "position": null,
                    "settings": "{\"payments\":{\"mollie\":{\"enabled\":true},\"paymentLinks\":{\"enabled\":true,\"changeBookingStatus\":false,\"redirectUrl\":null},\"onSite\":true,\"payPal\":{\"enabled\":true},\"stripe\":{\"enabled\":true},\"razorpay\":{\"enabled\":true},\"square\":{\"enabled\":true}},\"zoom\":{\"enabled\":true},\"lessonSpace\":{\"enabled\":true},\"activation\":{\"version\":\"6.7\"},\"general\":{\"minimumTimeRequirementPriorToCanceling\":null}}",
                    "fullPayment": null,
                    "minCapacity": 1,
                    "maxCapacity": 10,
                    "duration": 1800,
                    "timeBefore": 1800,
                    "timeAfter": 1800,
                    "bringingAnyone": null,
                    "show": null,
                    "aggregatedPrice": null,
                    "status": "visible",
                    "categoryId": 1,
                    "category": null,
                    "priority": [],
                    "gallery": [],
                    "recurringCycle": null,
                    "recurringSub": null,
                    "recurringPayment": null,
                    "translations": null,
                    "minSelectedExtras": null,
                    "mandatoryExtra": null,
                    "customPricing": null,
                    "maxExtraPeople": null,
                    "limitPerCustomer": null
                },
                "location": null,
                "googleCalendarEventId": null,
                "googleMeetUrl": null,
                "outlookCalendarEventId": null,
                "zoomMeeting": null,
                "lessonSpace": null,
                "bookingStart": "2023-11-04 12:00:00",
                "bookingEnd": "2023-11-04 12:30:00",
                "type": "appointment",
                "isRescheduled": null,
                "isFull": null,
                "resources": [],
                "cancelable": false,
                "past": false
            },
            {
                "id": 842,
                "bookings": [
                    {
                        "id": 1134,
                        "customerId": 18,
                        "customer": {
                            "id": 18,
                            "firstName": "Ivana",
                            "lastName": "Nikolic",
                            "birthday": null,
                            "email": "[email protected]",
                            "phone": null,
                            "type": "customer",
                            "status": "visible",
                            "note": null,
                            "zoomUserId": null,
                            "countryPhoneIso": null,
                            "externalId": null,
                            "pictureFullPath": null,
                            "pictureThumbPath": null,
                            "translations": null,
                            "gender": null
                        },
                        "status": "approved",
                        "extras": [],
                        "couponId": null,
                        "price": 30,
                        "coupon": null,
                        "customFields": "{\"2\":{\"label\":\"Select1\",\"type\":\"select\",\"value\":\"\"},\"5\":{\"label\":\"text3\",\"type\":\"text\",\"value\":\"\"},\"7\":{\"label\":\"My address\",\"type\":\"address\",\"value\":\"\"},\"9\":{\"label\":\"address4\",\"type\":\"address\",\"value\":\"\"},\"11\":{\"label\":\"Select custom field\",\"type\":\"select\",\"value\":\"\"},\"13\":{\"label\":\"file\",\"type\":\"file\",\"value\":[]}}",
                        "info": "{\"firstName\":\"Ivana\",\"lastName\":\"Nikolic\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\/Belgrade\",\"urlParams\":null}",
                        "appointmentId": 842,
                        "persons": 1,
                        "token": null,
                        "payments": [
                            {
                                "id": 1141,
                                "customerBookingId": 1134,
                                "packageCustomerId": null,
                                "parentId": null,
                                "amount": 15.4,
                                "gateway": "wc",
                                "gatewayTitle": "Cash on delivery",
                                "dateTime": "2023-11-01 10:02:02",
                                "status": "partiallyPaid",
                                "data": "",
                                "entity": null,
                                "created": "2023-11-01 09:02:02",
                                "actionsCompleted": null,
                                "wcOrderId": 984,
                                "wcOrderUrl": null,
                                "wcItemCouponValue": null,
                                "wcItemTaxValue": 1.4,
                                "transactionId": null
                            }
                        ],
                        "utcOffset": null,
                        "aggregatedPrice": true,
                        "isChangedStatus": null,
                        "isLastBooking": null,
                        "packageCustomerService": null,
                        "ticketsData": [],
                        "duration": 1800,
                        "created": "2023-11-01 10:02:02",
                        "actionsCompleted": null,
                        "isUpdated": null
                    }
                ],
                "notifyParticipants": 1,
                "internalNotes": "",
                "status": "approved",
                "serviceId": 1,
                "parentId": null,
                "providerId": 12,
                "locationId": 4,
                "provider": null,
                "service": {
                    "id": 1,
                    "name": "amelia service",
                    "description": "location address: %location_address%",
                    "color": "#1788FB",
                    "price": 20,
                    "deposit": null,
                    "depositPayment": null,
                    "depositPerPerson": null,
                    "pictureFullPath": null,
                    "pictureThumbPath": null,
                    "extras": [],
                    "coupons": [],
                    "position": null,
                    "settings": "{\"payments\":{\"mollie\":{\"enabled\":true},\"paymentLinks\":{\"enabled\":true,\"changeBookingStatus\":false,\"redirectUrl\":null},\"onSite\":true,\"payPal\":{\"enabled\":true},\"stripe\":{\"enabled\":true},\"razorpay\":{\"enabled\":true},\"square\":{\"enabled\":true}},\"zoom\":{\"enabled\":true},\"lessonSpace\":{\"enabled\":true},\"activation\":{\"version\":\"6.7\"},\"general\":{\"minimumTimeRequirementPriorToCanceling\":null}}",
                    "fullPayment": null,
                    "minCapacity": 1,
                    "maxCapacity": 10,
                    "duration": 1800,
                    "timeBefore": 1800,
                    "timeAfter": 1800,
                    "bringingAnyone": null,
                    "show": null,
                    "aggregatedPrice": null,
                    "status": "visible",
                    "categoryId": 1,
                    "category": null,
                    "priority": [],
                    "gallery": [],
                    "recurringCycle": null,
                    "recurringSub": null,
                    "recurringPayment": null,
                    "translations": null,
                    "minSelectedExtras": null,
                    "mandatoryExtra": null,
                    "customPricing": null,
                    "maxExtraPeople": null,
                    "limitPerCustomer": null
                },
                "location": null,
                "googleCalendarEventId": null,
                "googleMeetUrl": null,
                "outlookCalendarEventId": null,
                "zoomMeeting": null,
                "lessonSpace": null,
                "bookingStart": "2023-11-07 09:30:00",
                "bookingEnd": "2023-11-07 10:00:00",
                "type": "appointment",
                "isRescheduled": null,
                "isFull": null,
                "resources": [],
                "cancelable": true,
                "past": false
            },
            {
                "id": 843,
                "bookings": [
                    {
                        "id": 1135,
                        "customerId": 18,
                        "customer": {
                            "id": 18,
                            "firstName": "Ivana",
                            "lastName": "Nikolic",
                            "birthday": null,
                            "email": "[email protected]",
                            "phone": null,
                            "type": "customer",
                            "status": "visible",
                            "note": null,
                            "zoomUserId": null,
                            "countryPhoneIso": null,
                            "externalId": null,
                            "pictureFullPath": null,
                            "pictureThumbPath": null,
                            "translations": null,
                            "gender": null
                        },
                        "status": "approved",
                        "extras": [],
                        "couponId": null,
                        "price": 30,
                        "coupon": null,
                        "customFields": "{\"2\":{\"label\":\"Select1\",\"type\":\"select\",\"value\":\"\"},\"5\":{\"label\":\"text3\",\"type\":\"text\",\"value\":\"\"},\"7\":{\"label\":\"My address\",\"type\":\"address\",\"value\":\"\"},\"9\":{\"label\":\"address4\",\"type\":\"address\",\"value\":\"\"},\"11\":{\"label\":\"Select custom field\",\"type\":\"select\",\"value\":\"\"},\"13\":{\"label\":\"file\",\"type\":\"file\",\"value\":[]}}",
                        "info": "{\"firstName\":\"Ivana\",\"lastName\":\"Nikolic\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\/Belgrade\",\"urlParams\":null}",
                        "appointmentId": 843,
                        "persons": 1,
                        "token": null,
                        "payments": [
                            {
                                "id": 1142,
                                "customerBookingId": 1135,
                                "packageCustomerId": null,
                                "parentId": 1141,
                                "amount": 0,
                                "gateway": "onSite",
                                "gatewayTitle": "Cash on delivery",
                                "dateTime": "2023-11-08 09:30:00",
                                "status": "paid",
                                "data": "",
                                "entity": null,
                                "created": "2023-11-01 09:02:02",
                                "actionsCompleted": null,
                                "wcOrderId": null,
                                "wcOrderUrl": null,
                                "wcItemCouponValue": null,
                                "wcItemTaxValue": null,
                                "transactionId": null
                            }
                        ],
                        "utcOffset": null,
                        "aggregatedPrice": true,
                        "isChangedStatus": null,
                        "isLastBooking": null,
                        "packageCustomerService": null,
                        "ticketsData": [],
                        "duration": 1800,
                        "created": "2023-11-01 10:02:02",
                        "actionsCompleted": null,
                        "isUpdated": null
                    }
                ],
                "notifyParticipants": 1,
                "internalNotes": "",
                "status": "approved",
                "serviceId": 1,
                "parentId": 842,
                "providerId": 12,
                "locationId": 4,
                "provider": null,
                "service": {
                    "id": 1,
                    "name": "amelia service",
                    "description": "location address: %location_address%",
                    "color": "#1788FB",
                    "price": 20,
                    "deposit": null,
                    "depositPayment": null,
                    "depositPerPerson": null,
                    "pictureFullPath": null,
                    "pictureThumbPath": null,
                    "extras": [],
                    "coupons": [],
                    "position": null,
                    "settings": "{\"payments\":{\"mollie\":{\"enabled\":true},\"paymentLinks\":{\"enabled\":true,\"changeBookingStatus\":false,\"redirectUrl\":null},\"onSite\":true,\"payPal\":{\"enabled\":true},\"stripe\":{\"enabled\":true},\"razorpay\":{\"enabled\":true},\"square\":{\"enabled\":true}},\"zoom\":{\"enabled\":true},\"lessonSpace\":{\"enabled\":true},\"activation\":{\"version\":\"6.7\"},\"general\":{\"minimumTimeRequirementPriorToCanceling\":null}}",
                    "fullPayment": null,
                    "minCapacity": 1,
                    "maxCapacity": 10,
                    "duration": 1800,
                    "timeBefore": 1800,
                    "timeAfter": 1800,
                    "bringingAnyone": null,
                    "show": null,
                    "aggregatedPrice": null,
                    "status": "visible",
                    "categoryId": 1,
                    "category": null,
                    "priority": [],
                    "gallery": [],
                    "recurringCycle": null,
                    "recurringSub": null,
                    "recurringPayment": null,
                    "translations": null,
                    "minSelectedExtras": null,
                    "mandatoryExtra": null,
                    "customPricing": null,
                    "maxExtraPeople": null,
                    "limitPerCustomer": null
                },
                "location": null,
                "googleCalendarEventId": null,
                "googleMeetUrl": null,
                "outlookCalendarEventId": null,
                "zoomMeeting": null,
                "lessonSpace": null,
                "bookingStart": "2023-11-08 09:30:00",
                "bookingEnd": "2023-11-08 10:00:00",
                "type": "appointment",
                "isRescheduled": null,
                "isFull": null,
                "resources": [],
                "cancelable": true,
                "past": false
            },
            {
                "id": 844,
                "bookings": [
                    {
                        "id": 1136,
                        "customerId": 18,
                        "customer": {
                            "id": 18,
                            "firstName": "Ivana",
                            "lastName": "Nikolic",
                            "birthday": null,
                            "email": "[email protected]",
                            "phone": null,
                            "type": "customer",
                            "status": "visible",
                            "note": null,
                            "zoomUserId": null,
                            "countryPhoneIso": null,
                            "externalId": null,
                            "pictureFullPath": null,
                            "pictureThumbPath": null,
                            "translations": null,
                            "gender": null
                        },
                        "status": "approved",
                        "extras": [],
                        "couponId": null,
                        "price": 30,
                        "coupon": null,
                        "customFields": "{\"2\":{\"label\":\"Select1\",\"type\":\"select\",\"value\":\"\"},\"5\":{\"label\":\"text3\",\"type\":\"text\",\"value\":\"\"},\"7\":{\"label\":\"My address\",\"type\":\"address\",\"value\":\"\"},\"9\":{\"label\":\"address4\",\"type\":\"address\",\"value\":\"\"},\"11\":{\"label\":\"Select custom field\",\"type\":\"select\",\"value\":\"\"},\"13\":{\"label\":\"file\",\"type\":\"file\",\"value\":[]}}",
                        "info": "{\"firstName\":\"Ivana\",\"lastName\":\"Nikolic\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\/Belgrade\",\"urlParams\":null}",
                        "appointmentId": 844,
                        "persons": 1,
                        "token": null,
                        "payments": [
                            {
                                "id": 1143,
                                "customerBookingId": 1136,
                                "packageCustomerId": null,
                                "parentId": 1141,
                                "amount": 0,
                                "gateway": "onSite",
                                "gatewayTitle": "Cash on delivery",
                                "dateTime": "2023-11-09 09:30:00",
                                "status": "paid",
                                "data": "",
                                "entity": null,
                                "created": "2023-11-01 09:02:02",
                                "actionsCompleted": null,
                                "wcOrderId": null,
                                "wcOrderUrl": null,
                                "wcItemCouponValue": null,
                                "wcItemTaxValue": null,
                                "transactionId": null
                            }
                        ],
                        "utcOffset": null,
                        "aggregatedPrice": true,
                        "isChangedStatus": null,
                        "isLastBooking": null,
                        "packageCustomerService": null,
                        "ticketsData": [],
                        "duration": 1800,
                        "created": "2023-11-01 10:02:02",
                        "actionsCompleted": null,
                        "isUpdated": null
                    }
                ],
                "notifyParticipants": 1,
                "internalNotes": "",
                "status": "approved",
                "serviceId": 1,
                "parentId": 842,
                "providerId": 12,
                "locationId": 4,
                "provider": null,
                "service": {
                    "id": 1,
                    "name": "amelia service",
                    "description": "location address: %location_address%",
                    "color": "#1788FB",
                    "price": 20,
                    "deposit": null,
                    "depositPayment": null,
                    "depositPerPerson": null,
                    "pictureFullPath": null,
                    "pictureThumbPath": null,
                    "extras": [],
                    "coupons": [],
                    "position": null,
                    "settings": "{\"payments\":{\"mollie\":{\"enabled\":true},\"paymentLinks\":{\"enabled\":true,\"changeBookingStatus\":false,\"redirectUrl\":null},\"onSite\":true,\"payPal\":{\"enabled\":true},\"stripe\":{\"enabled\":true},\"razorpay\":{\"enabled\":true},\"square\":{\"enabled\":true}},\"zoom\":{\"enabled\":true},\"lessonSpace\":{\"enabled\":true},\"activation\":{\"version\":\"6.7\"},\"general\":{\"minimumTimeRequirementPriorToCanceling\":null}}",
                    "fullPayment": null,
                    "minCapacity": 1,
                    "maxCapacity": 10,
                    "duration": 1800,
                    "timeBefore": 1800,
                    "timeAfter": 1800,
                    "bringingAnyone": null,
                    "show": null,
                    "aggregatedPrice": null,
                    "status": "visible",
                    "categoryId": 1,
                    "category": null,
                    "priority": [],
                    "gallery": [],
                    "recurringCycle": null,
                    "recurringSub": null,
                    "recurringPayment": null,
                    "translations": null,
                    "minSelectedExtras": null,
                    "mandatoryExtra": null,
                    "customPricing": null,
                    "maxExtraPeople": null,
                    "limitPerCustomer": null
                },
                "location": null,
                "googleCalendarEventId": null,
                "googleMeetUrl": null,
                "outlookCalendarEventId": null,
                "zoomMeeting": null,
                "lessonSpace": null,
                "bookingStart": "2023-11-09 09:30:00",
                "bookingEnd": "2023-11-09 10:00:00",
                "type": "appointment",
                "isRescheduled": null,
                "isFull": null,
                "resources": [],
                "cancelable": true,
                "past": false
            },
            {
                "id": 848,
                "bookings": [
                    {
                        "id": 1140,
                        "customerId": 2,
                        "customer": {
                            "id": 2,
                            "firstName": "Milica",
                            "lastName": "Test",
                            "birthday": null,
                            "email": "[email protected]",
                            "phone": "+381631652656",
                            "type": "customer",
                            "status": "visible",
                            "note": null,
                            "zoomUserId": null,
                            "countryPhoneIso": null,
                            "externalId": null,
                            "pictureFullPath": null,
                            "pictureThumbPath": null,
                            "translations": null,
                            "gender": null
                        },
                        "status": "approved",
                        "extras": [],
                        "couponId": null,
                        "price": 30,
                        "coupon": null,
                        "customFields": "{\"2\":{\"label\":\"Select1\",\"type\":\"select\",\"value\":\"\"},\"5\":{\"label\":\"text3\",\"type\":\"text\",\"value\":\"\"},\"7\":{\"label\":\"My address\",\"type\":\"address\",\"value\":\"\"},\"9\":{\"label\":\"address4\",\"type\":\"address\",\"value\":\"\"},\"11\":{\"label\":\"Select custom field\",\"type\":\"select\",\"value\":\"\"},\"13\":{\"label\":\"file\",\"type\":\"file\",\"value\":[]}}",
                        "info": "{\"firstName\":\"Milica\",\"lastName\":\"Snake\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\/Belgrade\",\"urlParams\":null}",
                        "appointmentId": 848,
                        "persons": 1,
                        "token": null,
                        "payments": [
                            {
                                "id": 1147,
                                "customerBookingId": 1140,
                                "packageCustomerId": null,
                                "parentId": null,
                                "amount": 15.4,
                                "gateway": "wc",
                                "gatewayTitle": "Cash on delivery",
                                "dateTime": "2023-11-01 10:22:12",
                                "status": "partiallyPaid",
                                "data": "",
                                "entity": null,
                                "created": "2023-11-01 09:22:12",
                                "actionsCompleted": null,
                                "wcOrderId": 992,
                                "wcOrderUrl": null,
                                "wcItemCouponValue": null,
                                "wcItemTaxValue": 1.4,
                                "transactionId": null
                            }
                        ],
                        "utcOffset": null,
                        "aggregatedPrice": true,
                        "isChangedStatus": null,
                        "isLastBooking": null,
                        "packageCustomerService": null,
                        "ticketsData": [],
                        "duration": 1800,
                        "created": "2023-11-01 10:22:12",
                        "actionsCompleted": null,
                        "isUpdated": null
                    }
                ],
                "notifyParticipants": 1,
                "internalNotes": "",
                "status": "approved",
                "serviceId": 1,
                "parentId": null,
                "providerId": 12,
                "locationId": 4,
                "provider": null,
                "service": {
                    "id": 1,
                    "name": "amelia service",
                    "description": "location address: %location_address%",
                    "color": "#1788FB",
                    "price": 20,
                    "deposit": null,
                    "depositPayment": null,
                    "depositPerPerson": null,
                    "pictureFullPath": null,
                    "pictureThumbPath": null,
                    "extras": [],
                    "coupons": [],
                    "position": null,
                    "settings": "{\"payments\":{\"mollie\":{\"enabled\":true},\"paymentLinks\":{\"enabled\":true,\"changeBookingStatus\":false,\"redirectUrl\":null},\"onSite\":true,\"payPal\":{\"enabled\":true},\"stripe\":{\"enabled\":true},\"razorpay\":{\"enabled\":true},\"square\":{\"enabled\":true}},\"zoom\":{\"enabled\":true},\"lessonSpace\":{\"enabled\":true},\"activation\":{\"version\":\"6.7\"},\"general\":{\"minimumTimeRequirementPriorToCanceling\":null}}",
                    "fullPayment": null,
                    "minCapacity": 1,
                    "maxCapacity": 10,
                    "duration": 1800,
                    "timeBefore": 1800,
                    "timeAfter": 1800,
                    "bringingAnyone": null,
                    "show": null,
                    "aggregatedPrice": null,
                    "status": "visible",
                    "categoryId": 1,
                    "category": null,
                    "priority": [],
                    "gallery": [],
                    "recurringCycle": null,
                    "recurringSub": null,
                    "recurringPayment": null,
                    "translations": null,
                    "minSelectedExtras": null,
                    "mandatoryExtra": null,
                    "customPricing": null,
                    "maxExtraPeople": null,
                    "limitPerCustomer": null
                },
                "location": null,
                "googleCalendarEventId": null,
                "googleMeetUrl": null,
                "outlookCalendarEventId": null,
                "zoomMeeting": null,
                "lessonSpace": null,
                "bookingStart": "2023-11-13 11:30:00",
                "bookingEnd": "2023-11-13 12:00:00",
                "type": "appointment",
                "isRescheduled": null,
                "isFull": null,
                "resources": [],
                "cancelable": true,
                "past": false
            },
            {
                "id": 849,
                "bookings": [
                    {
                        "id": 1141,
                        "customerId": 2,
                        "customer": {
                            "id": 2,
                            "firstName": "Milica",
                            "lastName": "Test",
                            "birthday": null,
                            "email": "[email protected]",
                            "phone": "+381631652656",
                            "type": "customer",
                            "status": "visible",
                            "note": null,
                            "zoomUserId": null,
                            "countryPhoneIso": null,
                            "externalId": null,
                            "pictureFullPath": null,
                            "pictureThumbPath": null,
                            "translations": null,
                            "gender": null
                        },
                        "status": "approved",
                        "extras": [],
                        "couponId": null,
                        "price": 30,
                        "coupon": null,
                        "customFields": "{\"2\":{\"label\":\"Select1\",\"type\":\"select\",\"value\":\"\"},\"5\":{\"label\":\"text3\",\"type\":\"text\",\"value\":\"\"},\"7\":{\"label\":\"My address\",\"type\":\"address\",\"value\":\"\"},\"9\":{\"label\":\"address4\",\"type\":\"address\",\"value\":\"\"},\"11\":{\"label\":\"Select custom field\",\"type\":\"select\",\"value\":\"\"},\"13\":{\"label\":\"file\",\"type\":\"file\",\"value\":[]}}",
                        "info": "{\"firstName\":\"Milica\",\"lastName\":\"Snake\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\/Belgrade\",\"urlParams\":null}",
                        "appointmentId": 849,
                        "persons": 1,
                        "token": null,
                        "payments": [
                            {
                                "id": 1148,
                                "customerBookingId": 1141,
                                "packageCustomerId": null,
                                "parentId": 1147,
                                "amount": 0,
                                "gateway": "onSite",
                                "gatewayTitle": "Cash on delivery",
                                "dateTime": "2023-11-14 11:30:00",
                                "status": "paid",
                                "data": "",
                                "entity": null,
                                "created": "2023-11-01 09:22:12",
                                "actionsCompleted": null,
                                "wcOrderId": null,
                                "wcOrderUrl": null,
                                "wcItemCouponValue": null,
                                "wcItemTaxValue": null,
                                "transactionId": null
                            }
                        ],
                        "utcOffset": null,
                        "aggregatedPrice": true,
                        "isChangedStatus": null,
                        "isLastBooking": null,
                        "packageCustomerService": null,
                        "ticketsData": [],
                        "duration": 1800,
                        "created": "2023-11-01 10:22:12",
                        "actionsCompleted": null,
                        "isUpdated": null
                    }
                ],
                "notifyParticipants": 1,
                "internalNotes": "",
                "status": "approved",
                "serviceId": 1,
                "parentId": 848,
                "providerId": 12,
                "locationId": 4,
                "provider": null,
                "service": {
                    "id": 1,
                    "name": "amelia service",
                    "description": "location address: %location_address%",
                    "color": "#1788FB",
                    "price": 20,
                    "deposit": null,
                    "depositPayment": null,
                    "depositPerPerson": null,
                    "pictureFullPath": null,
                    "pictureThumbPath": null,
                    "extras": [],
                    "coupons": [],
                    "position": null,
                    "settings": "{\"payments\":{\"mollie\":{\"enabled\":true},\"paymentLinks\":{\"enabled\":true,\"changeBookingStatus\":false,\"redirectUrl\":null},\"onSite\":true,\"payPal\":{\"enabled\":true},\"stripe\":{\"enabled\":true},\"razorpay\":{\"enabled\":true},\"square\":{\"enabled\":true}},\"zoom\":{\"enabled\":true},\"lessonSpace\":{\"enabled\":true},\"activation\":{\"version\":\"6.7\"},\"general\":{\"minimumTimeRequirementPriorToCanceling\":null}}",
                    "fullPayment": null,
                    "minCapacity": 1,
                    "maxCapacity": 10,
                    "duration": 1800,
                    "timeBefore": 1800,
                    "timeAfter": 1800,
                    "bringingAnyone": null,
                    "show": null,
                    "aggregatedPrice": null,
                    "status": "visible",
                    "categoryId": 1,
                    "category": null,
                    "priority": [],
                    "gallery": [],
                    "recurringCycle": null,
                    "recurringSub": null,
                    "recurringPayment": null,
                    "translations": null,
                    "minSelectedExtras": null,
                    "mandatoryExtra": null,
                    "customPricing": null,
                    "maxExtraPeople": null,
                    "limitPerCustomer": null
                },
                "location": null,
                "googleCalendarEventId": null,
                "googleMeetUrl": null,
                "outlookCalendarEventId": null,
                "zoomMeeting": null,
                "lessonSpace": null,
                "bookingStart": "2023-11-14 11:30:00",
                "bookingEnd": "2023-11-14 12:00:00",
                "type": "appointment",
                "isRescheduled": null,
                "isFull": null,
                "resources": [],
                "cancelable": true,
                "past": false
            },
            {
                "id": 845,
                "bookings": [
                    {
                        "id": 1137,
                        "customerId": 2,
                        "customer": {
                            "id": 2,
                            "firstName": "Milica",
                            "lastName": "Test",
                            "birthday": null,
                            "email": "[email protected]",
                            "phone": "+381631652656",
                            "type": "customer",
                            "status": "visible",
                            "note": null,
                            "zoomUserId": null,
                            "countryPhoneIso": null,
                            "externalId": null,
                            "pictureFullPath": null,
                            "pictureThumbPath": null,
                            "translations": null,
                            "gender": null
                        },
                        "status": "approved",
                        "extras": [],
                        "couponId": null,
                        "price": 27,
                        "coupon": null,
                        "customFields": "{\"2\":{\"label\":\"Select1\",\"type\":\"select\",\"value\":\"\"},\"5\":{\"label\":\"text3\",\"type\":\"text\",\"value\":\"\"},\"7\":{\"label\":\"My address\",\"type\":\"address\",\"value\":\"\"},\"9\":{\"label\":\"address4\",\"type\":\"address\",\"value\":\"\"},\"11\":{\"label\":\"Select custom field\",\"type\":\"select\",\"value\":\"\"},\"13\":{\"label\":\"file\",\"type\":\"file\",\"value\":[]}}",
                        "info": "{\"firstName\":\"Milica\",\"lastName\":\"Snake\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\/Belgrade\",\"urlParams\":null}",
                        "appointmentId": 845,
                        "persons": 1,
                        "token": null,
                        "payments": [
                            {
                                "id": 1144,
                                "customerBookingId": 1137,
                                "packageCustomerId": null,
                                "parentId": null,
                                "amount": 15.4,
                                "gateway": "wc",
                                "gatewayTitle": "Cash on delivery",
                                "dateTime": "2023-11-01 10:15:33",
                                "status": "partiallyPaid",
                                "data": "",
                                "entity": null,
                                "created": "2023-11-01 09:15:33",
                                "actionsCompleted": null,
                                "wcOrderId": 988,
                                "wcOrderUrl": null,
                                "wcItemCouponValue": null,
                                "wcItemTaxValue": 1.4,
                                "transactionId": null
                            }
                        ],
                        "utcOffset": null,
                        "aggregatedPrice": true,
                        "isChangedStatus": null,
                        "isLastBooking": null,
                        "packageCustomerService": null,
                        "ticketsData": [],
                        "duration": 1800,
                        "created": "2023-11-01 10:15:33",
                        "actionsCompleted": null,
                        "isUpdated": null
                    }
                ],
                "notifyParticipants": 1,
                "internalNotes": "",
                "status": "approved",
                "serviceId": 1,
                "parentId": null,
                "providerId": 14,
                "locationId": 4,
                "provider": null,
                "service": {
                    "id": 1,
                    "name": "amelia service",
                    "description": "location address: %location_address%",
                    "color": "#1788FB",
                    "price": 20,
                    "deposit": null,
                    "depositPayment": null,
                    "depositPerPerson": null,
                    "pictureFullPath": null,
                    "pictureThumbPath": null,
                    "extras": [],
                    "coupons": [],
                    "position": null,
                    "settings": "{\"payments\":{\"mollie\":{\"enabled\":true},\"paymentLinks\":{\"enabled\":true,\"changeBookingStatus\":false,\"redirectUrl\":null},\"onSite\":true,\"payPal\":{\"enabled\":true},\"stripe\":{\"enabled\":true},\"razorpay\":{\"enabled\":true},\"square\":{\"enabled\":true}},\"zoom\":{\"enabled\":true},\"lessonSpace\":{\"enabled\":true},\"activation\":{\"version\":\"6.7\"},\"general\":{\"minimumTimeRequirementPriorToCanceling\":null}}",
                    "fullPayment": null,
                    "minCapacity": 1,
                    "maxCapacity": 10,
                    "duration": 1800,
                    "timeBefore": 1800,
                    "timeAfter": 1800,
                    "bringingAnyone": null,
                    "show": null,
                    "aggregatedPrice": null,
                    "status": "visible",
                    "categoryId": 1,
                    "category": null,
                    "priority": [],
                    "gallery": [],
                    "recurringCycle": null,
                    "recurringSub": null,
                    "recurringPayment": null,
                    "translations": null,
                    "minSelectedExtras": null,
                    "mandatoryExtra": null,
                    "customPricing": null,
                    "maxExtraPeople": null,
                    "limitPerCustomer": null
                },
                "location": null,
                "googleCalendarEventId": null,
                "googleMeetUrl": null,
                "outlookCalendarEventId": null,
                "zoomMeeting": null,
                "lessonSpace": null,
                "bookingStart": "2023-11-14 15:30:00",
                "bookingEnd": "2023-11-14 16:00:00",
                "type": "appointment",
                "isRescheduled": null,
                "isFull": null,
                "resources": [],
                "cancelable": true,
                "past": false
            },
            {
                "id": 850,
                "bookings": [
                    {
                        "id": 1142,
                        "customerId": 2,
                        "customer": {
                            "id": 2,
                            "firstName": "Milica",
                            "lastName": "Test",
                            "birthday": null,
                            "email": "[email protected]",
                            "phone": "+381631652656",
                            "type": "customer",
                            "status": "visible",
                            "note": null,
                            "zoomUserId": null,
                            "countryPhoneIso": null,
                            "externalId": null,
                            "pictureFullPath": null,
                            "pictureThumbPath": null,
                            "translations": null,
                            "gender": null
                        },
                        "status": "approved",
                        "extras": [],
                        "couponId": null,
                        "price": 30,
                        "coupon": null,
                        "customFields": "{\"2\":{\"label\":\"Select1\",\"type\":\"select\",\"value\":\"\"},\"5\":{\"label\":\"text3\",\"type\":\"text\",\"value\":\"\"},\"7\":{\"label\":\"My address\",\"type\":\"address\",\"value\":\"\"},\"9\":{\"label\":\"address4\",\"type\":\"address\",\"value\":\"\"},\"11\":{\"label\":\"Select custom field\",\"type\":\"select\",\"value\":\"\"},\"13\":{\"label\":\"file\",\"type\":\"file\",\"value\":[]}}",
                        "info": "{\"firstName\":\"Milica\",\"lastName\":\"Snake\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\/Belgrade\",\"urlParams\":null}",
                        "appointmentId": 850,
                        "persons": 1,
                        "token": null,
                        "payments": [
                            {
                                "id": 1149,
                                "customerBookingId": 1142,
                                "packageCustomerId": null,
                                "parentId": 1147,
                                "amount": 0,
                                "gateway": "onSite",
                                "gatewayTitle": "Cash on delivery",
                                "dateTime": "2023-11-15 11:30:00",
                                "status": "paid",
                                "data": "",
                                "entity": null,
                                "created": "2023-11-01 09:22:12",
                                "actionsCompleted": null,
                                "wcOrderId": null,
                                "wcOrderUrl": null,
                                "wcItemCouponValue": null,
                                "wcItemTaxValue": null,
                                "transactionId": null
                            }
                        ],
                        "utcOffset": null,
                        "aggregatedPrice": true,
                        "isChangedStatus": null,
                        "isLastBooking": null,
                        "packageCustomerService": null,
                        "ticketsData": [],
                        "duration": 1800,
                        "created": "2023-11-01 10:22:12",
                        "actionsCompleted": null,
                        "isUpdated": null
                    }
                ],
                "notifyParticipants": 1,
                "internalNotes": "",
                "status": "approved",
                "serviceId": 1,
                "parentId": 848,
                "providerId": 12,
                "locationId": 4,
                "provider": null,
                "service": {
                    "id": 1,
                    "name": "amelia service",
                    "description": "location address: %location_address%",
                    "color": "#1788FB",
                    "price": 20,
                    "deposit": null,
                    "depositPayment": null,
                    "depositPerPerson": null,
                    "pictureFullPath": null,
                    "pictureThumbPath": null,
                    "extras": [],
                    "coupons": [],
                    "position": null,
                    "settings": "{\"payments\":{\"mollie\":{\"enabled\":true},\"paymentLinks\":{\"enabled\":true,\"changeBookingStatus\":false,\"redirectUrl\":null},\"onSite\":true,\"payPal\":{\"enabled\":true},\"stripe\":{\"enabled\":true},\"razorpay\":{\"enabled\":true},\"square\":{\"enabled\":true}},\"zoom\":{\"enabled\":true},\"lessonSpace\":{\"enabled\":true},\"activation\":{\"version\":\"6.7\"},\"general\":{\"minimumTimeRequirementPriorToCanceling\":null}}",
                    "fullPayment": null,
                    "minCapacity": 1,
                    "maxCapacity": 10,
                    "duration": 1800,
                    "timeBefore": 1800,
                    "timeAfter": 1800,
                    "bringingAnyone": null,
                    "show": null,
                    "aggregatedPrice": null,
                    "status": "visible",
                    "categoryId": 1,
                    "category": null,
                    "priority": [],
                    "gallery": [],
                    "recurringCycle": null,
                    "recurringSub": null,
                    "recurringPayment": null,
                    "translations": null,
                    "minSelectedExtras": null,
                    "mandatoryExtra": null,
                    "customPricing": null,
                    "maxExtraPeople": null,
                    "limitPerCustomer": null
                },
                "location": null,
                "googleCalendarEventId": null,
                "googleMeetUrl": null,
                "outlookCalendarEventId": null,
                "zoomMeeting": null,
                "lessonSpace": null,
                "bookingStart": "2023-11-15 11:30:00",
                "bookingEnd": "2023-11-15 12:00:00",
                "type": "appointment",
                "isRescheduled": null,
                "isFull": null,
                "resources": [],
                "cancelable": true,
                "past": false
            },
            {
                "id": 846,
                "bookings": [
                    {
                        "id": 1138,
                        "customerId": 2,
                        "customer": {
                            "id": 2,
                            "firstName": "Milica",
                            "lastName": "Test",
                            "birthday": null,
                            "email": "[email protected]",
                            "phone": "+381631652656",
                            "type": "customer",
                            "status": "visible",
                            "note": null,
                            "zoomUserId": null,
                            "countryPhoneIso": null,
                            "externalId": null,
                            "pictureFullPath": null,
                            "pictureThumbPath": null,
                            "translations": null,
                            "gender": null
                        },
                        "status": "approved",
                        "extras": [],
                        "couponId": null,
                        "price": 27,
                        "coupon": null,
                        "customFields": "{\"2\":{\"label\":\"Select1\",\"type\":\"select\",\"value\":\"\"},\"5\":{\"label\":\"text3\",\"type\":\"text\",\"value\":\"\"},\"7\":{\"label\":\"My address\",\"type\":\"address\",\"value\":\"\"},\"9\":{\"label\":\"address4\",\"type\":\"address\",\"value\":\"\"},\"11\":{\"label\":\"Select custom field\",\"type\":\"select\",\"value\":\"\"},\"13\":{\"label\":\"file\",\"type\":\"file\",\"value\":[]}}",
                        "info": "{\"firstName\":\"Milica\",\"lastName\":\"Snake\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\/Belgrade\",\"urlParams\":null}",
                        "appointmentId": 846,
                        "persons": 1,
                        "token": null,
                        "payments": [
                            {
                                "id": 1145,
                                "customerBookingId": 1138,
                                "packageCustomerId": null,
                                "parentId": 1144,
                                "amount": 0,
                                "gateway": "onSite",
                                "gatewayTitle": "Cash on delivery",
                                "dateTime": "2023-11-15 15:30:00",
                                "status": "paid",
                                "data": "",
                                "entity": null,
                                "created": "2023-11-01 09:15:33",
                                "actionsCompleted": null,
                                "wcOrderId": null,
                                "wcOrderUrl": null,
                                "wcItemCouponValue": null,
                                "wcItemTaxValue": null,
                                "transactionId": null
                            }
                        ],
                        "utcOffset": null,
                        "aggregatedPrice": true,
                        "isChangedStatus": null,
                        "isLastBooking": null,
                        "packageCustomerService": null,
                        "ticketsData": [],
                        "duration": 1800,
                        "created": "2023-11-01 10:15:33",
                        "actionsCompleted": null,
                        "isUpdated": null
                    }
                ],
                "notifyParticipants": 1,
                "internalNotes": "",
                "status": "approved",
                "serviceId": 1,
                "parentId": 845,
                "providerId": 14,
                "locationId": 4,
                "provider": null,
                "service": {
                    "id": 1,
                    "name": "amelia service",
                    "description": "location address: %location_address%",
                    "color": "#1788FB",
                    "price": 20,
                    "deposit": null,
                    "depositPayment": null,
                    "depositPerPerson": null,
                    "pictureFullPath": null,
                    "pictureThumbPath": null,
                    "extras": [],
                    "coupons": [],
                    "position": null,
                    "settings": "{\"payments\":{\"mollie\":{\"enabled\":true},\"paymentLinks\":{\"enabled\":true,\"changeBookingStatus\":false,\"redirectUrl\":null},\"onSite\":true,\"payPal\":{\"enabled\":true},\"stripe\":{\"enabled\":true},\"razorpay\":{\"enabled\":true},\"square\":{\"enabled\":true}},\"zoom\":{\"enabled\":true},\"lessonSpace\":{\"enabled\":true},\"activation\":{\"version\":\"6.7\"},\"general\":{\"minimumTimeRequirementPriorToCanceling\":null}}",
                    "fullPayment": null,
                    "minCapacity": 1,
                    "maxCapacity": 10,
                    "duration": 1800,
                    "timeBefore": 1800,
                    "timeAfter": 1800,
                    "bringingAnyone": null,
                    "show": null,
                    "aggregatedPrice": null,
                    "status": "visible",
                    "categoryId": 1,
                    "category": null,
                    "priority": [],
                    "gallery": [],
                    "recurringCycle": null,
                    "recurringSub": null,
                    "recurringPayment": null,
                    "translations": null,
                    "minSelectedExtras": null,
                    "mandatoryExtra": null,
                    "customPricing": null,
                    "maxExtraPeople": null,
                    "limitPerCustomer": null
                },
                "location": null,
                "googleCalendarEventId": null,
                "googleMeetUrl": null,
                "outlookCalendarEventId": null,
                "zoomMeeting": null,
                "lessonSpace": null,
                "bookingStart": "2023-11-15 15:30:00",
                "bookingEnd": "2023-11-15 16:00:00",
                "type": "appointment",
                "isRescheduled": null,
                "isFull": null,
                "resources": [],
                "cancelable": true,
                "past": false
            },
            {
                "id": 847,
                "bookings": [
                    {
                        "id": 1139,
                        "customerId": 2,
                        "customer": {
                            "id": 2,
                            "firstName": "Milica",
                            "lastName": "Test",
                            "birthday": null,
                            "email": "[email protected]",
                            "phone": "+381631652656",
                            "type": "customer",
                            "status": "visible",
                            "note": null,
                            "zoomUserId": null,
                            "countryPhoneIso": null,
                            "externalId": null,
                            "pictureFullPath": null,
                            "pictureThumbPath": null,
                            "translations": null,
                            "gender": null
                        },
                        "status": "approved",
                        "extras": [],
                        "couponId": null,
                        "price": 27,
                        "coupon": null,
                        "customFields": "{\"2\":{\"label\":\"Select1\",\"type\":\"select\",\"value\":\"\"},\"5\":{\"label\":\"text3\",\"type\":\"text\",\"value\":\"\"},\"7\":{\"label\":\"My address\",\"type\":\"address\",\"value\":\"\"},\"9\":{\"label\":\"address4\",\"type\":\"address\",\"value\":\"\"},\"11\":{\"label\":\"Select custom field\",\"type\":\"select\",\"value\":\"\"},\"13\":{\"label\":\"file\",\"type\":\"file\",\"value\":[]}}",
                        "info": "{\"firstName\":\"Milica\",\"lastName\":\"Snake\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\/Belgrade\",\"urlParams\":null}",
                        "appointmentId": 847,
                        "persons": 1,
                        "token": null,
                        "payments": [
                            {
                                "id": 1146,
                                "customerBookingId": 1139,
                                "packageCustomerId": null,
                                "parentId": 1144,
                                "amount": 0,
                                "gateway": "onSite",
                                "gatewayTitle": "Cash on delivery",
                                "dateTime": "2023-11-16 15:30:00",
                                "status": "paid",
                                "data": "",
                                "entity": null,
                                "created": "2023-11-01 09:15:33",
                                "actionsCompleted": null,
                                "wcOrderId": null,
                                "wcOrderUrl": null,
                                "wcItemCouponValue": null,
                                "wcItemTaxValue": null,
                                "transactionId": null
                            }
                        ],
                        "utcOffset": null,
                        "aggregatedPrice": true,
                        "isChangedStatus": null,
                        "isLastBooking": null,
                        "packageCustomerService": null,
                        "ticketsData": [],
                        "duration": 1800,
                        "created": "2023-11-01 10:15:33",
                        "actionsCompleted": null,
                        "isUpdated": null
                    }
                ],
                "notifyParticipants": 1,
                "internalNotes": "",
                "status": "approved",
                "serviceId": 1,
                "parentId": 845,
                "providerId": 14,
                "locationId": 4,
                "provider": null,
                "service": {
                    "id": 1,
                    "name": "amelia service",
                    "description": "location address: %location_address%",
                    "color": "#1788FB",
                    "price": 20,
                    "deposit": null,
                    "depositPayment": null,
                    "depositPerPerson": null,
                    "pictureFullPath": null,
                    "pictureThumbPath": null,
                    "extras": [],
                    "coupons": [],
                    "position": null,
                    "settings": "{\"payments\":{\"mollie\":{\"enabled\":true},\"paymentLinks\":{\"enabled\":true,\"changeBookingStatus\":false,\"redirectUrl\":null},\"onSite\":true,\"payPal\":{\"enabled\":true},\"stripe\":{\"enabled\":true},\"razorpay\":{\"enabled\":true},\"square\":{\"enabled\":true}},\"zoom\":{\"enabled\":true},\"lessonSpace\":{\"enabled\":true},\"activation\":{\"version\":\"6.7\"},\"general\":{\"minimumTimeRequirementPriorToCanceling\":null}}",
                    "fullPayment": null,
                    "minCapacity": 1,
                    "maxCapacity": 10,
                    "duration": 1800,
                    "timeBefore": 1800,
                    "timeAfter": 1800,
                    "bringingAnyone": null,
                    "show": null,
                    "aggregatedPrice": null,
                    "status": "visible",
                    "categoryId": 1,
                    "category": null,
                    "priority": [],
                    "gallery": [],
                    "recurringCycle": null,
                    "recurringSub": null,
                    "recurringPayment": null,
                    "translations": null,
                    "minSelectedExtras": null,
                    "mandatoryExtra": null,
                    "customPricing": null,
                    "maxExtraPeople": null,
                    "limitPerCustomer": null
                },
                "location": null,
                "googleCalendarEventId": null,
                "googleMeetUrl": null,
                "outlookCalendarEventId": null,
                "zoomMeeting": null,
                "lessonSpace": null,
                "bookingStart": "2023-11-16 15:30:00",
                "bookingEnd": "2023-11-16 16:00:00",
                "type": "appointment",
                "isRescheduled": null,
                "isFull": null,
                "resources": [],
                "cancelable": true,
                "past": false
            }
        ],
        "appointmentsCount": 10
    }
}