GET api/MetroMobile/GetTicketPrice/{Language}

Bilet Fiyat Listesi

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Language

TR,EN,AR

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TicketTypes
NameDescriptionTypeAdditional information
Type

string

None.

TicketPrices

Collection of TicketPrice

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Type": "sample string 1",
    "TicketPrices": [
      {
        "Name": "sample string 1",
        "Price": "sample string 2"
      },
      {
        "Name": "sample string 1",
        "Price": "sample string 2"
      }
    ]
  },
  {
    "Type": "sample string 1",
    "TicketPrices": [
      {
        "Name": "sample string 1",
        "Price": "sample string 2"
      },
      {
        "Name": "sample string 1",
        "Price": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfTicketTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models">
  <TicketTypes>
    <TicketPrices>
      <TicketPrice>
        <Name>sample string 1</Name>
        <Price>sample string 2</Price>
      </TicketPrice>
      <TicketPrice>
        <Name>sample string 1</Name>
        <Price>sample string 2</Price>
      </TicketPrice>
    </TicketPrices>
    <Type>sample string 1</Type>
  </TicketTypes>
  <TicketTypes>
    <TicketPrices>
      <TicketPrice>
        <Name>sample string 1</Name>
        <Price>sample string 2</Price>
      </TicketPrice>
      <TicketPrice>
        <Name>sample string 1</Name>
        <Price>sample string 2</Price>
      </TicketPrice>
    </TicketPrices>
    <Type>sample string 1</Type>
  </TicketTypes>
</ArrayOfTicketTypes>