You can access various data from Locaboo, available in JSON format.
Here is an overview of how to access these, and what data is available.

Quickstart

  1. Resource List   -  List of resources along with the fields available for each resource.
  2. Resource   -  Details of resource based on ID.
  3. Booking List   -  List of bookings under a manager.
  4. Booking   -  Details of booking based on ID.
  5. Availability   -  List of available time-slots at resource.
  6. Profile   -  Get details of a manager.
  7. Customer List   -  List of customers along with the fields available for each customer.
  8. Inventory List   -  List of inventory along with the fields available for each inventory.
  9. Services List   -  List of services along with the fields available for each service.23
  10. Invoices List   -  List of invoices along with the fields available for each invlice.
  11. Booking Post   -  Create/Update the booking details.
  12. Events List   -  List of events under a manager.
  13. Events Details   -  Details of event based on ID.
  14. Booking Add   -  Add new booking or booking request
  15. Customer Add   -  Add new customer
  16. Customer Edit   -  Add new customer
  17. Customer Address Add   -  Add address for customer

API authentication and access

You need to use the 'API Access Data', found at 'Profile' section of manager's dashboard.
Every call requires the following auth parameter: api_secret_key. This can either be POST or GET parameter.


API Endpoints

Endpoint base : https://app.locaboo.com

