Table of contents
-
- Search methods
- Check methods
- Booking methods
- Info methods
Data export
- Methods
Table of contents
Data export
Get a list of ORS service types.
public array getServiceTypes( string $lang )
lang (string)
: language. If not valid language is entered then default en
is used.Returns a list of service types in ORS:
Array ( [0] => Array ( [code] => HP [translation] => half board ) [1] => Array ( [code] => AI [translation] => all inclusive ) [2] => Array ( [code] => OV [translation] => accommodation only ) [3] => Array ( [code] => UF [translation] => bed & breakfast ) [4] => Array ( [code] => VP [translation] => full board ) [5] => Array ( [code] => LP [translation] => package ) [6] => Array ( [code] => NV [translation] => overnight with dinner ) [7] => Array ( [code] => HP+ [translation] => half board with extras ) [8] => Array ( [code] => AI+ [translation] => all inclusive with extras ) [9] => Array ( [code] => VP+ [translation] => full board plus ) [10] => Array ( [code] => LK [translation] => by catalog program ) [11] => Array ( [code] => OL [translation] => bed & lunch ) [12] => Array ( [code] => H+ [translation] => half board + ) [13] => Array ( [code] => A+ [translation] => all inclusive with extras ) [14] => Array ( [code] => V+ [translation] => full board with extras ) [15] => Array ( [code] => LAI [translation] => all inclusive light ) [16] => Array ( [code] => NF [translation] => flight only ) [17] => Array ( [code] => TO [translation] => transfer only ) [18] => Array ( [code] => SAI [translation] => all inclusive soft ) )
code
: srvice type codetranslation
: room type translation (depending on entered $lang)$list = $soapClient->orsxml_api_call( 'getServiceTypes', 'en' );