Options

How to use OData URL and consume it.

ssp_D365ssp_D365 Member Posts: 3
Hi everyone,

I want to share data of shipment method table using OData.

I made a page of shipment method table for this and added it to web services and got the URL.
If I am accessing this OData URL then I am seeing table data in XML format on the browser. [Please check below]
<?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:7048/DynamicsNAV/OData/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:7048/DynamicsNAV/OData/Company('WIG-UAT')/SM</id><title type="text">SM</title><updated>2021-12-02T18:02:08Z</updated><link rel="self" title="SM" href="SM" /><entry m:etag="W/&quot;'24%3BCgAAAAJ7%2F0MATwBEAAAAAAA%3D8%3B487146380%3B'&quot;"><id>http://localhost:7048/DynamicsNAV/OData/Company('WIG-UAT')/SM('COD')</id><category term="NAV.SM" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="SM" href="Company('IFSL-MTF-NonMTF-UAT')/SM('COD')" /><title /><updated>2021-12-02T18:02:08Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Code>COD</d:Code><d:Description>Cash on Delivery</d:Description><d:ETag>24;CgAAAAJ7/0MATwBEAAAAAAA=8;487146380;</d:ETag></m:properties></content></entry></feed>

Now I am not understanding that what should I do to take the data from the client using this OData URL and consume it at my end.
I am using Nav 2013R2 and I never worked on this kind of requirement Please help.







Sign In or Register to comment.