AlphaAlpha Docs
API ReferenceBuyerdossier

Create a dossier for a house with a buyer

Idempotent: returns the existing dossier when one already exists for the house.

POST
/buyer-guidance/dossiers/for-house
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/buyer-guidance/dossiers/for-house" \  -H "Content-Type: application/json" \  -d '{    "houseId": "string",    "projectId": "string"  }'
{
  "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"
}
{
  "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"
}