POST api/contactnotes

Insert a new ContactNote.

Request Information

URI Parameters

None.

Body Parameters

ContactNoteDto
NameDescriptionTypeAdditional 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": "2024-05-20T12:16:41.2170564+10:00"
}

Response Information

Resource Description

The primary key (id) of the record inserted in the Hobsons database.

integer

Response Formats

application/json, text/json

Sample:
1