Contract
The commercial agreement with Ed Controls. It owns projects, carries licenses, and determines whether API access is available. Contracts are managed by Ed Controls — they are not exposed as an API resource. You encounter them in two places: thecontractId required when creating a
project, and contract-level roles (admin, manager).
Project & database
The project is the unit of collaboration; everything else lives inside one. Each project is stored in its own database, which is why nearly every endpoint takes adatabase parameter — the database value identifies the
project. Get it from GET /api/v2/data/projects.
Maps & map groups
A map is a drawing (uploaded as PDF, rendered to tiles) on which tickets are pinned. Maps are organised in map groups.Some endpoint paths use the legacy name
drawingGroups — in these docs and
in conversation, the concept is always called a map group.Files & file groups
A file is any document stored in the project, with full version history. Files are organised in file groups. File content is fetched by the server from a URL you provide — see Upload files & maps.Tickets
A ticket is a located task or defect: it has a position on a map, a responsible user, a due date, attachments, comments, and a state:
Tickets can be created, updated and deleted via the API. Their position on a
map is the
location object — see Place a ticket on a
drawing.
Audits, templates & template groups
An audit template defines a reusable checklist/questionnaire. Templates are organised in template groups. Executing a template produces an audit: an instance with answers, a responsible user, optional signatures, and a status (starting atIn Progress). A failed check inside an audit can
generate a ticket, which is how audits and tickets connect.
Create audits from templates with the dedicated
create-audit endpoint, and fill one in by sending the whole
audit back with PUT — see Create an audit.
Common document anatomy
All resources share CouchDB document conventions:_id— the document identifier you use in URLs_rev— revision; must be included when updating a document, and a409means someone changed it since you fetched itdates.creationDate/dates.lastModifiedDate— ISO 8601 timestampsarchived/deleted— soft flags; deleted and archived documents are excluded from results unless you ask for themtags— free-form labels, filterable on every list endpoint
