External Dissemination Ideas Portal

Use ONE/MP API to retrieve information for Working Papers by COTE

As we have discussed already several times in the past, also in discussions with DKI, it would be helpful for users to assist in filling in of the form by using information stored in the ONE/MP database.

 

An API endpoint is now available and can be used to call from Kappa. Here is an example call:

 

https://api.one.oecd.org/discover/one-rest-api/ECO/WKP(2017)55/en?sessionId=1337&format=xml

 

Looking at the creation form we could retrieve:

  • Title
  • Subtitle (?)
  • Authors
  • Summary
  • Topics
  • Web topics
  • Concepts (aka Keywords)

 

A request needs to contain:

  • the COTE
  • the language (en or fr)
  • a session id (can be a freely chosen number)
  • format (optional, json is the default, or xml)

 

Return values are:

  • 200 document exists and is public
  • 404 document doesn't exist
  • 400 no session id provided or invalid format
  • 403 document is not public

 

Test requests for existing documents take up to 7 seconds.

 

The actually returned information looks like this :

<?xml version="1.0" encoding="UTF-8"?>
<language-version time="PT6.6229188S" xml:lang="en" xmlns="http://one.oecd.org/one"><uri>http://one.oecd.org/document/ECO/WKP(2017)30/en</uri><favourite>0</favourite><download-info><download-date xmlns:one="http://one.oecd.org/one">2017-08-11</download-date></download-info><canonical-model>
<uri>http://one.oecd.org/document/ECO/WKP(2017)30/en</uri>
<last-modified-date>
<date>2017-06-30</date>
<date-time>2017-06-30T00:00:00.000+02:00</date-time>
</last-modified-date>
<year>2017</year>
<monthly-dates>
<monthly-date>2017</monthly-date>
<monthly-date>2017/6</monthly-date>
</monthly-dates>
<reference>ECO/WKP(2017)30</reference>
<classification-level>
<label xml:lang="en">Unclassified</label>
<label xml:lang="fr">Non classifié</label>
<uri>http://kim.oecd.org/Taxonomy/ClassificationCodes#3</uri>
</classification-level>
<languages>
<language>
<label xml:lang="en">English</label>
<label xml:lang="fr">anglais</label>
<uri>http://kim.oecd.org/Taxonomy/Languages/CodesISO6391#en</uri>
<iso>en</iso>
</language>
</languages>
<document-types>
<document-type>
<label xml:lang="en">document/official document</label>
<label xml:lang="fr">document/document officiel</label>
<uri>http://one.oecd.org/Model#OfficialDocument</uri>
</document-type>
<document-type>
<label xml:lang="en">document</label>
<label xml:lang="fr">document</label>
<uri>http://one.oecd.org/Model#Document</uri>
</document-type>
</document-types>
<title>THE FALL IN REAL LONG-TERM GOVERNMENT BOND YIELDS: DISENTANGLING DIFFERENT DRIVERS</title>
<directorates>
<directorate>
<label xml:lang="en">Economics Department</label>
<label xml:lang="fr">Département des affaires économiques</label>
<uri>http://kim.oecd.org/Taxonomy/Organisations#ECO</uri>
</directorate>
</directorates>
<summary>OECD Working Papers should not be reported as representing the official views of the OECD or of its member countries. The opinions expressed and arguments employed are those of the author(s).&lt;br/&gt;Authorised for publication by Christian Kastrop, Director, Policy Studies Branch, Economics Department.</summary>
<latest-version>true</latest-version>
<number-of-pages>34</number-of-pages>
<active>true</active>
<oecd-topics><topic relevance="high"><iri>http://kim.oecd.org/Taxonomy/Topics#T1548</iri><label xml:lang="en">yields</label>
<label xml:lang="fr">rendements</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T2561</iri><label xml:lang="en">public debt</label>
<label xml:lang="fr">dette publique</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T2597</iri><label xml:lang="en">monetary policy</label>
<label xml:lang="fr">politique monétaire</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T2599</iri><label xml:lang="en">central banks</label>
<label xml:lang="fr">banques centrales</label></topic><topic relevance="high"><iri>http://kim.oecd.org/Taxonomy/Topics#T2616</iri><label xml:lang="en">interest rates</label>
<label xml:lang="fr">taux d'intérêt</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T2634</iri><label xml:lang="en">life expectancy</label>
<label xml:lang="fr">espérance de vie</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T2653</iri><label xml:lang="en">savings</label>
<label xml:lang="fr">épargne</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T2670</iri><label xml:lang="en">bonds</label>
<label xml:lang="fr">obligations</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T2689</iri><label xml:lang="en">foreign exchange reserves</label>
<label xml:lang="fr">réserves en devises</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T3038</iri><label xml:lang="en">demographic statistics</label>
<label xml:lang="fr">statistiques démographiques</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T3050</iri><label xml:lang="en">demographic transition</label>
<label xml:lang="fr">transition démographique</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T4540</iri><label xml:lang="en">inflation</label>
<label xml:lang="fr">inflation</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T6339</iri><label xml:lang="en">emerging markets</label>
<label xml:lang="fr">marchés émergents</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T813</iri><label xml:lang="en">gross domestic product</label>
<label xml:lang="fr">produit intérieur brut</label></topic><topic relevance="normal"><iri>http://kim.oecd.org/Taxonomy/Topics#T935</iri><label xml:lang="en">government</label>
<label xml:lang="fr">gouvernement</label></topic></oecd-topics><web-topics><topic relevance="1" parent-iri="http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT11" level="1"><iri>http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT11-1</iri><label xml:lang="en">Health policies and data</label>
<label xml:lang="fr">Politiques et données sur la santé</label></topic><topic relevance="1" parent-iri="http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT6" level="1"><iri>http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT6-2</iri><label xml:lang="en">Economic surveys and country surveillance</label>
<label xml:lang="fr">Études économiques par pays</label></topic><topic relevance="3" parent-iri="http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT6" level="1"><iri>http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT6-3</iri><label xml:lang="en">Monetary and financial issues</label>
<label xml:lang="fr">Questions monétaires et financières</label></topic><topic relevance="2" parent-iri="http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT19" level="1"><iri>http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT19-1</iri><label xml:lang="en">Biotechnology policies</label>
<label xml:lang="fr">Politiques sur la biotechnologie</label></topic><topic relevance="4" parent-iri="http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT13" level="1"><iri>http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT13-2</iri><label xml:lang="en">Monetary and financial issues</label>
<label xml:lang="fr">Questions monétaires et financières</label></topic><topic relevance="1" parent-iri="http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT13" level="1"><iri>http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT13-5</iri><label xml:lang="en">Public debt management</label>
<label xml:lang="fr">Gestion de la dette publique</label></topic><topic relevance="1" level="0"><iri>http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT11</iri><label xml:lang="en">Health</label>
<label xml:lang="fr">Santé</label></topic><topic relevance="4" level="0"><iri>http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT6</iri><label xml:lang="en">Economy</label>
<label xml:lang="fr">Économie</label></topic><topic relevance="2" level="0"><iri>http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT19</iri><label xml:lang="en">Science and technology</label>
<label xml:lang="fr">Science et technologie</label></topic><topic relevance="5" level="0"><iri>http://kim.oecd.org/Taxonomy/KappaWebTopics#KWT13</iri><label xml:lang="en">Finance</label>
<label xml:lang="fr">Finances</label></topic></web-topics></canonical-model><details xmlns:one="http://one.oecd.org/one"><representations><representation><uri>http://one.oecd.org/document/ECO/WKP(2017)30/en/docx</uri><url>http://one.oecd.org/document/ECO/WKP(2017)30/en/docx</url><canonical-model><uri>http://one.oecd.org/document/ECO/WKP(2017)30/en/docx</uri><last-modified-date><date>2017-06-30</date><date-time>2017-06-30T02:00:02.183+02:00</date-time></last-modified-date><reference>ECO/WKP(2017)30</reference><classification>3</classification><classification-level><label xml:lang="en">Unclassified</label><label xml:lang="fr">Non classifié</label><uri>http://kim.oecd.org/Taxonomy/ClassificationCodes#Unclassified</uri></classification-level><languages><language><label xml:lang="en">English</label><label xml:lang="fr">anglais</label><uri>http://kim.oecd.org/Taxonomy/Languages/CodesISO6391#en</uri><iso>en</iso></language></languages><lang_iso2>en</lang_iso2><format>docx</format></canonical-model></representation><representation><uri>http://one.oecd.org/document/ECO/WKP(2017)30/en/pdf</uri><url>http://one.oecd.org/document/ECO/WKP(2017)30/en/pdf</url><canonical-model><uri>http://one.oecd.org/document/ECO/WKP(2017)30/en/pdf</uri><last-modified-date><date>2017-06-30</date><date-time>2017-06-30T02:00:02.183+02:00</date-time></last-modified-date><reference>ECO/WKP(2017)30</reference><classification>3</classification><classification-level><label xml:lang="en">Unclassified</label><label xml:lang="fr">Non classifié</label><uri>http://kim.oecd.org/Taxonomy/ClassificationCodes#Unclassified</uri></classification-level><languages><language><label xml:lang="en">English</label><label xml:lang="fr">anglais</label><uri>http://kim.oecd.org/Taxonomy/Languages/CodesISO6391#en</uri><iso>en</iso></language></languages><lang_iso2>en</lang_iso2><format>pdf</format></canonical-model></representation></representations><entity-language-versions><entity-language-version><uri>http://one.oecd.org/document/ECO/WKP(2017)30/en</uri><languages>
<language>
<label xml:lang="en">English</label>
<label xml:lang="fr">anglais</label>
<uri>http://kim.oecd.org/Taxonomy/Languages/CodesISO6391#en</uri>
<iso>en</iso>
</language>
</languages></entity-language-version></entity-language-versions></details></language-version>
  • Jakob Fix
  • Oct 12 2017
  • Planned
  • Attach files