POST api/Server/Annotation/SaveReadAnnotation

Request Information

URI Parameters

None.

Body Parameters

ReadAnnotationRequestModel
NameDescriptionTypeAdditional information
AccountId

integer

None.

UserId

integer

None.

AnnotationId

integer

None.

Id

integer

None.

CreatedOn

date

None.

ModifiedOn

date

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "UserId": 1,
  "AnnotationId": 1,
  "Id": 1,
  "CreatedOn": "2025-10-25T21:01:46.7818894+03:00",
  "ModifiedOn": "2025-10-25T21:01:46.7818894+03:00",
  "Status": 2
}

application/xml, text/xml

Sample:
<ReadAnnotationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models.Server">
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2025-10-25T21:01:46.7818894+03:00</CreatedOn>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">1</Id>
  <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2025-10-25T21:01:46.7818894+03:00</ModifiedOn>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2</Status>
  <AccountId>1</AccountId>
  <AnnotationId>1</AnnotationId>
  <UserId>1</UserId>
</ReadAnnotationRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ReadAnnotationRequestModel'.

Response Information

Resource Description

ResultModelOfReadAnnotationResponseModel
NameDescriptionTypeAdditional information
Response

boolean

None.

Message

string

None.

Exception

string

None.

Data

ReadAnnotationResponseModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "Message": "sample string 2",
  "Exception": "sample string 3",
  "Data": {
    "AccountId": 1,
    "UserId": 1,
    "AnnotationId": 1,
    "Id": 1,
    "CreatedOn": "2025-10-25T21:01:46.7975295+03:00",
    "ModifiedOn": "2025-10-25T21:01:46.7975295+03:00",
    "Status": 2
  }
}

application/xml, text/xml

Sample:
<ResultModelOfReadAnnotationResponseModelffeKya9_S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Entities.Models.Server">
    <CreatedOn>2025-10-25T21:01:46.7975295+03:00</CreatedOn>
    <Id>1</Id>
    <ModifiedOn>2025-10-25T21:01:46.7975295+03:00</ModifiedOn>
    <Status>2</Status>
    <d2p1:AccountId>1</d2p1:AccountId>
    <d2p1:AnnotationId>1</d2p1:AnnotationId>
    <d2p1:UserId>1</d2p1:UserId>
  </Data>
  <Exception>sample string 3</Exception>
  <Message>sample string 2</Message>
  <Response>true</Response>
</ResultModelOfReadAnnotationResponseModelffeKya9_S>