Example of a XML-RPC success response:
<?xml version="1.0" encoding="UTF-8"?> <methodResponse> <params> <param> <value> <struct> <member> <name>code</name> <value> <int>1000</int> </value> </member> <member> <name>msg</name> <value> <string>Command completed successfully</string> </value> </member> <member> <name>resData</name> <value> <struct> <member> <name>customerId</name> <value> <int>10069</int> </value> </member> <member> <name>customerNo</name> <value> <int>110069</int> </value> </member> <member> <name>accountId</name> <value> <int>61140</int> </value> </member> <member> <name>tfa</name> <value> <string>0</string> </value> </member> </struct> </value> </member> <member> <name>svTRID</name> <value> <string>20230210-38566814-ote</string> </value> </member> <member> <name>runtime</name> <value> <double>0.058500</double> </value> </member> </struct> </value> </param> </params> </methodResponse>
Example of a XML-RPC error response:
<?xml version="1.0" encoding="UTF-8"?> <methodResponse> <params> <param> <value> <struct> <member> <name>code</name> <value> <int>2003</int> </value> </member> <member> <name>msg</name> <value> <string>Required parameter missing</string> </value> </member> <member> <name>reasonCode</name> <value> <string>MISSING_ID</string> </value> </member> <member> <name>reason</name> <value> <string>The following parameter is missing: id</string> </value> </member> <member> <name>details</name> <value> <array> <data> <value> <struct> <member> <name>code</name> <value> <string>PARAM_MISSING</string> </value> </member> <member> <name>msg</name> <value> <string>The parameter 'id' is missing</string> </value> </member> </struct> </value> </data> </array> </value> </member> <member> <name>svTRID</name> <value> <string>20230210-38566799-ote</string> </value> </member> <member> <name>runtime</name> <value> <double>0.004500</double> </value> </member> </struct> </value> </param> </params> </methodResponse>
Return parameters:
code: Return code (described in Chapter 4: Result Codes)
msg: Return message (described in Chapter 4: Result Codes)
reasonCode: Additional short error message tag
reason: Additional error message
resData: Data result values
svTRID: The svTRID stands for Server Transaction Identifier and may be helpful if you contact our support team