GET v1/AnnualReport/GetDashboardReports?dkNumber={dkNumber}&startDate={startDate}&endDate={endDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dkNumber | string |
Required |
|
| startDate | date |
Required |
|
| endDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
DashboardReportResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| LeftGraph | Collection of DashboardLeftGraph |
None. |
|
| RightGraph | Collection of DashboardRightGraph |
None. |
|
| TopSpend | Collection of DashboardTopSpend |
None. |
|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| guid | string |
None. |
|
| PNR | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"LeftGraph": [
{
"TripType": "sample string 1",
"IsDomestic": true,
"TotalFare": 3.0,
"Year": 4,
"Month": "sample string 5",
"BookingCount": 6
},
{
"TripType": "sample string 1",
"IsDomestic": true,
"TotalFare": 3.0,
"Year": 4,
"Month": "sample string 5",
"BookingCount": 6
}
],
"RightGraph": [
{
"TripType": "sample string 1",
"IsDomestic": true,
"TotalFare": 3.0,
"Year": 4,
"Month": "sample string 5",
"BookingCount": 6
},
{
"TripType": "sample string 1",
"IsDomestic": true,
"TotalFare": 3.0,
"Year": 4,
"Month": "sample string 5",
"BookingCount": 6
}
],
"TopSpend": [
{
"TripType": "sample string 1",
"IsDomestic": true,
"Origin": "sample string 3",
"Destination": "sample string 4",
"NetVolume": 5.0,
"AverageTicketFare": 6.0,
"Year": 7,
"Transactions": 8,
"Month": "sample string 9"
},
{
"TripType": "sample string 1",
"IsDomestic": true,
"Origin": "sample string 3",
"Destination": "sample string 4",
"NetVolume": 5.0,
"AverageTicketFare": 6.0,
"Year": 7,
"Transactions": 8,
"Month": "sample string 9"
}
],
"IsSuccess": true,
"Message": "sample string 2",
"guid": "sample string 3",
"PNR": "sample string 4"
}
application/xml, text/xml
Sample:
<DashboardReportResponse 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>
<LeftGraph>
<DashboardLeftGraph>
<BookingCount>6</BookingCount>
<IsDomestic>true</IsDomestic>
<Month>sample string 5</Month>
<TotalFare>3</TotalFare>
<TripType>sample string 1</TripType>
<Year>4</Year>
</DashboardLeftGraph>
<DashboardLeftGraph>
<BookingCount>6</BookingCount>
<IsDomestic>true</IsDomestic>
<Month>sample string 5</Month>
<TotalFare>3</TotalFare>
<TripType>sample string 1</TripType>
<Year>4</Year>
</DashboardLeftGraph>
</LeftGraph>
<RightGraph>
<DashboardRightGraph>
<BookingCount>6</BookingCount>
<IsDomestic>true</IsDomestic>
<Month>sample string 5</Month>
<TotalFare>3</TotalFare>
<TripType>sample string 1</TripType>
<Year>4</Year>
</DashboardRightGraph>
<DashboardRightGraph>
<BookingCount>6</BookingCount>
<IsDomestic>true</IsDomestic>
<Month>sample string 5</Month>
<TotalFare>3</TotalFare>
<TripType>sample string 1</TripType>
<Year>4</Year>
</DashboardRightGraph>
</RightGraph>
<TopSpend>
<DashboardTopSpend>
<AverageTicketFare>6</AverageTicketFare>
<Destination>sample string 4</Destination>
<IsDomestic>true</IsDomestic>
<Month>sample string 9</Month>
<NetVolume>5</NetVolume>
<Origin>sample string 3</Origin>
<Transactions>8</Transactions>
<TripType>sample string 1</TripType>
<Year>7</Year>
</DashboardTopSpend>
<DashboardTopSpend>
<AverageTicketFare>6</AverageTicketFare>
<Destination>sample string 4</Destination>
<IsDomestic>true</IsDomestic>
<Month>sample string 9</Month>
<NetVolume>5</NetVolume>
<Origin>sample string 3</Origin>
<Transactions>8</Transactions>
<TripType>sample string 1</TripType>
<Year>7</Year>
</DashboardTopSpend>
</TopSpend>
</DashboardReportResponse>