Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-877

Collection of Complex Values should be supported on URL as Function Parameter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • (Java) V4 4.1.0
    • (Java) V4 4.2.0
    • odata4-server
    • None

    Description

      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

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rareddy Ramesh Reddy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: