Travelfusion Direct Connect XML API > Guidelines >
Compressed Segments
It is possible to use compressed representation of flight segments to reduce bandwidth.
If configured, the XML response containing flight data will have CompressedSegmentList element in place of SegmentList.
Examples
<CompressedSegmentList>
<CompressedSegment>DEL,MAA,18/12/2014-06:35,18/12/2014-09:25,SG1,SG1,SG301,301,0,[],Flex,,,150</CompressedSegment>
</CompressedSegmentList>
<CompressedSegmentList>
<CompressedSegment>DEL,MAA,28/11/2014-17:55,28/11/2014-22:20,SG1,SG1,SG219,219,0,[{PNQ,28/11/2014-20:05,28/11/2014-20:40,35},{RND,28/11/2014-21:05,28/11/2014-21:40,35}],Flex,,,150</CompressedSegment>
</CompressedSegmentList>
<CompressedSegmentList>
<CompressedSegment>DEL,MAA,28/11/2014-17:55,28/11/2014-22:20,SG1,SG1,SG219,219,0,[{PNQ,,,}],Flex,,,150</CompressedSegment>
</CompressedSegmentList>
<CompressedSegmentList>
<CompressedSegment>DEL,BLR,28/11/2014-06:05,,SG1,SG1,SG501,501,0,[],Flex,,,150</CompressedSegment>
<CompressedSegment>BLR,MAA,,28/11/2014-12:20,SG1,SG1,SG3302,302,0,[],Flex,,,150</CompressedSegment>
</CompressedSegmentList>