---
updatedAt: 2026-04-22T09:23:29.000Z
agentTools:
  projectIndex: https://arctos.readme.io/llms.txt
---

# 新增案件客戶

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "arctos OpenAPI"
  },
  "servers": [
    {
      "url": "https://www-sit.arctos.tw/api/v2"
    },
    {
      "url": "https://www-sit.arctos.tw/api/mock-v2"
    },
    {
      "url": "https://api-healthplus-sit.arctos.tw/api/v2"
    },
    {
      "url": "https://ctbc-sit.arctos.tw/api/v2"
    }
  ],
  "paths": {
    "/task/customer/do_add": {
      "post": {
        "summary": "新增案件客戶",
        "tags": [
          "TASK"
        ],
        "description": "",
        "operationId": "post_api_v2_task_customer_do_add",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "examples": {
                  "New Example": {
                    "summary": "New Example",
                    "value": {
                      "status": 1,
                      "message": "success"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "task_num": {
                    "type": "string",
                    "description": "案件編號"
                  },
                  "refresh": {
                    "type": "boolean",
                    "default": "false",
                    "description": "是否重新建立或修改(true：重新建立或修改客戶名單。false：增加新客戶 )"
                  },
                  "customer": {
                    "type": "array",
                    "items": {
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "姓名"
                        },
                        "id_num": {
                          "type": "string",
                          "description": "身份證號 (相容舊版，對應 id_data 陣列中第一筆資料的 num)。"
                        },
                        "id_data": {
                          "type": "array",
                          "description": "多證件資料列表。陣列內第一個資料為第一證件資料，第二個資料為第二證件資料，依此類推。新舊版兼容期間第一證件資料的 num 會與 id_num 一致。證件需求依據業務設定 (customer_verify.id_data) 決定。",
                          "items": {
                            "type": "object",
                            "properties": {
                              "num": {
                                "type": "string",
                                "description": "證件號碼。"
                              },
                              "type": {
                                "type": "string",
                                "description": "證件類型。",
                                "enum": [
                                  "card",
                                  "nhi",
                                  "passport",
                                  "resident"
                                ]
                              },
                              "country": {
                                "type": "string",
                                "description": "證件發行國家 (例如護照適用)。"
                              }
                            }
                          }
                        },
                        "email": {
                          "type": "string",
                          "description": "email"
                        },
                        "phone": {
                          "type": "string",
                          "description": "電話"
                        },
                        "country_code": {
                          "type": "string",
                          "description": "國碼"
                        },
                        "title": {
                          "type": "string",
                          "description": "稱謂"
                        },
                        "out_num": {
                          "type": "string",
                          "description": "外部編號"
                        }
                      },
                      "type": "object"
                    }
                  }
                },
                "type": "object",
                "required": [
                  "task_num",
                  "customer"
                ]
              },
              "examples": {
                "New Example": {
                  "summary": "修改客戶名單",
                  "value": {
                    "task_num": "202507110000008",
                    "refresh": true,
                    "customer": [
                      {
                        "id_num": "A123456789",
                        "email": "aaa@hotmail.com",
                        "country_code": "+886",
                        "phone": "0987654123",
                        "title": "稱謂3",
                        "out_num": "name:|||id_num:A123456789|||email:|||title:|||phone:|||country_code:"
                      }
                    ]
                  }
                },
                "New Example2": {
                  "summary": "新增客戶名單",
                  "value": {
                    "task_num": "202507110000008",
                    "refresh": false,
                    "customer": [
                      {
                        "id_num": "A123456789",
                        "email": "aaa@hotmail.com",
                        "country_code": "+886",
                        "phone": "0987654123",
                        "title": "稱謂3",
                        "out_num": "name:|||id_num:A123456789|||email:|||title:|||phone:|||country_code:"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}
```