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
Parameter | Type | Mandatory/Optional | Maximum character length/limit | Description |
---|---|---|---|---|
input | LookupMatrikkelsByOrganizationNumberInput | Mandatory | Not Relevant | Lookup Matrikkels by OrganizationNumber Input |
applicationName | string | Mandatory | Should be less than or equal to 10 characters | The name of the integration partner |
LookupMatrikkelsByOrganizationNumberInput
Parameter | Type | Description |
---|---|---|
OrganizationNumber | int | OrganizationNumber |
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
Type | Description |
---|---|
LookupMatrikkelsByOrganizationNumberOutput | LookupMatrikkelsByOrganizationNumberOutput model |
LookupMatrikkelsByOrganizationNumberOutput
Parameter | Type | Description |
---|---|---|
Matrikkels | List<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 Code | Description |
---|---|
108 | Input parameters contain invalid or null data |
123 | An exception occurred while processing your request |
258 | Unable to find a company registered to the given OrganizationNumber |
358 | No matching results found for your inputs |
395 | An error occured while retreiving data from Infoland |