Not able to fetch Id in gatling script

I am facing issues with fetching assetId, it prints ‘assetId’ instead of value. I have commented above .body. Please have a look below code.

.foreach("${IdList}", "assetid") {
        exec(http("Load_Asset_Details")
        .get(s"""$addTagsUrl/am/images/loader.svg""")
        .resources(
        http("Actions_request")
        .post(s"""$addTagsUrl/am/actions""")
        .headers(headers_52)
        .body(StringBody("""{"objects":[{"id":${assetid},"resource":"asset"}]}""")),
        http("variant_request")
        .get(s"""$addTagsUrl/am/variants%3BresourceType=asset""")
        .headers(headers_6),
        http("Keyframe_request")
        .get(s"""$addTagsUrl/am/$${assetid}/keyframes""")
        .headers(headers_6)))

    .exec(http("Add Tags")
        .post(s"""$addTagsUrl/am/$${assetid}/tags""")
        .headers(headers_52)

   **//This prints value of assetid but does not generates random numbers** 
    //.body(StringBody(s"""{"objectId":$${assetid},"objectType":"asset","name": "$tagName$randomNumber","accountId":4,"userId":5}"""))

  **// This generates random numbers but Doesnt assetid it prints "assetid" text instead of value**
    .body(StringBody(_ => """{"objectId":"""" + assetid + """" ,"objectType":"asset","name": """ + tagName + ThreadLocalRandom.current().nextInt(10, 80) + ""","accountId":4,"userId":5}"""))
        )   
    }