LookupMatrikkelsByOrganizationNumber

Description

This method is used to return all the Matrikkels for a given OrganizationNumber. Any company with an OrganizationNumber of a company that owns some properties can use this method to retrieve the Matrikkels of property owned. The retrieved Matrikkels can then be used to locate a property using the LookupPropertyByMatrikkel method.

Request

ParameterTypeMandatory/OptionalMaximum character length/limitDescription
inputLookupMatrikkelsByOrganizationNumberInputMandatoryNot RelevantLookup Matrikkels by OrganizationNumber Input
applicationNamestringMandatoryShould be less than or equal to 10 charactersThe name of the integration partner

 

LookupMatrikkelsByOrganizationNumberInput

Parameter

Type

Description

OrganizationNumberintOrganizationNumber

Request - sample input

<LookupMatrikkelsByOrganizationNumber>
  <MethodParameters>
    <UserAuthentication>
      <UserName>username</UserName>
      <Password>password</Password>
      <AnyAttr attr0="XmlAttributeArray" isNull="false">
        <XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
      </AnyAttr>
    </UserAuthentication>
    <input>
      <OrganizationNumber>977350735</OrganizationNumber>
    </input>
    <applicationName>test</applicationName>
  </MethodParameters>
</LookupMatrikkelsByOrganizationNumber>

Response

TypeDescription
LookupMatrikkelsByOrganizationNumberOutputLookupMatrikkelsByOrganizationNumberOutput model


LookupMatrikkelsByOrganizationNumberOutput

Parameter

Type

Description

MatrikkelsList<Matrikkel>List of Matrikkels for the given OrganizationNumber

Response - sample output

<LookupMatrikkelsByOrganizationNumber>
  <MethodParameters>
    <LookupMatrikkelsByOrganizationNumberOutput>
      <Matrikkels attr0="MatrikkelArray" isNull="false">
        <MatrikkelArray0>
          <Knr>301</Knr>
          <Gnr>209</Gnr>
          <Bnr>104</Bnr>
          <Fnr>0</Fnr>
          <Snr>0</Snr>
        </MatrikkelArray0>
        <MatrikkelArray1>
          <Knr>301</Knr>
          <Gnr>209</Gnr>
          <Bnr>106</Bnr>
          <Fnr>0</Fnr>
          <Snr>0</Snr>
        </MatrikkelArray1>
        <MatrikkelArray2>
          <Knr>301</Knr>
          <Gnr>209</Gnr>
          <Bnr>107</Bnr>
          <Fnr>0</Fnr>
          <Snr>0</Snr>
        </MatrikkelArray2>
        <MatrikkelArray3>
          <Knr>301</Knr>
          <Gnr>209</Gnr>
          <Bnr>202</Bnr>
          <Fnr>0</Fnr>
          <Snr>0</Snr>
        </MatrikkelArray3>
        <MatrikkelArray4>
          <Knr>301</Knr>
          <Gnr>209</Gnr>
          <Bnr>203</Bnr>
          <Fnr>0</Fnr>
          <Snr>0</Snr>
        </MatrikkelArray4>
      </Matrikkels>
    </LookupMatrikkelsByOrganizationNumberOutput>
  </MethodParameters>
</LookupMatrikkelsByOrganizationNumber>

Exceptions

Error CodeDescription

108

Input parameters contain invalid or null data

123

An exception occurred while processing your request

258Unable to find a company registered to the given OrganizationNumber
358No matching results found for your inputs
395An error occured while retreiving data from Infoland