Newer Version Available
sObject Basic Information
Describes the individual metadata for the specified object. Can also be used to create a new record for a given object. For example, this can be used to retrieve the metadata for the Account object using the GET method, or create a new Account object using the POST method.
- URI
- /services/data/vXX.X/sobjects/sObject/
- Formats
- JSON, XML
- HTTP Method
- GET, POST
- Authentication
- Authorization: Bearer token
- Parameters
-
Parameter Description Content-Type An optional header, which can only be used with POST, specifying the format for the request and response. Possible choices are:- Content-Type: application/json
- Content-Type: application/xml
sObject The name of the object. For example, Account.
A required path parameter.
- Examples
-
- For an example of retrieving metadata for an object, see Retrieve Metadata for an Object.
- For an example of creating a new record using POST, see Create a Record.
- For an example of create a new record along with providing blob data for the record, see Insert or Update Blob Data.