SendDocumentsToPrivateSection

Description

This method is used to send documents to a potential buyer or seller of a property. User should have a valid work-space for the given property in order to send documents for that particular property. 

Request

ParameterTypeMandatory/OptionalComments
SendDocumentsToPrivateSectionInput
MandatoryNot relevant
applicationNamestringMandatoryShould be less than or equal to 10 character

Sample Input 

<SendDocumentsToPrivateSection>
  <MethodParameters>
    <UserAuthentication>
      <UserName>sameera</UserName>
      <Password>xxxxx</Password>
      <AnyAttr attr0="XmlAttributeArray" isNull="false">
        <XmlAttributeArray0>System.Xml.XmlAttribute</XmlAttributeArray0>
      </AnyAttr>
    </UserAuthentication>
    <input>
      <StakeholderId>7</StakeholderId>
      <Documents attr0="DocumentSubsetInputArray" isNull="false">
        <DocumentSubsetInputArray0>
          <FileName>HomeSaleDoc.pdf</FileName>
          <DocumentTypeId>0</DocumentTypeId>
		  <Title>Sales of New apartment</Title>
          <Url>https://wwww.sample.com/silvestris_silvestris_small_gradual_decrease_of_quality.png</Url>
          <Description>Home Sale 3</Description>
          <Data isNull="false" />
          <IsVisibleToStakeholder>True</IsVisibleToStakeholder>
          <ProfessionId>-1</ProfessionId>
        </DocumentSubsetInputArray0>
		<DocumentSubsetInputArray1>
          <FileName>HomeSaleDoc.pdf</FileName>
          <DocumentTypeId>12</DocumentTypeId>
		  <Title>Sales of New Home</Title>
          <Url></Url>
          <Description>Home Sale 3</Description>
          <Data>Valid Base64 String</Data>
          <IsVisibleToStakeholder>True</IsVisibleToStakeholder>
          <ProfessionId>-1</ProfessionId>
        </DocumentSubsetInputArray1>
      </Documents>
    </input>
    <applicationName>HO1</applicationName>
  </MethodParameters>
</SendDocumentsToPrivateSection>


Response

TypeDescription
SendDocumentsToPrivateSectionOutputSaved Documents Array with status code

 Sample Output

<SendDocumentsToPrivateSection>
  <MethodParameters>
    <SendDocumentsToPrivateSectionOutput>
      <Statuses attr0="DocumentUploadStatusArray" isNull="false">
        <DocumentUploadStatusArray0>
          <DocumentTitle>HomeSaleDoc.pdf</DocumentTitle>
          <DocumentId>101414</DocumentId>
          <UploadStatusCode>1</UploadStatusCode>
          <ErrorCode>0</ErrorCode>
        </DocumentUploadStatusArray0>
      </Statuses>
    </SendDocumentsToPrivateSectionOutput>
  </MethodParameters>
</SendDocumentsToPrivateSection>


Exceptions

Error CodeDescription
108Input parameters contain invalid or null data

111

plantId does not exist for your company or your license does not authorize you to access this plantId

112There is no document to upload
113One or more mandatory fields have not been provided 
114File name contains invalid charactor(s)
115Given ProfessionId(s) are not valid
116Invalid DocumentTypeId
123An exception occurred while processing your request
126File extension is not specified or file extension is not valid
133Url or Data must be provided to create a document file
136Provided Url is invalid
138applicationName length has exceeded the maximum character limit allowed (10)
146The applicationName is not set

165

The given profession is not registered to your company

167

You are not authorized to use this method

332Document FileName has exceeded the maximum character limit of 260
330Document Description has exceeded the maximum character limit of 360
331Document Title has exceeded the maximum character limit of 260
15364 bit encoded data decoding has failed
428Stakeholder Id does not exist for your company or your license does not authorize you to access this Stakeholder Id