POST api/Annotation?entityName={entityName}&entityId={entityId}
Creates new annotatioin with attached file
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entityName | System.String |
Required |
|
entityId | System.String |
Required |
Body Parameters
None.
Response Information
Resource Description
Altai.Web.Services.Models.AnnotationName | Description | Type | Additional information |
---|---|---|---|
Id | System.Guid |
None. |
|
FileName | System.String |
None. |
|
CreatedOn | System.DateTime |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "d05e167b-5213-4f1a-bbd5-2d6569b23296", "FileName": "sample string 2", "CreatedOn": "2025-04-04T08:54:18.4781478-04:00" }
application/xml, text/xml
Sample:
<Annotation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models"> <CreatedOn>2025-04-04T08:54:18.4781478-04:00</CreatedOn> <FileName>sample string 2</FileName> <Id>d05e167b-5213-4f1a-bbd5-2d6569b23296</Id> </Annotation>