POST api/TicketCategory/SaveTicketCategoryDetails

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AirlineId": 2,
  "CategoryId": 3,
  "TicketCategory": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "TicketClassId": "sample string 4"
}

application/xml, text/xml

Sample:
<TicketCategoryDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AviationData.Logic.Models">
  <AirlineId>2</AirlineId>
  <CategoryId>3</CategoryId>
  <Id>1</Id>
  <TicketCategory>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </TicketCategory>
  <TicketClassId>sample string 4</TicketClassId>
</TicketCategoryDetailsModel>

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 'TicketCategoryDetailsModel'.

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.