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 16 Current »

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.
matrikkelMatrikkelMandatoryMatrikkel of the building.
applicationNamestringMandatoryThird party application identifier, identifying the client consuming the web service. (Length of the ApplicationName 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

CreateBuildingPlant web method will create the Plant in the system, and return Following properties of created plant back to the client.

TypeDescription
BuildingPlantBuilding and plant info associated with the newly created plant

 

Exceptions

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