GET Phones?available={available}&country={country}&state={state}

Get all phones

Request Information

Parameters

NameDescriptionAdditional information
available
Filter by phone availability (assigned - 0, unassigned - 1)

Define this parameter in the request URI.

This parameter is optional.

country
Filter by country (country code - au, us, etc)

Define this parameter in the request URI.

This parameter is optional.

state
Filter by state (QLD, NSW, etc)

Define this parameter in the request URI.

This parameter is optional.

Response Information

Response body formats

application/json, text/json, text/html

Sample:
[
  {
    "ID": 1,
    "PoolID": 2,
    "Number": "1300123456",
    "DestinationNumber": "0212345678",
    "Status": "2",
    "CombinedTrackingSource": "Direct",
    "Country": null,
    "State": null
  },
  {
    "ID": 2,
    "PoolID": 3,
    "Number": "1300123458",
    "DestinationNumber": "0212345678",
    "Status": "2",
    "CombinedTrackingSource": "",
    "Country": null,
    "State": null
  },
  {
    "ID": 3,
    "PoolID": null,
    "Number": "1300123457",
    "DestinationNumber": "0212345678",
    "Status": "2",
    "CombinedTrackingSource": "",
    "Country": null,
    "State": null
  }
]

application/xml, text/xml

Sample:
<ArrayOfApiPhone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CallTracker.Api.Models">
  <ApiPhone>
    <CombinedTrackingSource>Direct</CombinedTrackingSource>
    <Country i:nil="true" />
    <DestinationNumber>0212345678</DestinationNumber>
    <ID>1</ID>
    <Number>1300123456</Number>
    <PoolID>2</PoolID>
    <State i:nil="true" />
    <Status>2</Status>
  </ApiPhone>
  <ApiPhone>
    <CombinedTrackingSource></CombinedTrackingSource>
    <Country i:nil="true" />
    <DestinationNumber>0212345678</DestinationNumber>
    <ID>2</ID>
    <Number>1300123458</Number>
    <PoolID>3</PoolID>
    <State i:nil="true" />
    <Status>2</Status>
  </ApiPhone>
  <ApiPhone>
    <CombinedTrackingSource></CombinedTrackingSource>
    <Country i:nil="true" />
    <DestinationNumber>0212345678</DestinationNumber>
    <ID>3</ID>
    <Number>1300123457</Number>
    <PoolID i:nil="true" />
    <State i:nil="true" />
    <Status>2</Status>
  </ApiPhone>
</ArrayOfApiPhone>