Skip to content

Batch Create API Guide

Goal

Provide a batch create endpoint to improve the efficiency of the create API.

Prerequisites

DbAgent has analyzed the database table schema and generated the DO.

Example

Endpoint: {domain}/api/{appCode}/{datasetCode}/batchCreate

Sample payload:

JSON
[
    {
        "company_name": "公司",
        "contact_name": "卫玄",
        "phone": "13838798765",
        "email": "3488@126.com",
        "status": "NEW",
        "source_code": "MVP先用字符串"
    },
    {
        "company_name": "公司23",
        "contact_name": "卫玄23",
        "phone": "13838798765",
        "email": "3488@126.com",
        "status": "NEW",
        "source_code": "MVP先用字符串"
    }
]

基于飞书知识库同步生成,内容以飞书源文档为准