This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
ors-soap-api:public:getunitpricesbyparams [2015/02/21 19:36] admin [Return parameters] |
ors-soap-api:public:getunitpricesbyparams [2015/03/05 11:48] (current) admin [Return parameters] |
||
|---|---|---|---|
| Line 184: | Line 184: | ||
| ) | ) | ||
| - | [minimumStay] => Array | + | [minimumStay] => Array |
| ( | ( | ||
| [generalMinLength] => 0 | [generalMinLength] => 0 | ||
| [generalMaxLength] => 0 | [generalMaxLength] => 0 | ||
| - | [dates] => Array | + | [periods] => Array |
| ( | ( | ||
| - | [2015-04-06] => Array | + | [0] => Array |
| ( | ( | ||
| + | [dateFrom] => 2015-04-06 | ||
| + | [dateTo] => 2015-07-10 | ||
| [minLength] => 3 | [minLength] => 3 | ||
| [arrivalDays] => Array | [arrivalDays] => Array | ||
| Line 206: | Line 208: | ||
| ) | ) | ||
| - | [2015-04-07] => Array | + | [1] => Array |
| ( | ( | ||
| - | [minLength] => 3 | + | [dateFrom] => 2015-07-11 |
| + | [dateTo] => 2015-07-24 | ||
| + | [minLength] => 4 | ||
| [arrivalDays] => Array | [arrivalDays] => Array | ||
| ( | ( | ||
| Line 222: | Line 226: | ||
| ) | ) | ||
| - | [2015-04-08] => Array | + | [2] => Array |
| ( | ( | ||
| + | [dateFrom] => 2015-07-25 | ||
| + | [dateTo] => 2015-08-21 | ||
| + | [minLength] => 5 | ||
| + | [arrivalDays] => Array | ||
| + | ( | ||
| + | [monday] => 1 | ||
| + | [tuesday] => 1 | ||
| + | [wednesday] => 1 | ||
| + | [thursday] => 1 | ||
| + | [friday] => 1 | ||
| + | [saturday] => 1 | ||
| + | [sunday] => 1 | ||
| + | ) | ||
| + | |||
| + | ) | ||
| + | |||
| + | [3] => Array | ||
| + | ( | ||
| + | [dateFrom] => 2015-08-22 | ||
| + | [dateTo] => 2015-10-17 | ||
| [minLength] => 3 | [minLength] => 3 | ||
| [arrivalDays] => Array | [arrivalDays] => Array | ||
| Line 237: | Line 261: | ||
| ) | ) | ||
| - | ... | + | |
| + | ) | ||
| + | |||
| + | ) | ||
| [releases] => Array | [releases] => Array | ||
| ( | ( | ||
| Line 423: | Line 451: | ||
| * ''generalMinLength'' : general minimum length (''dates'' overwrite this value) | * ''generalMinLength'' : general minimum length (''dates'' overwrite this value) | ||
| * ''generalMaxLength'' : general maximum length | * ''generalMaxLength'' : general maximum length | ||
| - | * ''dates'' array() : minimum length for some of the dates | + | * ''periods'' array() : minimum stay periods |
| + | * ''dateFrom'' : date from | ||
| + | * ''dateTo'' : date to | ||
| * ''minLength'' : minimum length for this date | * ''minLength'' : minimum length for this date | ||
| * ''arrivalDays'' array() : minimum length is valid only for this arrival days | * ''arrivalDays'' array() : minimum length is valid only for this arrival days | ||
| Line 441: | Line 471: | ||
| * ''bookingFee'' : special supplement used for setting booking fees | * ''bookingFee'' : special supplement used for setting booking fees | ||
| * ''touristTax'' : special supplement used for setting tourist taxes | * ''touristTax'' : special supplement used for setting tourist taxes | ||
| - | * attributes: discount/supplement is deducted/added when all this parameters are met | + | * **attributes**: discount/supplement is deducted/added when all this parameters are met |
| * ''type'' : type of discount | * ''type'' : type of discount | ||
| * ''description'' : discount description (when promoCode discount is used, this is actually a promo code user must enter) | * ''description'' : discount description (when promoCode discount is used, this is actually a promo code user must enter) | ||