Question

1
Replies
160
Views
Close popover
Maxim Izvarin (MaximI83)
Alfa Bank

Alfa Bank
RU
MaximI83 Member since 2018 16 posts
Alfa Bank
Posted: August 22, 2019
Last activity: January 22, 2020
Closed

Questions about REST service and connector

Hello

Question about REST services:

I have a requirement to create REST services to create a case for each case type. Pega-API-CaseManagement class in its data model has everything i need for this. My question is: in which class is it better to create a REST service. Create all services in the class "Pega-API-CaseManagement" and specify page class for request data as "MyApp-Work-MyClass" or
create every REST service in the work class of the case type whose case we want to create?

Question about REST сonnectors:

1) If, as a request, my REST connector transfers data via a case. That is, a case type data model fully describes the structure of the request. Do I need to create a separate integration class or i can create a connector in my working class?

2) When I try to specify the parent class of the connector as my work class, I get the error "Class id cannot be greated than 25 characters", can I without renaming my class create a REST connector in my working class?

thanks in advance for the answers

***Edited by Moderator Marissa to update platform capability tags****

Enterprise Application Development Dev/Designer Studio 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.