Add A Booking

Here is sample request and response data in adding a booking

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (create).
userId Integer User's ID (optional).
propertyId Integer Property's ID.
firstName String First name.
lastName String Last name.
birthday String Date of Birth (YYYY-MM-DD). This field is required to produce the "Italian Fattura".
birthplace String Place of Birth code. This field is required to produce the "Italian Fattura". Example for Italy: IT
address String Address (optional).
phone1 String Phone number 1 (optional).
phone2 String Phone number 2 (optional).
email String Email address.
numberofadults Integer Number of adult.
leadsourceId Integer Lead Source's ID.
For example: "id": "4" means "Airbnb" mark. Please refer to default settings api for lead souce value list.
numberofchildren Integer Number of children (optional).
checkin String Check-in date (YYYY-MM-DD).
checkout String Check-out date (YYYY-MM-DD).
service Array List of services (optional). If no service is sent this time, the default services will be used. If you do not want to use the default services, please send service with empty content.
currency String Currency code (optional). If no currency is sent this time, the main currency will be used in creating a booking.
csaDamageProtection Integer CSA damage protection (optional). 1: Using service, 0: Not using service.(For US-bassed users only)
csaTravelInsurance Integer CSA Travel Insurance (optional). 1: Using service, 0: Not using service.(For US-bassed users only)
city String City (optional). This field is required if CSA insurance / protection is used.
state String State (optional). This field is required if CSA insurance / protection is used.
postcode Integer Post / Zip code (optional). This field is required if CSA insurance / protection is used.
country String Country code (optional). If country code invalid, the US country code will be replaced.
fiscal_code String Fiscal code is referred as tax code. This is a required field in some countries following government notice.
promotionCode String Promotion Code (optional)
paymentCharge Integer Value: 0 / 1. If paymentCharge is 1, system will collect credit card info and charge booking payment following payment amount in booking schedule. Credit card info is required based on payment gateway that is configured in payment method page.
paymentAuto Integer Value: 0 / 1. If paymentAuto is 1, system will add auto payment for booking and charge payment automatically following payment schedule. Please note: payment settings must be configured in payment method page to achieve this.
creditCard Array (key and value) Credit card information is saved and used later inside 365Villas (optional)
This array contain values:
CCNumber: Credit card number is often the 15- or 16-digit number
NameOnCard: The name on the credit card
Expiration: Expiration month / year on the card (format: MM/YYYY)
CVC: Card verification code
FirstName: First name
LastName: Last name
Phone: Credit card registered phone number
Address: Credit card registered address
City: Credit card registered city
State: Credit card registered state
PostCode: Credit card registered postcode
Country: Credit card registered country
brandId Integer Brand's ID.(optional)
Only using for the accounts integrates multi-website.
other String Other (optional).

Service data

Name Type Description
name String Service name.
applicable Integer Applicable options: 1. Per stay (default), 2. Per night, 3. Per occupant, 4. Per occupant per night. If this parameter is not posted, default value will be 1.
amount Float Service amount.
type Integer 1 is fixed price, 2 is percent. Percent value is calculated based on total rent.
unit Integer Service unit (optional). Default is 1.
taxes Array List of service taxes (optional).

Service taxes data

Name Type Description
name String Tax name.
perc String Tax percent value.

Request example data

{
  "key": "Y2MwYjE4NzcxM2Q1MTg0MmY4ZDMyYTQ3YjQ3MjA2NzVjNThjM2VmMA==",
  "pass": "MDMzZDliZjc3MTEzZGE3YjgzNTQ3ODZkMTAzYjRiYTA2ZTJhOTkyOQ==",
  "propertyId": "23",
  "action": "create",
  "checkin": "2021-11-01",
  "checkout": "2021-11-10",
  "firstName": "Test",
  "lastName": "Api",
  "address": "Test address",
  "phone1": "+1 9880 567",
  "email": "[email protected]",
  "numberofadults": 3,
  "leadsourceId": 11,
  "currency": "USD",
  "country": "US",
  "promotionCode": "PC50USD",
  "paymentCharge": 1,
  "paymentAuto": 1,
  "creditCard": {
    "CCNumber": "4242424242424242",
    "NameOnCard": "Name Surname",
    "Expiration": "12\/2025",
    "CVC": 123,
    "FirstName": "Name",
    "LastName": "Surname",
    "Phone": 123456789,
    "Address": "Address",
    "City": "City",
    "State": "State",
    "PostCode": 12345,
    "Country": "US"
  },
  "brandId": 1,
  "other": "TEST",
  "service": [
    {
      "name": "Service 1",
      "amount": 60,
      "type": 1,
      "unit": 3,
      "taxes": [
        {
          "name": "Service Tax 1",
          "perc": 10
        }
      ]
    },
    {
      "name": "Service 2",
      "amount": 80,
      "type": 1
    },
    {
      "name": "Service 3",
      "amount": 10,
      "type": 2
    }
  ]
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "bookingId": 524,
    "firstName": "Test",
    "lastName": "Api",
    "fullName": "Test Api",
    "email": "[email protected]",
    "birthday": "",
    "birthplace": "",
    "phone1": "+1 9880 567",
    "phone2": "+1 9880 567",
    "country": "US",
    "phone_country_code": "1",
    "address": "Test address",
    "city": "hcm",
    "state": "CA",
    "postcode": "32000",
    "fiscal_code": "",
    "other": "TEST",
    "agreeTermNote": "",
    "managerNote": "",
    "ownerBook": 0,
    "leadsourceId": 11,
    "totalRent": 900,
    "taxTotal": 76,
    "serviceTotal": 354,
    "discountTotal": 140,
    "grandTotal": 1190,
    "damageDeposit": 200,
    "qtyofnights": 9,
    "minNightlyPrice": 100,
    "maxNightlyPrice": 100,
    "nightlyPriceDetail": {
      "2021-11-01": 100,
      "2021-11-02": 100,
      "2021-11-03": 100,
      "2021-11-04": 100,
      "2021-11-05": 100,
      "2021-11-06": 100,
      "2021-11-07": 100,
      "2021-11-08": 100,
      "2021-11-09": 100
    },
    "propertyName": "phuoctest",
    "propertyId": 23,
    "checkin": "2021-11-01 16:00:00",
    "checkout": "2021-11-10 11:00:00",
    "createdDate": "2021-11-01 01:05:35",
    "cancellationDate": null,
    "numberofadults": 3,
    "numberofchildren": 0,
    "minimumStay": 1,
    "currency": "USD",
    "tax": [
      {
        "name": "T1",
        "amount": 76
      }
    ],
    "service": [
      {
        "name": "Service 1",
        "amount": 180,
        "taxAmount": 18
      },
      {
        "name": "Service 2",
        "amount": 80,
        "taxAmount": 0
      },
      {
        "name": "Service 3",
        "amount": 76,
        "taxAmount": 0
      }
    ],
    "discount": [
      {
        "name": "Discount 10%",
        "amount": 90
      },
      {
        "name": "Promo Code 50 USD",
        "amount": 50,
        "promotion_code": "PC50USD"
      }
    ]
  }
}

Error example data

{
  "status": 8,
  "message": "Requested dates are not available."
}
{
  "status": 16,
  "message": "Property  is not existed."
}
{
  "status": 111,
  "message": "Payment is not succeed, please examine: Transaction processing terminated. Please try again later. (38)"
}
{
  "status": 112,
  "message": "Payment is not succeed, Payment with 3d secure credit card is not supported in API."
}

Update A Booking

Here is sample request and response data in updating a booking.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (update).
propertyId Integer Property's ID.
bookingId Integer Booking's ID.
firstName String First name.
lastName String Last name.
birthday String Date of Birth (YYYY-MM-DD). This field is required to produce the "Italian Fattura".
birthplace String Place of Birth code. This field is required to produce the "Italian Fattura". Example for Italy: IT
address String Address (optional).
phone1 String Phone number 1 (optional).
phone2 String Phone number 2 (optional).
email String Email address.
numberofadults Integer Number of adult.
leadsourceId Integer Lead Source's ID.
For example: "id": "4" means "Airbnb" mark. Please refer to default settings api for lead souce value list.
numberofchildren Integer Number of children (optional).
checkin String Check-in date (YYYY-MM-DD).
checkout String Check-out date (YYYY-MM-DD).
service Array List of services (optional). This services will override the current services. To remove the services, please send service with empty content. In case service parameter is not sent:
+ If you do not change the property, the service values will not change.
+ If you change the property, the default services of the new property will be used.
currency String Currency code (optional). If no currency is sent this time, the main currency will be used in creating a booking.
csaDamageProtection Integer CSA damage protection (optional). 1: Using service, 0: Not using service. If this parameter is not posted, this value in the transaction will not change.(For US-bassed users only)
csaTravelInsurance Integer CSA Travel Insurance (optional). 1: Using service, 0: Not using service. If this parameter is not posted, this value in the transaction will not change.(For US-bassed users only)
city String City (optional). This field is required if CSA insurance / protection is used.
state String State (optional). This field is required if CSA insurance / protection is used.
postcode Integer Post / Zip code (optional). This field is required if CSA insurance / protection is used.
country String Country code (optional). If country code invalid, the US country code will be replaced.
fiscal_code String Fiscal code is referred as tax code. This is a required field in some countries following government notice.
promotionCode String Promotion Code (optional)
paymentCharge Integer Value: 0 / 1. If paymentCharge is 1, system will collect credit card info and charge booking payment following payment amount in booking schedule. Credit card info is required based on payment gateway that is configured in payment method page.
paymentAuto Integer Value: 0 / 1. If paymentAuto is 1, system will add auto payment for booking and charge payment automatically following payment schedule. Please note: payment settings must be configured in payment method page to achieve this.
creditCard Array (key and value) Credit card information is saved and used later inside 365Villas (optional)
This array contain values:
CCNumber: Credit card number is often the 15- or 16-digit number
NameOnCard: The name on the credit card
Expiration: Expiration month / year on the card (format: MM/YYYY)
CVC: Card verification code
FirstName: First name
LastName: Last name
Phone: Credit card registered phone number
Address: Credit card registered address
City: Credit card registered city
State: Credit card registered state
PostCode: Credit card registered postcode
Country: Credit card registered country
other String Other (optional).

Service data

Name Type Description
name String Service name.
applicable Integer Applicable options: 1. Per stay (default), 2. Per night, 3. Per occupant, 4. Per occupant per night. If this parameter is not posted, default value will be 1.
amount Float Service amount.
type Integer 1 is fixed price, 2 is percent. Percent value is calculated based on total rent.
unit Integer Service unit (optional). Default is 1.
taxes Array List of service taxes (optional).

Service taxes data

Name Type Description
name String Tax name.
perc String Tax percent value.

Request example data

{
  "key": "Y2MwYjE4NzcxM2Q1MTg0MmY4ZDMyYTQ3YjQ3MjA2NzVjNThjM2VmMA==",
  "pass": "MDMzZDliZjc3MTEzZGE3YjgzNTQ3ODZkMTAzYjRiYTA2ZTJhOTkyOQ==",
  "bookingId": 524,
  "propertyId": "23",
  "action": "update",
  "checkin": "2021-11-01",
  "checkout": "2021-11-11",
  "firstName": "Test",
  "lastName": "Api",
  "address": "Test address",
  "phone1": "+1 9880 567",
  "email": "[email protected]",
  "numberofadults": 3,
  "leadsourceId": 11,
  "currency": "USD",
  "country": "US",
  "promotionCode": "PC50USD",
  "paymentCharge": 1,
  "paymentAuto": 1,
  "creditCard": {
    "CCNumber": "4242424242424242",
    "NameOnCard": "Name Surname",
    "Expiration": "12\/2025",
    "CVC": 123,
    "FirstName": "Name",
    "LastName": "Surname",
    "Phone": 123456789,
    "Address": "Address",
    "City": "City",
    "State": "State",
    "PostCode": 12345,
    "Country": "US"
  },
  "other": "TEST",
  "service": [
    {
      "name": "Service 1",
      "amount": 60,
      "type": 1,
      "unit": 3,
      "taxes": [
        {
          "name": "Service Tax 1",
          "perc": 10
        }
      ]
    },
    {
      "name": "Service 2",
      "amount": 80,
      "type": 1
    },
    {
      "name": "Service 3",
      "amount": 10,
      "type": 2
    }
  ]
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "bookingId": 524,
    "firstName": "Test",
    "lastName": "Api",
    "fullName": "Test Api",
    "email": "[email protected]",
    "birthday": "",
    "birthplace": "",
    "phone1": "+1 9880 567",
    "phone2": "+1 9880 567",
    "country": "US",
    "phone_country_code": "1",
    "address": "Test address",
    "city": "hcm",
    "state": "CA",
    "postcode": "32000",
    "fiscal_code": "",
    "other": "TEST",
    "agreeTermNote": "",
    "managerNote": "",
    "ownerBook": 0,
    "leadsourceId": 11,
    "totalRent": 1000,
    "taxTotal": 85,
    "serviceTotal": 363,
    "discountTotal": 150,
    "grandTotal": 1298,
    "damageDeposit": 200,
    "qtyofnights": 10,
    "minNightlyPrice": 100,
    "maxNightlyPrice": 100,
    "nightlyPriceDetail": {
      "2021-11-01": 100,
      "2021-11-02": 100,
      "2021-11-03": 100,
      "2021-11-04": 100,
      "2021-11-05": 100,
      "2021-11-06": 100,
      "2021-11-07": 100,
      "2021-11-08": 100,
      "2021-11-09": 100,
      "2021-11-10": 100
    },
    "propertyName": "phuoctest",
    "propertyId": 23,
    "checkin": "2021-11-01 16:00:00",
    "checkout": "2021-11-11 11:00:00",
    "createdDate": "2021-11-01 01:05:35",
    "cancellationDate": null,
    "numberofadults": 3,
    "numberofchildren": 0,
    "minimumStay": 1,
    "currency": "USD",
    "tax": [
      {
        "name": "T1",
        "amount": 85
      }
    ],
    "service": [
      {
        "name": "Service 1",
        "amount": 180,
        "taxAmount": 18
      },
      {
        "name": "Service 2",
        "amount": 80,
        "taxAmount": 0
      },
      {
        "name": "Service 3",
        "amount": 85,
        "taxAmount": 0
      }
    ],
    "discount": [
      {
        "name": "Discount 10%",
        "amount": 100
      },
      {
        "name": "Promo Code 50 USD",
        "amount": 50,
        "promotion_code": "PC50USD"
      }
    ]
  }
}

Error example data

{
  "status": 8,
  "message": "Requested dates are not available."
}
{
  "status": 24,
  "message": "Booking id  is not existed."
}
{
  "status": 111,
  "message": "Payment is not succeed, please examine: Transaction processing terminated. Please try again later. (38)"
}
{
  "status": 112,
  "message": "Payment is not succeed, Payment with 3d secure credit card is not supported in API."
}

Add An Additional Service To A Booking

Here is sample request and response data in adding an additional service to a booking

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (addservice).
bookingId Integer Booking's ID.
service Array List of services.

Service data

Name Type Description
name String Service name.
applicable Integer Applicable options: 1. Per stay (default), 2. Per night, 3. Per occupant, 4. Per occupant per night. If this parameter is not posted, default value will be 1.
amount Float Service amount.
type Integer 1 is fixed price, 2 is percent. Percent value is calculated based on total rent.
unit Integer Service unit (optional). Default is 1.
taxes Array List of service taxes (optional).

Service taxes data

Name Type Description
name String Tax name.
perc String Tax percent value.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "addservice",
  "bookingId": 2292,
  "service": [
    {
      "name": "New Service 1",
      "amount": 100,
      "type": 1,
      "unit": 2,
      "taxes": [
        {
          "name": "New Tax Service 1",
          "perc": 10
        },
        {
          "name": "New Tax Service 2",
          "perc": 5
        }
      ]
    },
    {
      "name": "New Service 2",
      "amount": 5,
      "type": 2
    }
  ]
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "bookingId": 2292,
    "totalRent": 7050,
    "taxTotal": 1692,
    "serviceTotal": 1565.5,
    "grandTotal": 10307.5,
    "qtyofnights": 7,
    "minNightlyPrice": 1000,
    "maxNightlyPrice": 1050,
    "nightlyPriceDetail": {
      "2017-05-01": 1000,
      "2017-05-02": 1000,
      "2017-05-03": 1000,
      "2017-05-04": 1000,
      "2017-05-05": 1000,
      "2017-05-06": 1000,
      "2017-05-07": 1050
    },
    "propertyName": "Property",
    "propertyId": 7,
    "checkin": "2017-05-01 17:00:00",
    "checkout": "2017-05-08 10:00:00",
    "numberofadults": 3,
    "numberofchildren": 0,
    "tax": [
      {
        "name": "Tax 1",
        "amount": 705
      },
      {
        "name": "Tax 4",
        "amount": 987
      }
    ],
    "service": [
      {
        "name": "Service 1",
        "amount": 180,
        "taxAmount": 18
      },
      {
        "name": "Service 2",
        "amount": 80,
        "taxAmount": 0
      },
      {
        "name": "Service 3",
        "amount": 705,
        "taxAmount": 0
      },
      {
        "name": "New Service 1",
        "amount": 200,
        "taxAmount": 30
      },
      {
        "name": "New Service 2",
        "amount": 352.5,
        "taxAmount": 0
      }
    ]
  }
}

