Session

Session object for SOAP and REST services.

Property Summary

Property Description
GetCredential
GetParameters Return common request parameters (array of [
GetRequestHeaders Return common HTTP Headers applied to each REST or SOAP request (array of [
SetCredential
SetParameter Sets common request parameter.
SetParameters Sets common request parameters.
SetRequestHeader Sets common request header.
SetRequestHeaders Sets common HTTP Headers applied to each REST or SOAP request.

Action Summary

Action Description
SetUrl Enable URL replacement for all further requests.

Property Detail

GetCredential

Type:

GetParameters

Return common request parameters (array of [{'Name':somename,'Value':somevalue},...])

Type:

GetRequestHeaders

Return common HTTP Headers applied to each REST or SOAP request (array of [{'Name':somename,'Value':somevalue},...])

Type:

SetCredential

Type:

SetParameter

Sets common request parameter. This parameter will be applied to all further REST and SOAP requests.

Type:

SetParameters

Sets common request parameters. These parameters will be applied to all further REST and SOAP requests.

Type:

SetRequestHeader

Sets common request header. This header will be applied to all further REST and SOAP requests.

Type:

SetRequestHeaders

Sets common HTTP Headers applied to each REST or SOAP request.

Type:

Action Detail

SetUrl

Enable URL replacement for all further requests. If request URL starts with oldUrl then replace the beginning with newUrl

SetUrl(oldUrl, newUrl) 

Parameters:

Name Type Description
oldUrl URL to find
newUrl new URL to use instead of oldUrl