IdRef for developers |
If the identifier of an authority record of the Personal name type is known, it is possible to access the list of documents described by the Sudoc with which this person is associated.
For example :
Identifier (PPN) of the Paul Veyne record: 027182800
URL of the micro Web Service: http://www.idref.fr/services/biblio/027182800
XML response (extract):
<sudoc service="biblio">
<query>
<ppn>027182800</ppn>
</query>
<result>
<name>Veyne, Paul (1930-....)</name>
<countRoles>11</countRoles>
<role><unimarcCode>000</unimarcCode>
<marc21Code>x99</marc21Code>
<roleName>Code de fonction non reconnu</roleName>
<count>2</count>
<doc>
<ppn>161294731</ppn>
<citation>
Kannten die Griechen die Demokratie ? : zwei Studien / Christian Meier, Paul Veyne / Berlin : K. Wagenbach , 1988
</citation>
</doc>
JSON response:
By default, the http://www.idref.fr/services/biblio/027182800 URL gives an XML response.
Thanks to the contents negotiation, you can ask that this generic URL gives specifically a JSON response, by specifying in the http request:
Accept: text/json
Finally, specific URLs exist that force the response format, as indicated in the following summary table:
Identifier of the Sudoc record |
027182800 |
Generic URL (supports content negotiation) | |
Specific XML URL | |
Specific JSON URL |