Question

4
Replies
5937
Views
Close popover
Ratan Balaji (Ratan)
Areteans
Lead Consultant
Areteans
AU
Ratan Member since 2015 59 posts
Areteans
Posted: July 6, 2017
Last activity: September 13, 2017
Closed
Solved

Pega API

The below details are in Pega 7.2 PE context.

Under Pega API, the system allows us to test various REST APIs that are provided by default. One such service is the GetData API.

This API asks us to provide a D_ page which then creates a URL that brings the data from the given D_ page.

Let's assume that i have created a simple D_ page of mode list. On configuring the data page, we get a URL as below:

http://localhost:8080/prweb/api/v1/data/D_Customers

And a response as below:

RESPONSE BODY

{
  "pxObjClass": "Pega-API-Data",
  "errors": [
    {
      "ID": "Pega_API_022",
      "message": "Use of TLS/SSL is required",
      "pxObjClass": "Pega-API-Error"
    }
  ]
}

RESPONSE CODE

403

RESPONSE HEADERS

{
  "date": "Thu, 06 Jul 2017 05:02:29 GMT",
  "content-length": "144",
  "content-type": "application/json;charset=UTF-8"
}

I have tried making the D_ page in Requestor level thereby providing a default access group as well. Where am i going wrong? Should i pass a valid credential in the URL?

Or should i be tweaking my requestor type rule???

Please suggest a way out.

Thanks in advance.

***Moderator Edit: Vidyaranjan | Updated Categories***

Data Integration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.