Newer Version Available

This content describes an older version of this product. View Latest

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