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
shakila Gshakila G 

How to find The API in salesforce?

Hi All,

Am very new to API.In my salesforce org, somebody implemented the API. I don't know whether its REST/SOAP.

Now I want to do some changes in that. Kindly let me know, where I to find the respective API details in my Org.

 
Best Answer chosen by shakila G
mukesh guptamukesh gupta
Hi shakila,

Here s two points:- 

You can search in apex class by @RestResource, @HttpGet and @HttpPost.

if you have any issue then let me know.

Kindly mark my solution as the best answer if it helps you.


 Regards
Mukesh
 

All Answers

Amit Chaudhary 8Amit Chaudhary 8
You can find the class in Apex Classes.

Setup->Apex Classes
Richa williamsRicha williams
hai shakila, yes it is REST/SOAP.in API Salesforce (https://tekslate.com/salesforce-training/)
 you can find it in Apex classes and u can do the changes.
Thanks.
Sunil MadanaSunil Madana
Hi Shakila,
Follow the below steps;
1. Can you navigate to Setup-->Apex Classes in your org.
2. Search with Apex class name that was implemented by somebody and if you see @RestResource(urlMapping='/Sample/*')​, then it is REST.
3. If the class does not have the above, then it is SOAP.

I would suggest you refer to;
http://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_web_services.htm  (http://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_rest.htm)(SOAP)

http://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_rest.htm (REST)

Hope the above answer helps and please mark as correct answer so others can benefit from it.
stefnie kayallestefnie kayalle
For creating your API just follow the steps  Nipson
Go to  Cloud Platform Console.
From the list of projects, select a project or create a new one.
If the APIs & services page isn't already open, open the left side menu and select APIs & services.
On the left, choose Credentials.
Click Create credentials and then select API key.
 and for more query regarding the printers or technical issue just go to the Nipson printers customer service
Printers
and get the help
mukesh guptamukesh gupta
Hi shakila,

Here s two points:- 

You can search in apex class by @RestResource, @HttpGet and @HttpPost.

if you have any issue then let me know.

Kindly mark my solution as the best answer if it helps you.


 Regards
Mukesh
 
This was selected as the best answer