To use the BookingBnb functions, you need to acquire a token. Then, the token will be sent as first argument to the available functions.
Acquiring the token
In order to acquire the token, you'll have to use the following function:
The arguments user and password are the credentials that a partner uses to enter the BookingBnb Control Panel.
The AcquireToken function returns a token, which must be treated as a string. So, for example, your code should be:
Most of the BookingBnb fuctions require, as additional argument, the propertyID parameter. The propertyID is an integer, uniquely identifying a property.
It can be found by:
- Entering the BookingBnb Control Panel and visiting the Dashoboard;
- Using the BookingBnb function GetProperties.