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

The identifier of the created item of the "Invoices" lookup

Format"int64"

If the element is successfully added to the directory, the status "ok" is returned. Otherwise, an error is returned

Valid values"error""ok"

Returns the date + time (kernel) in unix timestamp format in milliseconds

Format"int64"