The Diagnostics Boolean can be added to any request in iVectorConnect.Â
If set to 'true', it will show the time in ticks that it has taken to get a response from the request submitted. If it is not included in a request, it will automatically be set to 'false' and will not be returned in the response.Â
Please note, this is only accessible through the handler page, which the demo screen bypasses, and therefore the diagnostics times will not be shown when tests are run through the demo page.Â
FlightSearch with the Diagnostics set to 'true'Â
<FlightSearchRequest>
<LoginDetails>
<Login>TestLogin</Login>
<Password>TestPassword</Password>
</LoginDetails>
<DepartureAirportID>2</DepartureAirportID>
<ArrivalAirport>25</ArrivalAirport>
<DepartureDate>2013-09-14</DepartureDate>
<Duration>7</Duration>
<OneWay>false</OneWay>
<GuestConfiguration>
<Adults>2</Adults>
<Children>0</Children>
<Infants>0</Infants>
</GuestConfiguration>
<Diagnostics>true</Diagnostics>
</FlightSearchRequest>
The response returns the time in ticks in the <ReturnStatus>
<FlightSearchResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
<Diagnostics>
<StartTimeTicks>635449104809861549</StartTimeTicks>
<EndTimeTicks>635449105142871549</EndTimeTicks>
<Difference>333010000</Difference>
</Diagnostics>
</ReturnStatus>
<Flights>
<Flight>
<BookingToken>...</BookingToken>
<FlightCarrierID>8</FlightCarrierID>
<TPSessionID>816_840</TPSessionID>
<DepartureAirportID>37</DepartureAirportID>
<ArrivalAirportID>7</ArrivalAirportID>
<AltReturnAirportID>0</AltReturnAirportID>
<OutboundDepartureDate>2013-09-14T00:00:00</OutboundDepartureDate>
<OutboundDepartureTime>12:00</OutboundDepartureTime>
<OutboundArrivalDate>2013-09-14T00:00:00</OutboundArrivalDate>
<OutboundArrivalTime>15:00</OutboundArrivalTime>
<OutboundFlightClassID>1</OutboundFlightClassID>
<OutboundFlightCode>MON123</OutboundFlightCode>
<OutboundOperatingFlightCarrierID>0</OutboundOperatingFlightCarrierID>
<ReturnDepartureDate>2013-09-21T00:00:00</ReturnDepartureDate>
<ReturnDepartureTime>15:00</ReturnDepartureTime>
<ReturnArrivalDate>2013-09-21T00:00:00</ReturnArrivalDate>
<ReturnArrivalTime>16:00</ReturnArrivalTime>
<ReturnFlightClassID>1</ReturnFlightClassID>
<ReturnFlightCode>MON321</ReturnFlightCode>
<ReturnOperatingFlightCarrierID>0</ReturnOperatingFlightCarrierID>
<NumberOfOutboundStops>0</NumberOfOutboundStops>
<NumberOfReturnStops>0</NumberOfReturnStops>
<TotalSeatCost>560.00</TotalSeatCost>
<TotalSeatPrice>560.00</TotalSeatPrice>
<TotalBaggagePrice>0.00</TotalBaggagePrice>
<Saving>0.00</Saving>
<TotalPrice>560.00</TotalPrice>
<ExactMatch>true</ExactMatch>
<HotelArrivalDate>2013-09-14T00:00:00</HotelArrivalDate>
<HotelDuration>7</HotelDuration>
<SupplierDetails>
<SupplierID>83</SupplierID>
<SupplierReference>20_20</SupplierReference>
<PropertyID>0</PropertyID>
<CurrencyID>1</CurrencyID>
<Cost>560.00</Cost>
<SystemCost>0</SystemCost>
<GrossCost>0</GrossCost>
<CommissionPercentage>0</CommissionPercentage>
</SupplierDetails>
<FlightSectors />
</Flight>
</Flights>
</FlightSearchResponse>