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": "2f4a82a2-759a-4a47-894f-c14a79258c45", "db_table_id": "5235ea11-a160-400a-a5c5-4cd840ec4a5d", "db_table_name": "sample string 3", "id_in_table": "b45e681d-3717-4a25-b2eb-888afeb5c5d6", "user_id": "7a359656-a489-4a82-a86b-bb957f72175c", "user_code": "sample string 6", "date_add": "2023-03-24T00:13:42.9482012+00:00", "dateutc_add": "2023-03-24T00:13:42.9482012+00:00", "notes": "sample string 9", "reference_back_office": "sample string 10", "modified_dateutc": "2023-03-24T00:13:42.9482012+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": "25d4e4b3-38f5-4521-9c1d-7dfd86907ed9", "db_table_id": "8da3ef14-52e9-4fc1-bfe1-fbb5c86d45db", "db_table_name": "sample string 3", "id_in_table": "bc64c7e8-7db0-4b41-b4c2-6d2ba8c978ec", "user_id": "b11a7d8e-32b8-4671-9fed-8e4d13e8b891", "user_code": "sample string 6", "date_add": "2023-03-24T00:13:42.9482012+00:00", "dateutc_add": "2023-03-24T00:13:42.9482012+00:00", "notes": "sample string 9", "reference_back_office": "sample string 10", "modified_dateutc": "2023-03-24T00:13:42.9482012+00:00" }