While use pxgrid to connect, call the [restBaseUrl]/getEndpointByMacAddress interface in the com.cisco.ise.mdm service. If the endpoint status is online, it will return 204 with empty content. If the endpoint status is offline, it will return the information of this endpoint.
How to solve it.