| Description | : Verifies whether a device is within a specified location area, defined as an accuracy (radius) around a point, specified by longitude and latitude. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "DeviceLocation_Verify",
"$parameters": {
"body": {
"$properties": {
"networkIdentifier": [
{
"#name": "identifierType",
"Description": {
"new": "The type of identifier for the network. one of: 'IPv4', 'IPv6', 'MSISDN', 'NetworkCode'",
"old": "The type of identifier for the network. one of: 'IPv4', 'IPv6', 'NetworkCode'"
}
},
{
"#name": "identifier",
"Description": {
"new": "The network identifier, based on the identifierType: an IPv4 address, an IPv6 address, an MSISDN, or a Network Code.\nA Network Code may be obtained from APC documentation or from the APC /Network:retrieve endpoint.",
"old": "The network identifier, based on the identifierType: an IPv4 address, and IPv6 address, or a Network Code.\nA Network Code may be obtained from APC documentation or from the APC /Network:retrieve endpoint."
}
}
]
}
}
}
}
⚼ Request
POST:
/device-location/location:verify
{
api-version:
string
,
x-ms-client-request-id:
string
,
apc-gateway-id:
string
,
body:
}
{
,
networkIdentifier:
{
,
identifierType:
string
,
identifier:
string
,
}
latitude:
number
,
longitude:
number
,
accuracy:
integer
,
device:
}
{
,
networkAccessIdentifier:
string
,
phoneNumber:
string
,
ipv4Address:
{
,
ipv4:
string
,
port:
integer
,
}
ipv6Address:
}
{
,
ipv6:
string
,
port:
integer
,
}
⚐ Response (200)
{
$headers:
{
,
x-ms-client-request-id:
string
,
x-ms-request-id:
string
,
}
$schema:
}
{
,
verificationResult:
boolean
,
}
⚐ Response (default)
{
$headers:
{
,
x-ms-error-code:
string
,
}
$schema:
}
{
,
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
innererror:
}
{
,
code:
string
,
innererror:
string
,
}