AlphaAlpha Docs
API ReferenceOptionclosingschedule

Prefill the schedule from a type's closing phase presets

Copies the type-level phase structure (names, order, option selectors) into the project schedule without dates. Only allowed into an empty schedule unless replace=true.

POST
/buyer-guidance/closing-schedules/project/{projectId}/prefill-from-type
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

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/closing-schedules/project/string/prefill-from-type" \  -H "Content-Type: application/json" \  -d '{    "replace": true,    "typeId": "string"  }'
{
  "closingSoonThresholdDays": 0,
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "id": "string",
  "number": "string",
  "overrides": [
    {
      "blockId": "string",
      "closingDate": "2019-08-24T14:15:22Z",
      "houseId": "string",
      "id": "string",
      "phaseId": "string"
    }
  ],
  "phases": [
    {
      "closingDate": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "name": "string",
      "optionCategories": [
        "string"
      ],
      "optionNames": [
        "string"
      ],
      "order": 0,
      "presetId": "string"
    }
  ],
  "projectId": "string",
  "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"
}