AlphaAlpha Docs
API ReferenceConfiguration

Add House Configuration

Adds a configuration for a house in a project. This endpoint is public and can be accessed without authentication.

POST
/configurations/public/{tenantId}/{projectId}/{houseId}
AuthorizationBearer <token>

In: header

Path Parameters

tenantId*string
projectId*string
houseId*string

Query Parameters

scenarioId?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/configurations/public/string/string/string" \  -H "Content-Type: application/json" \  -d '{    "additionalOptions": [      {        "id": "string",        "position": {          "x": 0.1,          "y": 0.1,          "z": 0.1        },        "rotation": {          "x": 0.1,          "y": 0.1,          "z": 0.1        },        "type": "WANDCONTACTDOOS"      }    ],    "buyer": {      "email": "string",      "name": "string"    },    "choices": [      {        "code": "string",        "option": "string"      }    ],    "chosenVariables": [      {        "id": "string",        "value": 0.1      }    ],    "source": "INTERNAL"  }'
{
  "artistImpressions": [
    {
      "blobId": "string",
      "created": "2019-08-24T14:15:22Z",
      "footstepId": "string",
      "height": 0,
      "id": "string",
      "materials": [
        "string"
      ],
      "model": "string",
      "prompt": "string",
      "thumbnailBlobId": "string",
      "width": 0
    }
  ],
  "assignedConfigurationId": "string",
  "backFacadeConfigurationId": "string",
  "baseConfiguration": [
    {
      "code": "string",
      "option": "string"
    }
  ],
  "basePrice": 0.1,
  "buyer": {
    "address": {
      "city": "string",
      "country": "string",
      "houseNumber": "string",
      "id": "string",
      "latitude": 0.1,
      "longitude": 0.1,
      "postalCode": "string",
      "street": "string"
    },
    "clientId": "string",
    "email": "string",
    "name": "string",
    "phone": "string"
  },
  "choices": [
    {
      "code": "string",
      "option": "string"
    }
  ],
  "chosenVariables": [
    {
      "id": "string",
      "value": 0.1
    }
  ],
  "conceptMode": true,
  "cost": 0.1,
  "energyLabel": "string",
  "floor": 0,
  "frontFacadeConfigurationId": "string",
  "id": "string",
  "livingArea": 0.1,
  "mirrored": true,
  "modelInstances": [
    {
      "configuredFacadeId": "string",
      "modelId": "string"
    }
  ],
  "numberOfFloors": 0,
  "numberOfRooms": 0,
  "optionPrice": 0.1,
  "ownershipType": "RENTED",
  "planOptions": [
    {
      "code": "string",
      "option": "string"
    }
  ],
  "plotArea": 0.1,
  "positionOffset": {
    "x": 0.1,
    "y": 0.1,
    "z": 0.1
  },
  "potentialConfigurations": [
    "string"
  ],
  "previewBlobId": "string",
  "profit": 0.1,
  "saleRevenue": 0.1,
  "side": 0,
  "status": "AVAILABLE",
  "sunOrientation": "NORTH",
  "typeId": "string",
  "unit": 0,
  "variantId": "string",
  "views": [
    {
      "frequency": 0,
      "ip": "string",
      "time": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "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"
}