Posts

Showing posts with the label odata

Service Reference error upon creation

Image
Clash Royale CLAN TAG #URR8PPP Service Reference error upon creation I'm currently having an issue with adding an OData service in a C# project. The service looks like this. My step by step process looks like this: STEP 1: Entering the OData URL STEP 2: After hitting OK, the following error pops up. STEP 3: Trying to update the service ----> Which results in following error. I can't seem to figure out what causes these issues. If anyone has any suggestions, please let me know. It would be greatly appreciated! 1 Answer 1 Instead of using the service reference with UWP. I used Ajax calls to get the data. Some of them weren't allowed in a Unity build. This is why I used tags to exclude scripts like this: #if (UNITY_EDITOR) ... your class/code ... #endif More information about this can be found by following this url. https://support.unity3d.com/hc/en-us/articles/208456906-Excluding-Script...

Olingo - OData: How to define complex types in Olingo OData

Image
Clash Royale CLAN TAG #URR8PPP Olingo - OData: How to define complex types in Olingo OData I need to define below JSON in OData entity. "d" : { "__metadata" : { "type" : "ServiceCloudAssetModel.HBServicesInfo", "uri" : "http://sdf.com/notimplemented/Entity(0)" }, "SPVersion" : "0", "Status" : "Informational", "ResponseCode" : "100", "Description" : "High Memory Usage; Hardware Failure detected", "LastBootUpDate" : "2017-04-07T20:48:13.486816", "SchemaVersion" : null, "AgentVersion" : "2.0.0.0", "WindowsUpdatedRunDate" : "2017-04-05T08:13:42", "UTCDate" : "2018-06-20T18:22:32.3388283Z", "ResponseMessage" : "Success", "uuid" : "bada16db-2b2f-46de-a366-545ea9774d2c...

How to return more than 50 results from Dynamics 365 using the Web API

Image
Clash Royale CLAN TAG #URR8PPP How to return more than 50 results from Dynamics 365 using the Web API Continuing on with my Dynamics 365 from Delphi project, I am now at a point where I need to be retrieving more data from CRM than the 50 entities I can get by default, and that by setting the maxpagesize preference, I should be able to get more. This is what my existing Delphi code looks like to retrieve the data from Dynamics: RESTClient.BaseURL := 'https://mytest.api.crm6.dynamics.com'; RESTRequest.Resource := 'XRMServices/2011/OrganizationData.svc/AccountSet?$select=Name&'; RESTRequest.Accept := 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'; RESTRequest.Execute; This returns 50 results, and follows up with the paging tag (which we will ignore for now): <link rel="next" href="https://mytest.api.crm6.dynamics.com/XRMServices/2011/OrganizationData.svc/AccountSet?$select=Name&amp;$skiptok...