AlphaAlpha Docs

Get page by page number and size with optional sorting based on field to sortBy and direction

GET
/projects/page
AuthorizationBearer <token>

In: header

Query Parameters

pageNumber?integer
Formatint32
pageSize?integer
Formatint32
sortBy?string
direction?string
Value in"ASC" | "DESC"
search?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/projects/page"
{
  "content": [
    {
      "address": {
        "city": "string",
        "country": "string",
        "houseNumber": "string",
        "id": "string",
        "latitude": 0.1,
        "longitude": 0.1,
        "postalCode": "string",
        "street": "string"
      },
      "client": "string",
      "color": "string",
      "completion": "2019-08-24T14:15:22Z",
      "contractor": "string",
      "coordinate": {
        "latitude": -90,
        "longitude": -180
      },
      "costs": [
        {
          "amount": 0.1,
          "name": "string"
        }
      ],
      "created": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "defaultViewer": "ATMOSPHERE",
      "description": "string",
      "dmsFolderId": "string",
      "dxfBlob": {
        "blobId": "string",
        "created": "2019-08-24T14:15:22Z",
        "extension": "string",
        "fileSize": 0,
        "name": "string",
        "type": "IMAGE"
      },
      "dxfLayerSettings": [
        {
          "customColor": "string",
          "filled": true,
          "name": "string",
          "visible": true
        }
      ],
      "events": [
        {
          "authorId": "string",
          "date": "2019-08-24T14:15:22Z",
          "description": "string",
          "id": "string",
          "type": "CREATE"
        }
      ],
      "favoriteScenario": "string",
      "id": "string",
      "imageBlob": {
        "blobId": "string",
        "created": "2019-08-24T14:15:22Z",
        "extension": "string",
        "fileSize": 0,
        "name": "string",
        "type": "IMAGE"
      },
      "name": "string",
      "number": "string",
      "phase": "DESIGN",
      "pricing": {
        "baseRentPriceUnit": 0.1,
        "baseSalePriceUnit": 0.1,
        "baseUnit": "M2"
      },
      "projectAssets": [
        {
          "addedAt": "2019-08-24T14:15:22Z",
          "blobId": "string",
          "category": "string",
          "defaultScale": 0.1,
          "id": "string",
          "name": "string",
          "productId": "string"
        }
      ],
      "projectCosts": 0.1,
      "revitTemplateBlob": {
        "blobId": "string",
        "created": "2019-08-24T14:15:22Z",
        "extension": "string",
        "fileSize": 0,
        "name": "string",
        "type": "IMAGE"
      },
      "revitVersion": "string",
      "scenarios": [
        {
          "blockPlots": [
            {
              "color": "string",
              "edgeFencing": {
                "property1": "HEDGE",
                "property2": "HEDGE"
              },
              "id": "string",
              "linkedBlockId": "string",
              "name": "string",
              "vertices": [
                {
                  "x": 0.1,
                  "y": 0.1,
                  "z": 0.1
                }
              ]
            }
          ],
          "blocks": [
            {
              "description": "string",
              "galerijConfig": {
                "corridorSide": "INNER",
                "corridorWidth": 0.1,
                "floorHeight": 0.1,
                "floors": 0,
                "footprint": [
                  {
                    "x": 0.1,
                    "y": 0.1,
                    "z": 0.1
                  }
                ],
                "plinthHeight": 0.1,
                "sides": [
                  {
                    "conceptFilter": "string",
                    "defaultUnitWidth": 0.1,
                    "depth": 0.1,
                    "typeId": "string"
                  }
                ],
                "stairwayCores": [
                  {
                    "depth": 0.1,
                    "position": 0.1,
                    "width": 0.1
                  }
                ]
              },
              "houses": [
                {
                  "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"
                    }
                  ]
                }
              ],
              "id": "string",
              "position": {
                "x": 0.1,
                "y": 0.1,
                "z": 0.1
              },
              "presets": [
                {
                  "description": "string",
                  "houseChoices": {
                    "property1": [
                      {
                        "code": "string",
                        "option": "string"
                      }
                    ],
                    "property2": [
                      {
                        "code": "string",
                        "option": "string"
                      }
                    ]
                  },
                  "id": "string",
                  "name": "string",
                  "order": 0
                }
              ],
              "profit": 0.1,
              "revenue": 0.1,
              "rotation": 0.1
            }
          ],
          "id": "string",
          "name": "string",
          "numberOfHouses": 0,
          "revenue": 0.1,
          "sceneAssets": [
            {
              "assetTypeId": "string",
              "id": "string",
              "position": {
                "x": 0.1,
                "y": 0.1,
                "z": 0.1
              },
              "rotation": 0.1,
              "scale": 0.1
            }
          ]
        }
      ],
      "slug": "string",
      "spatialComments": [
        {
          "anchorEntityId": "string",
          "anchorEntityType": "string",
          "authorId": "string",
          "createdAt": "2019-08-24T14:15:22Z",
          "id": "string",
          "position": {
            "x": 0.1,
            "y": 0.1,
            "z": 0.1
          },
          "replies": [
            {
              "authorId": "string",
              "createdAt": "2019-08-24T14:15:22Z",
              "id": "string",
              "text": "string"
            }
          ],
          "resolved": true,
          "scenarioId": "string",
          "text": "string"
        }
      ],
      "startOfSales": "2019-08-24T14:15:22Z",
      "subsidiaryId": "string",
      "tenantId": "string",
      "textureMappingEnabled": true,
      "updated": "2019-08-24T14:15:22Z",
      "updatedBy": "string",
      "variants": [
        {
          "description": "string",
          "id": "string",
          "name": "string",
          "previewBlobId": "string",
          "typeId": "string"
        }
      ],
      "watcherIds": [
        "string"
      ]
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 0,
  "numberOfElements": 0,
  "pageable": {
    "offset": 0,
    "pageNumber": 0,
    "pageSize": 0,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 0,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 0,
  "totalPages": 0
}
{
  "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"
}