Open Platform
Skip to content

Obtain Cat1 lock network information ​

https://euapi.ttlock.com/v3/wifiLock/catOneDetail

Retrieve network information for Cat1 lock. If it has not been configured with a network, return error code -1.

1 Request example ​

POST, ContentType:application/x-www-form-urlencoded

javascript
curl --location -g --request POST 'https://euapi.ttlock.com/v3/wifiLock/catOneDetail' \
--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \
--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \
--data-urlencode 'lockId=163377' \
--data-urlencode 'date=1625025703000'

2 Request parameters ​

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
lockIdIntYLock ID, generated by Lock init
dateLongYCurrent time (timestamp in millisecond)

3 Response and example ​

ParameterTypeDescription
isOnlineIntOnline status: 0 - No, 1 - Yes
rssiGradeIntSignal strength levels: 3 - Strong, 2 - Medium, 1 - Poor, 0 - Unknown
catOneNodeIdStringModule number
catOneCardNumberStringCard number
catOneOperatorStringFor telecom operators, China Mobile, China Telecom, and China Unicom return specific text descriptions, while others return codes.
catOneImsiStringPhone number
catOneApnStringAPN
overseaCardIntForeign card flag: 1 - Foreign card, 0 - No
{
    "isOnline": 1,
    "rssiGrade": 3,
    "catOneNodeId": "860717087140669",
    "catOneCardNumber": "89860833122690003724",
    "catOneOperator": "China Mobile",
    "catOneImsi": "460240139703824",
    "catOneApn": "cmnet",
    "overseaCard": 0
}
CopyRight © 2012-2026 TTLock.All Rights Reserved