[OASIS Issue Tracker] (ODATA-637) ATOM and JSON formats do not define representation of operation results

From
OASIS Issues Tracker <>
Date
2014-04-24T15:51:06+00:00
ID
JIRA.23650.1397261047000.144.1398354665438@customer-jira
Thread
[OASIS Issue Tracker] (ODATA-637) ATOM and JSON formats do not define representation of operation results
[ https://tools.oasis-open.org/issues/browse/ODATA-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Pizzo updated ODATA-637:
--------------------------------

    Environment: [Proposed]

Agree with the proposal. This is implied by [Protocol] where we specify the context url (which describes the results) for operation results to be the same as for properties, where the response represents a property, otherwise the primitive type, complex type, or collection of primitive/complex types. We should clarify this in the protocol documents and clarify that the body is the same for a primitive, complex, or collection of primitive/complex types as for a property of that primitive, complex, or collection of primitive/complex types.

> ATOM and JSON formats do not define representation of operation results
> -----------------------------------------------------------------------
>
>                 Key: ODATA-637
>                 URL: https://tools.oasis-open.org/issues/browse/ODATA-637
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData ATOM Format , OData JSON Format
>    Affects Versions: V4.0_OS
>         Environment: [Proposed]
>            Reporter: Evan Ireland
>             Fix For: V4.0_ERRATA01
>
>
> 4.0 spec for ATOM and JSON formats doesn't define how values are represented when they are returned from operations (actions or functions).
> For example, the following JSON format sections would appear to be only applicable only to a property within an entity or complex type instance.
> 7.1 Primitive Value
> 7.2 Complex Value
> 7.3 Collection of Primitive Values.
> 7.4 Collection of Complex Values
> 11 Individual Property
> If a value of one of the above types is returned by an action or function, we need to define how it is represented.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)