Open Platform
Skip to content

Upload 4G electricity meter network information ​

https://cnapi.ttlock.com/v3/electricMeter/configCatOneInfo

After the 4G meter is successfully configured to connect to the network, the network information is uploaded to the cloud for easy maintenance. If the 4G 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.ttlock.com/v3/electricMeter/configCatOneInfo'\
--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \
--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \
--data-urlencode 'electricMeterId=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 ​

NameTypeRequiredDescription
clientIdStringYAssigned client_id from created application
accessTokenStringYAccess token, obtain by calling get access token API
dateLongYCurrent time (timestamp, in milliseconds)
electricMeterIdStringYElectricity meter ID
catOneNodeIdStringYModule number
catOneCardNumberStringYCard number
catOneOperatorStringYCarriers: CHN-CT - China Telecom, CHINAMOBILE - China Mobile, CHINA MOBILE - China Mobile, CHN-UNICOM - China Unicom
catOneImsiStringYPhone number
catOneRssiIntYSignal value
catOneApnStringNAPN

3 Response and example ​

NameTypeDescription
errcodeIntError code
errmsgStringError message
descriptionStringError Description
javascript
{
    "errcode": 0,
    "errmsg": "none error message or means yes",
    "description": "表示成功或是"    
}
CopyRight © 2012-2026 TTLock.All Rights Reserved