Charge A Booking

Here is sample request and response data in charging a booking.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (charge).
bookingId Integer Booking's ID.
paymentAuto Integer Value: 0 / 1. If paymentAuto is 1, system will add auto payment for booking and charge payment automatically following payment schedule. Please note: payment settings must be configured in payment method page to achieve this.
creditCard Array (key and value) Credit card information is saved and used later inside 365Villas (optional)
This array contain values:
CCNumber: Credit card number is often the 15- or 16-digit number
NameOnCard: The name on the credit card
Expiration: Expiration month / year on the card (format: MM/YYYY)
CVC: Card verification code
FirstName: First name
LastName: Last name
Phone: Credit card registered phone number
Address: Credit card registered address
City: Credit card registered city
State: Credit card registered state
PostCode: Credit card registered postcode
Country: Credit card registered country

Request example data

{
  "key": "Y2MwYjE4NzcxM2Q1MTg0MmY4ZDMyYTQ3YjQ3MjA2NzVjNThjM2VmMA==",
  "pass": "MDMzZDliZjc3MTEzZGE3YjgzNTQ3ODZkMTAzYjRiYTA2ZTJhOTkyOQ==",
  "action": "charge",
  "bookingId": 524,
  "paymentAuto": 1,
  "creditCard": {
    "CCNumber": "4242424242424242",
    "NameOnCard": "Name Surname",
    "Expiration": "12\/2025",
    "CVC": 123,
    "FirstName": "Name",
    "LastName": "Surname",
    "Phone": 123456789,
    "Address": "Address",
    "City": "City",
    "State": "State",
    "PostCode": 12345,
    "Country": "US"
  }
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "bookingId": 524,
    "paymentId": 123,
    "paymentAmount": 1000
  }
}

Error example data

{
  "status": 111,
  "message": "Payment is not succeed, please examine: Transaction processing terminated. Please try again later. (38)"
}
{
  "status": 112,
  "message": "Payment is not succeed, Payment with 3d secure credit card is not supported in API."
}

Add Credit Card Information To A Booking

Here is sample request and response data in adding credit card information to a booking

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (addcreditcard).
bookingId Integer Booking's ID.
CCNumber String Credit card number is often the 15- or 16-digit number.
NameOnCard String The name on the credit card.
Expiration String Expiration month / year on the card (format: MM/YYYY).
CVC String Card verification code.
FirstName String First name.
LastName String Last name.
Phone String Credit card registered phone number
Address String Credit card registered address.
City String Credit card registered city.
State String Credit card registered state.
PostCode String Credit card registered postcode.
Country String Credit card registered country.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "addcreditcard",
  "bookingId": 10001,
  "CCNumber": 4242424242424242,
  "NameOnCard": "Name Surname",
  "Expiration": "12\/2025",
  "CVC": 123,
  "FirstName": "Name",
  "LastName": "Surname",
  "Phone": 123456789,
  "Address": "Address",
  "City": "City",
  "State": "State",
  "PostCode": 12345,
  "Country": "US"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "bookingId": "101"
  }
}

Cancel A Booking

Here is sample request and response data in canceling a booking.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (cancel).
bookingId Integer Booking's ID.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "cancel",
  "bookingId": 2292
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "bookingId": 2292
  }
}

Get Property Payment Methods

Here is sample request and response data in getting property payment methods.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getpayment).
propertyId Integer Property's ID.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "getpayment",
  "propertyId": 7
}

Response data

{
  "status": 0,
  "message": "Success",
  "data": {
    "cash": {
      "method": "cash",
      "detail": "Text description"
    },
    "stripe": {
      "method": "stripe",
      "detail": "Text description",
      "secret_key": "API Secret Key",
      "publishable_key": "API Publishable Key"
    },
    "paypal": {
      "method": "paypal",
      "detail": "Text description",
      "email": "Paypal Email"
    },
    "authorize": {
      "method": "authorize",
      "detail": "Text description",
      "apiloginid": "API Login ID",
      "transactionkey": "Transaction Key"
    }
  }
}

Get A Temporary Booking Information

Here is sample request and response data in getting temporary booking information.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getinfo).
propertyId Integer Property's ID.
numberofadults Integer Number of adult.
numberofchildren Integer Number of children (optional).
checkin String Check-in date (YYYY-MM-DD).
checkout String Check-out date (YYYY-MM-DD).
service Array List of services (optional). If no service is sent this time, default service will be used in generating booking information.
currency String Currency code (optional). If no currency is sent this time, default currency will be used in generating booking information.
csaDamageProtection Integer CSA damage protection (optional). 1: Using service, 0: Not using service.(For US-bassed users only)
csaTravelInsurance Integer CSA Travel Insurance (optional). 1: Using service, 0: Not using service.(For US-bassed users only)
promotionCode String Promotion Code (optional)

Service data

Name Type Description
name String Service name.
applicable Integer Applicable options: 1. Per stay (default), 2. Per night, 3. Per occupant, 4. Per occupant per night. If this parameter is not posted, default value will be 1.
amount Float Service amount.
type Integer 1 is fixed price, 2 is percent. Percent value is calculated based on total rent.
unit Integer Service unit (optional). Default is 1.
taxes Array List of service taxes (optional).

Service taxes data

Name Type Description
name String Tax name.
perc String Tax percent value.

Request example data

{
  "key": "Y2MwYjE4NzcxM2Q1MTg0MmY4ZDMyYTQ3YjQ3MjA2NzVjNThjM2VmMA==",
  "pass": "MDMzZDliZjc3MTEzZGE3YjgzNTQ3ODZkMTAzYjRiYTA2ZTJhOTkyOQ==",
  "propertyId": "23",
  "action": "getinfo",
  "checkin": "2021-11-01",
  "checkout": "2021-11-10",
  "numberofadults": 3,
  "currency": "EUR",
  "promotionCode": "PC50USD"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "totalRent": 758.09,
    "taxTotal": 64.02,
    "serviceTotal": 70.41651,
    "discountTotal": 117.9249,
    "grandTotal": 774.60161,
    "damageDeposit": 168.4636,
    "qtyofnights": 9,
    "minNightlyPrice": 80,
    "maxNightlyPrice": 118.09,
    "nightlyPriceDetail": {
      "2021-11-01": 80,
      "2021-11-02": 80,
      "2021-11-03": 80,
      "2021-11-04": 80,
      "2021-11-05": 80,
      "2021-11-06": 80,
      "2021-11-07": 80,
      "2021-11-08": 80,
      "2021-11-09": 118.09
    },
    "propertyName": "Test A",
    "propertyId": 23,
    "checkin": "2021-11-01 16:00:00",
    "checkout": "2021-11-10 11:00:00",
    "createdDate": null,
    "cancellationDate": null,
    "numberofadults": 3,
    "numberofchildren": 0,
    "minimumStay": 1,
    "currency": "EUR",
    "tax": [
      {
        "name": "T1",
        "amount": 64.02
      }
    ],
    "service": [
      {
        "name": "Service 1",
        "amount": 64.01651,
        "taxAmount": 6.4
      }
    ],
    "discount": [
      {
        "name": "Discount 10%",
        "amount": 75.809
      },
      {
        "name": "Promo Code 50 USD",
        "amount": 42.1159,
        "promotion_code": "PC50USD"
      }
    ],
    "nextPaymentAmount": 274.32,
    "nextPaymentDueDate": "2021-10-01",
    "paymentSchedule": [
      {
        "paymentAmount": 274.32,
        "paymentDueDate": "2021-10-01"
      },
      {
        "paymentAmount": 1319.26,
        "paymentDueDate": "2021-10-15"
      }
    ]
  }
}

Get Multiple Temporary Booking Information

This api work same as booking information api, the different is the property id parameter that can be sent as multiple data, returned data are each status, message and property booking information.
Here is sample request and response data in getting multiple temporary booking information.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getmultipleinfo).
propertyId Integer
Array
Property's ID.
Property's ID can be sent as array or a string separating each property id by a comma.
numberofadults Integer Number of adult.
numberofchildren Integer Number of children (optional).
checkin String Check-in date (YYYY-MM-DD).
checkout String Check-out date (YYYY-MM-DD).
service Array List of services (optional). If no service is sent this time, default service will be used in generating booking information.
currency String Currency code (optional). If no currency is sent this time, default currency will be used in generating booking information.
csaDamageProtection Integer CSA damage protection (optional). 1: Using service, 0: Not using service.(For US-bassed users only)
csaTravelInsurance Integer CSA Travel Insurance (optional). 1: Using service, 0: Not using service.(For US-bassed users only)
promotionCode String Promotion Code (optional)

Service data

Name Type Description
name String Service name.
applicable Integer Applicable options: 1. Per stay (default), 2. Per night, 3. Per occupant, 4. Per occupant per night. If this parameter is not posted, default value will be 1.
amount Float Service amount.
type Integer 1 is fixed price, 2 is percent. Percent value is calculated based on total rent.
unit Integer Service unit (optional). Default is 1.
taxes Array List of service taxes (optional).

Service taxes data

Name Type Description
name String Tax name.
perc String Tax percent value.

Request example data

{
  "key": "Y2MwYjE4NzcxM2Q1MTg0MmY4ZDMyYTQ3YjQ3MjA2NzVjNThjM2VmMA==",
  "pass": "MDMzZDliZjc3MTEzZGE3YjgzNTQ3ODZkMTAzYjRiYTA2ZTJhOTkyOQ==",
  "propertyId": "23,24,25",
  "action": "getmultipleinfo",
  "checkin": "2021-11-01",
  "checkout": "2021-11-10",
  "numberofadults": 3,
  "currency": "EUR",
  "promotionCode": "PC50USD"
}

Response example data, each property booking information format is: booking_info_property_[property_id]: {"status": 0, "message": "Success", "data": { .. }

{
  "status": 0,
  "message": "Success",
  "data": {
    "property_23": {
      "status": 0,
      "message": "Success",
      "data": {
        "totalRent": 758.09,
        "taxTotal": 64.02,
        "serviceTotal": 70.41651,
        "discountTotal": 117.9249,
        "grandTotal": 774.60161,
        "damageDeposit": 168.4636,
        "qtyofnights": 9,
        "minNightlyPrice": 80,
        "maxNightlyPrice": 118.09,
        "nightlyPriceDetail": {
          "2021-11-01": 80,
          "2021-11-02": 80,
          "2021-11-03": 80,
          "2021-11-04": 80,
          "2021-11-05": 80,
          "2021-11-06": 80,
          "2021-11-07": 80,
          "2021-11-08": 80,
          "2021-11-09": 118.09
        },
        "propertyName": "Test A ",
        "propertyId": 23,
        "checkin": "2021-11-01 16:00:00",
        "checkout": "2021-11-10 11:00:00",
        "createdDate": null,
        "cancellationDate": null,
        "numberofadults": 3,
        "numberofchildren": 0,
        "minimumStay": 1,
        "currency": "EUR",
        "tax": [
          {
            "name": "T1",
            "amount": 64.02
          }
        ],
        "service": [
          {
            "name": "Service 1",
            "amount": 64.01651,
            "taxAmount": 6.4
          }
        ],
        "discount": [
          {
            "name": "Discount 10%",
            "amount": 75.809
          },
          {
            "name": "Promo Code 50 USD",
            "amount": 42.1159,
            "promotion_code": "PC50USD"
          }
        ],
        "nextPaymentAmount": 274.32,
        "nextPaymentDueDate": "2021-10-01",
        "paymentSchedule": [
          {
            "paymentAmount": 274.32,
            "paymentDueDate": "2021-10-01"
          },
          {
            "paymentAmount": 1319.26,
            "paymentDueDate": "2021-10-15"
          }
        ]
      }
    },
    "property_24": {
      "status": 8,
      "message": "The requested dates are not available."
    },
    "property_25": {
      "status": 0,
      "message": "Success",
      "data": {
        "totalRent": 758.09,
        "taxTotal": 64.02,
        "serviceTotal": 70.41651,
        "discountTotal": 117.9249,
        "grandTotal": 774.60161,
        "damageDeposit": 168.4636,
        "qtyofnights": 9,
        "minNightlyPrice": 80,
        "maxNightlyPrice": 118.09,
        "nightlyPriceDetail": {
          "2021-11-01": 80,
          "2021-11-02": 80,
          "2021-11-03": 80,
          "2021-11-04": 80,
          "2021-11-05": 80,
          "2021-11-06": 80,
          "2021-11-07": 80,
          "2021-11-08": 80,
          "2021-11-09": 118.09
        },
        "propertyName": "Test B",
        "propertyId": 23,
        "checkin": "2021-11-01 16:00:00",
        "checkout": "2021-11-10 11:00:00",
        "numberofadults": 3,
        "numberofchildren": 0,
        "minimumStay": 1,
        "currency": "EUR",
        "tax": [
          {
            "name": "T1",
            "amount": 64.02
          }
        ],
        "service": [
          {
            "name": "Service 1",
            "amount": 64.01651,
            "taxAmount": 6.4
          }
        ],
        "discount": [
          {
            "name": "Discount 10%",
            "amount": 75.809
          },
          {
            "name": "Promo Code 50 USD",
            "amount": 42.1159,
            "promotion_code": "PC50USD"
          }
        ],
        "nextPaymentAmount": 274.32,
        "nextPaymentDueDate": "2021-10-01",
        "paymentSchedule": [
          {
            "paymentAmount": 274.32,
            "paymentDueDate": "2021-10-01"
          },
          {
            "paymentAmount": 1319.26,
            "paymentDueDate": "2021-10-15"
          }
        ]
      }
    }
  }
}

Get Tax List

Here is sample request and response data in getting tax list.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (gettax).
propertyId Integer Property's ID.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "propertyId": 21,
  "action": "gettax"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": [
    {
      "name": "Tax",
      "amount": 7,
      "def": 1,
      "type": 2,
      "calculationType": 1
    },
    {
      "name": "VAT",
      "amount": 10,
      "def": 1,
      "type": 2,
      "calculationType": 1
    },
    {
      "name": "Flat",
      "amount": 20,
      "def": 0,
      "type": 1,
      "calculationType": 1
    }
  ]
}

Get Service List

Here is sample request and response data in getting service list.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getservice).
propertyId Integer Property's ID.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "propertyId": 7,
  "action": "getservice"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": [
    {
      "name": "Service 1",
      "amount": 120,
      "def": 0,
      "type": 1
    },
    {
      "name": "Service 2",
      "amount": 10,
      "def": 1,
      "type": 2
    },
    {
      "name": "Service 3",
      "amount": 120,
      "def": 0,
      "type": 1,
      "taxes": [
        {
          "name": "Service Tax 1",
          "perc": 10
        }
      ]
    }
  ]
}

Get Property Info

Here is sample request and response data in getting property info with permission.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getproperty).
propertyId Integer Property's ID.

Request example data

{
  "key": "ZjY2MzdlN2FlNDNjYTMzNjRiZjYzNzhmNzg0ZTgwM2NiZjBiZWY0OQ==",
  "pass": "NTk2NmQ5NWUyZDM0N2I3NmZiMGJjZDU3N2U1ZjQ5ZGQyNjUzZGY0NA==",
  "propertyId": 1,
  "action": "getproperty"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": [
    {
      "id": "1",
      "name": "Fred_villas",
      "address": "LLQ",
      "city": "HCM",
      "postcode": "7000000",
      "state": "12",
      "country": "AU",
      "phone": "",
      "taxid": "",
      "brief": "English",
      "bedroom": 0,
      "bathroom": 1,
      "lat": 0,
      "long": 0
    }
  ]
}

Get Properties List

