Defining Available APS Catalogs
The import-config operation is used to import a custom list (configuration file) of APS Catalogs to Plesk.
Request Packet Structure
A request XML packet that imports a custom list (configuration file) of APS Catalogs to Plesk should include the import-config operation node:
The node has the following graphical representation:
Specifies the name of the configuration file uploaded to the Panel. Data type: string.
Response Packet Structure
The import-config node of the output XML packet is structured as follows:
Wraps the response retrieved from the server. Data type: resultType (
Specifies the execution status of the operation. Data type: string. Allowed values: ok | error.
errcode, required if the operation fails
Returns the error code. Data type: integer.
errtext, required if the operation fails
Returns the error message. Data type: string.
Request packets importing the APS Catalogs configuration previously uploaded to the server look as follows.
Such negative response is received if a requested file is not found:
Such negative response is received if a requested file has improper access rights (most probably, as a result of uploading it the way different from using the upload agent):