SF API Topic and Action Enablement
no-nested-object-request
general > no-nested-object-request
Guidance / Message
Nested objects are not allowed in requests
Examples
valid
get:
x-sfdc:
agent:
action:
publishAsAgentAction: true
requestBody:
content:
application/json:
schema:
type: string
invalid
get:
x-sfdc:
agent:
action:
publishAsAgentAction: true
requestBody:
content:
application/json:
schema:
type: object
properties:
nestedObject:
type: object
properties:
nestedProperty:
type: string
Applies to Operation