CreateBuildingPlant
Description
This method is used to create a plant for a building by providing the building information and Matrikkel.Â
Request
Parameter | Type | Mandatory/Optional | Maximum character length/limit | Description |
---|---|---|---|---|
building | BuildingInput | Mandatory | Not Relevant | BuildingNumber and iteration (løpenr). BuildingNumber is mandatory. |
Matrikkel | Matrikkel | Mandatory | Not Relevant | Matrikkel of the building. |
applicationName | string | Mandatory | Should be less than or equal to 10 characters | The name of the integration partner |
Request - input sample
NOTE: The building iteration (løpenr) will be obsolete in the future.Â
Response
The CreateBuildingPlant method creates the plant in the system, and returns the following properties for the created plant.
Type | Description |
---|---|
BuildingPlant | Building and plant information associated with the newly created plant |
Â
Response - output sample
Exceptions
Error Code | Description |
---|---|
105 | The Plant already exists in the system |
123 | An exception occurred while processing your request |
138 | applicationName length has exceeded the maximum character limit allowed (10) |
146 | The applicationName is not set |
167 | You are not authorized to use this web method |
187 | BuildingNumber is not provided |
188 | Matrikkel is not provided |
189 | No buildings are connected to the given Matrikkel and BuildingNumber |
200 | The given BuildingNumber is not connected to the given Matrikkel. Please check your input. |
280 | There are no buildings available for the given BuildingNumber, Matrikkel and Iteration |