# WebService Connector - How add a "prefix" to the entitlement name?

**URL:** <https://developer.sailpoint.com/discuss/t/webservice-connector-how-add-a-prefix-to-the-entitlement-name/17887>\
**Category:** SHF Discussion and Questions\
**Tags:** webservice-connector, transforms, sailpoint-identity-security, entitlements\
**Created:** [September 20, 2023, 7:49pm UTC](https://developer.sailpoint.com/discuss/t/webservice-connector-how-add-a-prefix-to-the-entitlement-name/17887 "2023-09-20T19:49:34Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![gladstoneabrahamr](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/gladstoneabrahamr/32/4232_2.png) [@gladstoneabrahamr](https://developer.sailpoint.com/discuss/u/gladstoneabrahamr)\
**Post date:** [September 21, 2023, 3:50pm UTC](https://developer.sailpoint.com/discuss/t/webservice-connector-how-add-a-prefix-to-the-entitlement-name/17887/10 "2023-09-21T15:50:13Z")

</div>

You don’t have to write the entire code and main function and stuff.

To give a rough visualization of how rule works, consider that you are writing the code that is inside a callable function. What ever you write into it will be executed line by line. you don’t have to worry about how that is called or if there is a main function.

To kind of walkthrough the documentation you have the inputs section that available to be directly accessed. for example if you see the in the _Example_ Section they would have used _rawResponseObject_ in the line

> Map response = (Map) JsonUtil.toMap(rawResponseObject);

Meaning it’s available across your Java code all the 5 inputs

 ![Screenshot 2023-09-21 at 9.17.07 PM](https://global.discourse-cdn.com/sailpoint/original/2X/0/0accfa410ad5363a887b357513957b1256b0c0b9.png)

When you take _Output_ section into consideration, the code that write should have a return statement with that data,

 ![Screenshot 2023-09-21 at 9.18.02 PM](https://global.discourse-cdn.com/sailpoint/original/2X/b/bfc23636db7aacac9166cd0ed88588400335119f.png)

If you see the example section you would notice that we have,

```auto
Map updatedMapInfo = new HashMap();
// some code logic you want to do
return updatedMapInfo;

```

Hope this gives you a rough context of how to get started with rules.

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/webservice-connector-how-add-a-prefix-to-the-entitlement-name/17887)._
