POST api/bulk/contactnotes
Insert a collection of ContactNotes in bulk and in one transaction.
Request Information
URI Parameters
None.
Body Parameters
A collection of ContactNotes (maximum accepted: 100).
Collection of ContactNoteDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
The primary key of the record in the Hobsons database. Ignored for POST requests sent to the API. |
integer |
None. |
CrmNumber |
The identifier of the Contact associated with the given record. |
integer |
Required Range: inclusive between 1 and 2147483647 |
Content |
The content of the note. |
string |
Required String length: inclusive between 0 and 4000 |
DateCreated |
The date the record was created in the Hobsons database. Ignored for PUT and POST requests sent to the API. |
date |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": 1, "CrmNumber": 2, "Content": "sample string 3", "DateCreated": "2025-01-22T21:44:22.5050075+11:00" }, { "Id": 1, "CrmNumber": 2, "Content": "sample string 3", "DateCreated": "2025-01-22T21:44:22.5050075+11:00" } ]
Response Information
Resource Description
A collection of Ids for the inserted ContactNotes (returned in the same order as per the input collection order).
Collection of integerResponse Formats
application/json, text/json
Sample:
[ 1, 2 ]