Hi @Vineet,
The error is due to how the query parameters are formatted. The API expects types
and statuses
as arrays, but they’re currently passed as strings.
Incorrect:
/rest/v2/contracts?types=global_payroll&statuses=in_progress
Correct:
/rest/v2/contracts?types[]=global_payroll&statuses[]=in_progress
Updating the request format should resolve the issue. Let us know if you need help adjusting it.