OnWebServiceResult()

void OnWebServiceResult(inTicket, inOriginalUrl, inXMLResult, inIsError, inHttpStatus, inContentType) 

Description

This callback is used when checking for a response from a webservice, click here to learn more

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inTicket string A unique Identifier to the call made. It is the return value of the WebServiceGet or WebServicePost function call.
inOriginalURL  string  The URL 
inResults string The response received from the webservice
inIsError bool Returns true if returns an error
inHttpStatusCode Int Http status code
inContentType string The content type

 

Return Type

void

Example

Prompt the response of the webservice

function OnWebServiceResult(inTicket, inOriginalUrl, inXMLResult, inIsError, inHttpStatus, inContentType)
{
      Prompt("WebServiceResponse: " + inResult);
}

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.