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

Change Status Event Utility REST API

Change Status Event Utility REST API

Use the Change Status Event Utility REST API to change an event status according to the status name, 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 status change.
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 change the status of.
statusName
Specify the status to change the event to.
The following table describes the response body objects:
Object
Arguments
responseStatus
Status of the status change.
responseExtraMessage
Details of the status change.
responseType
Type of action executed.

Request Body Example

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

Response Body Example

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

0 COMMENTS

We’d like to hear from you!