Question

21
Views
TStubbs Member since 2020 1 post
PEGA
Posted: 6 months ago
Last activity: 6 months ago

Creating your Rest Request Body

Hi All,

 

Does anyone have a straight forward method to building out a REST request body?

For example, in 1 build, I passed a single field to the request body property and it sent it as just a string ["string"], however I am look to pass a couple 'key : value' pairs and just not seeing the straightforward way to do it.

For my current build, I have to populate a JSON request in the format below to call a service, appreciate your help if you can guide me on this.

Thanks.

JSON format :

{ "api":"GetSalesOrder", "parameters":{ "ORDER": "200007041" } }

Pega Platform 8.3 Data Integration Cross-Industry Solutions Consultant
Share this page LinkedIn