PUT api/vendors/{id}/insurancepolicies/{complianceInsuranceId}
Update vendor insurance policy
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
|
integer |
Required |
complianceInsuranceId |
|
integer |
Required |
Body Parameters
BaseInsertUpdateComplianceInsuranceViewModelName | Description | Type | Additional information |
---|---|---|---|
InsuranceTypeId |
InsuranceTypeId |
integer |
Required |
ExpirationDate |
ExpirationDate |
date |
Required Data type: DateTime |
Request Formats
application/json, text/json
Sample:
{ "insuranceTypeId": 1, "expirationDate": "2025-04-03T18:15:03.6784831-04:00" }
application/xml, text/xml
Sample:
<BaseInsertUpdateComplianceInsuranceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <ExpirationDate>2025-04-03T18:15:03.6784831-04:00</ExpirationDate> <InsuranceTypeId>1</InsuranceTypeId> </BaseInsertUpdateComplianceInsuranceViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.