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": "a7c41b4d-f672-485a-9cc3-a306efec60e9",
  "db_table_id": "df241274-780d-4775-aebb-b98ba97c2a5d",
  "db_table_name": "sample string 3",
  "id_in_table": "6566b8ae-6592-4fd4-8c0d-c42c0f1b7202",
  "user_id": "ce10801d-97c2-4e41-9173-008bda610aaa",
  "user_code": "sample string 6",
  "date_add": "2024-12-21T16:56:33.7772722+00:00",
  "dateutc_add": "2024-12-21T16:56:33.7772722+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-12-21T16:56:33.7772722+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": "89a27ffe-e168-45b2-8902-1720ea70adf2",
  "db_table_id": "1e8068f3-63e9-4d6f-9b6f-232027260ebd",
  "db_table_name": "sample string 3",
  "id_in_table": "0f0b1da4-368f-4b8a-95e4-ae3ee989ca69",
  "user_id": "ebc4e421-d509-4cae-b39d-c09c7139004a",
  "user_code": "sample string 6",
  "date_add": "2024-12-21T16:56:33.7772722+00:00",
  "dateutc_add": "2024-12-21T16:56:33.7772722+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-12-21T16:56:33.7772722+00:00"
}