Headers

Use headers in Metadata API calls to set options for each call.

  • AllOrNoneHeader - Indicates whether to roll back all metadata changes when some of the records in a call result in failures.

  • CallOptions - Specifies the API client identifier.

  • DebuggingHeader - Specifies that the deployment result contains the debug log output, and specifies the level of detail included in the log. The debug log contains the output of Apex tests that are executed as part of a deployment.

  • SessionHeader - Specifies the session ID that the login call returns. This session ID is used to authenticate all subsequent Metadata API calls.