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": "ee95533e-9837-47dc-bd2b-cb04da4d6a79",
  "db_table_id": "cb36c593-ce0d-44bc-b3df-78b4453871bf",
  "db_table_name": "sample string 3",
  "id_in_table": "7da38742-eb45-4d3e-a717-90d2473c6d7c",
  "user_id": "eb3ec7d0-5a86-40a9-b734-d43c042e5aaa",
  "user_code": "sample string 6",
  "date_add": "2024-12-31T00:01:17.4991283+00:00",
  "dateutc_add": "2024-12-31T00:01:17.5140761+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-12-31T00:01:17.5140761+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": "10cb3ddf-757d-46aa-8a57-b35083693f9f",
  "db_table_id": "045d635f-db9a-45c2-a81c-b0adcb38a674",
  "db_table_name": "sample string 3",
  "id_in_table": "cdd6aa73-893b-4655-9481-a07ff834c447",
  "user_id": "e55db779-ef52-4790-9f60-3467a84d6758",
  "user_code": "sample string 6",
  "date_add": "2024-12-31T00:01:17.5140761+00:00",
  "dateutc_add": "2024-12-31T00:01:17.5140761+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-12-31T00:01:17.5140761+00:00"
}