GET api/GetCallAddresses?phoneNumber={phoneNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
phoneNumber

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AddressModel
NameDescriptionTypeAdditional information
address

string

None.

city

string

None.

postCode

string

None.

region

string

None.

isFromPhoneBook

boolean

None.

description

string

None.

AddressLat

decimal number

None.

AddressLong

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "address": "sample string 1",
    "city": "sample string 2",
    "postCode": "sample string 3",
    "region": "sample string 4",
    "isFromPhoneBook": true,
    "description": "sample string 6",
    "AddressLat": 1.0,
    "AddressLong": 1.0
  },
  {
    "address": "sample string 1",
    "city": "sample string 2",
    "postCode": "sample string 3",
    "region": "sample string 4",
    "isFromPhoneBook": true,
    "description": "sample string 6",
    "AddressLat": 1.0,
    "AddressLong": 1.0
  }
]

application/octet-stream, multipart/form-data

Sample:
[{"address":"sample string 1","city":"sample string 2","postCode":"sample string 3","region":"sample string 4","isFromPhoneBook":true,"description":"sample string 6","AddressLat":1.0,"AddressLong":1.0},{"address":"sample string 1","city":"sample string 2","postCode":"sample string 3","region":"sample string 4","isFromPhoneBook":true,"description":"sample string 6","AddressLat":1.0,"AddressLong":1.0}]

application/xml, text/xml

Sample:
<ArrayOfAddressModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Models">
  <AddressModel>
    <AddressLat>1</AddressLat>
    <AddressLong>1</AddressLong>
    <address>sample string 1</address>
    <city>sample string 2</city>
    <description>sample string 6</description>
    <isFromPhoneBook>true</isFromPhoneBook>
    <postCode>sample string 3</postCode>
    <region>sample string 4</region>
  </AddressModel>
  <AddressModel>
    <AddressLat>1</AddressLat>
    <AddressLong>1</AddressLong>
    <address>sample string 1</address>
    <city>sample string 2</city>
    <description>sample string 6</description>
    <isFromPhoneBook>true</isFromPhoneBook>
    <postCode>sample string 3</postCode>
    <region>sample string 4</region>
  </AddressModel>
</ArrayOfAddressModel>