Loading
Extend Salesforce with Clicks, Not Code
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Operation Output Parameters

          Operation Output Parameters

          Learn about how External Services interprets an operation's output parameters.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Performance, Unlimited, and Developer Editions
          • Every operation captures the HTTP response code with an output parameter responseCode. The value of responseCode reflects the HTTP response code after the external call completes.

          • If the operation’s response parameter (OpenAPI) is defined under an HTTP response code value or is defined as default, then the operation output parameter name is the HTTP response code value or default. For an output parameter object type, its name contains the HTTP response code value.

          • For all operations where the HTTP response codes aren't defined in the OpenAPI specification, the default output parameter with name default and of type String returns the external call's response as a string.

          • These response content types are supported:
            • application/json
            • application/octet-stream
            • application/x-www-form-urlencoded
            • text/plain
            The response content type is specified in the responses section of the spec. For example:
              responses:
                '200':
                  description: Successful response
                  content:
                    application/json:
                      schema:
                        type: object
           
          Loading
          Salesforce Help | Article