Updating REST Resource Interface

In the previous post we show how to create a REST resource with different query string parameters and parameters inside the URL, but how about updating this REST resource?

Ok, first of all, the official documentation doesn’t give us any idea about how to do that. So, at glance, you will probably think you can do it and you are going to remove your REST resource and create it again.

If that was your only option, it has no sense. Do you image to have to remove all your work only because you need another parameter or have to change the name of anyone? It has no sense at all.

It’s very easy to update the REST resource interface. You have to go to the REST Binding data. To do that you can do it using the button inside the REST Service inside your REST Resource process as you can see here:

TIBCOBusinessStudio_2016-03-11_21-50-10

And now, inside the form content allows you to change the Resource Service Path:

TIBCOBusinessStudio_2016-03-11_21-51-22

If you change the value of Resource Service Path and check the green check button you are going to see how the other panels are updated as you can see here:

TIBCOBusinessStudio_2016-03-11_21-52-41

You can also change the parameter type and any other data regarding its behavior.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s