Per element its installation task and, with the takt board, its installed, passed and defect days
curl --request GET \ --url 'https://api.whatsbuilt.fi/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/schedule-element-facts?limit=2000' \ --header 'Authorization: Bearer <token>'Every element with an effective installation task, in columns, 2000 elements a page at most, in GlobalId order; only next_cursor = null ends the pages. Each page names only the tasks its elements use. A snapshot read when asked, not a windowed list: it has no changed_at and no deletions; read it again for the current state.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”The next_cursor of the previous page
Responses
Section titled “Responses”The facts
ScheduleElementFacts: per element its installation task and, with the takt switch, its installed, passed and defect days.
object
The project has the takt switch, so the installed, passed and defect columns are filled.
The effective INSTALLATION tasks of the elements below.
ScheduleFactTask: one effective installation task.
object
The task.
Its name.
Its work name.
Planned start, YYYY-MM-DD.
Planned finish, YYYY-MM-DD.
ifc_properties, ifc_tasks or csv.
Columnar: one position per element with an effective installation task, by GlobalId.
object
The elements.
Index into tasks.
Day of the live installed event, YYYY-MM-DD in Europe/Helsinki, or null.
Day the first completed inspection finished, YYYY-MM-DD in Europe/Helsinki, or null.
Day the element’s earliest defect began, YYYY-MM-DD in Europe/Helsinki, or null.
Day the last of those defects closed, YYYY-MM-DD in Europe/Helsinki; null while one is open.
The after of the next page; null on the last page and always without limit and after.
Example generated
{ "actual": true, "tasks": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "work_name": "example", "start_date": "example", "finish_date": "example", "source": "example" } ], "elements": { "global_id": [ "example" ], "task": [ 1 ], "installed": [ "example" ], "passed": [ "example" ], "defect": [ "example" ], "defect_until": [ "example" ] }, "next_cursor": "example"}VALIDATION_ERROR for a malformed id or parameter
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}Missing, malformed, expired or revoked token
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}INSUFFICIENT_SCOPE; INSUFFICIENT_PROJECT_ROLE when the project is not the integration’s; FEATURE_OFF when the project’s organisation does not use the takt board (zones, handoffs, deviations) or the schedule (schedule tasks, element facts); PUBLIC_API_DISABLED when it has turned the API off
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}RATE_LIMITED; wait for Retry-After seconds
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}