POST api/ManageMyBooking/UpdateFlightDetail

Request Information

URI Parameters

None.

Body Parameters

MMBFlightDetail
NameDescriptionTypeAdditional information
Id

integer

None.

PNR

string

None.

CP_FirstName

string

None.

CP_LastName

string

None.

Email

string

None.

Phone

string

None.

OriginPlace

string

None.

DestinationPlace

string

None.

STD

date

None.

STA

date

None.

FlightNo

string

None.

EntryDate

date

None.

AgentCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PNR": "sample string 2",
  "CP_FirstName": "sample string 3",
  "CP_LastName": "sample string 4",
  "Email": "sample string 5",
  "Phone": "sample string 6",
  "OriginPlace": "sample string 7",
  "DestinationPlace": "sample string 8",
  "STD": "2021-08-03T13:54:51.6518293+05:30",
  "STA": "2021-08-03T13:54:51.6518293+05:30",
  "FlightNo": "sample string 11",
  "EntryDate": "2021-08-03T13:54:51.6518293+05:30",
  "AgentCode": "sample string 13"
}

application/xml, text/xml

Sample:
<MMBFlightDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FlightDisruptionDAL.DBContext">
  <AgentCode>sample string 13</AgentCode>
  <CP_FirstName>sample string 3</CP_FirstName>
  <CP_LastName>sample string 4</CP_LastName>
  <DestinationPlace>sample string 8</DestinationPlace>
  <Email>sample string 5</Email>
  <EntryDate>2021-08-03T13:54:51.6518293+05:30</EntryDate>
  <FlightNo>sample string 11</FlightNo>
  <Id>1</Id>
  <OriginPlace>sample string 7</OriginPlace>
  <PNR>sample string 2</PNR>
  <Phone>sample string 6</Phone>
  <STA>2021-08-03T13:54:51.6518293+05:30</STA>
  <STD>2021-08-03T13:54:51.6518293+05:30</STD>
</MMBFlightDetail>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MMBFlightDetail'.

Response Information

Resource Description

MMBFlightDetail
NameDescriptionTypeAdditional information
Id

integer

None.

PNR

string

None.

CP_FirstName

string

None.

CP_LastName

string

None.

Email

string

None.

Phone

string

None.

OriginPlace

string

None.

DestinationPlace

string

None.

STD

date

None.

STA

date

None.

FlightNo

string

None.

EntryDate

date

None.

AgentCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PNR": "sample string 2",
  "CP_FirstName": "sample string 3",
  "CP_LastName": "sample string 4",
  "Email": "sample string 5",
  "Phone": "sample string 6",
  "OriginPlace": "sample string 7",
  "DestinationPlace": "sample string 8",
  "STD": "2021-08-03T13:54:51.6518293+05:30",
  "STA": "2021-08-03T13:54:51.6518293+05:30",
  "FlightNo": "sample string 11",
  "EntryDate": "2021-08-03T13:54:51.6518293+05:30",
  "AgentCode": "sample string 13"
}

application/xml, text/xml

Sample:
<MMBFlightDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FlightDisruptionDAL.DBContext">
  <AgentCode>sample string 13</AgentCode>
  <CP_FirstName>sample string 3</CP_FirstName>
  <CP_LastName>sample string 4</CP_LastName>
  <DestinationPlace>sample string 8</DestinationPlace>
  <Email>sample string 5</Email>
  <EntryDate>2021-08-03T13:54:51.6518293+05:30</EntryDate>
  <FlightNo>sample string 11</FlightNo>
  <Id>1</Id>
  <OriginPlace>sample string 7</OriginPlace>
  <PNR>sample string 2</PNR>
  <Phone>sample string 6</Phone>
  <STA>2021-08-03T13:54:51.6518293+05:30</STA>
  <STD>2021-08-03T13:54:51.6518293+05:30</STD>
</MMBFlightDetail>