arctos-SDK For developsarctos-SDK For develops
Home
Okuma
arctos
Contact
  • English
  • 繁體中文
Home
Okuma
arctos
Contact
  • English
  • 繁體中文
  • Guide

    • get-started
  • Spec

    • Peer to Peer Direct
    • Relay based
  • Api

    • Overview
    • Auth
    • Task
      • createBlankTask
      • createTaskModerator
      • createTaskPublisher
      • updateTaskStatus
    • Business
    • Room
  • Peer to Peer Direct

    • overview
    • installization
    • features

      • initial_setting
      • room
      • camera
      • conference
      • microphone
      • speaker
      • share_screen
      • paint_board
      • recording
      • layout
  • Relay based

    • overview
    • installization
    • features

      • initial_setting
      • camera
      • microphone
      • speaker
      • share_screen
      • paint_board
      • share_message
      • switch_template
      • video_filters

Task

createBlankTask

This API endpoint allows you to create a new appointment by specifying the appointment time, the details of the person making the reservation, and the details of the host's organization. The API will schedule the appointment and include all relevant details for both the host and the person making the reservation.

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

example

{
    "business_id": 15,
    "out_task_num": "XXXXXXXXX",
    "out_task_type": "XXXXXXXXX",
    "task_type": "normal",
    "task_notify": false,
    "task_time": "1703141398",
    "task_remark": "remark_somthing",
    "branch_code": 943,
    "business_code": 2,
    "room_type": "normal",
    "video": true
	}
ParameterMeaningTypeRequiredDefault valueDescription
HEADERS
AuthorizationAfter logging in, the server returns an Authorization token.stringYBearer
BODY
business_idBusiness Process IDnumberY
out_task_numExternally Accessible Unique IdentifierstringY
out_task_typeExternally Accessible Type IdentifierstringN
task_typeCase ClassificationstringYnormal:General Appointment
custom:Customer Service Case
task_notifyCreate NotificationbooleanYfalseConsiderations for Sending Notifications
task_timeScheduled Video Appointment TimestringNDefaults to the current time if not provided.Required if room_type is normal
task_remarksRemarksstringN
branch_codeA unique code for the department or unit where the appointment is scheduled.stringY
business_codeThe office or department type responsible for the task.stringN
room_typeVideo Appointment TypesenumYrealtime:Real-Time Video room
normal:Scheduled Video room
videoa video call is required for the appointment or meetingstringY
true
false
Response:
{
    "status": 1,
    "message": "success",
    "info": {
        "task_num": "202312210000001"
    }
}
ParameterMeaningTypeExistedDefault valueDescription
BODY
statusresponse statusstringY0: fail
1: success
2: warning
messagemessagestringYError messages should be shown when there are errors.
infoReturn InformationobjectY
task_numtask numberstringY
Error code:

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

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

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

createTaskPublisher

Add one or more participants to a case.

/images/skip-forward_brown.svg /api/task/customer/do_add
/images/transfers_orange.svg POST
Request:

example

{
    "task_num": "202402220000021",
    "customer": [{
        "customer_title": "Mr.",
        "customer_name": "name",
        "customer_id_num": "unique_id",
        "customer_country_code": "+886",
        "customer_phone": "0911211211",
        "customer_email": "[email protected]"
    }]
}
ParameterMeaningTypeRequiredDefault valueDescription
HEADERS
AuthorizationAfter logging in, the server returns an Authorization token.stringYBearer
BODY
task_numtask numberstringY
customeradd pushpublishers to the taskarrayY
customer.customer_titleCustomer Salutationstring
customer.customer_nameCustomer NamestringY
customer.customer_id_numa unique identifiable value for customerstringY
customer.customer_country_codeCustomer Phone Country Codestring
customer.customer_phoneCustomer Phone Numberstring
customer.customer_emailCustomer emailstring
Response:
{
    "status": 1,
    "message": "customer 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
2001customer member success
0error message
404Resource Not Found
403Access to the requested resource is not allowed

updateTaskStatus

Set the status of a case to a new value. Only users with MODERATOR permissions can modify the case status.

/images/skip-forward_brown.svg /api/task/do_save
/images/transfers_orange.svg POST
Request:

example

{
    "task_num":"202406060000001",
    "task_status":"finished"
}
ParameterMeaningTypeRequiredDefault valueDescription
HEADERS
AuthorizationAfter logging in, the server returns an Authorization token.stringYBearer
BODY
task_numtask numberstringY
task_statustask statusstringYfinished:Case process completed
canceled:Cancel Case
QUERY
Response:
{
    "status": 1,
    "message": "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
2001success
0error message
404Resource Not Found
403Access to the requested resource is not allowed

Prev
Auth
Next
Business