AlphaAlpha Docs
API ReferenceBuyerdossier

Get all dossiers of a project, enriched with progress and next deadline

GET
/buyer-guidance/dossiers/project/{projectId}/enriched
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/buyer-guidance/dossiers/project/string/enriched"
[
  {
    "deadlineStates": [
      {
        "daysRemaining": 0,
        "effectiveClosingDate": "2019-08-24T14:15:22Z",
        "optionCategories": [
          "string"
        ],
        "optionNames": [
          "string"
        ],
        "order": 0,
        "phaseId": "string",
        "phaseName": "string",
        "state": "OPEN"
      }
    ],
    "dossier": {
      "buyerEmail": "string",
      "buyerName": "string",
      "clientId": "string",
      "configurationId": "string",
      "created": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "documentIds": [
        "string"
      ],
      "estimateIds": [
        "string"
      ],
      "events": [
        {
          "authorId": "string",
          "date": "2019-08-24T14:15:22Z",
          "description": "string",
          "id": "string",
          "type": "CREATE"
        }
      ],
      "houseId": "string",
      "id": "string",
      "journeySteps": [
        {
          "assigneeId": "string",
          "completedAt": "2019-08-24T14:15:22Z",
          "completedBy": "string",
          "description": "string",
          "dueDate": "2019-08-24T14:15:22Z",
          "dueNotifiedAt": "2019-08-24T14:15:22Z",
          "id": "string",
          "linkedPhaseId": "string",
          "name": "string",
          "order": 0,
          "status": "PENDING",
          "visibleToBuyer": true
        }
      ],
      "kopersbegeleiderId": "string",
      "notes": "string",
      "number": "string",
      "projectId": "string",
      "status": "ACTIVE",
      "tenantId": "string",
      "updated": "2019-08-24T14:15:22Z",
      "updatedBy": "string"
    },
    "nextDeadline": {
      "daysRemaining": 0,
      "effectiveClosingDate": "2019-08-24T14:15:22Z",
      "optionCategories": [
        "string"
      ],
      "optionNames": [
        "string"
      ],
      "order": 0,
      "phaseId": "string",
      "phaseName": "string",
      "state": "OPEN"
    },
    "progressCompleted": 0,
    "progressTotal": 0,
    "projectName": "string",
    "typeId": "string"
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}