Add Records
Adds multiple records to an App.
- Up to 100 records can be added at one time.
- If there are fields with the Required field option turned on, those fields must be included in the request.
- Records are added in the order specified in the
records
request parameter. The order of the record IDs in the response also corresponds to this order. - If the Add Records API fails, the request will be canceled and no records will be added.
Method | POST |
---|---|
URL | https://{subdomain}.kintone.com/k/v1/records.json |
URL(guest space) | https://{subdomain}.kintone.com/k/guest/{SpaceID}/v1/records.json |
Authentication | Password Authentication , API Token Authentication , Session Authentication |
Content-Type | application/json |
Contents
Permissions
- Permission to add records into the App is needed.
- Permission to edit records that are included in the request parameters are needed.
- Permission to edit fields that are included in the request parameters are needed.
Request Parameters
PARAMETER | VALUE | REQUIRED | DESCRIPTION |
---|---|---|---|
app | Integer or String | Yes | The App ID. |
records | Array of Objects | Yes | Holds an array of record objects, that contains field codes and their values. The values that can be specified vary depending on the type of field. Fields that are not included in the objects are added with their default value. Objects containing field codes that do not exist are ignored. For more information on field types, refer to the following article: Field Types |
Sample Request
|
|
curl Sample
|
|
Response Parameters
Parameter | Type | Description |
---|---|---|
ids | Array of Strings | The Record IDs of the created records. |
revisions | Array of Strings | The revision numbers of the records. |
Sample Response
|
|
Limitations
Permission to Manage App is needed to add values to the following fields:
- Created by
- Updated by
- Created datetime
- Updated datetime
If there are fields with the Required field option turned on, those fields must be included in the request.
Values cannot be added to the following fields:
- The Field Mappings targets of the Lookup field
- Status
- Categories
- Calculated
- Assignee
- Text fields with the Calculate automatically option
For other limitations, refer to the Limitations section in the following article:
Kintone REST API Overview