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

Resend Event Utility REST API

Resend Event Utility REST API

Use the Resend Event Utility REST API to resend 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 resend.
password
The password used to connect to the server.
passwordEncrypted
Optional. Enter the encrypted password.
eventID
ID of the event to resend.
file
Optional. To select a different file to resend, enable the
Allow Endpoint Selection for Event Resend
privilege for the user.
changeSourceDocument
Optional. Indicates whether the file is uploaded.
endpointName
Optional. Enter the endpoint name. Enable the
Allow Endpoint Selection for Event Resend
privilege to select different endpoints.
The
Allow Endpoint Selection for Event Resend
privilege is enabled by default for the user to resend an event. Optionally, the user can manually deselect the privilege.
The following table describes the response body objects:
Object
Arguments
responseStatus
Status of the resend.
responseExtraMessage
Details of the resend.
responseType
Type of action executed.

Request Body Example

The following code shows the request body syntax:
{ "command":"resend", "username":"DX_MFT" "passwordEncrypted":"1234", "eventID":"100004", "file":"C:\\Assembly_copy\\readme.txt", "changeSourceDocument":"true", "endpointName":"1001" }

Response Body Example

The following code shows the response body syntax:
{ "responseStatus":"SUCCESS", "responseExtraMessage":"Successfully, submitted for resending with eventId=100004, blobId=null, Uploaded Files=file [originalFileName=readme.txt, contentType=text
/plain,
uploadedFileName=upload6375876430136854760.tmp], profileId=1001", "responseType":"
/eventUtils
" }

0 COMMENTS

We’d like to hear from you!