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

Reprocess Event Utility REST API

Reprocess Event Utility REST API

Use the Reprocess Event Utility REST API to reprocess 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 reprocess.
password
The password used to connect to the server.
passwordEncrypted
Optional. Enter the encrypted password.
eventID
ID of the event to reprocess.
file
Optional. To select a different file to reprocess, enable the
Allow Source File Selection for Event Reprocess
privilege for the user.
changeSourceDocument
Optional. Indicates whether the file is uploaded.
profileId
Optional. To select a different profile to reprocess, enable the
Allow Profile Selection for Event Reprocess
privilege for the user.
The
Allow Source File Selection for Event Reprocess
and
Allow Profile Selection for Event Reprocess
privileges are enabled by default for the user to reprocess an event. Optionally, the user can manually deselect these privileges.
The following table describes the response body objects:
Object
Arguments
responseStatus
Status of the reprocess.
responseExtraMessage
Details of the reprocess.
responseType
Type of action executed.

Request Body Example

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

Response Body Example

The following code shows the response body syntax:
{ "responseStatus":"SUCCESS", "responseExtraMessage":"Successfully, submitted for reprocessing 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!