Обновить объект страховки по id
PUT
поле type содержит тип страховки, один из [CivilLiabilityInsurance, ExtAutoInsurance, LifeInsurance]. Поля у разных типов отличаются, описание для каждого типа можно найти в соответствующей модели [CivilLiabilityInsuranceDTO, ExtAutoInsuranceDTO, LifeInsuranceDTO]
Parameters
Path Parameters
id*
id
Type
Requiredinteger
Format
"int64"Request Body
application/json
amount
number
Format
"double"code
string
contractId
integer
Format
"int64"cost
number
Format
"double"creationDate
string
expirationDate
string
id
integer
Format
"int64"includeInLoanAmount
boolean
insuranceAccountId
integer
Format
"int64"insuranceProgramId
integer
Format
"int64"loanApplicationId
integer
Format
"int64"newExpirationDate
object
date
integer
Format
"int32"hours
integer
Format
"int32"minutes
integer
Format
"int32"month
integer
Format
"int32"nanos
integer
Format
"int32"seconds
integer
Format
"int32"time
integer
Format
"int64"year
integer
Format
"int32"premium
number
Format
"double"signDate
object
date
integer
Format
"int32"hours
integer
Format
"int32"minutes
integer
Format
"int32"month
integer
Format
"int32"nanos
integer
Format
"int32"seconds
integer
Format
"int32"time
integer
Format
"int64"year
integer
Format
"int32"signed
boolean
smsCode
string
terminationDate
object
date
integer
Format
"int32"hours
integer
Format
"int32"minutes
integer
Format
"int32"month
integer
Format
"int32"nanos
integer
Format
"int32"seconds
integer
Format
"int32"time
integer
Format
"int64"year
integer
Format
"int32"Responses
OK
*/*
DefaultResponseOflong
object
data
integer
Format
"int64"status
string
Статус операции
Valid values
"error""ok"timestamp
integer
Возвращается дата+время(ядра) в формате unix timestamp в миллисекундах
Format
"int64"