PUT api/AirlineProfiles/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PutAirlineProfileBindingModel
NameDescriptionTypeAdditional information
Id

integer

None.

AddressId

integer

None.

Name

string

String length: inclusive between 0 and 125

Telp

string

String length: inclusive between 0 and 256

Email

string

None.

ImageUrl

string

None.

TinyImageUrl

string

None.

CompanyId

integer

None.

AddressObject

PostAddressBindingModel

None.

ImageName

string

None.

ImageContent

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AddressId": 2,
  "Name": "sample string 3",
  "Telp": "sample string 4",
  "Email": "sample string 5",
  "ImageUrl": "sample string 6",
  "TinyImageUrl": "sample string 7",
  "CompanyId": 8,
  "AddressObject": {
    "Id": 1,
    "Address1": "sample string 1",
    "Address2": "sample string 2",
    "Address3": "sample string 3",
    "Landmark": "sample string 4",
    "PostalCode": "sample string 5",
    "AreaId": "sample string 6"
  },
  "ImageName": "sample string 9",
  "ImageContent": "sample string 10"
}

application/xml, text/xml

Sample:
<PutAirlineProfileBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <AddressObject>
    <Address1>sample string 1</Address1>
    <Address2>sample string 2</Address2>
    <Address3>sample string 3</Address3>
    <AreaId>sample string 6</AreaId>
    <Landmark>sample string 4</Landmark>
    <PostalCode>sample string 5</PostalCode>
    <Id>1</Id>
  </AddressObject>
  <CompanyId>8</CompanyId>
  <Email>sample string 5</Email>
  <ImageContent>sample string 10</ImageContent>
  <ImageName>sample string 9</ImageName>
  <ImageUrl>sample string 6</ImageUrl>
  <Name>sample string 3</Name>
  <Telp>sample string 4</Telp>
  <TinyImageUrl>sample string 7</TinyImageUrl>
  <AddressId>2</AddressId>
  <Id>1</Id>
</PutAirlineProfileBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.