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": "1db78123-9a62-4877-b0b6-1f3aa71d80b4",
  "db_table_id": "d87259c6-a21b-43e1-896c-cfe1e0ec5fa9",
  "db_table_name": "sample string 3",
  "id_in_table": "77254db9-f9d4-4ada-949a-73ffba9b82a7",
  "user_id": "f13932ac-2bc8-415c-965f-1c40858f9b76",
  "user_code": "sample string 6",
  "date_add": "2024-06-16T14:35:09.4491658+00:00",
  "dateutc_add": "2024-06-16T14:35:09.4491658+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-06-16T14:35:09.4491658+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": "75035692-590a-459d-9165-62846091bb3c",
  "db_table_id": "0768a62e-359d-48be-af72-e393b417149c",
  "db_table_name": "sample string 3",
  "id_in_table": "be235369-3340-4ce6-b425-aa72af47e0c1",
  "user_id": "1750c46a-71a6-40e1-a04a-de2df089fec8",
  "user_code": "sample string 6",
  "date_add": "2024-06-16T14:35:09.4647909+00:00",
  "dateutc_add": "2024-06-16T14:35:09.4647909+00:00",
  "notes": "sample string 9",
  "reference_back_office": "sample string 10",
  "modified_dateutc": "2024-06-16T14:35:09.4647909+00:00"
}