POST api/Training/GetTrainingPlanByPhase

Request Information

URI Parameters

None.

Body Parameters

UserTrainingsByPhaseDTO
NameDescriptionTypeAdditional information
accountId

integer

None.

date

date

None.

dayId

integer

None.

level

integer

None.

phase

integer

None.

language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "accountId": 1,
  "date": "2026-09-10T01:50:25.8907771+03:00",
  "dayId": 2,
  "level": 3,
  "phase": 4,
  "language": "sample string 1"
}

text/plain, application/octet-stream

Sample:
{"accountId":1,"date":"2026-09-10T01:50:25.8907771+03:00","dayId":2,"level":3,"phase":4,"language":"sample string 1"}

application/xml, text/xml

Sample:
<UserTrainingsByPhaseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody">
  <accountId>1</accountId>
  <date>2026-09-10T01:50:25.8907771+03:00</date>
  <dayId>2</dayId>
  <language>sample string 1</language>
  <level>3</level>
  <phase>4</phase>
</UserTrainingsByPhaseDTO>

multipart/form-data, application/form-data

Sample:
<UserTrainingsByPhaseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody"><accountId>1</accountId><date>2026-09-10T01:50:25.8907771+03:00</date><dayId>2</dayId><language>sample string 1</language><level>3</level><phase>4</phase></UserTrainingsByPhaseDTO>

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.