API Documentation

Introduction

Request Header Example

POST /service/soap?ws=1 HTTP/1.1
Host: sandbox.sail-book.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.3.3-7+squeeze19
Content-Type: application/soap+xml; charset=utf-8; action="urn:ServiceControllerwsdl#GetLocations"
Content-Length: 356

Sail-Book API is built using SOAP principles which ensures predictable URLs that makes writing applications easy. This API follows SOAP rules, enabling a wide range of HTTP clients to interact with the API.

Bases

Bases refer to Marinas that Sail-Book lists worldwide.

Example


array (
  AN_ANT => 'Antigua, Antigua',
  AU_AIR => 'Airlie Beach, Australia',
  BE_NIE => 'Nieuwpoort, Belgium',
  BR_ANG => 'Angra dos Reis, Brazil',
  BR_ROA => 'Road Town, Tortola, British Virgin Islan',
  CA_NAN => 'Nanaimo, Vancouver Island, Canada',
  CA_POW => 'Powell River, Desolation Sound, Canada',
  CA_SAO => 'Sao Vincente, Cape Verde',
  CA_SID => 'Sidney, Vancouver Island, Canada',
  CA_VAN => 'Vancouver, Canada',
)

Locations

POST /GetLocations

List all Marinas locations.

Request XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetLocations env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"/></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:ns2="http://xml.apache.org/xml-soap"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:GetLocationsResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return xsi:type="ns2:Map"><item><key xsi:type="xsd:string">AN_ANT</key><value xsi:type="xsd:string">Antigua, Antigua</value></item><item><key xsi:type="xsd:string">AU_AIR</key><value xsi:type="xsd:string">Airlie Beach, Australia</value></item><item><key xsi:type="xsd:string">BE_NIE</key><value xsi:type="xsd:string">Nieuwpoort, Belgium</value></item><item><key xsi:type="xsd:string">BR_ANG</key><value xsi:type="xsd:string">Angra dos Reis, Brazil</value></item><item><key xsi:type="xsd:string">BR_ROA</key><value xsi:type="xsd:string">Road Town, Tortola, British Virgin Islan</value></item><item><key xsi:type="xsd:string">CA_NAN</key><value xsi:type="xsd:string">Nanaimo, Vancouver Island, Canada</value></item><item><key xsi:type="xsd:string">CA_POW</key><value xsi:type="xsd:string">Powell River, Desolation Sound, Canada</value></item><item><key xsi:type="xsd:string">CA_SAO</key><value xsi:type="xsd:string">Sao Vincente, Cape Verde</value></item><item><key xsi:type="xsd:string">CA_SID</key><value xsi:type="xsd:string">Sidney, Vancouver Island, Canada</value></item><item><key xsi:type="xsd:string">CA_VAN</key><value xsi:type="xsd:string">Vancouver, Canada</value></item></return></ns1:GetLocationsResponse></env:Body></env:Envelope>

Parsed Response Example


array (
  AN_ANT => 'Antigua, Antigua',
  AU_AIR => 'Airlie Beach, Australia',
  BE_NIE => 'Nieuwpoort, Belgium',
  BR_ANG => 'Angra dos Reis, Brazil',
  BR_ROA => 'Road Town, Tortola, British Virgin Islan',
  CA_NAN => 'Nanaimo, Vancouver Island, Canada',
  CA_POW => 'Powell River, Desolation Sound, Canada',
  CA_SAO => 'Sao Vincente, Cape Verde',
  CA_SID => 'Sidney, Vancouver Island, Canada',
  CA_VAN => 'Vancouver, Canada',
)

ARGUMENTS

No arguments

My Locations

POST /GetMyLocations

List Marina Locations of my Boats.

Request XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetMyLocations env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sail-book</broker_password></ns1:GetMyLocations></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:ns2="http://xml.apache.org/xml-soap"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:GetMyLocationsResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return xsi:type="ns2:Map"><item><key xsi:type="xsd:string">GR_KAL</key><value xsi:type="xsd:string">Kalamaki, Athens, Greece</value></item><item><key xsi:type="xsd:string">GR_LAV</key><value xsi:type="xsd:string">Lavrion, Attica, Greece</value></item><item><key xsi:type="xsd:string">GR_GOU</key><value xsi:type="xsd:string">Marina Gouvia, Corfu, Greece</value></item><item><key xsi:type="xsd:string">GR_LEF</key><value xsi:type="xsd:string">Lefkas, Ionian, Greece</value></item><item><key xsi:type="xsd:string">GR_SKI</key><value xsi:type="xsd:string">Skiathos, Sporades, Greece</value></item><item><key xsi:type="xsd:string">GR_KOS</key><value xsi:type="xsd:string">Kos, Dodecanese, Greece</value></item><item><key xsi:type="xsd:string">GR_VOL</key><value xsi:type="xsd:string">Volos, Magnesia, Greece</value></item><item><key xsi:type="xsd:string">GR_MAN</key><value xsi:type="xsd:string">Marina Mandraki, Rhodes, Greece</value></item><item><key xsi:type="xsd:string">GR_PAR</key><value xsi:type="xsd:string">Paros, Cyclades, Greece</value></item><item><key xsi:type="xsd:string">GR_MYC</key><value xsi:type="xsd:string">Myconos, Cyclades, Greece</value></item><item><key xsi:type="xsd:string">TU_FET</key><value xsi:type="xsd:string">Fethiye,Turkey</value></item><item><key xsi:type="xsd:string">GR_GLY</key><value xsi:type="xsd:string">Glyfada, Athens, Greece</value></item><item><key xsi:type="xsd:string">GR_MIK</key><value xsi:type="xsd:string">Mikrolimano, Piraeus, Greece</value></item></return></ns1:GetMyLocationsResponse></env:Body></env:Envelope>

Parsed Response Example


