This endpoint is used to retrieve objects from EPC’s database. This can apply to different scenarios of duplicating and displaying information like:
- Duplicating data onto a third-party platform
- Displaying important files, processes, etc in an external system
- Creating widgets for internal portals
- And more…
Code Example
public <T extends NodeElement> Mono<T> findElement(@NotNull String nodeId, Class<T> clazz) {
return bpcClient.get()
.uri(uriBuilder -> uriBuilder.path("/items/").queryParams(defaultQueryParams).queryParam("detail", true).build(nodeId))
.retrieve()
.bodyToMono(new ParameterizedTypeReference<>() {
});
}
CURL Example:
curl --request GET --url 'http://myepc.interfacing.com/api/v1/items/1450CEF9-89A3-4B48-98F7-09735BECD54B?draft=true' -b /tmp/cookie.tmp
Technical Information
To retrieve a specific object, you need to know to which module it belongs to and its ID that is always listed in the Details page of the object in EPC. See picture below.
Object | Swagger URL | Endpoint URL |
---|---|---|
Capability | https://YOUREPC.interfacing.com/api/v1/swagger/#/Capability/findCapability | https://YOUREPC.interfacing.com/api/v1/capabiltity/capabilities/capabilityId |
Collaboration post | https://YOUREPC.interfacing.com/api/v1/swagger/#/Collaboration/findPost | https://YOUREPC.interfacing.com/api/v1/collaboration/posts/postId |
Control | https://YOUREPC.interfacing.com/api/v1/swagger/#/Control/findControl | https://YOUREPC.interfacing.com/api/v1/control/controls/controlId |
Document | https://YOUREPC.interfacing.com/api/v1/swagger/#/Document/findDocument | https://YOUREPC.interfacing.com/api/v1/document/documents/documentId |
Term – from Glossary module | https://YOUREPC.interfacing.com/api/v1/swagger/#/Glossary/findTerm | https://YOUREPC.interfacing.com/api/v1/glossary/tems/termId |
Attribute – from Master Data module | https://YOUREPC.interfacing.com/api/v1/swagger/#/MasterData/findAttribute | https://YOUREPC.interfacing.com/api/v1/masterData/attributes/attributeId |
Entity – from Master Data module | https://YOUREPC.interfacing.com/api/v1/swagger/#/MasterData/findEntity | https://YOUREPC.interfacing.com/api/v1/masterData/entities/entityId |
Asset – from Organization module | https://YOUREPC.interfacing.com/api/v1/swagger/#/Organization/findAsset | https://YOUREPC.interfacing.com/api/v1/organization/assets/assetId |
Resource – from Organization module | https://YOUREPC.interfacing.com/api/v1/swagger/#/Organization/findResource | https://YOUREPC.interfacing.com/api/v1/swagger/#/organization/resources/resourceId |
Role – from Organization module | https://YOUREPC.interfacing.com/api/v1/swagger/#/Organization/findRole | https://YOUREPC.interfacing.com/api/v1/swagger/#/organization/roles/roleId |
Indicator – from Performance module | https://YOUREPC.interfacing.com/api/v1/swagger/#/Performance/findIndicator | https://YOUREPC.interfacing.com/api/v1/performances/indicators/indicatorId |
Process | https://YOUREPC.interfacing.com/api/v1/swagger/#/Process/findProcess | https://YOUREPC.interfacing.com/api/v1/process/processes/processId |
Risk | https://YOUREPC.interfacing.com/api/v1/swagger/#/Risk/findRisk | https://YOUREPC.interfacing.com/api/v1/risk/risks/riskId |
Rule | https://YOUREPC.interfacing.com/api/v1/swagger/#/Rule/findRule | https://YOUREPC.interfacing.com/api/v1/rule/rules/ruleId |
What is this feature in EPC?
EPC objects are the items or content stored in the Web App. They can be a set, a folder, or module-specific items, such as tasks in the process module, KPIs in the performance module, terms in the glossary module, and so on. In an EPC system, thousands of objects can be stored in different modules, depending on the size and business needs of your organization. Objects can also be retrieved as a list to allow users to have a quick view of various objects at once.
Hinterlasse einen Kommentar.