Closed ruckus closed 8 years ago
Answered my own question. Yes, the hash needs to be restructured like:
{
"max_returned"=>50,
"xml_attributes"=>{"iterator"=>"Start"},
"EntityFilter"=>{
"list_id"=>["80000042-1424746827", "8000001B-1407979267"]
},
"include_line_items"=>true,
"OwnerID"=>0
}
Not sure if the title is accurate :( I'm trying to generate XML like:
My hash is:
So
EntityFilter
is an array of two elements.But the library is actually producing this XML:
Notice the duplication of the
EntityFilter
element.Do I need to restructure my hash? Any guidance would be appreciated.
Thanks!