Gradito Tunggulcahyo
05/30/2024, 9:45 AMwallaby_user_id
inside the same json like this, but the value will be randomize each time it was hit
{
"data": {
"mobile_no": "628222222",
"name": "Test User",
"wallaby_user_id": "{{randomValue type='UUID'}}",
"zipcode": null
},
"status": "OK",
"wallaby_user_id": "{{randomValue type='UUID'}}"
}
how to achieve that?
thankyou in advance 🙇Lee Turner
05/30/2024, 10:01 AMassign
the uuid to a variable and use that in both places:
{{#assign 'uuid'}}{{randomValue type='UUID'}}{{/assign}}
{
"data": {
"mobile_no": "628222222",
"name": "Test User",
"wallaby_user_id": "{{uuid}}",
"zipcode": null
},
"status": "OK",
"wallaby_user_id": "{{uuid}}"
}
Lee Turner
05/30/2024, 10:02 AMGradito Tunggulcahyo
05/30/2024, 10:02 AMGradito Tunggulcahyo
05/30/2024, 10:02 AM