Interface MaInboundInterface
Methods summary
public
MyAllocator\phpsdkota\src\Object\MaResponse
|
#
authenticateProperty( array $args )
Authenticate Myallocator/OTA property.
Authenticate Myallocator/OTA property.
After myallocator calls setupProperty, OTA stores mya_property_id to ota_property_id mapping.
On each request, validate the 1:1 mya_property_id to ota_property_id mapping.
args['mya_property_id']* string The property_id in MyAllocator.
args['ota_property_id']* string The property_id in OTA.
Parameters
Returns
|
public
MyAllocator\phpsdkota\src\Object\MaResponse
|
#
setupProperty( array $args )
Setup a new property on OTA.
Setup a new property on OTA.
args['verb']* string Defines the API endpoint method.
args['guid']* string A unique 36 character code that identifies a request.
args['mya_property_id']* string The property_id in MyAllocator.
args['ota_property_id']* string The property_id in OTA.
args['ota_regcode'] string ? TODO
Parameters
Returns
|
public
MyAllocator\phpsdkota\src\Object\MaResponse
|
#
getRoomTypes( array $args )
Get room type information for a property.
Get room type information for a property.
args['verb']* string Defines the API endpoint method.
args['guid']* string A unique 36 character code that identifies a request.
args['mya_property_id']* string The property_id in MyAllocator.
args['ota_property_id']* string The property_id in OTA.
Parameters
Returns
|
public
MyAllocator\phpsdkota\src\Object\MaResponse
|
#
getBookingId( array $args )
Get information for a specific booking for a property.
Get information for a specific booking for a property.
args['verb']* string Defines the API endpoint method.
args['guid']* string A unique 36 character code that identifies a request.
args['mya_property_id']* string The property_id in MyAllocator.
args['ota_property_id']* string The property_id in OTA.
args['booking_id']* string The booking identifier.
args['booking_id_version'] string The OTA version at time of booking.
Parameters
Returns
|
public
MyAllocator\phpsdkota\src\Object\MaResponse
|
#
getBookingList( array $args )
Get a list of bookings within a date range for a property.
Get a list of bookings within a date range for a property.
args['verb']* string Defines the API endpoint method.
args['guid']* string A unique 36 character code that identifies a request.
args['mya_property_id']* string The property_id in MyAllocator.
args['ota_property_id']* string The property_id in OTA.
args['start_ts']* string The start timestamp (YYYYMMDDtHHMMSSZ).
args['end_ts']* string The end timestamp (YYYYMMDDtHHMMSSZ).
Parameters
Returns
|
public
MyAllocator\phpsdkota\src\Object\MaResponse
|
#
ARIUpdate( array $args )
Update inventory (rates and availability) for a property.
Update inventory (rates and availability) for a property.
args['verb']* string Defines the API endpoint method.
args['guid']* string A unique 36 character code that identifies a request.
args['mya_property_id']* string The property_id in MyAllocator.
args['ota_property_id']* string The property_id in OTA.
args['ota_room_id']* string The room_id in OTA.
args['Inventory']* string The rates to update.
Parameters
Returns
|
public
|
#
log( string $str )
Inbound API logs. Implement a logging method here to capture the inbound API logs.
Inbound API logs. Implement a logging method here to capture the inbound API logs.
Parameters
|
Magic methods summary