GET api/MetroMobile/V2/GetFailureTypes

Arıza Tipleri Listesi

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResultOfFailureTypes
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

Error

None.

Data

Collection of FailureTypes

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": [
    {
      "Code": "sample string 1",
      "Name": "sample string 2"
    },
    {
      "Code": "sample string 1",
      "Name": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ResultOfFailureTypesRmq_SY0Jl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models.Ajax">
    <d2p1:FailureTypes>
      <d2p1:Code>sample string 1</d2p1:Code>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:FailureTypes>
    <d2p1:FailureTypes>
      <d2p1:Code>sample string 1</d2p1:Code>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:FailureTypes>
  </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>
</ResultOfFailureTypesRmq_SY0Jl>