Тёмный

APEX REST GET,POST,PUT,PATCH,DELETE METHODS WITH IMPLEMENTATION SALESFORCE || POSTMAN | WORKBENCH 

Fun with Salesforce
Подписаться 281
Просмотров 727
50% 1

In Salesforce's Apex REST API, you can define methods that correspond to HTTP request methods such as GET, POST, PUT, and DELETE. These methods allow you to perform different actions on your resources (data) using RESTful principles. Here are the key methods and their purposes:
HTTP GET Method:
Purpose: Retrieve data from the server.
Apex Method Annotation: @HttpGet
Example Use: You can use the GET method to retrieve records from Salesforce objects.
HTTP POST Method:
Purpose: Create new data on the server.
Apex Method Annotation: @HttpPost
Example Use: Use the POST method to create new records in Salesforce objects.
HTTP PUT Method:
Purpose: Update existing data on the server.
Apex Method Annotation: @HttpPut
Example Use: You can use the PUT method to update existing records in Salesforce objects.
HTTP DELETE Method:
Purpose: Delete data from the server.
Apex Method Annotation: @HttpDelete
Example Use: The DELETE method can be used to delete records from Salesforce objects.
#salesforce #salesforceadministrator #salesforceapex #crm
#apex

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Cloud Design Patterns
3:40:10
Просмотров 956
Salesforce Test Apex REST Callouts (HttpCalloutMock)
20:49
Apex: Basic REST Callouts | Developer Quick Takes
16:33
Http Methods
5:25
Просмотров 270 тыс.