In MSE 8.0, there is an API to get the information of an associated mobile device including mac address, ip v4 and ip v6.
Search by dot11Status: api/contextaware/v1/location/clients?dot11Status=ASSOCIATED
However in CMX 10.3, the client location API only supports searching by ipv4/ipv6, mac-address and username.
This API supports searching by ipv4/ipv6, mac-address and username. Here are some examples to illustrate this behavior.
Search by IPv4/IPv6: api/location/v2/clients?ipAddress=x.x.x.x
Search by Mac Address: api/location/v2/clients?macAddress=x:x:x:x
Search by Username: api/location/v2/clients?username=someUsername
This API also supports pagination based on page and page size.
Pagination: api/location/v2/clients?include=metadata&page=x&pageSize=x
As long as there is data you can keep paginating by incrementing the page and the pageSize numbers.pageSize is between 0 and 1000. Default pageSize is 1000.
Search by IPv4/IPv6: api/location/v2/clients?ipAddress=x.x.x.x
Search by Mac Address: api/location/v2/clients?macAddress=x:x:x:x
Search by Username: api/location/v2/clients?username=someUsername
This API also supports pagination based on page and page size.
Pagination: api/location/v2/clients?include=metadata&page=x&pageSize=x
As long as there is data you can keep paginating by incrementing the page and the pageSize numbers.pageSize is between 0 and 1000. Default pageSize is 1000.
Since v2 API does not support query by dot11Status, the returned information must be searched for the following string: "dot11Status": "ASSOCIATED".
Dot11Status indicates connected to the network as Associated and the "APMacAddress" is the AP which it is connected; Probing to find a valid AP to connect and the "APMacAddress" is the AP which has strongest reception; and Unknown for inactive client devices and clients with unknown IP addresses.
Comments
0 comments
Please sign in to leave a comment.