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
    • 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

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