Versions Compared

Key

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

Description

This method is only used to verify whether a project exists.

 


Request

ParameterTypeMandatory/OptionalMaximum character length/limitDescription
projectCode

string

MandatoryNot RelevantThe code of the project that requires validation
applicationName

string

Mandatory

Should be less than or equal to 10 characters

The name of the integration partner

 


Request - sample input

<ValidateProject>
  <MethodParameters>
    <UserAuthentication>
      <UserName>username</UserName>
      <Password>password</Password>
      <AnyAttr attr0="XmlAttributeArray" isNull="false">
        <XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
      </AnyAttr>
    </UserAuthentication>
    <projectCode>WAA0002-N6</projectCode>
    <applicationName>test</applicationName>
  </MethodParameters>
</ValidateProject>

Response

TypeDescription
ProjectDetails of the project to be validated

...

Response - sample output 

<ValidateProject>
  <MethodParameters>
    <Project actualtype="Project" basetype="Project">
      <ProjectId>1142</ProjectId>
      <ProjectName>hhhhhhhhhhhh</ProjectName>
      <ProjectCode>WAA0002-N6</ProjectCode>
      <ProjectType>0</ProjectType>
      <BoligmappaNumber isNull="true" />
      <IsAdmin>False</IsAdmin>
      <OwnerCompany>
        <Id>3928</Id>
        <OrganizationNumber>123344567</OrganizationNumber>
        <CompanyName>Test123]</CompanyName>
        <Address>
          <StreetName>Main Street,</StreetName>
          <HouseNumber>0</HouseNumber>
          <HouseLetter isNull="false" />
          <ZipCode>1234</ZipCode>
          <City isNull="false" />
        </Address>
        <Municipality isNull="true" />
        <Longitude>0</Longitude>
        <Latitude>0</Latitude>
        <ContactPerson>Yohanhellen</ContactPerson>
        <PhoneNumber>12345678</PhoneNumber>
        <Email>akalankah@99xhellen@test.lkno</Email>
        <UseBoligmappa>False</UseBoligmappa>
        <Professions attr0="StringArray" isNull="false">
          <StringArray0>Elektro/tele</StringArray0>
        </Professions>
        <MemberAsssociations attr0="StringArray" isNull="false">
          <StringArray0>Elektriker</StringArray0>
        </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>7/31/2017 5:38:40 PM</StartedDate>
      <UpdatedDate isNull="true" />
      <ProjectCompanies attr0="CompanyArray" isNull="false">
        <CompanyArray0>
          <Id>3928</Id>
          <OrganizationNumber>123344567</OrganizationNumber>
          <CompanyName>Test123]</CompanyName>
          <Address isNull="true" />
          <Municipality isNull="true" />
          <Longitude>0</Longitude>
          <Latitude>0</Latitude>
          <ContactPerson isNull="true" />
          <PhoneNumber isNull="true" />
          <Email isNull="true" />
          <UseBoligmappa>False</UseBoligmappa>
          <Professions isNull="true" />
          <MemberAsssociations isNull="true" />
          <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" />
        </CompanyArray0>
      </ProjectCompanies>
      <ProjectAddress>
        <StreetName isNull="true" />
        <HouseNumber>0</HouseNumber>
        <HouseLetter isNull="true" />
        <ZipCode isNull="true" />
        <City isNull="true" />
      </ProjectAddress>
      <ProjectContactPersonName>yohan 1helena</ProjectContactPersonName>
      <ProjectContactPersonEmail>manishar@99xhelena@test.lkno</ProjectContactPersonEmail>
      <ProjectContactPersonNumber>11111222</ProjectContactPersonNumber>
      <Reference isNull="true" />
    </Project>
  </MethodParameters>
</ValidateProject>


Note

All fields in the Project model are not returned in the result since it is only used to validate a project. Refer searchProject if you need more details.

...