GET Airline/{airlineCode}/{userGuid}

Find and return an object representing a airline information by that airline code

پیدا کردن و باز گرداندم یک شی که معرف اطلاعات یک ایرلاین می باشد توسط کد آن ایرلاین

Request Information

URI Parameters

NameDescriptionTypeAdditional information
airlineCode

Code of the desired airline
کد ایرلاین مد نظر

integer

Required

userGuid

GUID of the User
شناسه GUID کاربر

string

Required

Body Parameters

None.

Response Information

Resource Description

AirlineVm
NameDescriptionTypeAdditional information
Code

Code of the airline

کد ایرلاین

integer

None.

Name

Persian name of the airline

نام فارسی ایرلاین

string

None.

NameEn

English name of the airline

نام انگلیسی ایرلاین

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Name": "sample string 2",
  "NameEn": "sample string 3"
}

application/xml, text/xml

Sample:
<AirlineVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models">
  <Code>1</Code>
  <Name>sample string 2</Name>
  <NameEn>sample string 3</NameEn>
</AirlineVm>