POST api/MomentMoodRecord/create

Request Information

URI Parameters

None.

Body Parameters

MomentMoodRecordCreateDto
NameDescriptionTypeAdditional information
UserId

integer

None.

MoodTypeId

integer

None.

RecordDate

date

None.

RecordTime

time interval

None.

Description

string

None.

CreatedAt

date

None.

UpdatedAt

date

None.

MomentTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "MoodTypeId": 2,
  "RecordDate": "2025-12-06T13:04:38.1745577+08:00",
  "RecordTime": "00:00:00.1234567",
  "Description": "sample string 5",
  "CreatedAt": "2025-12-06T13:04:38.1745577+08:00",
  "UpdatedAt": "2025-12-06T13:04:38.1745577+08:00",
  "MomentTime": "2025-12-06T13:04:38.1745577+08:00"
}

application/xml, text/xml

Sample:
<MomentMoodRecordCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MoodTrackerApi.Models">
  <CreatedAt>2025-12-06T13:04:38.1745577+08:00</CreatedAt>
  <Description>sample string 5</Description>
  <MomentTime>2025-12-06T13:04:38.1745577+08:00</MomentTime>
  <MoodTypeId>2</MoodTypeId>
  <RecordDate>2025-12-06T13:04:38.1745577+08:00</RecordDate>
  <RecordTime>PT0.1234567S</RecordTime>
  <UpdatedAt>2025-12-06T13:04:38.1745577+08:00</UpdatedAt>
  <UserId>1</UserId>
</MomentMoodRecordCreateDto>

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.