-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Description
The siteId is a mandatory field for $client->mail()->create()
, yet it seems impossible to get via the api.
The endpoint $client->webspace()->getAll()
returns just the contents of /packet/webspace/get/result/data/gen_info
information about the site, but skips the site id in
/packet/webspace/get/result/id
in the response XML.
So, how do I get the id needed for email account creation (and other site related actions)?
XML response for reference:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.9.1">
<webspace>
<get>
<result>
<status>ok</status>
<filter-id>1</filter-id>
<id>1</id>
<data>
<gen_info>
<!-- Only (some) contents form here are returned -->
</gen_info>
</data>
</result>
</get>
</webspace>
</packet>
Metadata
Metadata
Assignees
Labels
No labels