cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Deserialize JSON in SAP Build Process Automation

CPI_Basis
Explorer
0 Kudos
897

I have used Call Web Serivice to consume an API,

Now i want to get values from JSON returned from it
Can anyone help with custom script any standard procedure ?

The output parameter (obj) is type "ANY"

Sample JSON:

{

    "orderNum": "A987654321",

    "customerName": "John Doe"

}

 

SAP Build Process Automation

CPI_Basis_0-1724183350055.png

Accepted Solutions (1)

Accepted Solutions (1)

wuttichai_s
Participant

1. Create Data Types: Define the structure of the JSON data to handle the response properly.
2. Create Variable: Set up variables to capture and store the values from the JSON response using the input parameters.1724217326422.jpg1724217352499.jpg

CPI_Basis
Explorer
0 Kudos
Thanks, it worked
Sankara1
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello, Thanks for Confirming

Answers (1)

Answers (1)

Sankara1
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

Thank you for reaching out to us. Are you still experiencing any issues? If so, have you tried creating a new data type and mapping it with a new variable to extract the data?

Please let us know if the issue persists.

CPI_Basis
Explorer
0 Kudos
Yes, I tried creating a new data type and it worked perfectly. Thanks