GET odata/Sites('SiteName')?$expand=SubscriptionLevelObject
"Expands" the query to include related Subscription Level object. Can be combined with other operators like $filter. Subscription Level object is present when valid subscription is either auto-assigned (e.g. it is defined as 'free'), purchased or specifically assigned by SoNET's owner.
Response Information
Response body formats
application/json, text/json
Sample:
{ "@odata.context":"http://sampleserver.com/odata/$metadata#Sites/$entity", "SiteName":"SampleSite", "AdminUserId":null, "Author":"Author's Name", "TemplateName":"Xtreme", [..] "SubscriptionLevelObject":{ "SubscriptionLevelID":"MyNewLevel", "Name":"My New Level", "Description":"", "GivesAccessToAll":false, "NumberOfMedia":null, "QuotaInMB":null, "IncludeVideos":false, "IncludeAudio":false, "IncludeBlog":false, "IncludeForms":true, "IncludeUsers":true, "IncludePayPal":false, "IncludeECommerce":false, "IsDefault":false, "IsRetired":false, "IsFree":false, "WebOrder":null, "CreatedTime":"2016-04-27T20:20:38.3-07:00", "UpdatedTime":"2016-07-13T19:48:16.947-07:00" } } }