The assign-trial-site operation is used to associate trial sites created in Presence Builder with websites in Plesk.
A request XML packet assigning a trial site includes the assign-trial-site operation node:
<packet>
<sitebuilder>
<assign-trial-site>
...
</assign-trial-site>
</sitebuilder>
</packet>
The assign-trial-site node is presented by type AssignTrialSiteInput (sitebuilder.xsd)
. Its graphical representation is as follows:
Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.
The assign-trial-site node of the output XML packet is of type assignTrialSiteOutput (sitebuilder.xsd
) which is structured as follows:
common.xsd
). This packet associates a trial site created in Presence Builder with a website in Plesk.
<packet>
<sitebuilder>
<assign-trial-site>
<pp-site-guid>41a19185-d5a4-4169-88a2-4a1c98c427e8</pp-site-guid>
<sb-site-uuid>3a17be63-0f9f-07df-6d35-57063a097d60</sb-site-uuid>
</assign-trial-site>
</sitebuilder>
</packet>
Response:
<packet>
<sitebuilder>
<assign-trial-site>
<result>
<status>ok</status>
</result>
</assign-trial-site>
</sitebuilder>
</packet>