Type clientSetGenInfo

When setting the general customer account information, complex type clientSetGenInfo (plesk_client.xsd) is used in the response set packet. It is structured as follows:

  • The cname node is optional. It specifies the company name. Data type: string (1 to 60 characters long).
  • The pname node is optional. It specifies the personal name of the customer who owns the customer account. Data type: string (1 to 60 characters long).
  • The login node is optional. It specifies the login name of the customer account. Data type: string (1 to 20 characters long).
  • The passwd node is optional. It specifies the customer account password.Data type: string.
  • The status node is optional. It specifies the current status of the customer account. Data type: objectStatus (plesk_common.xsd). Allowed values: 0 (active) | 16 (disabled_by admin) | 4 (under backup/restore) | 256 (expired). Default value: 0. Only status values 0 and 16 can be set up.
  • The phone node is optional. It specifies the phone number of the customer account owner. Data type: string (0 to 30 characters long).
  • The fax node is optional. It specifies the fax number of the customer account owner. Data type: string (0 to 30 characters long).
  • The email node is optional. It specifies the email address of the customer account owner. Data type: string (0 to 255 characters long).
  • The address node is optional. It specifies the postal address of the customer account owner. Data type: string (0 to 255 characters long).
  • The city node is optional. It specifies the city of the customer account owner. Data type: string (0 to 50 characters long).
  • The state node is optional. It specifies the US state of the customer account owner (specified for US citizens only). Data type: string (0 to 50 characters long).
  • The pcode node is optional. It specifies the zip code of the customer account owner (specified for US citizens only). Data type: string (0 to 10 characters long).
  • The country node is optional. It specifies the 2-character country code of the customer account owner (US for United States, CA for Canada, etc.). Data type: string (2 characters long).
  • The locale node is optional. It specifies the locale used on the customer account. Data type: string. Default value: en-US.

Note: Use four-letter locale names (RFC 1766).

  • The guid node is optional. If specified, the new GUID is assigned to the customer. For details on GUIDs, refer to the GUIDs Overview section of the XML API Developer's Guide. Data type: boolean.
  • The external-id node is optional. It specifies the customer GUID in the Panel components (for example, Business Manager). Data type: string.
  • The description node is optional. It specifies a description for the customer account. Data type: string.
 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.