Here is sample request and response data in getting properties list with permission.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getpropertieslist).
brandId Integer Brand's ID.(optional)
Only using for the accounts integrates multi-website.

Request example data

{
  "key": "ZjY2MzdlN2FlNDNjYTMzNjRiZjYzNzhmNzg0ZTgwM2NiZjBiZWY0OQ==",
  "pass": "NTk2NmQ5NWUyZDM0N2I3NmZiMGJjZDU3N2U1ZjQ5ZGQyNjUzZGY0NA==",
  "action": "getpropertieslist",
  "brandId": 1
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": [
    {
      "id": "34",
      "name": "123Manh"
    },
    {
      "id": "12",
      "name": "A1"
    },
    {
      "id": "30",
      "name": "AnhTran Listing 01"
    },
    {
      "id": "29",
      "name": "AnhTran Listing 02"
    },
    {
      "id": "28",
      "name": "AnhTran Testing 01"
    },
    {
      "id": "1",
      "name": "Fred_villas"
    },
    {
      "id": "2",
      "name": "House 1"
    },
    {
      "id": "5",
      "name": "House 4"
    },
    {
      "id": "6",
      "name": "House 5"
    },
    {
      "id": "8",
      "name": "House 7"
    },
    {
      "id": "9",
      "name": "House 9"
    },
    {
      "id": "17",
      "name": "Live RU_1 Clone 3"
    },
    {
      "id": "24",
      "name": "manhTesst"
    },
    {
      "id": "33",
      "name": "Manuel tesssss"
    },
    {
      "id": "18",
      "name": "Nguy\u1ec5n Ho\u00e0ng Minh"
    },
    {
      "id": "22",
      "name": "P1"
    },
    {
      "id": "27",
      "name": "P2"
    },
    {
      "id": "32",
      "name": "P3"
    },
    {
      "id": "10",
      "name": "phuoc"
    },
    {
      "id": "4",
      "name": "Phuoc 5A1"
    },
    {
      "id": "23",
      "name": "phuoctest"
    },
    {
      "id": "31",
      "name": "Property 10"
    },
    {
      "id": "13",
      "name": "Test"
    },
    {
      "id": "15",
      "name": "Test 1"
    },
    {
      "id": "26",
      "name": "Test AM"
    },
    {
      "id": "21",
      "name": "Test amenity"
    },
    {
      "id": "25",
      "name": "testRate"
    }
  ]
}

Get Property Calendar

Here is sample request and response data in getting property calendar with permission.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getpropertycalendar).
propertyId Integer Property's ID.

Request example data

{
  "key": "ZjY2MzdlN2FlNDNjYTMzNjRiZjYzNzhmNzg0ZTgwM2NiZjBiZWY0OQ==",
  "pass": "NTk2NmQ5NWUyZDM0N2I3NmZiMGJjZDU3N2U1ZjQ5ZGQyNjUzZGY0NA==",
  "propertyId": 4,
  "action": "getpropertycalendar"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    {
      "date": "2021-09-01",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-02",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-03",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-04",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-05",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-06",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-07",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-08",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-09",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-10",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-11",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-12",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-13",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-14",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-15",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-16",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-17",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-18",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-19",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-20",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-21",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-22",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-23",
      "availability": "false",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-24",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-25",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-26",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-27",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-28",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-29",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-09-30",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-01",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-02",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-03",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-04",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-05",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-06",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-07",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-08",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-09",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-10",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-11",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-12",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-13",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-14",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-15",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-16",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-17",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-18",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-19",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-20",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-21",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-22",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-23",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-24",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-25",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-26",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-27",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-28",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-29",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-30",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-10-31",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-01",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-02",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-03",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-04",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-05",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-06",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-07",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-08",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-09",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-10",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-11",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-12",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-13",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-14",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-15",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-16",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-17",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-18",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-19",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-20",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-21",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-22",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-23",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-24",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-25",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-26",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-27",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-28",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-29",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-11-30",
      "availability": "true",
      "currency": "USD",
      "price": 30,
      "weekly_price": 210,
      "monthly_price": 900,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-01",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-02",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-03",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-04",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-05",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-06",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-07",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-08",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-09",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-10",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-11",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-12",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-13",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-14",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-15",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-16",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-17",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-18",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-19",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-20",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-21",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-22",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-23",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-24",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-25",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-26",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-27",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-28",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-29",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-30",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    },
    {
      "date": "2021-12-31",
      "availability": "true",
      "currency": "USD",
      "price": 12,
      "weekly_price": 10,
      "monthly_price": 360,
      "guest_price": 15,
      "guest_weekly_price": 105,
      "guest_monthly_price": 450,
      "minimumstay": 1,
      "check_in_out_type": 4
    }
  }
}

Get Booking List

Here is sample request and response data in getting list booking.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (listbooking).
userId Integer User's ID (optional). This id is referred to "Add a user" Api.
bookingId Integer Booking's ID (optional).
propertyId Integer Property's ID (optional).
brandId Integer Brand's ID.(optional)
Only using for the accounts integrates multi-website.
page Integer Page number (optional).
limit Integer Limit value (optional), default is 10.
checkin String Filter check-in date (YYYY-MM-DD) (optional).
checkout String Filter check-out date (YYYY-MM-DD) (optional).
keyword String Key word searching (optional). Keyword is used for searching party name and email.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "listbooking",
  "userId": 1
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "totalRecords": 2,
    "listBooking": [
      {
        "bookingId": 58,
        "firstName": "Test",
        "lastName": "Api",
        "fullName": "Test Api",
        "email": "[email protected]",
        "birthday": "",
        "phone1": "",
        "phone2": "",
        "address": "",
        "country": "US",
        "fiscal_code": "",
        "other": "TEST",
        "agreeTermNote": "Note",
        "managerNote": "Manager note",
        "ownerBook": 0,
        "leadsourceId": 11,
        "totalRent": 700,
        "taxTotal": 70,
        "serviceTotal": 348,
        "grandTotal": 1118,
        "damageDeposit": 1000,
        "qtyofnights": 7,
        "minNightlyPrice": 100,
        "maxNightlyPrice": 100,
        "nightlyPriceDetail": {
          "2017-05-10": 100,
          "2017-05-11": 100,
          "2017-05-12": 100,
          "2017-05-13": 100,
          "2017-05-14": 100,
          "2017-05-15": 100,
          "2017-05-16": 100
        },
        "propertyName": "Property 2",
        "propertyId": 7,
        "checkin": "2017-05-10 17:00:00",
        "checkout": "2017-05-17 10:00:00",
        "createdDate": "2017-11-01 01:05:35",
        "cancellationDate": null,
        "numberofadults": 3,
        "numberofchildren": 0,
        "tax": [
          {
            "name": "Tax 1",
            "amount": 70
          }
        ],
        "service": [
          {
            "name": "Service 1",
            "amount": 180,
            "taxAmount": 18
          },
          {
            "name": "Service 2",
            "amount": 80,
            "taxAmount": 0
          },
          {
            "name": "Service 3",
            "amount": 70,
            "taxAmount": 0
          }
        ]
      },
      {
        "bookingId": 57,
        "firstName": "Test",
        "lastName": "Api",
        "fullName": "Test Api",
        "email": "[email protected]",
        "phone1": "",
        "phone2": "",
        "agreeTermNote": "Note",
        "managerNote": "Manager note",
        "ownerBook": 0,
        "leadsourceId": 11,
        "totalRent": 600,
        "taxTotal": 60,
        "serviceTotal": 338,
        "grandTotal": 998,
        "damageDeposit": 1000,
        "qtyofnights": 6,
        "minNightlyPrice": 100,
        "maxNightlyPrice": 100,
        "nightlyPriceDetail": {
          "2017-05-01": 100,
          "2017-05-02": 100,
          "2017-05-03": 100,
          "2017-05-04": 100,
          "2017-05-05": 100,
          "2017-05-06": 100
        },
        "propertyName": "Property 2",
        "propertyId": 7,
        "checkin": "2017-05-01 17:00:00",
        "checkout": "2017-05-07 10:00:00",
        "createdDate": "2017-11-01 01:05:35",
        "cancellationDate": null,
        "numberofadults": 3,
        "numberofchildren": 0,
        "tax": [
          {
            "name": "Tax 1",
            "amount": 60
          }
        ],
        "service": [
          {
            "name": "Service 1",
            "amount": 180,
            "taxAmount": 18
          },
          {
            "name": "Service 2",
            "amount": 80,
            "taxAmount": 0
          },
          {
            "name": "Service 3",
            "amount": 60,
            "taxAmount": 0
          }
        ]
      }
    ]
  }
}

Get Block dates List

Here is sample request and response data in getting list blocked dates.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getblockdates).
propertyId Integer Property's ID (optional).
startDate String Filter start date (YYYY-MM-DD) (optional).
endDate String Filter end date (YYYY-MM-DD) (optional).

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "propertyId": "1",
  "action": "getblockdates",
  "startDate": "2020-01-01",
  "endDate": "2020-12-31"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": [
    {
      "id": "23",
      "property_id": "1",
      "memo": "Test",
      "startDate": "2020-01-07",
      "endDate": "2020-01-07",
      "createdDate": "2020-01-07"
    },
    {
      "id": "72",
      "property_id": "1",
      "memo": "Test",
      "startDate": "2020-08-03",
      "endDate": "2020-08-04",
      "createdDate": "2020-08-03"
    }
  ]
}

Add a user

Here is sample request and response data in adding a user.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (adduser).
email String Email address.
password String Password (Minimum 6 characters).
name String User's name.
company String User's company (optional).
address String User's address (optional).
country String User's country (optional), default is US. Please see country list for more information.
phone1 String Phone number 1 (optional).
phone2 String Phone number 2 (optional).

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "adduser",
  "email": "[email protected]",
  "password": "p123456",
  "name": "My Name",
  "company": "Company name",
  "address": "Address detail",
  "country": "US",
  "phone1": "+1 234 567 891",
  "phone2": "+1 987 654 321"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "userId": 1,
    "email": "[email protected]",
    "name": "My Name",
    "company": "Company name",
    "address": "Address detail",
    "country": "US",
    "phone1": "+1 234 567 891",
    "phone2": "+1 987 654 321"
  }
}

Update a user

Here is sample request and response data in updating a user.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (updateuser).
userId Integer User's ID.
email String Email address (optional).
password String Password (Minimum 6 characters) (optional). If password is not presented, password will not change.
name String User's name (optional).
company String User's company (optional).
address String User's address (optional).
country String User's country (optional), default is US. Please see country list for more information.
phone1 String Phone number 1 (optional).
phone2 String Phone number 2 (optional).

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "updateuser",
  "userId": 1,
  "name": "New Name",
  "address": "Update address",
  "country": "FR",
  "phone1": "+33 124 653 333",
  "phone2": "+33 441 233 443"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "userId": 1,
    "email": "[email protected]",
    "name": "New Name",
    "company": "Company name",
    "address": "Update address",
    "country": "FR",
    "phone1": "+33 124 653 333",
    "phone2": "+33 441 233 443"
  }
}

Login

Here is sample request and response data in logging facebook user.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (usefacebookuser).
email String Email address. If email is already registered, system will return current user data.
name String User's name.
locale String Facebook locale data. Locale will be converted into country for user.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "usefacebookuser",
  "email": "[email protected]",
  "name": "New Name",
  "locale": "fr_FR"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "userId": 1,
    "email": "[email protected]",
    "name": "New Name",
    "company": "Company name",
    "address": "Update address",
    "country": "FR",
    "phone1": "+33 124 653 333",
    "phone2": "+33 441 233 443"
  }
}

Get country list

Here is sample request and response data in getting list country.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (listcountry).

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "listcountry"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "AF": "Afghanistan",
    "AL": "Albania",
    "DZ": "Algeria",
    "AS": "American Samoa",
    "AD": "Andorra",
    "AO": "Angola",
    "AI": "Anguilla",
    "AQ": "Antarctica",
    "AG": "Antigua and Barbuda",
    "AR": "Argentina",
    "AM": "Armenia",
    "AW": "Aruba",
    "AU": "Australia",
    "AT": "Austria",
    "AZ": "Azerbaijan",
    "BS": "Bahamas",
    "BH": "Bahrain",
    "BD": "Bangladesh",
    "BB": "Barbados",
    "BY": "Belarus",
    "BE": "Belgium",
    "BZ": "Belize",
    "BJ": "Benin",
    "BM": "Bermuda",
    "BT": "Bhutan",
    "BO": "Bolivia",
    "BQ": "Bonaire, Sint Eustatius and Saba",
    "BA": "Bosnia and Herzegovina",
    "BW": "Botswana",
    "BV": "Bouvet Island",
    "BR": "Brazil",
    "IO": "British Indian Ocean Territory",
    "VG": "British Virgin Islands",
    "BN": "Brunei",
    "BG": "Bulgaria",
    "BF": "Burkina Faso",
    "BI": "Burundi",
    "KH": "Cambodia",
    "CM": "Cameroon",
    "CA": "Canada",
    "CT": "Canton and Enderbury Islands",
    "CV": "Cape Verde",
    "KY": "Cayman Islands",
    "CF": "Central African Republic",
    "TD": "Chad",
    "CL": "Chile",
    "CN": "China",
    "CX": "Christmas Island",
    "CC": "Cocos [Keeling] Islands",
    "CO": "Colombia",
    "KM": "Comoros",
    "CG": "Congo - Brazzaville",
    "CD": "Congo - Kinshasa",
    "CK": "Cook Islands",
    "CR": "Costa Rica",
    "HR": "Croatia",
    "CU": "Cuba",
    "CY": "Cyprus",
    "CZ": "Czech Republic",
    "CI": "C\u00f4te d\u2019Ivoire",
    "DK": "Denmark",
    "DJ": "Djibouti",
    "DM": "Dominica",
    "DO": "Dominican Republic",
    "NQ": "Dronning Maud Land",
    "DD": "East Germany",
    "EC": "Ecuador",
    "EG": "Egypt",
    "SV": "El Salvador",
    "GQ": "Equatorial Guinea",
    "ER": "Eritrea",
    "EE": "Estonia",
    "ET": "Ethiopia",
    "QU": "European Union",
    "FK": "Falkland Islands",
    "FO": "Faroe Islands",
    "FJ": "Fiji",
    "FI": "Finland",
    "FR": "France",
    "GF": "French Guiana",
    "PF": "French Polynesia",
    "TF": "French Southern Territories",
    "FQ": "French Southern and Antarctic Territories",
    "GA": "Gabon",
    "GM": "Gambia",
    "GE": "Georgia",
    "DE": "Germany",
    "GH": "Ghana",
    "GI": "Gibraltar",
    "GR": "Greece",
    "GL": "Greenland",
    "GD": "Grenada",
    "GP": "Guadeloupe",
    "GU": "Guam",
    "GT": "Guatemala",
    "GG": "Guernsey",
    "GN": "Guinea",
    "GW": "Guinea-Bissau",
    "GY": "Guyana",
    "HT": "Haiti",
    "HM": "Heard Island and McDonald Islands",
    "HN": "Honduras",
    "HK": "Hong Kong SAR China",
    "HU": "Hungary",
    "IS": "Iceland",
    "IN": "India",
    "ID": "Indonesia",
    "IR": "Iran",
    "IQ": "Iraq",
    "IE": "Ireland",
    "IM": "Isle of Man",
    "IL": "Israel",
    "IT": "Italy",
    "JM": "Jamaica",
    "JP": "Japan",
    "JE": "Jersey",
    "JT": "Johnston Island",
    "JO": "Jordan",
    "KZ": "Kazakhstan",
    "KE": "Kenya",
    "KI": "Kiribati",
    "KW": "Kuwait",
    "KG": "Kyrgyzstan",
    "LA": "Laos",
    "LV": "Latvia",
    "LB": "Lebanon",
    "LS": "Lesotho",
    "LR": "Liberia",
    "LY": "Libya",
    "LI": "Liechtenstein",
    "LT": "Lithuania",
    "LU": "Luxembourg",
    "MO": "Macau SAR China",
    "MK": "Macedonia",
    "MG": "Madagascar",
    "MW": "Malawi",
    "MY": "Malaysia",
    "MV": "Maldives",
    "ML": "Mali",
    "MT": "Malta",
    "MH": "Marshall Islands",
    "MQ": "Martinique",
    "MR": "Mauritania",
    "MU": "Mauritius",
    "YT": "Mayotte",
    "FX": "Metropolitan France",
    "MX": "Mexico",
    "FM": "Micronesia",
    "MI": "Midway Islands",
    "MD": "Moldova",
    "MC": "Monaco",
    "MN": "Mongolia",
    "ME": "Montenegro",
    "MS": "Montserrat",
    "MA": "Morocco",
    "MZ": "Mozambique",
    "MM": "Myanmar [Burma]",
    "NA": "Namibia",
    "NR": "Nauru",
    "NP": "Nepal",
    "NL": "Netherlands",
    "AN": "Netherlands Antilles",
    "NT": "Neutral Zone",
    "NC": "New Caledonia",
    "NZ": "New Zealand",
    "NI": "Nicaragua",
    "NE": "Niger",
    "NG": "Nigeria",
    "NU": "Niue",
    "NF": "Norfolk Island",
    "KP": "North Korea",
    "VD": "North Vietnam",
    "MP": "Northern Mariana Islands",
    "NO": "Norway",
    "OM": "Oman",
    "QO": "Outlying Oceania",
    "PC": "Pacific Islands Trust Territory",
    "PK": "Pakistan",
    "PW": "Palau",
    "PS": "Palestinian Territories",
    "PA": "Panama",
    "PZ": "Panama Canal Zone",
    "PG": "Papua New Guinea",
    "PY": "Paraguay",
    "YD": "People's Democratic Republic of Yemen",
    "PE": "Peru",
    "PH": "Philippines",
    "PN": "Pitcairn Islands",
    "PL": "Poland",
    "PT": "Portugal",
    "PR": "Puerto Rico",
    "QA": "Qatar",
    "RO": "Romania",
    "RU": "Russia",
    "RW": "Rwanda",
    "RE": "R\u00e9union",
    "BL": "Saint Barth\u00e9lemy",
    "SH": "Saint Helena",
    "KN": "Saint Kitts and Nevis",
    "LC": "Saint Lucia",
    "MF": "Saint Martin",
    "PM": "Saint Pierre and Miquelon",
    "VC": "Saint Vincent and the Grenadines",
    "WS": "Samoa",
    "SM": "San Marino",
    "SA": "Saudi Arabia",
    "SN": "Senegal",
    "RS": "Serbia",
    "CS": "Serbia and Montenegro",
    "SC": "Seychelles",
    "SL": "Sierra Leone",
    "SG": "Singapore",
    "SK": "Slovakia",
    "SI": "Slovenia",
    "SB": "Solomon Islands",
    "SO": "Somalia",
    "ZA": "South Africa",
    "GS": "South Georgia and the South Sandwich Islands",
    "KR": "South Korea",
    "ES": "Spain",
    "LK": "Sri Lanka",
    "SD": "Sudan",
    "SR": "Suriname",
    "SJ": "Svalbard and Jan Mayen",
    "SZ": "Swaziland",
    "SE": "Sweden",
    "CH": "Switzerland",
    "SY": "Syria",
    "ST": "S\u00e3o Tom\u00e9 and Pr\u00edncipe",
    "TW": "Taiwan",
    "TJ": "Tajikistan",
    "TZ": "Tanzania",
    "TH": "Thailand",
    "TL": "Timor-Leste",
    "TG": "Togo",
    "TK": "Tokelau",
    "TO": "Tonga",
    "TT": "Trinidad and Tobago",
    "TN": "Tunisia",
    "TR": "Turkey",
    "TM": "Turkmenistan",
    "TC": "Turks and Caicos Islands",
    "TV": "Tuvalu",
    "UM": "U.S. Minor Outlying Islands",
    "PU": "U.S. Miscellaneous Pacific Islands",
    "VI": "U.S. Virgin Islands",
    "UG": "Uganda",
    "UA": "Ukraine",
    "SU": "Union of Soviet Socialist Republics",
    "AE": "United Arab Emirates",
    "GB": "United Kingdom",
    "US": "United States",
    "UY": "Uruguay",
    "UZ": "Uzbekistan",
    "VU": "Vanuatu",
    "VA": "Vatican City",
    "VE": "Venezuela",
    "VN": "Vietnam",
    "WK": "Wake Island",
    "WF": "Wallis and Futuna",
    "EH": "Western Sahara",
    "YE": "Yemen",
    "ZM": "Zambia",
    "ZW": "Zimbabwe"
  }
}

