Connect REST - POST method request body

Hi All,

I am trying to consume an API where the request body is JSON and is of type:

[“abc-123”,“def-456”]

But I am unable to pass this as pega automatically creating .request.body_POST of type pagelist and under it creating a pyLocalizedValue property.

I am unable to map and pass this as request body. Can somebody pls help.

@Himalaya Sudan
What you have is a JSON array. But pega will create pagelist only.
We can get the from page list pyValue.
Pls refer similar thread: Reg mapping JSON Array List from Rest API Response to Pega Value List Property | Support Center