Work4all icon

Work4all

Interact with the work4all API

Get Project

AI-generated

Summary

Retrieve a work4all project by its internal project code. Choose the tenant and an output mode to return the full response, a reduced set of fields, or specified fields.

Inputs

  • Mandant Name or ID — Tenant sent in the x-work4all-mandant header; defaults to 1.
  • Project Code (required) — Internal work4all project code used to look up the project.
  • Output — Choose Raw, Simplified (the default), or Selected Fields. Simplified includes id, name, number, startDateInner, endDateInner, customerId, customer, supplierId, and supplier.
  • Fields — For Selected Fields, provide a JSON array of project field names to include.

Output shape

A single item containing the GraphQL response, with the project data in data.getProjekte.data as a list.

The lookup requests one project matching the supplied code, but the response remains in the getProjekte list envelope. Raw keeps the full API response; the other modes filter each returned project while retaining the surrounding response metadata.

Links

Discussion