Pixid VMS Pro API Documentation

GET /v2/projects — User Guide

1. Overview

GET /v2/projects returns the Projects your Organization can see, as a hierarchy: each Project lists its child Projects under children. You can list every Project in scope, ask for specific Projects by id, and ask for whole Project trees.

Who can call it What they see
Parent Client Projects of its Client Regions. With clientOrgId, the Projects of that one Client Region. With fullTree=true and no projectIds, the Parent Client's own Projects are included too.
Client Region Its own Projects
Vendor Cannot call this operation
Status When
200 OK Projects were found.
207 Multi-Status You sent projectIds; some were found and some were not. The found Projects are returned inside a data wrapper (see Examples).
400 Bad Request A query parameter is invalid, or your API Key belongs to a Vendor.
404 Not Found Nothing matched, or the Organization tied to your API Key or the clientOrgId is not valid. An empty result is a 404, not a 200 with an empty list.

The default page size is 50. The largest page size is set by the API configuration (200 in the standard configuration).

2. Before you start

3. Query parameters

There is no request body. Send everything on the query string.

Parameter Type Required Rules Where to get values
clientOrgId integer No See Before you start. Send it whenever you rely on hasChildren (see Response fields). The id of one of your Client Regions
projectIds list of integers No Comma-separated (projectIds=1001,1002) or repeated (projectIds=1001&projectIds=1002). Each value must be a positive whole number. At most 1000 values by default, counting duplicates. An empty value (projectIds=) is the same as leaving it out. projectId from an earlier GET /v2/projects or POST /v2/projects response
projectStatus text No One Project Status, given as a name without spaces (Active, PendingCCValidation, not case-sensitive) or as its number (1). Send one value only. A number with no matching status is accepted and returns 404. GET /v2/lookups/project-status → value. See Project Status values.
fullTree true / false No Default false. true returns whole Project trees. See How results are paged. Supplied by you
pageNumber integer No Default 1. A value below 1 is treated as 1. Supplied by you
pageSize integer No Default 50. A value below 1 is treated as 1. A value above the maximum page size is treated as the maximum. Supplied by you

All filters combine: a Project is returned only if it matches every filter you send. The status filter is applied to each Project on its own, so a child Project whose parent does not match appears at the top level.

Project Status values

Number Name to send Name in the lookup
1 Active Active
2 Pending Pending
3 PendingCCValidation Pending CC Validation
4 Inactive Inactive
5 InactiveCCValidationFailed Inactive/CC Validation Failed

The lookup names that contain spaces or / are not accepted by projectStatus; send the number or the name without spaces.

How results are paged

You send What a page holds
No projectIds, fullTree omitted or false Up to pageSize Projects, sorted by top-level Project, highest id first. A Project is nested under its parent when the parent is on the same page; otherwise it appears at the top level. totalPages counts pages of top-level Projects, not of all Projects, so to read everything keep requesting the next page until you get 404 "No projects found.".
No projectIds, fullTree=true Up to pageSize top-level Projects, each with its whole tree.
projectIds, fullTree omitted or false Every requested Project that matches, in the order you sent them, each without its children. pageNumber and pageSize do not limit the list.
projectIds, fullTree=true The whole tree of each requested Project, from its top-level Project down. Pages hold up to pageSize top-level Projects; when the trees share one top-level Project, the whole tree comes back on every page. A page past the end returns 200 with an empty projects list.

Response fields

The 200 response is one object:

Field Meaning
pageNumber The page returned, after adjustment.
pageSize The page size used, after adjustment.
totalPages Number of pages of top-level Projects.
totalItems Number of entries at the top level of projects on this page.
totalProjects Number of Projects matched. With fullTree=true and no projectIds, it counts the Projects on this page only.
totalRootProjects Number of matched top-level Projects (no parent), across all pages.
fullTree The fullTree value you sent.
projects The Projects. Each has the fields below.
Project field Meaning
projectOrgId The Client Region that owns the Project.
projectId The Project id.
parentProjectId The parent Project's id; null or 0 for a top-level Project.
rootProjectId The id of the top-level Project of its tree.
projectName, projectDivisionName, projectDescription, projectCostCenterName, projectRefCode Text as stored.
projectBudget The Project budget.
projectFullPath Project names joined with \|, from the highest Project in this response down to this one.
statusEffectiveDate When the current status took effect.
projectStatus The status name without spaces (for example Active), or an empty string for an unrecognized status.
hasChildren true when the Project has child Projects. When you send projectIds without fullTree=true, it is only set when you also send clientOrgId; without it, it is false.
children Child Projects, same fields.

4. Rules that depend on your organization

If ... Then ... What to change
your API Key belongs to a Vendor 400 with "Only CLIENT organizations can get Project data." Use an API Key and Secret issued to a Parent Client or Client Region.
your API Key belongs to a Parent Client and clientOrgId is not one of its active Client Regions 404 with "The provided clientOrgId {clientOrgId} is not a valid region under parent organization {keyOrgId}." Send the id of one of your active Client Regions, or leave clientOrgId out.
your API Key belongs to a Client Region and clientOrgId is another Organization 404 with "Invalid keyOrgId & clientOrgId combo." Leave clientOrgId out or send your own id.
your API Key belongs to a Client Region and clientOrgId is its Parent Client 404 with "Invalid keyOrgId & clientOrgId combo." Leave clientOrgId out.
clientOrgId is not an active Organization 404 with "The provided clientOrgId {clientOrgId} is not a valid region under parent organization {keyOrgId}." Send an active Client Region id.
a projectIds value belongs to an Organization you cannot see It is treated as not found. Use ids from your own GET /v2/projects response.

5. Error reference

400 responses from the query checks are plain text. All other errors are a JSON object with success: false, message, statusCode, errors and data: null.

