companies/{cid}/notes/{id} (put)

Updates the text of an existing note.

This method also updates the change date. The logged user is set as the changing user. See companies/{cid}/notes (get) for change details.

URL

(PUT) /companies/{cid}/notes/{id}

PARAMETERS

The URL parameters are:

cid

The company ID.

int, Mandatory

id

The ID of the note to update.

int, Mandatory



The body must contain a JSON object with these parameters:

 

text

The plain text of the note.

A null or empty text results in an error.

string, Mandatory

labels

Optional array of label id/value pairs:

  • id: The numeric label ID

  • value: The numeric value ID

Invalid label IDs or values result in an error.

object[]?, Optional

 

RESULTS

The method does not return a result.