Actions20
- Get Contact By ID
- Get Contact Phone By Contact ID
- Get Address By ID
- Get Inquiry By ID
- Get Job By ID
- Get Primary Lead Source By ID
- Get Secondary Lead Source By ID
- Get Jobs By Inquiry ID
- Get Contract By Job ID
- List Inquiry Statuses
- List Employees
- List Lead Sources
- List Product Types
- List Jobs
- List Inquiries
- List Custom Fields
- List Entity Set (Advanced)
- Get Service Document
- Submit Lead Capture
- Get Metadata
List Entity Set (Advanced)
AI-generatedSummary
List rows from any specified MarketSharp OData entity set, supporting optional OData v3 query parameters for filtering, ordering, and selecting properties, with pagination handling and client-side active-row filtering.
Inputs
- Entity Set Name or ID (required) — The OData entity set to list, chosen from a dynamic list or specified via expression.
- Filter ($filter) — An OData v3 formatted $filter expression to restrict rows returned, supporting string and datetime literals.
- Order By ($orderby) — An OData $orderby expression to sort returned rows.
- Select ($select) — Comma-separated entity property names to return; omitting this returns all properties.
- Return All — Boolean flag to return all available rows (true) or limit to a specified count (false). Defaults to true.
- Limit — Maximum number of results to return when 'Return All' is false; minimum 1, default 50.
Output shape
a list of JSON objects, each representing a row from the specified entity set after applying optional filters, ordering, and selection. Each output item is paired with the input item index.
When 'Return All' is false, output rows are limited to the specified 'Limit'. The operation performs server-side paging to retrieve results. The client-side active-only filtering (on 'isActive' field) does not apply for this advanced operation. Errors from MarketSharp are surfaced with detailed messages to assist in troubleshooting.
Examples
Example 1: List all rows from the 'Contacts' entity set with 'isActive eq true' filter and select only 'id' and 'name' properties.
Entity Set Name or ID: 'Contacts'; Filter: "isActive eq true"; Select: "id,name"; Return All: true.
Example 2: List up to 10 rows from the 'Jobs' entity set ordered by 'lastUpdate desc'.
Entity Set Name or ID: 'Jobs'; Order By: 'lastUpdate desc'; Return All: false; Limit: 10.