Skip to main content

Update client note

PATCH 

/clients/notes/:id

JSON-RPC

clients.notes.update

info

All parameters except id are optional, only provided parameters will be updated.

Request​

Path Parameters

    id integerrequired

    Client note ID.

Bodyrequired

    clients_idintegerrequired

    Client ID.

    notestringrequired

    Note text.

    files_idstring | nullnullable

    Attachment file ID.

    Default value: null

Responses​

Number of the affected rows.

Schema
    integerinteger

Authorization: X-Api-Key

name: X-Api-Keytype: apiKeyin: headerdescription: Token for API access
curl -L -X PATCH 'https://docs.jerasoft.net/clients/notes/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Api-Key: <X-Api-Key>'
Request Collapse all
Auth
Parameters
— pathrequired
Body required
{
  "clients_id": 0,
  "note": "string"
}