getpolicyhttpcalloutResult Structure Definition

The getpolicyhttpcalloutResult structure defines the return type for getpolicyhttpcallout API.

Syntax



Members

rc

If the method succeeds, rc is 0 else rc > 0. Values above 0x8000 indicate Warnings.

message

If the method succeeds, message is NULL else message contains Error/Warning message.

policyhttpcalloutList

List of policyhttpcallouts


policyhttpcallout Structure Definition

The policyhttpcallout structure defines the actual return type values for getpolicyhttpcallout API.

Syntax



Members

name

Name of the HTTP callout to display.

port

Server port.

vserver

Vserver name

returntype

Return type of the http callout

scheme

Type of scheme(HTTP/HTTPS) for the callout server

httpmethod

Http callout request type

hostexpr

PI string expression for Host

urlstemexpr

PI string expression for URL stem

fullreqexpr

PI string expression for full http callout request

resultexpr

PI string expression for http callout response

hits

Total hits

undefhits

Total undefs

svrstate

The state of the service

effectivestate

The effective state of the service

undefreason

Reason for last undef

recursivecallout

Number of recursive callouts

bodyexpr

An advanced string expression for generating the body of the request. The expression can contain a literal string or an expression that derives the value (for example, client.ip.src). Mutually exclusive with -fullReqExpr.

cacheforsecs

Duration, in seconds, for which the callout response is cached. The cached responses are stored in an integrated caching content group named "calloutContentGroup". If no duration is configured, the callout responses will not be cached unless normal caching configuration is used to cache them. This parameter takes precedence over any normal caching configuration that would otherwise apply to these responses. Note that the calloutContentGroup definition may not be modified or removed nor may it be used with other cache policies.

comment

Any comments to preserve information about this HTTP callout.

_nextgenapiresource


See Also