Binding array of objects (RequestBodyParameter1/filters [array]), object is compose by a String an String array

07 Nov '16, 12:23 PM
2,017 Views
No Forum Badges

I need to use the unit Restful Request/Response and I have a problem to bind source to target in 
the body. The structure is:
{
"filters": [
    {
        "type": "USER_NAME_LIST",
        "userNames": [
            "roger",
            "mike"
        ]
    }
],
"content": {
    "type": "MESSAGE",
    "message": "prueba notificacion 6"
    }
}
An I have made the compose structure in the unit (body).
The problem is with the binding, as you can see filters is an array of objects that contain
a String an a String array. In the binding I see the target:
RequestBodyParameter1 - RequestBodyParameter1/filters [array] but i dont know how to get it in the source.

 
x 0
Follow
Answer Answer at this question and get points!
No answers yet
Answer at this question and get points!