1

I am doing a trailhead Apex Web Services: https://trailhead.salesforce.com/modules/apex_integration_services/units/apex_integration_webservices

When I follow the tutorial at the part Apex REST Walkthrough I created the class CaseManager logged into workbench and try to make a case with the URI /services/apexrest/Cases/ I get the error:

Service not found at: /services/apexrest/Cases/

Why is this? With The Rest API tutorial I had no Issues

1
  • 2
    In case you've namespace enabled then add it in your request like this: /services/apexrest/your_namespace/Cases/ Commented Nov 14, 2017 at 9:32

1 Answer 1

2

This URL works fine - /services/data/v41.0/sobjects/Case

3
  • Thanks! for the answer tried that with cases 1 s too much
    – Jenssen
    Commented Nov 14, 2017 at 9:41
  • @Rahul If I would do a get wouldnt my uri be: /services/data/v41.0/sobjects/Case/5000Y00000KpzCUQAZ ???
    – Jenssen
    Commented Nov 14, 2017 at 14:05
  • I did not answer it, but yes that should be it. Best way to know is to check from Salesforce workbench's rest explorer.
    – Raul
    Commented Nov 14, 2017 at 14:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .