User management¶
| Endpoint | ||
|---|---|---|
| POST | Create account | /api/v3/user/create |
| POST | Query account | /api/v3/user/info |
| POST | Query user list | /api/v3/user/list |
| POST | Update account expiration time | /api/v3/user/set/expiration |
| POST | Update account password | /api/v3/user/set/password |
| POST | Update account status | /api/v3/user/set/status |
| POST | Update account connections | /api/v3/user/set/connections |
| POST | Update account email | /api/v3/user/set/email |
| POST | Query change logs | /api/v3/user/logs |
| POST | Query rtk logs | /api/v3/user/rtkLogs |
| POST | Create random account | /api/v3/user/rand |
| POST | Query subscription info | /api/v3/user/subscription |
| POST | Report subscription info | /api/v3/user/subscription/report |
Create account¶
POST https://rtk.geodnet.com/api/v3/user/create
Content type: application/json
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| username | geoduser | String | Yes | username |
| password | geodpass | String | Yes | password |
| user@geodnet.com | String | No | ||
| paymentType | 0 | Number | No | 0: Monthly; 1: Yearly |
| trialDays | 7 | Number | Yes | Free trial days, minimum value is 1 |
| time | 1718150400000 | Number | Yes | Current server timestamp in milliseconds |
| sign | 8dd687e158219da6ccc689aef6c0a6a1 | String | Yes | Encrypted signature |
Tip
Please ensure that the username is unique within the GEODNET RTK ecosystem to avoid conflicts with the usernames of other enterprise customers.
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
Query account¶
POST https://rtk.geodnet.com/api/v3/user/info
Content type: application/json
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| username | geoduser | String | Yes | username |
| time | 1718150400000 | Number | Yes | Current server timestamp in milliseconds |
| sign | 33fcd377ee04a81173f6d9b6e6f54ae3 | String | Yes | Encrypted signature |
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
| data.username | geoduser | String | username |
| data.password | geodpass | String | password |
| data.email | user@geodnet.com | String | |
| data.expiration | 1718792318595 | Number | account expiration timestamp in milliseconds |
| data.status | 0 | Number | 0: Enabled; 1: Disabled |
| data.connections | 1 | Number | Number of connections |
| data.paymentType | 0 | Number | 0: Monthly; 1: Yearly |
Query user list¶
POST https://rtk.geodnet.com/api/v3/user/list
Content type: application/json
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| page | 1 | Number | Yes | Page |
| pageSize | 20 | Number | No | pageSize must be a multiple of 10 and not exceed 100, default: 20 |
| username | geodnet_ | String | No | Only prefix fuzzy queries or complete username queries are supported |
| time | 1718150400000 | Number | Yes | Current server timestamp (ms) |
| sign | 1526be641371c27c0e9c2857b636e6ab | String | Yes | Encrypted signature |
Tip
The current query returns 20 items per page by default.
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
| data | {...} | Object | |
| data.total | 100 | Number | Total |
| data.page | 1 | Number | Page |
| data.list | [...] | Array | User list |
| data.list[].username | geoduser | String | username |
| data.list[].password | password | String | password |
| data.list[].status | 0 | Number | 0: Enabled; 1: Disabled |
| data.list[].connections | 1 | Number | Number of connections |
| data.list[].paymentType | 1 | Number | Payment type 0. Monthly (default) 1. Annually |
| data.list[].creationTime | 1680368829760 | Number | Creation timestamp (ms) |
| data.list[].activationTime | 0 | Number | Activation timestamp (ms) |
| data.list[].expirationTime | 1682960829760 | Number | Expiration timestamp (ms) |
Status: 200 Success
{
"code": 1000,
"msg": "OK",
"data": {
"total": 1,
"page": 1,
"pageSize": 10,
"list": [
{
"username": "geodnet",
"password": "dd_0f5bed9f-586e-4794-86c7-7367a4c0141b",
"connections": 0,
"paymentType": 0,
"status": 0,
"creationTime": 1726593069205,
"activationTime": 0,
"expirationTime": 1726679469205
}
]
}
}
Update account expiration time¶
POST https://rtk.geodnet.com/api/v3/user/set/expiration
Content type: application/json
| 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 |
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
Update account password¶
POST https://rtk.geodnet.com/api/v3/user/set/password
Content type: application/json
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| username | geoduser | String | Yes | username |
| password | password | String | Yes | password |
| time | 1718150400000 | Number | Yes | Current server timestamp in milliseconds |
| sign | aa5161309638d773971cb968a6b35c5c | String | Yes | Encrypted signature |
Important
After changing the password, RTK service will take effect with the new password in 2 minutes.
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
Update account status¶
POST https://rtk.geodnet.com/api/v3/user/set/status
Content type: application/json
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| username | geoduser | String | Yes | username |
| status | 1 | Number | Yes | 0: Enabled; 1: Disabled |
| time | 1718150400000 | Number | Yes | Current server timestamp in milliseconds |
| sign | aa5161309638d773971cb968a6b35c5c | String | Yes | Encrypted signature |
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
Update account connections¶
POST https://rtk.geodnet.com/api/v3/user/set/connections
Content type: application/json
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| username | geoduser | String | Yes | username |
| connections | 1 | Number | Yes | Number of connections, must be greater than or equal to 1 |
| time | 1718150400000 | Number | Yes | Current server timestamp in milliseconds |
| sign | aa5161309638d773971cb968a6b35c5c | String | Yes | Encrypted signature |
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
Update account email¶
POST https://rtk.geodnet.com/api/v3/user/set/email
Content type: application/json
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| username | geoduser | String | Yes | username |
| user@geodnet.com | String | Yes | ||
| time | 1718150400000 | Number | Yes | Current server timestamp in milliseconds |
| sign | aa5a36991257e8dece3c05cd8f9aab2f | String | Yes | Encrypted signature |
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
Query change logs¶
POST https://rtk.geodnet.com/api/v3/user/logs
Content type: application/json
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| username | geoduser | String | Yes | username |
| start | 1738922400000 | Number | Yes | Start timestamp in ms |
| end | 1738926000000 | Number | Yes | End timestamp in ms |
| limit | 10 | Number | Yes | Number of logs, max 100 |
| time | 1718150400000 | Number | Yes | Current server timestamp (ms) |
| sign | 1526be641371c27c0e9c2857b636e6ab | String | Yes | Encrypted signature |
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
| data | [...] | Array | Log list |
| data[].username | geoduser | String | username |
| data[].action | 5 | Number | Change operation: 1 Create, 2 Update expiration, 3 Update status, 4 Update connections, 5 Update email |
| data[].oldValue | String | Value before change | |
| data[].newValue | user@geodnet.com | String | Value after update |
| data[].time | 1738924143336 | Number | Update timestamp (ms) |
Status: 200 Success
{
"code": 1000,
"msg": "OK",
"data": [
{ "username": "geoduser", "action": 5, "oldValue": "", "newValue": "user@geodnet.com", "time": 1738924143336 },
{ "username": "geoduser", "action": 4, "oldValue": "1", "newValue": "1", "time": 1738924092345 },
{ "username": "geoduser", "action": 3, "oldValue": "0", "newValue": "1", "time": 1738924070042 },
{ "username": "geoduser", "action": 2, "oldValue": "1739528512591", "newValue": "1735689600000", "time": 1738923982974 },
{ "username": "geoduser", "action": 1, "oldValue": "", "newValue": "", "time": 1738923712602 }
]
}
Query rtk logs¶
POST https://rtk.geodnet.com/api/v3/user/rtkLogs
Content type: application/json
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| partner | geodnet_partner | String | No | Partner identifier assigned to the application |
| username | geodnet | String | No | Only prefix fuzzy queries or complete username queries are supported |
| page | 1 | Number | Yes | Page |
| pageSize | 20 | Number | No | Page size defaults to 20, must be a multiple of 10, and cannot exceed 100. Invalid values will be reset to 20. |
| mountpoint | es23456 | String | No | Mountpoint |
| status | 0 | Number | No | Filter by login status: 0 = success, other values = failures. If not provided, returns all statuses. |
| id | 682af5d88a5820e9e79bf242 | String | No | Specific log ID for direct lookup. When provided, other filter parameters (username, mountpoint, status) are ignored, but startTime/endTime and appId are still required. |
| startTime | 1735901990000 | Number | Yes | Start timestamp must be within the last 6 months, and the range (endTime - startTime) cannot exceed 7 days. |
| endTime | 1736247590000 | Number | Yes | End timestamp in milliseconds for login time |
| showRequest | false | Boolean | No | Whether to include the raw request field in each log item. Defaults to false if not provided. |
| time | 1718150400000 | Number | Yes | Current server timestamp (ms) |
| sign | 1526be641371c27c0e9c2857b636e6ab | String | Yes | Encrypted signature |
Tip
The current query returns 20 items per page by default.
When id parameter is provided, the API will return a single log entry (if found) regardless of page and pageSize values. Other filter parameters (username, mountpoint, status) are ignored, but appId, startTime, and endTime are still required.
Signing Note for Boolean Parameters
When generating the sign value, all parameter values must be concatenated as strings before hashing. For boolean fields such as showRequest, the value must be serialized as lowercase (true / false), consistent with standard JSON serialization.
In Python, str(True) / str(False) produce "True" / "False" (capitalized), which will NOT match the server-side signature and will cause signature verification to fail.
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
| data | {...} | Object | |
| data.total | 100 | Number | Total number of matching records |
| data.page | 1 | Number | Current page number |
| data.pageSize | 20 | Number | Page size (number of items per page) |
| data.list | [...] | Array | RTK log list |
| data.list[].id | 682af5d88a5820e9e79bf242 | String | ID (Unique Identifier) |
| data.list[].username | geoduser | String | username |
| data.list[].mountpoint | GLIN00AUS0 | String | mountpoint |
| data.list[].status | 0 | Number | login status 0: success, other failures |
| data.list[].msg | Success | String | login message |
| data.list[].station | GLIN | String | station name |
| data.list[].totalGGA | 8402 | Number | No. of GGA |
| data.list[].spp | 8402 | Number | No. of SP |
| data.list[].dgps | 0 | Number | No. of DGPS |
| data.list[].rtkFloat | 0 | Number | No. of Float |
| data.list[].rtkFixed | 0 | Number | No. of Fix |
| data.list[].fixRate | 0 | Number | RTK Fix Rate(%) as number (e.g., 99.5) |
| data.list[].distance | 0 | Number | Distance(km) |
| data.list[].duration | 0 | Number | Session duration in seconds. -1 indicates the connection is still active. |
| data.list[].avgAge | 0 | Number | Average Age(s) |
| data.list[].maxAge | 0 | Number | Max Age(s) |
| data.list[].ip | 151.135.241.88 | String | IP |
| data.list[].nmea | $GPGGA,... | String | Latest nmea |
| data.list[].request | 0 | String | Raw request string. Only returned when showRequest is true. |
| data.list[].latitude | 0 | Number | Latitude |
| data.list[].longitude | 0 | Number | Longitude |
| data.list[].loginTime | 1768446160549 | Number | Sign in time (ms) |
List query
curl -X POST "https://rtk.geodnet.com/api/v3/user/rtkLogs" \
-H "Content-Type: application/json" \
-d '{
"appId": "geodnet",
"partner": "geodnet_partner",
"username": "geodnet",
"page": 1,
"pageSize": 20,
"startTime": 1735901990000,
"endTime": 1736247590000,
"showRequest": false,
"time": 1718150400000,
"sign": "1526be641371c27c0e9c2857b636e6ab"
}'
Single id query
List query
{
"appId": "geodnet",
"partner": "geodnet_partner",
"username": "geodnet",
"page": 1,
"pageSize": 20,
"startTime": 1735901990000,
"endTime": 1736247590000,
"showRequest": false,
"time": 1718150400000,
"sign": "1526be641371c27c0e9c2857b636e6ab"
}
Single id query
Status: 200 Success
{
"code": 1000,
"msg": "OK",
"data": {
"total": 1,
"page": 1,
"pageSize": 20,
"list": [
{
"id": "682af5d88a5820e9e79bf242",
"username": "SHARKDRONE333",
"mountpoint": "GLIN00AUS0",
"status": 0,
"msg": "Success",
"station": "GLIN",
"totalGGA": 0,
"spp": 0,
"dgps": 0,
"rtkFloat": 0,
"rtkFixed": 0,
"fixRate": 0,
"loginTime": 1768446160549,
"ip": "151.135.241.88",
"distance": 0,
"duration": 5,
"avgAge": 0,
"maxAge": 0,
"nmea": "$GPGGA,...",
"longitude": 152.114545,
"latitude": -29.592081666666665,
"request": "0"
}
]
}
}
Create random account¶
POST https://rtk.geodnet.com/api/v3/user/rand
Important
This API requires a GEODNET license and is not enabled by default. It only generates a temporary account; you cannot query or modify this account via other APIs.
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| time | 1718150400000 | Number | Yes | Current server timestamp in milliseconds |
| sign | f4c91395df1b944762293987f4c1fbab | String | Yes | Encrypted signature (see Encryption method) |
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
| data | Object | Object | Account information |
| data.username | geod_rand_1726643332472_33627 | String | username |
| data.password | fc572441c599b67b17988c5f834ac6a0 | String | password |
| data.expiration | 1726643332472 | Number | Expiration timestamp in milliseconds |
| data.status | 0 | Number | Account Status (0: Enabled, 1: Disabled) |
Query subscription info¶
POST https://rtk.geodnet.com/api/v3/user/subscription
Content type: application/json
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| orderNo | SO20260920001 | String | Yes | Order number reported by distributor, unique together with appId |
| time | 1718150400000 | Number | Yes | Current server timestamp in milliseconds |
| sign | 8dd687e158219da6ccc689aef6c0a6a1 | String | Yes | Encrypted signature |
Tip
orderNo is combined with appId as the unique key to locate a subscription record. Please make sure the orderNo you query matches exactly what was submitted in the report interface.
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
| data.orderNo | SO20260920001 | String | Order number |
| data.username | geoduser | String | RTK account bound to this subscription |
| data.type | 3 | Number | Subscription type: 1-Monthly, 3-Annual |
| data.quantity | 1 | Number | Subscription quantity |
| data.connections | 4 | Number | Number of connections |
| data.amount | 110000 | Number | Total amount payable, in cents, nullable |
| data.currency | USD | String | Currency code |
| data.submitTime | 1718150400000 | Number | Subscription time reported by distributor |
| data.logTime | 1718150401000 | Number | Time when this record was received and logged |
Tip
"amount" is returned in cents, e.g. 110000 represents 1100.00 in the actual currency unit.
Report subscription info¶
POST https://rtk.geodnet.com/api/v3/user/subscription/report
Content type: application/json
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| appId | geodnet | String | Yes | Application ID |
| orderNo | SO20260920001 | String | Yes | Order number, unique together with appId to prevent duplicate reporting |
| type | 3 | Number | Yes | Subscription type: 1-Monthly, 3-Annual |
| username | geoduser | String | Yes | RTK account bound to this subscription |
| quantity | 1 | Number | Yes | Subscription quantity |
| connections | 4 | Number | Yes | Number of connections |
| amount | 110000 | Number | No | Total amount payable, in cents, can be left empty |
| currency | USD | String | No | Currency code, default USD |
| submitTime | 1718150400000 | Number | Yes | Subscription time in milliseconds |
| time | 1718150400000 | Number | Yes | Current server timestamp in milliseconds |
| sign | 8dd687e158219da6ccc689aef6c0a6a1 | String | Yes | Encrypted signature |
Tip
Please ensure that orderNo is unique within your appId. Reporting the same orderNo more than once will be rejected to avoid duplicate billing records. Note that "amount" is in cents, e.g. 110000 represents 1100.00 in the actual currency unit.
Content type: application/json
| Parameter | Example | Type | Description |
|---|---|---|---|
| code | 1000 | Number | Status code |
| msg | OK | String | Status code description |
curl -X POST "https://rtk.geodnet.com/api/v3/user/subscription/report" \
-H "Content-Type: application/json" \
-d '{
"appId": "geodnet",
"orderNo": "SO20260920001",
"type": 3,
"username": "geoduser",
"quantity": 1,
"connections": 4,
"amount": 110000,
"currency": "USD",
"submitTime": 1718150400000,
"time": 1718150400000,
"sign": "8dd687e158219da6ccc689aef6c0a6a1"
}'