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: RE: [OData Data Aggregation Extension] Reporting error in Example 13


Hi Jatin,

 

Thanks for catching this, it will be corrected in the next revision of this specification.

 

If you find further issues, please don’t hesitate to report them here.

 

Thanks in advance

Ralf

 

From: odata-comment@lists.oasis-open.org [mailto:odata-comment@lists.oasis-open.org] On Behalf Of Jatin Sanghvi
Sent: Freitag, 8. September 2017 06:43
To: odata-comment@lists.oasis-open.org
Subject: [odata-comment] [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]