Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

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

Request

ParameterTypeMandatory/OptionalCommentsMaximum character length/limitDescription
buildingBuildingInputMandatoryNot RelevantBuilding number BuildingNumber and iteration (løpenr). Building number BuildingNumber is mandatory. Iteration can be zero.
matrikkelMatrikkelMatrikkelMandatoryNot RelevantMatrikkel of the building.
applicationNamestringMandatoryThird party application identifier, identifying the client consuming the web service. (Length of the ApplicationName should Should be less than or equal to 10 )

 

Note:

Building Iteration is ignored from the code and there is no need to provide the building iteration. This will get obsolete in future 

Response

...

charactersThe 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 method creates the plant in the system, and return Following properties of returns the following properties for the created plant back to the client.

TypeDescription
BuildingPlantBuilding and plant info information associated with the newly created plant

 

Response - output sample

Image Added

Exceptions

Error CodeDescription
105The Plant already exists in the system
123An exception occurred while processing your request
138ApplicationName applicationName length is has exceeded the maximum allowed character limit allowed (10) 
146The application name applicationName is not set
167You are not authorized to use this web method
187Building number BuildingNumber is not provided
188Matrikkel is not provided
189No buildings found are connected to the given matrikkel and building number Matrikkel and BuildingNumber
200The given building number BuildingNumber is not connected to the given matrikkelMatrikkel. Please check your inputs againinput.
280No Buildings There are no buildings available for the given building numberBuildingNumber, mattrikel Matrikkel and iterationIteration