GET api/MetroMobile/V2/GetServiceStatuses

Hatların Hizmet Durumu Listesi

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResultOfServiceStatus
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

Error

None.

Data

Collection of ServiceStatus

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": [
    {
      "LineId": 1,
      "Description": "sample string 2",
      "IsActive": true,
      "UpdateDate": "2021-10-27T12:52:29.0601107+03:00",
      "ServiceStatuImage": "sample string 5",
      "LineImage": "sample string 6",
      "LineName": "sample string 7",
      "LineContent": "sample string 8",
      "LineENContent": "sample string 9",
      "LineARContent": "sample string 10",
      "LineShortDescription": "sample string 11",
      "LineLongDescription": "sample string 12",
      "LineENDescription": "sample string 13",
      "LineARDescription": "sample string 14",
      "LineColor": {
        "Color_R": "sample string 1",
        "Color_G": "sample string 2",
        "Color_B": "sample string 3"
      }
    },
    {
      "LineId": 1,
      "Description": "sample string 2",
      "IsActive": true,
      "UpdateDate": "2021-10-27T12:52:29.0601107+03:00",
      "ServiceStatuImage": "sample string 5",
      "LineImage": "sample string 6",
      "LineName": "sample string 7",
      "LineContent": "sample string 8",
      "LineENContent": "sample string 9",
      "LineARContent": "sample string 10",
      "LineShortDescription": "sample string 11",
      "LineLongDescription": "sample string 12",
      "LineENDescription": "sample string 13",
      "LineARDescription": "sample string 14",
      "LineColor": {
        "Color_R": "sample string 1",
        "Color_G": "sample string 2",
        "Color_B": "sample string 3"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<ResultOfServiceStatusuns9C1Um xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models">
  <Data>
    <ServiceStatus>
      <Description>sample string 2</Description>
      <IsActive>true</IsActive>
      <LineARContent>sample string 10</LineARContent>
      <LineARDescription>sample string 14</LineARDescription>
      <LineColor>
        <Color_B>sample string 3</Color_B>
        <Color_G>sample string 2</Color_G>
        <Color_R>sample string 1</Color_R>
      </LineColor>
      <LineContent>sample string 8</LineContent>
      <LineENContent>sample string 9</LineENContent>
      <LineENDescription>sample string 13</LineENDescription>
      <LineId>1</LineId>
      <LineImage>sample string 6</LineImage>
      <LineLongDescription>sample string 12</LineLongDescription>
      <LineName>sample string 7</LineName>
      <LineShortDescription>sample string 11</LineShortDescription>
      <ServiceStatuImage>sample string 5</ServiceStatuImage>
      <UpdateDate>2021-10-27T12:52:29.0601107+03:00</UpdateDate>
    </ServiceStatus>
    <ServiceStatus>
      <Description>sample string 2</Description>
      <IsActive>true</IsActive>
      <LineARContent>sample string 10</LineARContent>
      <LineARDescription>sample string 14</LineARDescription>
      <LineColor>
        <Color_B>sample string 3</Color_B>
        <Color_G>sample string 2</Color_G>
        <Color_R>sample string 1</Color_R>
      </LineColor>
      <LineContent>sample string 8</LineContent>
      <LineENContent>sample string 9</LineENContent>
      <LineENDescription>sample string 13</LineENDescription>
      <LineId>1</LineId>
      <LineImage>sample string 6</LineImage>
      <LineLongDescription>sample string 12</LineLongDescription>
      <LineName>sample string 7</LineName>
      <LineShortDescription>sample string 11</LineShortDescription>
      <ServiceStatuImage>sample string 5</ServiceStatuImage>
      <UpdateDate>2021-10-27T12:52:29.0601107+03:00</UpdateDate>
    </ServiceStatus>
  </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>
</ResultOfServiceStatusuns9C1Um>