How to use OData URL and consume it.

ssp_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]
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.
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/"'24%3BCgAAAAJ7%2F0MATwBEAAAAAAA%3D8%3B487146380%3B'""><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.
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions