Создать объект страховки
POST
в поле type передается тип страховки, один из [CivilLiabilityInsurance, ExtAutoInsurance, LifeInsurance]. Поля у разных типов отличаются, описание для каждого типа можно найти в соответствующей модели [CreateCivilLiabilityInsuranceDTO, CreateExtAutoInsuranceDTO, CreateLifeInsuranceDTO];Id заявки и программы страхования - обязательны
Request Body
application/json
amount
number
Format
"double"code
string
contractId
integer
Format
"int64"cost
number
Format
"double"creationDate
string
Format
"date-time"expirationDate
string
Format
"date-time"includeInLoanAmount
boolean
insuranceProgramId
integer
Required
Format
"int64"loanApplicationId
integer
Required
Format
"int64"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
Responses
OK
*/*
DefaultResponseOflong
object
data
integer
Format
"int64"status
string
Статус операции
Valid values
"error""ok"timestamp
integer
Возвращается дата+время(ядра) в формате unix timestamp в миллисекундах
Format
"int64"