Returning heterogeneous types for a function call

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major
    • V4.0_CSD02
    • Affects Version/s: V4.0_CSD01
    • Component/s: CSDL XML, Protocol
    • None
    • Environment:

      [Proposed]

      It is not clear if OData enables a service to return a collection of heterogenous entity/complex types as a response to a function call.

      I want to return a collection of types in response to a function call but each of the items in the collection could belong to different entity types.

      Example:

      /OData.svc/GetCreatedEntities?before=xxxx-xx-xx&after=xxxx-xx-xx

      here GetCreatedEntities is a function call on my product that return a collection of entities that are Created in a given time period. Return Type is a Collection Type that could contain a Customer type, Order type etc.

      Is it supported in OData?

            Assignee:
            Anila Kumar GVN (Inactive)
            Reporter:
            Anila Kumar GVN (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: