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": "4f887393-a6b7-40f3-b61a-61321b5db255",
  "db_table_id": "9d1a35f1-1e55-46b2-971e-dbd459021ab0",
  "db_table_name": "sample string 3",
  "id_in_table": "d1d3bc71-28b1-49c7-9f50-124b9772d3d6",
  "user_id": "e67ed03b-3981-4a4f-9b8c-e67abaf0df37",
  "user_code": "sample string 6",
  "date_add": "2025-01-18T05:04:32.9924524+00:00",
  "dateutc_add": "2025-01-18T05:04:32.9924524+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-01-18T05:04:32.9924524+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": "59fefb5e-50c6-4c23-a44f-14a547cb3901",
  "db_table_id": "4872e493-6b75-4f42-85fe-b8f602b31a2d",
  "db_table_name": "sample string 3",
  "id_in_table": "0f1aaf49-9984-46dc-bfda-4d5bdb8a4c00",
  "user_id": "5314b39f-9707-4a30-b3e0-135ba9302563",
  "user_code": "sample string 6",
  "date_add": "2025-01-18T05:04:33.021632+00:00",
  "dateutc_add": "2025-01-18T05:04:33.021632+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-01-18T05:04:33.021632+00:00"
}