Import Cancel
Cancel Request Arguments
A cancel request can include the following arguments.
Argument | Type | Description |
---|---|---|
step | string | (Required) Must be set to cancel. |
respond | string | (Optional) A topic where the response object is expected. The response topic is allocated by the initiator (the CMS). It must be within the feedback channel for this edge server to allow communication across bridged message brokers. Example: |
meta | any | (Optional) If provided, the meta data is returned with the response. |
reason | string | (Optional) A reason for the cancellation. |
option | object | (Optional) option is either undefined, or an object whose keys equal an IAP/MQ protocol identifier. See option argument under Import Open for more details and an example. |
Cancel Response
When the cancel request includes a response topic, the edge server publishes the response object to the requested respond topic when ready.
Parameter | Type | Description |
---|---|---|
step | string | (Required) The step from the corresponding request. |
meta | any | (Optional) Meta data from the corresponding request, if any. |
error | string | (Optional) Error description. Undefined if no error occurred. Errors not in direct relation to this request are reported through the IAP/MQ event channel, captured by the IAP/REST engine and reported with the IAP/REST import responses. |