Documentation
Preparing search index...
utils/SABRE/serviceList.utils
createJsonServiceResponse
Function createJsonServiceResponse
createJsonServiceResponse
(
xml
:
XMLDefs
,
body
:
Root
,
)
:
|
{
DataLists
:
{
BaggageAllowance
:
any
[]
;
OriginDest
:
{
DestCode
:
string
;
OriginCode
:
string
;
OriginDestID
:
string
;
PaxJourneyRefID
:
string
;
}
[]
;
Pax
:
{
PaxID
:
any
;
PTC
:
string
|
number
}
[]
;
PaxJourney
:
{
PaxJourneyID
:
string
;
PaxSegmentRefID
:
(
string
|
number
)
[]
;
}
[]
;
PaxSegment
:
{
Arrival
:
{
AircraftScheduledDateTime
:
any
;
IATALocationCode
:
string
}
;
Dep
:
{
AircraftScheduledDateTime
:
string
;
IATALocationCode
:
string
;
TerminalName
:
any
;
}
;
MarketingCarrierInfo
:
{
CarrierDesigCode
:
string
;
MarketingCarrierFlightNumberText
:
string
;
}
;
OperatingCarrierInfo
:
{
CarrierDesigCode
:
string
}
;
PaxSegmentID
:
string
;
}
[]
;
}
;
Error
?:
undefined
;
Offer
:
{
OfferExpirationDateTime
:
string
;
OfferID
:
string
|
number
;
OfferItem
:
any
[]
;
OwnerCode
:
string
;
}
;
}
|
{
DataLists
?:
undefined
;
Error
:
{
description
:
string
;
statusText
:
string
}
[]
;
Offer
?:
undefined
;
}
Parameters
xml
:
XMLDefs
body
:
Root
Returns
|
{
DataLists
:
{
BaggageAllowance
:
any
[]
;
OriginDest
:
{
DestCode
:
string
;
OriginCode
:
string
;
OriginDestID
:
string
;
PaxJourneyRefID
:
string
;
}
[]
;
Pax
:
{
PaxID
:
any
;
PTC
:
string
|
number
}
[]
;
PaxJourney
:
{
PaxJourneyID
:
string
;
PaxSegmentRefID
:
(
string
|
number
)
[]
;
}
[]
;
PaxSegment
:
{
Arrival
:
{
AircraftScheduledDateTime
:
any
;
IATALocationCode
:
string
}
;
Dep
:
{
AircraftScheduledDateTime
:
string
;
IATALocationCode
:
string
;
TerminalName
:
any
;
}
;
MarketingCarrierInfo
:
{
CarrierDesigCode
:
string
;
MarketingCarrierFlightNumberText
:
string
;
}
;
OperatingCarrierInfo
:
{
CarrierDesigCode
:
string
}
;
PaxSegmentID
:
string
;
}
[]
;
}
;
Error
?:
undefined
;
Offer
:
{
OfferExpirationDateTime
:
string
;
OfferID
:
string
|
number
;
OfferItem
:
any
[]
;
OwnerCode
:
string
;
}
;
}
|
{
DataLists
?:
undefined
;
Error
:
{
description
:
string
;
statusText
:
string
}
[]
;
Offer
?:
undefined
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...