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 ofresponseCodereflects 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 ordefault. 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
defaultand of typeStringreturns the external call's response as a string. - These response content types are supported:
application/jsonapplication/octet-streamapplication/x-www-form-urlencodedtext/plain
responses: '200': description: Successful response content: application/json: schema: type: object

