Retrieve

Retrieves a single sObject record by object ID.

If you provide a list of fields, Mobile SDK retrieves only those fields. Otherwise, it returns all accessible standard and custom fields.

  • API version (string, optional)
  • Object type (string)
  • Object ID (string)
  • Field list (list of strings, optional)

In iOS, the fieldList parameter expects a comma-separated list of field names, or nil.

Swift

Objective-C

Kotlin

Java