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": "6b9ca25e-ef39-4b22-a32f-78c4ea15cd6b",
  "db_table_id": "9259c485-5d78-4f92-b6af-caa12783779b",
  "db_table_name": "sample string 3",
  "id_in_table": "a6d95a79-3bac-4a4c-96cb-9ebc8c25a2b7",
  "user_id": "fc4957ce-9556-472b-a2a2-2b7126f7e79e",
  "user_code": "sample string 6",
  "date_add": "2025-01-22T01:24:24.8561888+00:00",
  "dateutc_add": "2025-01-22T01:24:24.8561888+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-01-22T01:24:24.8561888+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": "71808def-e274-4b1d-97a7-5c382f4e748d",
  "db_table_id": "643714fd-20ef-4284-92f5-f3f0cea474a4",
  "db_table_name": "sample string 3",
  "id_in_table": "33899ad1-24f3-4a62-a3cd-7c8c255f8187",
  "user_id": "f8968a4a-e99c-48c5-ba64-fad5967f1765",
  "user_code": "sample string 6",
  "date_add": "2025-01-22T01:24:24.8561888+00:00",
  "dateutc_add": "2025-01-22T01:24:24.8561888+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-01-22T01:24:24.8561888+00:00"
}