function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Richard Hill 18Richard Hill 18 

Need clarity on forecast REST API

Hi,

 I wanna get forecast information using Salesforce REST API. Using the URL: https://um1.salesforce.com/services/data/v48.0/connect/forecasting/user-access  But I am getting the following response "The requested resource does not exist"

Best Answer chosen by Richard Hill 18
SwethaSwetha (Salesforce Developers) 
HI Richard,

As per https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_forecasting_is_shared_or_subordinate.htm ,the Resource /connect/forecasting/user-access is available for versions 36.0–42.0 .So, can you try using something like 

https://um1.salesforce.com/services/data/v42.0/connect/forecasting/user-access and let me know if it works?

Please mark this as best answer if it helps so that others facing same issue can be helped.

Thanks
 

All Answers

SwethaSwetha (Salesforce Developers) 
HI Richard,

As per https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_forecasting_is_shared_or_subordinate.htm ,the Resource /connect/forecasting/user-access is available for versions 36.0–42.0 .So, can you try using something like 

https://um1.salesforce.com/services/data/v42.0/connect/forecasting/user-access and let me know if it works?

Please mark this as best answer if it helps so that others facing same issue can be helped.

Thanks
 
This was selected as the best answer
Richard Hill 18Richard Hill 18

Hi Swetha,

Above answer is correct, I wanna get the complete forecast information using REST API. For that I have referred the following page "https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_forecasting.htm".  Also mentioned the URL: "https://um1.salesforce.com/services/data/v48.0/connect/forecasting/user-access" not working in the question. It's working on v42.0. How do I get the complete forecast information?