GET api/vendors/{vendorId}/compliances
GET: api/vendors/{vendorId}/compliances Get a Vendor Compliance by vendorId
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
vendorId |
|
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetVendorComplianceViewModel
Collection of VendorComplianceDetailViewModelName | Description | Type | Additional information |
---|---|---|---|
CountryName |
|
string |
None. |
StateName |
|
string |
None. |
WorkflowStatus |
|
string |
None. |
ComplianceType |
|
string |
None. |
ComplianceStatus |
|
string |
None. |
VendorComplianceId |
Id |
integer |
None. |
VendorId |
VendorId |
integer |
None. |
ComplianceDate |
ComplianceDate |
date |
None. |
WorkflowStatusId |
|
integer |
Required |
ComplianceTypeId |
|
integer |
Required |
AllowWorkOrders |
|
boolean |
Required |
ComplianceStatusId |
|
integer |
Required |
StateCode |
|
string |
Required |
CountryCode |
|
string |
Required |
Response Formats
application/json, text/json
[ { "countryName": "sample string 1", "stateName": "sample string 2", "workflowStatus": "sample string 3", "complianceType": "sample string 4", "complianceStatus": "sample string 5", "vendorComplianceId": 6, "vendorId": 7, "complianceDate": "2025-04-03T17:53:46.3806389-04:00", "workflowStatusId": 1, "complianceTypeId": 1, "allowWorkOrders": true, "complianceStatusId": 10, "stateCode": "sample string 11", "countryCode": "sample string 12" }, { "countryName": "sample string 1", "stateName": "sample string 2", "workflowStatus": "sample string 3", "complianceType": "sample string 4", "complianceStatus": "sample string 5", "vendorComplianceId": 6, "vendorId": 7, "complianceDate": "2025-04-03T17:53:46.3806389-04:00", "workflowStatusId": 1, "complianceTypeId": 1, "allowWorkOrders": true, "complianceStatusId": 10, "stateCode": "sample string 11", "countryCode": "sample string 12" } ]
application/xml, text/xml
<ArrayOfVendorComplianceDetailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <VendorComplianceDetailViewModel> <AllowWorkOrders>true</AllowWorkOrders> <ComplianceStatusId>10</ComplianceStatusId> <ComplianceTypeId>1</ComplianceTypeId> <CountryCode>sample string 12</CountryCode> <StateCode>sample string 11</StateCode> <WorkflowStatusId>1</WorkflowStatusId> <ComplianceDate>2025-04-03T17:53:46.3806389-04:00</ComplianceDate> <VendorComplianceId>6</VendorComplianceId> <VendorId>7</VendorId> <ComplianceStatus>sample string 5</ComplianceStatus> <ComplianceType>sample string 4</ComplianceType> <CountryName>sample string 1</CountryName> <StateName>sample string 2</StateName> <WorkflowStatus>sample string 3</WorkflowStatus> </VendorComplianceDetailViewModel> <VendorComplianceDetailViewModel> <AllowWorkOrders>true</AllowWorkOrders> <ComplianceStatusId>10</ComplianceStatusId> <ComplianceTypeId>1</ComplianceTypeId> <CountryCode>sample string 12</CountryCode> <StateCode>sample string 11</StateCode> <WorkflowStatusId>1</WorkflowStatusId> <ComplianceDate>2025-04-03T17:53:46.3806389-04:00</ComplianceDate> <VendorComplianceId>6</VendorComplianceId> <VendorId>7</VendorId> <ComplianceStatus>sample string 5</ComplianceStatus> <ComplianceType>sample string 4</ComplianceType> <CountryName>sample string 1</CountryName> <StateName>sample string 2</StateName> <WorkflowStatus>sample string 3</WorkflowStatus> </VendorComplianceDetailViewModel> </ArrayOfVendorComplianceDetailViewModel>