Ramesh Reddy created OLINGO-877:
-----------------------------------

             Summary: Collection of Complex Values should be supported on URL 
as Function Parameter
                 Key: OLINGO-877
                 URL: https://issues.apache.org/jira/browse/OLINGO-877
             Project: Olingo
          Issue Type: Improvement
          Components: odata4-server
    Affects Versions: (Java) V4 4.1.0
            Reporter: Ramesh Reddy


Per OData specification 
http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html#_Invoking_a_Function

A function parameter should support allowing of Collection of Complex Values as 
function parameters. An example would look like

{code}
/loopy/vm1/getCustomerIds(p1=[{
      "Number": "425-555-1212", 
      "Type": "Home" 
    },
    {
      "@odata.type": "#Model.CellPhoneNumber",
      "Number": "425-555-0178",
      "Type": "Cell",
      "Carrier": "Sprint"
    } ])
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to