Supposed i have this generated
{ "totalResults": 4, "itemsPerPage": 16, "startIndex": 0, "entry":
[{ "id": 4, "plan": 1 },{ "id": 3, "plan": 2},{ "id": 2, " plan": 1 },{ "id": 1, " plan ": 3 }
]
}
But I want to generate something like this{ "totalResults": 4, "itemsPerPage": 16, "startIndex": 0, "entry":
[{ "id": 4, "plan": Gold},{ "id": 3, "plan": Silver},{ "id": 2, " plan": Gold},{ "id": 1, " plan ": Bronze }
]
}
plan values: 1,2,3 should be substituted with values from a different table with the following:
1 == Gold
2 == Silver3 == Bronze
Are there available examples using custom actions and/or using other means? Any links would be very much appreciated. Thank you very much.