getSpaceCalculation
The getSpaceCalculation method calculates the free space available on the server.
Request Parameters
None
Response Parameters (return element children)
result
A result code such as internal.request.complete that describes the result. See Error Codes in the Developer's Guide for details.
SpaceCalculation
"error.soap.internalindicating,if there is an internal error
Example Request and Response
Request
Response
<?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:Action>urn:getSpaceCalculation</wsa:Action> <wsa:ReplyTo> <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> </wsa:ReplyTo> <wsa:MessageID>uuid:26634481-3273-4a70-b537-ab4b874e4d6b</wsa:MessageID> </soapenv:Header> <soapenv:Body/> </soapenv:Envelope>
<?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:Action>urn:getSpaceCalculationResponse</wsa:Action> <wsa:RelatesTo>uuid:26634481-3273-4a70-b537-ab4b874e4d6b</wsa:RelatesTo> </soapenv:Header> <soapenv:Body> <ns:SpaceCalculationResponse xmlns:ns="http://server_url"> <ns:return xsi:type="ax25:getSpaceCalculationResponse" xmlns:ax25="http://server_url/xsd" xmlns:ax26="http://server_url/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ax25:result>internal.request.complete</ax25:result> <ax25:SpaceCalculation>5.0.2.0</ax25:SpaceCalculation> </ns:return> </ns:getSpaceCalculationResponse> </soapenv:Body> </soapenv:Envelope>