contact@webdyn.com | webdyn.com
V2.05 subject to changes | Webdyn © by Flexitron Group
Properties:
• rpcName: Name of the script and the function to be executed in the form <script name>.<function
name>. For a command, we will use for the script name sunpm which is reserved for the
internal commands of the WebdynSun PM.
• parameters: Some functions and commands require additional parameters. When not, this
eld is optional.
• callerId: An identier associated with this request.
Each entry in the table corresponds to a different command. Note that if the le contains only one
command, the square brackets are optional. The format of the results le is as follows:
[{
“result”:{ <éléments retournés par la fonction au format JSON> },
“error”:”<description de l’erreur en cas d’échec>”,
“callerId”:”<identiant commande 1>”
},
{
“result”:{ <éléments retournés par la fonction au format JSON> },
“error”:”<description de l’erreur en cas d’échec>”,
“callerId”:”<identiant commande 2>”
},
…
]
Properties:
• result: If the function or command is successful, it returns a result in JSON format contained in
this eld. In case of error this eld is absent.
• error: In the event of an error, this eld contains a description of the problem encountered. If
the function or command is successful, this eld is absent.
• callerId: The same identier as in the request. So you can associate this answer to its original
request.
Each entry in the array corresponds to a different command result.