autarc 2.0 API (1.0.0)

Download OpenAPI specification:Download

Projects

Gets all projects

Authorizations:
bearerAuth

Responses

Response samples

Content type
application/json
{
  • "message": "string"
}

Creates a project

Authorizations:
bearerAuth
Request Body schema: application/json
required
humandId
string
name
required
string
status
string (ProjectStatus)
Enum: "inProgress" "completed" "archived"
projectValue
number <float>
installationDate
string <date>
thermalBridgeSurcharge
number <float>
buildingType
string (BuildingType)
Enum: "singleOrDoubleFamilyHouse" "semiDetachedHouse" "terracedHouse" "endTerracedHouse" "multiFamilyHouse" "commercialBuilding"
buildingAge
string (BuildingAge)
Enum: "from2002" "from1995To2001" "from1984To1994" "from1979To1983" "from1969To1978" "from1958To1968" "from1949To1957" "from1919To1948" "before1918"

Responses

Request samples

Content type
application/json
{
  • "humandId": "string",
  • "name": "string",
  • "status": "inProgress",
  • "projectValue": 0.1,
  • "installationDate": "2019-08-24",
  • "thermalBridgeSurcharge": 0.1,
  • "buildingType": "singleOrDoubleFamilyHouse",
  • "buildingAge": "from2002"
}

Response samples

Content type
application/json
{
  • "humandId": "string",
  • "name": "string",
  • "status": "inProgress",
  • "projectValue": 0.1,
  • "installationDate": "2019-08-24",
  • "thermalBridgeSurcharge": 0.1,
  • "buildingType": "singleOrDoubleFamilyHouse",
  • "buildingAge": "from2002",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}