Organization and clientOrgId

Some messages below contain the placeholder {keyOrgId}. It stands for the id of the Organization tied to your API Key.

Message What it means How to fix
Organization not found. (404) The Organization tied to your API Key does not exist. Check your API Key and Secret.
Organization is not active. (404) The Organization tied to your API Key is inactive. Use an API Key issued to an active Organization.
Organization must be of type Client or Vendor. (404) The Organization tied to your API Key is not a client or vendor Organization. Use an API Key issued to a Parent Client or Client Region.
Only CLIENT organizations can get Project data. (400) Your API Key belongs to a Vendor. Use an API Key issued to a Parent Client or Client Region.
The provided clientOrgId {clientOrgId} is not a valid region under parent organization {keyOrgId}. (404) clientOrgId is not an active Client Region you can use. See section 4.
Invalid keyOrgId & clientOrgId combo. (404) clientOrgId does not fit the Organization tied to your API Key. See section 4.

projectIds

Message What it means How to fix
'projectIds' contains invalid value(s): {values}. Expected a comma-separated list of positive integers. A value is not a positive whole number. Nothing is returned. Remove or correct the listed values.
Cannot request more than {max} ProjectIds in a single request. Too many values. Split the ids across several requests.
Projects not found matching Org {clientOrgId} for records: {list} (207) Some ids were found and some were not. {clientOrgId} is 0 when you did not send it. The list does not name the missing ids. Compare the returned projectIds with the ids you sent.
Provided Projects Ids are not valid {list}. (404) None of the ids exist for your Organization. Use ids from your own GET /v2/projects response.
Projects {ids} not found. (404) The ids exist, but none match projectStatus. Change or remove projectStatus.
No projects found matching all provided filters. Not found: {list} (404) Some ids do not exist, and the rest do not match projectStatus. Check the ids and projectStatus.

projectStatus

Message What it means How to fix
Invalid Project Status. '{projectStatus}' is not valid. Refer to /lookups/project-status for valid statuses. The value is not a status name or number. Send a value from Project Status values.

No results

Message What it means How to fix
No projects found. (404) No Project matches, or pageNumber is past the last page. Widen the filters or request an earlier page.

6. Examples

List Projects (minimal request)

GET /v2/projects

200 OK:

{
  "pageNumber": 1,
  "pageSize": 50,
  "totalPages": 1,
  "totalItems": 1,
  "totalProjects": 2,
  "totalRootProjects": 1,
  "fullTree": null,
  "projects": [
    {
      "projectOrgId": 1001,
      "projectId": 5001,
      "parentProjectId": null,
      "rootProjectId": 5001,
      "projectName": "Website Rebuild",
      "projectDivisionName": "Digital",
      "projectDescription": "Rebuild of the public website",
      "projectCostCenterName": "Marketing",
      "projectRefCode": "WEB-01",
      "projectBudget": 250000.00,
      "projectFullPath": "Website Rebuild",
      "statusEffectiveDate": "2026-01-15T00:00:00",
      "projectStatus": "Active",
      "hasChildren": true,
      "children": [
        {
          "projectOrgId": 1001,
          "projectId": 5002,
          "parentProjectId": 5001,
          "rootProjectId": 5001,
          "projectName": "Design",
          "projectDivisionName": "Digital",
          "projectDescription": null,
          "projectCostCenterName": "Marketing",
          "projectRefCode": "WEB-01-D",
          "projectBudget": 40000.00,
          "projectFullPath": "Website Rebuild|Design",
          "statusEffectiveDate": "2026-01-15T00:00:00",
          "projectStatus": "Active",
          "hasChildren": false,
          "children": []
        }
      ]
    }
  ]
}

One Client Region's active Project trees (Parent Client)

GET /v2/projects?clientOrgId=1001&projectStatus=Active&fullTree=true&pageSize=10

200 OK, same shape, with up to 10 top-level Projects per page, each with its whole tree.

Specific Projects

GET /v2/projects?clientOrgId=1001&projectIds=5001,5002

200 OK, same shape. Both Projects are returned at the top level of projects, each with an empty children list.

Some ids not found

GET /v2/projects?clientOrgId=1001&projectIds=5001,9999

207 Multi-Status. The page is inside data, and each Project also carries a hasChildrenDb field you can ignore:

{
  "success": true,
  "message": "Projects not found matching Org 1001 for records: ...",
  "statusCode": 207,
  "errors": null,
  "data": {
    "pageNumber": 1,
    "pageSize": 50,
    "totalItems": 1,
    "totalPages": 1,
    "totalProjects": 1,
    "totalRootProjects": 1,
    "fullTree": false,
    "projects": [
      { "projectId": 5001, "projectName": "Website Rebuild", "hasChildrenDb": true, "hasChildren": true, "children": [] }
    ]
  }
}

Nothing found

GET /v2/projects?projectIds=9999

404 Not Found:

{
  "success": false,
  "message": "Provided Projects Ids are not valid ...",
  "statusCode": 404,
  "errors": null,
  "data": null
}

Invalid id value

GET /v2/projects?projectIds=5001,abc

400 Bad Request, a validation error for projectIds: 'projectIds' contains invalid value(s): 'abc'. Expected a comma-separated list of positive integers.

7. Differences by request

Case Difference
One projectId vs several No difference in what you send. Without fullTree=true, each requested Project is returned on its own, without children.
Parent Client vs Client Region A Parent Client sees all its Client Regions unless it sends clientOrgId. A Client Region sees only its own Projects.
Vendor Cannot call this operation.
200 vs 207 A 200 body is the page itself. A 207 body wraps the page in data, next to success, message, statusCode and errors.
API v2 · Last updated 2026-11-25