The APIs specific to constraints, to get the constraint count from various components and work packages, are listed.
Get the constraint count for all the components
Fetches the number of open constraints and total number of constraints, grouped by purpose for components available in the Smart Construction database.
GET {{url}}/Components?$expand=SPC_PurposeData
Get the constraint count for IWPs
Fetches the number of open constraints and total number of constraints for IWPs available in the Smart Construction database.
GET {{url}}/IWPs