arctos Web-SDK 程式開發arctos Web-SDK 程式開發
  • English
  • 繁體中文
  • English
  • 繁體中文
  • 指導

    • 起始
  • 概述
  • 規格
  • 安裝
  • 主要項目

    • 初始設定
    • 攝影機
    • 麥克風
    • 喇叭
    • 分享畫面
    • 繪圖板
    • 廣播訊息
    • 切換模板
    • 視訊濾鏡

createTaskModerator

Include a user in the case with moderator roles

/images/skip-forward_brown.svg /api/task/service/do_add
/images/transfers_orange.svg POST

Request:

example

{
    "task_num": "202402220000021",
    "business_code": "2",
    "branch_code": "85",
    "emp_id":"unique_id"
}
ParameterMeaningTypeRequiredDefault valueDescription
HEADERS
AuthorizationAfter logging in, the server returns an Authorization token.stringYBearer
BODY
task_numtask numberstringY
business_codeThe office or department type responsible for the task.stringN
branch_codeThe office or department responsible for the task.stringN
emp_ida unique identifiable value for moderator,
When using the getAuthCode function, you need to pass in the user_id as a parameter. The user_id can be use in emp_idstringNIf the emp_id field is not provided, the moderator login token will be written into the moderator join case.
QUERY

Response:

{
    "status": 1,
    "message": "service member success"
}
ParameterMeaningTypeExistedDefault valueDescription
BODY
statusresponse statusstringY0: fail
1: success
2: warning
messagemessagestringY“”Error messages should be shown when there are errors.

Error code:

The following is a table of error messages returned by the API.

CodeStatusErrorMessage
2001service member success
0error message
404Resource Not Found
403Access to the requested resource is not allowed