AlphaAlpha Docs
API ReferenceOptionsalesvariant

Override choices for variant

Overrides the choices for a specific option sales variant (per bouwnummer).

PATCH
/option-sales-variants/{id}/override
AuthorizationBearer <token>

In: header

Path Parameters

id*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 PATCH "http://localhost:18080/api/v1/option-sales-variants/string/override" \  -H "Content-Type: application/json" \  -d '{    "choices": [      {        "code": "string",        "option": "string"      }    ]  }'
{
  "choices": [
    {
      "code": "string",
      "option": "string"
    }
  ],
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "duration": 0,
  "errorMessage": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "favorite": true,
  "files": [
    {
      "blobId": "string",
      "created": "2019-08-24T14:15:22Z",
      "extension": "string",
      "fileSize": 0,
      "name": "string",
      "type": "IMAGE"
    }
  ],
  "houseId": "string",
  "id": "string",
  "isOverridden": true,
  "lockedAt": "2019-08-24T14:15:22Z",
  "lockedBy": "string",
  "message": "string",
  "note": "string",
  "number": "string",
  "overridden": true,
  "presetId": "string",
  "presetName": "string",
  "previousFiles": {
    "property1": [
      {
        "blobId": "string",
        "created": "2019-08-24T14:15:22Z",
        "extension": "string",
        "fileSize": 0,
        "name": "string",
        "type": "IMAGE"
      }
    ],
    "property2": [
      {
        "blobId": "string",
        "created": "2019-08-24T14:15:22Z",
        "extension": "string",
        "fileSize": 0,
        "name": "string",
        "type": "IMAGE"
      }
    ]
  },
  "priority": 0,
  "progress": 0.1,
  "projectId": "string",
  "source": "INTERNAL",
  "status": "REQUEST",
  "tenantId": "string",
  "typeId": "string",
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "workerEvents": [
    {
      "actor": "string",
      "at": "2019-08-24T14:15:22Z",
      "durationSeconds": 0,
      "message": "string",
      "type": "PICKED_UP"
    }
  ]
}
{
  "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"
}