cancel
Showing results for 
Search instead for 
Did you mean: 

Need to change JSON response

swatifunde
Contributor

Hello Community,

I want to 9know how can I get below JSON response

{
“pvProjectID”: “2427827wj”,
“p6ActivityList”: [
{
“pvPprojectID”: “smhcvxsn,x”,
“pvActivityId”: “mxcxzvcb”,
“imo_Vorgangskategorie”: null,
“okz_Komponentenstruktur”: “01”,
“imo_Prozessnummer_Code”: “.Jnxbz1”,
“imo_ZugNummer”: “0m,xzn7”,
“imo_WagenNummer”: “Z”,
“activityName”: “xzb IT”,
“plannedFinishDate”: “2029-02-14T17:00:00.000”,
“blProjectFinish”: “2029-02-14T17:00:00.000”
},
{
“pvActivityId”: “FmzbxzcD”,
“imo_Vorgangskategorie”: null,
“okz_Komponentenstruktur”: “xzbvbzx1”,
“imo_Prozessnummer_Code”: “bxz0”,
“imo_ZugNummer”: “0z7”,
“imo_WagenNummer”: “Z”,
“activityName”: “cxcxzx g”,
“plannedFinishDate”: “2029-03-08T17:00:00.000”,
“blProjectFinish”: “2029-03-08T17:00:00.000”
}
],
“errorText”: “string”
}

Right now I managed to get response in below format
image

Can some one help me here

1 ACCEPTED SOLUTION

Apologies, the datatype is local datetime. That’s why.

I believe .toString() will do the job

View solution in original post

41 REPLIES 41

bojanvelevski Hi , When I covert this data into JSON as mentioned above, I am not getting full data in Postman, why is it so? did I miss anything here?

Do you have multiple objects in your response?

yes, I have multiple PvProject ID but getting only one ID in the postman

Than you’ll have to group them in an array before sending those out. Group by N with group size of 0 will do the job.

bojanvelevski I made below changes in the pipeline but nothing received in postman.

image
image