An error occured. Details Hide
You have unsaved pages. Restore Cancel

How to enumerate datasets

To enumerate all public datasets make HTTP GET request to http://dptest.ncsi.gov.om/api/1.0/sdmx. This endpoint takes no input parameters and returns Structure message in response. For every dataset there is a key family defined within response's Structure message.

GET http://dptest.ncsi.gov.om/api/1.0/sdmx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="utf-8"?>
                 <Id>none</Id>
                 <Truncated>false</Truncated>
                 <Prepared>2/14/2012 10:47:07 AM</Prepared>
                 <Sender Id="Knoema">
                         <name xml:lang="en">Knoema Technologies</name>
                 </Sender>
         </Header>
         <message:KeyFamilies>
                 <Keyfamily Id="IMFWEO2011Sep" AgencyId="knoema">
                         <Name xml:lang="en">World Economic Outlook, September 2011</Name>
                 </Keyfamily>
                 <Keyfamily Id="OECDEO90" AgencyId="knoema">
                         <Name xml:lang="en">Economic Outlook No 90, December 2011</Name>
                 </Keyfamily>
                 <Keyfamily Id="WBWDIGDF2011Dec" AgencyId="knoema">
                         <Name xml:lang="en">World Development Indicators (WDI) & Global Development Finance (GDF), December 2011</Name>
                 </Keyfamily>
         </message:KeyFamilies>
 </message:structure>