PUT api/vendors/{vendorId}/compliances/{complianceId}
PUT: api/vendors/{vendorId}/compliances/{complianceId} Update a Vendor Compliance
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| vendorId |
int |
integer |
Required |
| complianceId |
int |
integer |
Required |
Body Parameters
VendorComplianceViewModel
UpdateVendorComplianceViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ComplianceDate |
|
date |
Required |
| WorkflowStatusId |
|
integer |
Required |
| ComplianceTypeId |
|
integer |
Required |
| AllowWorkOrders |
|
boolean |
Required |
| ComplianceStatusId |
|
integer |
Required |
| StateCode |
|
string |
Required |
| CountryCode |
|
string |
Required |
Request Formats
application/json, text/json
{
"complianceDate": "2025-10-29T04:41:49.0930965-04:00",
"workflowStatusId": 1,
"complianceTypeId": 1,
"allowWorkOrders": true,
"complianceStatusId": 2,
"stateCode": "sample string 3",
"countryCode": "sample string 4"
}
application/xml, text/xml
<UpdateVendorComplianceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <AllowWorkOrders>true</AllowWorkOrders> <ComplianceStatusId>2</ComplianceStatusId> <ComplianceTypeId>1</ComplianceTypeId> <CountryCode>sample string 4</CountryCode> <StateCode>sample string 3</StateCode> <WorkflowStatusId>1</WorkflowStatusId> <ComplianceDate>2025-10-29T04:41:49.0930965-04:00</ComplianceDate> </UpdateVendorComplianceViewModel>
application/x-www-form-urlencoded
Response Information
Resource Description
VendorComplianceViewModel
UpdateVendorComplianceViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ComplianceDate |
|
date |
Required |
| WorkflowStatusId |
|
integer |
Required |
| ComplianceTypeId |
|
integer |
Required |
| AllowWorkOrders |
|
boolean |
Required |
| ComplianceStatusId |
|
integer |
Required |
| StateCode |
|
string |
Required |
| CountryCode |
|
string |
Required |
Response Formats
application/json, text/json
{
"complianceDate": "2025-10-29T04:41:49.0930965-04:00",
"workflowStatusId": 1,
"complianceTypeId": 1,
"allowWorkOrders": true,
"complianceStatusId": 2,
"stateCode": "sample string 3",
"countryCode": "sample string 4"
}
application/xml, text/xml
<UpdateVendorComplianceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <AllowWorkOrders>true</AllowWorkOrders> <ComplianceStatusId>2</ComplianceStatusId> <ComplianceTypeId>1</ComplianceTypeId> <CountryCode>sample string 4</CountryCode> <StateCode>sample string 3</StateCode> <WorkflowStatusId>1</WorkflowStatusId> <ComplianceDate>2025-10-29T04:41:49.0930965-04:00</ComplianceDate> </UpdateVendorComplianceViewModel>