Back to MarketoGet List by Id
Returns a list record by its id. Required Permissions: Read-Only Lead, Read-Write Lead
Input
type: object
properties:
parameters:
type: object
properties:
listId:
type: integer
format: int32
description: Id of the static list to retrieve records from
required:
- listId
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
nextPageToken:
type: string
description: Paging token given if the result set exceeded the allowed batch size
requestId:
type: string
description: Id of the request made
result:
type: array
description: Array of results for individual records in the operation, may be empty
items:
required:
- createdAt
- id
- name
- updatedAt
type: object
properties:
createdAt:
type: string
description: Datetime when the list was created
description:
type: string
description: Description of the static list
id:
type: integer
description: Unique integer id of the static list
format: int32
name:
type: string
description: Name of the static list
programName:
type: string
description: Name of the program
updatedAt:
type: string
description: Datetime when the list was most recently updated
workspaceName:
type: string
description: Name of the parent workspace, if applicable
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