Flight API GetConsumedTicketByMonth

Flight API

GetConsumedTicketByMonth

This API is useful to get information about monthly leg consumption by the users.

Path: /api/GetConsumedTicketByMonth/

Method Type :GET

Parameters :

  • UserID
  • Date: Will always be ‘yyyy-MM-dd’ format
  • IsDomestic (true/false)

Note: For round trips, the client needs to call the API again to retrieve the consumed leg count if the return flight month is different from the departure month.

 

Sample Response:
{
"AllowedTickets": 8,
"ConsumedTickets": 4
}