Interface Address
https://api.example.com/omstation/auth/queryAuthCollectionList
During the development process, please replace api.example.com with the domain name or IP address of your own server.
Request Method
- Post
Request Headers
- Content-Type: application/json
- token: A334853698EF49DC98A1C8BA65149351

Request Parameters
Parameter Example
{
"orgId": "520FF63E384345F4935BF6A1B9095A7B",
"startTime": "2024-03-06",
"endTime": "2024-03-08",
"status": -1,
"key": "",
"pageNum": "1",
"pageSize": 20
}
Parameter Description
| Field | Type | Description | Required |
|---|---|---|---|
| orgId | String | Unique organization identifier | Y |
| startTime | String | Start time | Y |
| endTime | String | End time | Y |
| key | String | Keyword for fuzzy query | Y |
| status | int | Status (-2: All; -1: Cancelled; 0: Unused; 1: In use; 2: Used; 3: Stopped; 4: Expired) | Y |
| pageNum | int | Pagination query: page number | Y |
| pageSize | int | Pagination query: number of items displayed per page | Y |
Return Result
Result Example
{
"code": 200,
"message": "Operation succeeded",
"data": {
"total": 1,
"size": 0,
"data": [
{
"id": "B59AB675E28E42EDA4D4DE8AEB42AE13",
"type": 0,
"startTime": null,
"endTime": null,
"deviceTypes": "701,705",
"toUser": "liujs",
"phoneNum": "13632688935",
"email": "334",
"descInfo": "5454",
"status": 0,
"createTime": "2024-03-07 07:02:56",
"creatorId": "620FF63E384345F4935BF6A1B9095A7B",
"userName": "admin",
"updateTime": null,
"orgName": "Jiutong Software Department",
"authCode": "XIw5uzdsfB6QHMF4ICVyds6fYjjHblMb2ZO0KDwazckN5f3NJFAp0gDKlpQwgeGC",
"orgId": "520FF63E384345F4935BF6A1B9095A7C"
}
]
}
}
Result Description
| Field | Type | Description |
|---|---|---|
| code | int | Status code; see “Status Code Description” for details |
| message | String | Request status description |
| data | object | Return result content |
Data Description
| Field | Type | Description |
|---|---|---|
| total | int | Total number of data entries |
| size | int | Page number |
| data | object | Message body of the current page in pagination query |
Data (List Item) Description
| Field | Type | Description |
|---|---|---|
| id | String | Unique identifier of the collection authorization |
| type | String | Authorization type (0: Single-use; 1: Multiple uses within a valid time period; 2: Permanent validity) |
| startTime | String | Valid when type=1: start time of the authorization period |
| endTime | String | Valid when type=1: end time of the authorization period |
| deviceTypes | String | Authorized device type collection (JSON string) |
| userName | String | Creator |
| orgId | String | Unique organization identifier |
| orgName | String | Organization name |
| status | int | Status (-1: Cancelled; 0: Unused; 1: In use; 2: Used; 3: Stopped; 4: Expired) |
| toUser | String | Contact person |
| phoneNum | String | Contact phone number |
| String | Contact email | |
| descInfo | String | Description |
| updateTime | String | Last update time (UTC) |
| createTime | String | Creation time (UTC) |
| creatorId | String | Unique identifier of the creator |
| authCode | String | Authorization code |
文档更新时间: 2025-07-23 11:00 作者:admin