array (
  GR_KAL => 'Kalamaki, Athens, Greece',
  GR_LAV => 'Lavrion, Attica, Greece',
  GR_GOU => 'Marina Gouvia, Corfu, Greece',
  GR_LEF => 'Lefkas, Ionian, Greece',
  GR_SKI => 'Skiathos, Sporades, Greece',
  GR_KOS => 'Kos, Dodecanese, Greece',
  GR_VOL => 'Volos, Magnesia, Greece',
  GR_MAN => 'Marina Mandraki, Rhodes, Greece',
  GR_PAR => 'Paros, Cyclades, Greece',
  GR_MYC => 'Myconos, Cyclades, Greece',
  GR_FET => 'Fethiye,Turkey',
  GR_GLY => 'Glyfada, Athens, Greece',
  GR_MIK => 'Mikrolimano, Piraeus, Greece',
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.

Locations With Boat Count

POST /GetLocationsWithBoatCount

List Boats per Marina.

Request XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetLocationsWithBoatCount env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sailbook</broker_password></ns1:GetLocationsWithBoatCount></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:ns2="http://xml.apache.org/xml-soap"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:GetLocationsWithBoatCountResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return enc:itemType="ns2:Map"enc:arraySize="31"xsi:type="enc:Array"><item xsi:type="ns2:Map"><item><key xsi:type="xsd:string">code</key><value xsi:type="xsd:string">GR_CHA</value></item><item><key xsi:type="xsd:string">title</key><value xsi:type="xsd:string">Chania, Crete, Greece</value></item><item><key xsi:type="xsd:string">boat_count</key><value xsi:type="xsd:int">34</value></item></item><item xsi:type="ns2:Map"><item><key xsi:type="xsd:string">code</key><value xsi:type="xsd:string">GR_DEL</value></item><item><key xsi:type="xsd:string">title</key><value xsi:type="xsd:string">Marina Delta, Athens, Greece</value></item><item><key xsi:type="xsd:string">boat_count</key><value xsi:type="xsd:int">26</value></item></item><item xsi:type="ns2:Map"><item><key xsi:type="xsd:string">code</key><value xsi:type="xsd:string">GR_GOU</value></item><item><key xsi:type="xsd:string">title</key><value xsi:type="xsd:string">Marina Gouvia, Corfu, Greece</value></item><item><key xsi:type="xsd:string">boat_count</key><value xsi:type="xsd:int">41</value></item></item><item xsi:type="ns2:Map"><item><key xsi:type="xsd:string">code</key><value xsi:type="xsd:string">GR_HER</value></item><item><key xsi:type="xsd:string">title</key><value xsi:type="xsd:string">Heraklion, Crete, Greece</value></item><item><key xsi:type="xsd:string">boat_count</key><value xsi:type="xsd:int">26</value></item></item><item xsi:type="ns2:Map"><item><key xsi:type="xsd:string">code</key><value xsi:type="xsd:string">GR_KAL</value></item><item><key xsi:type="xsd:string">title</key><value xsi:type="xsd:string">Kalamaki, Athens, Greece</value></item><item><key xsi:type="xsd:string">boat_count</key><value xsi:type="xsd:int">106</value></item></item><item xsi:type="ns2:Map"><item><key xsi:type="xsd:string">code</key><value xsi:type="xsd:string">GR_KOS</value></item><item><key xsi:type="xsd:string">title</key><value xsi:type="xsd:string">Kos, Dodecanese, Greece</value></item><item><key xsi:type="xsd:string">boat_count</key><value xsi:type="xsd:int">49</value></item>

Parsed Response Example


array (
0 => 
array (
  'code' => 'GR_CHA',
  'title' => 'Chania, Crete, Greece',
  'boat_count' => '34',
),
1 => 
array (
  'code' => 'GR_DEL',
  'title' => 'Marina Delta, Athens, Greece',
  'boat_count' => '26',
),
2 =>
array (
  'code' => 'GR_GOU',
  'title' => 'Marina Gouvia, Corfu, Greece',
  'boat_count' => '41',
),
3 =>
array (
  'code' => 'GR_HER',
  'title' => 'Heraklion, Crete, Greece',
  'boat_count' => '26',
),
4 =>
array (
  'code' => 'GR_KAL',
  'title' => 'Kalamaki, Athens, Greece,
  'boat_count' => '106',
),
5 =>
array (
  'code' => 'GR_KOS',
  'title' => 'Kos, Dodecanese, Greece,
  'boat_count' => '49',
),
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.

My Boats Locations

POST /GetMyBoatsLocations

List all Marinas of my Boats.

Request XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetMyBoatsLocations env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sail-book</broker_password></ns1:GetMyBoatsLocations></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:ns2="http://xml.apache.org/xml-soap"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:GetMyBoatsLocationsResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return xsi:type="ns2:Map"><item><key xsi:type="xsd:int">1</key><value xsi:type="ns2:Map"><item><key xsi:type="xsd:string">boat_id</key><value xsi:type="xsd:string">1290</value></item><item><key xsi:type="xsd:string">location_code</key><value xsi:type="xsd:string">GR_GLY</value></item></value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="ns2:Map"><item><key xsi:type="xsd:string">boat_id</key><value xsi:type="xsd:string">1271</value></item><item><key xsi:type="xsd:string">location_code</key><value xsi:type="xsd:string">GR_GLY</value></item></value></item><item><key xsi:type="xsd:int">3</key><value xsi:type="ns2:Map"><item><key xsi:type="xsd:string">boat_id</key><value xsi:type="xsd:string">1271</value></item><item><key xsi:type="xsd:string">location_code</key><value xsi:type="xsd:string">GR_MYC</value></item></value></item><item><key xsi:type="xsd:int">4</key><value xsi:type="ns2:Map"><item><key xsi:type="xsd:string">boat_id</key><value xsi:type="xsd:string">1292</value></item><item><key xsi:type="xsd:string">location_code</key><value xsi:type="xsd:string">GR_KAL</value></item></value></item><item><key xsi:type="xsd:int">5</key><value xsi:type="ns2:Map"><item><key xsi:type="xsd:string">boat_id</key><value xsi:type="xsd:string">1292</value></item><item><key xsi:type="xsd:string">location_code</key><value xsi:type="xsd:string">GR_GLY</value></item></value></item><item><key xsi:type="xsd:int">6</key><value xsi:type="ns2:Map"><item><key xsi:type="xsd:string">boat_id</key><value xsi:type="xsd:string">1292</value></item>

Parsed Response Example


array (
1 => 
array (
  'boat_id' => '1290',
  'location_code' => 'GR_GLY',
),
2 =>
array (
  'boat_id' => '1271',
  'location_code' => 'GR_GLY',
),
3 =>
array (
  'boat_id' => '1271',
  'location_code' => 'GR_MYC',
),
4 =>
array (
  'boat_id' => '1292',
  'location_code' => 'GR_KAL,
),
5 =>
array (
  'boat_id' => '1292',
  'location_code' => 'GR_GLY,
),
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.

Yachts

This section lists API's for retrieving information and managing yacht bookings.

Parsed Response Example


array (
0 =>
array (
  id => '1040',
  name => 'Lady Kiki II',
  type => 'Sailing Yacht',
  brand => 'Beneteau',
  model => 'Beneteau Cyclades 50.5 (5Cab)',
  rating => '3.5',
  length_feet => '50.00',
  berths => '10',
  year_built => '2007',
  year_refit => '2015',
  base_marina => 'Kalamaki, Athens, Greece',
  main_image_url => 'https://sail-book.com/images/boats/1040/beneteau-oceanis-50-family.jpg',
),
)

Boat Types

POST /GetBoatTypes

List all Boat Types.

Request XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetBoatTypes env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"/></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:GetBoatTypesResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return xsi:type="ns2:Map"><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string">Sailing Yacht</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string">Motor Yacht</value></item><item><key xsi:type="xsd:int">3</key><value xsi:type="xsd:string">Catamaran</value></item><item><key xsi:type="xsd:int">6</key><value xsi:type="xsd:string">Motor Sailer</value></item><item><key xsi:type="xsd:int">7</key><value xsi:type="xsd:string">Racing Yacht</value></item><item><key xsi:type="xsd:int">8</key><value xsi:type="xsd:string">Cruising Yacht</value></item><item><key xsi:type="xsd:int">9</key><value xsi:type="xsd:string">Mega Yacht</value></item></return></ns1:GetBoatTypesResponse></env:Body></env:Envelope>

Parsed Response Example


array (
  1 => 'Sailing Yacht',
  2 => 'Motor Yacht',
  3 => 'Catamaran',
  6 => 'Motor Sailer',
  7 => 'Racing Yacht',
  8 => 'Cruising Yacht',
  9 => 'Mega Yacht',
)

ARGUMENTS

No arguments

My Boat Types

POST /GetMyBoatTypes

List all Boat Types of my Boats.

Request XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetMyBoatTypes env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"/><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sail-book</broker_password></ns1:GetMyBoatTypes></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:GetMyBoatTypesResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return xsi:type="ns2:Map"><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string">Sailing Yacht</value></item><item><key xsi:type="xsd:int">3</key><value xsi:type="xsd:string">Catamaran</value></item><item><key xsi:type="xsd:int">7</key><value xsi:type="xsd:string">Racing Yacht</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string">Motor Yacht</value></item><item><key xsi:type="xsd:int">6</key><value xsi:type="xsd:string">Motor Sailer</value></item><item><key xsi:type="xsd:int">9</key><value xsi:type="xsd:string">Mega Yacht</value></item></return></ns1:GetMyBoatTypesResponse></env:Body></env:Envelope>

Parsed Response Example


array (
  1 => 'Sailing Yacht',
  3 => 'Catamaran',  
  7 => 'Racing Yacht',
  2 => 'Motor Yacht',
  6 => 'Motor Sailer',
  9 => 'Mega Yacht',
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.

Boat Models

POST /GetBoatModels

List all Boat Models.

Request XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetBoatModels env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"/></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:GetBoatModelsResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return xsi:type="ns2:Map"><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string">Absolute 52</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string">Adria 1002 (3Cab)</value></item><item><key xsi:type="xsd:int">3</key><value xsi:type="xsd:string">Adriana 36</value></item><item><key xsi:type="xsd:int">4</key><value xsi:type="xsd:string">Adriana 44</value></item><item><key xsi:type="xsd:int">5</key><value xsi:type="xsd:string">Adriatik 790</value></item><item><key xsi:type="xsd:int">6</key><value xsi:type="xsd:string">Aicon 62 open</value></item><item><key xsi:type="xsd:int">7</key><value xsi:type="xsd:string">Aicon 64 Fly</value></item><item><key xsi:type="xsd:int">8</key><value xsi:type="xsd:string">Aicon 72 Open</value></item><item><key xsi:type="xsd:int">9</key><value xsi:type="xsd:string">Aicon 75 Fly</value></item><item><key xsi:type="xsd:int">10</key><value xsi:type="xsd:string">Aicon 85 Fly</value></item></return></ns1:GetBoatModelsResponse></env:Body></env:Envelope>

Parsed Response Example


array (
  1 => 'Absolute 52',
  2 => 'Adria 1002 (3Cab)',
  3 => 'Adriana 36',
  4 => 'Adriana 44',
  5 => 'Adriatik 790',
  6 => 'Aicon 62 open',
  7 => 'Aicon 64 Fly',
  8 => 'Aicon 72 Open',
  9 => 'Aicon 75 Fly',
  10 => 'Aicon 85 Fly',
)

ARGUMENTS

No arguments

My Boat Models

POST /GetMyBoatModels

List all Boat Models of my Boats.

Request XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetMyBoatModels env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sail-book</broker_password></ns1:GetMyBoatModels></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:GetMyBoatModelsResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return xsi:type="ns2:Map"><item><key xsi:type="xsd:int">2258</key><value xsi:type="xsd:string">400-S2 (5Cab)</value></item><item><key xsi:type="xsd:int">2267</key><value xsi:type="xsd:string">AB 92</value></item><item><key xsi:type="xsd:int">2257</key><value xsi:type="xsd:string">Aicon 56</value></item><item><key xsi:type="xsd:int">2259</key><value xsi:type="xsd:string">Aicon 56 FLY</value></item><item><key xsi:type="xsd:int">9</key><value xsi:type="xsd:string">Aicon 75 Fly</value></item><item><key xsi:type="xsd:int">2283</key><value xsi:type="xsd:string">Atlantic 55</value></item><item><key xsi:type="xsd:int">29</key><value xsi:type="xsd:string">Azimut 42</value></item><item><key xsi:type="xsd:int">2297</key><value xsi:type="xsd:string">Azimut 58 flybridge</value></item><item><key xsi:type="xsd:int">32</key><value xsi:type="xsd:string">Azimut 62</value></item><item><key xsi:type="xsd:int">2268</key><value xsi:type="xsd:string">Azimut 68 Fly</value></item><item></return></ns1:GetMyBoatModelsResponse></env:Body></env:Envelope>

Parsed Response Example


array (
  2258 => '400-S2 (5Cab)',
  2267 => 'AB 92',
  2257 => 'Aicon 56',
  2259 => 'Aicon 56 FLY',
  9 => 'Aicon 75 Fly',
  2283 => 'Atlantic 55',
  29 => 'Azimut 42',
  2297 => 'Azimut 58 flybridge',
  32 => 'Azimut 62',
  2268 => 'Azimut 68 Fly',
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.

Search Availability

POST /SearchAvailability

Search Availability.

Request XML Example


<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:SearchAvailability env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sail-book</broker_password><from_location xsi:type="xsd:string">GR_KAL</from_location><to_location xsi:type="xsd:string">GR_KAL</to_location><from_date xsi:type="xsd:string">2017-07-22</from_date><to_date xsi:type="xsd:string">2017-07-30</to_date><berths_range xsi:type="xsd:string">10</berths_range><boat_type xsi:type="xsd:string">Sailing Yacht</boat_type><boat_model xsi:type="xsd:string">Bavaria 50 Cruiser (5Cab)</boat_model><length_range xsi:type="xsd:string">50</length_range><order_by xsi:nil="true"/></ns1:SearchAvailability></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:SearchAvailabilityResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return enc:itemType="ns2:Map" enc:arraySize="1" xsi:type="enc:Array"><item xsi:type="ns2:Map"><item><key xsi:type="xsd:string">boat_id</key><value xsi:type="xsd:string">1218</value></item><item><key xsi:type="xsd:string">boat_name</key><value xsi:type="xsd:string">Sail la Vie 50DS</value></item><item><key xsi:type="xsd:string">boat_type</key><value xsi:type="xsd:string">Sailing Yacht</value></item><item><key xsi:type="xsd:string">boat_brand</key><value xsi:type="xsd:string">Jeanneau</value></item><item><key xsi:type="xsd:string">boat_model</key><value xsi:type="xsd:string">Sun Odyssey 50 DS (4Cab)</value></item><item><key xsi:type="xsd:string">boat_year</key><value xsi:type="xsd:string">2012</value></item><item><key xsi:type="xsd:string">boat_image_url</key><value xsi:type="xsd:string">https://sail-book.com/images/boats/1218/Sun-Odyssey-50.jpg</value></item><item><key xsi:type="xsd:string">rating</key><value xsi:type="xsd:string">2.5</value></item><item><key xsi:type="xsd:string">berths</key><value xsi:type="xsd:string">10</value></item><item><key xsi:type="xsd:string">length_feet</key><value xsi:type="xsd:string">50.00</value></item><item><key xsi:type="xsd:string">net_price</key><value xsi:type="xsd:float">5050</value></item><item><key xsi:type="xsd:string">gross_price</key><value xsi:type="xsd:float">6050</value></item><item><key xsi:type="xsd:string">discount_percent</key><value xsi:type="xsd:int">0</value></item><item><key xsi:type="xsd:string">currency</key><value xsi:type="xsd:string">EUR</value></item><item><key xsi:type="xsd:string">security_deposit</key><value xsi:type="xsd:string">3500.00</value></item><item><key xsi:type="xsd:string">offer_id</key><value xsi:nil="true"/></item><item><key xsi:type="xsd:string">offered_net_price</key><value xsi:nil="true"/></item><item><key xsi:type="xsd:string">from_location</key><value xsi:type="xsd:string">GR_KAL</value></item><item><key xsi:type="xsd:string">to_location</key><value xsi:type="xsd:string">GR_KAL</value></item><item><key xsi:type="xsd:string">from_location_title</key><value xsi:nil="true"/></item><item><key xsi:type="xsd:string">to_location_title</key><value xsi:nil="true"/></item><item><key xsi:type="xsd:string">from_date</key><value xsi:type="xsd:string">2017-07-22</value></item><item><key xsi:type="xsd:string">to_date</key><value xsi:type="xsd:string">2017-07-30</value></item></item></return></ns1:SearchAvailabilityResponse></env:Body></env:Envelope>

Parsed Response Example


array (
0 =>
array (
  boat_id => '1218',
  boat_name => 'Sail la Vie 50DS',
  boat_type => 'Sailing Yacht',
  boat_brand => 'Jeanneau',
  boat_model => 'Sun Odyssey 50 DS (4Cab)',
  boat_year => '2012',
  boat_image_url => 'https://sail-book.com/images/boats/1218/Sun-Odyssey-50.jpg',
  rating => '2.5',
  berths => '10',
  length_feet => '50.00',
  net_price => '5050',
  gross_price => '6050',
  discount_percent => '0',
  currency => 'EUR',
  security_deposit => '3500.00',
  offer_id => 'NULL',
  offered_net_price => 'NULL',
  from_location => 'GR_KAL',
  to_location => 'GR_KAL',
  from_location_title => 'NULL',
  to_location_title => 'NULL',
  from_date => '2017-07-22',
  to_date => '2017-07-30',
),
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.
from_location
Required
From marina location code.
to_location
Optional
To marina location code.
from_date
Required
From date in YYYY-MM-DD format.
to_date
Optional
To date in YYYY-MM-DD format.
berths_range
Optional
Number of berths.
boat_type
Optional
Type of boat.
boat_model
Optional
Model of boat.
length_range
Optional
Length of the boat.
order_by
Optional
List order.

Verify Availability

POST /VerifyAvailability

Verify the Availability of Boats.

Request XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:VerifyAvailability env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sail-book</broker_password><from_location xsi:type="xsd:string">GR_KAL</from_location><to_location xsi:type="xsd:string">GR_KAL</to_location><from_date xsi:type="xsd:string">2017-07-22</from_date><to_date xsi:type="xsd:string">2017-07-30</to_date><boat_id xsi:type="xsd:string">1094</boat_id></ns1:VerifyAvailability></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:VerifyAvailabilityResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return xsi:type="ns2:Map"><item><key xsi:type="xsd:string">status</key><value xsi:type="xsd:string">NOT AVAILABLE</value></item></return></ns1:VerifyAvailabilityResponse></env:Body></env:Envelope>

Parsed Response Example


array (
  status => 'NOT AVAILABLE',
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.
from_location
Required
From marina location code.
to_location
Optional
To marina location code.
from_date
Required
From date in YYYY-MM-DD format.
to_date
Optional
To date in YYYY-MM-DD format.
boat_id
Required
ID of the boat.

Offers

POST /GetOffers

List all Boat Offers.

Request XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetOffers env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sail-book</broker_password><from_location xsi:type="xsd:string">GR_KAL</from_location><to_location xsi:type="xsd:string">GR_KAL</to_location><from_date xsi:type="xsd:string">2016-01-21</from_date><to_date xsi:type="xsd:string">2016-12-31</to_date><order_by xsi:type="xsd:string"></order_by></ns1:GetOffers></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:GetOffersResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return enc:itemType="ns2:Map" enc:arraySize="16" xsi:type="enc:Array"><item xsi:type="ns2:Map"><item><key xsi:type="xsd:string">boat_id</key><value xsi:type="xsd:string">1285</value></item><item><key xsi:type="xsd:string">boat_name</key><value xsi:type="xsd:string">VENCEREMOS</value></item><item><key xsi:type="xsd:string">boat_type</key><value xsi:type="xsd:string">Racing Yacht</value></item><item><key xsi:type="xsd:string">boat_brand</key><value xsi:type="xsd:string">Bashford Howison</value></item><item><key xsi:type="xsd:string">boat_model</key><value xsi:type="xsd:string">Elan 40 (3Cab)</value></item><item><key xsi:type="xsd:string">boat_year</key><value xsi:type="xsd:string">2004</value></item><item><key xsi:type="xsd:string">boat_image_url</key><value xsi:type="xsd:string">https://sail-book.com/images/boats/1285/Elan-40-Race-Venceremos.jpg</value></item><item><key xsi:type="xsd:string">rating</key><value xsi:type="xsd:string">0</value></item><item><key xsi:type="xsd:string">berths</key><value xsi:type="xsd:string">6</value></item><item><key xsi:type="xsd:string">length_feet</key><value xsi:type="xsd:string">40.00</value></item><item><key xsi:type="xsd:string">net_price</key><value xsi:type="xsd:string">2558.00</value></item><item><key xsi:type="xsd:string">gross_price</key><value xsi:nil="true"/></item><item><key xsi:type="xsd:string">discount_percent</key><value xsi:type="xsd:string">15.00</value></item><item><key xsi:type="xsd:string">currency</key><value xsi:type="xsd:string">EUR</value></item><item><key xsi:type="xsd:string">security_deposit</key><value xsi:type="xsd:string">0.00</value></item><item><key xsi:type="xsd:string">offer_id</key><value xsi:type="xsd:string">1189</value></item><item><key xsi:type="xsd:string">offered_net_price</key><value xsi:type="xsd:string">2174.30</value></item><item><key xsi:type="xsd:string">from_location</key><value xsi:type="xsd:string">GR_KAL</value></item><item><key xsi:type="xsd:string">to_location</key><value xsi:type="xsd:string">GR_KAL</value></item><item><key xsi:type="xsd:string">from_location_title</key><value xsi:type="xsd:string">Kalamaki, Athens, Greece</value></item><item><key xsi:type="xsd:string">to_location_title</key><value xsi:type="xsd:string">Kalamaki, Athens, Greece</value></item><item><key xsi:type="xsd:string">from_date</key><value xsi:type="xsd:string">2016-09-03</value></item><item><key xsi:type="xsd:string">to_date</key><value xsi:type="xsd:string">2016-09-10</value></item></item></return></ns1:GetOffersResponse></env:Body></env:Envelope>

Parsed Response Example


array (
0 =>
array (
  boat_id => '1285',
  boat_name => 'VENCEREMOS',
  boat_type => 'Racing Yacht',
  boat_brand => 'Bashford Howison',
  boat_model => 'Elan 40 (3Cab)',
  boat_year => '2004',
  boat_image_url => 'https://sail-book.com/images/boats/1285/Elan-40-Race-Venceremos.jpg',
  rating => '0',
  berths => '6',
  length_feet => '40.00',
  net_price => '2558.00',
  gross_price => 'NULL',
  discount_percent => 15.00',
  currency => 'EUR',
  security_deposit => '0.00',
  offer_id => '1189',
  offered_net_price => '2174.30',
  from_location => 'GR_KAL',
  to_location => 'GR_KAL',
  from_location_title => 'Kalamaki, Athens, Greece',
  to_location_title => 'Kalamaki, Athens, Greece',
  from_date => '2016-09-03',
  to_date => '2016-09-10',
),
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.
from_location
Required
From marina location code.
to_location
Optional
To marina location code.
from_date
Required
From date in YYYY-MM-DD format.
to_date
Optional
To date in YYYY-MM-DD format.
order_by
Optional
List order.

Booking

POST /PerformBooking

Perform Booking.

Request XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:PerformBooking env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sailbook</broker_password><from_location xsi:type="xsd:string">GR_KAL</from_location><to_location xsi:type="xsd:string">GR_KAL</to_location><from_date xsi:type="xsd:string">2017-07-22</from_date><to_date xsi:type="xsd:string">2017-07-30</to_date><boat_id xsi:type="xsd:string">1248</boat_id><booking_type xsi:type="xsd:string">booking</booking_type><customer_firstname xsi:type="xsd:string">John</customer_firstname><customer_lastname xsi:type="xsd:string">Smith</customer_lastname><customer_email xsi:type="xsd:string">[email protected]</customer_email><customer_phone xsi:type="xsd:string">800 200 200</customer_phone></ns1:PerformBooking></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:ns2="http://xml.apache.org/xml-soap"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:PerformBookingResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return xsi:type="ns2:Map"><item><key xsi:type="xsd:string">status</key><value xsi:type="xsd:string">OK</value></item><item><key xsi:type="xsd:string">new_booking_id</key><value xsi:type="xsd:string">11808</value></item></return></ns1:PerformBookingResponse></env:Body></env:Envelope>

Parsed Response Example


array (
  status => 'OK',
  new_booking_id => '11808',
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.
from_location
Required
From marina location code.
to_location
Optional
To marina location code.
from_date
Required
From date in YYYY-MM-DD format.
to_date
Optional
To date in YYYY-MM-DD format.
boat_id
Required
ID of the boat.
booking_type
Required
Type of booking (booking/option).
customer_firstname
Required
First name of customer.
customer_lastname
Required
Last name of customer.
customer_email
Required
E-mail address of customer.
customer_phone
Required
Phone number of customer.

Boats List

POST /GetBoatsList

List all Boats.

Request XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetBoatsList env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sailbook</broker_password><berths_range xsi:type="xsd:string">10</berths_range><boat_type xsi:type="xsd:string">Sailing Yacht</boat_type><boat_model xsi:type="xsd:string">Bavaria 50 Cruiser (5Cab)</boat_model><length_range xsi:type="xsd:string">50</length_range><order_by xsi:type="xsd:string"></order_by></ns1:GetBoatsList></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:GetBoatsListResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return enc:itemType="ns2:Map" enc:arraySize="6" xsi:type="enc:Array"><item xsi:type="ns2:Map"><item><key xsi:type="xsd:string">id</key><value xsi:type="xsd:string">1040</value></item><item><key xsi:type="xsd:string">name</key><value xsi:type="xsd:string">Lady Kiki II</value></item><item><key xsi:type="xsd:string">type</key><value xsi:type="xsd:string">Sailing Yacht</value></item><item><key xsi:type="xsd:string">brand</key><value xsi:type="xsd:string">Beneteau</value></item><item><key xsi:type="xsd:string">model</key><value xsi:type="xsd:string">Beneteau Cyclades 50.5 (5Cab)</value></item><item><key xsi:type="xsd:string">rating</key><value xsi:type="xsd:string">3.5</value></item><item><key xsi:type="xsd:string">length_feet</key><value xsi:type="xsd:string">50.00</value></item><item><key xsi:type="xsd:string">berths</key><value xsi:type="xsd:string">10</value></item><item><key xsi:type="xsd:string">year_built</key><value xsi:type="xsd:string">2007</value></item><item><key xsi:type="xsd:string">year_refit</key><value xsi:type="xsd:string">2015</value></item><item><key xsi:type="xsd:string">base_marina</key><value xsi:type="xsd:string">Kalamaki, Athens, Greece</value></item><item><key xsi:type="xsd:string">main_image_url</key><value xsi:type="xsd:string">https://sail-book.com/images/boats/1040/beneteau-oceanis-50-family.jpg</value></item>

Parsed Response Example


array (
0 =>
array (
  id => '1040',
  name => 'Lady Kiki II',
  type => 'Sailing Yacht',
  brand => 'Beneteau',
  model => 'Beneteau Cyclades 50.5 (5Cab)',
  rating => '3.5',
  length_feet => '50.00',
  berths => '10',
  year_built => '2007',
  year_refit => '2015',
  base_marina => 'Kalamaki, Athens, Greece',
  main_image_url => 'https://sail-book.com/images/boats/1040/beneteau-oceanis-50-family.jpg',
),
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.
berths_range
Optional
Number of Berths.
boat_type
Optional
Type of boats.
boat_model
Optional
Model of Boats.
length_range
Optional
Boats length.
order_by
Optional
List order.

Boat Info

POST /GetBoatInfo

Information About Boat.

Request XML Example


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:ServiceControllerwsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetBoatInfo env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sailbook</broker_password><boat_id xsi:type="xsd:integer">1094</boat_id></ns1:GetBoatInfo></env:Body></env:Envelope>

Parsed Response Example


array (
  'id' => '1094',
  'name' => 'LEONIDAS',
  'type' => 'Sailing Yacht',
  'brand' => 'Bavaria',
  'model' => 'Bavaria 50 Cruiser (5Cab)',
  'rating' => '3.5',
  'length_feet' => '50.00',
  'berths' => '10',
  'year_built' => '2008',
  'year_refit' => '2016',
  'base_marina' => 'Kalamaki, Athens, Greece',
  'main_image_url' => 'https://sail-book.com/images/boats/1094/bavaria-50-cruiser-sailing-greece-001.jpg',
  'teaser' => '',
  'description' => '',
  'notes' => '',
  'crew' => 
array (
),
  'crew_cabins' => '0',
  'MMSI' => '0',
  'layout' => 
array (
    'passengers' => '10',
    'cabins' => '5',
    'bathrooms' => '3',
    'berths' => '10',
),
  'dimensions' => 
array (
    'length_feet' => '50.00',
    'beam_feet' => '14.00',
    'draft_feet' => '5.00',
    'displacement' => '13.00',
    'water_capacity' => '270.00',
),
  'engine' => 
array (
    'fuel_capacity' => '730.00',
    'engine_power' => '75.00',
    'engine_type' => 'Penta',
    'engine_brand' => 'Volvo',
),
  'design' => 
array (
),
  'sails' => 
array (
    'sail_main' => '1',
    'sail_genoa' => '1',
),
  'registration' => 
array (
    'register_port' => 'Pireus',
    'register_entry' => '1',
),
  'alt_images_urls' => 
array (
  '0' => 'https://sail-book.com/images/boats/1094/bavaria-50-cruiser-sailing-greece-002.jpg',
  '1' => 'https://sail-book.com/images/boats/1094/bavaria-50-cruiser-sailing-greece-003.jpg',
  '2' => 'https://sail-book.com/images/boats/1094/bavaria-50-cruiser-sailing-greece-004.jpg',
  '3' => 'https://sail-book.com/images/boats/1094/bavaria-50-cruiser-sailing-greece-005.jpg',
  '4' => 'https://sail-book.com/images/boats/1094/bavaria-50-cruiser-sailing-greece-006.jpg',
  '5' => 'https://sail-book.com/images/boats/1094/bavaria-50-cruiser-sailing-greece-007.jpg',
  '6' => 'https://sail-book.com/images/boats/1094/bavaria-50-cruiser-sailing-greece-008.jpg',
),
  'gear' => 
array (
    'Safety' => 
  array (
  '0' => '2nd Anchor',
  '1' => 'Bosun',
  '2' => 'Box of flares',
  '3' => 'Emergency tiller',
  '4' => 'EPIRB',
  '5' => 'First aid kit',
  '6' => 'Floating light',
  '7' => 'Horse shoe buoy',
  '8' => 'Inflatable life raft',
  '9' => 'Life jackets',
  '10' => 'Navigation lights',
  '11' => 'Safety harnesses',
  '12' => 'Sea anchor',
  '13' => 'Torch',
  '14' => 'V.H.F.',
  '15' => 'AIS',
  ),
    'Basic Gear' => 
  array (
  '0' => '12V socket',
  '1' => 'Bed-linen',
  '2' => 'Bimini',
  '3' => 'Cockpit table',
  '4' => 'Dinghy',
  '5' => 'Electric bilge pump',
  '6' => 'Electric fridge',
  '7' => 'Galley apparatus',
  '8' => 'Gangway',
  '9' => 'Gas bottle',
  '10' => 'Gas stove with oven',
  '11' => 'Sail repair kit',
  '12' => 'Ships licence',
  '13' => 'Sprayhood',
  '14' => 'Tools',
  '15' => 'Towels',
  '16' => '220V socket',
  ),
    'Navigation' => 
  array (
  '0' => 'Autopilot',
  '1' => 'Barometer',
  '2' => 'Binoculars',
  '3' => 'Clock',
  '4' => 'Cockpit ctr panel',
  '5' => 'Echo sounder',
  '6' => 'Flags QNC',
  '7' => 'Hand bearing compass',
  '8' => 'List of lights',
  '9' => 'Log',
  '10' => 'Main compass',
  '11' => 'Pilot book',
  '12' => 'Plotter',
  '13' => 'Sea charts',
  '14' => 'Wind speed',
  ),
    'Communication' => 
  array (
  '0' => 'GPS',
  ),
    'Leisure' => 
  array (
  '0' => 'Bow thruster',
  '1' => 'Cockpit speakers',
  '2' => 'Deck shower',
  '3' => 'Lazy-jacks',
  '4' => 'MP3 player',
  '5' => 'Radio CD player',
  '6' => 'Swimming ladder',
  '7' => 'Electric windlass',
  '8' => 'Hot water',
  ),
),
  'reviews' => 
array (
),
  'qualifiers' => 
array (
    'Boat' => 
  array (
  ),
    'Marina' => 
  array (
  '0' => 'Yacht harbour complies to country rules',
  '1' => 'Harbour Safety issues',
  '2' => 'Marked Entrances',
  '3' => 'Marina Information Desk',
  '4' => 'Marina Emergency call line centre',
  '5' => 'Fresh Water available (not necessarily potable',
  '6' => '1 Toilet every 100 berths',
  '7' => 'Electrical Outlet',
  '8' => 'Illumination',
  '9' => '1 shower every 100 berths',
  '10' => 'Maintenance & Cleaning schedules',
  '11' => 'Environental issues',
  ),
    'Operator' => 
  array (
  '0' => 'Professional Registration',
  '1' => 'Original document copies',
  '2' => 'Yacht is clean at delivery',
  '3' => 'English spoken in office & pier',
  '4' => 'Internet Site owned',
  '5' => 'Standardised Inventory list for check-in',
  '6' => 'Credit Card charge possibilities in office',
  '7' => 'Operator in the business at for two years',
  '8' => 'Own reception desk',
  '9' => 'Office call line',
  '10' => 'One Employee for every 5 Yachts',
  '11' => 'Security Deposit returned during Check-out',
  '12' => 'Average Yacht Booking',
  '13' => 'Operator employes mainly the same people for years',
  '14' => 'On Customer demand services available',
  '15' => 'Operator emergency line',
  '16' => 'Operator follows yacht maintenance',
  '17' => 'Staff has proven experience',
  '18' => 'On Customer demand services available',
  '19' => 'Prepared beds',
  '20' => 'Special Surface Treatment',
  '21' => 'On customer demand the operator can offer the following:
Pre-Booking services
Pre-check-in
During Check-in and actual crusing perriod ',
  '22' => 'Waiting Lounge',
  '23' => 'Risks coverage through insurance',
  ),
),
  'extras' => 
array (
    'Boat' => 
  array (
  '0' => 
    array (
        'extra_id' => '1',
        'title' => 'Skipper',
        'price' => '150.00',
        'price_is_per_day' => '1',
        'included_in_price' => '0',
        'payable_on_site' => '1',
    ),
  '1' => 
    array (
        'extra_id' => '2',
        'title' => 'Hostess',
        'price' => '150.00',
        'price_is_per_day' => '1',
        'included_in_price' => '0',
        'payable_on_site' => '1',
    ),
  '2' => 
    array (
        'extra_id' => '11',
        'title' => 'End cleaning',
        'price' => '0.00',
        'price_is_per_day' => '0',
        'included_in_price' => '0',
        'payable_on_site' => '0',
    ),
  '3' => 
    array (
        'extra_id' => '4',
        'title' => 'Safety net',
        'price' => '0.00',
        'price_is_per_day' => '0',
        'included_in_price' => '0',
        'payable_on_site' => '0',
    ),
  '4' => 
    array (
        'extra_id' => '5',
        'title' => 'Blister',
        'price' => '0.00',
        'price_is_per_day' => '0',
        'included_in_price' => '0',
        'payable_on_site' => '0',
    ),
  '5' => 
    array (
        'extra_id' => '8',
        'title' => 'Dinghy with outboard engine',
        'price' => '0.00',
        'price_is_per_day' => '0',
        'included_in_price' => '0',
        'payable_on_site' => '0',
    ),
  '6' => 
    array (
        'extra_id' => '9',
        'title' => 'Dinghy',
        'price' => '0.00',
        'price_is_per_day' => '0',
        'included_in_price' => '0',
        'payable_on_site' => '0',
    ),
  '7' => 
    array (
        'extra_id' => '10',
        'title' => 'Outboard engine for dinghy',
        'price' => '0.00',
        'price_is_per_day' => '0',
        'included_in_price' => '0',
        'payable_on_site' => '0',
    ),
  ),
    'Marina' => 
  array (
  ),
    'Operator' => 
  array (
  '0' => 
    array (
        'extra_id' => '1',
        'title' => 'Skipper',
        'price' => '150.00',
        'price_is_per_day' => '1',
        'included_in_price' => '0',
        'payable_on_site' => '0',
    ),
  '1' => 
    array (
        'extra_id' => '2',
        'title' => 'Hostess',
        'price' => '150.00',
        'price_is_per_day' => '1',
        'included_in_price' => '0',
        'payable_on_site' => '0',
    ),
  '2' => 
    array (
        'extra_id' => '11',
        'title' => 'End cleaning',
        'price' => '0.00',
        'price_is_per_day' => '0',
        'included_in_price' => '0',
        'payable_on_site' => '0',
    ),
  '3' => 
    array (
        'extra_id' => '3',
        'title' => 'Bed linen, towels & quilts',
        'price' => '0.00',
        'price_is_per_day' => '0',
        'included_in_price' => '1',
        'payable_on_site' => '0',
    ),
  '4' => 
    array (
        'extra_id' => '8',
        'title' => 'Dinghy with outboard engine',
        'price' => '0.00',
        'price_is_per_day' => '0',
        'included_in_price' => '0',
        'payable_on_site' => '0',
    ),
  '5' => 
    array (
        'extra_id' => '9',
        'title' => 'Dinghy',
        'price' => '0.00',
        'price_is_per_day' => '0',
        'included_in_price' => '1',
        'payable_on_site' => '0',
    ),
  '6' => 
    array (
        'extra_id' => '10',
        'title' => 'Outboard engine for dinghy',
        'price' => '0.00',
        'price_is_per_day' => '0',
        'included_in_price' => '0',
        'payable_on_site' => '0',
    ),
  ),
),
  'bases' => 
array (
  '0' => 
  array (
      'code' => 'GR_KAL',
      'title' => 'Kalamaki, Athens, Greece',
  ),
  '1' => 
  array (
      'code' => 'GR_SAN',
      'title' => 'Santorini, Cyclades, Greece',
  ),
  '2' => 
  array (
      'code' => 'GR_MAN',
      'title' => 'Marina Mandraki, Rhodes, Greece',
  ),
  '3' => 
  array (
      'code' => 'GR_MYC',
      'title' => 'Myconos, Cyclades, Greece',
  ),
  '4' => 
  array (
      'code' => 'GR_KOS',
      'title' => 'Kos, Dodecanese, Greece',
  ),
  '5' => 
  array (
      'code' => 'GR_CHA',
      'title' => 'Chania, Crete, Greece',
  ),
  '6' => 
  array (
      'code' => 'GR_PAR',
      'title' => 'Paros, Cyclades, Greece',
  ),
  '7' => 
  array (
      'code' => 'GR_GOU',
      'title' => 'Marina Gouvia, Corfu, Greece',
  ),
  '8' => 
  array (
      'code' => 'GR_LAV',
      'title' => 'Lavrion, Attica, Greece',
  ),
  '9' => 
  array (
      'code' => 'GR_NAX',
      'title' => 'Naxos Marina, Cyclades,Greece',
  ),
),
  'prices' => 
array (
  '0' => 
  array (
      'range1_from' => '23/04/2016',
      'range1_to' => '28/05/2016',
      'range2_from' => '24/09/2016',
      'range2_to' => '15/10/2016',
      'range2_enabled' => '1',
      'net_per_week' => '2350.00',
      'gross_per_week' => '2870.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
  '1' => 
  array (
      'range1_from' => '28/05/2016',
      'range1_to' => '30/07/2016',
      'range2_from' => '27/08/2016',
      'range2_to' => '24/09/2016',
      'range2_enabled' => '1',
      'net_per_week' => '3600.00',
      'gross_per_week' => '4340.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
  '2' => 
  array (
      'range1_from' => '30/07/2016',
      'range1_to' => '27/08/2016',
      'range2_from' => '',
      'range2_to' => '',
      'range2_enabled' => '0',
      'net_per_week' => '4080.00',
      'gross_per_week' => '4900.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
  '3' => 
  array (
      'range1_from' => '10/10/2015',
      'range1_to' => '31/12/2015',
      'range2_from' => '01/01/2015',
      'range2_to' => '23/05/2015',
      'range2_enabled' => '1',
      'net_per_week' => '1400.00',
      'gross_per_week' => '0.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
  '4' => 
  array (
      'range1_from' => '23/05/2015',
      'range1_to' => '01/08/2015',
      'range2_from' => '29/08/2015',
      'range2_to' => '10/10/2015',
      'range2_enabled' => '1',
      'net_per_week' => '2485.00',
      'gross_per_week' => '0.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
  '5' => 
  array (
      'range1_from' => '01/08/2015',
      'range1_to' => '29/08/2015',
      'range2_from' => '',
      'range2_to' => '',
      'range2_enabled' => '0',
      'net_per_week' => '3150.00',
      'gross_per_week' => '0.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
  '6' => 
  array (
      'range1_from' => '01/01/2014',
      'range1_to' => '24/05/2014',
      'range2_from' => '11/10/2014',
      'range2_to' => '31/12/2014',
      'range2_enabled' => '1',
      'net_per_week' => '1500.00',
      'gross_per_week' => '0.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
  '7' => 
  array (
      'range1_from' => '24/05/2014',
      'range1_to' => '02/08/2014',
      'range2_from' => '30/08/2014',
      'range2_to' => '11/10/2014',
      'range2_enabled' => '1',
      'net_per_week' => '2500.00',
      'gross_per_week' => '0.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
  '8' => 
  array (
      'range1_from' => '02/08/2014',
      'range1_to' => '30/08/2014',
      'range2_from' => '',
      'range2_to' => '',
      'range2_enabled' => '0',
      'net_per_week' => '3300.00',
      'gross_per_week' => '0.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
  '9' => 
  array (
      'range1_from' => '12/10/2013',
      'range1_to' => '31/12/2013',
      'range2_from' => '01/01/2013',
      'range2_to' => '27/04/2013',
      'range2_enabled' => '1',
      'net_per_week' => '0.00',
      'gross_per_week' => '0.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
      '10' => 
  array (
      'range1_from' => '27/04/2013',
      'range1_to' => '25/05/2013',
      'range2_from' => '21/09/2013',
      'range2_to' => '12/10/2013',
      'range2_enabled' => '1',
      'net_per_week' => '0.00',
      'gross_per_week' => '0.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
      '11' => 
  array (
      'range1_from' => '25/05/2013',
      'range1_to' => '27/07/2013',
      'range2_from' => '24/08/2013',
      'range2_to' => '21/09/2013',
      'range2_enabled' => '1',
      'net_per_week' => '0.00',
      'gross_per_week' => '0.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
      '12' => 
  array (
      'range1_from' => '27/07/2013',
      'range1_to' => '24/08/2013',
      'range2_from' => '',
      'range2_to' => '',
      'range2_enabled' => '0',
      'net_per_week' => '0.00',
      'gross_per_week' => '0.00',
      'net_per_day' => '0.00',
      'gross_per_day' => '0.00',
  ),
),
  'currency' => 'EUR',
  'discounts' => 
array (
    'early_booking_day' => '0',
    'early_booking_month' => '0',
    'early_booking_discount' => '0',
    'discount1_days' => '0',
    'discount1_percent' => '0',
    'discount2_days' => '0',
    'discount2_percent' => '0',
    'discount3_days' => '0',
    'discount3_percent' => '0',
    'max_total_discount' => '0',
),
  'calendar' => 
array (
    'available' => 
  array (
  '0' => 
    array (
        'from' => '2016-01-01',
        'to' => '2016-12-31',
    ),
  '1' => 
    array (
        'from' => '2017-01-01',
        'to' => '2017-12-31',
    ),
  ),
    'unavailable' => 
  array (
  '0' => 
    array (
        'from' => '2016-09-10',
        'to' => '2016-09-24',
    ),
  '1' => 
    array (
        'from' => '2016-07-09',
        'to' => '2016-07-23',
    ),
  '2' => 
    array (
        'from' => '2016-04-14',
        'to' => '2016-04-25',
    ),
  '3' => 
    array (
        'from' => '2016-04-30',
        'to' => '2016-05-07',
    ),
  '4' => 
    array (
        'from' => '2016-05-21',
        'to' => '2016-06-04',
    ),
  '5' => 
    array (
        'from' => '2016-06-04',
        'to' => '2016-06-11',
    ),
  '6' => 
    array (
        'from' => '2016-06-18',
        'to' => '2016-06-22',
    ),
  '7' => 
    array (
        'from' => '2016-06-23',
        'to' => '2016-06-25',
    ),
  '8' => 
    array (
        'from' => '2016-06-25',
        'to' => '2016-07-02',
    ),
  '9' => 
    array (
        'from' => '2016-07-02',
        'to' => '2016-07-09',
    ),
  '10' => 
    array (
        'from' => '2016-07-23',
        'to' => '2016-07-30',
    ),
  '11' => 
    array (
        'from' => '2016-07-30',
        'to' => '2016-08-04',
    ),
  '12' => 
    array (
        'from' => '2016-08-13',
        'to' => '2016-08-20',
    ),
  '13' => 
    array (
        'from' => '2016-09-24',
        'to' => '2016-10-03',
    ),
  '14' => 
    array (
        'from' => '2016-10-03',
        'to' => '2016-10-17',
    ),
  '15' => 
    array (
        'from' => '2016-10-17',
        'to' => '2016-10-29',
    ),
  '16' => 
    array (
        'from' => '2016-08-27',
        'to' => '2016-09-03',
    ),
  ),
),
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.
boat_id
Optional
ID of the boat.

Skippers

Skippers refer to Captains and Hostesses that Sail-Book lists worldwide.

Parsed Response Example


array (
0 =>
array (
  'age' => 61,
  'id' => '204',
  'first_name' => 'John',
  'last_name' => 'Smith',
  'type' => 'Skipper',
  'years_experience' => '20 to 30 years',
  'miles_experience' => '10000 to 20000 miles',
  'nationality' => 'Greek',
  'rating' => '2',
  'self_description' => '',
  'city' => 'Alimos',
  'country' => 'Greece',
  'mobile' => '800 200 200',
  'alt_languages' =>
array (
0 =>
array (
      'language' => 'English',
      'level' => 'Independent',
      'comments' => '',
),
),
),
)

Skipper Types

POST /GetSkipperTypes

List Types of Skipper.

Request XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetSkipperTypes env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"/></env:Body></env:Envelope>

Response XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:ns2="http://xml.apache.org/xml-soap"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:GetSkipperTypesResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return xsi:type="ns2:Map"><item><key xsi:type="xsd:int">1</key><value xsi:type="xsd:string">Skipper</value></item><item><key xsi:type="xsd:int">2</key><value xsi:type="xsd:string">Hostess</value></item></return></ns1:GetSkipperTypesResponse></env:Body></env:Envelope>

Parsed Response Example


array (
  '1' => 'Skipper',
  '2' => 'Hostess',
)

ARGUMENTS

No arguments

Skippers List

POST /GetSkippersList

List All Skippers.

Request XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetSkippersList env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sailbook</broker_password><skippers_type xsi:nil="true"/><age_range xsi:nil="true"/><years_experience xsi:nil="true"/><miles_experience xsi:nil="true"/><nationality xsi:nil="true"/><order_by xsi:type="xsd:string"></order_by></ns1:GetSkippersList></env:Body></env:Envelope>

Parsed Response Example


array (
0 =>
array (
  'age' => 61,
  'id' => '204',
  'first_name' => 'John',
  'last_name' => 'Smith',
  'type' => 'Skipper',
  'years_experience' => '20 to 30 years',
  'miles_experience' => '10000 to 20000 miles',
  'nationality' => 'Greek',
  'rating' => '2',
  'self_description' => '',
  'city' => 'Alimos',
  'country' => 'Greece',
  'mobile' => '800 200 200',
  'alt_languages' =>
array (
0 =>
array (
      'language' => 'English',
      'level' => 'Independent',
      'comments' => '',
),
),
),
1 =>
array (
  'age' => 47,
  'id' => '203',
  'first_name' => 'Mary',
  'last_name' => 'Adams',
  'type' => 'Skipper',
  'years_experience' => 'more than 30 years',
  'miles_experience' => '20000 to 30000 miles',
  'nationality' => 'Greek',
  'rating' => '4',
  'self_description' => '',
  'city' => 'Vyronas',
  'country' => 'Greece',
  'mobile' => '800 400 400',
  'alt_languages' => 
),
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.
skippers_type
Optional
Type of the skipper.
age_range
Optional
Age of the skipper.
years_experience
Optional
Skipper's experience.
miles_experience
Optional
Skipper's experience in miles.
nationality
Optional
Skipper's nationality.
order_by
Optional
List order.

Skipper Info

POST /GetSkipperInfo

Information about Skipper.

Request XML Example


<?xml version="1.0"encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"xmlns:ns1="urn:ServiceControllerwsdl"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:enc="http://www.w3.org/2003/05/soap-encoding"><env:Body><ns1:GetSkipperInfo env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><broker_email xsi:type="xsd:string">[email protected]</broker_email><broker_password xsi:type="xsd:string">sailbook</broker_password><skipper_id xsi:type="xsd:integer">200</skipper_id></ns1:GetSkipperInfo></env:Body></env:Envelope>

Response Example


array (
  'age' => 1,
  'id' => '200',
  'first_name' => 'John',
  'last_name' => 'Smith',
  'type' => 'Skipper',
  'years_experience' => '20 to 30 years',
  'miles_experience' => '20000 to 30000 miles',
  'nationality' => 'Greek',
  'rating' => '1',
  'self_description' => 'Gentle, Amicably, Distingjoshing, Seriously.',
  'city' => 'CORFOU',
  'country' => 'Greece',
  'mobile' => '800 200 200',
  'alt_languages' =>
array (
),
  'boatExperiences' =>
array (
0 => 
array (
  'boatType' => 'Sailing Yacht',
  'comments' => '',
),
1 =>
array (
  'boatType' => 'Motor Yacht',
  comments' => '',
),
2 =>
array (
  'boatType' => 'Catamaran',
  'comments' => '',
),
),
  'certifications' =>
array (
0 =>
array (
  'title' => 'Day Skipper Course',
  'body' => 'RYA',
  'category' => 'certification',
  'year' => '1990',
  'organization' => '',
),
1 =>
array (
  'title' => 'Day Skipper practical',
  'body' => 'RYA',
  'category' => 'certification',
  'year' => '1993',
  'organization' => '',
),
2 =>
array (
  'title' => 'Crew Management',
  'body' => '',
  'category' => 'seminar',
  'year' => '1984',
  'organization' => '',
),
),
  'otherCertifications' => 
array (
),
  'interests' =>
array (
0 => 
array (
  'interest' => 'Swimming',
  'category' => 'Sports',
  'comments' => '',
),
1 => 
array (
  'interest' => 'Cooking',
  'category' => 'Gastronomy',
  'comments' => '',
),
2 => 
array (
  'interest' => 'Music',
  'category' => 'Culture',
  'comments' => '',
),
3 => 
array (
  'interest' => 'Nature Walking',
  'category' => 'Nature',
  'comments' => '',
),
),
  'schools' => 
array (
),
  'jobs' => 
array (
),
  'main_image_url' => 'http://sandbox.sail-book.com/images/skippers/200/P4240282.JPG',
  'more_images' =>
array (
),
)

ARGUMENTS

broker_email
Required
Email to login to Sail-Book.
broker_password
Required
Password to login to Sail-Book.
skipper_id
Required
ID of the skipper.