Execute DELETE
Operation name
Execute DELETE
Function overview
Executes HTTP DELETE method request.
Data model
The data model of this component is XML type.
For more details on output schema, refer to Schemas.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Destination |
Required |
Not available |
Select a connection resource.
|
|
Path |
Optional |
Available |
Specify a relative path from the URL entered in URL of Destination. |
|
Encoding |
Optional |
Available |
Select or enter an encoding used for URL encoding. When you enter encoding, specify one of the encodings supported in Java SE Runtime Environment 8. = Remarks =
For details, refer to "Supported Encodings" (http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html). |
|
Query parameter |
Optional |
- |
Specify names and values for query parameters to be concatenated to the URL. Each query parameter can be operated with the following buttons:
|
|
Query parameter/Name |
Optional |
Available |
Enter the name of query parameter. |
|
Query parameter/Value |
Optional |
Available |
Enter the value of query parameter. |
|
Response settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Output destination |
Required |
Not available |
Select output destination of a response body.
|
|
Data format |
Required |
Not available |
Select a data format of response body.
|
|
File path |
Required |
Available |
Select or enter a file path of output destination of a response body.
|
Note
|
Remove invalid XML characters |
Optional |
Not available |
Select whether or not to remove invalid characters for XML automatically if they're found while parsing JSON format data.
|
|
Redirect automatically |
Optional |
Not available |
Select whether or not to make the processing an error when the response status code is "4xx" or "5xx".
|
|
Error when response status code is 4xx or 5xx |
Optional |
Not available |
Select whether or not to make the processing an error when the response status code is "4xx" or "5xx".
|
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Set output schema with JSON file |
Specify a JSON file and set the output schema. |
Displayed when JSON is selected in Data format. |
Header settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Request header |
Optional |
- |
Specify HTTP headers to be included in a request. Each request header can be operated with the following buttons:
|
|
Request header/Name |
Optional |
Available |
Enter the request header name. |
|
Request header/Value |
Optional |
Available |
Enter the request header value. |
|
Response header |
Optional |
- |
Specify header names to get from HTTP headers included in a response. Each response header can be operated with the following buttons:
|
|
Response header/Name |
Optional |
Only environment variables are available |
Enter the response header name. |
|
Authentication settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Authentication |
Required |
Not available |
Select an authentication method on sending a request.
|
|
User |
Optional |
Available |
Enter the user name used for authentication. |
|
Password |
Optional |
Available |
Enter the password used for authentication. |
|
Connection Setting |
Optional |
Not available |
Select a connection resource to use for authentication. |
|
Data processing method
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Data processing method |
Optional |
Not available |
Select a data processing method.
|
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Input schema
None.
The schema varies depending on Data format settings of Response settings.
The schema varies depending on the XML data of the response body.
When the response body is JSON type data, the data is converted to XML and output to the result data.
The schema converted from JSON to XML is as follows:
<-- When the root attribute indicates object-type JSON --> <?xml version="1.0"?> <root type="object"> <JSON member name type="attribute value that represents JSON type">value</JSON member name> : </root> <-- When the root attribute indicates array-type JSON --> <?xml version="1.0"?> <root type="array"> <element type="attribute value that represents JSON type">value</element> : </root> <-- When the JSON member name is invalid for XML element name --> <?xml version="1.0"?> <root type="object"> <member type="attribute value that represents JSON type" name="JSON member name">value</member> : </root>
Element name |
Attribute name |
Description |
Remarks |
|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
root |
- |
Root element wrapping JSON object. |
|
|||||||||||||
type |
Attribute value that represents JSON type is set.
|
|
||||||||||||||
JSON member name |
- |
Element that represents JSON member. |
|
|||||||||||||
type |
Attribute value that represents JSON type is set.
|
|
||||||||||||||
element |
- |
Element name that represents array element. |
|
|||||||||||||
type |
A string that represents JSON type is output. The same attribute value as the type attribute of the JSON member name is set. |
|
||||||||||||||
member |
- |
Element name used when the JSON member name is invalid for XML element name. |
|
|||||||||||||
type |
A string that represents JSON type is output. The same attribute value as the type attribute of the JSON member name is set. |
|
||||||||||||||
name |
A JSON member name is output.
Example: A JSON member with an invalid name for XML element name. {"1name":"Suzuki"} The above JSON member is converted to the following XML data and output: <member type="string" name="1name">Suzuki</member> |
|
<?xml version="1.0"?> <response> <body> <content>response body data</content> </body> </response>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
response |
- |
|
|
body |
- |
|
|
content |
- |
Data of the response body. |
The data varies depending on the value of Content-Type header of the response.
|
Loading schema in Mapper
The method to load schema varies depending on Data format of Response settings.
In the case of XML
The schema needs to be loaded manually.
Specify the schema of the response body.
In the case of JSON
When using Set output schema with JSON file, the schema is loaded automatically.
In the case of Other
The schema is loaded automatically.
Mass data processing
Mass data processing is supported.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP isn't supported.
Component variable name |
Description |
Remarks |
---|---|---|
status_code |
HTTP status code of the response is stored. |
|
reason_phrase |
Text phrase related to the HTTP status code of the response is stored. |
|
error_response_body |
The response body with a response status code "4xx" or "5xx" is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
When Redirect automatically is selected, the behavior will be as follows.
When the status code of response is any of the following, the request will be resent to the URI indicated in the "Location" header in the response. When upper case is included in the host name of the redirection destination, it's converted to lower case for redirection.
- 301
-
(Moved Permanently)
- 302
-
(Found)
- 303
-
(See Other)
- 307
-
(Temporary Redirect)
The result data when the response status code is 400 or higher
When the response status code is 400 or higher, the response body is output to the result data.
At that time, the schema of result data varies depending on the value of Content-Type header of the response.
-
When the subtype of the Content-Type header ends with "xml"
The schema varies depending on the XML data of the response body.
-
When the subtype of the Content-Type header ends with "json"
As described in "In the case of JSON".
-
When other than any of the above
As described in "In the case of Other".
= Remarks =To content element, the response body encoded according to the following rules is output.
-
When there's a Content-Type header in the response header, the response body is encoded with the charset parameter value of the Content-Type header.
-
When there's no Content-Type header in the response header, or no charset parameter in the Content-Type header, the response body is encoded with "ISO-8859-1".
-
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|