POST api/v1/notes
Create a new note it's required to have short noteTypeId, short relationId, string relationIdValue, string tenantId, int costCenterId, the foreign key data can be acquire from get methods in this endpoint. This is an asynchronous service.
Request Information
URI Parameters
None.
Body Parameters
NoteModel| Name | Description | Type | Additional information |
|---|---|---|---|
| NoteId | globally unique identifier |
Required |
|
| NoteTypeId | integer |
Required |
|
| RelationId | integer |
Required |
|
| FacilityId | integer |
Required |
|
| DepartmentId | integer |
Required |
|
| ParentId | globally unique identifier |
None. |
|
| RelationIdValue | string |
Required String length: inclusive between 0 and 50 |
|
| NoteContent | string |
Required String length: inclusive between 0 and 240 |
|
| UserId | string |
Required String length: inclusive between 0 and 50 |
|
| UserFirstName | string |
String length: inclusive between 0 and 50 |
|
| UserLastName | string |
String length: inclusive between 0 and 50 |
|
| ExistInFS | boolean |
None. |
|
| NoteCreatedDate | date |
Required |
|
| CreatedDate | date |
Required |
|
| ModifiedDate | date |
Required |
|
| EntityToRelation | EntityToRelationModel |
None. |
|
| NoteType | NoteTypeModel |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseModelOfNoteModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfNoteModel |
None. |
|
| Errors | Collection of string |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.