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": "44de740f-493e-403c-b20f-823152494085",
  "db_table_id": "bf082fd4-de59-47c3-b80b-5ef37ae1b0e0",
  "db_table_name": "sample string 3",
  "id_in_table": "459738cd-2105-40e7-bb11-f6d1ccb271aa",
  "user_id": "6aa92191-d8b8-4bec-b1fb-589a485508d5",
  "user_code": "sample string 6",
  "date_add": "2025-02-05T06:55:16.0917509+00:00",
  "dateutc_add": "2025-02-05T06:55:16.0917509+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-02-05T06:55:16.0917509+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": "c932fe21-c85d-4419-a3cd-a577dd8df646",
  "db_table_id": "fa18eef4-f3f0-4dde-8220-41611920ae0d",
  "db_table_name": "sample string 3",
  "id_in_table": "dda59703-e270-4fff-a17e-8a46b888e25d",
  "user_id": "419c74dc-04e5-4850-a819-6c0c84682d64",
  "user_code": "sample string 6",
  "date_add": "2025-02-05T06:55:16.0917509+00:00",
  "dateutc_add": "2025-02-05T06:55:16.0917509+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-02-05T06:55:16.0917509+00:00"
}