POST api/Annotation?entityName={entityName}&entityId={entityId}&subject={subject}

Creates new annotatioin with attached file and subject

Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityName

System.String

Required

entityId

System.String

Required

subject

System.String

Required

Body Parameters

None.

Response Information

Resource Description

Altai.Web.Services.Models.Annotation
NameDescriptionTypeAdditional information
Id

System.Guid

None.

FileName

System.String

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "6bfa2049-befd-49e8-8bf0-63ef2a304bf9",
  "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>6bfa2049-befd-49e8-8bf0-63ef2a304bf9</Id>
</Annotation>