Home > Configuration > Policy > setpolicyhttpcallout_returntype

setpolicyhttpcallout_returntype

Use this method to set type of data that the target callout agent returns in response to the callout.
Available settings function as follows:
* TEXT - Treat the returned value as a text string.
* NUM - Treat the returned value as a number.
* BOOL - Treat the returned value as a Boolean value.
Note: You cannot change the return type after it is set.

Syntax



Parameters

name

Name of the HTTP callout to configure.
This is mandatory parameter.

returntype

Type of data that the target callout agent returns in response to the callout. Available settings function as follows: * TEXT - Treat the returned value as a text string. * NUM - Treat the returned value as a number. * BOOL - Treat the returned value as a Boolean value. Note: You cannot change the return type after it is set.
Possible Values : BOOL, NUM, TEXT.

Return Value

Returns simpleResult

See Also