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": "00e09282-1cdd-40dd-94ed-ed389f1e23fc",
  "db_table_id": "2d160c4b-47e1-4aad-b734-49437c83667c",
  "db_table_name": "sample string 3",
  "id_in_table": "1ab68dcf-d4d1-4e0d-8741-cafd04959561",
  "user_id": "d67347ab-d569-4c13-95e3-93f42c7dac75",
  "user_code": "sample string 6",
  "date_add": "2024-11-21T08:32:46.6407573+00:00",
  "dateutc_add": "2024-11-21T08:32:46.6407573+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-11-21T08:32:46.6407573+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": "f75e73e1-d237-462e-a6ae-a0197eaeeaf6",
  "db_table_id": "60219227-b0a2-4be4-9b7e-3a562ac82eee",
  "db_table_name": "sample string 3",
  "id_in_table": "fa30bb20-9602-4ac6-b656-412a21dd9be7",
  "user_id": "e902405b-3407-4168-b056-7504f30fd39f",
  "user_code": "sample string 6",
  "date_add": "2024-11-21T08:32:46.6563837+00:00",
  "dateutc_add": "2024-11-21T08:32:46.6563837+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-11-21T08:32:46.6563837+00:00"
}