Vendor Compliance
  • 14 Mar 2024
  • 1 Minute to read
  • Dark
    Light

Vendor Compliance

  • Dark
    Light

Article summary

Managing contractual Certificate of Insurances (COI) in CMiC.
Active and to date compliance documents accessible and on file in CMiC for vendor requests for payment.

Step 1: Retrieve a specific PM Project

Retrieve project details for a specific company and project code using finder e.g.

finder=selectByCompProj;companyCode=001,projectCode=16-001

Request

curl --location --request GET 'https://mobtest.cmiccloudr12.com/cmictestrti/pm-rest-api/rest/1/pmproject?finder=selectByCompProj;companyCode=001,projectCode=16-001' \
--header 'Authorization: Basic Your-User:Pass'

Step 2: Retrieve vendor records

Request

curl --location --request GET 'https://mobtest.cmiccloudr12.com/cmictestrti/sys-rest-api/rest/1/businesspartner?finder=selectBusinessPartner;businessPartner=AGO' \
--header 'Authorization: Basic Your-User:Pass'

Step 3: Retrieve Subcontracts and Schedule of Values

Request

curl --location --request GET 'https://mobtest.cmiccloudr12.com/cmictestrti/pm-rest-api/rest/1/scmast?finder=selectByCompany; CompCodeVar=001' \
--header 'Authorization: Basic Your-User:Pass'

Step 4: Retrieve Vendor Compliance

Retrieve vendor compliance using finder e.g.

finder=selectByCompJobCMCode; companyCode=001, cmCode=EXT0001, jobCode=01JOB, typeCode=EXT

Request

curl --location --request GET 'https://mobtest.cmiccloudr12.com/cmictestrti/cm-rest-api/rest/1/cmmast?finder=selectByCompJobCMCode; companyCode=001, cmCode=EXT0001, jobCode=01JOB, typeCode=EXT' \
--header 'Authorization: Basic Your-User:Pass'

Step 5: Retrieve project documents

Request

curl --location --request GET 'https://mobtest.cmiccloudr12.com/cmictestrti/sys-rest-api/rest/1/sysrelateddocquery?finder=selectByObjectKey;ObjectType=PMCMN,ObjectKey1=001,ObjectKey2=20001210' \
--header 'Authorization: Basic Your-User:Pass'

Step 6: Retrieve AP insurance compliance

Request

curl --location --request GET 'https://mobtest.cmiccloudr12.com/cmictestrti/ap-rest-api/rest/1/manualcheck?finder=ChequeFinder;ChqNumVar=1020,CompCodeVar=001' \
--header 'Authorization: Basic Your-User:Pass'

Step 7: Update AP insurance compliance

Request

curl --location --request PATCH 'https://mobtest.cmiccloudr12.com/cmictestrti/ap-rest-api/rest/1/apinsurance/CF81CC9018E02D69E05316821FAC02F9' \
--header 'Content-Type: application/vnd.oracle.adf.resourceitem+json' \
--header 'Authorization: Basic Your-User:Pass' \
--data-raw '{
    "InsAmt" : 10000000
}'