partner10.assignProductConfiguration

Purpose

Assigns product configuration to a Key.

 

Signature

Method name: partner10.assignProductConfiguration

 

Parameters

# Type Description

1

struct AuthInfo

client authentication information

2

string

number of a key to which product configuration should be assigned

3

string

product configuration ID

 

Returns

Field Type Description

resultCode

int

code for command execution result (see below)

resultDesc

string

textual description of command execution result (see below)

Result Codes

resultCode resultDesc

100

Product configuration for the key <key number> has been successfully changed

200

Client authorization failed

201

Access to this method is denied

202

Access to this object is denied

220

Key <key number> is not found

295

Product configuration with ID = <id> not found

296

Product configuration with ID = <id> is not applicable to the license key

XML Examples

Request message

<?xml version='1.0'?>
<methodCall>
   <methodName>partner10.assignProductConfiguration</methodName>
   <params>
      <param>
         <value>
            <struct>
               <member>
                  <name>login</name>
                  <value>
                     <string>LOGIN</string>
                  </value>
               </member>
               <member>
                  <name>password</name>
                  <value>
                     <string>PASSWORD</string>
                  </value>
               </member>
            </struct>
         </value>
      </param>
      <param>
         <value>
            <string>PLSK.01234567.0000</string>
         </value>
      </param>
      <param>
         <value>
            <string>123</string>
         </value>
      </param>
   </params>
</methodCall>

 

Response message

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
   <params>
      <param>
         <value><struct>
            <member>
               <name>resultCode</name>
               <value><int>100</int></value>
            </member>
            <member>
               <name>resultDesc</name>
               <value>Product configuration for PLSK.01234567.0001 has been successfully changed</value>
            </member>
         </struct></value>
      </param>
   </params>
</methodResponse>
 

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.