POST api/User/CycleData
Добавление отметки цикла
Request Information
URI Parameters
None.
Body Parameters
CycleDtoName | Description | Type | Additional information |
---|---|---|---|
checkDate |
Дата |
date |
Required |
finish |
Окончание месячных |
boolean |
None. |
pain |
Уровень боли |
Pain |
Required Range: inclusive between 1 and 3 |
leakSize |
Размер утечки |
LeakSize |
Required Range: inclusive between 1 and 3 |
symptom |
Симптом |
Symptom |
Required Range: inclusive between 1 and 3 |
Request Formats
application/json, text/json
Sample:
{ "checkDate": "2025-07-26T18:16:56.5719528+05:00", "finish": true, "pain": 1, "leakSize": 1, "symptom": 1 }
text/html
Sample:
{"checkDate":"2025-07-26T18:16:56.5719528+05:00","finish":true,"pain":1,"leakSize":1,"symptom":1}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelName | Description | Type | Additional information |
---|---|---|---|
success |
Успешность запроса true, false |
boolean |
None. |
Errors |
Ошибка запроса |
Collection of string |
None. |
result |
Объект |
Object |
None. |
new_level |
Новый уровень |
integer |
None. |
add_bonus |
Добавленный бонус |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "Errors": [ "sample string 1", "sample string 2" ], "result": {}, "new_level": 1, "add_bonus": 1.0 }
text/html
Sample:
{"success":true,"Errors":["sample string 1","sample string 2"],"result":{},"new_level":1,"add_bonus":1.0}