OCLC Developer Network

Response Formats

The QuestionPoint Knowledgebase API has four response formats

  • xml
  • json
  • html
  • text

XML Output

<?xml version="1.0" encoding="utf-8"?>
<response>

<record>
<question>Where can I find civil lawsuits?
</question>

<answer>
We are assuming that you are referring to the New York City Civil Court System.  Their home page can be accessed at: <url http://www.courts.state.ny.us> [April 2003].
  
We are also assuming you are interested in Queens county.  The Civil Court of the City of New York, Queens is located at:
Civil Court Building
89-17 Sutphin Blvd
Jamaica, NY 11435
(718-262-7138)

The Queens Public Library has the following materials which have New York civil court cases with an index:
New York jurisprudence 2d.
(call # R 349.747 N) and
Corpus juris secundum
(call# R  349.73 C)

These volumes are located in the Reference Section of the Social Sciences Division of the Central Library, which is located at:
89-11 Merrick Blvd
Jamaica, NY 11432
(718 990-0761)

If you wish to explore other legal websites for the layman, the following are recommended:
<url http://www.nolo.com> [April 2003] and <url http://www.law.cornell.edu> [April 2003]
</answer>
<qkeyword>civil lawsuits</qkeyword>
<akeyword>civil lawsuits</akeyword>
<ukeyword>null</ukeyword>
<lastUpdate>2003-04-14 17:27:00.0</lastUpdate>
<aid>23861</aid>
<id>23861</id>
<source>1</source>
<publicflag>1</publicflag>
<qstatus>3</qstatus>
<kbpublic>true</kbpublic>
<status>0</status>
<answerSourcesChecked>null</answerSourcesChecked>
<addendum>null</addendum>

<copyright>
This material is from the OCLC QuestionPoint Global Knowledge Base.  For related material in a library near you, go to http://worldcat.org
</copyright>
<branding>null</branding>

<requestInst>
Library of Congress - Newspaper and Current Periodical Room
</requestInst>
<answerInst>Queens Library (Queens NY)</answerInst>
<requestDate>2003-03-13 00:00:00.0</requestDate>
<answerDate>2003-03-18 00:00:00.0</answerDate>
</record>
</response>

JSON Output

{
{
    "answerDate": "2003-03-18 00:00:00.0",
    "status": 0,
    "lastUpdate": "2003-04-14 17:27:00.0",
    "answer": "We are assuming that you are referring to the New York City Civil Court System.  Their home page can be accessed at: <url http://www.courts.state.ny.us> [April 2003].\r\n  \r\nWe are also assuming you are interested in Queens county.  The Civil Court of the City of New York, Queens is located at:\r\nCivil Court Building\r\n89-17 Sutphin Blvd\r\nJamaica, NY 11435\r\n(718-262-7138)\r\n\r\nThe Queens Public Library has the following materials which have New York civil court cases with an index:\r\nNew York jurisprudence 2d.\r\n(call # R 349.747 N) and\r\nCorpus juris secundum\r\n(call# R  349.73 C)\r\n\r\nThese volumes are located in the Reference Section of the Social Sciences Division of the Central Library, which is located at:\r\n89-11 Merrick Blvd\r\nJamaica, NY 11432\r\n(718 990-0761)\r\n\r\nIf you wish to explore other legal websites for the layman, the following are recommended:\r\n<url http://www.nolo.com> [April 2003] and <url http://www.law.cornell.edu> [April 2003]\r\n",
    "aid": 23861,
    "copyright": "This material is from the OCLC QuestionPoint Global Knowledge Base.  For related material in a library near you, go to http://worldcat.org",
    "akeyword": "civil lawsuits",
    "qstatus": 3,
    "id": 23861,
    "answerInst": "Queens Library (Queens NY)",
    "source": 1,
    "requestInst": "Library of Congress - Newspaper and Current Periodical Room",
    "publicflag": 1,
    "qkeyword": "civil lawsuits",
    "requestDate": "2003-03-13 00:00:00.0",
    "question": "Where can I find civil lawsuits?\r\n",
    "kbpublic": true
}
}

HTML Output

The HTML output provides and HTML encoded response which can easily be embedded into a webpage.

Example

Text Output

The text output provides a comma separated list of field name and value pairs.

Example

Follow the OCLC Developer Network:

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


Powered by Drupal, an open source content management system