Versions Compared

Key

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

Note:

...

Note:

  • This is an performance improved version of the GetDocumentsByProject2.

  • This service will return all the fields similar to GetDocumentsByProject2 except for the DocumentCopiedPropertyDetails. 

  • A new project document model

    Projectdocument2

    ProjectDocument2 has been introduced without the field DocumentCopiedPropertyDetails.

  • Use this service if DocumentCopiedPropertyDetails field is not required as this service will improve performance.

...

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

<GetDocumentsByProject2><GetDocumentsByProject3>
  <MethodParameters>
    <UserAuthentication>
      <UserName>username</UserName>
      <Password>password</Password>
      <AnyAttr attr0="XmlAttributeArray" isNull="false">
        <XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
      </AnyAttr>
    </UserAuthentication>
    <input>
      <ProjectId>11092312</ProjectId>
      <ProjectCode isNull="false" />
    </input>
    <applicationName>test</applicationName>
  </MethodParameters>
</GetDocumentsByProject2>GetDocumentsByProject3>

Response

TypeDescription
GetDocumentsByProjectOutputGetDocumentsByProjectOutput Model

...

Parameter
Type
Description
ProjectDocumentsList<ProjectDocument>Project Document Response model list


Response - sample output

<GetDocumentsByProject2><GetDocumentsByProject3>
  <MethodParameters>
    <GetDocumentsByProjectOutput><GetDocumentsByProject3Output>
      <ProjectDocuments attr0="ProjectDocumentArrayProjectDocument2Array" isNull="false">
        <ProjectDocumentArray0><ProjectDocument2Array0>
          <DocumentId>5461859966</DocumentId>
          <FileName>infoland-org.pngRCA_Sprint 15.docx</FileName>
          <FileTypeId>102</FileTypeId>
          <DocumentTypeId>29</DocumentTypeId>
          <Title>testRCA_Sprint 15.docx</Title>
          <Description>test test</Description>
          <OrderNumber>23423424</OrderNumber><Description isNull="true" />
          <OrderNumber isNull="true" />
          <IsVisibleInBoligmappa>FalseTrue</IsVisibleInBoligmappa>
          <UpdatedDate>76/2627/2017 127:1509:35 PM49 AM</UpdatedDate>
          <Url>httphttps://172testbedrift.20boligmappa.1.183no:8080/Document/DownloadDocumentWebService/DownloadDocWithSessionKey?sessionKey=5EF%2fpT8WL%2f6uSd9XlcGF2kE5L%2bZezIt3fi7ZP81WJRXOI9rczHDDxnpJhYyoK%2bGzA1FUEEHHUUF%2f%2f1UHgj8Y8oa78Na4XjyLikCyvpfiylup4L0yseUp062Lq2GcgOv8</Url>
          <PdfDocId>5461959967</PdfDocId>
          <ApplicationTag>testBedrift</ApplicationTag>
          <CompanyId>197</CompanyId>
          <ProfessionId>-12</ProfessionId>
          <ProfessionName>Ikke spesifisertVVS/rørlegger</ProfessionName>
          <BuildingId>0</BuildingId>
          <RoomIds isNull="true" />
          <DeviceIds isNull="true" />
          <OrganizationNumber>914350840959069743</OrganizationNumber>
          <UpdatedBy>hellenSameera</UpdatedBy>
          <ChapterTags attr0="ChapterTagOutputArray" isNull="false">
            <ChapterTagOutputArray0>
              <Id>10</Id>
              <TagName>Annet nyttig</TagName>
              <TagDescription isNull="true" />
            </ChapterTagOutputArray0>
          </ChapterTags>
          <Company>
            <Id>197</Id>
            <OrganizationNumber>914350840959069743</OrganizationNumber>
            <CompanyName>VEGA 1 CAVERION NORGE AS Avdeling Admninistrasjon</CompanyName>
          </Company>
          <ApartmentTags attr0="ApartmentTagsOutputArrayisNull="false" />
          <DocumentCopiedPropertyDetails attr0="PropertyDetailsOfCopiedDocumentsArray" isNull="false" />
        </ProjectDocumentArray0>ProjectDocument2Array0>
        <ProjectDocumentArray1><ProjectDocument2Array1>
          <DocumentId>5462059968</DocumentId>
          <FileName>2017-07-12_06-13-46.jpgHi Yohan.docx</FileName>
          <FileTypeId>92</FileTypeId>
          <DocumentTypeId>038</DocumentTypeId>
          <Title>2017-07-12_06-13-46.jpgHi Yohan.docx</Title>
          <Description isNull="true" />
          <OrderNumber isNull="true" />
          <IsVisibleInBoligmappa>True</IsVisibleInBoligmappa>
          <UpdatedDate>76/27/2017 127:3909:56 PM49 AM</UpdatedDate>
          <Url>httphttps://172testbedrift.20boligmappa.1.183no:8080/Document/DownloadDocumentWebService/DownloadDocWithSessionKey?sessionKey=5EF%2fpT8WL%2f6uSd9XlcGF2mCYfIo55cQDAP4yBWROlLdcrGyhrwFDNmEWJYbuDeELA1FUEEHHUUF%2f%2f1UHgj8Y8h03kIM9ynorRxhDwi904BRz51BNS%2fY04QXi0VUnIBx0</Url>
          <PdfDocId>5462159969</PdfDocId>
          <ApplicationTag>testBedrift</ApplicationTag>
          <CompanyId>197</CompanyId>
          <ProfessionId>82</ProfessionId>
          <ProfessionName>TakVVS/blikkenslagerrørlegger</ProfessionName>
          <BuildingId>0</BuildingId>
          <RoomIds isNull="true" />
          <DeviceIds isNull="true" />
          <OrganizationNumber>914350840959069743</OrganizationNumber>
          <UpdatedBy>hellenSameera</UpdatedBy>
          <ChapterTags attr0="ChapterTagOutputArray" isNull="false">
            <ChapterTagOutputArray0>
              <Id>32</Id>
              <TagName>Informasjon om tekniske anlegg produkter i boligen</TagName>
              <TagDescription isNull="true" />
            </ChapterTagOutputArray0>
            <ChapterTagOutputArray1>
              <Id>43</Id>
              <TagName>Samsvarserklæringer og garantibevisInformasjon om tekniske anlegg i boligen</TagName>
              <TagDescription isNull="true" />
            </ChapterTagOutputArray1>
            <ChapterTagOutputArray2>
              <Id>5</Id>
              <TagName>Sjekklister, målinger og kontrollskjema</TagName>
              <TagDescription isNull="true" />
            </ChapterTagOutputArray2>
          </ChapterTags>
          <Company>
            <Id>197</Id>
            <OrganizationNumber>914350840959069743</OrganizationNumber>
            <CompanyName>VEGA 1 CAVERION NORGE AS Avdeling Admninistrasjon</CompanyName>
          </Company>
          <ApartmentTags attr0="ApartmentTagsOutputArrayisNull="false" />
          <DocumentCopiedPropertyDetails attr0="PropertyDetailsOfCopiedDocumentsArray" isNull="false" />
        </ProjectDocumentArray1>ProjectDocument2Array1>
      </ProjectDocuments>
    </GetDocumentsByProjectOutput>GetDocumentsByProject3Output>
  </MethodParameters>
</GetDocumentsByProject2>GetDocumentsByProject3>


Exceptions

Error CodeDescription

110

Input parameters contain null or invalid data 

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 web method
227The project does not exist or the company is not connected to the given project or your license does not authorize you to access this project
252 

No input is provided for ProjectId or ProjectCode. Provide the input for at least one of these fields 

253 

Ambiguous inputs. Make sure the ProjectCode and projectId refer to the same project 

254 

Invalid ProjectCode 

...