Versions Compared

Key

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

Description 

CreatePlantByMatrikkel CreatePropertyPlantByMatrikkel web method is used for creating a Plant in the system by providing matrikkel information

Request

ParameterTypeMandatory/OptionalComments
KnrmatrikkelintMatrikkelMandatoryKnrMatrikkel information
Gnrint MandatoryGnr
Bnr intMandatory Bnr 
Fnr intMandatory Fnr 
Snr intMandatory 

Snr–Section number for sectioned properties 

Lnr intMandatory 

Share ID for housing co-operatives

CustomerName customerName stringMandatory 

Name of customer for the plant. (Length of the CustomerName must be less than or equal to 100)

ApplicationName 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)

...

  • Web service client should have valid Matrikkel values to use this web method. Matrikkel Information of a property can be retrieved by using an appropriate web method of boligmappa web service.
  • If the provided property is not registered in Boligmappa, the property information will be retrieved from infoland and the property will be automatically registered in Boligmappa. Then the plant will be created for that property.
  • Plants can be created only for regular properties and section properties by using this web method.

Response

CreatePlantByMatrikkel CreatePropertyPlantByMatrikkel web method will create the Plant in the system, and return Following properties back to the client.

 

PropertyTypeDescription

PlantDetailsPlantPlantDetails

PropertyPlant

Property and plant Info associated with the boligmappa numbermatrikkel

 

Exceptions

Error CodeDescription
105Plant already exists in system
107Plant creation failed due to internal error
109 Given Matrikkel does not exist in system110
Input parameters contain null or invalid data 117Provided Snr is not valid
118Snr is not provided with the input matrikkel. But given is a sectioned property
119Snr is provided with the input matrikkel. But given is not a sectioned property120Provided Lnr is not valid
121Lnr is not provided with the input matrikkel. But given is a housing corporative share
122Lnr is provided with the input matrikkel. But given is not a housing corporative share
123An exception occurred while processing your request
131 This type of property is not supported
138ApplicationName length is exceeded maximum allowed character limit (10)
172CustomerName length is exceeded maximum allowed character limit (100)
190Customer name is not set
168Given is a matrikkel of a Housing cooperative. This type of property is not supported in this method