Question

1
Replies
503
Views
GregoryKoch Member since 2016 1 post
Posted: 4 years ago
Last activity: 4 years 7 months ago
Closed
Solved

REST URI Format Question

Customer would like to expose the following REST operations from Pega:

GET /vehicles/{VIN}/enrollmentEligibility

GET /vehicles/[VIN}/cancellationEligibility

GET     /authorization/subscribers/{subscriberid}/accounts/{accounted}?serviceid=SERVICE_ID

So they expect the URLs to be like this for example:

https://server:port/vehicles/{VIN}/enrollmentEligibility

However, when they create a Service REST in Pega, they have to specify the service package, customer class name and method name and these values are showing up in the URL like this:

https://server:port/edm/svc/vehicles/{VIN}/enrollmentEligibility

Is there any way to not show the package, class, method etc., in the URL OTB in Pega?  I know we can accomplish what they are looking for via load balancer and/or proxy server, but wanted to see if there were other options.

Data Integration
Moderation Team has archived post
Share this page LinkedIn