RemoteWorkflowCall class

From Catglobe Wiki
Revision as of 12:27, 7 November 2011 by Tungocman (talk | contribs)
Jump to: navigation, search

RemoteWorkflowCall class



Class to call workflows on other sites.

Constructors

  • (number resourceId "The resource id of the script to call on the foreign site", string username "The username on the foreign site", string password "The password on the foreign site") - Create new request
  • (number resourceId "The resource id of the script to call on the foreign site", string username "The username on the foreign site", string password "The password on the foreign site", AnyType parameter "The parameter to call the workflow with on the foreign site") - Create new request

Methods

  • AnyType Call(string site "Url of the site to call. E.g. cg.catglobe.com.") - Call the foreign site and get the result
  • AnyType Call(HttpRequest request "Call using a premade object, in case it requires special settings.") - Call the foreign site and get the result
  • HttpRequest CreateDefaultRequest(string site "Url of the site to call. E.g. cg.catglobe.com.") - Create a request with the default settings
  • string ToString() - The string representation of the object

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • TypeInformation TypeInformation { get; } - Get information about this class.


More information about an HTTP Message: http://www.jmarshall.com/easy/http/

Examples