API reference
All operations
NOTE

Fetches notes related to a specific record with pagination.

Notes are sorted by note date, newest first; deleted notes are excluded. For a `Company`, notes on the company's active contacts are included as well.

GET/api/v2/notes/by-record

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

recordTypequerystring

The type of record (case-sensitive): `Company`, `Contact`, `Equipment`, `Task`, or `Call`.

recordIdqueryinteger · int32

The ID of the record. Must be greater than zero.

pagequeryinteger · int32

Page number, 1-based (default: 1). Must be 1 or greater.

pageSizequeryinteger · int32

Number of items per page (default: 20, maximum: 200; larger values are treated as 200). Must be 1 or greater.

commentsquerystring

Optional. Only notes whose comments contain this text are returned.

Responses

Notes retrieved successfully

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

Paginated
dataPaginatedResponse<NoteDetailsDto[]>
  • totalCountinteger · int32
    • noteIdinteger · int32
    • noteTypestring
    • recordIdinteger · int32
    • recordTypestring
    • userstring
    • noteDatestring · date
    • commentsstring
    • lastModifiedstring · date-timenullable
    • notePurposesstring[]
    • noteResultsstring[]
  • pageCountinteger · int32
  • currentPageCountinteger · int32
  • nextPageNumberinteger · int32nullable
  • hasNextPageboolean