The xAssets API - Method : WebCommandProcessorArray

Summary

Execute an API command with arguments. Most commands either return a single value, or return a data table in the form of XML

Parameters

Parameter : sHash

sHash : The hash returned from the logon function

Parameter : sUserName

sUserName : The username of the logged on user

Parameter : sDatabase

sDatabase : The database name of your instance

Parameter : sIP

sIP : Your IP address. This must match your web facing IP address

Parameter : sCommand

sCommand : The API command to execute

Parameter : sArguments

A string array of arguments

Parameter : sDNS

sDNS : The DNS path of your instance

Parameter : lPort

lPort : The port of your instance (normally 443)

Parameter : sScheme

sScheme : This is always "https"

Parameter : sNonce

sNonce : This must be the nonce passed to you by the logon function

Parameter : datNonce

datNonce : This must be the nonce date passed to you by the logon function

Syntax and Examples

Restful syntax with Microsoft Visual Basic

Example 1

There is no restful call for this SOAP Interface operation - use a SOAP method instead

SOAP Syntax with Microsoft Visual Basic

Example 1


    Return w.WebCommandProcessorArray(sHash, sUserName, sDatabase, sIP, sCommand, sArguments, sDNS, lPort, sScheme, sNonce, datNonce)
                            

AMSX Syntax

Example 1

AMSX is an internal language and does not need to access web services to execute

XCS Syntax

Example 1

XCS access the server through a web browser. API calls can be executed directly from API Commands using Server.API, Server.Save and Server.SaveSpecial

Download the Visual Studio API Samples Project

Return to the API Index Page