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": "49337b5a-d9e1-4788-a348-5eedbf630ba8",
  "db_table_id": "e89ec0a0-008b-4794-b0ac-f04866ed3b9c",
  "db_table_name": "sample string 3",
  "id_in_table": "08284220-cf18-4381-a245-e0d5d2cd8ace",
  "user_id": "eaff2e28-1df0-403f-afc6-52a09238f46e",
  "user_code": "sample string 6",
  "date_add": "2024-04-16T13:34:37.4358896+00:00",
  "dateutc_add": "2024-04-16T13:34:37.4358896+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-04-16T13:34:37.4358896+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": "34e24140-9d50-4eb6-a6d9-c01a9bca8ac4",
  "db_table_id": "b4f224ed-d8f2-4933-9565-87361ca32a7a",
  "db_table_name": "sample string 3",
  "id_in_table": "d3a8840b-ed25-47b1-9771-3678dd4bd76a",
  "user_id": "f825a3d0-4fd8-4833-bdd4-cdafee945de4",
  "user_code": "sample string 6",
  "date_add": "2024-04-16T13:34:37.4515166+00:00",
  "dateutc_add": "2024-04-16T13:34:37.4515166+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-04-16T13:34:37.4515166+00:00"
}