POST api/Training/GetPlansAndCompletedTrainingsByDate

Request Information

URI Parameters

None.

Body Parameters

UserTrainingsByDateDTO
NameDescriptionTypeAdditional information
accountId

integer

None.

date

date

None.

dayId

integer

None.

level

integer

None.

language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "accountId": 1,
  "date": "2026-04-12T18:03:58.1547895+03:00",
  "dayId": 2,
  "level": 3,
  "language": "sample string 1"
}

text/plain, application/octet-stream

Sample:
{"accountId":1,"date":"2026-04-12T18:03:58.1547895+03:00","dayId":2,"level":3,"language":"sample string 1"}

application/xml, text/xml

Sample:
<UserTrainingsByDateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody">
  <accountId>1</accountId>
  <date>2026-04-12T18:03:58.1547895+03:00</date>
  <dayId>2</dayId>
  <language>sample string 1</language>
  <level>3</level>
</UserTrainingsByDateDTO>

multipart/form-data, application/form-data

Sample:
<UserTrainingsByDateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody"><accountId>1</accountId><date>2026-04-12T18:03:58.1547895+03:00</date><dayId>2</dayId><language>sample string 1</language><level>3</level></UserTrainingsByDateDTO>

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.