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": "84b7881e-3beb-46e2-8ee5-6b504378de5f", "db_table_id": "0cdabda7-6144-471b-a804-b8316dca5384", "db_table_name": "sample string 3", "id_in_table": "e7757f04-2b0d-493f-a32a-abebd60d8b78", "user_id": "6f043328-555d-455b-8bca-e7410fa20224", "user_code": "sample string 6", "date_add": "2024-07-25T19:12:49.7174053+00:00", "dateutc_add": "2024-07-25T19:12:49.7174053+00:00", "notes": "sample string 9", "reference_back_office": "sample string 10", "modified_dateutc": "2024-07-25T19:12:49.7174053+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": "515ee828-0035-46be-900d-aadbcbc345a5", "db_table_id": "54bcd3c5-3d1f-48f3-a508-4c4d798a3b5a", "db_table_name": "sample string 3", "id_in_table": "5155f261-a8ea-4cde-99bb-99f3a81cfc75", "user_id": "7d610787-197a-4770-b708-f85da0605797", "user_code": "sample string 6", "date_add": "2024-07-25T19:12:49.7174053+00:00", "dateutc_add": "2024-07-25T19:12:49.7174053+00:00", "notes": "sample string 9", "reference_back_office": "sample string 10", "modified_dateutc": "2024-07-25T19:12:49.7174053+00:00" }