English
Create Service Information Object
About 276 wordsLess than 1 minute
2026-01-19
Description
Create a service information object.
Request Specification
Request Method: POST + application/json
Request Path: https://[${Enter the domain name of the cloud}]/cgi/crm/v2/data/create
Request Headers: Refer to Common Parameters
Request Parameters
For detailed field descriptions, refer to Parameter Specification.
| Parameter | Type | Required | Description |
|---|---|---|---|
| triggerApprovalFlow | Boolean | No | Whether to trigger the approval flow (default is true if not provided, indicating triggering). This parameter applies to all objects. |
| triggerWorkFlow | Boolean | No | Whether to trigger the workflow (default is true if not provided, indicating triggering). This parameter applies to all objects. |
| hasSpecifyTime | Boolean | No | Whether the creation time can be specified (default is false if not provided, indicating the create_time field in parameters will be ignored). |
| hasSpecifyCreatedBy | Boolean | No | Creator (default is false if not provided, indicating the created_by field in parameters will be ignored). |
| includeDetailIds | Boolean | No | Whether to include subordinate objects (when creating master-subordinate objects together, whether to return the list of subordinate object IDs. true returns them, false does not, default is false). |
| data | Map | Yes | Data Map |
Request Example
{
"triggerApprovalFlow": true,
"triggerWorkFlow": true,
"hasSpecifyTime": true,
"hasSpecifyCreatedBy": true,
"includeDetailIds": true,
"data": {
"object_data": {
"dataObjectApiName": "EngineerInfoObj",
"object_describe_api_name": "hello",
"name": "hello"
},
"optionInfo": {
"skipFuncValidate": true,
"isDuplicateSearch": true,
"useValidationRule": true
},
"details": {
"detail_api_name": {}
}
}
}Response Parameters
| Parameter | Type | Description |
|---|---|---|
| traceId | string | Unique request ID |
| errorDescription | string | Error description |
| dataId | String | Data ID |
| errorMessage | string | Error message |
| errorCode | Int | View Error Codes |
Response Example
{
"traceId": "E-O.827xxxxxx",
"errorDescription": "success",
"dataId": "68faxxxxxx",
"errorMessage": "OK",
"errorCode": 0 }Notes
- Do not use the
messagefield in the response for logical judgments, aserrorMessagemay change.
