Parameter Name | Data Type | Description | Default Value | Example |
---|
Label | String | Insert excerpt |
---|
| File Writer |
---|
| File Writer |
---|
nopanel | true |
---|
|
| N/A | Delete Identified Objects |
Service URL | String | Multiexcerpt include macro |
---|
name | REST_Serviceurl |
---|
page | REST Get |
---|
|
| N/A | "https://www.example.com/slm/webservice/v2.0/defect/%s".replace("%s", $.widget.id) |
HTTP entity | String | The JSON path to the HTTP entity data in the input map. You can leave this property empty if there is no entity data to send to the service URL. | $ (the HTTP entity data is at the root of the input map.) | $response.entity.id Multiexcerpt include macro |
---|
name | HTTP_entity |
---|
page | REST Post |
---|
|
|
| $response.entity.id (if the HTTP entity that you want to delete is the value of the response.entity.id key in the input map.) |
Batch size | IntegerThe number of delete requests that you want to execute per batch. The Snap accumulates incoming documents in a list up to the defined batch size before the entire batch is submitted to the endpoint. Make sure to only set this if your REST endpoint expects a list. | Multiexcerpt include macro |
---|
name | Batch_Size |
---|
page | REST Patch |
---|
|
| N/A | 50 |
Show all headers | Check box |
Multiexcerpt macro |
---|
| The REST endpoint may return a response with multiple headers with the same header name. - If this property is deselected, only one response header will be shown in the output document.
- If selected, the response header displays all the response header values received as a list of objects.
If any of these objects has a key-value format, it is parsed into the map data.
|
| Deselected | N/A |
Trust all certificates | Check boxSelect this check box to instruct the Snap to trust all certificates, such as self-signed certificates. | Multiexcerpt include macro |
---|
name | Trust_All_Certificates |
---|
page | REST Post |
---|
|
| Deselected | N/A |
Follow redirects | Check box Select this check box to instruct the Snap to follow HTTP redirects. For example, when this check box is selected and the endpoint sends a redirect response, such as a 301 or 302 response code, the Snap makes another request to the URL specified in the Location header of the API response. In the same scenario, when this check box is not selected, the Snap does not make the second request, and the redirect response code will appear in the output view. | Multiexcerpt include macro |
---|
name | Follow_Redirects |
---|
page | REST Post |
---|
|
| Selected | N/A |
Query parameters | Fieldset | Enables you to define query parameters. This is optional and can also be defined directly in the service URL. Multiexcerpt include macro |
---|
name | Query_Parameters_REST |
---|
page | REST Post |
---|
|
|
Query parameter | String | The name that you want to use for (or key) of the query parameter. | N/A | oauth2_access_token |
Query parameter value | String | The value that you want to assign to associated with the query parameter. | N/A | $account.access_token |
HTTP header | Fieldset | Enables you to define the HTTP headers that you want to use with your query. This is optional and can also be defined directly in the service URL. | Multiexcerpt include macro |
---|
name | HTTP_Header |
---|
page | REST Post |
---|
|
|
Key | String | The name that you want to use for the HTTP header. | N/A | User-Agent |
Value | String | The value that you want to assign to the HTTP header. | N/A | SnapLogic |
Response entity type | String | The response entity type in the output document. The available options are: - DEFAULT: Select this option to process the response entity automatically. The Snap attempts to convert the entity into a string or a byte array, depending on the contents of the response headers.
- TEXT: Select this option to produce an entity of type String.
- BINARY: Select this option to produce a byte array.
Note | If TEXT or BINARY is selected, the Snap will not attempt to parse the entity content. If DEFAULT is selected, the Snap parses the response received and produces the expected result in most cases. If it fails to do so, set the Response entity type to TEXT or BINARY as appropriate. Multiexcerpt include macro |
---|
name | Response_Entity_Type |
---|
page | REST Get |
---|
|
| DEFAULT | TEXT |
Read timeout | Integer The number of seconds for which you want the Snap to wait before aborting the request. Note | Every Snap instance can have its own timeout settings.The Snap executes five retries with a couple of seconds back-off time before it fails. | Multiexcerpt include macro |
---|
name | Read_Timeout |
---|
page | REST Post |
---|
|
| 900 | 1500 |
Connection timeout | IntegerThe number of seconds for which the Snap waits before aborting the request due to a failure in establishing a connection to the target service. | Multiexcerpt include macro |
---|
name | Connection_Timeout |
---|
page | REST Post |
---|
|
| 30 | 45 |
Maximum request attempts | IntegerThe maximum number of attempts that the Snap makes to receive a response. The request is terminated once the maximum request attempt count is reached. | Multiexcerpt include macro |
---|
name | Maximum_Request_Attempts |
---|
page | REST Post |
---|
|
| 5 | 3 |
Retry request interval | IntegerThe interval (in seconds) between two successive requests. | Multiexcerpt include macro |
---|
name | Retry_Request_Interval |
---|
page | WIP--REST Post |
---|
|
| 3 | 10 |
Snap Execution | String Specifies the execution type: Validate & Execute: Performs limited execution of the Snap (up to 50 records) during Pipeline validation; performs full execution of the Snap (unlimited records) during Pipeline execution.Execute only: Performs full execution of the Snap during Pipeline execution; does not execute the Snap during Pipeline validation.Disabled: Disables the Snap and, by extension, its downstream Snaps. | Multiexcerpt include macro |
---|
name | Execution_Detail_Write |
---|
page | SOAP Execute |
---|
|
| Validate and Execute | Execute only |