contractId (provided when your API access
was set up).
1
Create the project
{ "database": "…", "id": "…" } — keep the database
identifier for all subsequent calls. name, location.location and the
accountable’s e-mail address are required. referenceName is the natural
place for your own job/order number, so you can match projects back to
your system later.2
Create map groups and file groups
200 with an
empty body. To rename a group later, PUT /fileGroup/{database}/{id}
with {"name": "…"}: the map group with the same name and its maps are
renamed too.3
Upload initial content
Push the drawings and documents using the
upload recipe —
uploadMap can create
map groups on the fly via groupName, so step 2 is optional for maps.4
Add participants
Additional participants (support, consulted, informed) are managed on the
project document: fetch it, extend
participants, and PUT it back.
dates.startDate must be in it: a start date that has passed must be
sent unchanged.Project updates are full-document
PUTs, applied onto the current stored
project: the server does not check _rev, so there is no 409 and the last
writer wins. Fetch right before you put.