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. |
address | String | Address (optional). |
phone1 | String | Phone number 1 (optional). |
phone2 | String | Phone number 2 (optional). |
String | Email address. | |
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). |
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) |
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. |
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": "[email protected]",
"checkin": "2017-05-01",
"checkout": "2017-05-08",
"numberofadults": 3,
"currency": "EUR",
"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": "[email protected]",
"phone1": "",
"phone2": "",
"agreeTermNote": "Note",
"managerNote": "Manager note",
"ownerBook": 0,
"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. |
address | String | Address (optional). |
phone1 | String | Phone number 1 (optional). |
phone2 | String | Phone number 2 (optional). |
String | Email address. | |
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). |
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. 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. |
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": "[email protected]",
"checkin": "2017-05-01",
"checkout": "2017-05-08",
"numberofadults": 3,
"currency": "EUR",
"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": "[email protected]",
"phone1": "",
"phone2": "",
"agreeTermNote": "Note",
"managerNote": "Manager note",
"ownerBook": 0,
"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": "[email protected]",
"phone1": "",
"phone2": "",
"agreeTermNote": "Note",
"managerNote": "Manager note",
"ownerBook": 0,
"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": "[email protected]",
"phone1": "",
"phone2": "",
"agreeTermNote": "Note",
"managerNote": "Manager note",
"ownerBook": 0,
"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 (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": "[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"
}
}
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": "[email protected]",
"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": "[email protected]",
"password": "p123456"
}
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"
}
}
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": "[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"
}
}
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. |
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. |
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"
},
"currency_code": "USD",
"currency_symbol": "$",
"rate_type": "weekly",
"use_enquire": 0
}
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. |
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"
}
]
}
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"
}
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. |
Response example data
{
"properties": {
"id": "1",
"name": "Property Test 1",
"address": "Property address 1",
"city": "H\u00e1\u00bb\u201c Ch\u00c3\u00ad minh",
"location_id": "43136",
"state": "Vietnam",
"postcode": "700000",
"country": "VN",
"phone": "975375751",
"brief": "Test",
"other": null,
"type": "None",
"space": "0",
"floor": "0",
"maxguest": "10",
"allowchildren": "1",
"allowpet": "0",
"allowsmoking": "0",
"bedroom": "5",
"bathroom": "6",
"isfeatured": "0",
"visibleOnWebsite": "1",
"external_link": "",
"rateLabel": "week",
"rateValue": "$1,000.00",
"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
}
},
"minimumStay": 2,
"eligible_for_online_booking": 1,
"image_path": "https:\/\/secure.365villas.com\/getimage\/general.php?image=2cIkaF8%2FNSrtbbDCd4an1DF0DTDweFRlEkCuW%2B8KYFEQpgSq%2BuJIfEcwzgOyeYWW0hpzD4nCOjdwgbHYQON60998K1CIQ7LhXpVgGIWbUT06d7InVC3LfY01DxfPIiHn.jpg",
"image_small": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=422&h=243&image=2cIkaF8%2FNSrtbbDCd4an1DF0DTDweFRlEkCuW%2B8KYFEQpgSq%2BuJIfEcwzgOyeYWW0hpzD4nCOjdwgbHYQON60998K1CIQ7LhXpVgGIWbUT06d7InVC3LfY01DxfPIiHn.jpg",
"image_317_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?w=317&h=179&image=2cIkaF8%2FNSrtbbDCd4an1DF0DTDweFRlEkCuW%2B8KYFEQpgSq%2BuJIfEcwzgOyeYWW0hpzD4nCOjdwgbHYQON60998K1CIQ7LhXpVgGIWbUT06d7InVC3LfY01DxfPIiHn.jpg",
"image_h_179": "https:\/\/secure.365villas.com\/getimage\/custom.php?h=179&image=2cIkaF8%2FNSrtbbDCd4an1DF0DTDweFRlEkCuW%2B8KYFEQpgSq%2BuJIfEcwzgOyeYWW0hpzD4nCOjdwgbHYQON60998K1CIQ7LhXpVgGIWbUT06d7InVC3LfY01DxfPIiHn.jpg",
"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",
"policies": {
"payment_policies": "To secure the booking, a partial payment of 10% of the quote, is due within 1 day of guest confirmation of intention to book<br \/>Payment must be fully settled: upon arrival<br \/>Payments are non-refundable, but exceptions may be considered at the manager's sole discretion, subject to being able to rent the dates in question to another party at a comparable rate.",
"payment_methods": "Cash<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."
},
"every_stay_includes": {
"wifi": {
"image": "https:\/\/secure.365villas.com\/images\/wp_api_icon\/icon-wifi.jpg",
"name": "Wifi"
},
"mobile": {
"image": "https:\/\/secure.365villas.com\/images\/wp_api_icon\/icon-mobile.jpg",
"name": "Mobile"
},
"welcome": {
"image": "https:\/\/secure.365villas.com\/images\/wp_api_icon\/icon-wellcome.jpg",
"name": "Welcome"
},
"toiletries": {
"image": "https:\/\/secure.365villas.com\/images\/wp_api_icon\/icon-tolileties.jpg",
"name": "Toiletries"
},
"area-tips": {
"image": "https:\/\/secure.365villas.com\/images\/wp_api_icon\/icon-area-tips.jpg",
"name": "Area Tips"
},
"cleaning": {
"image": "https:\/\/secure.365villas.com\/images\/wp_api_icon\/icon-clearning.jpg",
"name": "Cleaning"
},
"support": {
"image": "https:\/\/secure.365villas.com\/images\/wp_api_icon\/icon-support.jpg",
"name": "24\/7 Support"
}
},
"local_area_action": {
"filename": "https:\/\/secure.365villas.com\/getimage\/general.php?image=2cIkaF8%2FNSrtbbDCd4an1DF0DTDweFRlEkCuW%2B8KYFEQpgSq%2BuJIfEcwzgOyeYWW0hpzD4nCOjdwgbHYQON60998K1CIQ7LhXpVgGIWbUT06d7InVC3LfY01DxfPIiHn.jpg",
"description": "Test",
"lat": "101",
"lon": "101",
"address": "B70\/8 Nguy\u00e1\u00bb\u2026n Th\u00e1\u00ba\u00a7n Hi\u00e1\u00ba\u00bfn P18 Q4\r\nB70\/18 Nguy\u00e1\u00bb\u2026n Th\u00e1\u00ba\u00a7n Hi\u00e1\u00ba\u00bfn P18 Q4"
},
"amenity": [
{
"label": "General",
"amenity": [
{
"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"
}
]
},
"extra": {
"label": "Extra",
"amenity": [
]
}
],
"amenity_description": "Amenity description"
}
}
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 (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
}
]
}
}