For example, if the response data is one of the following,
{
"result": [
{
"u_location_sys_id": "xxxxx",.
"employee_number": "aaaaa"
}
]
}
In the translationMap, the following statement is made.
"translationMap": {
"u_location_sys_id":"$.result[0]. ["u_location.sys_id"]", }
"employee_number": "$.result[0].employee_number"
}
What we want to achieve is if more than one data is returned as follows,
If multiple data are returned as shown below, "u_location_sys_id" should be a fixed value (e.g., "duplication").
We want to store a fixed value for "u_location_sys_id".
I don't know how to describe the "translationMap" condition, so please tell me.
{
"result": [
{
"u_location_sys_id": "xxxxx", "employee_number": "aaaaa
"employee_number": "aaaaa"
},
{
"u_location_sys_id": "yyyyy", "employee_number".
"employee_number": "bbbbb"
}
]
}