Synch_GetUpdatedBibs

This method returns a list of bibliographic record IDs for records that have been updated since a specified date and time.

Important: This method provides information for bibliographic records with a “final” status. Updates to the following dates will cause records to appear on this list: Creation date, imported date, modified date, first available date, or record status date.

If the time element is not specified, the date and time parameter will assume midnight of the day specified.

This method returns a generic BibIDListGetResult XML structure (see below).

A call to AuthenticateStaffUser is required before calling any protected methods.

  GET /protected/1/{AccessToken}/synch/bibs/updated?updatedate={updatedate}  

Authorization required?

Yes

Protected method?

Yes

Query String Parameters

Name

Value

Required

Description/Notes

updatedate

YYYY-MM-DDTHH:MM:SS

Yes

Start date for record updates

XML Elements Returned

Name

Description/Notes

PAPIErrorCode

PAPI Error code: Negative values represent errors and are defined elsewhere.

Note: On successful completion, the PAPI error code is populated with a positive integer representing the number of rows returned.

ErrorMessage

Error or information message

BibIDListRows

List of bibliographic record IDs

BibIDListRow

Container for data

BibliographicRecordID

The bibliographic record ID

Example

https://[HOSTNAME]/PAPIService/REST/protected/v1/1033/100/1/rGhOMQjR7MXZuJYREw6TQHPG
sy1tlZPr/synch/bibs/updated?updatedate=12/2/2011 13:00:00

Return

HTTP/1.1 200 OK

<BibIDListGetResult

xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

<PAPIErrorCode>0</PAPIErrorCode>

<ErrorMessage/>

<BibIDListRows>

<BibIDListRow>

<BibliographicRecordID>803851</BibliographicRecordID>

</BibIDListRow>

</BibIDListRows>

</BibIDListGetResult>