• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

API retrieving Customer unknown error 1060

Nico12

New Pleskian
hi, i try to retrieve a customer over the api. it works if i use the login name for the filter. if i use the "owner-id" i get a error message. i dont really understand the error message and in the api documentation its not documented. the customer exists, i fetched the owner-id over the api.

my request:
<?xml version="1.0" encoding="utf-8"?>
<packet version="1.6.6.0"><customer><get><filter><owner-id>6</owner-id></filter><dataset><gen_info/></dataset></get></customer></packet>

the response (errcode 1060 specified owner can not have sub objects):
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.6.0"><customer><get><result><status>error</status><errcode>1060</errcode><errtext>Specified owner can not have sub objects</errtext><filter-id>6</filter-id></result></get></customer></packet>

OS: Ubuntu 12.04 LTS
Plesk Version: 12

any ideas ?
 
Back
Top