[
https://issues.apache.org/jira/browse/OLINGO-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199317#comment-15199317
]
Ralf Handl commented on OLINGO-907:
-----------------------------------
Example 62 shows that you can use other system query options besides $id with
the $entity resource.
http://host/service/$entity/Model.Customer?$id=http://host/service/Customers('ALFKI')
will return the full representation of customer ALFKI, and example 62 shows
that you are allowed to request selection of only the properties CompanyName
and ContactName and in addition requestion expansion of navigation property
Orders. Everything after the first & is not part of the entity id, it is just
http://host/service/Customers('ALFKI').
> Entity-Id handling is in-correct in "server-core-ext" module
> ------------------------------------------------------------
>
> Key: OLINGO-907
> URL: https://issues.apache.org/jira/browse/OLINGO-907
> Project: Olingo
> Issue Type: Bug
> Components: odata4-server
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
>
> Typically the entity-id queries are like
> {code}
> http://host/service/$entity?
> $id=http://host/service/Customers('ALFKI')&$select=CompanyName,ContactName&$expand=Orders
> {code}
> The server-ext-framework treats the value of $id as URI, but there is "&"
> instead of "?" after Customers('ALFKI')
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)