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": "481056dd-eabf-4546-8898-3fbed308b379",
  "db_table_id": "233c0552-cabf-48d3-8f9e-1a19012544df",
  "db_table_name": "sample string 3",
  "id_in_table": "0a4d8d5e-ec5e-41ee-ac49-265f50cdd6d7",
  "user_id": "274164fd-73fd-4538-b799-5183d1da5ff5",
  "user_code": "sample string 6",
  "date_add": "2024-04-26T14:45:01.8313396+00:00",
  "dateutc_add": "2024-04-26T14:45:01.8469687+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-04-26T14:45:01.8469687+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": "c782537f-579f-47ef-a73b-87e9b0bc250b",
  "db_table_id": "1a30aed0-4eeb-4fdd-8d2b-7f0ea5996596",
  "db_table_name": "sample string 3",
  "id_in_table": "4d7d1976-7d32-4c7a-a841-73ee00e56607",
  "user_id": "585b2f73-bcc5-4927-be98-afb7815fe990",
  "user_code": "sample string 6",
  "date_add": "2024-04-26T14:45:01.8469687+00:00",
  "dateutc_add": "2024-04-26T14:45:01.8469687+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-04-26T14:45:01.8469687+00:00"
}