revXMLRPC_GetParam |
Type | function |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | revXMLRPC_GetParam(<XMLRPCdocumentID>,<paramNumber>[, <dataType>])
|
Associations | xml-rpc library |
Summary | Returns a single parameter from an XML-RPC document structure.
|
Introduced | 2.5 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Parameters | Name | Type | Description |
---|
XMLRPCdocumentID | | The number returned by the revXMLRPC_CreateRequest when you created the
XML-RPC request, or the successful revXMLRPC_Execute function when you
executed an XML-RPC request.
|
paramNumber | | The number given to the parameter within the XML-RPC document structure.
|
dataType | | The type of data contained in the parameters data. "base64": the value is base64-encoded
"boolean": the value is true or false
"dateTime.iso8601": the value is an Internet date
"double": the value is a floating-point number
"int" or "i4": the value is an integer number
"string": the value is a string of characters
"array": the value is an array of data (see below)
"xml": the value is data in xml-format (see below)
|
|
Example | local tResultString
put revXMLRPC_GetParam(tResponse,1,"string") into tResultString
|
Related | Command: revXMLRPC_AddParam
Function: revXMLRPC_CreateRequest, revXMLRPC_Execute
Glossary: XML-RPC
Library: XML-RPC library
|
Security | disk, process |
Description | Use revXMLRPC_GetParam to get the value of a single parameter from within
an XML-RPC document structure.
|