POST api/Annotation?entityName={entityName}&entityId={entityId}&subject={subject}
Creates new annotatioin with attached file and subject
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entityName | System.String |
Required |
|
entityId | System.String |
Required |
|
subject | 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. |
Response Formats
application/json, text/json
Sample:
{ "Id": "9ba0be14-fea5-4873-b22b-046d2a6971c6", "FileName": "sample string 2" }
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"> <FileName>sample string 2</FileName> <Id>9ba0be14-fea5-4873-b22b-046d2a6971c6</Id> </Annotation>