POST api/MetroMobile/V2/GetFaultyEquipmentDetails

Arızalı EKipmanların Detay Bilgi Listesi

Request Information

URI Parameters

None.

Body Parameters

FailureEquipmentRequest
NameDescriptionTypeAdditional information
EquipmentGroupName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EquipmentGroupName": "sample string 1"
}

application/xml, text/xml

Sample:
<FailureEquipmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models">
  <EquipmentGroupName>sample string 1</EquipmentGroupName>
</FailureEquipmentRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FailureEquipmentRequest'.

Response Information

Resource Description

ResultOfFaultyResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

Error

None.

Data

Collection of FaultyResponse

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": [
    {
      "Lines": [
        {
          "Name": "sample string 1",
          "Description": "sample string 2",
          "Status": "sample string 3"
        },
        {
          "Name": "sample string 1",
          "Description": "sample string 2",
          "Status": "sample string 3"
        }
      ],
      "Stations": [
        {
          "LineName": "sample string 1",
          "Name": "sample string 2",
          "Description": "sample string 3",
          "Status": "sample string 4"
        },
        {
          "LineName": "sample string 1",
          "Name": "sample string 2",
          "Description": "sample string 3",
          "Status": "sample string 4"
        }
      ],
      "Equipments": [
        {
          "Code": "sample string 1",
          "Group": "sample string 2",
          "LineId": 3,
          "LineName": "sample string 4",
          "StationId": 5,
          "StationName": "sample string 6",
          "Location": "sample string 7",
          "Type": "sample string 8",
          "Date": "2021-10-27T13:05:09.109811+03:00"
        },
        {
          "Code": "sample string 1",
          "Group": "sample string 2",
          "LineId": 3,
          "LineName": "sample string 4",
          "StationId": 5,
          "StationName": "sample string 6",
          "Location": "sample string 7",
          "Type": "sample string 8",
          "Date": "2021-10-27T13:05:09.109811+03:00"
        }
      ]
    },
    {
      "Lines": [
        {
          "Name": "sample string 1",
          "Description": "sample string 2",
          "Status": "sample string 3"
        },
        {
          "Name": "sample string 1",
          "Description": "sample string 2",
          "Status": "sample string 3"
        }
      ],
      "Stations": [
        {
          "LineName": "sample string 1",
          "Name": "sample string 2",
          "Description": "sample string 3",
          "Status": "sample string 4"
        },
        {
          "LineName": "sample string 1",
          "Name": "sample string 2",
          "Description": "sample string 3",
          "Status": "sample string 4"
        }
      ],
      "Equipments": [
        {
          "Code": "sample string 1",
          "Group": "sample string 2",
          "LineId": 3,
          "LineName": "sample string 4",
          "StationId": 5,
          "StationName": "sample string 6",
          "Location": "sample string 7",
          "Type": "sample string 8",
          "Date": "2021-10-27T13:05:09.109811+03:00"
        },
        {
          "Code": "sample string 1",
          "Group": "sample string 2",
          "LineId": 3,
          "LineName": "sample string 4",
          "StationId": 5,
          "StationName": "sample string 6",
          "Location": "sample string 7",
          "Type": "sample string 8",
          "Date": "2021-10-27T13:05:09.109811+03:00"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<ResultOfFaultyResponseuns9C1Um xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models">
  <Data>
    <FaultyResponse>
      <Equipments>
        <FaultyEquipment>
          <Code>sample string 1</Code>
          <Date>2021-10-27T13:05:09.109811+03:00</Date>
          <Group>sample string 2</Group>
          <LineId>3</LineId>
          <LineName>sample string 4</LineName>
          <Location>sample string 7</Location>
          <StationId>5</StationId>
          <StationName>sample string 6</StationName>
          <Type>sample string 8</Type>
        </FaultyEquipment>
        <FaultyEquipment>
          <Code>sample string 1</Code>
          <Date>2021-10-27T13:05:09.109811+03:00</Date>
          <Group>sample string 2</Group>
          <LineId>3</LineId>
          <LineName>sample string 4</LineName>
          <Location>sample string 7</Location>
          <StationId>5</StationId>
          <StationName>sample string 6</StationName>
          <Type>sample string 8</Type>
        </FaultyEquipment>
      </Equipments>
      <Lines>
        <FaultyLine>
          <Description>sample string 2</Description>
          <Name>sample string 1</Name>
          <Status>sample string 3</Status>
        </FaultyLine>
        <FaultyLine>
          <Description>sample string 2</Description>
          <Name>sample string 1</Name>
          <Status>sample string 3</Status>
        </FaultyLine>
      </Lines>
      <Stations>
        <FaultyStation>
          <Description>sample string 3</Description>
          <LineName>sample string 1</LineName>
          <Name>sample string 2</Name>
          <Status>sample string 4</Status>
        </FaultyStation>
        <FaultyStation>
          <Description>sample string 3</Description>
          <LineName>sample string 1</LineName>
          <Name>sample string 2</Name>
          <Status>sample string 4</Status>
        </FaultyStation>
      </Stations>
    </FaultyResponse>
    <FaultyResponse>
      <Equipments>
        <FaultyEquipment>
          <Code>sample string 1</Code>
          <Date>2021-10-27T13:05:09.109811+03:00</Date>
          <Group>sample string 2</Group>
          <LineId>3</LineId>
          <LineName>sample string 4</LineName>
          <Location>sample string 7</Location>
          <StationId>5</StationId>
          <StationName>sample string 6</StationName>
          <Type>sample string 8</Type>
        </FaultyEquipment>
        <FaultyEquipment>
          <Code>sample string 1</Code>
          <Date>2021-10-27T13:05:09.109811+03:00</Date>
          <Group>sample string 2</Group>
          <LineId>3</LineId>
          <LineName>sample string 4</LineName>
          <Location>sample string 7</Location>
          <StationId>5</StationId>
          <StationName>sample string 6</StationName>
          <Type>sample string 8</Type>
        </FaultyEquipment>
      </Equipments>
      <Lines>
        <FaultyLine>
          <Description>sample string 2</Description>
          <Name>sample string 1</Name>
          <Status>sample string 3</Status>
        </FaultyLine>
        <FaultyLine>
          <Description>sample string 2</Description>
          <Name>sample string 1</Name>
          <Status>sample string 3</Status>
        </FaultyLine>
      </Lines>
      <Stations>
        <FaultyStation>
          <Description>sample string 3</Description>
          <LineName>sample string 1</LineName>
          <Name>sample string 2</Name>
          <Status>sample string 4</Status>
        </FaultyStation>
        <FaultyStation>
          <Description>sample string 3</Description>
          <LineName>sample string 1</LineName>
          <Name>sample string 2</Name>
          <Status>sample string 4</Status>
        </FaultyStation>
      </Stations>
    </FaultyResponse>
  </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>
</ResultOfFaultyResponseuns9C1Um>