Salesforce · Schema

GetListViewRecords

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
count integer
currentPageToken string
currentPageUrl string
fields array
listInfoETag string
listReference object
nextPageToken string
nextPageUrl string
optionalFields array
pageSize integer
previousPageToken ['string', 'null']
previousPageUrl ['string', 'null']
records array
searchTerm ['string', 'null']
sortBy string
where ['string', 'null']
View JSON Schema on GitHub

JSON Schema

salesforce-get-list-view-records-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "example": 42
    },
    "currentPageToken": {
      "type": "string",
      "example": "CAUQAA"
    },
    "currentPageUrl": {
      "type": "string",
      "example": "https://www.example.com"
    },
    "fields": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "string"
      }
    },
    "listInfoETag": {
      "type": "string",
      "example": "example_value"
    },
    "listReference": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "example": "abc123"
        },
        "listViewApiName": {
          "type": "string",
          "example": "example_value"
        },
        "objectApiName": {
          "type": "string",
          "example": "example_value"
        },
        "type": {
          "type": "string",
          "example": "example_value"
        }
      },
      "required": [
        "id",
        "listViewApiName",
        "objectApiName",
        "type"
      ]
    },
    "nextPageToken": {
      "type": "string",
      "example": "CAUQAA"
    },
    "nextPageUrl": {
      "type": "string",
      "example": "https://www.example.com"
    },
    "optionalFields": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "string"
      }
    },
    "pageSize": {
      "type": "integer",
      "example": 10
    },
    "previousPageToken": {
      "type": "['string', 'null']",
      "example": "CAUQAA"
    },
    "previousPageUrl": {
      "type": "['string', 'null']",
      "example": "https://www.example.com"
    },
    "records": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "object",
        "properties": {
          "apiName": {
            "type": "string",
            "example": "example_value"
          },
          "childRelationships": {
            "type": "object",
            "example": "example_value"
          },
          "eTag": {
            "type": "string",
            "example": "example_value"
          },
          "fields": {
            "type": "object",
            "properties": {
              "BillingCountry": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "CreatedDate": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "string",
                    "example": "example_value"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "Id": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "string",
                    "example": "example_value"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "LastModifiedById": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "string",
                    "example": "example_value"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "LastModifiedDate": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "string",
                    "example": "example_value"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "Name": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "string",
                    "example": "example_value"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "Owner": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "string",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "object",
                    "properties": {
                      "apiName": {
                        "type": "object"
                      },
                      "childRelationships": {
                        "type": "object"
                      },
                      "eTag": {
                        "type": "object"
                      },
                      "fields": {
                        "type": "object"
                      },
                      "id": {
                        "type": "object"
                      },
                      "lastModifiedById": {
                        "type": "object"
                      },
                      "lastModifiedDate": {
                        "type": "object"
                      },
                      "recordTypeId": {
                        "type": "object"
                      },
                      "recordTypeInfo": {
                        "type": "object"
                      },
                      "systemModstamp": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "apiName",
                      "childRelationships",
                      "eTag",
                      "fields",
                      "id",
                      "lastModifiedById",
                      "lastModifiedDate"
                    ]
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "OwnerId": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "string",
                    "example": "example_value"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "Phone": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "Site": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "SystemModstamp": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "string",
                    "example": "example_value"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              },
              "Type": {
                "type": "object",
                "properties": {
                  "displayValue": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  },
                  "value": {
                    "type": "['string', 'null']",
                    "example": "example_value"
                  }
                },
                "required": [
                  "displayValue",
                  "value"
                ]
              }
            },
            "required": [
              "BillingCountry",
              "CreatedDate",
              "Id",
              "LastModifiedById",
              "LastModifiedDate",
              "Name",
              "Owner",
              "OwnerId",
              "Phone",
              "Site",
              "SystemModstamp",
              "Type"
            ]
          },
          "id": {
            "type": "string",
            "example": "abc123"
          },
          "lastModifiedById": {
            "type": "string",
            "example": "500123"
          },
          "lastModifiedDate": {
            "type": "string",
            "example": "example_value"
          },
          "recordTypeId": {
            "type": "string",
            "example": "500123"
          },
          "recordTypeInfo": {
            "type": "['string', 'null']",
            "example": "example_value"
          },
          "systemModstamp": {
            "type": "string",
            "example": "example_value"
          }
        },
        "required": [
          "apiName",
          "childRelationships",
          "eTag",
          "fields",
          "id",
          "lastModifiedById",
          "lastModifiedDate",
          "recordTypeId",
          "recordTypeInfo",
          "systemModstamp"
        ]
      }
    },
    "searchTerm": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "sortBy": {
      "type": "string",
      "example": "example_value"
    },
    "where": {
      "type": "['string', 'null']",
      "example": "example_value"
    }
  },
  "required": [
    "count",
    "currentPageToken",
    "currentPageUrl",
    "fields",
    "listInfoETag",
    "listReference",
    "nextPageToken",
    "nextPageUrl",
    "optionalFields",
    "pageSize",
    "previousPageToken",
    "previousPageUrl",
    "records",
    "searchTerm",
    "sortBy",
    "where"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GetListViewRecords"
}