This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
ors-soap-api:public:soap_header [2016/06/10 16:26] admin |
ors-soap-api:public:soap_header [2019/05/17 16:35] admin |
||
---|---|---|---|
Line 12: | Line 12: | ||
* ''sid'' : session ID. This __ID must be unique__ for each user on your page because it is used for filtering and sorting of returned results | * ''sid'' : session ID. This __ID must be unique__ for each user on your page because it is used for filtering and sorting of returned results | ||
* ''limits'' : to set maximum number of search results per page. Use 'p' for limit offers and 't' to limit trips (see example to understand the usage) | * ''limits'' : to set maximum number of search results per page. Use 'p' for limit offers and 't' to limit trips (see example to understand the usage) | ||
- | * **Maximum limit** for offers is 100 results per page (max: 1000) | + | * **Maximum limit** for offers ... there is no limit (default: 1000 per page) ... 0=all found objects |
- | * **Maximum limit** for trips is 20 results per page (max: 1000) | + | * **Maximum limit** for trips is 10000 results per page (default: 1000) ... 0=100000 |
* ''xuser'' : user id for data export credentials | * ''xuser'' : user id for data export credentials | ||
* ''xpass'' : user password for data export credentials | * ''xpass'' : user password for data export credentials | ||
Line 24: | Line 24: | ||
$header = array( | $header = array( | ||
'lang' => 'en', // a return language | 'lang' => 'en', // a return language | ||
- | 'usr' => 'xmldemo', // ORSXML user | + | 'usr' => 'xmldemo102', // ORSXML user |
- | 'pass' => 'orsdemo', // ORSXML password | + | 'pass' => 'orsdemogh1', // ORSXML password |
'agid' => '5780', // agency ID (or account id) | 'agid' => '5780', // agency ID (or account id) | ||
'sid' => session_id(), // this is required so that filtering and sorting works correctly! | 'sid' => session_id(), // this is required so that filtering and sorting works correctly! |