companies/{cid}/notes (post)

Adds a new note to a company.

URL

(POST) /companies/{cid}/notes

PARAMETERS

The URL parameters are:

cid

The company ID

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 returns a JSON object:

id

The identifier of the newly added note

int