Get default settings

Here is sample request and response data in getting default settings.

Request data

URL: https://secure.365villas.com/vros/api/default-config/owner_token/OWNER_TOKEN

Method: GET

Name Type Description
owner_token String Owner token is obtained inside 365 panel.

Request example data

https://secure.365villas.com/vros/api/default-config/owner_token/3f40a7e8cee1f50c5b3401cc17f1f452f27a3ace

Response data

Name Type Description
support_language Array List of supported languages in 365
default_limit Integer Default limit in getting properties via Get Property Api.
searchconfig Array Array options which are available in Get Property Api.
global_search_config Array Array options which are available in Get Property Api.
global_search_language Array Array languages which can be used as flexiable text in the search config options.
searchplugin Array Array option and color settings in the search config.
price_filter Array Array information to setting price filter, includes:
- enable: 0 / 1
- rate_type: This is the rate type (daily, weekly, monthly) which used for searching price in Get Property Api.
- minprice: All property min price. This min price is used in Get Property Api.
- maxprice: All property max price. This max price is used in Get Property Api.
- languages: Array price filter label with multi-languages.
currency_code String User currency code.
currency_symbol String User currency symbol.
rate_type String This is the rate type (daily, weekly, monthly) which used for searching price in Get Property Api.
use_enquire Integer This is a setting for identitying text: Enquire / Enquiry vs Inquire / Inquiry.
0 = Inquire / Inquiry.
1 = Enquire / Enquiry.
lead_source_list Array Lead source array which is used for marking identified lead source to a booking when you add a booking or edit a booking.
For example: "id": "4" means "Airbnb" mark. Please refer to the response example for more details.
bedroom Array This is minimum bedroom and maximum bedroom of the properties in the account.
city_list Array List of cities of properties in the account.

Response example data

{
  "support_languages": {
    "en": "English",
    "fr": "French",
    "de": "German",
    "it": "Italian",
    "es": "Spanish",
    "pt": "Portuguese",
    "nl": "Dutch",
    "other": "Other"
  },
  "default_limit": 10,
  "searchconfig": {
    "smoking": {
      "gs": 1,
      "enable": 1,
      "alias": "Smoking"
    },
    "pet": {
      "gs": 1,
      "enable": 1,
      "alias": "Pets"
    },
    "children": {
      "gs": 1,
      "enable": 1,
      "alias": "Childrenwelcome"
    },
    "airconditioner": {
      "gs": 0,
      "enable": 0,
      "alias": "Air Conditioning"
    },
    "parking": {
      "gs": 0,
      "enable": 0,
      "alias": "Offstreetparking"
    },
    "ocean": {
      "gs": 0,
      "enable": 0,
      "alias": "Ontheocean"
    }
  },
  "global_search_config": {
    "smoking": 1,
    "pet": 1,
    "children": 1,
    "airconditioner": 0,
    "parking": 0,
    "ocean": 0
  },
  "global_search_language": {
    "en": {
      "smoking": "Smoking",
      "pet": "Pets",
      "children": "Children welcome",
      "airconditioner": "Air Conditioned",
      "parking": "Off street parking",
      "ocean": "On the ocean",
      "searchterm": "Enter search term here1...",
      "category": "Category2"
    },
    "de": {
      "smoking": "Rauchen",
      "pet": "Haustiere",
      "children": "Kinder Willkommen",
      "airconditioner": "Klimatisiert",
      "parking": "Privater Parkplatz",
      "ocean": "Am Meer",
      "searchterm": "Suchbegriff hier eingeben a",
      "category": "Kategorie b"
    },
    "it": {
      "smoking": "Fumo",
      "pet": "Animale domestico",
      "children": "I bambini sono i benvenuti",
      "airconditioner": "Aria condizionata",
      "parking": "Parcheggio fuori strada",
      "ocean": "Sull'oceano",
      "searchterm": "Inserisci i termini di ricerca...",
      "category": "Categoria"
    },
    "fr": {
      "smoking": "Fumeur",
      "pet": "Animal de compagnie",
      "children": "Enfants bienvenus",
      "airconditioner": "Climatis\u00e9",
      "parking": "Stationnement hors voierie ",
      "ocean": "Sur l'Oc\u00e9an",
      "searchterm": "Entrez un crit\u00e8re de recherche ici...",
      "category": "Cat\u00e9gorie"
    },
    "pt": {
      "smoking": "Fumar",
      "pet": "Animal",
      "children": "Crian\u00e7as s\u00e3o bem-vindas",
      "airconditioner": "Ar condicionado",
      "parking": "Estacionamento na rua",
      "ocean": "No oceano",
      "searchterm": "Pesquise aqui...",
      "category": "Categoria"
    },
    "es": {
      "smoking": "Fumador",
      "pet": "Mascotas",
      "children": "Se aceptan ni\u00f1os",
      "airconditioner": "Aire Acondicionado",
      "parking": "Parking privado",
      "ocean": "En el mar",
      "searchterm": "Inserte criterios de b\u00fasqueda...",
      "category": "Categor\u00eda"
    },
    "nl": {
      "smoking": "Roken",
      "pet": "Pet",
      "children": "Kinderen welkom",
      "airconditioner": "Airconditioning",
      "parking": "Uit de straat parkeren",
      "ocean": "Op de oceaan",
      "searchterm": "Geef uw zoekterm in...",
      "category": "Categorie"
    }
  },
  "searchplugin": {
    "removed_header": 0,
    "removed_background": 0,
    "background_color": "#B8A7BF",
    "removed_properties_title": 0,
    "removed_short_description": 0,
    "removed_search_terms": 0,
    "hided_property_list": 0,
    "removed_search_property": 0,
    "background_search": "#28A4D5",
    "background_bed_color": "#2C815D",
    "background_computer_color": "#D57928",
    "background_bath_color": "#784C1E",
    "background_location_color": "#282BD5",
    "background_pet_color": "#28D5B5",
    "background_email_color": "#9FD528",
    "background_pricing_color": "#2874D5",
    "background_tooltip_color": "#F93939",
    "background_property_name_color": "#F5228F",
    "background_property_description_color": "#C7D528",
    "background_more_info_color": "#2863D5"
  },
  "price_filter": {
    "enable": 1,
    "rate_type": "weekly",
    "minprice": 700,
    "maxprice": 2100,
    "languages": {
      "en": "Price per week",
      "fr": "Prix par semaine",
      "de": "Preis pro Woche",
      "it": "Prezzo a settimana",
      "pt": "Pre\u00e7o por semana",
      "es": "Precio por semana",
      "nl": "Prijs per week"
    }
  },
  "currency_code": "USD",
  "currency_symbol": "$",
  "rate_type": "weekly",
  "use_enquire": 0,
  "availability_tab_calendar": 1,
  "lead_source_list": [
    {
      "id": 1,
      "name": "UNKNOWN"
    },
    {
      "id": 11,
      "name": "365Villas"
    },
    {
      "id": 14,
      "name": "9 Flats"
    },
    {
      "id": 16,
      "name": "Abritel"
    },
    {
      "id": 15,
      "name": "Agoda"
    },
    {
      "id": 4,
      "name": "Airbnb"
    },
    {
      "id": 8,
      "name": "Bookabach"
    },
    {
      "id": 2,
      "name": "Booking.com"
    },
    {
      "id": 17,
      "name": "Expedia"
    },
    {
      "id": 20,
      "name": "FeWo-direkt"
    },
    {
      "id": 6,
      "name": "Flipkey"
    },
    {
      "id": 7,
      "name": "Holidaylettings"
    },
    {
      "id": 3,
      "name": "HomeAway"
    },
    {
      "id": 10,
      "name": "Housetrip"
    },
    {
      "id": 19,
      "name": "Maui Owner Condos"
    },
    {
      "id": 21,
      "name": "Misterb&b"
    },
    {
      "id": 12,
      "name": "Spain Holiday"
    },
    {
      "id": 9,
      "name": "Stayz"
    },
    {
      "id": 5,
      "name": "Tripadvisor"
    },
    {
      "id": 22,
      "name": "VacationRentals"
    },
    {
      "id": 13,
      "name": "VRBO"
    },
    {
      "id": 18,
      "name": "Wimdu"
    },
    {
      "id": 160,
      "name": "Test 1"
    },
    {
      "id": 164,
      "name": "ppo"
    },
    {
      "id": 165,
      "name": "oo1"
    },
    {
      "id": 166,
      "name": "ppp"
    },
    {
      "id": 167,
      "name": "Test B1"
    }
  ],
  "bedroom": {
    "min": 0,
    "max": 10
  },
  "city_list": ["Aalsmeer","Abbeycwmhir","Aberdeen"]
}

Get banner photo

Here is sample request and response data in getting banner photo.

Request data

URL: https://secure.365villas.com/vros/api/banner-gallery/owner_token/OWNER_TOKEN

Method: GET

Name Type Description
owner_token String Owner token is obtained inside 365 panel.

Request example data

https://secure.365villas.com/vros/api/banner-gallery/owner_token/3f40a7e8cee1f50c5b3401cc17f1f452f27a3ace

Response data

It is the array list of banner photo links.

Response example data

["http:\/\/secure.365villas.com\/images\/placeholder_banner.jpg"]

Get property photo

Here is sample request and response data in getting property photo.

Request data

URL: https://secure.365villas.com/vros/api/property-gallery/owner_token/OWNER_TOKEN

Method: GET

Name Type Description
owner_token String Owner token is obtained inside 365 panel.
property_id Integer Property's ID (optional). If this param is empty, all property photo are returned.

Request example data

https://secure.365villas.com/vros/api/property-gallery/owner_token/3f40a7e8cee1f50c5b3401cc17f1f452f27a3ace

Response data

Name Type Description
property_gallery_[property_id] Integer The array key property_gallery_[property_id] for each property.
id Integer Photo id.
property_id Integer Property id.
type Integer Image type (1 = main image, 2 = normal image).
position Integer Photo position.
property_name String Property name.
link String Image link.
link_banner String Image link in banner format (1600 x 750).
link_small Integer Small image link id.
link_317_179 String Image link 317 x 179.
link_h_179 String Image link auto x 179.
link_thumbnail String Thumbnail link.

Response example data

{
  "property_gallery_1": [
    {
      "id": "79",
      "property_id": "1",
      "type": "1",
      "position": "1",
      "link": "https:\/\/secure.365villas.com\/getimage\/general.php?image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgEjjnNqfiDXvfgolOHzIBm8p3XhUfuhxLAeFCc6ocj5wfUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.jpg",
      "link_banner": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/nghthient1\/property\/gallery\/1\/20160712_002734_1600_750.jpg",
      "link_small": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=422&h=243&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgEjjnNqfiDXvfgolOHzIBm8p3XhUfuhxLAeFCc6ocj5wfUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.jpg",
      "link_317_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=317&h=179&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgEjjnNqfiDXvfgolOHzIBm8p3XhUfuhxLAeFCc6ocj5wfUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.jpg",
      "link_h_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?h=179&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgEjjnNqfiDXvfgolOHzIBm8p3XhUfuhxLAeFCc6ocj5wfUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.jpg",
      "link_thumbnail": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/nghthient1\/property\/gallery\/1\/thumbnail\/20160712_002734.png"
    },
    {
      "id": "80",
      "property_id": "1",
      "type": "2",
      "position": "2",
      "link": "https:\/\/secure.365villas.com\/getimage\/general.php?image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgFkT8cjudq3Ru7qyvqRicjAk0amC6amFa3O0ytmnZ6VyPUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.jpg",
      "link_banner": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/nghthient1\/property\/gallery\/1\/20160712_002807_1600_750.jpg",
      "link_small": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=422&h=243&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgFkT8cjudq3Ru7qyvqRicjAk0amC6amFa3O0ytmnZ6VyPUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.jpg",
      "link_317_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=317&h=179&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgFkT8cjudq3Ru7qyvqRicjAk0amC6amFa3O0ytmnZ6VyPUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.jpg",
      "link_h_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?h=179&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgFkT8cjudq3Ru7qyvqRicjAk0amC6amFa3O0ytmnZF4F8F96VyPUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.jpg",
      "link_thumbnail": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/nghthient1\/property\/gallery\/1\/thumbnail\/20160712_002807.png"
    },
    {
      "id": "81",
      "property_id": "1",
      "type": "2",
      "position": "3",
      "link": "https:\/\/secure.365villas.com\/getimage\/general.php?image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgHDgHJE%2Fth7q7wywUa3S0LVNoyqWzNqmXBUWgHruIECIvUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.png",
      "link_banner": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/nghthient1\/property\/gallery\/1\/20160712_002815_1600_750.png",
      "link_small": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=422&h=243&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgHDgHJE%2Fth7q7wywUa3S0LVNoyqWzNqmXBUWgHruIECIvUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.png",
      "link_317_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=317&h=179&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgHDgHJE%2Fth7q7wywUa3S0LVNoyqWzNqmXBUWgHruIECIvUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.png",
      "link_h_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?h=179&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgHDgHJE%2Fth7q7wywUa3S0LVNoyqWzNqmXBUWgHruIECIvUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.png",
      "link_thumbnail": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/nghthient1\/property\/gallery\/1\/thumbnail\/20160712_002815.png"
    },
    {
      "id": "87",
      "property_id": "1",
      "type": "2",
      "position": "4",
      "link": "https:\/\/secure.365villas.com\/getimage\/general.php?image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgGKtIyVZa6gGp2N0KraoRMl%2B103juWulP%2BXxx0qBpL7q%2FUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.png",
      "link_banner": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/nghthient1\/property\/gallery\/1\/20160712_004009_1600_750.png",
      "link_small": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=422&h=243&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgGKtIyVZa6gGp2N0KraoRMl%2B103juWulP%2BXxx0qBpL7q%2FUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.png",
      "link_317_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=317&h=179&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgGKtIyVZa6gGp2N0KraoRMl%2B103juWulP%2BXxx0qBpL7q%2FUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.png",
      "link_h_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?h=179&image=jjfZHagOW1ahJ6ZsyiRo9OVUnUC6bCKTtkw7BRhYQgGKtIyVZa6gGp2N0KraoRMl%2B103juWulP%2BXxx0qBpL7q%2FUiRIYxy8wtG972djSmfpotKI5wxLpo8aW0gocL1jcM.png",
      "link_thumbnail": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/nghthient1\/property\/gallery\/1\/thumbnail\/20160712_004009.png"
    }
  ]
}

