POST api/vendors/{id}/insurancepolicies
Add vendor insurance policy
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
|
integer |
Required |
Body Parameters
InsertComplianceInsuranceViewModelName | 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:13:56.9693888-04:00" }
application/xml, text/xml
Sample:
<InsertComplianceInsuranceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <ExpirationDate>2025-04-03T18:13:56.9693888-04:00</ExpirationDate> <InsuranceTypeId>1</InsuranceTypeId> </InsertComplianceInsuranceViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ComplianceInsuranceViewModel
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.