pem.addAccount Sample
The following XML snippet shows the structure of sample request for XML-RPC call for this method:
<?xml version="1.0"?>
<methodCall>
<methodName>pem.addAccount</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>branded_domain_name</name>
<value>
<string>${branded_domain_name}</string>
</value>
</member>
<member>
<name>account_id</name>
<value>
<int>${account_id}</int>
</value>
</member>
<member>
<name>account_type</name>
<value>
<string>${account_type}</string>
</value>
</member>
<member>
<name>parent_account_id</name>
<value>
<int>${parent_account_id}</int>
</value>
</member>
<member>
<name>fax</name>
<value>
<struct>
<member>
<name>country_code</name>
<value>
<string>${country_code}</string>
</value>
</member>
<member>
<name>area_code</name>
<value>
<string>${area_code}</string>
</value>
</member>
<member>
<name>ext_num</name>
<value>
<string>${ext_num}</string>
</value>
</member>
<member>
<name>phone_num</name>
<value>
<string>${phone_num}</string>
</value>
</member>
</struct>
</value>
</member>
<member>
<name>phone</name>
<value>
<struct>
<member>
<name>country_code</name>
<value>
<string>${country_code}</string>
</value>
</member>
<member>
<name>area_code</name>
<value>
<string>${area_code}</string>
</value>
</member>
<member>
<name>ext_num</name>
<value>
<string>${ext_num}</string>
</value>
</member>
<member>
<name>phone_num</name>
<value>
<string>${phone_num}</string>
</value>
</member>
</struct>
</value>
</member>
<member>
<name>subscription_id</name>
<value>
<int>${subscription_id}</int>
</value>
</member>
<member>
<name>locale</name>
<value>
<struct>
<member>
<name>country_code</name>
<value>
<string>${country_code}</string>
</value>
</member>
<member>
<name>variant</name>
<value>
<string>${variant}</string>
</value>
</member>
<member>
<name>language_code</name>
<value>
<string>${language_code}</string>
</value>
</member>
</struct>
</value>
</member>
<member>
<name>address</name>
<value>
<struct>
<member>
<name>city</name>
<value>
<string>${city}</string>
</value>
</member>
<member>
<name>house_num</name>
<value>
<string>${house_num}</string>
</value>
</member>
<member>
<name>street_name</name>
<value>
<string>${street_name}</string>
</value>
</member>
<member>
<name>address2</name>
<value>
<string>${address2}</string>
</value>
</member>
<member>
<name>zipcode</name>
<value>
<string>${zipcode}</string>
</value>
</member>
<member>
<name>country</name>
<value>
<string>${country}</string>
</value>
</member>
<member>
<name>state</name>
<value>
<string>${state}</string>
</value>
</member>
</struct>
</value>
</member>
<member>
<name>email</name>
<value>
<string>${email}</string>
</value>
</member>
<member>
<name>person</name>
<value>
<struct>
<member>
<name>company_name</name>
<value>
<string>${company_name}</string>
</value>
</member>
<member>
<name>title</name>
<value>
<string>${title}</string>
</value>
</member>
<member>
<name>first_name</name>
<value>
<string>${first_name}</string>
</value>
</member>
<member>
<name>last_name</name>
<value>
<string>${last_name}</string>
</value>
</member>
<member>
<name>middle_name</name>
<value>
<string>${middle_name}</string>
</value>
</member>
</struct>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>