Skip to content

Обновить объект страховки по id

PUT

поле type содержит тип страховки, один из [CivilLiabilityInsurance, ExtAutoInsurance, LifeInsurance]. Поля у разных типов отличаются, описание для каждого типа можно найти в соответствующей модели [CivilLiabilityInsuranceDTO, ExtAutoInsuranceDTO, LifeInsuranceDTO]

Parameters

Path Parameters

id*

id

Type
integer
Required
Format
"int64"

Request Body

application/json
object
Format"double"
Format"int64"
Format"double"
Format"int64"
Format"int64"
Format"int64"
Format"int64"
object
Format"int32"
Format"int32"
Format"int32"
Format"int32"
Format"int32"
Format"int32"
Format"int64"
Format"int32"
Format"double"
object
Format"int32"
Format"int32"
Format"int32"
Format"int32"
Format"int32"
Format"int32"
Format"int64"
Format"int32"
object
Format"int32"
Format"int32"
Format"int32"
Format"int32"
Format"int32"
Format"int32"
Format"int64"
Format"int32"

Responses

OK

*/*
object
Format"int64"

Статус операции

Valid values"error""ok"

Возвращается дата+время(ядра) в формате unix timestamp в миллисекундах

Format"int64"