Phonixx Api

<back to all web services

Location

The following routes are available for this service:
GET,OPTIONS/locations
GET,OPTIONS/location/ivr/{IvrPhoneNumber}
GET,OPTIONS/location/{Code}

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/Location HTTP/1.1 
Host: parkmobile.us 
Content-Type: application/xml
Content-Length: length

<Location xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:parkmobile:phonixx:api:v1">
  <AllowRegistrationsByIvr>false</AllowRegistrationsByIvr>
  <Code>0</Code>
  <IvrPhoneNumber>String</IvrPhoneNumber>
  <SystemId>0</SystemId>
  <SystemName>String</SystemName>
</Location>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<LocationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:parkmobile:phonixx:api:v1">
  <Locations>
    <Location>
      <AllowRegistrationsByIvr>false</AllowRegistrationsByIvr>
      <Code>0</Code>
      <IvrPhoneNumber>String</IvrPhoneNumber>
      <SystemId>0</SystemId>
      <SystemName>String</SystemName>
    </Location>
  </Locations>
</LocationResponse>