POST api/GroupEvents/AddEventComment

Request Information

URI Parameters

None.

Body Parameters

EventAddCommentModel
NameDescriptionTypeAdditional information
eventId

integer

Required

comment

string

None.

accountId

integer

None.

date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "eventId": 1,
  "comment": "sample string 1",
  "accountId": 2,
  "date": "2026-04-12T17:54:17.7022747+03:00"
}

text/plain, application/octet-stream

Sample:
{"eventId":1,"comment":"sample string 1","accountId":2,"date":"2026-04-12T17:54:17.7022747+03:00"}

application/xml, text/xml

Sample:
<EventAddCommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody">
  <accountId>2</accountId>
  <comment>sample string 1</comment>
  <date>2026-04-12T17:54:17.7022747+03:00</date>
  <eventId>1</eventId>
</EventAddCommentModel>

multipart/form-data, application/form-data

Sample:
<EventAddCommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody"><accountId>2</accountId><comment>sample string 1</comment><date>2026-04-12T17:54:17.7022747+03:00</date><eventId>1</eventId></EventAddCommentModel>

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.