{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Sorting, filtering and pagination","description":"With the LawVu API, developers can build custom workflows and add-ons for LawVu customers","siteUrl":"https://developer.lawvu.com","keywords":"lawvu api, lawvu developer, legal tech, integrations, lawvu power platform connector","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"sorting-filtering-and-pagination","__idx":0},"children":["Sorting, filtering and pagination"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Learn how to use OData query options to filter, sort, and paginate results in the LawVu API"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The LawVu API supports a subset of the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.odata.org/documentation/"},"children":["OData query language"]}," to enable filtering, sorting, and pagination of collection resources. This guide explains how to use these query options effectively."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"supported-query-options","__idx":1},"children":["Supported query options"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following OData query options are supported:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Query Option"},"children":["Query Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$filter"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Filter the results based on field values"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$orderby"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sort the results by one or more fields"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$top"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Limit the number of results returned"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$skip"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Skip a specified number of results (for pagination)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"pagination","__idx":2},"children":["Pagination"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$top"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$skip"]}," to paginate through large result sets."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"top","__idx":3},"children":["$top"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Limits the number of results returned in the response."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Default value:"]}," 30"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Maximum value:"]}," 200"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Minimum value:"]}," 1"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"# Limit results to 10 items\nGET /v2/matters?$top=10\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"skip","__idx":4},"children":["$skip"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Skips a specified number of results. Use this in combination with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$top"]}," to implement pagination."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Default value:"]}," 0"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Minimum value:"]}," 0"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"# Skip the first 30 results and return the next 10\nGET /v2/matters?$skip=30&$top=10\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"pagination-example","__idx":5},"children":["Pagination example"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To retrieve results in pages of 10:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"# Retrieve the first 10 results\nGET /v2/matters?$top=10\n\n# Skip the first 10 results and retrieve the next 10\nGET /v2/matters?$top=10&$skip=10\n\n# Page 3: Skip the first 20 results and retrieve the next 10\nGET /v2/matters?$top=10&$skip=20\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sorting-with-orderby","__idx":6},"children":["Sorting with $orderby"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sort results by one or more fields using the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$orderby"]}," query option. Each field can be sorted in ascending (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["asc"]},") or descending (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["desc"]},") order."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"syntax","__idx":7},"children":["Syntax"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$orderby=field [asc|desc]\n$orderby=field1 [asc|desc],field2 [asc|desc]\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If no direction is specified, ascending order is used by default."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"examples","__idx":8},"children":["Examples"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sort by name in ascending order:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"# Sort matters alphabetically by name (A-Z)\nGET /v2/matters?$orderby=Name asc\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sort by name in descending order:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"# Sort matters reverse-alphabetically by name (Z-A)\nGET /v2/matters?$orderby=Name desc\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sort by multiple fields:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"# Sort by name ascending, then by status descending\nGET /v2/matters?$orderby=Name asc,Status desc\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," Not all fields support sorting. Refer to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#supported-resources"},"children":["Supported resources"]}," section below for a list of sortable fields for each resource type."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"filtering-with-filter","__idx":9},"children":["Filtering with $filter"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$filter"]}," query option allows you to filter results based on field values using comparison operators, logical operators, and collection operators."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"comparison-operators","__idx":10},"children":["Comparison operators"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Operator"},"children":["Operator"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eq"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Equal"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Name eq 'Project Alpha'"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eq null"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Equal null"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Name eq null"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ne"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not equal"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Status ne 'Active'"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ne null"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not equal null"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Name ne null"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["gt"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Greater than"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Created/DateUtc gt '2024-01-01'"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ge"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Greater than or equal"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Created/DateUtc ge '2024-01-01T12:30:00Z'"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lt"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Less than"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Id lt 1234"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["le"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Less than or equal"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Fields/slider le 5"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contains"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Contains(name, 'Alpha')"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"filter-examples","__idx":11},"children":["Filter examples"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"# Filter by exact match\nGET /v2/matters?$filter=Status eq 'Active'\n\n# Filter by greater than\nGET /v2/matters?$filter=Created/DateUtc gt '2024-01-01'\n\n# Filter where a field is null\nGET /v2/matters?$filter=ExternalId eq null\n\n# Filter where a field is not null\nGET /v2/matters?$filter=ExternalId ne null\n\n# Filter by contains\nGET /v2/matters?$filter=contains(Name, 'Alpha')\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," Not all fields support all comparisons. Refer to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#supported-resources"},"children":["Supported resources"]}," section below for a list of sortable fields for each resource type."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"logical-operators","__idx":12},"children":["Logical operators"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Combine multiple conditions using logical operators:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Operator"},"children":["Operator"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["and"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Logical AND"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Status eq 'Active' and Restricted eq false"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["or"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Logical OR"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Status eq 'Active' or Status eq 'Draft'"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"collection-operators","__idx":13},"children":["Collection operators"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["any"]}," operator iterates over a collection and returns true if at least one item matches the specified condition."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"collectionProperty/any(property:property <operator> <value>)\ncollectionProperty/any(property:property/subProperty <operator> <value>)\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Where:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["collectionProperty"]}," is the path to the collection"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["property"]}," is a lambda variable representing each item in the collection"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subProperty"]}," is a reference to a sub property on the collection entity when the entity is another entity"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["operator"]}," is a comparison operator"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["value"]}," is the value to apply the operator to"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"filter-examples-1","__idx":14},"children":["Filter examples"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"# Filter matters where the lookup field contains 'option_a'\nGET /v2/matters?$filter=Fields/lookup/any(lookup:lookup/value eq 'option_a')\n\n# Filter matters where the lookup field contains either 'option_a' or 'option_b'\nGET /v2/matters?$filter=Fields/lookup/any(lookup:lookup/value eq 'option_a' or lookup/value eq 'option_b')\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["any"]}," operator only supports ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["or"]}," logic within the lambda expression. Using ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["and"]}," logic within an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["any"]}," expression is not supported."]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," Not all collection properties support the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["any"]}," operator. Refer to the specific endpoint documentation and the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#supported-resources"},"children":["Supported resources"]}," section in this guide for details on which collections can be filtered."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"grouping-with-parentheses","__idx":15},"children":["Grouping with parentheses"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use parentheses to group conditions and control evaluation order:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"# Filter for non-restricted matters that are either Active or Draft\nGET /v2/matters?$filter=(Status eq 'Active' or Status eq 'Draft') and Restricted eq false\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"nested-properties","__idx":16},"children":["Nested properties"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Some fields represent nested objects. Use the forward slash (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/"]},") to access nested properties in filter and orderby expressions."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"# Filter matters by the owner's user ID\nGET /v2/matters?$filter=Owner/Id eq '12345678-1234-1234-1234-123456789abc'\n\n# Filter matters by the ID of the user who created them\nGET /v2/matters?$filter=Created/User/Id eq '12345678-1234-1234-1234-123456789abc'\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"error-handling","__idx":17},"children":["Error handling"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When an invalid OData query is submitted, the API returns a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["400 Bad Request"]}," response with details about the error."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Note: Refer to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/errors"},"children":["Errors"]}," documentation for more information."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"common-error-scenarios","__idx":18},"children":["Common error scenarios"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Unsupported field:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"type\": \"https://api-docs.lawvu.com/errors/invalid_request\",\n  \"title\": \"Invalid request\",\n  \"status\": 400,\n  \"detail\": \"OData filtering is not supported for 'unsupportedField'\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Unsupported operator:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"type\": \"https://api-docs.lawvu.com/errors/invalid_request\",\n  \"title\": \"Invalid request\",\n  \"status\": 400,\n  \"detail\": \"Operation 'gt' is not supported for 'Name'\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Invalid $top value:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"type\": \"https://api-docs.lawvu.com/errors/invalid_request\",\n  \"title\": \"Invalid request\",\n  \"status\": 400,\n  \"detail\": \"OData $top value must be less than 50\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Invalid query syntax:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"type\": \"https://api-docs.lawvu.com/errors/invalid_request\",\n  \"title\": \"Invalid request\",\n  \"status\": 400,\n  \"detail\": \"The OData query is invalid. Please check the syntax and try again\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"supported-resources","__idx":19},"children":["Supported resources"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following sections describe the resources and the properties on the resource which are supported for OData filtering and ordering."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"field-options","__idx":20},"children":["Field Options"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All field types support the following base filtering:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Property"},"children":["Property"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Filter Operations"},"children":["Filter Operations"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Functions"},"children":["Functions"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sortable"},"children":["Sortable"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Label"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["contains()"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✓"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following types additionally support filtering on ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/guides/fields#property-bags"},"children":["properties"]},":"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"LawVu Application Type"},"children":["LawVu Application Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Property"},"children":["Property"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Filter Operations"},"children":["Filter Operations"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Functions"},"children":["Functions"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Department"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Properties.parentId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, eq null, ne, ne null"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"contracts","__idx":21},"children":["Contracts"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Property"},"children":["Property"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Filter Operations"},"children":["Filter Operations"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Functions"},"children":["Functions"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sortable"},"children":["Sortable"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✓"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["contains()"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✓"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Type/Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Owner/Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✓"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ExternalId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["contains()"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fields"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Refer to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#fields-on-matters-and-contracts"},"children":["fields"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Restricted"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Status"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TeamAssigned/Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✓"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Created/User/Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"matters","__idx":22},"children":["Matters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Property"},"children":["Property"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Filter Operations"},"children":["Filter Operations"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Functions"},"children":["Functions"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sortable"},"children":["Sortable"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✓"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["contains()"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✓"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DisplayId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["contains()"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Type/Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Owner/Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✓"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Manager/User/Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, eq null, ne, ne null"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✓"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Manager/IntakeQueue/OrganizationId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, eq null, ne, ne null"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ExternalId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["contains()"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fields"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Refer to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#fields-on-matters-and-contracts"},"children":["fields"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Restricted"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Status"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TeamAssigned/Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["✓"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Created/User/Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"fields-on-matters-and-contracts","__idx":23},"children":["Fields on Matters and Contracts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Refer to the below table for supported operations when filtering or sorting by matters/contract field values."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field Type"},"children":["Field Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Filter Operations"},"children":["Filter Operations"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Functions"},"children":["Functions"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sortable"},"children":["Sortable"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Text"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, eq null, ne, ne null"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["contains()"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Decimal"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, eq null, ne, ge, le"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Decimal (Slider)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, ne, ge, le"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Date"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ge, lt, le"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Option/Value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, eq null, ne, ne null"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MultiOption/Value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["User/Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eq, eq null, ne, ne null"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Note: Refer to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/guides/fields#how-the-field-types-in-the-api-map-to-the-lawvu-application"},"children":["fields documentation"]}," for information on how the field type maps to the LawVu application."]}]}]},"headings":[{"value":"Sorting, filtering and pagination","id":"sorting-filtering-and-pagination","depth":1},{"value":"Supported query options","id":"supported-query-options","depth":2},{"value":"Pagination","id":"pagination","depth":2},{"value":"$top","id":"top","depth":3},{"value":"$skip","id":"skip","depth":3},{"value":"Pagination example","id":"pagination-example","depth":3},{"value":"Sorting with $orderby","id":"sorting-with-orderby","depth":2},{"value":"Syntax","id":"syntax","depth":3},{"value":"Examples","id":"examples","depth":3},{"value":"Filtering with $filter","id":"filtering-with-filter","depth":2},{"value":"Comparison operators","id":"comparison-operators","depth":3},{"value":"Filter examples","id":"filter-examples","depth":3},{"value":"Logical operators","id":"logical-operators","depth":3},{"value":"Collection operators","id":"collection-operators","depth":3},{"value":"Filter examples","id":"filter-examples-1","depth":3},{"value":"Grouping with parentheses","id":"grouping-with-parentheses","depth":3},{"value":"Nested properties","id":"nested-properties","depth":2},{"value":"Error handling","id":"error-handling","depth":2},{"value":"Common error scenarios","id":"common-error-scenarios","depth":3},{"value":"Supported resources","id":"supported-resources","depth":2},{"value":"Field Options","id":"field-options","depth":3},{"value":"Contracts","id":"contracts","depth":3},{"value":"Matters","id":"matters","depth":3},{"value":"Fields on Matters and Contracts","id":"fields-on-matters-and-contracts","depth":3}],"frontmatter":{"title":"Sorting, filtering and pagination (OData) guide","description":"Learn how to use OData query options to filter, sort, and paginate results in the LawVu API","markdown":{"lastUpdatedBlock":{"hide":false}},"seo":{"title":"Sorting, filtering and pagination"}},"lastModified":"2026-06-02T03:22:30.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/guides/odata","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}