Query the init status of the gateway
https://api.sciener.com/v3/gateway/isInitSuccess
Call this api after you calling the SDK method to add a gateway(in 3 minutes), to check whether it has been added successfully.
1. Description
Name |
Type |
Required |
Description |
clientId |
String |
Y |
The app_id which is assigned by system when you create an application |
accessToken |
String |
Y |
Access token |
gatewayNetMac |
String |
Y |
The Mac which you will get when calling the SDK method to add a gateway |
date |
Long |
Y |
Current time (timestamp in millisecond) |
2.Response
Parameter |
Type |
Description |
errcode |
Int |
Error code |
errmsg |
String |
Error message |
gatewayId |
Int |
Gateway ID |
3.Example of response
{
"gatewayId": "102"
}