Open Platform
Skip to content

Modify the validity period of the tenant's open door methods ​

https://cnapi.sciener.com/v3/ttrenting/updateRenterUnlockPeriod

Use the TTRenting apartment manager's account and password to obtain the accessToken.

1 Request example ​

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

js
curl --location -g --request POST 'https://cnapi.sciener.com/v3/electricMeterUser/detail'\
--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \
--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \
--data-urlencode 'startDate=1625025703000' \
--data-urlencode 'endDate=1725025703000' \
--data-urlencode 'date=1625025703000'

2 Request parameters ​

NameTypeRequiredDescription
clientIdStringYClient_id from Create application
accessTokenStringYAccess token,refer to: Get access token,
countryCodeStringNTenant's mobile phone country code
mobileStringNTenant's Email Address Note: Either phone number or email address is required.
startDateLongYThe time when it becomes valid (timestamp in millisecond)
endDateLongYThe time when it is expired (timestamp in millisecond)
dateLongYCurrent time (timestamp in millisecond)

3 Response and example ​

ParameterTypeDesciption
errcodeIntError code, 3804 indicates that the tenant does not exist, and 3821 indicates that there are multiple tenants.
errmsgStringError message
js
{
    "errcode": 3804,
    "errmsg": "The tenant does not exist",
}
CopyRight © 2012-2026 Sciener.All Rights Reserved