User Tools

Site Tools


data:fields:external_services

External services section

Some extra data are possible to get by external services. For this, we use in the request the <external_services> section. This section could be added to groups, offers, or details request type.

Types

  • candydescv1 - info about 'candies': extras in offer from the operator (f.e. gratis parking or Freeski included),
  • covidinfov1 - info about Covid-19 restrictions in this region/country,

Request

<externalServices>
   <afterAnswer>
     <type>candydescv1</type>
   </afterAnswer>
   <afterAnswer>
      <type>covidinfov1</type>
   </afterAnswer>
</externalServices>

Answer

[externalServices] => Array
	(
		[candyDesc] => Array
			(	
				[name] => candydescv1	
				[items] => Array	
					(	
						[0] => Array	
							(	
								[index] => Ar	ray
									(	
										[0] =	> 0
									)	
 
							[candyDesc] =	> Skipass Livigno 6 dni|Oferta bezpieczna od Covid-19: Bezkosztowa rezygnacja do 35 dni przed wyjazdem
							)	
					)		
			)		
 
		[covidinfo] => Array
                (
                    [name] => covidinfov1
                    [items] => Array
                        (
                            [0] => Array
                                (
                                    [index] => Array
                                        (
                                            [0] => 6
                                        )
 
                                    [OutCountry] => IT
                                    [OutBord] => Open
                                    [OutBordTxt] => Wymagane wypełnienie oświadczenia własnego (autodichiarazione)
                                    [OutQuar] => false
                                    [OutQuarTxt] => 
                                    [OutTest] => false
                                    [OutTestTxt] => 
                                    [InCountry] => PL
                                    [InBord] => Open
                                    [InBordTxt] => 
                                    [InQuar] => false
                                    [InQuarTxt] => 
                                    [InTest] => false
                                    [InTestTxt] => 
                                )
 
                        )
 
                )
 
        )
data/fields/external_services.txt · Last modified: 2020/12/04 10:53 by Maciej Pokrzywa