Interface Address

https://api.example.com/omstation/auth/updateAuthCollection

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

{
"id":"",
"type":0,
"startTime":null,
"endTime":null,
"deviceTypes":"{\"701\":\"JT701\", \"705\":\"JT705C\"}",
"toUser":"liujs",
"phoneNum":"13632688935",
"email":"",
"descInfo":"",
"orgId":"520FF63E384345F4935BF6A1B9095A7C"
}

Parameter Description

Field Type Description Required
id String Unique identifier of the collection authorization Y
type String Authorization type; 0: Single-use; 1: Multiple uses within a valid time period; 2: Permanent validity Y
startTime String Valid when type=1, start time of the authorization period Y
endTime String Valid when type=1, end time of the authorization period Y
deviceTypes String Authorized device type collection, JSON string Y
orgId String Unique organization identifier Y
toUser String Contact person for collection Y
phoneNum String Contact phone number Y
email String Contact email Y
descInfo String Description Y

Return Result

Result Example

{
    "code": 200,
    "message": "Operation succeeded",
    "data": null
}

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
文档更新时间: 2025-07-23 10:56   作者:admin