POST User/getipaddress

Request Information

URI Parameters

None.

Body Parameters

GetIPAddressRequest
NameDescriptionTypeAdditional information
userName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1"
}

application/xml, text/xml

Sample:
<GetIPAddressRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.User">
  <userName>sample string 1</userName>
</GetIPAddressRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetIPAddressResponse
NameDescriptionTypeAdditional information
code

integer

None.

error

string

None.

IPAddress

string

None.

GeoFenceIsEnabled

boolean

None.

Accuracy

integer

None.

Timeout

integer

None.

APIVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IPAddress": "sample string 1",
  "GeoFenceIsEnabled": true,
  "Accuracy": 3,
  "Timeout": 4,
  "APIVersion": 5,
  "code": 200,
  "error": "sample string 1"
}

application/xml, text/xml

Sample:
<GetIPAddressResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.User">
  <APIVersion xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">5</APIVersion>
  <error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 1</error>
  <Accuracy>3</Accuracy>
  <GeoFenceIsEnabled>true</GeoFenceIsEnabled>
  <IPAddress>sample string 1</IPAddress>
  <Timeout>4</Timeout>
</GetIPAddressResponse>