GET api/MetroMobile/V2/GetAddresses/{Language}

Dil bilgisine göre Adres Listesi

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Language

TR,EN,AR

string

Required

Body Parameters

None.

Response Information

Resource Description

ResultOfAddress
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

Error

None.

Data

Collection of Address

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": [
    {
      "Title": "sample string 1",
      "Description": "sample string 2",
      "Code": "sample string 3",
      "Phone": "sample string 4",
      "Email": "sample string 5",
      "Fax": "sample string 6",
      "Coordinate": "sample string 7"
    },
    {
      "Title": "sample string 1",
      "Description": "sample string 2",
      "Code": "sample string 3",
      "Phone": "sample string 4",
      "Email": "sample string 5",
      "Fax": "sample string 6",
      "Coordinate": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<ResultOfAddressuns9C1Um xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models">
  <Data>
    <Address>
      <Code>sample string 3</Code>
      <Coordinate>sample string 7</Coordinate>
      <Description>sample string 2</Description>
      <Email>sample string 5</Email>
      <Fax>sample string 6</Fax>
      <Phone>sample string 4</Phone>
      <Title>sample string 1</Title>
    </Address>
    <Address>
      <Code>sample string 3</Code>
      <Coordinate>sample string 7</Coordinate>
      <Description>sample string 2</Description>
      <Email>sample string 5</Email>
      <Fax>sample string 6</Fax>
      <Phone>sample string 4</Phone>
      <Title>sample string 1</Title>
    </Address>
  </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>
</ResultOfAddressuns9C1Um>