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.

CreatedOn

System.DateTime

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "2bc1405e-b11f-454f-bb10-72c3149f3525",
  "FileName": "sample string 2",
  "CreatedOn": "2024-11-09T11:14:43.5033091-05: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>2024-11-09T11:14:43.5033091-05:00</CreatedOn>
  <FileName>sample string 2</FileName>
  <Id>2bc1405e-b11f-454f-bb10-72c3149f3525</Id>
</Annotation>