This section describes the available RESTCaller operations that create,
retrieve, update, and delete addressed resources.
PUT
Sends an HTTP PUT request to the rest service URL. Generally used for
creating the addressed resource.
Arguments:
- restUrl
- options
- params
- bodyXML
Options that apply:
- returnAllHttpCodes
- copyResultsAsText
- responseConversion
- sendAsJSON
- sendAsText
- sendParamsAsFormData
- sendThisContentType
- authorizationType
- httpAuthorization
- returnJSONTypeHints
- httpHeaders
- preserveJSONEscapes
Note: HTTP PUT commands are often blocked by outbound firewall policies;
therefore, ensure you have access through the firewall before the orchestration
workflow executes a PUT command.
GET
Sends an HTTP GET request to the rest service URL. Generally used for
retrieving the addressed resource, but some services may use GET
for other purposes as well.
Arguments:
Options that apply:
- returnAllHttpCodes
- copyResultsAsText
- responseConversion
- authorizationType
- httpAuthorization
- returnJSONTypeHints
- httpHeaders
- preserveJSONEscapes
POST
Sends an HTTP POST request to the rest service URL. Generally used for
updating the addressed resource.
Arguments:
- restUrl
- options
- params
- bodyXML
Options that apply:
- returnAllHttpCodes
- copyResultsAsText
- responseConversion
- sendAsJSON
- sendAsText
- sendParamsAsFormData
- sendThisContentType
- authorizationType
- httpAuthorization
- returnJSONTypeHints
- httpHeaders
- preserveJSONEscapes
DELETE
Sends an HTTP DELETE request to the rest service URL. Generally used
for
deleting the addressed resource.
Arguments:
Options that apply:
- returnAllHttpCodes
- authorizationType
- httpAuthorization
- httpHeaders
Note: HTTP DELETE commands are often blocked by outbound firewall
policies; therefore, ensure you have access through the firewall before the
orchestration worklow executes a DELETE command.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.