Get project templates with documents x1.0

Retrieve templates with contractor documents for a specific project UUID.

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

Query params

Parameter Type Mandatory
projectId string (uuid) yes

Response

Status: 200 OK
{
    "templates": [
        {
            "id": "97740903-8a9b-4c40-83e2-71ead47f1c2b",
            "name": "GROS Ĺ’UVRE",
            "documents": [
                {
                    "id": "97740903-dad3-425f-a6ea-4c3b53ba7a3b",
                    "contractor": {
                        "id": "97740901-4e74-4013-8219-ee10b4c64652",
                        "name": "ENT",
                        "information": {
                            "fiscal_number": "49411878900010"
                        },
                        "email": "entreprise@example.com"
                    },
                    "dce_downloaded_at": "2020-01-01T01:00:00.000000Z",
                    "intention": null,
                    "versions": [
                        {
                            "is_mandate": false,
                            "version": 1,
                            "sub_total": 407359,
                            "discount": 0,
                            "sent_at": "2018-12-27T09:52:41.055000Z",
                            "status": "ANSWERED",
                            "has_files": false,
                            "has_dpgf": true
                        }
                    ]
                }
            ]
        }
    ]
}