REST API Reference

REST API Reference

Pcrepo/sources

Pcrepo/sources

The sources request lists all sources in the folder in the associated PowerCenter repository. If you include query parameters in the request, it returns sources that match the query parameters.

Resource URL

/tdm/v1/pcrepo/folders/{foldername}/sources

HTTP Request

GET http(s)://
<host>
:
<port>
/api/public/tdm/v1/pcrepo/folders/{foldername}/sources

Request Header

The request header includes the following headers:
Header
Description
accept
Use the following value:
application/json
Authorization
Required. Use the following value:
Basic <user name>

Request Path Parameters

The request includes the following path parameter:
Parameter
Description
folderName
Required. Name of the folder in the PowerCenter repository that contains the sources.

Request Query Parameters

The request includes the following optional query parameters:
Parameter
Description
filter
Filters based on criteria.
sort
Sorts based on criteria. You can enter more than one field name as criteria. By default, sorts in ascending order of criteria.
For example, to sort in descending order enter:
id:desc
start
The start index of the list.
size
The number of records that you want to return.

Sample Request

GET http://<host>:6605/api/public/tdm/v1/pcrepo/folders/CI_TEST_FOLDER/sources

Sample Response

[ { "name": "pcilm90_ora10g", "sources": [ { "name": "TICKET_SAVE" }, { "name": "CUSTOMER" }, { "name": "ADDRESS" }, { "name": "ILM_3_2_REDF" }, { "name": "ILM_4_2" }, { "name": "STATEMENT_LINE" }, { "name": "AIRPORTS" }, { "name": "ILM_4_2_REDF" }, { "name": "LOYALTY_PERIODS" }, { "name": "AQUA_EXPLAIN_101615" }, { "name": "TICKET_COUPON_SAVE" }, { "name": "ILM_1_2_REDF" }, { "name": "TICKET_COUPON" }, { "name": "CUSTS_WITH_INCOMPLETE_COUPONS" }, { "name": "ILM_3_2" }, { "name": "TICKET" }, { "name": "ILM_1_2" }, { "name": "STATEMENT_LINE_SAVE" } ] }, { "name": "FlatFile", "sources": [ { "name": "EMPLOYEEBANKDETAILS" }, { "name": "Marketingoffer" }, { "name": "FLAT_DIC_MOREREC" }, { "name": "Merchant" }, { "name": "DEPARTMENT" }, { "name": "DEPARTMENTDETAILS" }, { "name": "EMPLOYEE" } ] }, { "name": "Oracle", "sources": [ { "name": "DEPT" }, { "name": "EMP" } ] }, { "name": "CI_TESERT", "sources": [ { "name": "VIEW_TAB_ALL_COMP" } ] } ]

0 COMMENTS

We’d like to hear from you!