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

List Objects Batch Script

List Objects Batch Script

Use the listObjects batch script to get the list of all objects, such as endpoints, profiles, and schedules in the
B2B Data Exchange
repository. You do not need a specification file to list all objects.
The following is an example of a sample batch script to list the endpoints object:
listObjects.bat -u <username> -p <password> -t endpoints -f /data/endpoints.xml
The following list describes parameters and arguments for the listObjects batch script.
-t or --type
Argument: objectType
Required. List the object type. Specify one of the following commands:
  • Endpoints. Lists the name, type, status, partner name, account name, and schedules associated with the endpoints in the specified file
  • Profiles. Lists the name, status, partner name, account name, and schedules associated with the profiles in the specified file.
  • Schedules. Lists the name, status, and cron expression associated with the schedules in the specified file.
-f or --file
Argument: objectType
Required. The file path where the objects are saved.
-u or --user
Argument: UserID
Optional. Identifier of the Operation Console user account with the List {objects} privileges, where {objects} are endpoints, profiles, or schedules.
-U
Argument: Environment variable
Optional. Environment variable that contains the UserID value.
UserID of an Operation Console user account with List {objects} privileges where {objects} are endpoints, profiles, or schedules.
If you use Informatica platform authentication, the user ID must specify the Informatica security domain, separated by the @ symbol.
For example:
Administrator@SecurityDomain
You must specify at least one of the user name options, -u or -U to determine the UserID required to execute this command.
-p or --password
Argument: password
Optional. Password of the Operation Console user that executes the listObjects command. This option contains the clear text password.
You must specify at least one of the password options, -p or -P to determine the UserID required to execute this command.
-P
Argument: Environment variable
Optional. Environment variable that contains the password value.
Password for the Operation Console user that executes the listObjects command. The password must be encrypted.
You must specify at least one of the password options, -p or -P to determine the user's password required to execute this command.
--server
Argument: "hostname:port"
Optional. Environment variable that contains the password value.
Optional. Host name and port number of the B2B Data Exchange server. If you do not enter an argument, the utility connects to the localhost server with the default port 18095. The argument must be enclosed in quotation marks.
For example:
listObjects.bat --server “localhost:18095”
Similarly, the following is an example of a sample batch script to list profiles and schedules:
listObjects.bat -u <username> -p <password> -t profiles -f /data/profiles.xml
listObjects.bat -u <username> -p <password> -t schedules -f /data/schedules.xml

0 COMMENTS

We’d like to hear from you!