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": "c8f29bd4-9d4a-4e73-a48b-6350b51091a1",
  "db_table_id": "0c463d3a-a7b9-42cc-9754-63ac28fd0901",
  "db_table_name": "sample string 3",
  "id_in_table": "8aafe8d8-6619-40d2-986a-69e3f52b240d",
  "user_id": "0c77b23f-fdc7-475a-8c97-31fedb6d12c8",
  "user_code": "sample string 6",
  "date_add": "2025-03-09T14:24:32.9362129+00:00",
  "dateutc_add": "2025-03-09T14:24:32.9362129+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-03-09T14:24:32.9362129+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": "a9fa8996-3894-4382-abf4-a62f1e13ca92",
  "db_table_id": "1a1b95ca-3a38-4bfc-ae68-295c46dcd7cb",
  "db_table_name": "sample string 3",
  "id_in_table": "24448b4a-45b3-450e-911f-a67b97e5c025",
  "user_id": "6836b64f-4fcc-409f-975f-9f75581a1c80",
  "user_code": "sample string 6",
  "date_add": "2025-03-09T14:24:32.9713319+00:00",
  "dateutc_add": "2025-03-09T14:24:32.9713319+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2025-03-09T14:24:32.9713319+00:00"
}