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": "aaacd743-b8a9-4778-9ee9-d44c4da24c6f", "db_table_id": "446ea17d-2759-453e-a0e7-35e7c0f72eb9", "db_table_name": "sample string 3", "id_in_table": "48fbbee3-f33c-476e-826f-9b920aaa407d", "user_id": "583870cd-8923-44d3-bde3-0951263dc8f9", "user_code": "sample string 6", "date_add": "2022-08-14T18:26:55.2625692+02:00", "dateutc_add": "2022-08-14T18:26:55.2625692+02:00", "notes": "sample string 9", "reference_back_office": "sample string 10", "modified_dateutc": "2022-08-14T18:26:55.2625692+02: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": "6043e9dd-7ca8-478d-9f35-f97fee22e2a3", "db_table_id": "822efee9-804e-4a4b-951b-0869c3fc101c", "db_table_name": "sample string 3", "id_in_table": "1bb77199-210e-4d51-9fe9-782054585801", "user_id": "71f9b03a-ce4f-448e-a1e6-4f43d4cf660d", "user_code": "sample string 6", "date_add": "2022-08-14T18:26:55.2625692+02:00", "dateutc_add": "2022-08-14T18:26:55.2625692+02:00", "notes": "sample string 9", "reference_back_office": "sample string 10", "modified_dateutc": "2022-08-14T18:26:55.2625692+02:00" }