# Connect-Rest

**URL:** <https://forums.pega.com/t/connect-rest/5609>\
**Category:** General\
**Tags:** pega-platform, case-management\
**Created:** [December 13, 2023, 12:04pm UTC](https://forums.pega.com/t/connect-rest/5609 "2023-12-13T12:04:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RohanZ17012127](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@RohanZ17012127](https://forums.pega.com/u/RohanZ17012127)\
**Post date:** [December 13, 2023, 12:04pm UTC](https://forums.pega.com/t/connect-rest/5609/1 "2023-12-13T12:04:30Z")

</div>

In a Service Rule should take single input parameter like EmpId and request needs to be in JSON format and Response is also in JSON format. Response Data like name, Age, Designation, EmpID. I want to fetch only one field like EmpName based on EmpId in service Rule. How to achieve this?

---

<div class="post-metadata">

**Author:** ![JohnPaulRaja\_C](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/johnpaulraja_c/32/12335_2.png) [@JohnPaulRaja\_C](https://forums.pega.com/u/JohnPaulRaja_C)\
**Post date:** [December 29, 2023, 2:41am UTC](https://forums.pega.com/t/connect-rest/5609/2 "2023-12-29T02:41:37Z")

</div>

@RohanZ17012127 multiple youtube videos available, can you please go through once.

---

<div class="post-metadata">

**Author:** ![DhanasekarC0202](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/dhanasekarc0202/32/23528_2.png) [@DhanasekarC0202](https://forums.pega.com/u/DhanasekarC0202)\
**Post date:** [December 29, 2023, 4:23am UTC](https://forums.pega.com/t/connect-rest/5609/3 "2023-12-29T04:23:17Z")

</div>

Hi @RohanZ17012127,

please refer the [https://academy.pega.com/challenge/creating-rest-integration-interface/v1](https://academy.pega.com/challenge/creating-rest-integration-interface/v1)

Thanks.

---

<div class="post-metadata">

**Author:** ![Ali\_Ahmed](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/ali_ahmed/32/5553_2.png) [@Ali\_Ahmed](https://forums.pega.com/u/Ali_Ahmed)\
**Post date:** [December 29, 2023, 6:40am UTC](https://forums.pega.com/t/connect-rest/5609/4 "2023-12-29T06:40:02Z")

</div>

Hi @RohanZ17012127 , you could edit the response Data transform to set only Emp\_Name on the Data Page even if you are fetching other additional details.

---

<div class="post-metadata">

**Author:** ![PPRANEETH007](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/ppraneeth007/32/1669_2.png) [@PPRANEETH007](https://forums.pega.com/u/PPRANEETH007)\
**Post date:** [January 2, 2024, 9:36am UTC](https://forums.pega.com/t/connect-rest/5609/5 "2024-01-02T09:36:53Z")

</div>

Hi @RohanZ17012127,

Please refer to this for creating the service rest.

[Pegasystems Documentation](https://docs-previous.pega.com/data-management-and-integration/87/creating-service-rest-rule)?

Thanks,

Praneeth

---

<div class="post-metadata">

**Author:** ![SaiSriHarshini](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@SaiSriHarshini](https://forums.pega.com/u/SaiSriHarshini)\
**Post date:** [May 8, 2024, 11:05am UTC](https://forums.pega.com/t/connect-rest/5609/6 "2024-05-08T11:05:39Z")

</div>

@RohanZ17012127 Modify the response data transform to set only the employee name for its respective employee ID.
