It is possible to create Customer profiles within iVector. These are referenced using a Customer ID.
The CreateCustomerRequest is used to create a Customer Profile within iVector or to update an existing Customer Profile. A Customer ID is generated for every profile.
The structure of the XML will be the following:
The Response will contain a ReturnStatus, which will provide information regarding the success of the request, as well as a Customer ID, which is used to access the profile at a later date.Â
The structure of the XML will be the following:
<CreateCustomerRequest>
<LoginDetails>
<Login>[username]</Login>
<Password>[password]</Password>
<AgentReference />
<SellingCurrencyID>0</SellingCurrencyID>
<LanguageID>0</LanguageID>
<TrackingAffiliateID>0</TrackingAffiliateID>
</LoginDetails>
<CustomerDetails>
<Title>Mr</Title>
<FirstName>Test</FirstName>
<LastName>Password</LastName>
<Address1>Test House</Address1>
<Address2>Test Street</Address2>
<TownCity>Test City</TownCity>
<County>Herefordshire</County>
<Postcode>HR6 8HF</Postcode>
<CountryID>1</CountryID>
<Phone>123456789</Phone>
<Mobile></Mobile>
<Email>test@test.com</Email>
<Password>082432536</Password>
<ExtReference>12324</ExtReference>
</CustomerDetails>
</CreateCustomerRequest>
<CreateCustomerResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
<ThirdPartyErrors />
</ReturnStatus>
<CustomerID>15</CustomerID>
</CreateCustomerResponse>