GET api/MetroMobile/V2/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

ResultOfStation
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

Error

None.

Data

Collection of Station

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "Id": 1,
    "Title": "sample string 2",
    "Message": "sample string 3",
    "Trace": "sample string 4",
    "HelpLink": "sample string 5",
    "Source": "sample string 6"
  },
  "Data": [
    {
      "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:
<ResultOfStationuns9C1Um xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models">
  <Data>
    <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>
  </Data>
  <Error>
    <HelpLink>sample string 5</HelpLink>
    <Id>1</Id>
    <Message>sample string 3</Message>
    <Source>sample string 6</Source>
    <Title>sample string 2</Title>
    <Trace>sample string 4</Trace>
  </Error>
  <Success>true</Success>
</ResultOfStationuns9C1Um>