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. |
Response Formats
application/json, text/json
Sample:
{ "Id": "87d88e53-57f9-4341-9780-89c38340c16f", "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>87d88e53-57f9-4341-9780-89c38340c16f</Id> </Annotation>