Rentals
Project
The project, as returned by the API.
Schemas: ProjectDto, ProjectDetailDto
Example
Generated from the schema
A project that groups orders and work for a contact, with its dates, type, location and the identifiers of its orders. Projects use the tenancy inherited from the parent account, so a billing account also sees the projects of its parent. externalReference is writable, so it can hold your own key. Archive or restore a project with PUT /api, and link orders to it with POST /api.
Attributes
Unique project identifier.
Human-readable project number; null if not numbered.
Project name.
Color associated with the project (for the UI); null if none.
External reference of the project (for example, from the customer system); null if not recorded.
Project type identifier; null if the project has no type.
Compact reference to the project type; null if none.
Show child attributesHide child attributes
Unique project type identifier.
Project type name.
Color associated with the project type (for the UI); null if none.
Compact reference to the project contact; null if none.
Show child attributesHide child attributes
Unique contact identifier.
Contact name.
Project location; its inner fields are null when not recorded.
Show child attributesHide child attributes
Name of the place/location; null if not recorded.
Address of the location; null if not recorded.
City of the location; null if not recorded.
Postal code of the location; null if not recorded.
Province or region of the location; null if not recorded.
Country of the location; null if not recorded.
Latitude of the location; null if not recorded.
Longitude of the location; null if not recorded.
Project start date in ISO 8601 with offset.
Project end date in ISO 8601 with offset.
Project status: draft, budgeted, confirmed, in_progress, invoiced, completed, cancelled or archived. archived is a LEGACY status that appears in old data; the current archived state is expressed by the archived boolean of this same DTO.
Available options: draft, budgeted, confirmed, in_progress, invoiced, completed, cancelled, archived
Whether the project is archived.
Identifiers of the project orders. Order details are obtained from GET /api?projectId=.
Total number of orders in the project (equals orderIds.length).
Custom field values by custom field identifier; the definitions are in /api.
Source the project was created from; null if not recorded.
Creation date in ISO 8601 with offset.
Last update date in ISO 8601 with offset.
Values
- status
draft,budgeted,confirmed,in_progress,invoiced,completed,cancelled,archived
Returned by
GET /api/v1/projects— List projectsGET /api/v1/projects/{projectId}— Get a project
Modified by
POST /api/v1/projects— Create a projectPATCH /api/v1/projects/{projectId}— Update a projectPOST /api/v1/projects/{projectId}/orders/{orderId}— Link an order to a projectDELETE /api/v1/projects/{projectId}/orders/{orderId}— Unlink an order from a project
Was this page helpful?