Register Users
The registeruser API registers a user against a specific line item.
Endpoint
https://<site-id>/flexnet/pubservices/registeruser
Method
POST
Request Schema
The request body for the registeruser API must be an XML document that conforms to the following XML Schema (XSD).
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:com.macrovision:flexnet/operations/publicservices"
xmlns:xs="http://www.w3.org/2001/XMLSchema "
xmlns:tns="urn:com.macrovision:flexnet/operations/publicservices"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="Request" type="tns:registerUserRequestType"/>
<xs:complexType name="registerUserRequestType">
<xs:sequence>
<xs:element name="ActivationId" type="xs:string"/>
<xs:element name="UserId" type="xs:string"/>
<xs:element name="FirstName" type="xs:string"/>
<xs:element name="LastName" type="xs:string" minOccurs="0"/>
<xs:element name="Email" type="xs:string" minOccurs="0"/>
<xs:element name="Street" type="xs:string" minOccurs="0"/>
<xs:element name="City" type="xs:string" minOccurs="0"/>
<xs:element name="State" type="xs:string" minOccurs="0"/>
<xs:element name="Country" type="xs:string" minOccurs="0"/>
<xs:element name="ZipCode" type="xs:string" minOccurs="0"/>
<xs:element name="Phone" type="xs:string" minOccurs="0"/>
<xs:element name="Fax" type="xs:string" minOccurs="0"/>
<xs:element name="Company" type="xs:string" minOccurs="0"/>
<xs:element name="Locale" type="xs:string" minOccurs="0"/>
<xs:element name="TimeZone" type="xs:string" minOccurs="0"/>
<xs:element name="OptIn" type="xs:boolean" minOccurs="0"/>
<xs:element name="NeedCredentialsEmail" type="xs:boolean" minOccurs="0"/>
<xs:element name="CustomAttributeList" type="tns:customAttributeListType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="customAttributeListType">
<xs:sequence>
<xs:element name="CustomAttribute" type="tns:customAttributeType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="customAttributeType">
<xs:sequence>
<xs:element name="Name" type="xs:string" />
<xs:choice>
<xs:element name="Value" type="xs:string" />
<xs:element name="MultiValue" type="xs:string" maxOccurs="unbounded" />
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:schema>