PV API Service

<back to all web services

ClientIPRequest

GET the caller's IP address as represented to this server.

The following routes are available for this service:
GET, POST, OPTIONS/ClientIP

To override the Content-type in your clients HTTP Accept Header, append ?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/ClientIPRequest HTTP/1.1 
Host: api.practicevelocity.com 
Content-Type: application/xml
Content-Length: length

<ClientIPRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.API.Common.DataModel" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ClientIPResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.API.Common.DataModel">
  <ClientIPAddress>String</ClientIPAddress>
</ClientIPResult>