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

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"