Upload detail info of gateway
https://api.sciener.com/v3/gateway/uploadDetail
When a gateway is added successfully, upload the firmware info and netword name it connected to server.
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 |
| gatewayId |
Int |
Y |
Gateway ID |
| modelNum |
String |
Y |
Product model |
| hardwareRevision |
String |
Y |
Hardware version |
| firmwareRevision |
String |
Y |
Firmware version |
| networkName |
String |
Y |
The network name gateway connected to. |
| date |
Long |
Y |
Current time (timestamp in millisecond) |
2.Response
| Parameter |
Type |
Description |
| errcode |
Int |
Error code |
| errmsg |
String |
Error message |
4.Example of response
{
"errcode": 0,
"errmsg": "none error message",
"description": "none error message or means yes"
}