You need to sign in to do that
Don't have an account?
Yogesh K Mishra
How to create a single rest API or URL to create, update and delete a record in salesforce?
How to create a single rest API or URL to create, update and delete a record in salesforce? The API can be call from other system Like logic app or ServiceNow.?
I want to create a single API to perform all the 3 operation in apex http call.
Requirement is we only need single URL, anyone can help, Much appriciated...
I want to create a single API to perform all the 3 operation in apex http call.
Requirement is we only need single URL, anyone can help, Much appriciated...
I think you can create a single custom rest resource and you can have annotation that can execute the method as per the request, below is an example:
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.
But if you really need just one method you can use parameters:
tks,