Skip to content

Создать объект страховки

POST

в поле type передается тип страховки, один из [CivilLiabilityInsurance, ExtAutoInsurance, LifeInsurance]. Поля у разных типов отличаются, описание для каждого типа можно найти в соответствующей модели [CreateCivilLiabilityInsuranceDTO, CreateExtAutoInsuranceDTO, CreateLifeInsuranceDTO];Id заявки и программы страхования - обязательны

Request Body

application/json
object
Format"double"
Format"int64"
Format"double"
Format"date-time"
Format"date-time"
Format"int64"
Format"int64"
Format"double"
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"