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 |
---|
CommentsMaximum character length/limit | Description |
---|
building | BuildingInput | Mandatory |
Building number Not Relevant | BuildingNumber and iteration (løpenr). |
Building number BuildingNumber is mandatory |
. Iteration can be zeromatrikkelOptionalMandatory | Not Relevant | Matrikkel of the building. |
Must be provided when trying to create a plant for a building which is not yet registered in Boligmappa systemplantName | 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 |
applicationName | string | Mandatory | Should be less than or equal to |
100)applicationName | string | Mandatory | Third party application identifier, identifying the client consuming the web service. (Length of the ApplicationName should be less than or equal to 10) |
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.
...
Plant | 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 CustomerName length is exceeded maximum allowed character limit (100)applicationName is not set |
172 | 167 | You are not authorized to use this web method |
187 |
Building number BuildingNumber is not provided |
188 |
Given building registered in Boligmappa. Please provide the matrikkel to add building. found 190 | Customer name is not set |
123 | An exception occured while processing your requestare connected to the given |
matrikkel and building numberMatrikkel 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 |