Session

Session object for SOAP and REST services.

Property Summary

Property Description
GetParameters Return common request parameters (array of [{'Name':somename,'Value':somevalue},.
GetRequestHeaders Return common HTTP Headers applied to each REST or SOAP request (array of [{'Name':somename,'Value':somevalue},.
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

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:

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(oldUrl, newUrl)

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

Parameters:

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