GET api/MetroMobile/GetStationById/{LineId}

Hat Id'sine Göre ─░stasyon Bilgi Listesi

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LineId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Station
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

LineId

integer

None.

LineName

string

None.

Description

string

None.

Order

integer

None.

IsActive

boolean

None.

FunctionalCode

string

None.

DetailInfo

StationInfo

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "LineId": 3,
    "LineName": "sample string 4",
    "Description": "sample string 5",
    "Order": 6,
    "IsActive": true,
    "FunctionalCode": "sample string 7",
    "DetailInfo": {
      "Escolator": 1,
      "Lift": 2,
      "BabyRoom": true,
      "WC": true,
      "Masjid": true,
      "Latitude": "sample string 6",
      "Longitude": "sample string 7"
    }
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "LineId": 3,
    "LineName": "sample string 4",
    "Description": "sample string 5",
    "Order": 6,
    "IsActive": true,
    "FunctionalCode": "sample string 7",
    "DetailInfo": {
      "Escolator": 1,
      "Lift": 2,
      "BabyRoom": true,
      "WC": true,
      "Masjid": true,
      "Latitude": "sample string 6",
      "Longitude": "sample string 7"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfStation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models">
  <Station>
    <Description>sample string 5</Description>
    <DetailInfo>
      <BabyRoom>true</BabyRoom>
      <Escolator>1</Escolator>
      <Latitude>sample string 6</Latitude>
      <Lift>2</Lift>
      <Longitude>sample string 7</Longitude>
      <Masjid>true</Masjid>
      <WC>true</WC>
    </DetailInfo>
    <FunctionalCode>sample string 7</FunctionalCode>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <LineId>3</LineId>
    <LineName>sample string 4</LineName>
    <Name>sample string 2</Name>
    <Order>6</Order>
  </Station>
  <Station>
    <Description>sample string 5</Description>
    <DetailInfo>
      <BabyRoom>true</BabyRoom>
      <Escolator>1</Escolator>
      <Latitude>sample string 6</Latitude>
      <Lift>2</Lift>
      <Longitude>sample string 7</Longitude>
      <Masjid>true</Masjid>
      <WC>true</WC>
    </DetailInfo>
    <FunctionalCode>sample string 7</FunctionalCode>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <LineId>3</LineId>
    <LineName>sample string 4</LineName>
    <Name>sample string 2</Name>
    <Order>6</Order>
  </Station>
</ArrayOfStation>