GET api/MetroMobile/GetLineProjects

Devam Eden Proje Listesi

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of LineProject
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Description

string

None.

LineName

string

None.

LineTypeId

integer

None.

LineType

string

None.

Contractor

string

None.

StartDate

date

None.

EndDate

date

None.

Price

string

None.

Percentage

string

None.

Content

string

None.

IntegrationLines

string

None.

TotalKM

decimal number

None.

PassengersPerHour

decimal number

None.

ContentPhoto

string

None.

MainPhoto

string

None.

Color

Color

None.

Language

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "LineName": "sample string 4",
    "LineTypeId": 5,
    "LineType": "sample string 6",
    "Contractor": "sample string 7",
    "StartDate": "2021-10-27T13:30:49.3399636+03:00",
    "EndDate": "2021-10-27T13:30:49.3399636+03:00",
    "Price": "sample string 8",
    "Percentage": "sample string 9",
    "Content": "sample string 10",
    "IntegrationLines": "sample string 11",
    "TotalKM": 12.1,
    "PassengersPerHour": 13.1,
    "ContentPhoto": "sample string 14",
    "MainPhoto": "sample string 15",
    "Color": {
      "Color_R": "sample string 1",
      "Color_G": "sample string 2",
      "Color_B": "sample string 3"
    },
    "Language": "sample string 16"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "LineName": "sample string 4",
    "LineTypeId": 5,
    "LineType": "sample string 6",
    "Contractor": "sample string 7",
    "StartDate": "2021-10-27T13:30:49.3399636+03:00",
    "EndDate": "2021-10-27T13:30:49.3399636+03:00",
    "Price": "sample string 8",
    "Percentage": "sample string 9",
    "Content": "sample string 10",
    "IntegrationLines": "sample string 11",
    "TotalKM": 12.1,
    "PassengersPerHour": 13.1,
    "ContentPhoto": "sample string 14",
    "MainPhoto": "sample string 15",
    "Color": {
      "Color_R": "sample string 1",
      "Color_G": "sample string 2",
      "Color_B": "sample string 3"
    },
    "Language": "sample string 16"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLineProject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models">
  <LineProject>
    <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 10</Content>
    <ContentPhoto>sample string 14</ContentPhoto>
    <Contractor>sample string 7</Contractor>
    <Description>sample string 3</Description>
    <EndDate>2021-10-27T13:30:49.3399636+03:00</EndDate>
    <Id>1</Id>
    <IntegrationLines>sample string 11</IntegrationLines>
    <Language>sample string 16</Language>
    <LineName>sample string 4</LineName>
    <LineType>sample string 6</LineType>
    <LineTypeId>5</LineTypeId>
    <MainPhoto>sample string 15</MainPhoto>
    <Name>sample string 2</Name>
    <PassengersPerHour>13.1</PassengersPerHour>
    <Percentage>sample string 9</Percentage>
    <Price>sample string 8</Price>
    <StartDate>2021-10-27T13:30:49.3399636+03:00</StartDate>
    <TotalKM>12.1</TotalKM>
  </LineProject>
  <LineProject>
    <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 10</Content>
    <ContentPhoto>sample string 14</ContentPhoto>
    <Contractor>sample string 7</Contractor>
    <Description>sample string 3</Description>
    <EndDate>2021-10-27T13:30:49.3399636+03:00</EndDate>
    <Id>1</Id>
    <IntegrationLines>sample string 11</IntegrationLines>
    <Language>sample string 16</Language>
    <LineName>sample string 4</LineName>
    <LineType>sample string 6</LineType>
    <LineTypeId>5</LineTypeId>
    <MainPhoto>sample string 15</MainPhoto>
    <Name>sample string 2</Name>
    <PassengersPerHour>13.1</PassengersPerHour>
    <Percentage>sample string 9</Percentage>
    <Price>sample string 8</Price>
    <StartDate>2021-10-27T13:30:49.3399636+03:00</StartDate>
    <TotalKM>12.1</TotalKM>
  </LineProject>
</ArrayOfLineProject>