arctos Web-SDK For developsarctos Web-SDK For develops
  • English
  • 繁體中文
  • English
  • 繁體中文
  • Guide

    • get-started
  • overview
  • Spec
  • installization
  • features

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

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