Response Samples

The following response packet returns after the virtual directory has been created successfully:

<packet version="1.4.2.0">
<virtdir>
<create>
    <result>
       <status>ok</status>
    </result>
</create>
</virtdir>
</packet>

 

If the request packet creates multiple virtual directories, the result of each create operation will be returned in a different create section:

<packet version="1.4.2.0">
<virtdir>
<create>
    <result>
       <status>ok</status>
    </result>
</create>
<create>
    <result>
       <status>ok</status>
    </result>
</create>
</virtdir>
</packet>

 

The create nodes will follow one another in the order they have been sent within the request packet.

If the create operation fails, the following response packet can be returned by Plesk server:

<packet version="1.4.2.0">
<virtdir>
<create>
    <result>
       <status>error</status>
       <errcode>1023</errcode>
       <errtext>Operation failed.</errtext>
    </result>
</create>
</virtdir>
</packet>