IUCServiceContactCreate Method |
Create new Member Contact
Namespace:
LSOmni.Service
Assembly:
LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.6
Syntax Exceptions Exception | Condition |
---|
LSOmniServiceException | StatusCodes returned:
- StatusCode.Error
- StatusCode.UserNamePasswordInvalid
- StatusCode.PasswordInvalid
- StatusCode.EmailInvalid
- StatusCode.UserNameInvalid
- StatusCode.UserNameExists
- StatusCode.MissingLastName
- StatusCode.MissingFirstName
- StatusCode.AccountNotFound
|
Remarks
LS Central WS2 : MemberContactCreate
Contact will get new Card that should be used when dealing with Orders. Card Id is the unique identifier for Contacts in LS Central
Contact will be assigned to a Member Account.
Member Account has Club and Club has Scheme level.
If No Account is provided, New Account will be created.
If No Club level for the Account is set, then default Club and Scheme level will be set.
Valid UserName, Password and Email address is determined by LS Central and can be found in CU 99009001.
Examples
This Sample request can be used in SOAP UI application to send request to LS Commerce.
Include minimum data needed to be able to process the request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://lsretail.com/LSOmniService/EComm/2017/Service" xmlns:ns="http://lsretail.com/LSOmniService/Base/2017" xmlns:ns1="http://lsretail.com/LSOmniService/Loy/2017">
<soapenv:Header/>
<soapenv:Body>
<ser:ContactCreate>
<ser:contact>
<ns1:Account>
<ns:Id></ns:Id>
<ns1:Scheme>
<ns:Id></ns:Id>
<ns1:Club>
<ns:Id>CRONUS</ns:Id>
</ns1:Club>
</ns1:Scheme>
</ns1:Account>
<ns1:Addresses>
<ns:Address>
<ns:Address1>Santa Monica</ns:Address1>
<ns:CellPhoneNumber>555-5551</ns:CellPhoneNumber>
<ns:City>Hollywood</ns:City>
<ns:Country>US</ns:Country>
<ns:PhoneNumber>666-6661</ns:PhoneNumber>
<ns:PostCode>1001</ns:PostCode>
<ns:StateProvinceRegion></ns:StateProvinceRegion>
<ns:Type>Residential</ns:Type>
</ns:Address>
</ns1:Addresses>
<ns1:Email>Sarah@Hollywood.com</ns1:Email>
<ns1:FirstName>Sarah</ns1:FirstName>
<ns1:Gender>Female</ns1:Gender>
<ns1:Initials>Ms</ns1:Initials>
<ns1:LastName>Parker</ns1:LastName>
<ns1:MiddleName></ns1:MiddleName>
<ns1:Password>SxxInTheCity</ns1:Password>
<ns1:UserName>sarah</ns1:UserName>
</ser:contact>
</ser:ContactCreate>
</soapenv:Body>
</soapenv:Envelope>
See Also