PUT api/ContractInsurance

Update Insurance

Request Information

URI Parameters

None.

Body Parameters

ContractInsurance
NameDescriptionTypeAdditional information
ContractInsuranceId

integer

None.

ContractId

integer

None.

InsuranceType

integer

None.

Name

string

None.

Number

string

None.

Expiration

date

None.

EventFee

string

None.

YearFee

string

None.

Request Formats

application/json, text/json

Sample:
{
  "contractInsuranceId": 1,
  "contractId": 2,
  "insuranceType": 3,
  "name": "sample string 4",
  "number": "sample string 5",
  "expiration": "2025-12-08T04:04:45.9149296Z",
  "eventFee": "sample string 6",
  "yearFee": "sample string 7"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ContractInsurance'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.