Skip to main content

Hello Team,

I need to fetch data for schedule policy and using below apis *a* and *b* for that

  1. https://documentation.commvault.com/v11/essential/48764_rest_api_get_schedule_policy.html. Tried with http://<webservice>/SchedulePolicy on browser but this throws 404 error code.

whereas 

  1. http://<webconsole>/webconsole/api/Schedules?clientId=2 this works fine without any error.

Can you please help me with below queries:

  1. Are these both a and b api(s) return same data? 
  2. Need help on why “404 Not found” message while hitting api ‘a’ on browser?

 

@RMcG may be able to help with this one 😇


Hi Maggie

The HTTP 404 Not Found means the url you are trying is incorrect. Eg no resource found.

The API /SchedulePolicy does exist so please double check that the url you are trying is correct. 

“Tried with http://<webservice>/SchedulePolicy on browser but this throws 404 error code.”

Should be http://<webservicehost>/webconsole/api/SchedulePolicy