Hello,
I'm trying to figure out what is going on here. There seems to be inconsistent data returned when calling this api and passing different values
for the below examples, Output 1 is different for Output 2. The has_backup changes when showing different wants. Additionally, I don't know why has_backup is even showing when I just say I want the domain (or domain,user) only
===============================================================================
#########
# Output 1 #
#########
# /usr/local/cpanel/bin/whmapi1 listaccts search=test.domain.com searchtype=domain want=domain
---
data:
acct:
-
domain: test.domain.com
has_backup: 0
#########
# Output 2 #
#########
# /usr/local/cpanel/bin/whmapi1 listaccts search=test.domain.com searchtype=domain want=domain,user
---
data:
acct:
-
domain: test.domain.com
has_backup: 1
user: testuser
===============================================================================
Thanks for your help
I'm trying to figure out what is going on here. There seems to be inconsistent data returned when calling this api and passing different values
for the below examples, Output 1 is different for Output 2. The has_backup changes when showing different wants. Additionally, I don't know why has_backup is even showing when I just say I want the domain (or domain,user) only
===============================================================================
#########
# Output 1 #
#########
# /usr/local/cpanel/bin/whmapi1 listaccts search=test.domain.com searchtype=domain want=domain
---
data:
acct:
-
domain: test.domain.com
has_backup: 0
#########
# Output 2 #
#########
# /usr/local/cpanel/bin/whmapi1 listaccts search=test.domain.com searchtype=domain want=domain,user
---
data:
acct:
-
domain: test.domain.com
has_backup: 1
user: testuser
===============================================================================
Thanks for your help
Last edited: