XML-RPC Response Format
Returned in response to a XML-RPC Request
All MyPW XML-RPC responses contain a single struct parameter, containing the following required response parameters.
| RESPONSE PARAMETERS |
| code |
a numeric response code. |
| message |
a text description of the result. |
Example Response:
| Method: auth.auth |
<methodResponse>
<params>
<param>
<value>
<struct>
<member>
<name>code</name>
<value><int>0</int></value>
</member>
<member>
<name>message</name>
<value><string>Token successfully validated</string></value>
</member>
<member>
<name>validate</name>
<value><string>Message digest response validation</string></value>
</member>
</struct>
</value>
</param>
</params>
</methodResponse>
|
In addition, each command may return additional, command-specific, parameters. For more information about the parameters and return values for each method, please refer to the API documentation for that method.
|