Create a new db note

Request Information

URI Parameters :

None.

Body Parameters :

db_notes
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier
db_table_id

Table Id db notes linked to

globally unique identifier

Optionally required : db_table_id or db_table_name must be provided

db_table_name

Foreign key to the table this db_notes is linked to (Possibles values are company,jobs,project,task) using table name

string

Optionally required : db_table_id or db_table_name must be provided

id_in_table

Item id on the given table on which db note linked to

globally unique identifier

Required

user_id

Created User ID

globally unique identifier

Optionally required : user_id, user_code or user must be provided

user_code

Embedded entity "user" using ERP PK when adding/updating a db_notes

string

Optionally required : user_id, user_code or user must be provided

user

Embedded entity "user" using node when adding/updating a db_notes

user

Optionally required : user_id, user_code or user must be provided

date_add

Date Added. is on the local user time.

date
dateutc_add

Date Added. Auto-filled by NOW if empty

date
notes

Notes

string

Required

reference_back_office

string

Max length: 255

modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Request Formats :

application/json, text/json

Sample:
{
  "id": "56c74beb-1154-47c4-992b-4844a636bc11",
  "db_table_id": "c4e32e1b-64ed-4a16-bbf7-8d0483490399",
  "db_table_name": "sample string 3",
  "id_in_table": "e3a2f337-7151-4786-85ff-0cd69c801e66",
  "user_id": "72c79f65-db3b-4bc8-bce8-f78ac32f21ce",
  "user_code": "sample string 6",
  "date_add": "2025-05-28T19:36:28.8677425+00:00",
  "dateutc_add": "2025-05-28T19:36:28.8677425+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-05-28T19:36:28.8677425+00:00"
}

Response Information

Resource Description :

IHttpActionResult

db_notes
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier
db_table_id

Table Id db notes linked to

globally unique identifier

Optionally required : db_table_id or db_table_name must be provided

db_table_name

Foreign key to the table this db_notes is linked to (Possibles values are company,jobs,project,task) using table name

string

Optionally required : db_table_id or db_table_name must be provided

id_in_table

Item id on the given table on which db note linked to

globally unique identifier

Required

user_id

Created User ID

globally unique identifier

Optionally required : user_id, user_code or user must be provided

user_code

Embedded entity "user" using ERP PK when adding/updating a db_notes

string

Optionally required : user_id, user_code or user must be provided

user

Embedded entity "user" using node when adding/updating a db_notes

user

Optionally required : user_id, user_code or user must be provided

date_add

Date Added. is on the local user time.

date
dateutc_add

Date Added. Auto-filled by NOW if empty

date
notes

Notes

string

Required

reference_back_office

string

Max length: 255

modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Response Formats

application/json, text/json

Sample:
{
  "id": "97135994-8a33-4a06-92bd-31765b647ebb",
  "db_table_id": "dd97252b-f0dc-4e07-9c06-15c369dec8df",
  "db_table_name": "sample string 3",
  "id_in_table": "129a8831-fa52-4db2-bea1-4e0e1e6c9e35",
  "user_id": "3f549b85-5989-4c2b-a875-5f6e5f8870a1",
  "user_code": "sample string 6",
  "date_add": "2025-05-28T19:36:28.8677425+00:00",
  "dateutc_add": "2025-05-28T19:36:28.8677425+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-05-28T19:36:28.8677425+00:00"
}