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
DELETE /lightwave/api/v1/dialog/{dialog-id}
Name | Use | Description |
---|---|---|
dialog-id | required | A dialog ID returned from a previous request which had the Begin or Resume Dialog I/O Options selected. |
Parameters
Request
Name | Use | Description |
---|---|---|
optional | A caller supplied identifier to be copied to the response. | |
optional | Use to indicate that the HTTP response status code should be "200 OK", regardless of the outcome of the operation. | |
optional | The transaction ID of the transaction in which this request should be enlisted |
Response
Name | Description |
---|---|
The value of the correlationId supplied in the request, if any. | |
The Dialog ID associated with the request. | |
The current statue of the Dialog. | |
If an error occurred, a description of the error. | |
The HTTP response reason. Present if lw-suppress-status was supplied in the request. | |
The HTTP response status. Present if lw-suppress-status was supplied in the request. | |
The transaction ID of the TMF transaction associated with the request, if any. | |
The transaction state of the TMF transaction associated with the request, if any. |
Example
Request
DELETE http://lightwave.example.com/lightwave/api/v1/dialog/0001000000000002 HTTP/1.1
Content-length: 0
Response
HTTP/1.1 200 OK
Content-Length: 0
lw-dialog-id: 0001000000000002
lw-dialog-state: aborted