GET odata/FunFacts?$filter={x}|$select={x}|$orderby={x}|$top={x}|$skip={x}|$count=true
Applies one of the OData operators to FunFact objects. For the full list of operators with their sample usage please see OData documentation.
Response Information
Response body formats
application/json, text/json
Sample for GET odata/FunFacts?$filter=SiteName eq 'SampleSite'
{ "odata.metadata": "http://sampleserver.com/odata/$metadata#FunFact", "value": [ { "FunFactID": "d085dd95-0cf1-4e6a-84bd-1ebebf4207e3", "SiteName": "SampleSite", "Description": "test", "DateTime": "2013-03-23T00:00:00", "MembershipID": null }, { "FunFactID": "e84a5f39-e2eb-4c7c-875c-22636dedaec2", "SiteName": "SampleSite", "Description": "other test", "DateTime": "2012-03-24T00:00:00", "MembershipID": null } ] }
application/json, text/json
Sample for GET odata/FunFacts?$select=Title,SiteName
{ "odata.metadata": "http://sampleserver.com/odata/$metadata#FunFact&$select=Description,SiteName", "value": [ { "Description": "test", "SiteName": "SampleSite" }, { "Description": "other test"", "SiteName": "SampleSite" } ] }
application/json, text/json
Sample for GET odata/FunFacts?$count=true
{ "odata.metadata": "http://sampleserver.com/odata/$metadata#FunFact", "odata.count": "2", "value": [ { "FunFactID": "d085dd95-0cf1-4e6a-84bd-1ebebf4207e3", "SiteName": "SampleSite", "Description": "test", "DateTime": "2013-03-23T00:00:00", "MembershipID": null }, { "FunFactID": "e84a5f39-e2eb-4c7c-875c-22636dedaec2", "SiteName": "SampleSite", "Description": "test 2", "DateTime": "2012-03-24T00:00:00", "MembershipID": null } ] }