Pass the Parameter / Variable in Http Request Body

@Naresh_Upadhyay,

Follow these steps:

  1. Deserialize JSON
    jObject = Newtonsoft.Json.JsonConvert.DeserializeObject(Of Newtonsoft.Json.Linq.JObject)(strInputJSON)

  2. Assign new value to legalEntity
    jObject("legalEntity") = yourVariable

  3. Serialize JSON
    strJsonString = JsonConvert.SerializeObject(jObject)

Before:

After:

Sample Code:
Workflow1.xaml (15.7 KB)

Thanks,
Ashok :slight_smile: