Calling the REST APIs - Precisely_EnterWorks - EnterWorks - 11.0

EnterWorks Guide

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks
Precisely EnterWorks > EnterWorks
Version
11.0
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks Guide
Copyright
2024
First publish date
2007
Last updated
2025-01-07
Published on
2025-01-07T07:44:20.997352

The EnterWorks REST APIs can be called using two different methods:

  • URL: http://<webhost>/webcm/rest/groups/api

    It will return JSON objects for all groups in the format of:

    [{ 
    	"name": "01_Peer_Training",
    	"description": "" 
     },
     { 
     	"name": "22deb",
    	"description": "e1"
     }]
  • Java API: public GroupDTO[] getGroupList(TokenDTO token) throws RemoteException

    The base URL is: http://<webhost>/webcm/rest/api

    It will return a list of GroupDTO objects containing the same data that is returned when you call the service using the URL.

Sample Endpoints

The following sample endpoints are available in the EnterWorks APIs and can be used to test your system once you have obtained an authorization token:

  • http://<webhost>/webcm/rest/api/groups – Retrieves a paged list of available groups.

  • http://<webhost>/webcm/rest/api/codeSets – Retrieves a list of available code sets.

  • http://<webhost>/webcm/rest/api/repositories – Retrieves a list of all available repositories.

  • http://<webhost>/webcm/rest/api/items/export/fileFormats – Retrieves a list of file format options available in a repository, such as .xls, .csv, or JSON.