Get amenity

Here is sample request and response data in getting amenity.

Request data

URL: https://secure.365villas.com/vros/api/property-amenity/owner_token/OWNER_TOKEN

Method: GET

Name Type Description
owner_token String Owner token is obtained inside 365 panel.
property_id Integer Property's ID (optional). If this param is empty, all property amenities are returned.
include Array This field is array and contain information that is attached to return data. Option: specificroomamenities. The list of specific room amenities will be returned.

Request example data

https://secure.365villas.com/vros/api/property-amenity/owner_token/3f40a7e8cee1f50c5b3401cc17f1f452f27a3ace

Response data

Name Type Description
property_amenity_[property_id] Integer The array key property_amenity_[property_id] for each property.
property_id Integer Property's ID.
name String Amenity name.
value Integer Value identify for each amenity.
languages Array Languages for each amenity.
qty Integer Quantity.
type Integer 1 = System amenity.
2 = Extra amenity.
default_name String Default name is used if amenity name is empty.
extra Array Extra amenity array.
useicon String This value identifies whether icon setting is used.
bedoption Integer 1 = The bedding arrangement never changes.
2 = Beds can be moved between rooms to suit guest requirements.
description String Property amenity description.
allowchildren String This field is a reflect data which is check / uncheck in the search engine page.
allowpet String This field is a reflect data which is check / uncheck in the search engine page.
allowsmoking String This field is a reflect data which is check / uncheck in the search engine page.

Response example data

{
  "property_amenity_21": {
    "amenity": [
      {
        "id": "327",
        "property_id": "21",
        "name": "Air Conditioning",
        "value": "10",
        "qty": null,
        "type": "1",
        "languages": {
          "fr": "1"
        },
        "class": "amenity-air-conditioned",
        "default_name": "Air Conditioning"
      },
      {
        "id": "328",
        "property_id": "21",
        "name": "CentralHeating",
        "value": "11",
        "qty": null,
        "type": "1",
        "languages": {
          "fr": "2"
        },
        "class": "amenity-central-heating",
        "default_name": "CentralHeating"
      }
    ],
    "extra": [
    ],
    "useicon": "none",
    "bedoption": "1",
    "description": "amenitydescription",
    "sleep": "5",
    "allowchildren": "0",
    "allowpet": "1",
    "allowsmoking": "0"
  }
}

List of category and property

Here is sample request and response data in getting category and property.

Request data

URL: https://secure.365villas.com/vros/api/property-category/owner_token/OWNER_TOKEN

Method: GET

Name Type Description
owner_token String Owner token is obtained inside 365 panel.
property_include Integer This is optional, Default is 0.
0 = Do not include properties into category list.
1 = Include properties into category list.
includeInvisibleProperty Integer 0 = Do not include the invisible properties - Default (optional).
1 = Include the invisible properties.
include Array This field is array and contain information that is attached to return data.
Options: gallery. If it's a category, a list of photo links attached to current category will be returned. If it's a property, the main photo link attached to current property will be returned.

Request example data

https://secure.365villas.com/vros/api/property-category/owner_token/3f40a7e8cee1f50c5b3401cc17f1f452f27a3ace

Response example data without property

[
  {
    "id": "1",
    "name": "Category1"
  },
  {
    "id": "2",
    "name": "Category2"
  }
]

Response example data with property

[
  {
    "id": "1",
    "name": "Category1",
    "properties": [
      {
        "id": "1",
        "name": "Myproperty1"
      }
    ]
  },
  {
    "id": "2",
    "name": "Category2",
    "properties": [
      {
        "id": "2",
        "name": "Myproperty2"
      },
      {
        "id": "3",
        "name": "Myproperty3"
      }
    ]
  }
]

Get property

Here is sample request and response data in getting property.

Request data

URL: https://secure.365villas.com/vros/api/search-rental/owner_token/OWNER_TOKEN

Method: POST

Name Type Description
page Integer Page value.
limit Integer Limit value.
isfeatured Integer 1 = Feature properties only.
tag_id Integer Tag's ID (optional).
category_id Integer Property Group's ID (optional).
categories_id Integer Categories's ID (optional).
property_id Integer Property's ID (optional).
keyterm String Key word (optional).
checkin String Filter check-in date (YYYY-MM-DD) (optional).
checkout String Filter check-out date (YYYY-MM-DD) (optional).
city String Filter city of the property (optional).
flexible Integer This parameter will add +/- check-in and check-out parameters (optional).
numberadults Integer Max of guest (optional).
children Integer 0 = Do not allow children.
1 = Allow children (optional).
airconditioner Integer 0 = Without air conditioner.
1 = With air conditioner (optional).
parking Integer 0 = Without parking.
1 = With parking (optional).
ocean Integer 0 = Without ocean view.
1 = With ocean view (optional).
allowpet Integer 0 = Do not allow pet.
1 = Allow pet (optional).
allowsmoking Integer 0 = Do not allow smoking.
1 = Allow smoking (optional).
minprice Float Filter by min price in your rates & seasons table. This price will be compared to "searchplugin['price_filter_type']" in the Default settings Api.
maxprice Float Filter by max price in your rates & seasons table. This price will be compared to "searchplugin['price_filter_type']" in the Default settings Api.
bedrooms Integer Filter minimum number of bedrooms in a property.
bathrooms Integer Filter minimum number of bathrooms in a property.
amenity Array Array amenity values in Get all amenity Api. If amenity is a custom one, you can send amenity name to the array.
includeInvisibleProperty Integer 0 = Do not include the invisible properties - Default (optional).
1 = Include the invisible properties.
brandId Integer Brand's ID.(optional)
Only using for the accounts integrates multi-website.
discountsonly Integer 1 = Only show the properties that are having a discount campaign. (optional)
include Array This field is array and contain information that is attached to return data. Option:
+ discounttext (String): The standard discount description of property will be returned.
+ discounttexts (Array): The list of standard discount description of property will be returned.

Request example data

URL: https://secure.365villas.com/vros/api/search-rental/owner_token/3f40a7e8cee1f50c5b3401cc17f1f452f27a3ace
{
  "page": 1,
  "limit": 30,
  "isfeatured": 1,
  "category_id": 5,
  "keyterm": "Property",
  "checkin": "2017-05-19",
  "checkout": "2017-07-19",
  "city": "HCM",
  "numberadults": 4,
  "children": 1,
  "airconditioner": 1,
  "parking": 1,
  "ocean": 1,
  "allowpet": 1,
  "allowsmoking": 1,
  "includeInvisibleProperty": 1,
  "brandId": 1
}

Response data

Name Type Description
property_count Integer Total properties that match the search conditions.
page_count Integer Total page.
page Integer Current page.
offset Integer The starting position of the first property to return.
limit Integer The number of property will be returned.
image_path String Location of the image.
properties Array List of properties that match the search conditions.
id Integer Property id.
name String Property name.
address String Property address.
city String City.
location_id String Location id is referred to Channel Manager location.
state String State.
postcode String Postal code.
country String Country code.
phone String Phone number.
taxid String Tax ID / Property license.
brief String Property description.
other String Ohter information.
type String Property type.
space String The number is input in the property profile page.
floor String Floor number. For example: -1 => Basement, 0 => Ground floor, 1 => Floor 1, ...
maxguest String Max of guest.
allowchildren String This field is a reflect data which is check / uncheck in the search engine page.
allowpet String This field is a reflect data which is check / uncheck in the search engine page.
allowsmoking String This field is a reflect data which is check / uncheck in the search engine page.
bedroom String Number of bed rooms.
bathroom String Number of bath rooms.
isfeatured String Property is whether a featured property: 1 / 0.
visibleOnWebsite String 1: Property is visible on website.
0: Property is invisible on website.
external_link String This is an external link to user's private website.
rateLabel String A standard rate label which is set by default: day / week / month.
rateValue String A standard rate value following rate label.
rateToolTip String A sample rate text following rate label and rate value.
rangeRates String An array of range rates.
image_path String An image path for the property.
image_small String An small image path for the property.
image_317_179 String An small image (with = 317 and height = 179) path for the property.
latitude String Latitude.
longitude String Longitude.
local_information String Local property information.
property_video String Property video link if you input it in property profile page.
booking_note_chk Integer A special option which is used for showing a note in in booking process (1 / 0).
booking_note_spec String A special booking note which is used for showing to guest in booking process.
instruction_subtitution_code String Description of substitution codes feature is used in property profile page.
custom_subtitution_code Array List of property substitution codes.

Response example data

{
  "property_count": 1,
  "page_count": 1,
  "page": 1,
  "offset": 0,
  "limit": 10,
  "image_path": "",
  "properties": [
    {
      "id": "1",
      "name": "Myproperty",
      "internal_name": "Myproperty",
      "address": "HCM",
      "city": "HCM",
      "location_id": null,
      "state": "",
      "postcode": "084",
      "country": "VN",
      "phone": "",
      "taxid": "",
      "brief": "Description",
      "other": null,
      "type": "None",
      "space": null,
      "floor": null,
      "maxguest": "1",
      "allowchildren": "1",
      "allowpet": "0",
      "allowsmoking": "0",
      "bedroom": "1",
      "bathroom": "1",
      "rateLabel": "week",
      "rateValue": "$1,000.00",
      "isfeatured": "0",
      "visibleOnWebsite": "1",
      "external_link": "",
      "rateToolTip": "$500.00 per night, $1,000.00 per week, $10,000.00 per month",
      "rangeRates": {
        "day": {
          "min": 500,
          "max": 500
        },
        "week": {
          "min": 1000,
          "max": 1000
        },
        "month": {
          "min": 10000,
          "max": 10000
        }
      },
      "eligible_for_online_booking": 1,
      "image_path": "https:\/\/secure.365villas.com\/getimage\/general.php?image=2cIkaF8%2FNSrtbbDCd4an1DF0DTDweFRlEkCuW%2B8KYFHigtt%2FBfyKw2YRA1wGr%2FpZVrbRB8x6yDx4Udq76fLyut98K1CIQ7LhXpVgGIWbUT06d7InVC3LfY01DxfPIiHn.jpg",
      "image_small": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=422&h=243&image=2cIkaF8%2FNSrtbbDCd4an1DF0DTDweFRlEkCuW%2B8KYFHigtt%2FBfyKw2YRA1wGr%2FpZVrbRB8x6yDx4Udq76fLyut98K1CIQ7LhXpVgGIWbUT06d7InVC3LfY01DxfPIiHn.jpg",
      "image_317_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=317&h=179&image=2cIkaF8%2FNSrtbbDCd4an1DF0DTDweFRlEkCuW%2B8KYFHigtt%2FBfyKw2YRA1wGr%2FpZVrbRB8x6yDx4Udq76fLyut98K1CIQ7LhXpVgGIWbUT06d7InVC3LfY01DxfPIiHn.jpg",
      "image_h_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?h=179&image=2cIkaF8%2FNSrtbbDCd4an1DF0DTDweFRlEkCuW%2B8KYFHigtt%2FBfyKw2YRA1wGr%2FpZVrbRB8x6yDx4Udq76fLyut98K1CIQ7LhXpVgGIWbUT06d7InVC3LfY01DxfPIiHn.jpg",
      "latitude": "54.230956",
      "longitude": "-13.4363316",
      "local_information": "Local information",
      "property_video": "https:\/\/www.youtube.com\/watch?v=y1yFiotx3qk",
      "booking_note_chk": 1,
      "booking_note_spec": "Test information",
      "instruction_subtitution_code": {
        "name": "Property substitution codes",
        "description": "Use this section to add property specific information that you would like to be available when composing messages."
      },
      "custom_subtitution_code": [
        {
          "subtitution_code": "[ADDITIONAL_FIELD_1]",
          "content": "This is a place holder"
        },
        {
          "subtitution_code": "[ADDITIONAL_FIELD_2]",
          "content": "This is a place holder"
        }
      ]
    }
  ]
}

Get owner info

Here is sample request and response data in getting owner info.

Request data

URL: https://secure.365villas.com/vros/api/get-owner-info/owner_token/OWNER_TOKEN/private_token/PRIVATE_TOKEN

Method: GET

Name Type Description
owner_token String Owner token is obtained inside 365 panel.
private_token String Private token is obtained inside 365 panel.

Request example data

https://secure.365villas.com/vros/api/get-owner-info/owner_token/3f40a7e8cee1f50c5b3401cc17f1f452f27a3ace/private_token/PRIVATE_TOKEN

Response example data

{
  "owner_email": "[email protected]",
  "primary_phone": "0972980780",
  "second_phone": "975375751"
}

Get all property info

Here is sample request and response data in getting all property info.

Request data

URL: https://secure.365villas.com/vros/api/get-all-property-info/owner_token/OWNER_TOKEN

Method: GET

Name Type Description
owner_token String Owner token is obtained inside 365 panel.
property_id Integer Property's ID (optional).
includeInvisibleProperty Integer 0 = Do not include the invisible properties - Default (optional).
1 = Include the invisible properties.
brandId Integer Brand's ID.(optional)
Only using for the accounts integrates multi-website.
include Array This field is array and contain information that is attached to return data. Option: specificroomamenities. The list of specific room amenities will be returned.

Request example data

URL: https://secure.365villas.com/vros/api/get-all-property-info/owner_token/3f40a7e8cee1f50c5b3401cc17f1f452f27a3ace

Response data

