Retrieve the project templates

Retrieve the trades for specific project with its UUID.

GET /aos/v1/projects/{projectId}/templates

Query params

Parameter Type Mandatory
projectId string (uuid) yes

Response

Status: 200 OK
{
    "templates": [
        {
            "id": "97740903-8a9b-4c40-83e2-71ead47f1c2b",
            "project_id": "97740900-803b-4582-a67d-ab7a2fc71107",
            "is_slice": true,
            "slice": "Bâtiment B",
            "closed_at": null,
            "version_saved": 1,
            "response_type": null,
            "budgets": {
                "value": 400000
            },
            "itemised_sheet": {
                "version": 2,
                "is_draft": false,
                "has_additional_services": false
            },
            "trade": {
                "id": "9774090a-14e8-4208-8bd9-7f566f006677",
                "name": "GROS ŒUVRE",
                "number": "02",
                "short_name": "GO"
            },
            "end_of_offer_date": null,
            "consultation_started_at": "2019-02-26T09:56:48.153000Z",
            "fold_opened": true,
            "favourite_consultation_id": "97740905-3e49-4f79-b186-c1ed2452f8a6",
            "selected_consultation_id": "97740905-3e49-4f79-b186-c1ed2452f8a6",
            "stats": {
                "delta_budget": 13835,
                "contractors": 4,
                "contractors_answers": 3,
                "contractors_pending": 0,
                "contractors_declined": 0,
                "contractors_in_revision": 0,
                "contractors_intention_is_no": 1,
                "contractors_intention_is_maybe": 0
            },
            "created_at": "2018-12-27T09:45:53.763000Z",
            "updated_at": "2020-08-18T12:50:00.116000Z"
        },
        // ...
    ]
}