POST api/AdditionalServices/PutCheck

Редактировать Чеклист пользователя, требуется авторизация

Request Information

URI Parameters

None.

Body Parameters

UserCheckEditData
NameDescriptionTypeAdditional information
record_id

Идентификатор

integer

Required

description

Описание

string

String length: inclusive between 0 and 500

check_type_rid

Тип чеклиста

integer

Required

plan_date

Плановая дата

date

None.

notification

Признак уведомления

boolean

None.

done

Признак выполнения

boolean

None.

default_check_rid

Чеклист по умолчанию

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "record_id": 1,
  "description": "sample string 1",
  "check_type_rid": 1,
  "plan_date": "2025-07-26T18:28:55.9170567+05:00",
  "notification": true,
  "done": true,
  "default_check_rid": 1
}

text/html

Sample:
{"record_id":1,"description":"sample string 1","check_type_rid":1,"plan_date":"2025-07-26T18:28:55.9170567+05:00","notification":true,"done":true,"default_check_rid":1}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional 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}