Table of Contents

Search

  1. Preface
  2. Product Overview
  3. Security
  4. Applications
  5. Partner and Account Information
  6. Events
  7. Event Archiving
  8. User Policies
  9. Schedules
  10. B2B Data Exchange Administrative Tasks
  11. On-boarding Checklist Template
  12. System Properties
  13. Repository Management
  14. Document Management
  15. B2B Data Exchange Utilities
  16. DX Toggle Server REST API
  17. Dashboard and Reports Management

Administrator Guide

Administrator Guide

Discard Event Utility REST API

Discard Event Utility REST API

Use the Discard Status Event Utility REST API to discard an event according to the event ID, username, and password. This API uses the POST method.
Use the following URL for the REST API call:
POST https://<hostName>:<portNumber>/dx-server-rest-api/v1/eventUtils
  • <hostName>
    is the host name or IP address of the B2B Data Exchange server.
  • <portNumber>
    is the port number of the B2B Data Exchange server. The utility connects to the localhost server with the default port 19553.
The following table describes the request body objects:
Object
Arguments
command
Specify the action to execute.
username
Specify which user to execute discard.
password
The password used to connect to the server.
passwordEncrypted
Optional. Indicates whether the password used to connect to the server is encrypted.
eventID
ID of the event to discard.
The following table describes the response body objects:
Object
Arguments
responseStatus
Status of the discard.
responseExtraMessage
Details of the discard.
responseType
Type of action executed.

Request Body Example

The following code shows the request body syntax:
{ "command":"discard", "username":"DX_MFT" "passwordEncrypted":"1234", "eventID":"100010" }

Response Body Example

The following code shows the response body syntax:
{ "responseStatus":"SUCCESS", "responseExtraMessage":"Event discarded", "responseType":"
/eventUtils
" }

0 COMMENTS

We’d like to hear from you!