GET Airline/OData/{userGuid}

Provides some of OData Features. Refer to following link for usage.

فراهم آوری برخی از امکانات موجود در OData. برای استفاده به لینک زیر رجوع شود


https://docs.microsoft.com/en-us/aspnet/web-api/overview/odata-support-in-aspnet-web-api/supporting-odata-query-options

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userGuid

GUID of the User

شناسه GUID کاربر

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of 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"
  },
  {
    "Code": 1,
    "Name": "sample string 2",
    "NameEn": "sample string 3"
  }
]

application/xml, text/xml

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