CreateProject

Description

This method is used to create a project in Boligmappa. The project is owned by the company of the user (project owner) who created this project.

Request

ParameterTypeMandatory/OptionalMaximum character length/limitDescription
boligmappaNumberstringOptionalNot relevantA number generated by Boligmappa to uniquely identify properties registered in Boligmappa. (e.g. AAF1234)
projectName string Mandatory Not relevantName of the project
projectDescriptionstringOptionalNot relevantDescription of the project
contactPersonNamestringMandatoryNot relevantName of the contact person
contactNumberstringOptionalNot relevantContact telephone number of the contact person
contactEmailAddressstringMandatoryNot relevantContact email address
applicationNamestringMandatoryShould be less than or equal to 10 charactersThe name of the integration partner

 Request - sample input

<CreateProject>
  <MethodParameters>
    <UserAuthentication>
      <UserName>username</UserName>
      <Password>password</Password>
      <AnyAttr attr0="XmlAttributeArray" isNull="false">
        <XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
      </AnyAttr>
    </UserAuthentication>
    <boligmappaNumber isNull="false" />
    <projectName>Test project</projectName>
    <projectDescription isNull="false" />
    <contactPersonName>hellen</contactPersonName>
    <contactNumber isNull="false" />
    <contactEmailAddress>hellen@test.no</contactEmailAddress>
    <applicationName>test</applicationName>
  </MethodParameters>
</CreateProject>

Response

TypeDescription
ProjectProject related details

Response – sample output

  <CreateProject>
  <MethodParameters>
    <Project actualtype="Project" basetype="Project">
      <ProjectId>1236</ProjectId>
      <ProjectName>Test project</ProjectName>
      <ProjectCode>WAA0002-T6</ProjectCode>
      <ProjectType>0</ProjectType>
      <BoligmappaNumber isNull="true" />
      <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="false" />
      <ProjectStatus>1</ProjectStatus>
      <StartedDate>11/14/2017 4:19:03 PM</StartedDate>
      <UpdatedDate isNull="true" />
      <ProjectCompanies isNull="true" />
      <ProjectAddress isNull="true" />
      <ProjectContactPersonName>hellen</ProjectContactPersonName>
      <ProjectContactPersonEmail>hellen@test.no</ProjectContactPersonEmail>
      <ProjectContactPersonNumber>Not available</ProjectContactPersonNumber>
      <Reference isNull="true" />
    </Project>
  </MethodParameters>
</CreateProject>

Exceptions

Error CodeDescription
113One or more mandatory fields have not been provided 
123An exception occurred while processing your request
138

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

146The applicationName is not set
167You are not authorized to use this method
239

Invalid boligmappaNumber

260contactEmailAddress is not valid
270

contactNumber is not valid

430Project Name (100), Project Description (500), Contact Person Name (250) and Contact Person Email (50) length exceeds maximum character limit