AssociateAnonymousProjectToBoligmappaNumber

Description

This method is used to associate an existing anonymous project to a boligmappaNumber.

Request

Parameter
Type
Mandatory/Optional
Maximum character length/limit
Description
projectCodestringMandatory/OptionalNot relevantCode of the anonymous project
projectIdlongMandatory/OptionalNot relevantId of the project
boligmappaNumberstringMandatoryNot relevantA number generated by Boligmappa to uniquely identify properties registered in Boligmappa. (e.g. AAF1234). The  boligmappaNumber should be associated to the anonymous project
applicationName

string

Mandatory

Should be less than or equal to 10 characters

The name of the integration partner


Note: It is mandatory to provide either the projectCode or projectId. First preference is always given to the projectId, if both the projectCode and projectId are provided.


Request - sample input

<AssociateAnonymousProjectToBoligmappaNumber>
  <MethodParameters>
    <UserAuthentication>
      <UserName>username</UserName>
      <Password>password</Password>
      <AnyAttr attr0="XmlAttributeArray" isNull="false">
        <XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
      </AnyAttr>
    </UserAuthentication>
    <projectCode isNull="false" />
    <projectId>1175</projectId>
    <boligmappaNumber>AAA5296</boligmappaNumber>
    <applicationName>test</applicationName>
  </MethodParameters>
</AssociateAnonymousProjectToBoligmappaNumber>


Response

Type
Description
ProjectProject that is associated with the boligmappaNumber


Response - sample output

<AssociateAnonymousProjectToBoligmappaNumber>
  <MethodParameters>
    <Project actualtype="Project" basetype="Project">
      <ProjectId>1175</ProjectId>
      <ProjectName>test annonumous 4</ProjectName>
      <ProjectCode>WAA0002-P5</ProjectCode>
      <ProjectType>1</ProjectType>
      <BoligmappaNumber>AAA5296</BoligmappaNumber>
      <IsAdmin>True</IsAdmin>
      <OwnerCompany>
        <Id>197</Id>
        <OrganizationNumber>914350840</OrganizationNumber>
        <CompanyName>VEGA 1 AS Avdeling Admninistrasjon</CompanyName>
        <Address>
          <StreetName>c/o KPMG Accounting AS Sørkedalsveien</StreetName>
          <HouseNumber>6</HouseNumber>
          <HouseLetter isNull="false" />
          <ZipCode>0369</ZipCode>
          <City>Oslo</City>
        </Address>
        <Municipality>OSLO</Municipality>
        <Longitude>10.7117473</Longitude>
        <Latitude>59.9300847</Latitude>
        <ContactPerson isNull="false" />
        <PhoneNumber>23445678</PhoneNumber>
        <Email>hellen@test.no</Email>
        <UseBoligmappa>True</UseBoligmappa>
        <Professions attr0="StringArray" isNull="false">
          <StringArray0>Elektro/tele</StringArray0>
          <StringArray1>Tak/blikkenslager</StringArray1>
        </Professions>
        <MemberAsssociations attr0="StringArray" isNull="false">
          <StringArray0>NELFO</StringArray0>
          <StringArray1>VBL</StringArray1>
        </MemberAsssociations>
        <ContactPersonDetails isNull="true" />
        <CompanyDescription isNull="true" />
        <CompanyWebSite isNull="true" />
        <CompanyLogo isNull="true" />
        <CompanyProfileImage isNull="true" />
        <FacebookAddress isNull="true" />
        <ButtonTextForHelpLink isNull="true" />
        <HelpLink isNull="true" />
        <FranchiserCompanies isNull="true" />
        <EmployeeCount>0</EmployeeCount>
        <LastFinancialStatementSubmissionYear>0</LastFinancialStatementSubmissionYear>
        <IsVatRegistered>False</IsVatRegistered>
        <IsNavaaRegistered>False</IsNavaaRegistered>
        <ShareCapital>0</ShareCapital>
        <Equity>0</Equity>
        <CreditRating isNull="true" />
        <StartBankStatus isNull="true" />
        <Revenue>0</Revenue>
        <Earning>0</Earning>
        <IsNHOAuthorized isNull="true" />
      </OwnerCompany>
      <Description isNull="true" />
      <ProjectStatus>1</ProjectStatus>
      <StartedDate>9/15/2017 5:23:19 PM</StartedDate>
      <UpdatedDate isNull="true" />
      <ProjectCompanies isNull="true" />
      <ProjectAddress isNull="true" />
      <ProjectContactPersonName>hellen tristan</ProjectContactPersonName>
      <ProjectContactPersonEmail>hellen@test.no/ProjectContactPersonEmail>
      <ProjectContactPersonNumber>+4723412</ProjectContactPersonNumber>
      <Reference isNull="true" />
    </Project>
  </MethodParameters>
</AssociateAnonymousProjectToBoligmappaNumber>

Exceptions

Error Code
Description
138

applicationName length has exceeded the maximum character limit allowed (10) 

146The applicationName is not set
167You are not authorized to use this web method
176boligmappaNumber is not provided
123An exception occurred while processing your request
239Invalid boligmappaNumber
249You are not authorized to do this operation
252No input is provided for projectId or projectCode. Provide the input for at least one of these fields
254Invalid projectCode 
273Project does not exist
274Provided projectCode does not belong to an anonymous project
275Project has already been associated to a plot or a building