Skip to main content
Skip table of contents

Abort a Dialog

Aborts an existing dialog. For more information on Pathway Dialog processing refer to HP NonStop TS/MP Pathsend and Server Programming Manual.

Path Components

CODE
DELETE /lightwave/api/v1/dialog/{dialog-id}
NameUseDescription
dialog-idrequiredA dialog ID returned from a previous request which had the Begin or Resume Dialog I/O Options selected.

Parameters

Request

NameUseDescription
lw-correlation-idoptionalA caller supplied identifier to be copied to the response.
lw-suppress-statusoptionalUse to indicate that the HTTP response status code should be "200 OK", regardless of the outcome of the operation.
lw-transaction-idoptionalThe transaction ID of the transaction in which this request should be enlisted

Response

NameDescription
lw-correlation-idThe value of the correlationId supplied in the request, if any.
lw-dialog-idThe Dialog ID associated with the request.
lw-dialog-stateThe current statue of the Dialog.
lw-errorIf an error occurred, a description of the error.
lw-http-reasonThe HTTP response reason. Present if lw-suppress-status was supplied in the request.
lw-http-statusThe HTTP response status. Present if lw-suppress-status was supplied in the request.
lw-transaction-idThe transaction ID of the TMF transaction associated with the request, if any.
lw-transaction-stateThe transaction state of the TMF transaction associated with the request, if any.

Example

Request

TEXT
DELETE http://lightwave.example.com/lightwave/api/v1/dialog/0001000000000002 HTTP/1.1
Content-length: 0

Response

TEXT
HTTP/1.1 200 OK
Content-Length: 0
lw-dialog-id: 0001000000000002
lw-dialog-state: aborted 
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.