POST api/Survey/AddComment

Request Information

URI Parameters

None.

Body Parameters

SurveyCommentWithCommentSyestem
NameDescriptionTypeAdditional information
surveyId

integer

None.

comment

string

None.

accountGuid

globally unique identifier

None.

date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "surveyId": 1,
  "comment": "sample string 2",
  "accountGuid": "a0101a57-03b4-451f-b1dd-8890b90f717a",
  "date": "2026-04-12T17:55:51.0858693+03:00"
}

text/plain, application/octet-stream

Sample:
{"surveyId":1,"comment":"sample string 2","accountGuid":"a0101a57-03b4-451f-b1dd-8890b90f717a","date":"2026-04-12T17:55:51.0858693+03:00"}

application/xml, text/xml

Sample:
<SurveyCommentWithCommentSyestem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.Models.Groups_api_models">
  <accountGuid>a0101a57-03b4-451f-b1dd-8890b90f717a</accountGuid>
  <comment>sample string 2</comment>
  <date>2026-04-12T17:55:51.0858693+03:00</date>
  <surveyId>1</surveyId>
</SurveyCommentWithCommentSyestem>

multipart/form-data, application/form-data

Sample:
<SurveyCommentWithCommentSyestem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.Models.Groups_api_models"><accountGuid>a0101a57-03b4-451f-b1dd-8890b90f717a</accountGuid><comment>sample string 2</comment><date>2026-04-12T17:55:51.0858693+03:00</date><surveyId>1</surveyId></SurveyCommentWithCommentSyestem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain, application/octet-stream, application/xml, text/xml, multipart/form-data, application/form-data

Sample:

Sample not available.