Manuel BACON

2.3. Le webservice id2kbart

Le webservice id2kbart permet de connaître l’ensemble des packages où figure un périodique ou un livre donné en fonction de son identifiant (ISSN ou ISBN, version « papier » ou version électronique) et remonte l’ensemble des informations KBART correspondantes. Le webservice n’interroge que la version la plus à jour de chaque package.

Requête

https://bacon.abes.fr/id2kbart/0003-4878 (ISSN)

https://bacon.abes.fr/id2kbart/978-0-7923-0647-4 (ISBN 13)

Les requêtes multiples sont possibles

https://bacon.abes.fr/id2kbart/0003-4878,978-0-7923-0647-4

Réponse XML

La réponse par défaut est dans le format XML. La balise <package> comprend le nom complet du bouquet. Toutes les balises incluses dans la balise <element> correspondent aux intitulés de la recommandation KBART.

<bacon>

<query>

<id>0003-4878</id>

<provider>

<name>ELSEVIER</name>

<package>ELSEVIER_FRANCE_ISTEXJOURNALS_2015-05-18</package>

<kbart>

<element>

<publication_title>The Annals of Occupational Hygiene</publication_title>

<print_identifier>0003-4878</print_identifier>

<online_identifier>1475-3162</online_identifier>

<date_first_issue_online>1995</date_first_issue_online>

<num_first_vol_online>39</num_first_vol_online>

<num_first_issue_online>1</num_first_issue_online>

<date_last_issue_online>2001</date_last_issue_online>

<num_last_vol_online>45</num_last_vol_online>

<num_last_issue_online>8</num_last_issue_online>

<title_url> http://www.sciencedirect.com/science/journal/00034878 </title_url>

<first_author/>

<title_id>00034878</title_id>

<embargo_info/>

<coverage_depth>fulltext</coverage_depth>

<notes/>

<publisher_name>Elsevier</publisher_name>

<publication_type>serial</publication_type>

<date_monograph_published_print/>

<date_monograph_published_online/>

<monograph_volume/>

<monograph_edition/>

<first_editor/>

<parent_publication_title_id/>

<preceding_publication_title_id/>

<access_type>P</access_type>

</element>

</kbart>

</provider>

<provider>

<name>OUP</name>

<package>OUP_FRANCE_ISTEXJOURNALS_2015-05-13</package>

<kbart>

<element>

<publication_title>Annals of occupational hygiene</publication_title>

<print_identifier>0003-4878</print_identifier>

<online_identifier>1475-3162</online_identifier>

<date_first_issue_online>1958</date_first_issue_online>

<num_first_vol_online>1</num_first_vol_online>

<num_first_issue_online>1</num_first_issue_online>

<date_last_issue_online>2010</date_last_issue_online>

<num_last_vol_online/>

<num_last_issue_online/>

<title_url> http://annhyg.oxfordjournals.org </title_url>

<first_author/>

<title_id>annhyg</title_id>

<embargo_info/>

<coverage_depth>fulltext</coverage_depth>

<notes/>

<publisher_name>Oxford University Press</publisher_name>

<publication_type>serial</publication_type>

<date_monograph_published_print/>

<date_monograph_published_online/>

<monograph_volume/>

<monograph_edition/>

<first_editor/>

<parent_publication_title_id/>

<preceding_publication_title_id/>

<access_type>P</access_type>

</element>

</kbart>

</provider>

</query>

</bacon>

Réponse JSON

Il est possible d’obtenir une réponse dans le format JSON en ajoutant à la fin de l’URL de base .json . Tous les ensembles de paires nom/valeur inclus dans l’objet « element » correspondent aux intitulés de la recommandation KBART. Si vous souhaitez utiliser le mécanisme de négociation de contenu, votre requête doit contenir dans son en-tête HTTP_ACCEPT application/json ou text/json.

{"bacon":{

"query":[

{"id":"0003-4878"},

{"provider":{

"name":"ELSEVIER",

"package":"ELSEVIER_FRANCE_ISTEXJOURNALS_2015-05-18",

"kbart":{

"element":{

"publication_title":"The Annals of Occupational Hygiene",

"print_identifier":"0003-4878",

"online_identifier":"1475-3162",

"date_first_issue_online":1995,

"num_first_vol_online":39,

"num_first_issue_online":1,

"date_last_issue_online":2001,

"num_last_vol_online":45,

"num_last_issue_online":8,

"title_url":"http://www.sciencedirect.com/science/journal/00034878",

"first_author":null,

"title_id":00034878,

"embargo_info":null,

"coverage_depth":"fulltext",

"notes":null,

"publisher_name":"Elsevier",

"publication_type":"serial",

"date_monograph_published_print":null,

"date_monograph_published_online":null,

"monograph_volume":null,

"monograph_edition":null,

"first_editor":null,

"parent_publication_title_id":null,

"preceding_publication_title_id":null,

"access_type":"P"

}

}

}

},

{"provider":{

"name":"OUP",

"package":"OUP_FRANCE_ISTEXJOURNALS_2015-05-13",

"kbart":{

"element":{

"publication_title":"Annals of occupational hygiene",

"print_identifier":"0003-4878",

"online_identifier":"1475-3162",

"date_first_issue_online":1958,

"num_first_vol_online":1,

"num_first_issue_online":1,

"date_last_issue_online":2010,

"num_last_vol_online":null,

"num_last_issue_online":null,

"title_url":"http://annhyg.oxfordjournals.org",

"first_author":null,

"title_id":"annhyg",

"embargo_info":null,

"coverage_depth":"fulltext",

"notes":null,

"publisher_name":"Oxford University Press",

"publication_type":"serial",

"date_monograph_published_print":null,

"date_monograph_published_online":null,

"monograph_volume":null,

"monograph_edition":null,

"first_editor":null,

"parent_publication_title_id":null,

"preceding_publication_title_id":null,

"access_type":"P"

}

}

}

}

]

}

}