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>184.108.40.206</integration-api-version> </connection> </set-ppb-connection> </server> </packet>
<packet version="220.127.116.11"> <server> <set-ppb-connection> <result> <status>ok</status> </result> </set-ppb-connection> </server> </packet>