Create a new db note
Request Information
URI Parameters :
None.
Body Parameters :
db_notesName | Description | Type | Additional 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
{ "id": "e142b078-9b02-4156-8fd5-e9eefae04866", "db_table_id": "73020b47-9ff3-4df6-8e3f-bf19dbce8e77", "db_table_name": "sample string 3", "id_in_table": "3b08cf5c-8c03-4eac-9274-f5dd7cb0c258", "user_id": "50b711d6-ac8e-4a2a-864b-02985dbd901c", "user_code": "sample string 6", "date_add": "2023-03-30T04:02:11.4852661+00:00", "dateutc_add": "2023-03-30T04:02:11.5008864+00:00", "notes": "sample string 9", "reference_back_office": "sample string 10", "modified_dateutc": "2023-03-30T04:02:11.5008864+00:00" }
Response Information
Resource Description :
IHttpActionResult
db_notesName | Description | Type | Additional 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
{ "id": "021e2305-e75b-49f9-8125-96592e68ad14", "db_table_id": "600cfa7f-e487-477f-89f8-274e6641083e", "db_table_name": "sample string 3", "id_in_table": "6cae9404-9e33-4ea8-8075-57cf503d24ea", "user_id": "907c32f8-8b7f-4e1a-82b5-0c73d85dc8ff", "user_code": "sample string 6", "date_add": "2023-03-30T04:02:11.5008864+00:00", "dateutc_add": "2023-03-30T04:02:11.5008864+00:00", "notes": "sample string 9", "reference_back_office": "sample string 10", "modified_dateutc": "2023-03-30T04:02:11.5008864+00:00" }