Function that will update on DOM changes inside the Carousel
The id of the Carousel element
the API response envelope as a JSON string: { code, isSuccess, message, value? }
{ code, isSuccess, message, value? }
Function that will update on DOM changes inside the Carousel