GET v1/AnnualReport/GetCarReports?dkNumber={dkNumber}&startDate={startDate}&endDate={endDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dkNumber

string

Required

startDate

date

Required

endDate

date

Required

Body Parameters

None.

Response Information

Resource Description

CarReportResponse
NameDescriptionTypeAdditional information
CarCompaniesReport

Collection of CarCompaniesReport

None.

CarLeftGraph

Collection of CarLeftGraph

None.

CarRightGraph

Collection of CarRightGraph

None.

IsSuccess

boolean

None.

Message

string

None.

guid

string

None.

PNR

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CarCompaniesReport": [
    {
      "TripType": "sample string 1",
      "NetVolume": 2.0,
      "AverageRentalPrice": 3.0,
      "Company": "sample string 4",
      "Year": 5,
      "BookingCount": 6,
      "Month": "sample string 7"
    },
    {
      "TripType": "sample string 1",
      "NetVolume": 2.0,
      "AverageRentalPrice": 3.0,
      "Company": "sample string 4",
      "Year": 5,
      "BookingCount": 6,
      "Month": "sample string 7"
    }
  ],
  "CarLeftGraph": [
    {
      "TripType": "sample string 1",
      "IsDomestic": true,
      "TotalFare": 3.0,
      "Year": 4,
      "Month": "sample string 5",
      "BookingCount": 6,
      "Transactions": 7
    },
    {
      "TripType": "sample string 1",
      "IsDomestic": true,
      "TotalFare": 3.0,
      "Year": 4,
      "Month": "sample string 5",
      "BookingCount": 6,
      "Transactions": 7
    }
  ],
  "CarRightGraph": [
    {
      "CarType": "sample string 1",
      "SpendAmount": 2.0,
      "Month": "sample string 3",
      "Year": 4
    },
    {
      "CarType": "sample string 1",
      "SpendAmount": 2.0,
      "Month": "sample string 3",
      "Year": 4
    }
  ],
  "IsSuccess": true,
  "Message": "sample string 2",
  "guid": "sample string 3",
  "PNR": "sample string 4"
}

application/xml, text/xml

Sample:
<CarReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.AnnualReport">
  <IsSuccess xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">true</IsSuccess>
  <Message xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 2</Message>
  <PNR xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 4</PNR>
  <guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 3</guid>
  <CarCompaniesReport>
    <CarCompaniesReport>
      <AverageRentalPrice>3</AverageRentalPrice>
      <BookingCount>6</BookingCount>
      <Company>sample string 4</Company>
      <Month>sample string 7</Month>
      <NetVolume>2</NetVolume>
      <TripType>sample string 1</TripType>
      <Year>5</Year>
    </CarCompaniesReport>
    <CarCompaniesReport>
      <AverageRentalPrice>3</AverageRentalPrice>
      <BookingCount>6</BookingCount>
      <Company>sample string 4</Company>
      <Month>sample string 7</Month>
      <NetVolume>2</NetVolume>
      <TripType>sample string 1</TripType>
      <Year>5</Year>
    </CarCompaniesReport>
  </CarCompaniesReport>
  <CarLeftGraph>
    <CarLeftGraph>
      <BookingCount>6</BookingCount>
      <IsDomestic>true</IsDomestic>
      <Month>sample string 5</Month>
      <TotalFare>3</TotalFare>
      <Transactions>7</Transactions>
      <TripType>sample string 1</TripType>
      <Year>4</Year>
    </CarLeftGraph>
    <CarLeftGraph>
      <BookingCount>6</BookingCount>
      <IsDomestic>true</IsDomestic>
      <Month>sample string 5</Month>
      <TotalFare>3</TotalFare>
      <Transactions>7</Transactions>
      <TripType>sample string 1</TripType>
      <Year>4</Year>
    </CarLeftGraph>
  </CarLeftGraph>
  <CarRightGraph>
    <CarRightGraph>
      <CarType>sample string 1</CarType>
      <Month>sample string 3</Month>
      <SpendAmount>2</SpendAmount>
      <Year>4</Year>
    </CarRightGraph>
    <CarRightGraph>
      <CarType>sample string 1</CarType>
      <Month>sample string 3</Month>
      <SpendAmount>2</SpendAmount>
      <Year>4</Year>
    </CarRightGraph>
  </CarRightGraph>
</CarReportResponse>