You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by Héctor Navarro <he...@mes-view.com> on 2017/11/24 09:35:26 UTC

multilevel expanded entity on PUT request

Hi all,

Is there any way to build a response on PUT request that has an expanded 
entity properties? I've developed the $expand query option with $level 
parameter. I think that isn't possible to use $expand on PUT request but 
I'm not sure. Another possibility that I consider is use complex types, 
but I don't know if this method show the entity with expanded properties 
on response.

Example:

{
     "@odata.context": "$metadata#Entity/$entity",
     "Property": 1,
     "SubEntity": {
         "Property_SE": value,
         "SubEntity2": {
             "Property": value,
             "SubEntity3": {
                 "Property3":value
             }
         }
     }
}

-- 

MesView <https://htmlsig.com/t/000001BX7TK2>

Héctor Navarro / Ingeniero de software
hector.navarro@mesview.com <ma...@mesview.com>

MesView
http://mesview.com

This e-mail message may contain confidential or legally privileged 
information and is intended only for the use of the intended 
recipient(s). Any unauthorized disclosure, dissemination, distribution, 
copying or the taking of any action in reliance on the information 
herein is prohibited. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, or contain viruses. 
Anyone who communicates with us by e-mail is deemed to have accepted 
these risks. MesView is not responsible for errors or omissions in this 
message and denies any responsibility for any damage arising from the 
use of e-mail. Any opinion and other statement contained in this message 
and any attachment are solely those of the author and do not necessarily 
represent those of the company.