POST api/comments

Request Information

URI Parameters

None.

Body Parameters

comment
NameDescriptionTypeAdditional information
id

integer

None.

memeId

integer

None.

userId

string

None.

tStamp

date

None.

text

string

None.

statusId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "memeId": 1,
  "userId": "sample string 2",
  "tStamp": "2025-12-18T07:24:59.7661656+02:00",
  "text": "sample string 3",
  "statusId": 1
}

application/xml, text/xml

Sample:
<comment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/waytoodankapi.Models">
  <id>1</id>
  <memeId>1</memeId>
  <statusId>1</statusId>
  <tStamp>2025-12-18T07:24:59.7661656+02:00</tStamp>
  <text>sample string 3</text>
  <userId>sample string 2</userId>
</comment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

comment
NameDescriptionTypeAdditional information
id

integer

None.

memeId

integer

None.

userId

string

None.

tStamp

date

None.

text

string

None.

statusId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "memeId": 1,
  "userId": "sample string 2",
  "tStamp": "2025-12-18T07:24:59.7661656+02:00",
  "text": "sample string 3",
  "statusId": 1
}

application/xml, text/xml

Sample:
<comment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/waytoodankapi.Models">
  <id>1</id>
  <memeId>1</memeId>
  <statusId>1</statusId>
  <tStamp>2025-12-18T07:24:59.7661656+02:00</tStamp>
  <text>sample string 3</text>
  <userId>sample string 2</userId>
</comment>