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

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata-comment message

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


Subject: [OData Data Aggregation Extension] Reporting error in Example 13


Under section 3.1.3.6, Custom Aggregation Methods, the response in Example 13 is mentioned as below:

{

  "@odata.context": "$metadata#Sales(Customer(Country),Amount,ProductNames)",

  "value": [
    { "@odata.id":null, "Customer":{ "Country":"Netherlands" },

      "Amount": 5, ProductNames:"Paper,Sugar" },
    { "@odata.id":null, "Customer":{ "Country":"USA" },         

      "Amount":19, ProductNames:"Coffee,Paper,Sugar" }
  ]
}


The word Amount should be replaced with Total at three locations above, since that is the name for alias, the user has specified.


--
Jatin



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