Get user location history
GET/api/web/v1/users/:userid/userlocations
Get the location history of the specified user. Caller requires the USERRBASETTINGS:VIEW permission.
Request
Path Parameters
The UUID of the user whose location history is to be retrieved.
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The city name--always returned in upper-case.
A two-character (alpha-2) ISO 3166-1 country code.
The date this user location will expire.
The UUID of the user location.
The IPv4 Address.
The ISP name--always returned in upper-case.
The time of the last authentication from this location.
The latitude.
The longitude.
The number of times this location was used during authentication.
Whether the IP provided is a private IP Address.
[
{
"city": "string",
"countryCode": "string",
"expiryDate": "2019-02-19T13:15:27Z",
"id": "string",
"ipAddress": "string",
"isp": "string",
"lastAuthenticationTime": "2019-02-19T13:15:27Z",
"latitude": 0,
"longitude": 0,
"numberOfAuthentications": 0,
"privateIpAddress": true
}
]
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Access denied
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}