Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Service REST methods

Updated on November 23, 2022

You can use the following methods when you configure Service REST rules.

  • GET – Retrieve the current state of the data.
  • POST – Create a data object. For example, you can create a new contact for a new employee.
  • PUT – Update an entire data object. For example, you can change all the information contained in a contact, such as name, phone number, and address.
  • PATCH – Partially update a data object, for example, to change the last name of a contact.
  • DELETE – Delete the data object.

For each method, you map data for the request, and then specify how the service rule constructs the response that Pega Platform sends in reply to the request.

  • Previous topic Defining resource and processing details for a Service REST rule created prior to Pega Platform 8.4
  • Next topic Creating a request for GET and DELETE methods by using an activity implementation

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us