POST api/Children/ChildMonthPhoto
Фото ребенка месяц
Request Information
URI Parameters
None.
Body Parameters
Фото ребенка
ChildMonthPhoto| Name | Description | Type | Additional information |
|---|---|---|---|
| month_number |
Месяц |
integer |
Required Range: inclusive between 0 and 36 |
| child_rid |
Ребенок |
integer |
Required |
| photo_rid |
Значенине |
integer |
Required |
| text | string |
String length: inclusive between 0 and 200 |
Request Formats
application/json, text/json
Sample:
{
"month_number": 1,
"child_rid": 1,
"photo_rid": 1,
"text": "sample string 1"
}
text/html
Sample:
{"month_number":1,"child_rid":1,"photo_rid":1,"text":"sample string 1"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelAdd| Name | Description | Type | Additional information |
|---|---|---|---|
| record_id |
Идентификатор |
integer |
None. |
| 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:
{
"record_id": 1,
"success": true,
"Errors": [
"sample string 1",
"sample string 2"
],
"result": {},
"new_level": 1,
"add_bonus": 1.0
}
text/html
Sample:
{"record_id":1,"success":true,"Errors":["sample string 1","sample string 2"],"result":{},"new_level":1,"add_bonus":1.0}