All URIs are relative to https://api.sendinblue.com/v3
Method | HTTP request | Description |
---|---|---|
CrmNotesGet | Get /crm/notes | Get all notes |
CrmNotesIdDelete | Delete /crm/notes/{id} | Delete a note |
CrmNotesIdGet | Get /crm/notes/{id} | Get a note |
CrmNotesIdPatch | Patch /crm/notes/{id} | Update a note |
CrmNotesPost | Post /crm/notes | Create a note |
NoteList CrmNotesGet(ctx, optional) Get all notes
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *CrmNotesGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CrmNotesGetOpts struct
Name | Type | Description | Notes |
---|---|---|---|
entity | optional.String | Filter by note entity type | |
entityIds | optional.String | Filter by note entity IDs | |
dateFrom | optional.Int32 | dateFrom to date range filter type (timestamp in milliseconds) | |
dateTo | optional.Int32 | dateTo to date range filter type (timestamp in milliseconds) | |
offset | optional.Int64 | Index of the first document of the page | |
limit | optional.Int64 | Number of documents per page | [default to 50] |
sort | optional.String | Sort the results in the ascending/descending order. Default order is descending by creation if `sort` is not passed |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CrmNotesIdDelete(ctx, id) Delete a note
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | Note ID to delete |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Note CrmNotesIdGet(ctx, id) Get a note
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | Note ID to get |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CrmNotesIdPatch(ctx, id, body) Update a note
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | Note ID to update | |
body | NoteData | Note data to update a note |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NoteId CrmNotesPost(ctx, body) Create a note
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | NoteData | Note data to create a note. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]