Name Type Description
properties Array List of properties.
id Integer Property id.
name String Property name.
address String Property address.
city String City.
location_id String Location id is referred to Channel Manager location.
state String State.
postcode String Postal code.
country String Country code.
phone String Phone number.
taxid String Tax ID / Property license.
brief String Property description.
other String Ohter information.
type String Property type.
space String The number is input in the property profile page.
floor String Floor number. For example: -1 => Basement, 0 => Ground floor, 1 => Floor 1, ...
maxguest String Max of guest.
allowchildren String This field is a reflect data which is check / uncheck in the search engine page.
allowpet String This field is a reflect data which is check / uncheck in the search engine page.
allowsmoking String This field is a reflect data which is check / uncheck in the search engine page.
bedroom String Number of bed rooms.
bathroom String Number of bath rooms.
isfeatured String Property is whether a featured property: 1 / 0.
visibleOnWebsite String 1: Property is visible on website.
0: Property is invisible on website.
external_link String This is an external link to user's private website.
rateLabel String A standard rate label which is set by default: day / week / month.
rateValue String A standard rate value following rate label.
rateToolTip String A sample rate text following rate label and rate value.
rangeRates String An array of range rates.
minimumStay Integer Standard minimum stay for the property.
eligible_for_online_booking Integer This value is specified whether property is eligible 1 / 0.
image_path String An image path for the property.
image_small String An small image path for the property.
image_317_179 String An small image (with = 317 and height = 179) path for the property.
image_w_800 String An small image (with = 800 and height = auto) path for the property.
latitude String Latitude.
longitude String Longitude.
local_information String Local property information.
property_video String Property video link if you input it in property profile page.
booking_note_chk Integer A special option which is used for showing a note in in booking process (1 / 0).
booking_note_spec String A special booking note which is used for showing to guest in booking process.
languages String An array of property information in other languages if any.
policies String A simple phase of policy description.
every_stay_includes String An array of simple information in a property page in 365Villas WordPress site.
local_area_action String An array of simple information in a property page in 365Villas WordPress site.
amenity String Property amenity list. There are 2 kinds of amenity: standard amenities and extra ones.
Amenity list will be covered by a category. Amenity list will include id, property_id, amenity name, value is a unique key which is used for identifying amenity, type (1 = standard one), languages is an array of amenity names in different languages if any.
amenity_description String Simple introduction text for the amenities in the property.
instruction_subtitution_code String Description of substitution codes feature is used in property profile page.
custom_subtitution_code Array List of property substitution codes.

Response example data

{
  "properties": {
    "id": "18",
    "name": "Property Test",
    "internal_name": "Property Test",
    "address": "Property address",
    "city": "Property city",
    "location_id": "0",
    "state": "",
    "postcode": "72000",
    "country": "US",
    "phone": "",
    "taxid": "",
    "brief": "",
    "other": null,
    "type": "None",
    "space": "0",
    "floor": "1",
    "maxguest": "2",
    "allowchildren": "1",
    "allowpet": "0",
    "allowsmoking": "0",
    "bedroom": "1",
    "bathroom": "1",
    "isfeatured": "0",
    "external_link": "",
    "ispublished": true,
    "visibleOnWebsite": 1,
    "minimumStay": 1,
    "eligible_for_online_booking": 1,
    "image_path": "http:\/\/phuoc.365villas.com:8888\/\/images\/placeholder.jpg",
    "image_small": "http:\/\/phuoc.365villas.com:8888\/\/images\/placeholder.jpg",
    "image_317_179": "http:\/\/phuoc.365villas.com:8888\/\/images\/placeholder.jpg",
    "image_h_179": "http:\/\/phuoc.365villas.com:8888\/\/images\/placeholder.jpg",
    "image_w_800": "http:\/\/phuoc.365villas.com:8888\/\/images\/placeholder.jpg",
    "latitude": "",
    "longitude": "",
    "local_information": "",
    "property_video": "",
    "booking_note_chk": 0,
    "booking_note_spec": "",
    "languages": {
      "brief": {
        "fr": "",
        "de": "",
        "it": "",
        "pt": "",
        "es": "",
        "nl": ""
      },
      "policies": {
        "en": {
          "payment_policies": "To secure the booking, a partial payment of 30% of the quote, is due within 5 days of guest confirmation of intention to book<br><br>Payment [plus a refundable damage deposit of  €2,000.00] must be fully settled: 5 days prior to arrival, or if that date is already passed, then within 10 days of guest confirmation of intention to book.<br \/>We have a no-refund policy in the event of cancellation. However, at our discretion, refunds may be considered to the extent canceled dates can be filled at comparable rates. In such cases, a surcharge will apply.",
          "payment_methods": "Cash<br \/>Bank transfer<br \/>Check \/ Cheque<br \/>Stripe<br \/>",
          "rules": "Quiet hours are between 10pm and 8am\nThis a no-smoking property\nNo pets allowed\nTotal number of occupants will not exceed the quoted number unless agreed.\nAll trash and perishables must be disposed of and dishes washed before departure.\n "
        },
        "fr": {
          "payment_policies": "Pour garantir cette réservation, un versement de 30% du montant total est dû dans les 5 jours suivant la confirmation de l’intention de réserver.<br><br>Tous les paiements dus, qu'ils correspondent à un deuxième versement ou à la totalité des montants dus €2,000.00 Doivent être effectués en totalité dans les 5 jours suivant la confirmation de l'intention de réserver.10 (*)<br \/>We have a no-refund policy in the event of cancellation. However, at our discretion, refunds may be considered to the extent canceled dates can be filled at comparable rates. In such cases, a surcharge will apply.",
          "payment_methods": "Espèces<br \/>virement bancaire à :<br \/>Chèque<br \/>Carte de crédit<br \/>",
          "rules": "Le silence doit \u00eatre respect\u00e9 entre 22 h et 8 h. Il est interdit de fumer dans la propri\u00e9t\u00e9. Les animaux de compagnie ne sont pas accept\u00e9s. Le nombre d'occupants ne doit pas \u00eatre sup\u00e9rieur au nombre indiqu\u00e9 dans le contrat, sauf accord particulier. Les poubelles et les denr\u00e9es p\u00e9rissables doivent \u00eatre sorties et la vaiselle doit \u00eatre faite avant le d\u00e9part."
        },
        "de": {
          "payment_policies": "Um diese Buchung zu bestätigen, ist eine Zahlung von 30% der Gesamtsumme innerhalb 5 Tagen nach der vorläufigen Buchungsbestätigung fällig.<br><br>Alle fälligen Beträge inklusive zweiter Zahlung oder der Gesamtsumme €2,000.00 müssen komplett beglichen sein innerhalb 5 Tagen nach der vorläufigen Buchungsbestätigung.10 <br \/>We have a no-refund policy in the event of cancellation. However, at our discretion, refunds may be considered to the extent canceled dates can be filled at comparable rates. In such cases, a surcharge will apply.",
          "payment_methods": "Bar<br \/>Bank Überweisung an:<br \/>Scheck<br \/>Kreditkarte<br \/>",
          "rules": "Ruhezeiten sind zu beachten. Diese sind zwischen 22:00 und 08:00 Uhr. Die Unterkunft ist eine Nicht-Raucher-Unterkunft. Haustiere sind nicht erlaubt. Die gesamte Anzahl der Bewohner darf die vereinbarte Anzahl nicht \u00fcberschreiten. Der M\u00fcll ist vor der Abreise zu entfernen. Das Geschirr ist vor Abreise zu s\u00e4ubern. "
        },
        "it": {
          "payment_policies": "Per confermare questa prenotazione, un pagamento di 30% del totale è dovuto entro 5 giorni dalla conferma dell'intenzione di prenotare<br><br>Tutti i pagamenti, siano essi la rimanenza finale o l'intero importo €2,000.00 devo essere completati entro 5 giorni dalla conferma dell'intenzione di prenotare.10 <br \/>We have a no-refund policy in the event of cancellation. However, at our discretion, refunds may be considered to the extent canceled dates can be filled at comparable rates. In such cases, a surcharge will apply.",
          "payment_methods": "Contanti<br \/>Bonifico bancario:<br \/>Assegno Bancario<br \/>Carta di Credito<br \/>",
          "rules": "Le ore di quiete sono tra le 10 di sera e le 8 del mattino. \r\nNon \u00e8 permesso: fumare, portare animali nella propriet\u00e0, invitare un numero di ospiti maggiore rispetto a quanto riportato sopra. \r\nPrima della partenza, la spazzatura e deve essere riposta negli appositi contenitori e tutti i piatti puliti."
        },
        "pt": {
          "payment_policies": "To secure this booking, a payment of 30% of the grand total is due within 5 days of confirmation of intention to book.<br><br>Any and all amounts payable, whether they be a second partial payment or the grand total, [plus a refundable damage deposit of €2,000.00] must be fully settled 5 days prior to arrival. If that date has already passed, then payment must be fully settled within 10 days of confirmation of intention to book.<br \/>We have a no-refund policy in the event of cancellation. However, at our discretion, refunds may be considered to the extent canceled dates can be filled at comparable rates. In such cases, a surcharge will apply.",
          "payment_methods": "Cash<br \/>Bank transfer to:<br \/>Check<br \/>Credit card<br \/>",
          "rules": "Quiet hours are between 10pm and 8am\nThis a no-smoking property\nNo pets allowed\nTotal number of occupants will not exceed the quoted number unless agreed.\nAll trash and perishables must be disposed of and dishes washed before departure.\n "
        },
        "es": {
          "payment_policies": "Para asegurar esta reserva, un pago de 30% del total general se adeuda en 5 días de confirmación de la intención de reservar<br><br>Todos y cada uno de los montos por pagar, ya sea un segundo pago parcial o el total general €2,000.00 debe ser completamente resuelto dentro 5 Días de confirmación de la intención de reservar.10 <br \/>We have a no-refund policy in the event of cancellation. However, at our discretion, refunds may be considered to the extent canceled dates can be filled at comparable rates. In such cases, a surcharge will apply.",
          "payment_methods": "Metálico<br \/>Transferencias bancarias a:<br \/>Cheque<br \/>Tarjeta de crédito<br \/>",
          "rules": "No se puede hacer ruido entre las 22:00 y las 06:00\r\nProhibido fumar\r\nNo se aceptan mascotas\r\nEl n\u00famero total de hu\u00e9spedes no debe ser excedido, excepto mediante acuerdo\r\nToda la basura y desperdicios deben ser retirados y los platos lavados antes de la salido"
        },
        "nl": {
          "payment_policies": "To secure this booking, a payment of 30% of the grand total is due within 5 days of confirmation of intention to book.<br><br>Any and all amounts payable, whether they be a second partial payment or the grand total, [plus a refundable damage deposit of €2,000.00] must be fully settled 5 days prior to arrival. If that date has already passed, then payment must be fully settled within 10 days of confirmation of intention to book.<br \/>We have a no-refund policy in the event of cancellation. However, at our discretion, refunds may be considered to the extent canceled dates can be filled at comparable rates. In such cases, a surcharge will apply.",
          "payment_methods": "Cash<br \/>Bank transfer to:<br \/>Check<br \/>Credit card<br \/>",
          "rules": "Quiet hours are between 10pm and 8am\nThis a no-smoking property\nNo pets allowed\nTotal number of occupants will not exceed the quoted number unless agreed.\nAll trash and perishables must be disposed of and dishes washed before departure.\n "
        }
      }
    },
    "wifi": 0,
    "policies": {
      "payment_policies": "To secure the booking, a partial payment of 30% of the quote, is due within 5 days of guest confirmation of intention to book<br><br>Payment [plus a refundable damage deposit of €2,000.00] must be fully settled: 5 days prior to arrival, or if that date is already passed, then within 10 days of guest confirmation of intention to book.<br \/>We have a no-refund policy in the event of cancellation. However, at our discretion, refunds may be considered to the extent canceled dates can be filled at comparable rates. In such cases, a surcharge will apply.",
      "payment_methods": "Cash<br \/>Bank transfer<br \/>Check \/ Cheque<br \/>Stripe<br \/>",
      "rules": "Quiet hours are between 10pm and 8am\nThis a no-smoking property\nNo pets allowed\nTotal number of occupants will not exceed the quoted number unless agreed.\nAll trash and perishables must be disposed of and dishes washed before departure.\n "
    },
    "every_stay_includes": {
      "wifi": {
        "image": "http:\/\/phuoc.365villas.com:8888\/images\/wp_api_icon\/icon-wifi.jpg",
        "name": "Wifi"
      },
      "mobile": {
        "image": "http:\/\/phuoc.365villas.com:8888\/images\/wp_api_icon\/icon-mobile.jpg",
        "name": "Mobile"
      },
      "welcome": {
        "image": "http:\/\/phuoc.365villas.com:8888\/images\/wp_api_icon\/icon-wellcome.jpg",
        "name": "Welcome"
      },
      "toiletries": {
        "image": "http:\/\/phuoc.365villas.com:8888\/images\/wp_api_icon\/icon-tolileties.jpg",
        "name": "Toiletries"
      },
      "area-tips": {
        "image": "http:\/\/phuoc.365villas.com:8888\/images\/wp_api_icon\/icon-area-tips.jpg",
        "name": "Area Tips"
      },
      "cleaning": {
        "image": "http:\/\/phuoc.365villas.com:8888\/images\/wp_api_icon\/icon-clearning.jpg",
        "name": "Cleaning"
      },
      "support": {
        "image": "http:\/\/phuoc.365villas.com:8888\/images\/wp_api_icon\/icon-support.jpg",
        "name": "24\/7 Support"
      }
    },
    "local_area_action": {
      "filename": "http:\/\/phuoc.365villas.com:8888\/images\/placeholder.jpg",
      "description": "",
      "lat": null,
      "lon": null,
      "address": "Property address"
    },
    "amenity": {
      "extra": [
      ]
    },
    "amenity_description": null,
    "instruction_subtitution_code": {
      "name": "Property substitution codes",
      "description": "Use this section to add property specific information that you would like to be available when composing messages."
    },
    "custom_subtitution_code": [
      {
        "subtitution_code": "[ADDITIONAL_FIELD_1]",
        "content": "This is a place holder"
      },
      {
        "subtitution_code": "[ADDITIONAL_FIELD_2]",
        "content": "This is a place holder"
      }
    ]
  }
}

Get All Amenity List

Here is sample request and response data in getting all amenity.

Request data

URL: https://secure.365villas.com/vros/api/get-all-amenity/owner_token/OWNER_TOKEN

Method: GET

Name Type Description
owner_token String Owner token is obtained inside 365 panel.

Request example data

URL: https://secure.365villas.com/vros/api/get-all-amenity/owner_token/3f40a7e8cee1f50c5b3401cc17f1f452f27a3ace

Response example data

{
  {
    "label": "General",
    "amenity": [
      {
        "id": "441",
        "property_id": "1",
        "name": "Central Heating",
        "value": "11",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-central-heating",
        "default_name": "Central Heating"
      },
      {
        "id": "442",
        "property_id": "1",
        "name": "Dedicated Parking Space",
        "value": "7",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-dedicated-parking-space",
        "default_name": "Dedicated Parking Space"
      },
      {
        "id": "443",
        "property_id": "1",
        "name": "Ocean View",
        "value": "1",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-ocean-view",
        "default_name": "Ocean View"
      },
      {
        "id": "251",
        "property_id": "1",
        "name": "Air Conditioned",
        "value": "10",
        "qty": "1",
        "type": "1",
        "languages": {
          "fr": "test 1"
        },
        "class": "amenity-air-conditioned",
        "default_name": "Air Conditioned"
      }
    ]
  },
  {
    "label": "Bedrooms",
    "amenity": [
      {
        "id": "444",
        "property_id": "1",
        "name": "En-suite",
        "value": "13",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-en-suite",
        "default_name": "En-suite"
      },
      {
        "id": "445",
        "property_id": "1",
        "name": "King",
        "value": "14",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-king",
        "default_name": "King"
      },
      {
        "id": "446",
        "property_id": "1",
        "name": "Linen inc.",
        "value": "20",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-linen-inc",
        "default_name": "Linen inc."
      },
      {
        "id": "447",
        "property_id": "1",
        "name": "Sleeps",
        "value": "12",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-sleeps",
        "default_name": "Sleeps"
      }
    ]
  },
  {
    "label": "Living Area",
    "amenity": [
      {
        "id": "448",
        "property_id": "1",
        "name": "Balcony",
        "value": "112",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-balcony",
        "default_name": "Balcony"
      }
    ]
  },
  {
    "label": "Miscellaneous",
    "amenity": [
      {
        "id": "449",
        "property_id": "1",
        "name": "Beach Equipment",
        "value": "73",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-beach-equipment",
        "default_name": "Beach Equipment"
      },
      {
        "id": "450",
        "property_id": "1",
        "name": "Beach Towels",
        "value": "72",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-beach-towels",
        "default_name": "Beach Towels"
      },
      {
        "id": "451",
        "property_id": "1",
        "name": "Broadband",
        "value": "65",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-broadband",
        "default_name": "Broadband"
      },
      {
        "id": "452",
        "property_id": "1",
        "name": "Lawn\/Garden",
        "value": "71",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-lawn-garden",
        "default_name": "Lawn\/Garden"
      },
      {
        "id": "453",
        "property_id": "1",
        "name": "Patio",
        "value": "57",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-patio",
        "default_name": "Patio"
      },
      {
        "id": "454",
        "property_id": "1",
        "name": "Swimming Pool",
        "value": "113",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "swimming-pool",
        "default_name": "Swimming Pool"
      }
    ]
  },
  {
    "label": "Surrounding Area",
    "amenity": [
      {
        "id": "455",
        "property_id": "1",
        "name": "Golf",
        "value": "89",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-golf",
        "default_name": "Golf"
      },
      {
        "id": "456",
        "property_id": "1",
        "name": "Site Seeing",
        "value": "97",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-site-seeing",
        "default_name": "Site Seeing"
      },
      {
        "id": "457",
        "property_id": "1",
        "name": "Skiing",
        "value": "110",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-skiing",
        "default_name": "Skiing"
      },
      {
        "id": "458",
        "property_id": "1",
        "name": "Surfing",
        "value": "92",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-surfing",
        "default_name": "Surfing"
      },
      {
        "id": "459",
        "property_id": "1",
        "name": "Water Sports",
        "value": "93",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-water-sports",
        "default_name": "Water Sports"
      },
      {
        "id": "460",
        "property_id": "1",
        "name": "Woodland",
        "value": "100",
        "qty": "1",
        "type": "1",
        "languages": [
        ],
        "class": "amenity-woodland",
        "default_name": "Woodland"
      }
    ]
  },
  "extra": {
    "label": "Extra",
    "amenity": [
      {
        "id": "333",
        "property_id": "7",
        "name": "Hoang",
        "value": "Hoang",
        "qty": "1",
        "type": "2",
        "languages": {
          "fr": "Hoang",
          "es": "Hoang sp"
        }
      },
      {
        "id": "370",
        "property_id": "7",
        "name": "Hoang 5 ",
        "value": "Hoang 5 ",
        "qty": "6",
        "type": "2",
        "languages": {
          "fr": "Hoang 5 ",
          "es": "Hoang 5   sp"
        }
      },
      {
        "id": "367",
        "property_id": "7",
        "name": "test1",
        "value": "test1",
        "qty": "2",
        "type": "2",
        "languages": {
          "fr": "Hoang 1",
          "es": "Hoang 1  sp"
        }
      },
      {
        "id": "368",
        "property_id": "7",
        "name": "test2",
        "value": "test2",
        "qty": "3",
        "type": "2",
        "languages": {
          "fr": "Hoang 2 3",
          "es": "Hoang 2 3  sp"
        }
      },
      {
        "id": "369",
        "property_id": "7",
        "name": "test3",
        "value": "test3",
        "qty": "5",
        "type": "2",
        "languages": {
          "fr": " Hoang 4",
          "es": " Hoang 4  sp"
        }
      }
    ]
  }
}

