GET api/MetroMobile/V2/GetLines

Hat Bilgisi Listesi

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResultOfLine
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

Error

None.

Data

Collection of Line

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",
      "Content": "sample string 3",
      "ENContent": "sample string 4",
      "ARContent": "sample string 5",
      "ShortDescription": "sample string 6",
      "LongDescription": "sample string 7",
      "ENDescription": "sample string 8",
      "ARDescription": "sample string 9",
      "IsActive": true,
      "FunctionalCode": "sample string 10",
      "Color": {
        "Color_R": "sample string 1",
        "Color_G": "sample string 2",
        "Color_B": "sample string 3"
      },
      "Order": 11
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Content": "sample string 3",
      "ENContent": "sample string 4",
      "ARContent": "sample string 5",
      "ShortDescription": "sample string 6",
      "LongDescription": "sample string 7",
      "ENDescription": "sample string 8",
      "ARDescription": "sample string 9",
      "IsActive": true,
      "FunctionalCode": "sample string 10",
      "Color": {
        "Color_R": "sample string 1",
        "Color_G": "sample string 2",
        "Color_B": "sample string 3"
      },
      "Order": 11
    }
  ]
}

application/xml, text/xml

Sample:
<ResultOfLineuns9C1Um xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models">
  <Data>
    <Line>
      <ARContent>sample string 5</ARContent>
      <ARDescription>sample string 9</ARDescription>
      <Color>
        <Color_B>sample string 3</Color_B>
        <Color_G>sample string 2</Color_G>
        <Color_R>sample string 1</Color_R>
      </Color>
      <Content>sample string 3</Content>
      <ENContent>sample string 4</ENContent>
      <ENDescription>sample string 8</ENDescription>
      <FunctionalCode>sample string 10</FunctionalCode>
      <Id>1</Id>
      <IsActive>true</IsActive>
      <LongDescription>sample string 7</LongDescription>
      <Name>sample string 2</Name>
      <Order>11</Order>
      <ShortDescription>sample string 6</ShortDescription>
    </Line>
    <Line>
      <ARContent>sample string 5</ARContent>
      <ARDescription>sample string 9</ARDescription>
      <Color>
        <Color_B>sample string 3</Color_B>
        <Color_G>sample string 2</Color_G>
        <Color_R>sample string 1</Color_R>
      </Color>
      <Content>sample string 3</Content>
      <ENContent>sample string 4</ENContent>
      <ENDescription>sample string 8</ENDescription>
      <FunctionalCode>sample string 10</FunctionalCode>
      <Id>1</Id>
      <IsActive>true</IsActive>
      <LongDescription>sample string 7</LongDescription>
      <Name>sample string 2</Name>
      <Order>11</Order>
      <ShortDescription>sample string 6</ShortDescription>
    </Line>
  </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>
</ResultOfLineuns9C1Um>