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": "87a4fe20-adeb-43c5-8cf1-22080c5e10b4",
  "db_table_id": "f93cdddf-fa3a-40e0-9067-27e92e21a098",
  "db_table_name": "sample string 3",
  "id_in_table": "a265406c-438f-4147-be75-0336cb054aa6",
  "user_id": "a8e4d9bf-7adb-4ea4-b9d1-1db20d0fb548",
  "user_code": "sample string 6",
  "date_add": "2024-03-26T17:47:26.1930501+00:00",
  "dateutc_add": "2024-03-26T17:47:26.1930501+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-03-26T17:47:26.1930501+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": "39058315-3ef5-4701-9f2d-e6fc2a0398d8",
  "db_table_id": "c3e027ac-3bdf-47e1-8487-e6119099f9bd",
  "db_table_name": "sample string 3",
  "id_in_table": "48bbafe0-7178-4d7b-a8b4-cd9708be377c",
  "user_id": "fd183892-4f27-455b-8165-5efc9f3a7403",
  "user_code": "sample string 6",
  "date_add": "2024-03-26T17:47:26.1930501+00:00",
  "dateutc_add": "2024-03-26T17:47:26.1930501+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-03-26T17:47:26.1930501+00:00"
}