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). |
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. |
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": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
"pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
"action": "create",
"propertyId": 7,
"firstName": "Test",
"lastName": "Api",
"address": "",
"phone1": "+1 9880 567",
"email": "test@gmail.com",
"checkin": "2017-05-01",
"checkout": "2017-05-08",
"numberofadults": 3,
"leadsourceId": 11,
"currency": "EUR",
"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": 2292,
"firstName": "Test",
"lastName": "Api",
"fullName": "Test Api",
"email": "test@gmail.com",
"birthday": "",
"phone1": "",
"phone2": "",
"address": "",
"country": "US",
"fiscal_code": "",
"other": "TEST",
"agreeTermNote": "Note",
"managerNote": "Manager note",
"ownerBook": 0,
"leadsourceId": 11,
"totalRent": 7050,
"taxTotal": 1692,
"serviceTotal": 983,
"grandTotal": 9725,
"damageDeposit": 1000,
"qtyofnights": 7,
"propertyName": "Property",
"propertyId": 7,
"checkin": "2017-05-01 17:00:00",
"checkout": "2017-05-08 10:00:00",
"numberofadults": 3,
"numberofchildren": 0,
"currency": "EUR",
"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
}
]
}
}
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). |
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. |
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": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
"pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
"action": "update",
"bookingId": 2292,
"propertyId": 7,
"firstName": "Test",
"lastName": "Api",
"address": "",
"phone1": "+1 9880 567",
"email": "test@gmail.com",
"checkin": "2017-05-01",
"checkout": "2017-05-08",
"numberofadults": 3,
"leadsourceId": 11,
"currency": "EUR",
"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": 2292,
"firstName": "Test",
"lastName": "Api",
"fullName": "Test Api",
"email": "test@gmail.com",
"birthday": "",
"phone1": "",
"phone2": "",
"address": "",
"country": "US",
"fiscal_code": "",
"other": "TEST",
"agreeTermNote": "Note",
"managerNote": "Manager note",
"ownerBook": 0,
"leadsourceId": 11,
"totalRent": 7050,
"taxTotal": 1692,
"serviceTotal": 983,
"grandTotal": 9725,
"damageDeposit": 1000,
"qtyofnights": 7,
"propertyName": "Property",
"propertyId": 7,
"checkin": "2017-05-01 17:00:00",
"checkout": "2017-05-08 10:00:00",
"numberofadults": 3,
"numberofchildren": 0,
"currency": "EUR",
"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
}
]
}
}
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 (insertservice). |
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,
"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
}
]
}
}
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
}
}
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"
}
}
}
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) |
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==",
"propertyId": 7,
"action": "getinfo",
"checkin": "2017-05-01",
"checkout": "2017-05-08",
"numberofadults": 3,
"currency": "EUR"
}
Response example data
{
"status": 0,
"message": "Success",
"data": {
"totalRent": 7050,
"taxTotal": 1692,
"serviceTotal": 30120,
"grandTotal": 38862,
"damageDeposit": 1000,
"qtyofnights": 7,
"propertyName": "Property",
"propertyId": 7,
"checkin": "2017-05-01 17:00:00",
"checkout": "2017-05-08 10:00:00",
"numberofadults": 3,
"numberofchildren": 0,
"minimumStay": 2,
"currency": "EUR",
"tax": [
{
"name": "Tax 1",
"amount": 705
},
{
"name": "Tax 4",
"amount": 987
}
],
"service": [
{
"name": "S2",
"amount": 30000,
"taxAmount": 0
},
{
"name": "S5",
"amount": 120,
"taxAmount": 0
}
]
}
}
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
}
]
}
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
}
]
}
]
}
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). |
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": "test@gmail.com",
"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,
"propertyName": "Property 2",
"propertyId": 7,
"checkin": "2017-05-10 17:00:00",
"checkout": "2017-05-17 10:00:00",
"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": "test@gmail.com",
"phone1": "",
"phone2": "",
"agreeTermNote": "Note",
"managerNote": "Manager note",
"ownerBook": 0,
"leadsourceId": 11,
"totalRent": 600,
"taxTotal": 60,
"serviceTotal": 338,
"grandTotal": 998,
"damageDeposit": 1000,
"qtyofnights": 6,
"propertyName": "Property 2",
"propertyId": 7,
"checkin": "2017-05-01 17:00:00",
"checkout": "2017-05-07 10:00:00",
"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
}
]
}
]
}
}
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 17:00:00",
"endDate": "2020-01-07 10:00:00"
},
{
"id": "72",
"property_id": "1",
"memo": "Test",
"startDate": "2020-08-03 17:00:00",
"endDate": "2020-08-04 10:00:00"
}
]
}
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). |
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": "user1@test.com",
"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": "user1@test.com",
"name": "My Name",
"company": "Company name",
"address": "Address detail",
"country": "US",
"phone1": "+1 234 567 891",
"phone2": "+1 987 654 321"
}
}
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. |
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": "user1@test.com",
"name": "New Name",
"company": "Company name",
"address": "Update address",
"country": "FR",
"phone1": "+33 124 653 333",
"phone2": "+33 441 233 443"
}
}
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 (login). |
String | Email address. | |
password | String | Password. |
Request example data
{
"key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
"pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
"action": "login",
"email": "user1@test.com",
"password": "p123456"
}
Response example data
{
"status": 0,
"message": "Success",
"data": {
"userId": 1,
"email": "user1@test.com",
"name": "New Name",
"company": "Company name",
"address": "Update address",
"country": "FR",
"phone1": "+33 124 653 333",
"phone2": "+33 441 233 443"
}
}
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). |
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": "user1@test.com",
"name": "New Name",
"locale": "fr_FR"
}
Response example data
{
"status": 0,
"message": "Success",
"data": {
"userId": 1,
"email": "user1@test.com",
"name": "New Name",
"company": "Company name",
"address": "Update address",
"country": "FR",
"phone1": "+33 124 653 333",
"phone2": "+33 441 233 443"
}
}
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"
}
}
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. |
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,
"alias": "Smoking"
},
"pet": {
"gs": 1,
"alias": "Pets"
},
"children": {
"gs": 1,
"alias": "Childrenwelcome"
},
"airconditioner": {
"gs": 0,
"alias": "Air Conditioning"
},
"parking": {
"gs": 0,
"alias": "Offstreetparking"
},
"ocean": {
"gs": 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"
}
]
}
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"
}
]
}
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. |
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"
}
}
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. |
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"
}
]
}
]
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. |
category_id | Integer | Category'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). |
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 "rate_type" in the Default settings Api. |
maxprice | Float | Filter by max price in your rates & seasons table. This price will be compared to "rate_type" in the Default settings Api. |
bedrooms | Integer | Filter minimum number of bedrooms 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. |
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",
"numberadults": 4,
"children": 1,
"airconditioner": 1,
"parking": 1,
"ocean": 1,
"allowpet": 1,
"allowsmoking": 1,
"includeInvisibleProperty": 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. |
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",
"address": "HCM",
"city": "HCM",
"location_id": null,
"state": "",
"postcode": "084",
"country": "VN",
"phone": "",
"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 day, $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"
}
]
}
]
}
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": "user1@365villas.local.com",
"primary_phone": "0972980780",
"second_phone": "975375751"
}
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. |
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. |
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",
"address": "Property address",
"city": "Property city",
"location_id": "0",
"state": "",
"postcode": "72000",
"country": "US",
"phone": "",
"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"
}
]
}
}
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"
}
}
]
}
}
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
}
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"
}
]
}
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
}
]
}
}
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"
}
}
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"
}
}
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"
}
}
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') |
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": "test@gmail.com",
"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": "test@gmail.com",
"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": "test@gmail.com",
"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"
}
}
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). |
Request example data
{
"key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
"pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
"action": "getproperties"
}
Response data
Name | Type | Description |
---|---|---|
id | Integer | User id + "_" + property id in the account. |
name | String | Property name. |
Response example data
{
"status": 0,
"message": "Success",
"data": [
{
"id": "120_1",
"name": "Property 1"
},
{
"id": "120_2",
"name": "Property 2"
}
]
}
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 | Integer | Property's ID (user id + "_" + property id in the account). |
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
}
]
}
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). |
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
}
}
}
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 | Integer | Property's ID (user id + "_" + property id in the account). |
pricingArray | String | Pricing Array is json array string. Example: [{"date":"2018-10-01","recommended_price":"440","recommended_weekly_price":"3080", "recommended_monthly_price":"13000","current_price":"345","minNights":"3","reason":"High demand"},{"date":"2018-10-02","recommended_price":"440", "recommended_monthly_price":"12500","current_price":"345","minNights":"3","reason":"High demand"},{"date":"2018-10-03","recommended_price":"440","current_price":"345","minNights":"3","reason":"High demand"},{"date":"2018-10-04","recommended_price":"440","current_price":"345","minNights":"3","reason":"High demand"},{"date":"2018-10-05","recommended_price":"440","current_price":"345","minNights":"3","reason":"High demand"}] recommended_price will be apply for nightly price in the specific date. |
Request example data
{
"key": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
"pass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg==",
"action": "getpropertyinfo",
"propertyId": "120_1",
"pricingArray": "[{\"date\":\"2018-10-01\",\"recommended_price\":\"440\",\"recommended_weekly_price\":\"3080\",\"recommended_monthly_price\":\"13000\",\"current_price\":\"345\",\"minNights\":\"3\",\"reason\":\"High demand\"},{\"date\":\"2018-10-02\",\"recommended_price\":\"440\",\"recommended_monthly_price\":\"12500\",\"current_price\":\"345\",\"minNights\":\"3\",\"reason\":\"High demand\"},{\"date\":\"2018-10-03\",\"recommended_price\":\"440\",\"current_price\":\"345\",\"minNights\":\"3\",\"reason\":\"High demand\"},{\"date\":\"2018-10-04\",\"recommended_price\":\"440\",\"current_price\":\"345\",\"minNights\":\"3\",\"reason\":\"High demand\"},{\"date\":\"2018-10-05\",\"recommended_price\":\"440\",\"current_price\":\"345\",\"minNights\":\"3\",\"reason\":\"High demand\"}]"
}
Response example data
{
"status": 0,
"message": "Success",
"data": [
]
}
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). |
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"
}
]
]
}
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
}
}
}
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
}
]
}
}