PerfectView


Click here for a complete list of operations.

MobileCreateAccount

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /perfectview.asmx HTTP/1.1
Host: api.perfectview.nl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://Api.perfectview.nl/MobileCreateAccount"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <MobileCreateAccount xmlns="https://Api.perfectview.nl">
      <apiKey>guid</apiKey>
      <accountData>
        <DatabaseData>
          <ContractOwnerApiKey>guid</ContractOwnerApiKey>
          <ProcessOwnerApiKey>guid</ProcessOwnerApiKey>
          <LeadGeneratorApiKey>guid</LeadGeneratorApiKey>
          <DatabaseId>guid</DatabaseId>
          <UserId>guid</UserId>
          <ConformationCode>string</ConformationCode>
          <NumberOfLicenses>int</NumberOfLicenses>
          <SourceDatabaseId>guid</SourceDatabaseId>
          <CopyUsers>boolean</CopyUsers>
        </DatabaseData>
        <OrganisationData>
          <Name>string</Name>
          <Street>string</Street>
          <StreetNumber>string</StreetNumber>
          <StreetSuffix>string</StreetSuffix>
          <PostalCode>string</PostalCode>
          <City>string</City>
          <CountryId>guid</CountryId>
          <LanguageCode>int</LanguageCode>
          <Reference>string</Reference>
        </OrganisationData>
        <FirstUserPersonData>
          <GenderCode>int</GenderCode>
          <Initials>string</Initials>
          <FirstName>string</FirstName>
          <MiddleName>string</MiddleName>
          <Name>string</Name>
        </FirstUserPersonData>
        <FirstUserEmployeeData>
          <Function>string</Function>
          <Telephone>string</Telephone>
          <Email>string</Email>
          <Password>string</Password>
        </FirstUserEmployeeData>
        <SlaGeneralContactPersonData>
          <GenderCode>int</GenderCode>
          <Initials>string</Initials>
          <FirstName>string</FirstName>
          <MiddleName>string</MiddleName>
          <Name>string</Name>
        </SlaGeneralContactPersonData>
        <SlaGeneralContactEmployeeData>
          <Function>string</Function>
          <Telephone>string</Telephone>
          <Email>string</Email>
          <Password>string</Password>
        </SlaGeneralContactEmployeeData>
        <SlaFinancialContactPersonData>
          <GenderCode>int</GenderCode>
          <Initials>string</Initials>
          <FirstName>string</FirstName>
          <MiddleName>string</MiddleName>
          <Name>string</Name>
        </SlaFinancialContactPersonData>
        <SlaFinancialContactEmployeeData>
          <Function>string</Function>
          <Telephone>string</Telephone>
          <Email>string</Email>
          <Password>string</Password>
        </SlaFinancialContactEmployeeData>
        <SlaTechnicalContactPersonData>
          <GenderCode>int</GenderCode>
          <Initials>string</Initials>
          <FirstName>string</FirstName>
          <MiddleName>string</MiddleName>
          <Name>string</Name>
        </SlaTechnicalContactPersonData>
        <SlaTechnicalContactEmployeeData>
          <Function>string</Function>
          <Telephone>string</Telephone>
          <Email>string</Email>
          <Password>string</Password>
        </SlaTechnicalContactEmployeeData>
        <LeadData>
          <Subject>string</Subject>
          <ExtraInfo>string</ExtraInfo>
          <HowDidYouFindUsId>guid</HowDidYouFindUsId>
          <NumberOfEmployeesId>guid</NumberOfEmployeesId>
          <LEA_actie>string</LEA_actie>
          <LEA_actienav>string</LEA_actienav>
          <LEA_groep>string</LEA_groep>
          <LEA_toegewezenaan>string</LEA_toegewezenaan>
        </LeadData>
        <WorkflowData>
          <WorkflowName>string</WorkflowName>
          <WorkflowStepName>string</WorkflowStepName>
          <WorkflowQueueId>string</WorkflowQueueId>
        </WorkflowData>
        <Parameters>
          <Parameter>
            <parameter>accountId or username or token or accesscode or password</parameter>
            <value>string</value>
          </Parameter>
          <Parameter>
            <parameter>accountId or username or token or accesscode or password</parameter>
            <value>string</value>
          </Parameter>
        </Parameters>
      </accountData>
    </MobileCreateAccount>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <MobileCreateAccountResponse xmlns="https://Api.perfectview.nl">
      <MobileCreateAccountResult>
        <ValidationCode>string</ValidationCode>
      </MobileCreateAccountResult>
    </MobileCreateAccountResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /perfectview.asmx HTTP/1.1