Get min max price

Here is sample request and response data in getting min max price.

Request data

URL: https://secure.365villas.com/vros/api/get-min-max-price-property/owner_token/OWNER_TOKEN

Method: GET

Name Type Description
owner_token String Owner token is obtained inside 365 panel.
property_id Integer Property's ID.

Request example data

URL: https://secure.365villas.com/vros/api/get-min-max-price-property/owner_token/3f40a7e8cee1f50c5b3401cc17f1f452f27a3ace/property/1

Response example data

{
  "minprice": 500,
  "maxprice": 10000
}

Get Non Available Date

Here is sample request and response data in getting non available date list.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getnonavailabledate).
propertyId Integer Property's ID.
startDate String Start date (YYYY-MM-DD) (optional). Default is current date.
endDate String End date (YYYY-MM-DD) (optional).

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "propertyId": 1,
  "action": "getnonavailabledate"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": [
    {
      "startDate": "2018-05-03",
      "endDate": "2018-05-08",
      "availability": "false"
    },
    {
      "startDate": "2018-05-11",
      "endDate": "2018-05-11",
      "availability": "false"
    },
    {
      "startDate": "2018-05-13",
      "endDate": "2018-05-19",
      "availability": "false"
    },
    {
      "startDate": "2018-05-21",
      "endDate": "2018-05-24",
      "availability": "false"
    }
  ]
}

Get rate table

Here is sample request and response data in getting rate table.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getratetable).
propertyId Integer Property's ID.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "propertyId": 1,
  "action": "getratetable"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "tableName": "Test",
    "limitOccupant": 4,
    "extraOccupantFee": {
      "nightly": 50,
      "weekend": 100
    },
    "firstNightSurcharge": 0,
    "oneNightStaySurcharge": 60,
    "seasons": [
      {
        "seasonName": "Standard rates",
        "minimumStay": 3,
        "nightly": 300,
        "weekly": 2030,
        "monthly": 8400,
        "weekend": 650,
        "allowCheckins": "Sunday,Friday,Saturday",
        "allowCheckouts": "Monday,Tuesday,Wednesday",
        "def": 1
      },
      {
        "seasonName": "Spring",
        "minimumStay": 4,
        "nightly": 400,
        "weekly": 2800,
        "weekend": 900,
        "allowCheckins": "All",
        "allowCheckouts": "All",
        "def": 0
      },
      {
        "seasonName": "Summer",
        "minimumStay": 5,
        "nightly": 500,
        "weekly": 3500,
        "weekend": 1200,
        "allowCheckins": "Tuesday,Wednesday,Thursday",
        "allowCheckouts": "Sunday,Monday",
        "def": 0
      },
      {
        "seasonName": "Winter",
        "minimumStay": 6,
        "nightly": 600,
        "weekly": 4200,
        "weekend": 1500,
        "allowCheckins": "Monday,Tuesday,Wednesday",
        "allowCheckouts": "Thursday,Friday,Saturday",
        "def": 0
      }
    ]
  }
}

Add a booking payment

Here is sample request and response data in adding a booking payment.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (addbookingpayment).
bookingId Integer Booking's ID.
amount String Payment amount.
description String Description (optional).
time String Datetime (in timestamp) (optional). If this value is not set, the current datetime will be used.
currency String Currency code (optional). If no currency is sent this time, default currency will be used.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "addbookingpayment",
  "bookingId": 2292,
  "amount": 100,
  "description": "Description 1",
  "currency": "EUR"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "paymentId": "472"
  }
}

Update a booking payment

Here is sample request and response data in updating a booking payment.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (updatebookingpayment).
paymentId Integer Payment's ID.
amount String Payment amount.
description String Description (optional).
time String Datetime (in timestamp) (optional). If this value is not set, the current datetime will be used.
currency String Currency code (optional). If no currency is sent this time, default currency will be used.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "updatebookingpayment",
  "paymentId": 472,
  "amount": 100,
  "description": "Description 1",
  "currency": "EUR"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "paymentId": "472"
  }
}

Remove a booking payment

Here is sample request and response data in removing a booking payment.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (removebookingpayment).
paymentId Integer Payment's ID.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "removebookingpayment",
  "paymentId": 472
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "paymentId": "472"
  }
}

Update Arrival Form

Here is sample request and response data in updating Arrival Form of the booking.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (updatearrivalform).
bookingId Integer Booking's ID.
arriveBy String Arrive by ('car', 'plane', 'bus', 'ferry', 'train', 'coach', or 'other'
transportNumber String Public transport number
expectedTime String Expected check in time (H:i). (Example: "14:00")
url String External arrival form link
isCompleted String Arrival form status(True/False): True - Arrival form completed; False - Arrival form incomplete
detailInformation Array Detail informations for each the guests. This information will override the current information.

Detail informations for each the guests:

Name Type Description
name String Guest name.
surname String Guest Surname.
dateOfBirth String Date of birth (YYYY-MM-DD).
nationality String Country Postal Abbreviations. (Example: United States: 'US')
email String Email address.
phoneNumber String Phone number
frontDocument String Link of the Front of ID or passport.
backDocument String Link of the Back of ID or passport.
address String Address
allergies String Allergies

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "updatearrivalform",
  "bookingId": 2292,
  "arriveBy": "car",
  "transportNumber": "123",
  "expectedTime": "14:00",
  "url": "https:\/\/www.examplelink.com\/",
  "isCompleted": "true",
  "detailInformation": [
    {
      "name": "Name",
      "surname": "Surname",
      "dateOfBirth": "2000-01-20",
      "nationality": "US",
      "email": "[email protected]",
      "phoneNumber": "+1 999 888 777",
      "frontDocument": "https:\/\/secure.365villas.com\/images\/front.png",
      "backDocument": "https:\/\/secure.365villas.com\/images\/back.png",
      "address": "Test address",
      "allergies": "Test allergies"
    },
    {
      "name": "Name2",
      "surname": "Surname2",
      "dateOfBirth": "2000-01-20",
      "nationality": "US",
      "email": "[email protected]",
      "phoneNumber": "+1 999 888 777",
      "frontDocument": "https:\/\/secure.365villas.com\/images\/front.png",
      "backDocument": "https:\/\/secure.365villas.com\/images\/back.png",
      "address": "Test address",
      "allergies": "Test allergies"
    },
    {
      "name": "Name3",
      "surname": "Surname3",
      "dateOfBirth": "2000-01-20",
      "nationality": "US",
      "email": "[email protected]",
      "phoneNumber": "+1 999 888 777",
      "frontDocument": "https:\/\/secure.365villas.com\/images\/front.png",
      "backDocument": "https:\/\/secure.365villas.com\/images\/back.png",
      "address": "Test address",
      "allergies": "Test allergies"
    }
  ]
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "message": "Complete"
  }
}

Get Property List (Distinct ID)

Here is sample request and response data in getting property list (id, name).

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getproperties).
brandId Integer Brand's ID.(optional)
This is used for the accounts integrating multi-website only.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "getproperties"
}

Response data

Name Type Description
id Integer User id + "_" + property id in the account. The id will be distinct with prefix account id before.
name String Property name.

Response example data

{
  "status": 0,
  "message": "Success",
  "data": [
    {
      "id": "120_1",
      "name": "Property 1"
    },
    {
      "id": "120_2",
      "name": "Property 2"
    }
  ]
}

Get Property Information By Distinct ID

Here is sample request and response data in getting simple property information.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getpropertyinfo).
propertyId String Property's ID (user id + "_" + property id in the account).
This parameter can be sent as array and get multiple property data at once.
Note: if multiple property data is returned, format data will be different with single property data, the return data will have a identifier and property id in the returned data.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "getpropertyinfo",
  "propertyId": "120_1"
}

Response data

Name Type Description
id Integer User id + "_" + property id in the account.
name String Property name.
address String Property address.
city String Property city.
state String Property state.
country String Property country code.
brief String Property description.
bedroom Integer Number of bedroom.
bathroom Integer Number of bathroom.

Response example data

{
  "status": 0,
  "message": "Success",
  "data": [
    {
      "id": "120_1",
      "name": "Property 1",
      "address": "Property address 1",
      "city": "City 1",
      "postcode": "123456",
      "state": "State 1",
      "country": "US",
      "brief": "Property description",
      "bedroom": 5,
      "bathroom": 6
    }
  ]
}

Get Property Calendar and Price

Here is sample request and response data in getting property calendar and price.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getcalendar).
propertyId Integer Property's ID (user id + "_" + property id in the account).
This parameter can be sent as array and get multiple property data at once.
Note: if multiple property data is returned, format data will be different with single property data, the return data will have a identifier and property id in the returned data.
startDate String Start date (YYYY-MM-DD).

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "getcalendar",
  "propertyId": "120_1",
  "startDate": "2018-01-01"
}

Response data

Name Type Description
date String Date (YYYY-MM-DD).
availability String true / false.
currency String Currency code.
price Float Nightly price.
weekly_price Float Weekly price.
monthly_price Float Monthly price.

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    {
      "date": "2018-01-01",
      "availability": "false",
      "currency": "EUR",
      "price": 100,
      "weekly_price": 700,
      "monthly_price": 3000
    },
    {
      "date": "2018-01-02",
      "availability": "false",
      "currency": "EUR",
      "price": 100,
      "weekly_price": 700,
      "monthly_price": 3000
    }
  }
}

Update Price and Minimum Stay

Here is sample request and response data in updating price / minimum stay.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (setprices_minnights).
propertyId String Property's ID (user id + "_" + property id in the account).
defaultOccupancyLimit Integer The maximum number of guests that can book a room without incurring an additional extra fee. (Optional)
pricingArray String Pricing Array is json array string.
Example: [{"date":"2018-10-01","recommended_price":"440","recommended_weekly_price":"3080", "recommended_monthly_price":"13000","minNights":"3","recommended_check_in_out_type":"4"},{"date":"2018-10-02","recommended_price":"440", "recommended_monthly_price":"12500","minNights":"3","recommended_check_in_out_type":"4"},{"date":"2018-10-03","recommended_price":"440","minNights":"3","recommended_check_in_out_type":"4"},{"date":"2018-10-04","recommended_price":"440","minNights":"3","recommended_check_in_out_type":"4"},{"date":"2018-10-05","recommended_price":"440","minNights":"3","recommended_check_in_out_type":"4"}]

- recommended_price will be apply for nightly price in the specific date.
- recommended_weekly_price and recommended_monthly_price are optional.
- minNights is optional, if it's not set, default 1 is used.
- recommended_check_in_out_type is optional. This value is an integer as followings: 1 = allow check-in, 2 = allow check-out, 3 = don't allow, 4 = allow both check-in and check-out.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "setprices_minnights",
  "propertyId": "120_1",
  "defaultOccupancyLimit": "4",
  "pricingArray": "[{\"date\":\"2018-10-01\",\"recommended_price\":\"440\",\"recommended_weekly_price\":\"3080\",\"recommended_monthly_price\":\"13000\",\"minNights\":\"3\"},{\"date\":\"2018-10-02\",\"recommended_price\":\"440\",\"recommended_monthly_price\":\"12500\",\"minNights\":\"3\"},{\"date\":\"2018-10-03\",\"recommended_price\":\"440\",\"minNights\":\"3\"},{\"date\":\"2018-10-04\",\"recommended_price\":\"440\",\"minNights\":\"3\"},{\"date\":\"2018-10-05\",\"recommended_price\":\"440\",\"minNights\":\"3\"}]"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": [
  ]
}

Get Reservation List - Simple Data - Amount

Here is sample request and response data in getting a reservation list.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getreservations).
propertyId Integer Property's ID (user id + "_" + property id in the account).
This parameter can be sent as array and get multiple property data at once.
Note: if multiple property data is returned, format data will be different with single property data, the return data will have a identifier and property id in the returned data.
createdDate String / Integer Reservation created date (YYYY-MM-DD) / timestamp number.
startDate String Start date filter (YYYY-MM-DD).
endDate String End date filter (YYYY-MM-DD).

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "getpropertyinfo",
  "propertyId": "120_1",
  "createdDate": "2016-01-01",
  "startDate": "2019-01-01",
  "endDate": "2019-03-01"
}

Response data

Name Type Description
id Integer Reservation's ID (user id + "_" + reservation id in the account).
startDate String Start date (YYYY-MM-DD).
endDate String End date (YYYY-MM-DD).
amount String Reservation total rent.
currency String Currency code.
status String Example: reserved.
createdAt String Created date (YYYY-MM-DD HH:MM:SS).

Response example data

{
  "status": 0,
  "message": "Success",
  "data": [
    [
      {
        "id": "120_1000791",
        "startDate": "2019-02-12",
        "endDate": "2019-02-14",
        "amount": 650,
        "currency": "EUR",
        "status": "reserved",
        "createdAt": "2018-09-10 10:05:03"
      },
      {
        "id": "120_1000795",
        "startDate": "2019-02-19",
        "endDate": "2019-02-26",
        "amount": 2030,
        "currency": "EUR",
        "status": "reserved",
        "createdAt": "2018-09-11 11:03:10"
      }
    ]
  ]
}

Get Currency Settings

Here is sample request and response data in getting currency settings.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getcurrencysetting).

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "getcurrencysetting"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "mainCurrency": "EUR",
    "defaultCurrency": "EUR",
    "currencyList": ["EUR","USD","GBP"],
    "paymentCurrencyList": ["EUR"],
    "currencyMarkup": 2.5,
    "removeDecimalPlaces": 1,
    "rates": {
      "USD": 1.10284346,
      "GBP": 0.87543273
    }
  }
}

Get Payment Schedule

Here is sample request and response data in getting payment schedule.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getpaymentschedule).
bookingId Integer Booking's ID.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "getpaymentschedule",
  "bookingId": 218
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "paymentScheduleText": "Payment of $200.00 is due by October 24, 2019; Remaining balance of $931.00 is due by November 13, 2019",
    "paymentSchedule": [
      {
        "amount": 200,
        "date": "2019-10-24",
        "timestamp": 1571886000
      },
      {
        "amount": 931,
        "date": "2019-11-13",
        "timestamp": 1573614000
      }
    ],
    "amountOutstanding": 1131,
    "damageDeposit": 2000,
    "paymentLog": [
      {
        "paymentId": "53",
        "amount": 199,
        "description": "",
        "date": "2019-10-14",
        "timestamp": 1570978800
      }
    ]
  }
}

