GET api/Ramp/GetDataByDate?selectDate={selectDate}&page={page}&type={type}&flightNo={flightNo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
selectDate

string

Required

page

integer

Required

type

string

Required

flightNo

string

None.

Body Parameters

None.

Response Information

Resource Description

PaginationDTO
NameDescriptionTypeAdditional information
Data

Collection of Object

None.

Pagination

PaginationModel

None.

Status

StatusRespon

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {},
    {}
  ],
  "Pagination": {
    "Total_Records": 1,
    "Current_Page": 2,
    "Total_Pages": 3,
    "Next_Pages": 1,
    "Prev_Pages": 1
  },
  "Status": {
    "success": true,
    "statusCode": 2,
    "message": "sample string 3"
  }
}

text/xml

Sample:
<PaginationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiEramp.Models">
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </Data>
  <Pagination>
    <Current_Page>2</Current_Page>
    <Next_Pages>1</Next_Pages>
    <Prev_Pages>1</Prev_Pages>
    <Total_Pages>3</Total_Pages>
    <Total_Records>1</Total_Records>
  </Pagination>
  <Status>
    <message>sample string 3</message>
    <statusCode>2</statusCode>
    <success>true</success>
  </Status>
</PaginationDTO>