POST api/Dictation/AddComments

Request Information

URI Parameters

None.

Body Parameters

CommentsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

DictationId

integer

Required

Range: inclusive between 1 and 9.22337203685478E+18

Comments

string

Required

String length: inclusive between 3 and 250

UserId

string

Required

CommentDateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "dictationId": 2,
  "comments": "sample string 3",
  "userId": "sample string 4",
  "commentDateTime": "2025-12-12T17:24:47.8173043+05:30"
}

application/xml, text/xml

Sample:
<CommentsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScribingSoftware.Model.DTO">
  <CommentDateTime>2025-12-12T17:24:47.8173043+05:30</CommentDateTime>
  <Comments>sample string 3</Comments>
  <DictationId>2</DictationId>
  <Id>1</Id>
  <UserId>sample string 4</UserId>
</CommentsDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.