Overview
The API is used to add Notes on any record in Business Central that has a Notes area:
|
Endpoint name |
|
|
Source table |
|
|
Fixed view |
|
|
Requests allowed |
GET, POST |
|
Primary key |
N/A |
|
Record ID |
|
|
Procedures |
None |
Data
Field List
|
Property |
Type |
Format |
Description |
|
|
|
string |
guid |
The unique id of this entry. |
Record ID primary key |
|
|
string |
Record Id |
Record id is combined as: [table name] : [the primary key] |
mandatory |
|
|
string |
|
The note to import into BC. |
mandatory |
|
|
string |
max 50 |
To use when the note shall be linked to a specific user. If left blank, the note is registered on the user of the API. |
optional |
|
|
string |
datetime |
Time stamp |
|
|
|
string |
guid |
A relation to the API user. |
|
Example Object
Usage
Read all entries
GET
.../recordNotes
Read a specific entry
GET
.../recordNotes(476af7d1-b990-f111-b039-cf528adb1015)
Other ways to add a Note
Selected endpoints have a specific procedure to add a note:
-
Customer
-
Customers([id]).addNote -
Customers([id]).addNoteFromUser
-
-
Vendor
-
Vendors([id]).addNote -
Vendors([id]).addNoteFromUser
-
-
Item
-
Items([id]).addNote -
Items([id]).addNoteFromUser
-
-
Sales Agreement
-
SalesAgreements([id]).addNote -
SalesAgreements([id]).addNoteFromUser
-
-
Purchase Agreement
-
PurchaseAgreements([id]).addNote -
PurchaseAgreements([id]).addNoteFromUser
-