Upload 4G water meter network information
https://cnapi.sciener.com/v3/waterMeter/configCatOneInfo
After the 4G water meter is successfully configured to connect to the network, the network information is uploaded to the cloud for easy maintenance. If the 4G water meter is not connected to the server, the interface will return a failure error code.
1 Request example
POST, ContentType:application/x-www-form-urlencoded
javascript
curl --location -g --request POST 'https://cnapi.sciener.com/v3/waterMeter/configCatOneInfo'\
--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \
--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \
--data-urlencode 'waterMeterId=3001' \
--data-urlencode 'catOneNodeId=860717087140669' \
--data-urlencode 'catOneCardNumber=898604081225D0033738' \
--data-urlencode 'catOneOperator=CHINA MOBILE' \
--data-urlencode 'catOneImsi=460042888134165' \
--data-urlencode 'catOneRssi=27' \
--data-urlencode 'date=1625025703000'2 Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| clientId | String | Y | Assigned client_id from created application |
| accessToken | String | Y | Access token, obtain by calling get access token API |
| date | Long | Y | Current time (timestamp, in milliseconds) |
| waterMeterId | String | Y | Water Meter ID |
| catOneNodeId | String | Y | Module number |
| catOneCardNumber | String | Y | card number |
| catOneOperator | String | Y | Carriers: CHN-CT - China Telecom, CHINAMOBILE - China Mobile, CHINA MOBILE - China Mobile, CHN-UNICOM - China Unicom |
| catOneImsi | String | Y | Phone number |
| catOneRssi | Int | Y | signal value |
| catOneApn | String | N | APN |
3 Response and example
| Name | Type | Description |
|---|---|---|
| errcode | Int | Error code |
| errmsg | String | Error message |
| description | String | Error Description |
javascript
{
"errcode": 0,
"errmsg": "none error message or means yes",
"description": "表示成功或是"
}