Create Data
Creates new Entries
Swagger
Params
name | Parameter type | Data Type | Values | Description |
---|---|---|---|---|
entryTypeId | Path | string or int | company or 2011 | the unique identifier of the entry type |
rows | Body | Array[Entries] | - | Any array of entries to update, limit to array size of no more than 1000 |
Requests
EntryId is required and should be invalid. Valid EntryIds are always positive integers, to simplify your workflow you can default to using negative integers. EntryIds can be used to link entries withing a batch to each other as references (ex. when creating two companies you are able to create parent/child relationships within the same batch).
POST {{host}}/api/rest/v4/data/entrydata/rows/{{entryTypeId}} HTTP/1.1
Authorization: {{auth}}
Content-Type: application/json
[{
"EntryId": -1,
"Subject": "New Interactions"
}]
Responses
HTTP/1.1 200 OK
[
{
"EntryId": 3047024,
"Subject": "New Interactions"
}
]
Errors
HTTP/1.1 400 Bad Request
{
"message": "Field with name \"SubjectS\" does not exist"
}