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:
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 |