SF API Topic and Action Enablement
operation-only-one-response-code
general > operation-only-one-response-code
Guidance / Message
For API operations enabled as agent actions only the lowest 2xx response will be used, any other response code will be ignored.
Examples
valid
get:
x-sfdc:
agent:
action:
publishAsAgentAction: true
responses:
"200":
description: an operation
invalid
get:
x-sfdc:
agent:
action:
publishAsAgentAction: true
responses:
"200":
description: an operation
"201":
description: an operation
Applies to Operation