Description
CreateBuildingPlant web method is used to create a plant for a building by providing building information and Matrikkel.
Notes:
Request
Parameter | Type | Mandatory/Optional | Comments |
---|---|---|---|
building | BuildingInput | Mandatory | Building number and iteration (løpenr). Building number is mandatory. Iteration can be zero. |
matrikkel | Matrikkel | Optional | Matrikkel of the building. Must be provided when trying to create a plant for a building which is not yet registered in Boligmappa system |
plantName | string | Optional | Preferred name for the plant. If not provided default plant name (BuildingNumber / Iteration) will be set |
customerName | string | Mandatory | Name of customer for the plant. (Length of the CustomerName must be less than or equal to 100) |
applicationName | string | Mandatory | Name of customer for the plant. (Length of the CustomerName must be less than or equal to 100) |
Response
Property | Type | Description |
---|---|---|
Plant | BuildingPlant | Building and plant info associated with the newly created plant |
Exceptions
Error Code | Description |
---|---|
105 | Plant already exists in system |
Add Comment