create method adds a new record to the collection.
Configuration Example
fields(array): Whitelist of fields to includerequiredFields(array): Fields that must be providedexcludedFields(array): Fields to exclude from creation
Implementation Examples
REST API Mapping Implementation (Recommended)
File:create.rest.yml
Operation Mapping Implementation
File:create.yml
JavaScript Implementation
File:create.js
Input
| Property | Type | Description |
|---|---|---|
fields | object | Record fields in API format (after fieldsToApi) |
credentials | object | Authentication credentials |
parameters | object | Method-specific parameters |
Return Value
| Property | Type | Description |
|---|---|---|
id | string | The ID of the created record |