GET api/MetroMobile/GetDirectionById/{LineId}

Hat Id'sine Göre Yön Bilgisi Listesi

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LineId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of View_LineDirectionInfo
NameDescriptionTypeAdditional information
LineId

integer

None.

LineName

string

None.

DirectionId

integer

None.

DirectionName

string

None.

DirectionValue

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LineId": 1,
    "LineName": "sample string 2",
    "DirectionId": 3,
    "DirectionName": "sample string 4",
    "DirectionValue": 5
  },
  {
    "LineId": 1,
    "LineName": "sample string 2",
    "DirectionId": 3,
    "DirectionName": "sample string 4",
    "DirectionValue": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfView_LineDirectionInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.EF">
  <View_LineDirectionInfo>
    <DirectionId>3</DirectionId>
    <DirectionName>sample string 4</DirectionName>
    <DirectionValue>5</DirectionValue>
    <LineId>1</LineId>
    <LineName>sample string 2</LineName>
  </View_LineDirectionInfo>
  <View_LineDirectionInfo>
    <DirectionId>3</DirectionId>
    <DirectionName>sample string 4</DirectionName>
    <DirectionValue>5</DirectionValue>
    <LineId>1</LineId>
    <LineName>sample string 2</LineName>
  </View_LineDirectionInfo>
</ArrayOfView_LineDirectionInfo>