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": "3630175d-d2d5-4b1c-a652-606de7f27b5b",
  "db_table_id": "eadcdcca-59aa-4bb3-beb6-ca8d6507d304",
  "db_table_name": "sample string 3",
  "id_in_table": "8059b56c-83ce-46fd-ad34-05083041ec9d",
  "user_id": "098f3023-e404-489a-aab1-35ca1fe2a6e3",
  "user_code": "sample string 6",
  "date_add": "2025-05-17T16:49:56.8320846+00:00",
  "dateutc_add": "2025-05-17T16:49:56.8320846+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-05-17T16:49:56.8320846+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": "9f7d7d71-c86a-4567-9c12-aa3c5e2a6f96",
  "db_table_id": "1b41e6b4-ef1a-47e6-af77-1342cc90af60",
  "db_table_name": "sample string 3",
  "id_in_table": "2f207779-d880-4d6a-952a-b086ea62dbca",
  "user_id": "c84c0202-95d5-4e01-8fa4-c3401ea5ac1c",
  "user_code": "sample string 6",
  "date_add": "2025-05-17T16:49:56.8448011+00:00",
  "dateutc_add": "2025-05-17T16:49:56.8448011+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-05-17T16:49:56.8448011+00:00"
}