Return response 200 only for successful API calls.

  1. GET /api/v2/resource_list : List of resources along with the fields available for each resource.

    Example response can be found below,

    /api/v2/resource_list?api_secret_key=<api_secret_key>
    
    {
      "data":[
         {
            "id":5721,
            "title":"test audit",
            "parts":[
               {
                  "id":8795,
                  "title":"The only child"
               }
            ]
         },
         {
            "id":48,
            "title":"Stefan Test",
            "parts":[
               {
                  "id":49,
                  "title":"Kleine Halle"
               },
               {
                  "id":50,
                  "title":"Gro\u00dfe Halle"
               }
            ]
         },
         {
            "id":51,
            "title":"Matthias Dome",
            "parts":[
               {
                  "id":52,
                  "title":"Basketball Field"
               },
               {
                  "id":53,
                  "title":"Eishockey Field"
               }
            ]
         },
         {
            "id":47,
            "title":"Sandkasten",
            "parts":[
    
            ]
         }
      ],
      "total":4,
      "free_text_fields":[
         {
            "id":1,
            "name":"Persons",
            "type":"numeric"
         },
         {
            "id":2,
            "name":"Seat Type",
            "type":"select",
            "options":[
                "A",
                "B"
            ],
         },
       ],
      "success":true
    } 
    

  2. GET /api/v2/resource/<resource-id> : Details of resource based on ID.

    Example response can be found below,

    /api/v2/resource/51?api_secret_key=<api_secret_key>
    
    {
      "data":{
         "id":51,
         "manager":46,
         "title":"Matthias Dome",
         "image":"https:\/\/app.locaboo\/files\/location\/51\/thumb_Buzz Aldrin on the moon_HD.jpg",
         "category_id":564,
         "category_name":"Box",
         "street_hnr":"",
         "zip":"",
         "city":"",
         "country":"DE",
         "phone":"",
         "fax":"",
         "public_comment":"",
         "today_opening_times": [
          [
            "10:30",
            "23:59"
          ]
        ],
        "today_holidays": [
          {
            "title": "New Holiday",
            "from": "2020-07-06",
            "to": "2020-07-06"
          }
        ]
      },
      "total":1,
      "success":true
    }
    

  3. GET /api/v2/booking_list : List of bookings under a manager.

    Example response can be found below,

    /api/v2/booking_list?&api_secret_key=<api_secret_key>&date_from=2023-10-11&date_to=2023-10-13&show_details=true
    
    {
        "data": [
            {
                "id": 312834,
                "title": "",
                "resources": [
                    {
                        "resource_id": 48,
                        "resource": "Sample Resource B",
                        "instances": {
                            "39518": {
                                "id": 39518,
                                "resource_id": 49,
                                "resource": "Sample Resource B > Kleine Halle",
                                "from": "2023-10-11 11:00",
                                "to": "2023-10-11 14:00",
                                "custom_fields": []
                            },
                            "39519": {
                                "id": 39519,
                                "resource_id": 49,
                                "resource": "Sample Resource B > Kleine Halle",
                                "from": "2023-10-12 11:00",
                                "to": "2023-10-12 14:00",
                                "custom_fields": []
                            }
                        }
                    }
                ],
                "custom_fields": {
                    "48": {
                        "mf_56": {
                            "label": "New MF field ",
                            "value": "Geschäftleitungsmeeting / Managementtagung",
                            "category": 0
                        }
                    }
                },
                "comments": "",
                "customer_id": "21749",
                "customer": "DemoStore GmbH",
                "color": "#17df26"
            },
            {
                "id": 312838,
                "title": "",
                "resources": [
                    {
                        "resource_id": 48,
                        "resource": "Sample Resource B",
                        "instances": {
                            "39526": {
                                "id": 39526,
                                "resource_id": 50,
                                "resource": "Sample Resource B > Große Halle",
                                "from": "2023-10-11 00:00",
                                "to": "2023-10-11 23:59",
                                "custom_fields": []
                            },
                            "39527": {
                                "id": 39527,
                                "resource_id": 50,
                                "resource": "Sample Resource B > Große Halle",
                                "from": "2023-10-12 00:00",
                                "to": "2023-10-12 23:59",
                                "custom_fields": []
                            },
                            "39528": {
                                "id": 39528,
                                "resource_id": 50,
                                "resource": "Sample Resource B > Große Halle",
                                "from": "2023-10-13 00:00",
                                "to": "2023-10-13 18:00",
                                "custom_fields": []
                            }
                        }
                    }
                ],
                "custom_fields": {
                    "48": {
                        "mf_56": {
                            "label": "New MF field ",
                            "value": "Geschäftleitungsmeeting / Managementtagung",
                            "category": 0
                        }
                    }
                },
                "comments": "",
                "customer_id": "21749",
                "customer": "DemoStore GmbH",
                "color": "#17df26"
            },
            {
                "id": 312886,
                "title": "Test booking for api",
                "resources": [
                    {
                        "resource_id": 5721,
                        "resource": "Conference Room C",
                        "instances": {
                            "39593": {
                                "id": 39593,
                                "resource_id": 8795,
                                "resource": "Conference Room C > The only child",
                                "from": "2023-10-11 11:00",
                                "to": "2023-10-11 16:00",
                                "custom_fields": []
                            },
                            "39594": {
                                "id": 39594,
                                "resource_id": 8795,
                                "resource": "Conference Room C > The only child",
                                "from": "2023-10-12 11:00",
                                "to": "2023-10-12 16:00",
                                "custom_fields": {
                                    "5721": {
                                        "mf_49": {
                                            "label": "Radi-O",
                                            "value": "Yo!",
                                            "category": null
                                        },
                                        "mf_58": {
                                            "label": "Your comment",
                                            "value": "Sample comment for API from instance",
                                            "category": 0
                                        },
                                        "mf_56": {
                                            "label": "New MF field ",
                                            "value": "Tagung / Konferenz",
                                            "category": 0
                                        },
                                        "mf_55": {
                                            "label": "Seat Type",
                                            "value": "L shape",
                                            "category": 0
                                        },
                                        "mf_36": {
                                            "label": "Just admin",
                                            "value": "off",
                                            "category": null
                                        },
                                        "mf_33": {
                                            "label": "Manager input field",
                                            "value": "test input field",
                                            "category": null
                                        },
                                        "mf_32": {
                                            "label": "Mumbo Jumbo",
                                            "value": "off",
                                            "category": null
                                        },
                                        "mf_28": {
                                            "label": "Just admin",
                                            "value": "off",
                                            "category": null
                                        },
                                        "mf_22": {
                                            "label": "Manager input field",
                                            "value": "",
                                            "category": null
                                        },
                                        "mf_21": {
                                            "label": "Yolo cb?",
                                            "value": "off",
                                            "category": null
                                        },
                                        "mf_5": {
                                            "label": "Select Field B",
                                            "value": "A",
                                            "category": null
                                        },
                                        "mf_4": {
                                            "label": "Input Field C",
                                            "value": "API input C",
                                            "category": null
                                        },
                                        "mf_1": {
                                            "label": "Test Seats A",
                                            "value": "8",
                                            "category": null
                                        }
                                    }
                                }
                            },
                            "39595": {
                                "id": 39595,
                                "resource_id": 8795,
                                "resource": "Conference Room C > The only child",
                                "from": "2023-10-13 11:00",
                                "to": "2023-10-13 16:00",
                                "custom_fields": []
                            }
                        }
                    }
                ],
                "custom_fields": {
                    "5721": {
                        "mf_49": {
                            "label": "Radi-O",
                            "value": "Hey",
                            "category": null
                        },
                        "mf_58": {
                            "label": "Your comment",
                            "value": "Sample comment for api",
                            "category": 0
                        },
                        "mf_56": {
                            "label": "New MF field ",
                            "value": "Tagung / Konferenz",
                            "category": 0
                        },
                        "mf_55": {
                            "label": "Seat Type",
                            "value": "L shape",
                            "category": 0
                        },
                        "mf_36": {
                            "label": "Just admin",
                            "value": "off",
                            "category": null
                        },
                        "mf_33": {
                            "label": "Manager input field",
                            "value": "test input field",
                            "category": null
                        },
                        "mf_32": {
                            "label": "Mumbo Jumbo",
                            "value": "on",
                            "category": null
                        },
                        "mf_28": {
                            "label": "Just admin",
                            "value": "on",
                            "category": null
                        },
                        "mf_21": {
                            "label": "Yolo cb?",
                            "value": "on",
                            "category": null
                        },
                        "mf_5": {
                            "label": "Select Field B",
                            "value": "A",
                            "category": null
                        },
                        "mf_4": {
                            "label": "Input Field C",
                            "value": "API input C",
                            "category": null
                        },
                        "mf_1": {
                            "label": "Test Seats A",
                            "value": "11",
                            "category": null
                        }
                    }
                },
                "color": "#17df26",
                "comments": "",
                "customer_id": "21749",
                "persons": [],
                "customer": "DemoStore GmbH"
            }
        ],
        "total": 3,
        "success": true
    }
    

  1. GET /api/v2/booking/<booking-id> : Details of booking based on ID.

    Example response can be found below,

    /api/v2/booking/312842?api_secret_key=<api_secret_key>
    
    {
        "data": {
            "id": 312842,
            "title": "",
            "resources": [
                {
                    "resource_id": 5721,
                    "resource": "Conference Room C",
                    "instances": [
                        {
                            "id": 39535,
                            "resource_id": 8795,
                            "resource": "Conference Room C > The only child",
                            "from": "2023-10-10 05:00",
                            "to": "2023-10-10 09:00",
                            "custom_fields": []
                        },
                        {
                            "id": 39536,
                            "resource_id": 8795,
                            "resource": "Conference Room C > The only child",
                            "from": "2023-10-11 05:00",
                            "to": "2023-10-11 09:00",
                            "custom_fields": []
                        },
                        {
                            "id": 39537,
                            "resource_id": 8795,
                            "resource": "Conference Room C > The only child",
                            "from": "2023-10-12 05:00",
                            "to": "2023-10-12 09:00",
                            "custom_fields": []
                        }
                    ],
                    "features": {
                        "451": {
                            "rule_interval": "per_quantity",
                            "rule_price": 10.149,
                            "rule_name": "Projectors",
                            "price_cost": 0,
                            "quantity": "0"
                        },
                        "699": {
                            "rule_interval": "per_hour",
                            "rule_price": 0,
                            "rule_name": "t1",
                            "price_cost": 0,
                            "quantity": "0"
                        }
                    },
                    "inventory": {
                        "13": {
                            "rule_interval": "per_hour",
                            "rule_price": 2.371,
                            "rule_name": "Inv_item1",
                            "price_cost": 0,
                            "quantity": "0"
                        }
                    },
                    "custom_fields": {
                        "5721": {
                            "mf_58": {
                                "label": "Your comment",
                                "value": "",
                                "category": 0
                            },
                            "mf_56": {
                                "label": "New MF field ",
                                "value": "Geschäftleitungsmeeting / Managementtagung",
                                "category": 0
                            },
                            "mf_36": {
                                "label": "Just admin",
                                "value": "off",
                                "category": null
                            },
                            "mf_28": {
                                "label": "Just admin",
                                "value": "off",
                                "category": null
                            },
                            "mf_21": {
                                "label": "Yolo cb?",
                                "value": "off",
                                "category": null
                            },
                            "mf_5": {
                                "label": "Select Field B",
                                "value": "A",
                                "category": null
                            },
                            "mf_4": {
                                "label": "Input Field C",
                                "value": "",
                                "category": null
                            },
                            "mf_1": {
                                "label": "Test Seats A",
                                "value": "11",
                                "category": null
                            }
                        }
                    }
                }
            ],
            "comments": "",
            "customer_id": "21749",
            "persons": [],
            "color": "#17df26"
        },
        "total": 1,
        "success": true
    }
    

  2. GET /api/v2/availability : List of available time-slots at resource.

    Example response can be found below,

    /api/v2/availability?resource_id=48&date_from=2018-11-01&date_to=2019-01-01&duration=02:00&free_text_field_ids=1,2,3&free_text_field_conditions=great_than_et,,et&free_text_field_values=0,True,10&limit=4&api_secret_key=<api_secret_key>
    
    {
      "data":[
         {
            "resource_id":49,
            "dates":{
               "2018-11-01":[
                  {
                     "time_from":"08:00",
                     "time_to":"10:00"
                  },
                  {
                     "time_from":"10:00",
                     "time_to":"12:00"
                  },
                  {
                     "time_from":"12:00",
                     "time_to":"14:00"
                  },
                  {
                     "time_from":"14:00",
                     "time_to":"16:00"
                  }
               ]
            }
         },
         {
            "resource_id":50,
            "dates":[
    
            ]
         }
      ],
      "total":4,
      "success":true
    }
    

  3. GET /api/v2/profile : Get details of a manager.

    Example response can be found below,

    /api/v2/profile?api_secret_key=<api_secret_key>
    
    {
      "data":{
         "first_name": "LOY",
         "last_name": "Manager",
         "company_name": "The Manager",
         "email": "manager@locaboo.com",
         "logo":"https:\/\/app.locaboo\/files\/user\/46\/28227338c515a8369c92800f3299d4bc-d9sxx8q.jpg",
         "logo_thumbnail":"https:\/\/app.locaboo\/files\/user\/46\/thumb_28227338c515a8369c92800f3299d4bc-d9sxx8q.jpg",
         "currency": "EUR",
         "language": "en",
         "created": "2016-06-02",
         "age": "3",
         "zip": "55555",
         "city": "Testhausen",
         "country": "DE",
         "phone": "123456789456",
         "fax": "123456789123",
         "address": "Test-Str. 1"
      },
      "total":16,
      "success":true
    }
    

  4. GET /api/v2/customer_list : List of customers along with the fields available for each customer.

    Example response can be found below,

    /api/v2/customer_list?api_secret_key=<api_secret_key>
    
    {
      "data":[
          {
            "id": 41,
            "email": "matthias1@loy.info",
            "company_name": "Locaboo G",
            "first_name": "Matthias",
            "last_name": "Dillmann",
            "show_name": "Locaboo G",
            "created": "2015-05-13T14:49:41+02:00",
            "customer_id": 2024,
            "customer_number": 100079,
            "customer_number_prefix": null,
            "tags": [
              {
                "id": 513296,
                "customer_id": 41,
                "key": "customer_tag",
                "value": "1",
                "tag": {
                  "id": 1,
                  "manager_id": 46,
                  "tag_name": "Tag 3000",
                  "created_by": 46,
                  "created_date": "2019-07-23T00:00:00+02:00"
                }
              },
              {
                "id": 513297,
                "customer_id": 41,
                "key": "customer_tag",
                "value": "4",
                "tag": {
                  "id": 4,
                  "manager_id": 46,
                  "tag_name": "Tag 3",
                  "created_by": 46,
                  "created_date": "2019-07-23T00:00:00+02:00"
                }
              }
            ],
            "groups": [
              {
                "id": 513298,
                "customer_id": 41,
                "key": "customer_group_id",
                "value": "145",
                "group": {
                  "id": 145,
                  "user_id": 46,
                  "name": "Gang 1",
                  "description": "",
                  "public_group": 0,
                  "defult_group": 0
                }
              }
            ],
            "street": null,
            "zip": null,
            "city": null,
            "phone": null,
            "noletter": null,
            "color": null,
            "salutation": null,
            "country": null,
            "house_number": null,
            "customer_account_number": null,
            "salutation_title": null,
            "last_login": "2017-03-10T16:34:37+01:00",
            "customer_created_date": "2015-05-13T14:49:41+02:00"
          },
          {
            "id": 48,
            "email": "customer@locaboo.com",
            "company_name": "Locaboo B",
            "first_name": "Test",
            "last_name": "Customer",
            "show_name": "Locaboo B",
            "created": "2015-06-01T15:47:18+02:00",
            "customer_id": 2025,
            "customer_number": null,
            "customer_number_prefix": null,
            "tags": [],
            "groups": [],
            "street": null,
            "zip": null,
            "city": null,
            "phone": null,
            "noletter": null,
            "color": null,
            "salutation": null,
            "country": null,
            "house_number": null,
            "customer_account_number": null,
            "salutation_title": null,
            "last_login": "",
            "customer_created_date": "2015-06-01T15:47:18+02:00"
          },
          {
            "id": 54,
            "email": "customer_d@locaboo.com",
            "company_name": "Locaboo D",
            "first_name": "Customer",
            "last_name": "D",
            "show_name": "Locaboo D",
            "created": "2015-06-12T07:25:55+02:00",
            "customer_id": 2026,
            "customer_number": null,
            "customer_number_prefix": null,
            "tags": [],
            "groups": [],
            "street": null,
            "zip": null,
            "city": null,
            "phone": null,
            "noletter": null,
            "color": null,
            "salutation": null,
            "country": null,
            "house_number": null,
            "customer_account_number": null,
            "salutation_title": null,
            "last_login": "",
            "customer_created_date": "2015-06-12T07:25:55+02:00"
          }
        ],
      "total":3,
      "success":true
    } 
    

  5. GET /api/v2/inventory_list : List of inventory along with the fields available for each inventory.

    Example response can be found below,

    /api/v2/inventory_list?api_secret_key=<api_secret_key>
    
    {
      "data":[
         {
          "id":1890,
          "name":"Inv_item1",
          "image":"",
          "created_on":"2020-09-02T12:53:05+02:00",
          "description":"",
          "inventory_no":"",
          "i_type":"",
          "model":"",
          "serial_no":"",
          "quantity":"1",
          "price_cost":"0",
          "prices":[
              {
                  "price":"20",
                  "customer_groups":["All"],
                  "interval":"per_hour",
                  "tax":19
              },
              {
                  "price":"2",
                  "customer_groups":{
                      "1182":"Group 1",
                      "1183":"group 2"
                  },
                  "interval":"per_hour",
                  "tax":"34"
              }
          ],
          "resources":
              {
              "48":"Sample Resource A",
              "49":"Sample Resource B"
              }
        }
      ],
      "total":1,
      "success":true
    } 
    

  6. GET /api/v2/service_list : List of services along with the fields available for each service.

    Example response can be found below,

    /api/v2/service_list?api_secret_key=<api_secret_key>
    
    {
      "data":[
         {
             "id":686,
             "name":"CJ Service",
             "image":"",
             "created_on":"2019-02-25T08:37:30+01:00",
             "description":"",
             "prices":[
              {
                  "price":"20",
                  "customer_groups":["All"],
                  "interval":"per_hour",
                  "tax":19
              },
              {
                  "price":"2",
                  "customer_groups":{
                      "1182":"Group 1",
                      "1183":"group 2"
                  },
                  "interval":"per_hour",
                  "tax":"34"
              }
            ],
          "resources":
              {
              "48":"Sample Resource A",
              "49":"Sample Resource B"
              }
          }
      ],
      "total":1,
      "success":true
    } 
    

  7. GET /api/v2/invoice_list : List of invoices along with the fields available for each invlice.

    Example response can be found below,

    /api/v2/invoice_list?api_secret_key=<api_secret_key>
    
    {
      "data":[
         {
          "id": 46475,
          "invoice_number": "2022T2022T77",
          "created": "21.05.2022 21:38",
          "file": "Invoice_77.pdf",
          "discount_price": 0,
          "total_price": 0,
          "currency": "EUR",
          "text": "sample public comment",
          "discount": {
            "type": "amount",
            "rate": 2
          },
          "payment_status": "Bezahlt",
          "payment_type": "Auf Rechnung",
          "status": "Fertig",
          "due_date": "05.06.2022",
          "customer": {
            "id": 20904,
            "company": "Sample Company Name",
            "first_name": "Lorem",
            "last_name": "Ipsum",
            "street": "Sample street",
            "house_number": "500",
            "zip": "777",
            "city": "Sample city",
            "country": "DE"
          },
          "invoice_rows": [
            {
              "id": 245219,
              "date": "12.04.2022",
              "resource_id": 49,
              "booking_id": 214736,
              "type": "Einzel",
              "rate": "0 Pro Stunde",
              "duration": 1,
              "unit": "hours",
              "price": 10,
              "discount": 2,
              "tax_rate": 19,
              "tax": 1.9,
              "total": 11.9
            },
            {
              "id": 245220,
              "date": "12.04.2022",
              "resource_id": 49,
              "booking_id": 214730,
              "type": "Einzel",
              "rate": "0 Pro Stunde",
              "duration": 1,
              "unit": "hours",
              "price": 0,
              "discount": null,
              "tax_rate": 19,
              "tax": 0,
              "total": 0
            }
          ]
        }
      ],
      "total":1,
      "success":true
    } 
    

  8. GET /api/v2/booking_save : Create/Update the bookings.

    Example response can be found below,

    /api/v2/booking_save?api_secret_key=<api_secret_key>
    
    {
      "data":[
         {
             "id":46330,
             "message":"Successfully cerated the booking."
          }
      ],
      "total":0,
      "success":true
    } 
    

  9. GET /api/v2/event_list : List of events under a manager.

    Example response can be found below,

    /api/v2/event_list?date_from=2021-05-10&date_to=2021-05-20&api_secret_key=<api_secret_key>
    
    {
      "data":[
         {
            "id":1,
            "event_title":"Event 1",
            "marketing_data_title":"Test marketing title",
            "marketing_data_description":"Description",
            "date_from":"13.05.2021",
            "date_to":"14.05.2021",
            "time_from":"03:00",
            "time_to":"05:00",
            "entrance_time":"05:00",
            "beginning_time":"08:00",
            "marketing_data_ticket_link":"https:\/\/app.locaboo.com\/",
            "marketing_data_price":"12",
            "marketing_data_notice_text":"Test",
            "image":"https:\/\/app.locaboo.com\/files\/eplanning\/marketingdata\/262\/test_file1.jpg"
        },
        {
            "id":2,
            "event_title":"Event 2",
            "marketing_data_title":"Test marketing title",
            "marketing_data_description":"Description",
            "date_from":"15.05.2021",
            "date_to":"16.05.2021",
            "time_from":"03:00",
            "time_to":"05:00",
            "entrance_time":"05:00",
            "beginning_time":"08:00",
            "marketing_data_ticket_link":"https:\/\/app.locaboo.com\/",
            "marketing_data_price":"12",
            "marketing_data_notice_text":"Test",
            "image":"https:\/\/app.locaboo.com\/files\/eplanning\/marketingdata\/262\/test_file2.jpg"
        }
      ],
      "total":2,
      "success":true
    } 
    

  10. GET /api/v2/event_details/<event-id> : Details of event based on ID.

    Example response can be found below,

    /api/v2/event_details/<event-id>?api_secret_key=<api_secret_key>
    
    {
      "data":[
         {
          "id":"1",
          "event_title":"Event 1",
          "marketing_data_title":"Test Title",
          "marketing_data_description":"Test",
          "date_from":"13.05.2021",
          "date_to":"14.05.2021",
          "time_from":"06:28",
          "time_to":"12:00",
          "entrance_time":"04:00",
          "beginning_time":"09:00",
          "marketing_data_ticket_link":"",
          "marketing_data_price":"",
          "marketing_data_notice_text":"",
          "image":"https:\/\/app.locaboo.com\/files\/eplanning\/marketingdata\/262\/test_file1.jpg",
          "documents":[
            {
              "document_type":"Offer",
              "document_number":"OFFER 1",
              "price":11.5,
              "document_date":"13.05.2021",
              "processed_status":1,
              "processed_date":"14.05.2021"
              "bookings":[
                {
                    "id":149293,
                    "title":"Document test booking",
                    "resources":[
                      "resource_id":47,
                      "resource":"Sandkasten",
                      "instances":[
                         {
                            "id":6201748,
                            "resource_id":47,
                            "resource":"Sandkasten",
                            "from":"16.05.2021 09:00",
                            "to":"16.05.2021 17:00"
                         },
                         {
                            "id":6201749,
                            "resource_id":47,
                            "resource":"Sandkasten",
                            "from":"16.05.2021 09:00",
                            "to":"16.05.2021 17:00"
                         }
                      ]
                    ]
                 },
                 {
                    "id":193527,
                    "title":"Test",
                    "resources":[
                      "resource_id":48,
                      "resource":"Stefan Test",
                      "instances":[
                         {
                            "id":5693679,
                            "resource_id":49,
                            "resource":"Stefan Test > Kleine Halle",
                            "from":"16.05.2021 12:00",
                            "to":"16.05.2021 12:15"
                         }
                      ]
                    ]
                 }
              ]
            },
            {
              "document_type":"Order confirmation",
              "document_number":"CONF 1",
              "price":12.65,
              "document_date":"14.05.2021",
              "processed_status":1,
              "processed_date":"15.05.2021"
              "bookings":[]"
            },
            {
              "document_type":"Invoice",
              "document_number":"INVOICE 1",
              "price":12.65,
              "document_date":"15.05.2021",
              "processed_status":0,
              "processed_date":null
              "bookings":[]"
            }
          ]
        }
      ],
      "total":2,
      "success":true
    } 
    

  11. POST /api/v2/booking_add : Add new booking or booking request.

    Example response can be found below,

    /api/v2/booking_add
    
    {
      "data":[
         {
             "id":46330,
             "message":"Successfully created the booking."
          }
      ],
      "total":1,
      "success":true
    } 
    

  12. POST /api/v2/customer_add : Add new customer.

    Example response can be found below,

    /api/v2/customer_add
    
       {
         "data":[
            {
                "id":1234,
                "message":"Successfully Added"
             }
         ],
         "success":true
       } 
       
  13. POST /api/v2/customer_edit : Edit existing customer.

    Example response can be found below,

    /api/v2/customer_edit
    
       {
         "data":[
            {
                "id":1234,
                "message":"Edited successfully"
             }
         ],
         "success":true
       } 
       
  14. POST /api/v2/customer_address_add : Add customer addresses.

    Example response can be found below,

    /api/v2/customer_address_add
    
       {
         "data":[
            {
                "id":1234,
                "message":"Successfully Added"
             }
         ],
         "success":true
       }