OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Created: (ODATA-374) Supporting heterogeneous return types in a service operation response


Supporting heterogeneous return types in a service operation response
---------------------------------------------------------------------

                 Key: ODATA-374
                 URL: http://tools.oasis-open.org/issues/browse/ODATA-374
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: New Feature
          Components: OData CSDL, OData Protocol 
            Reporter: Anila Kumar GVN


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? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]