Host: api.perfectview.nl
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <MobileCreateAccount xmlns="https://Api.perfectview.nl">
      <apiKey>guid</apiKey>
      <accountData>
        <DatabaseData>
          <ContractOwnerApiKey>guid</ContractOwnerApiKey>
          <ProcessOwnerApiKey>guid</ProcessOwnerApiKey>
          <LeadGeneratorApiKey>guid</LeadGeneratorApiKey>
          <DatabaseId>guid</DatabaseId>
          <UserId>guid</UserId>
          <ConformationCode>string</ConformationCode>
          <NumberOfLicenses>int</NumberOfLicenses>
          <SourceDatabaseId>guid</SourceDatabaseId>
          <CopyUsers>boolean</CopyUsers>
        </DatabaseData>
        <OrganisationData>
          <Name>string</Name>
          <Street>string</Street>
          <StreetNumber>string</StreetNumber>
          <StreetSuffix>string</StreetSuffix>
          <PostalCode>string</PostalCode>
          <City>string</City>
          <CountryId>guid</CountryId>
          <LanguageCode>int</LanguageCode>
          <Reference>string</Reference>
        </OrganisationData>
        <FirstUserPersonData>
          <GenderCode>int</GenderCode>
          <Initials>string</Initials>
          <FirstName>string</FirstName>
          <MiddleName>string</MiddleName>
          <Name>string</Name>
        </FirstUserPersonData>
        <FirstUserEmployeeData>
          <Function>string</Function>
          <Telephone>string</Telephone>
          <Email>string</Email>
          <Password>string</Password>
        </FirstUserEmployeeData>
        <SlaGeneralContactPersonData>
          <GenderCode>int</GenderCode>
          <Initials>string</Initials>
          <FirstName>string</FirstName>
          <MiddleName>string</MiddleName>
          <Name>string</Name>
        </SlaGeneralContactPersonData>
        <SlaGeneralContactEmployeeData>
          <Function>string</Function>
          <Telephone>string</Telephone>
          <Email>string</Email>
          <Password>string</Password>
        </SlaGeneralContactEmployeeData>
        <SlaFinancialContactPersonData>
          <GenderCode>int</GenderCode>
          <Initials>string</Initials>
          <FirstName>string</FirstName>
          <MiddleName>string</MiddleName>
          <Name>string</Name>
        </SlaFinancialContactPersonData>
        <SlaFinancialContactEmployeeData>
          <Function>string</Function>
          <Telephone>string</Telephone>
          <Email>string</Email>
          <Password>string</Password>
        </SlaFinancialContactEmployeeData>
        <SlaTechnicalContactPersonData>
          <GenderCode>int</GenderCode>
          <Initials>string</Initials>
          <FirstName>string</FirstName>
          <MiddleName>string</MiddleName>
          <Name>string</Name>
        </SlaTechnicalContactPersonData>
        <SlaTechnicalContactEmployeeData>
          <Function>string</Function>
          <Telephone>string</Telephone>
          <Email>string</Email>
          <Password>string</Password>
        </SlaTechnicalContactEmployeeData>
        <LeadData>
          <Subject>string</Subject>
          <ExtraInfo>string</ExtraInfo>
          <HowDidYouFindUsId>guid</HowDidYouFindUsId>
          <NumberOfEmployeesId>guid</NumberOfEmployeesId>
          <LEA_actie>string</LEA_actie>
          <LEA_actienav>string</LEA_actienav>
          <LEA_groep>string</LEA_groep>
          <LEA_toegewezenaan>string</LEA_toegewezenaan>
        </LeadData>
        <WorkflowData>
          <WorkflowName>string</WorkflowName>
          <WorkflowStepName>string</WorkflowStepName>
          <WorkflowQueueId>string</WorkflowQueueId>
        </WorkflowData>
        <Parameters>
          <Parameter>
            <parameter>accountId or username or token or accesscode or password</parameter>
            <value>string</value>
          </Parameter>
          <Parameter>
            <parameter>accountId or username or token or accesscode or password</parameter>
            <value>string</value>
          </Parameter>
        </Parameters>
      </accountData>
    </MobileCreateAccount>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <MobileCreateAccountResponse xmlns="https://Api.perfectview.nl">
      <MobileCreateAccountResult>
        <ValidationCode>string</ValidationCode>
      </MobileCreateAccountResult>
    </MobileCreateAccountResponse>
  </soap12:Body>
</soap12:Envelope>