Documentation
Preparing search index...
utils/SABRE/seatMap.utils
createSeatMapResponse
Function createSeatMapResponse
createSeatMapResponse
(
xml
:
XMLDefs
,
fare
:
any
,
segmentIndex
:
string
,
)
:
|
{
data
?:
undefined
;
error
:
XMLNode
}
|
{
data
:
{
DataLists
:
{
PaxSegment
:
{
Arrival
:
{
AircraftScheduledDateTime
:
any
;
IATALocationCode
:
any
;
Terminal
:
any
;
}
;
Dep
:
{
AircraftScheduledDateTime
:
any
;
IATALocationCode
:
any
;
Terminal
:
any
;
}
;
MarketingCarrierInfo
:
{
CarrierCode
:
any
;
FlightNumber
:
any
}
;
PaxSegmentID
:
string
;
}
[]
;
ServiceDefinition
:
{
ServiceDefinition
:
{
Desc
:
{
DescText
:
string
|
number
}
;
Name
:
string
;
ServiceDefinitionID
:
string
;
}
[]
;
}
;
}
;
Offer
:
{
OfferItem
:
{
Eligibility
:
{
FligtAssociations
:
{
PaxSegmentID
:
string
}
;
PaxRefID
:
string
;
}
;
OfferItemID
:
string
;
Service
:
{
ServiceDefinitionRefID
:
string
;
ServiceID
:
string
}
;
UnitPrice
:
{
TotalAmount
:
string
|
number
}
;
}
[]
;
}
;
Seat
:
{
CabinCompartment
:
{
CabinType
:
string
|
number
;
ColumnID
:
(
string
|
number
)
[]
;
DeckCode
:
string
|
number
;
FirstRowNumber
:
string
|
number
;
LastRowNumber
:
string
|
number
;
SeatRow
:
{
RowNumber
:
string
|
number
;
SeatCharacteristisDetails
:
{
Location
:
...
;
RowFacility
:
...
}
[]
;
Seats
:
{
ColumnID
:
...
;
OccupationStatusCode
:
...
;
OfferItemRefID
:
...
;
SeatCharacteristicCode
:
...
;
}
[]
;
}
[]
;
}
[]
;
PaxSegmentRefID
:
string
;
}
[]
;
}
;
error
?:
undefined
;
}
Parameters
xml
:
XMLDefs
fare
:
any
segmentIndex
:
string
Returns
|
{
data
?:
undefined
;
error
:
XMLNode
}
|
{
data
:
{
DataLists
:
{
PaxSegment
:
{
Arrival
:
{
AircraftScheduledDateTime
:
any
;
IATALocationCode
:
any
;
Terminal
:
any
;
}
;
Dep
:
{
AircraftScheduledDateTime
:
any
;
IATALocationCode
:
any
;
Terminal
:
any
;
}
;
MarketingCarrierInfo
:
{
CarrierCode
:
any
;
FlightNumber
:
any
}
;
PaxSegmentID
:
string
;
}
[]
;
ServiceDefinition
:
{
ServiceDefinition
:
{
Desc
:
{
DescText
:
string
|
number
}
;
Name
:
string
;
ServiceDefinitionID
:
string
;
}
[]
;
}
;
}
;
Offer
:
{
OfferItem
:
{
Eligibility
:
{
FligtAssociations
:
{
PaxSegmentID
:
string
}
;
PaxRefID
:
string
;
}
;
OfferItemID
:
string
;
Service
:
{
ServiceDefinitionRefID
:
string
;
ServiceID
:
string
}
;
UnitPrice
:
{
TotalAmount
:
string
|
number
}
;
}
[]
;
}
;
Seat
:
{
CabinCompartment
:
{
CabinType
:
string
|
number
;
ColumnID
:
(
string
|
number
)
[]
;
DeckCode
:
string
|
number
;
FirstRowNumber
:
string
|
number
;
LastRowNumber
:
string
|
number
;
SeatRow
:
{
RowNumber
:
string
|
number
;
SeatCharacteristisDetails
:
{
Location
:
...
;
RowFacility
:
...
}
[]
;
Seats
:
{
ColumnID
:
...
;
OccupationStatusCode
:
...
;
OfferItemRefID
:
...
;
SeatCharacteristicCode
:
...
;
}
[]
;
}
[]
;
}
[]
;
PaxSegmentRefID
:
string
;
}
[]
;
}
;
error
?:
undefined
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...