Get Payment Schedule Text

Here is sample request and response data in getting payment schedule text.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getpaymentscheduletext).
propertyId Integer Property's ID.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "getpaymentscheduletext",
  "propertyId": 1
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "en": "Payment in full,  plus a damage deposit in the amount of $200.00, is due upon booking.",
    "fr": "Paiement int\u00e9gral,  plus une caution d'un montant de $200.00, est d\u00fb \u00e0 la r\u00e9servation.",
    "de": "Zahlung in voller H\u00f6he,  zuz\u00fcglich einer Schadenskaution in H\u00f6he von $200.00, ist f\u00e4llig bei Buchung.",
    "it": "Pagamento completo,  pi\u00f9 un deposito cauzionale di $200.00, \u00e8 dovuto al momento della prenotazione.",
    "pt": "Pagamento integral,  mais uma cau\u00e7\u00e3o no valor de $200.00, \u00e9 devido no momento da reserva.",
    "es": "Pago completo,  m\u00e1s un dep\u00f3sito de da\u00f1os de $200.00, se adeuda al hacer la reserva.",
    "nl": "Volledige betaling,  plus een borg van $200.00, is uit bij boeking.",
    "pl": "P\u0142atno\u015b\u0107 w ca\u0142o\u015bci,  plus kaucja na poczet zniszcze\u0144 w wysoko\u015bci $200.00, nale\u017cy przy rezerwacji."
  }
}

Get Booking Discount

Here is sample request and response data in getting booking discount.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getbookingdiscount).
vrMemberId Integer Member info ID.

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "getbookingdiscount",
  "vrMemberId": 1407774209
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "totalRecords": 2,
    "listBooking": [
      {
        "bookingId": 626,
        "vrMemberId": "1407774209",
        "propertyName": "a Fred_villas test jjj",
        "propertyId": "1",
        "checkin": "2022-05-01 15:00:00",
        "checkout": "2022-05-08 11:00:00",
        "firstName": "Viktor",
        "lastName": "Elvar Viktorsson",
        "fullName": "Viktor Elvar Viktorsson",
        "email": "[email protected]",
        "phone1": "8542559",
        "phone2": "",
        "country": "US",
        "phone_country_code": "1",
        "address": "",
        "city": "Akranes",
        "state": "",
        "postcode": "300",
        "fiscal_code": "",
        "discounts": [
        ]
      },
      {
        "bookingId": 627,
        "vrMemberId": "1407774209",
        "propertyName": "a Fred_villas test jjj",
        "propertyId": "1",
        "checkin": "2022-04-11 15:00:00",
        "checkout": "2022-04-14 11:00:00",
        "firstName": "Viktor",
        "lastName": "Elvar Viktorsson",
        "fullName": "Viktor Elvar Viktorsson",
        "email": "[email protected]",
        "phone1": "8542559",
        "phone2": "",
        "country": "US",
        "phone_country_code": "1",
        "address": "",
        "city": "Akranes",
        "state": "",
        "postcode": "300",
        "fiscal_code": "",
        "discounts": [
          {
            "name": "Credit discount",
            "amount": 100
          },
          {
            "name": "Member discount",
            "amount": 30.87
          }
        ]
      }
    ]
  }
}

Search Engine Info

Here is sample request and response data in getting search engine info.

Request data

URL: https://secure.365villas.com/vros/api/search-engine-info/owner_token/OWNER_TOKEN

Method: GET

Name Type Description
owner_token String Owner token is obtained inside 365 panel.
property_include Integer This is optional, Default is 0.
0 = Do not include properties into category list.
1 = Include properties into category list.
includeInvisibleProperty Integer 0 = Do not include the invisible properties - Default (optional).
1 = Include the invisible properties.

Request example data

https://secure.365villas.com/vros/api/search-engine-info/owner_token/3f40a7e8cee1f50c5b3401cc17f1f452f27a3ace

Response example data without property

{
  "categories": [
    {
      "id": "1",
      "name": "test",
      "image": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/phuoclt\/property\/categories\/1\/gallery\/20210827_124221png.png"
    },
    {
      "id": "5",
      "name": "P1",
      "image": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/phuoclt\/property\/categories\/5\/gallery\/20210827_124320png.png"
    }
  ],
  "tags": [
    {
      "id": "1",
      "name": "Tag1",
      "property_group": [
        {
          "id": "2",
          "name": "Group 2",
          "sub_property_group": [
            {
              "id": "6",
              "name": "Sub Group 3"
            }
          ]
        },
        {
          "id": "1",
          "name": "Group 1",
          "sub_property_group": [
            {
              "id": "4",
              "name": "Sub Group 1"
            },
            {
              "id": "5",
              "name": "Sub Group 2"
            }
          ]
        }
      ]
    },
    {
      "id": "2",
      "name": "Tag2",
      "property_group": [
        {
          "id": "1",
          "name": "Group 1",
          "sub_property_group": [
            {
              "id": "4",
              "name": "Sub Group 1"
            },
            {
              "id": "5",
              "name": "Sub Group 2"
            }
          ]
        },
        {
          "id": "3",
          "name": "Group 3",
          "sub_property_group": [
            {
              "id": "7",
              "name": "Sub Group 4"
            }
          ]
        }
      ]
    },
    {
      "id": "3",
      "name": "Tag 3"
    }
  ],
  "property_group": [
    {
      "id": "1",
      "name": "Group 1"
    },
    {
      "id": "1",
      "name": "Group 1",
      "sub_property_group": [
        {
          "id": "4",
          "name": "Sub Group 1"
        },
        {
          "id": "5",
          "name": "Sub Group 2"
        }
      ]
    },
    {
      "id": "2",
      "name": "Group 2",
      "sub_property_group": [
        {
          "id": "6",
          "name": "Sub Group 3"
        }
      ]
    },
    {
      "id": "3",
      "name": "Group 3",
      "sub_property_group": [
        {
          "id": "7",
          "name": "Sub Group 4"
        }
      ]
    }
  ]
}

Response example data with property

{
  "categories": [
    {
      "id": "1",
      "name": "test",
      "image": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/phuoclt\/property\/categories\/1\/gallery\/20210827_124221png.png",
      "properties": [
        {
          "id": "2",
          "name": "House 1"
        },
        {
          "id": "9",
          "name": "House 9"
        },
        {
          "id": "17",
          "name": "Live RU_1 Clone 3"
        },
        {
          "id": "30",
          "name": "P3"
        },
        {
          "id": "24",
          "name": "manhTesst"
        }
      ]
    },
    {
      "id": "5",
      "name": "P1",
      "image": "https:\/\/secure.365villas.com\/getimage\/uploads\/config\/phuoclt\/property\/categories\/5\/gallery\/20210827_124320png.png",
      "properties": [
        {
          "id": "1",
          "name": "Fred_villas"
        },
        {
          "id": "2",
          "name": "House 1"
        },
        {
          "id": "9",
          "name": "House 9"
        },
        {
          "id": "17",
          "name": "Live RU_1 Clone 3"
        },
        {
          "id": "30",
          "name": "P3"
        },
        {
          "id": "29",
          "name": "P4"
        },
        {
          "id": "24",
          "name": "manhTesst"
        }
      ]
    }
  ],
  "tags": [
    {
      "id": "1",
      "name": "Tag1",
      "property_group": [
        {
          "id": "2",
          "name": "Group 2",
          "properties": [
          ],
          "sub_property_group": [
            {
              "id": "6",
              "name": "Sub Group 3",
              "properties": [
                {
                  "id": "9",
                  "name": "House 9"
                },
                {
                  "id": "17",
                  "name": "Live RU_1 Clone 3"
                },
                {
                  "id": "24",
                  "name": "manhTesst"
                }
              ]
            }
          ]
        },
        {
          "id": "1",
          "name": "Group 1",
          "properties": [
            {
              "id": "12",
              "name": "A1"
            },
            {
              "id": "2",
              "name": "House 1"
            },
            {
              "id": "9",
              "name": "House 9"
            }
          ],
          "sub_property_group": [
            {
              "id": "4",
              "name": "Sub Group 1",
              "properties": [
                {
                  "id": "1",
                  "name": "Fred_villas"
                }
              ]
            },
            {
              "id": "5",
              "name": "Sub Group 2",
              "properties": [
                {
                  "id": "32",
                  "name": "test2"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "2",
      "name": "Tag2",
      "property_group": [
        {
          "id": "1",
          "name": "Group 1",
          "properties": [
            {
              "id": "12",
              "name": "A1"
            },
            {
              "id": "2",
              "name": "House 1"
            },
            {
              "id": "9",
              "name": "House 9"
            }
          ],
          "sub_property_group": [
            {
              "id": "4",
              "name": "Sub Group 1",
              "properties": [
                {
                  "id": "1",
                  "name": "Fred_villas"
                }
              ]
            },
            {
              "id": "5",
              "name": "Sub Group 2",
              "properties": [
                {
                  "id": "32",
                  "name": "test2"
                }
              ]
            }
          ]
        },
        {
          "id": "3",
          "name": "Group 3",
          "properties": [
            {
              "id": "12",
              "name": "A1"
            },
            {
              "id": "13",
              "name": "Test"
            }
          ],
          "sub_property_group": [
            {
              "id": "7",
              "name": "Sub Group 4",
              "properties": [
              ]
            }
          ]
        }
      ],
      "properties": [
        {
          "id": "34",
          "name": "test1"
        },
        {
          "id": "32",
          "name": "test2"
        }
      ]
    },
    {
      "id": "3",
      "name": "Tag 3",
      "properties": [
        {
          "id": "1",
          "name": "Fred_villas"
        },
        {
          "id": "9",
          "name": "House 9"
        }
      ]
    }
  ],
  "property_group": [
    {
      "id": "1",
      "name": "Group 1",
      "properties": [
        {
          "id": "12",
          "name": "A1"
        },
        {
          "id": "2",
          "name": "House 1"
        },
        {
          "id": "9",
          "name": "House 9"
        }
      ]
    },
    {
      "id": "1",
      "name": "Group 1",
      "properties": [
        {
          "id": "12",
          "name": "A1"
        },
        {
          "id": "2",
          "name": "House 1"
        },
        {
          "id": "9",
          "name": "House 9"
        }
      ],
      "sub_property_group": [
        {
          "id": "4",
          "name": "Sub Group 1",
          "properties": [
            {
              "id": "1",
              "name": "Fred_villas"
            }
          ]
        },
        {
          "id": "5",
          "name": "Sub Group 2",
          "properties": [
            {
              "id": "32",
              "name": "test2"
            }
          ]
        }
      ]
    },
    {
      "id": "2",
      "name": "Group 2",
      "properties": [
      ],
      "sub_property_group": [
        {
          "id": "6",
          "name": "Sub Group 3",
          "properties": [
            {
              "id": "9",
              "name": "House 9"
            },
            {
              "id": "17",
              "name": "Live RU_1 Clone 3"
            },
            {
              "id": "24",
              "name": "manhTesst"
            }
          ]
        }
      ]
    },
    {
      "id": "3",
      "name": "Group 3",
      "properties": [
        {
          "id": "12",
          "name": "A1"
        },
        {
          "id": "13",
          "name": "Test"
        }
      ],
      "sub_property_group": [
        {
          "id": "7",
          "name": "Sub Group 4",
          "properties": [
          ]
        }
      ]
    }
  ]
}

Get Discounts

Here is sample request and response data in getting list property standard discounts.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getdiscounts).
propertyId Integer Property's ID.(optional)
startDate String Filter start date (YYYY-MM-DD) (optional).
endDate String Filter end date (YYYY-MM-DD) (optional).

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "getdiscounts",
  "startDate": "2023-01-01",
  "endDate": "2023-04-01"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": [
    {
      "propertyId": 1,
      "startDate": "2023-01-01",
      "endDate": "2023-01-30",
      "discountText": "Off 10%",
      "value": 10,
      "type": 2
    },
    {
      "propertyId": 2,
      "startDate": "2023-01-01",
      "endDate": "2023-01-30",
      "discountText": "Off $100",
      "value": 100,
      "type": 1
    },
    {
      "propertyId": 1,
      "startDate": "2023-02-01",
      "endDate": "2023-02-28",
      "discountText": "Off 20%",
      "value": 20,
      "type": 2
    },
    {
      "propertyId": 2,
      "startDate": "2023-02-01",
      "endDate": "2023-02-28",
      "discountText": "Off 20%",
      "value": 20,
      "type": 2
    }
  ]
}

Get Multiple Discounts

Here is sample request and response data in getting list property standard discounts.

Request data

Name Type Description
key String Key is obtained inside 365 panel.
pass String Pass is obtained inside 365 panel.
action String Request action (getmultiplediscounts).
propertyId Integer Property's ID (optional).
startDate String Filter start date (YYYY-MM-DD) (optional).
endDate String Filter end date (YYYY-MM-DD) (optional).

Request example data

{
  "key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
  "action": "getmultiplediscounts",
  "startDate": "2023-01-01",
  "endDate": "2023-04-01"
}

Response example data

{
  "status": 0,
  "message": "Success",
  "data": {
    "property_discount_1": [
      {
        "propertyId": 1,
        "startDate": "2023-01-01",
        "endDate": "2023-01-30",
        "discountText": "Off $100",
        "value": "100",
        "type": 1
      }
    ],
    "property_discount_100": [
      {
        "propertyId": 100,
        "startDate": "2023-01-01",
        "endDate": "2023-01-30",
        "discountText": "Off 20%",
        "value": 20,
        "type": 2
      },
      {
        "propertyId": 100,
        "startDate": "2023-02-01",
        "endDate": "2023-03-30",
        "discountText": "Off 20%",
        "value": 20,
        "type": 2
      }
    ]
  }
}

Response Statuses

Here is the list of response statuses.

The status code, status message in the api

Status Message Note
0 Success Api process work successfully.
1 Access denied. The account api bolt-on option is not activated.
2 The field "email" is empty.  
3 The email format is invalid.  
4 Authentication failed. The key and pass are not correct.
6 Your action could not be found.  
8 The requested dates are not available.  
13 The field "guest name" is empty.  
14 The field "number of adults" is empty.  
15 The rates for this property have not been confugured.  
16 Property ... does not exist.  
17 Invalid start date. The start date must be current date or later.
18 The start date must come before the end date.  
19 Minimum stay at this property is ... nights during this time.  
20 Check-in can only be done on "..." for this property.  
21 Check-out can only be done on "..." for this property.  
22 The maximum number of guest for ... is ....  
23 Booking id ... does not exist.  
32 The rates for this property have not been confugured.  
33 Payment id ... does not exist.  
34 Pricing array is empty.  
36 Bookings may only be made up to ... day(s) in advance.  
37 This currency is not available for previewing booking information. Please use currency: ....  
38 This currency is not available for adding / updating booking and payment. Please use currency: ....  
39 This currency is not supported by the API for conversion rate. Please use the following currency: ....  
40 Bookings may only be made up to ... months.  
41 CSA Insurance has not been configured in 365Villas yet. Please set it up and try again.  
42 Check-in on the selected date isn't allowed for this property.  
43 Check-out out selected date isn't allowed for this property.  
44 API Connection Permission is referenced to multiple pair of key and password, each pair may be set up a group of api permission.  
45 Bookings may only be made before ....  
46 There is a minimum ...-day vacancy between guest stays.  
47 Credit card information is is missing some fields, please check and make sure to include: CC Number, Card Type, Expiration Date, CVC, First Name, Last Name, Phone, Country.  
48 The credit card expiration format does not matched: MM/YYYY.  
49 This rates table is automatically created based on your setting in the commission page. Please access to the commission page and update the pricing there.  
50 This functionality is supported only via First Atlantic. If you are using another payment gateaways, please ignore it or contact [email protected] for more details.  
110 Credit card information is not input fully, please check and make sure to include: CC Number, Card Type, Expiration Date, CVC, First Name, Last Name, Phone, Country.  
111 The payment could not be procecessed, please examine: ... ... is the message from payment gateway if the payment failed.
112 Payment has failed due to 3D payment not being supported in the API.  
114 Payment for this booking has been already payed in full.  
120 Credit card country code is invalid, please refer to the list of country codes by alpha-2 - ISO 3166.  
999 Unknown error.