Examples:
The following examples demonstrate the different operations that can be executed on pull list records using HTTP methods. Please note that none of the examples include the principleID and principleIDNS parameters that are required to successfully complete the operation. To get the results in different formats it is necessary to perform content negotiation. The Pulllist service can return data in two possible formats.
| Format | Accept Header | Extension |
|---|---|---|
| Atom XML | application/atom+xml | .xml |
| Atom JSON | application/json | .json |
GET a pull list from a branch with the ID 914751:
Request:
https://circ.sd00.worldcat.org/pulllist/914751
XML Response:
<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:os="http://a9.com/-/spec/opensearch/1.1/" xmlns:gd="http://schemas.google.com/g/2005">
<id>urn:oclc:circulation/pulllist/91475/914751</id>
<title type="text">Pull List</title>
<updated>2011-11-23T20:51:13.309Z</updated>
<gd:etag>W/"76f956daac28df515eda23396e2d942a"</gd:etag>
<os:totalResults>6</os:totalResults>
<os:startIndex>1</os:startIndex>
<os:itemsPerPage>10</os:itemsPerPage>
<entry>
<title type="text" />
<updated>2011-11-23T20:51:13.316Z</updated>
<content type="application/xml">
<ns2:itemDescription xmlns:ns2="http://worldcat.org/xmlschemas/Circulation-1.0" xmlns="http://worldcat.org/xmlschemas/Bib-1.0">
<ns2:bibliographicItem>
<oclcNumber>213382321</oclcNumber>
<title>Accounting for dummies /</title>
<author>Tracy, John A.</author>
<materialFormat>BOOK</materialFormat>
<publisher>Hoboken, NJ : Wiley Pub., Inc.,</publisher>
<publicationYear>2008</publicationYear>
<language>eng</language>
<edition>4th ed.</edition>
</ns2:bibliographicItem>
<ns2:pieceDesignation>749139813013811</ns2:pieceDesignation>
<ns2:callNumber>
<ns2:description>HF5636 .T725 2008</ns2:description>
</ns2:callNumber>
<ns2:recordType>SINGLE_PART</ns2:recordType>
<ns2:numberOfPieces>1</ns2:numberOfPieces>
<ns2:homeHoldingLocation>MAIN</ns2:homeHoldingLocation>
</ns2:itemDescription>
</content>
</entry>
<entry>
<title type="text" />
<updated>2011-11-23T20:51:13.317Z</updated>
<content type="application/xml">
<ns2:itemDescription xmlns:ns2="http://worldcat.org/xmlschemas/Circulation-1.0" xmlns="http://worldcat.org/xmlschemas/Bib-1.0">
<ns2:bibliographicItem>
<oclcNumber>213382321</oclcNumber>
<title>Accounting for dummies /</title>
<author>Tracy, John A.</author>
<materialFormat>BOOK</materialFormat>
<publisher>Hoboken, NJ : Wiley Pub., Inc.,</publisher>
<publicationYear>2008</publicationYear>
<language>eng</language>
<edition>4th ed.</edition>
</ns2:bibliographicItem>
<ns2:pieceDesignation>2353636693</ns2:pieceDesignation>
<ns2:callNumber>
<ns2:description>HF5636 .T725 2009</ns2:description>
</ns2:callNumber>
<ns2:recordType>UNKNOWN</ns2:recordType>
<ns2:numberOfPieces>1</ns2:numberOfPieces>
<ns2:homeHoldingLocation>MAIN</ns2:homeHoldingLocation>
</ns2:itemDescription>
</content>
</entry>
...
</feed>
JSON Response:
{
"id": "urn:oclc:circulation/pulllist/91475/914751",
"title": "Pull List",
"updated": "2011-11-23T21:05:00.605Z",
"entries": [
{
"title": "",
"content": {
"bibliographicItem": {
"oclcNumber": "213382321",
"title": "Accounting for dummies /",
"author": "Tracy, John A.",
"materialFormat": "BOOK",
"publisher": "Hoboken, NJ : Wiley Pub., Inc.,",
"publicationYear": "2008",
"language": "eng",
"edition": "4th ed."
},
"pieceDesignation": "749139813013811",
"callNumber": {
"shelvingScheme": null,
"shelvingInformation": null,
"itemParts": null,
"prefixes": null,
"suffixes": null,
"description": "HF5636 .T725 2008"
},
"recordType": "SINGLE_PART",
"holdingInformation": null,
"numberOfPieces": 1,
"physicalDescription": null,
"cost": null,
"homeHoldingLocation": "MAIN",
"permanentShelvingLocation": null,
"previousShelvingLocation": null,
"temporaryShelvingLocation": null,
"publicNotes": null,
"staffNotes": null,
"useRestrictions": null
},
"updated": "2011-11-23T21:05:00.611Z"
},
{
"title": "",
"content": {
"bibliographicItem": {
"oclcNumber": "213382321",
"title": "Accounting for dummies /",
"author": "Tracy, John A.",
"materialFormat": "BOOK",
"publisher": "Hoboken, NJ : Wiley Pub., Inc.,",
"publicationYear": "2008",
"language": "eng",
"edition": "4th ed."
},
"pieceDesignation": "2353636693",
"callNumber": {
"shelvingScheme": null,
"shelvingInformation": null,
"itemParts": null,
"prefixes": null,
"suffixes": null,
"description": "HF5636 .T725 2009"
},
"recordType": "UNKNOWN",
"holdingInformation": null,
"numberOfPieces": 1,
"physicalDescription": null,
"cost": null,
"homeHoldingLocation": "MAIN",
"permanentShelvingLocation": null,
"previousShelvingLocation": null,
"temporaryShelvingLocation": null,
"publicNotes": null,
"staffNotes": null,
"useRestrictions": null
},
"updated": "2011-11-23T21:05:00.612Z"
}
...
],
"extensions": [
{
"name": "gd:etag",
"attributes": {
"xmlns:gd": "http://schemas.google.com/g/2005"
},
"children": [
"W/\"76f956daac28df515eda23396e2d942a\""
]
},
{
"name": "os:totalResults",
"attributes": {
"xmlns:os": "http://a9.com/-/spec/opensearch/1.1/"
},
"children": [
"6"
]
},
{
"name": "os:startIndex",
"attributes": {
"xmlns:os": "http://a9.com/-/spec/opensearch/1.1/"
},
"children": [
"1"
]
},
{
"name": "os:itemsPerPage",
"attributes": {
"xmlns:os": "http://a9.com/-/spec/opensearch/1.1/"
},
"children": [
"10"
]
}
]
}
The OCLC Developer Network supports the use of OCLC Web Services—a set of tools and APIs that expose data and services for WorldCat and our member libraries and partner institutions or companies. learn more »
© 2010 OCLC Domestic and international trademarks and/or service marks of OCLC Online Computer Library Center, Inc. and its affiliates
Follow the OCLC Developer Network: