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": "57249eca-cdc5-4163-a9db-d1774d1ca845",
  "db_table_id": "aa577b60-8e79-4a65-acb6-4b397ed28ee0",
  "db_table_name": "sample string 3",
  "id_in_table": "89a7142d-23e7-40ef-9e68-b968fbb4711b",
  "user_id": "701758cf-f950-4560-9190-bb909ccc6808",
  "user_code": "sample string 6",
  "date_add": "2022-12-02T21:34:46.0816841+01:00",
  "dateutc_add": "2022-12-02T21:34:46.0816841+01:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2022-12-02T21:34:46.0816841+01: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": "5ac04aa1-1700-4ce3-ae87-315963a46f58",
  "db_table_id": "9bf335f2-b694-4c7e-ab6a-b18519cf88ed",
  "db_table_name": "sample string 3",
  "id_in_table": "82bbcb8f-90b5-49df-805f-064a4169bf2a",
  "user_id": "8aec70b5-22d2-4677-afd0-a77e890acf1d",
  "user_code": "sample string 6",
  "date_add": "2022-12-02T21:34:46.0816841+01:00",
  "dateutc_add": "2022-12-02T21:34:46.0816841+01:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2022-12-02T21:34:46.0816841+01:00"
}