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": "ee32d8a8-55f3-40ef-95ec-1feffd7e8e1e",
  "db_table_id": "7a9f8512-6a30-4201-ba2d-b273607332bf",
  "db_table_name": "sample string 3",
  "id_in_table": "07c844d7-390d-4359-b111-a88ee6534b44",
  "user_id": "9dc619aa-0c87-4ad4-87b4-6c71feb21f38",
  "user_code": "sample string 6",
  "date_add": "2025-05-09T01:41:51.1924517+00:00",
  "dateutc_add": "2025-05-09T01:41:51.1924517+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-05-09T01:41:51.1924517+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": "8eab32f6-302d-4886-bd15-2d112e4ec466",
  "db_table_id": "dab2c77d-0346-4245-83e6-90ded8c94e34",
  "db_table_name": "sample string 3",
  "id_in_table": "75bf518c-cc71-46ee-9362-8fe544eb41b7",
  "user_id": "cef6f864-d51c-472f-b6d9-c90cc81d2718",
  "user_code": "sample string 6",
  "date_add": "2025-05-09T01:41:51.1924517+00:00",
  "dateutc_add": "2025-05-09T01:41:51.1924517+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-05-09T01:41:51.1924517+00:00"
}