Description
CreateBuildingPlant web This method is used to create a plant for a building by providing the building information and Matrikkel.
Request
Parameter | Type | Mandatory/Optional |
---|
Comments | Maximum character length/limit | Description |
---|
building | BuildingInput | Mandatory | Not Relevant |
Building number BuildingNumber and iteration (løpenr). |
Building number BuildingNumber is mandatory |
. Iteration can be zeromatrikkelMatrikkel | Matrikkel | Mandatory | Not Relevant | Matrikkel of the building. |
applicationName | string | Mandatory |
Third party application identifier, identifying the client consuming the web service. (Length of the ApplicationName should Should be less than or equal to 10 |
)characters | The name of the integration partner |
Request - input sample
Image Added
NOTE: The building iteration (løpenr) will be obsolete in the future.
Response
The CreateBuildingPlant web method will create creates the Plant plant in the system, and return Following properties of returns the following properties for the created plant back to the client.
info information associated with the newly created plant |
Response - output sample
Image Added
Exceptions
Error Code | Description |
---|
105 | The Plant already exists in the system |
123 | An exception occurred while processing your request |
138 |
ApplicationName is allowed character limit allowed (10) |
146 | The |
application name applicationName is not set |
167 | You are not authorized to use this web method |
187 |
Building number BuildingNumber is not provided |
188 | Matrikkel is not provided |
189 | No buildings |
found are connected to the given |
matrikkel and building number Matrikkel and BuildingNumber |
200 | The given |
building number BuildingNumber is not connected to the given |
matrikkelMatrikkel. Please check your |
inputs againNo Buildings There are no buildings available for the given |
building number mattrikel iteration