Add or Update Opportunity Note

Add or Update Note which belongs opportunity

POST [PlatformAddress]/api/1.0/venue?action=addOrUpdateOpportunityNote

Path Parameters

NameTypeDescription

id

integer

The unique id of the note

venueId

integer

The unique id of the venue to which the note belongs

leadId

integer

The unique id of the lead to which the note belongs

note

string

The description of the note.

{
  "success": true,
  "id": 755
}

Example Request

Add Note

{
  "venueId": 1,
  "leadId": 10,
  "note": "test note",
}

Update Note

{
  "id": 3269,
  "venueId": 1,
  "leadId": 10,
  "note": "test note",
}

Returns

PropertyDescription

success

Whether or not the note was added/updated

id

The unique id of the note

Throws

CodeDescription

Specific Code: 24438

The venue does not exist

Specific Code: 24441

The lead/opportunity does not exist

Specific Code: 24434

The note does not exist

Specific Code: 24435

An error has occured

Specific Code: 24436

The request contains invalid

Specific Code: 24437

Invalid Data

Last updated