Back to MarketoGet Custom Object Dependent Assets
Returns a list of dependent assets for a custom object type, including their in-instance location. Required Permissions: Read-Only Custom Object Type, Read-Write Custom Object Type
Input
type: object
properties:
parameters:
type: object
properties:
apiName:
type: string
description: REST API name for custom object
required:
- apiName
title: Parameters
Output
required:
- errors
- requestId
- result
- success
- warnings
type: object
properties:
errors:
type: array
description: Array of errors that occurred if the request was unsuccessful
items:
required:
- code
- message
type: object
properties:
code:
type: string
description: >-
Error code of the error. See full list of error codes <a
href="https://developers.marketo.com/rest-api/error-codes/">here</a>
message:
type: string
description: Message describing the cause of the error
requestId:
type: string
description: Id of the request made
result:
type: array
description: List of dependent assets for a custom object type
items:
required:
- assetId
- assetName
- assetType
type: object
properties:
assetType:
type: string
description: Type of asset
assetId:
type: integer
description: ID of asset
format: int32
assetName:
type: string
description: Name of asset
usedFields:
type: array
description: List of associated fields
items:
type: string
success:
type: boolean
description: Whether the request succeeded
example: false
warnings:
type: array
description: Array of warnings given for the operation
items:
required:
- code
- message
type: object
properties:
code:
type: integer
description: Integer code of the warning
format: int32
message:
type: string
description: Message describing the warning