Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Description

CreateBuildingPlant web method is used to create a plant for a building by providing building information and Matrikkel.

Request

ParameterTypeMandatory/OptionalComments
buildingBuildingInputMandatoryBuilding number and iteration (løpenr). Building number is mandatory. Iteration can be zero.
matrikkelMatrikkelOptionalMatrikkel of the building. Must be provided when trying to create a plant for a building which is not yet registered in Boligmappa system
plantNamestringOptionalPreferred name for the plant. If not provided default plant name (BuildingNumber / Iteration) will be set
customerNamestringMandatoryName of customer for the plant. (Length of the CustomerName must be less than or equal to 100)
applicationNamestringMandatoryThird party application identifier, identifying the client consuming the web service. (Length of the ApplicationName should be less than or equal to 10)

 

Response

PropertyTypeDescription
PlantBuildingPlantBuilding and plant info associated with the newly created plant

 

Exceptions

Error CodeDescription
105Plant already exists in system
138ApplicationName length is exceeded maximum allowed character limit (10)
146The application name is not set
172CustomerName length is exceeded maximum allowed character limit (100)
187Building number is not provided
188Given building is not registered in Boligmappa. Please provide the matrikkel to add building.
189No buildings found connected to the given matrikkel and building number
190Customer name is not set
123An exception occured while processing your request
  • No labels