Update account expiration time
Api Description
POST https://rtk.geodnet.com/api/v3/user/set/expiration
Request Body
Parameter
Example
Type
Required
Description
appId
geodnet
String
Yes
Application ID
username
geoduser
String
Yes
username
expiration
1735689600000
Number
Yes
Account expiration timestamp in milliseconds, must be greater than the current server time
paymentType
0
Number
No
0: Monthly; 1: Yearly
time
1718150400000
Number
Yes
Current server timestamp in milliseconds
sign
443a2f038aef0fbc53eefc3b90252af8
String
Yes
Encrypted signature
Response Body
Parameter
Example
Type
Description
code
1000
Number
Status code
msg
OK
String
Status code description
cURL
curl -X POST "https://rtk.geodnet.com/api/v3/user/set/expiration" \
-H "Content-Type: application/json" \
-d '{
"appId": "geodnet",
"username": "geoduser",
"expiration": 1735689600000,
"time": 1718150400000,
"sign": "443a2f038aef0fbc53eefc3b90252af8"
}'Request Example
{
"appId": "geodnet",
"username": "geoduser",
"expiration": 1735689600000,
"time": 1718150400000,
"sign": "443a2f038aef0fbc53eefc3b90252af8"
}Response
{
"code": 1000,
"msg": "OK"
}Last updated
