Back | Webservices | Home

Registration

Description

This method used for Registeration of New User

Request Parameters

Name Description

soap:header

Username and password

Type: UserCredentials

Children: Userid, Password

RoleId The Role ID: int
LoginName The LoginName: string
Password The Password: string
UserName The User Name: string
SurName The Sur Name: string
EmailId The EmailId: string
DOB The Date of Birth: string
Street The Street: string
HouseNumber The House Number: string
Area The Area: string
City The City: string
PostCode The Post Code: string
Region The Region: string
CountryId The Country ID: int
LanguageId The Language ID: int
Telephone The Telephone: string
ResellerId The Reseller ID: int
ClientId The Client ID: int
ChannelId The Channel ID: int

Response Elements

Name Description

User

A Object of User

Type: User

Example using SOAP

Example Request

The following is a sample SOAP 1.2 request and response.

<?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:Header>
    <UserCredentials xmlns="http://vidzapper.net/Webservice/">
      <Userid>string</Userid>
      <Password>string</Password>
    </UserCredentials>
  </soap12:Header>
  <soap12:Body>
    <Registration xmlns="http://vidzapper.net/Webservice/">
      <RoleId>int</RoleId>
      <LoginName>string</LoginName>
      <Password>string</Password>
      <UserName>string</UserName>
      <SurName>string</SurName>
      <EmailId>string</EmailId>
      <DOB>string</DOB>
      <HouseNumber>string</HouseNumber>
      <Street>string</Street>
      <Area>string</Area>
      <City>string</City>
      <PostCode>string</PostCode>
      <Region>string</Region>
      <CountryId>int</CountryId>
      <LanguageId>int</LanguageId>
      <Telephone>string</Telephone>
      <ResellerId>long</ResellerId>
      <ClientId>long</ClientId>
      <ChannelId>long</ChannelId>
    </Registration>
  </soap12:Body>
</soap12:Envelope>

Example Response



<?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>
    <RegistrationResponse xmlns="http://vidzapper.net/Webservice/">
      <RegistrationResult>
        <ID>int</ID>
        <UserRoleID>int</UserRoleID>
        <LoginName>string</LoginName>
        <Password>string</Password>
        <Name>string</Name>
        <Surname>string</Surname>
        <Email>string</Email>
        <DOB>dateTime</DOB>
        <HouseNumber>string</HouseNumber>
        <Street>string</Street>
        <Area>string</Area>
        <City>string</City>
        <Postcode>string</Postcode>
        <Region>string</Region>
        <Country>int</Country>
        <LanguageID>int</LanguageID>
        <ImageFile>string</ImageFile>
        <Telephone>string</Telephone>
        <ResellerID>int</ResellerID>
        <ClientID>int</ClientID>
        <ParentUserID>int</ParentUserID>
        <Error>
          <Status>string</Status>
          <Message>string</Message>
          <ResultCode>string</ResultCode>
        </Error>
      </RegistrationResult>
    </RegistrationResponse>
  </soap12:Body>
</soap12:Envelope>