Project

ProjectContactRelations.list

Returns a page of ProjectContactRelation records, optionally filtered, sorted and limited to selected fields.

get/entities/ProjectContactRelations

Request

Query parameters

include-deletedboolean

Include soft-deleted records. Lists only; get-by-id refuses it.

firstinteger

Page size. Default 30, maximum 100; a larger value is refused with HTTP 400, code 117.

lastinteger

Return the last N records of the result; together with first, the last N of the first M. Maximum 100.

beforestring

Cursor from page_info.start_cursor, to page backwards. URL-encode it.

afterstring

Cursor from page_info.end_cursor of the previous page. URL-encode it: cursors are base64, and a raw + becomes a space.

expandstring

Related records to return inline instead of their URIs, comma-separated; dots reach nested relations, as in account_relations.account.

order-bystring

Fields to sort by, comma-separated. A leading - sorts descending, as in -modified; dotted paths sort by related fields.

filterobject

filter[field]=value. Separate several values with a raw comma (OR), as in filter[name]=north,south. Encode a comma that belongs to a value as %2C. URLSearchParams and Python requests encode every comma, so build the filter part of the query string yourself. Dotted paths filter on related records, as in filter[owner.email]. Encode a + in a value as %2B: query values are form-decoded, so a raw + becomes a space.

filter-opobject

filter-op[field]=operator, one per field: eq (the default), ieq, not-eq, not-ieq, contains, icontains, starts, istarts, ends, iends, gt, gte, lt, lte, between, null, not-null, empty and not-empty. null, not-null, empty and not-empty take no filter value; gt, gte, lt and lte take exactly one.

load-onlystring

Fields to return, comma-separated (raw or encoded commas both work here); dots select nested fields, as in owner.id. All fields are returned without it. Lists only: get-by-id refuses it with HTTP 400, code 118.

Response

Page of ProjectContactRelation records.

successboolean

True when the request succeeded; false on error.

totalinteger

Number of records that match the request, across all pages.

Example response

{
  "success": true,
  "data": [
    {
      "id": "01234567-abcd-dcba-ffff-000000000000",
      "modified": "2019-01-01T00:00:00",
      "created": "2019-01-01T00:00:00",
      "contact_id": "01234567-abcd-dcba-ffff-000000000000",
      "project_id": "01234567-abcd-dcba-ffff-000000000000",
      "revision": 1
    }
  ],
  "page_info": {
    "start_cursor": "WyIwMSIsICJiMmYwODI0Ni1iYWE5LTQyY2QtYmM3Yi04YmM4MjY3M2E2NTgiXQ==",
    "end_cursor": "WyIwNSIsICJmMjZhZjZiMC00ZWE4LTQ3MDgtODU2NC0wN2JmYzI4ZGQ5ZTgiXQ==",
    "has_previous_page": true,
    "has_next_page": true
  },
  "total": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.