Deprecated API - /api/v2/workforcemanagement/managementunits/{managementUnitId}/activitycodes

Team,

Looks like we have a deprecated API -
/api/v2/workforcemanagement/managementunits/{managementUnitId}/activitycodes

do we an alternate API, unable to find information regarding this. Please assist.

Note: Came across a similar query in this forum posted on May 2020, which states that the activitycode API will be activated.

Thanks,
Sathish

Hi Satish,

Use GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes. It returns the same data as /api/v2/workforcemanagement/managementunits/{managementUnitId}/activitycodes. The management unit one essentially just looks up the business unit of the management unit behind the scenes.

Regards,
Declan

1 Like

Got it. Thanks for the information Declan. Appreciate it.

Regards,
Sathish

Wanted to note that an update to the documentation on the deprecated route to point at the new route should be coming in the near future. Thanks for pointing out this deficiency in our documentation.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.