Get gateway detail

https://api.sciener.com/v3/gateway/detail

You can use gatewayId which from init gateway API to gain gateway detail

1 Request example

2 Request parameters

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
gatewayIdIntYGatewayId, from init gateway API
dateLongYCurrent time (timestamp in millisecond)

3 Response and example

ParameterTypeDescription
gatewayIdIntGateway ID
gatewayMacStringGateway MAC
gatewayNameStringGateway name
gatewayVersionIntThe version of gateway, 1-G1,2-G2,3-G3(wired gateway),4-G4(4G gateway)
networkNameStringThe network name gateway connected to.
networkMacStringMac address of the network to which the gateway is connected
lockNumIntThe number of locks connected to the gateway.
isOnlineIntIs it online: 0-No, 1-Yes. The gateway will maintain a TCP connection with the gateway server, the cloud server consider it online if the connection is present, plug off the gateway may not break the connection immediately, it may take several minutes for the gateway server to break the connection after heartbeat timeout.