Escapia Vacation rental Network provide the functionality to book rentals online. You can implement ECRN api into your website using XML/Soap api. Here i am describe you to integration with it in Soap api call.
EVRN api is SOAP/XML base api.
Primary prerequisites:
Version: Request schema version. Default value is 1.000
ID: Escapianet username
MessagePassword: Escapianet password
UnitCode : It is the unique code associated with the required property unit.
[sociallocker id=”1175″]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<?php $soapClient = new SoapClient('https://api.escapia.com/EVRNService.svc?wsdl'); $result = $soapClient->UnitDescriptiveInfo( array( 'Version' => '1.000', 'POS' => array('Source' => array('RequestorID' => array('ID' => ' ********Escapianet username******** ', 'MessagePassword' => '******** Escapianet password********’))), 'UnitDescriptiveInfos' => array( 'UnitDescriptiveInfo' => array( 'UnitCode' => '****-*****', // Use your unit code here ) ) ) ); echo "<pre>"; print_r($result); ?> |
[/sociallocker]
Using this EVRN API partners can use vacation rental units information and facilitate online book it those.
Thanks – I need help with more of this api if interested.
Yeah sure… tell me what you need ?
[email protected]
Hello Harish ,
i need get unit user reviews, so i used UnitReviews And SendReviews parameters in UnitDescriptiveInfo function but can’t get user reviews.
My code is
$response = $client->UnitDescriptiveInfo(
array(
‘Version’ => “1.030”,
‘POS’ => $POS,
‘UnitDescriptiveInfos’ =>
array(
‘UnitDescriptiveInfo’ =>
array(
‘UnitCode’ => “1685-271314”,
“UnitReviews” => array(“SendReviews” => true),
),
),
)
);
Pleas help me
Hello Imran,
You did not pass parameter in correct format. Use this format for parameter:
‘UnitDescriptiveInfo’ =>
array(
‘UnitCode’ => ‘****-*****’,
‘UnitReviews’ => ‘unit review value’,
‘SendReviews’ => ‘send review data here’
)
If still facing issue please tell me what error you got ? Thanks
what is RequestID and MessagePassword in Target=’Test’