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-recordAuthentication
Choose one supported method for this request.
Parameters
recordTypequerystringThe type of record (case-sensitive): `Company`, `Contact`, `Equipment`, `Task`, or `Call`.
recordIdqueryinteger · int32The ID of the record. Must be greater than zero.
pagequeryinteger · int32Page number, 1-based (default: 1). Must be 1 or greater.
pageSizequeryinteger · int32Number of items per page (default: 20, maximum: 200; larger values are treated as 200). Must be 1 or greater.
commentsquerystringOptional. Only notes whose comments contain this text are returned.
Responses
Notes retrieved successfully
Standard response envelope
PaginatedisSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
totalCountinteger · int32noteIdinteger · int32noteTypestringrecordIdinteger · int32recordTypestringuserstringnoteDatestring · datecommentsstringlastModifiedstring · date-timenullablenotePurposesstring[]noteResultsstring[]
pageCountinteger · int32currentPageCountinteger · int32nextPageNumberinteger · int32nullablehasNextPageboolean