Response Packet Structure
The set-ppb-connection node of the response packet is structured as follows:
- The result node is required. It wraps the result of the set-ppb-connection operation. Data type: resultType (
- The status node is required. It returns the execution status of the operation. Data type: string. Allowed values: ok | error.
- The errcode node is required if the operation fails. Returns error code. Data type: unsignedInt.
- The errtext node is is required if the operation fails. Returns error message. Data type: string.
A request packet setting a connection to CBM can look as follows:
<packet> <server> <set-ppb-connection> <connection> <ppb-url>https://host.name:8443/plesk-billing/</ppb-url> <remote-access-hash>f2ad7647377beb58808b8ffceff5527d4f9d4c1d</remote-access-hash> <integration-api-version>22.214.171.124</integration-api-version> </connection> </set-ppb-connection> </server> </packet>
<packet version="126.96.36.199"> <server> <set-ppb-connection> <result> <status>ok</status> </result> </set-ppb-connection> </server> </packet>