---
schema_version: "1"
id: 2ffddbfc44ce73dd58a1e6765251c9572db2c066bd63d7bfba5aa137ec6bd3e6
title: Examples
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/api-rest/guides/do-me/dome-user-tasks.md
canonical_url: https://developer.salesforce.com/docs/platform/api-rest/guide/dome-user-tasks.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: cfade9196b7dad4618df45b962f7fe1cbaba433e718a2a511017d90f05e71d9e
products:
  - REST API Developer Guide
  - Platform Developer Content
---

# Examples

This section provides examples of using REST API resources to do a variety of different tasks, including working with objects, organization information, and queries.

For complete reference information on REST API resources, see [Reference](https://developer.salesforce.com/docs/platform/api-rest/resources/resources-list.md).

1.  [Getting Information About My Organization](https://developer.salesforce.com/docs/platform/api-rest/guide/using-resources-getting-info-about-my-org.md)  


    The examples in this section use REST API resources to retrieve organization-level information, such as a list of all objects available in your organization.

2.  [Working with Object Metadata](https://developer.salesforce.com/docs/platform/api-rest/guide/using-resources-working-with-object-metadata.md)  


    The examples in this section use REST API resources to retrieve object metadata information. For modifying or creating object metadata information, see the Metadata API Developer Guide.

3.  [Working with Records](https://developer.salesforce.com/docs/platform/api-rest/guide/using-resources-working-with-records.md)  


    The examples in this section use REST API resources to create, retrieve, update, and delete records, along with other record-related operations.

4.  [Delete Lightning Experience Event Series](https://developer.salesforce.com/docs/platform/api-rest/guide/dome-event-series-delete.md)  


    Use the HTTP DELETE method to remove one or more IsRecurrence2 events in a series. You can remove a single event, all events following and including a specific event, or an entire event series.

5.  [Working with Searches and Queries](https://developer.salesforce.com/docs/platform/api-rest/guide/using-resources-working-with-searches-and-queries.md)  


    The examples in this section use REST API resources to search and query records using Salesforce Object Search Language (SOSL) and Salesforce Object Query Language (SOQL), and other search APIs.

6.  [Get an Image from a Rich Text Area Field](https://developer.salesforce.com/docs/platform/api-rest/guide/dome-sobject-rich-text-image-retrieve.md)  


    Use the sObject Rich Text Image Get resource to retrieve an image from a rich text area field. In this example, we retrieve an image from a custom rich text field of a Lead record called `LeadPhotoRichText__c`. We assume that an image has already been uploaded to this field.

7.  [Insert or Update Blob Data](https://developer.salesforce.com/docs/platform/api-rest/guide/dome-sobject-insert-update-blob.md)  


    You can use the sObject Basic Information, sObject Rows, or sObject Collections resources to insert or update binary large objects (blobs) in Salesforce, such as images or PDFs. You can upload files or binary data of any type to any standard object that contains a blob field.

8.  [Get Blob Data](https://developer.salesforce.com/docs/platform/api-rest/guide/dome-sobject-blob-retrieve.md)  


    Use the sObject Blob Get resource to get blob data for a given record. To get blob data, a record with blob data must exist in Salesforce.

9.  [Working with Recently Viewed Information](https://developer.salesforce.com/docs/platform/api-rest/guide/using-resources-working-with-recently-viewed.md)  


    The examples in this section use REST API Query and Recently Viewed resources to programmatically retrieve and update recently viewed record information.

10. [Managing User Passwords](https://developer.salesforce.com/docs/platform/api-rest/guide/using-resources-managing-user-passwords.md)  


    The examples in this section use REST API resources to manage user passwords, such as setting or resetting passwords.

11. [Working with Approval Processes and Process Rules](https://developer.salesforce.com/docs/platform/api-rest/guide/using-resources-working-with-processes.md)  


    The examples in this section use REST API resources to work with approval processes and process rules.

12. [Using Event Monitoring](https://developer.salesforce.com/docs/platform/api-rest/guide/using-resources-event-log-files.md)  


    These examples use REST API event monitoring data that contains information useful for assessing org usage trends and user behavior. Event monitoring is accessed through the Lightning Platform SOAP API and REST API by way of the EventLogFile object. Therefore, you can integrate log data with your own back-end storage and data marts to correlate data from multiple orgs and across disparate systems.

13. [Using Composite Resources](https://developer.salesforce.com/docs/platform/api-rest/guide/using-composite-resources.md)  


    The examples in this section use composite resources to improve your application’s performance by minimizing the number of round-trips between the client and server.


