POST api/contactnotes
Insert a new ContactNote.
Request Information
URI Parameters
None.
Body Parameters
ContactNoteDto| Name | 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-10-25T00:17:59.2040865+11:00"
}
Response Information
Resource Description
The primary key (id) of the record inserted in the Hobsons database.
integerResponse Formats
application/json, text/json
Sample:
1