OCLC Developer Network

License templates response details

Examples:

The following examples demonstrate the different operations that can be executed on license templates using HTTP methods.  The license templates service can return data in two possible formats.

FormatAccept HeaderExtension
Atom XMLapplication/atom+xml.xml
Atom JSONapplication/json.json

 

GET a collection of license templates:

Request:

https://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates?q=vendor:a1d2aed3-5b68-4c60-8361-ea185c3640c&startIndex=2&itemsPerPage=5

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/">
  <id>info:OCLC/Platform/Service</id>
  <title type="text">OCLC Platform Service Results</title>
  <link href="http://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates?inst=128807&principalID=8eaa9f92-3951-431c-975a-d7df26b8d131&principalIDNS=urn:oclc:wms:da" rel="self" />
  <updated>2012-08-07T14:30:37.073Z</updated>
  <os:totalResults>10</os:totalResults>
  <os:startIndex>1</os:startIndex>
  <os:itemsPerPage>10</os:itemsPerPage>
  <entry xmlns:gd="http://schemas.google.com/g/2005">
    <title type="text">American Institute of Physics Permitted and Prohibited Uses</title>
    <id>http://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates/1bbc2b3c-1b1a-4370-b9e2-2da61bb43db9</id>
    <link href="http://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates/1bbc2b3c-1b1a-4370-b9e2-2da61bb43db9" rel="self" type="application/atom+xml" />
    <updated>2012-08-07T14:30:37.081Z</updated>
    <content type="application/xml">
      <licenseTemplate xmlns="http://worldcat.org/xmlschemas/LicenseManager" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://worldcat.org/xmlschemas/LicenseManager http://worldcat.org/xmlschemas/LicenseManager/1.1/LicenseManager-1.1-licenseTemplate.xsd">
        <id>1bbc2b3c-1b1a-4370-b9e2-2da61bb43db9</id>
        <name>American Institute of Physics Permitted and Prohibited Uses</name>
        <active>false</active>
        <dateCreated>2011-05-19T13:42:49Z</dateCreated>
        <createdBy>
          <name>ALIAS</name>
        </createdBy>
        <licensor href="https://vic.sd00.worldcat.org/vendors/925633ca-7c22-4c80-a268-aeca57ebfb52">
          <id>925633ca-7c22-4c80-a268-aeca57ebfb52</id>
          <name>American Institute of Physics</name>
        </licensor>
        <collections>
          <collection>
            <id>aip.ojps</id>
            <link>http://worldcat.org/webservices/kb/rest/collections/erudit.journalsFR</link>
            <name>Scitation</name>
            <provider>American Institute of Physics</provider>
          </collection>
          <collection>
            <id>aip.current</id>
            <link>http://worldcat.org/webservices/kb/rest/collections/erudit.journalsFR</link>
            <name>AIP Journals (Current Subscriptions)</name>
            <provider>American Institute of Physics</provider>
          </collection>
          <collection>
            <id>aip.journals</id>
            <link>http://worldcat.org/webservices/kb/rest/collections/erudit.journalsFR</link>
            <name>AIP Journals (Full Archive)</name>
            <provider>American Institute of Physics</provider>
          </collection>
        </collections>
        <terms>
          <term>
            <type>Interlibrary_Loan</type>
            <termValue>true</termValue>
            <subTerms>
              <subTerm>
                <subTermName>Additional Rights and Restrictions</subTermName>
                <options>
                  <option>
                    <name>Same Country Only</name>
                    <value>true</value>
                  </option>
                  <option>
                    <name>Non-Profit Only</name>
                    <value>true</value>
                  </option>
                </options>
              </subTerm>
              <subTerm>
                <subTermName>Methods Supported</subTermName>
                <options>
                  <option>
                    <name>Print or Fax</name>
                    <value>false</value>
                  </option>
                  <option>
                    <name>Secure Electronic (e.g. Ariel, Odyssey)</name>
                    <value>true</value>
                  </option>
                  <option>
                    <name>Electronic Copy</name>
                    <value>false</value>
                  </option>
                </options>
              </subTerm>
            </subTerms>
          </term>
        </terms>
        <documents>
          <document>
            <dateCreated>2011-09-26T14:25:41Z</dateCreated>
            <fileName>http://scitation.aip.org/jhtml/scitation/pp_uses.jsp</fileName>
            <url>unknown</url>
          </document>
        </documents>
      </licenseTemplate>
    </content>
    <gd:etag>dbc2988f490bccc2e74379a4b92d2d96</gd:etag>
  </entry>
  ...
</feed>

JSON Response:

{
   "id":"info:OCLC/Platform/Service",
   "title":"OCLC Platform Service Results",
   "updated":"2012-08-07T14:35:38.864Z",
   "links":[
      {
         "href":"http://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates?inst=128807&principalID=8eaa9f92-3951-431c-975a-d7df26b8d131&principalIDNS=urn:oclc:wms:da",
         "rel":"self"
      }
   ],
   "entries":[
      {
         "id":"http://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates/1bbc2b3c-1b1a-4370-b9e2-2da61bb43db9",
         "title":"American Institute of Physics Permitted and Prohibited Uses",
         "content":{
            "href":"http://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates/1bbc2b3c-1b1a-4370-b9e2-2da61bb43db9",
            "name":"American Institute of Physics Permitted and Prohibited Uses",
            "id":"1bbc2b3c-1b1a-4370-b9e2-2da61bb43db9",
            "description":null,
            "createdBy":{
               "name":"ALIAS",
               "id":null,
               "etag":"40036b615a598b3fcc9c49fb2a41cd80"
            },
            "licensor":{
               "href":"https://vic.sd00.worldcat.org/vendors/925633ca-7c22-4c80-a268-aeca57ebfb52",
               "name":"American Institute of Physics",
               "id":"925633ca-7c22-4c80-a268-aeca57ebfb52",
               "etag":"90bfa76824f73848c9aac3435719e996"
            },
            "collections":{
               "collectionWrappers":[
                  {
                     "name":"Scitation",
                     "id":"aip.ojps",
                     "provider":"American Institute of Physics",
                     "link":"http://worldcat.org/webservices/kb/rest/collections/erudit.journalsFR"
                  },
                  {
                     "name":"AIP Journals (Full Archive)",
                     "id":"aip.journals",
                     "provider":"American Institute of Physics",
                     "link":"http://worldcat.org/webservices/kb/rest/collections/erudit.journalsFR"
                  },
                  {
                     "name":"AIP Journals (Current Subscriptions)",
                     "id":"aip.current",
                     "provider":"American Institute of Physics",
                     "link":"http://worldcat.org/webservices/kb/rest/collections/erudit.journalsFR"
                  }
               ]
            },
            "active":"false",
            "dateCreated":"2011-05-19T13:42:49Z",
            "terms":{
               "terms":[
                  {
                     "subTerms":{
                        "subterms":[
                           {
                              "options":{
                                 "option":[
                                    {
                                       "name":"Electronic Copy",
                                       "value":"false",
                                       "etag":"d3e38760efbbaf24082ab42891525016"
                                    },
                                    {
                                       "name":"Secure Electronic (e.g. Ariel, Odyssey)",
                                       "value":"true",
                                       "etag":"46cec3a70890d6d499384ae807ecc30c"
                                    },
                                    {
                                       "name":"Print or Fax",
                                       "value":"false",
                                       "etag":"e89a5f98b14405ebaaa88287538e148c"
                                    }
                                 ]
                              },
                              "subTermName":"Methods Supported"
                           },
                           {
                              "options":{
                                 "option":[
                                    {
                                       "name":"Same Country Only",
                                       "value":"true",
                                       "etag":"82e705b9f4aaf78fada0ac3ce03e0563"
                                    },
                                    {
                                       "name":"Non-Profit Only",
                                       "value":"true",
                                       "etag":"b5487a760785d2e21b60593ef0bbf2a1"
                                    }
                                 ]
                              },
                              "subTermName":"Additional Rights and Restrictions"
                           }
                        ],
                        "etag":"3930d88af77e537c91d79536a72b8e9d"
                     },
                     "type":"Interlibrary_Loan",
                     "notes":null,
                     "termValue":"true",
                     "etag":"763e93674bf5eee657e64724291beaea"
                  }
               ],
               "etag":"769eea76377b829ef54261409ecb294a"
            },
            "comments":null,
            "documents":{
               "fileWrappers":[
                  {
                     "fileName":"http://scitation.aip.org/jhtml/scitation/pp_uses.jsp",
                     "url":"unknown",
                     "dateCreated":"2011-09-26T14:25:41Z"
                  }
               ],
               "etag":"302c07036170d0d3c00d62b881cd2a61"
            },
            "etag":"27e4e9c70647933b7c19cf16e343abc1"
         },
         "updated":"2012-08-07T14:35:38.867Z",
         "links":[
            {
               "href":"http://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates/1bbc2b3c-1b1a-4370-b9e2-2da61bb43db9",
               "rel":"self",
               "type":"application/atom+xml"
            }
         ],
         "extensions":[
            {
               "name":"gd:etag",
               "attributes":{
                  "xmlns:gd":"http://schemas.google.com/g/2005"
               },
               "children":[
                  "27e4e9c70647933b7c19cf16e343abc1"
               ]
            }
         ]
      },
      ...
   ],
   "extensions":[
      {
         "name":"os:totalResults",
         "attributes":{
            "xmlns:os":"http://a9.com/-/spec/opensearch/1.1/"
         },
         "children":[
            "10"
         ]
      },
      {
         "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"
         ]
      }
   ]
}

GET a license template by ID:

Request:

https://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates/1bbc2b3c-1b1a-4370-b9e2-2da61bb43db9

Response:

<entry xmlns:gd="http://schemas.google.com/g/2005">
    <title type="text">American Institute of Physics Permitted and Prohibited Uses</title>
    <id>http://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates/1bbc2b3c-1b1a-4370-b9e2-2da61bb43db9</id>
    <link href="http://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates/1bbc2b3c-1b1a-4370-b9e2-2da61bb43db9" rel="self" type="application/atom+xml" />
    <updated>2012-08-07T14:30:37.081Z</updated>
    <content type="application/xml">
      <licenseTemplate xmlns="http://worldcat.org/xmlschemas/LicenseManager" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://worldcat.org/xmlschemas/LicenseManager http://worldcat.org/xmlschemas/LicenseManager/1.1/LicenseManager-1.1-licenseTemplate.xsd">
        <id>1bbc2b3c-1b1a-4370-b9e2-2da61bb43db9</id>
        <name>American Institute of Physics Permitted and Prohibited Uses</name>
        <active>false</active>
        <dateCreated>2011-05-19T13:42:49Z</dateCreated>
        <createdBy>
          <name>ALIAS</name>
        </createdBy>
        <licensor href="https://vic.sd00.worldcat.org/vendors/925633ca-7c22-4c80-a268-aeca57ebfb52">
          <id>925633ca-7c22-4c80-a268-aeca57ebfb52</id>
          <name>American Institute of Physics</name>
        </licensor>
        <collections>
          <collection>
            <id>aip.ojps</id>
            <link>http://worldcat.org/webservices/kb/rest/collections/erudit.journalsFR</link>
            <name>Scitation</name>
            <provider>American Institute of Physics</provider>
          </collection>
          <collection>
            <id>aip.current</id>
            <link>http://worldcat.org/webservices/kb/rest/collections/erudit.journalsFR</link>
            <name>AIP Journals (Current Subscriptions)</name>
            <provider>American Institute of Physics</provider>
          </collection>
          <collection>
            <id>aip.journals</id>
            <link>http://worldcat.org/webservices/kb/rest/collections/erudit.journalsFR</link>
            <name>AIP Journals (Full Archive)</name>
            <provider>American Institute of Physics</provider>
          </collection>
        </collections>
        <terms>
          <term>
            <type>Interlibrary_Loan</type>
            <termValue>true</termValue>
            <subTerms>
              <subTerm>
                <subTermName>Additional Rights and Restrictions</subTermName>
                <options>
                  <option>
                    <name>Same Country Only</name>
                    <value>true</value>
                  </option>
                  <option>
                    <name>Non-Profit Only</name>
                    <value>true</value>
                  </option>
                </options>
              </subTerm>
              <subTerm>
                <subTermName>Methods Supported</subTermName>
                <options>
                  <option>
                    <name>Print or Fax</name>
                    <value>false</value>
                  </option>
                  <option>
                    <name>Secure Electronic (e.g. Ariel, Odyssey)</name>
                    <value>true</value>
                  </option>
                  <option>
                    <name>Electronic Copy</name>
                    <value>false</value>
                  </option>
                </options>
              </subTerm>
            </subTerms>
          </term>
        </terms>
        <documents>
          <document>
            <dateCreated>2011-09-26T14:25:41Z</dateCreated>
            <fileName>http://scitation.aip.org/jhtml/scitation/pp_uses.jsp</fileName>
            <url>unknown</url>
          </document>
        </documents>
      </licenseTemplate>
    </content>
    <gd:etag>dbc2988f490bccc2e74379a4b92d2d96</gd:etag>
  </entry>

POST a license template

Request:

https://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates

POST Body:

<entry xmlns="http://www.w3.org/2005/Atom">
  <content type="application/xml">
    <licenseTemplate xmlns="http://worldcat.org/xmlschemas/LicenseManager">
      <id>5a62d3be-4333-4412-b2cc-c445627a0e44</id>
      <name>License Template NEW</name>
      <dateCreated>02/14/2011 23:42:14</dateCreated>
      <createdBy>
        <name>LGB LOAD</name>
        <institutionId>91475</institutionId>
      </createdBy>
      <licensor>
        <id>e6a591c8-d89a-4d73-9a2b-be4da7d0637b</id>
        <name>SciELO</name>
      </licensor>
      <collections>
        <collection>
          <id>openly.jsCate.scielo</id>
          <name>openly.jsCate.scielo</name>
          <link>http://worldcat.org/webservices/kb/rest/collections/openly.jsCate.scielo</link>
          <provider>scielo</provider>
        </collection>
      </collections>
      <terms>
        <term>
          <type>Licensor_Indemnity</type>
          <termValue>yes</termValue>
          <subTerms>
            <subTerm>
              <subTermName>Indemnification_Clause</subTermName>
              <options>
                <option>
                  <name>Note</name>
                  <value/>
                </option>
              </options>
            </subTerm>
            <subTerm>
              <subTermName>Indemnity_Type</subTermName>
              <options>
                <option>
                  <name>Other</name>
                  <value>true</value>
                </option>
                <option>
                  <name>Intellectual_Property</name>
                  <value>false</value>
                </option>
                <option>
                  <name>General</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
          </subTerms>
        </term>
        <term>
          <type>Interlibrary_Loan</type>
          <termValue>1</termValue>
          <subTerms>
            <subTerm>
              <subTermName>Methods_Supported</subTermName>
              <options>
                <option>
                  <name>Electronic_Copy</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Secure_Electronic</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Print_or_Fax</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
            <subTerm>
              <subTermName>Additional_Rights_and_Restrictions</subTermName>
              <options>
                <option>
                  <name>Same_Country_Only</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Non-Profit_Only</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
          </subTerms>
        </term>
      </terms>
      <documents>
        <document>
          <id>70635605-b52c-4052-92e1-65b9c000ba9a</id>
          <dateCreated>05/23/2012 19:20:08</dateCreated>
          <fileName>HORSE TRAILER BILL OF SALE.docx</fileName>
          <url>unknown</url>
          <description>HORSE TRAILER BILL OF SALE.docx</description>
          <notes/>
          <includesSignature>false</includesSignature>
        </document>
        <document>
          <id>78cb9c32-3da3-4b16-bf86-2250d3cf926e</id>
          <dateCreated>05/23/2012 13:38:49</dateCreated>
          <fileName>http://www.cnn.com</fileName>
          <url>unknown</url>
          <description>http://www.cnn.com</description>
          <notes/>
          <includesSignature>false</includesSignature>
        </document>
        <document>
          <id>951405fb-4800-46eb-9b68-d5eed738cee9</id>
          <dateCreated>05/24/2012 18:49:32</dateCreated>
          <fileName>Short Wavy Haircuts.docx</fileName>
          <url>unknown</url>
          <description>Short Wavy Haircuts.docx</description>
          <notes/>
          <includesSignature>false</includesSignature>
        </document>
      </documents>
    </licenseTemplate>
  </content>
</entry>

Response:

<entry xmlns="http://www.w3.org/2005/Atom">
  <title type="text">License Template NEW</title>
  <id>https://beta-lman.sd00.worldcat.org/licenseTemplates/178348ff-6afd-4c6b-beb1-e83d5cb4c7d5</id>
  <link href="https://beta-lman.sd00.worldcat.org/licenseTemplates/178348ff-6afd-4c6b-beb1-e83d5cb4c7d5" rel="self" type="application/atom+xml" />
  <updated>2012-10-31T13:30:21.995Z</updated>
  <content type="application/xml">
    <licenseTemplate xmlns="http://worldcat.org/xmlschemas/LicenseManager" xmlns:ns2="http://worldcat.org/xmlschemas/LicenseManager" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://worldcat.org/xmlschemas/LicenseManager http://svn.dev.oclc.org/svn/XMLSchemas/LicenseManager/trunk/src/main/schemas/LicenseTemplate.xsd">
      <id>178348ff-6afd-4c6b-beb1-e83d5cb4c7d5</id>
      <name>License Template NEW</name>
      <active>false</active>
      <dateCreated>10/31/2012 13:30:18</dateCreated>
      <createdBy>
        <id>56d4d714-8162-4855-a8bf-9e2f5011f93f</id>
        <institutionId>128807</institutionId>
      </createdBy>
      <licensor>
        <id>e6a591c8-d89a-4d73-9a2b-be4da7d0637b</id>
        <name>SciELO</name>
      </licensor>
      <collections>
        <collection>
          <id>openly.jsCate.scielo</id>
          <name>openly.jsCate.scielo</name>
          <link>http://worldcat.org/webservices/kb/rest/collections/openly.jsCate.scielo</link>
          <provider>scielo</provider>
        </collection>
      </collections>
      <terms>
        <term>
          <type>Licensor_Indemnity</type>
          <termValue>yes</termValue>
          <subTerms>
            <subTerm>
              <subTermName>Indemnity_Type</subTermName>
              <options>
                <option>
                  <name>Other</name>
                  <value>true</value>
                </option>
                <option>
                  <name>Intellectual_Property</name>
                  <value>false</value>
                </option>
                <option>
                  <name>General</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
            <subTerm>
              <subTermName>Indemnification_Clause</subTermName>
              <options>
                <option>
                  <name>Note</name>
                  <value />
                </option>
              </options>
            </subTerm>
          </subTerms>
        </term>
        <term>
          <type>Interlibrary_Loan</type>
          <termValue>1</termValue>
          <subTerms>
            <subTerm>
              <subTermName>Additional_Rights_and_Restrictions</subTermName>
              <options>
                <option>
                  <name>Same_Country_Only</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Non-Profit_Only</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
            <subTerm>
              <subTermName>Methods_Supported</subTermName>
              <options>
                <option>
                  <name>Electronic_Copy</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Secure_Electronic</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Print_or_Fax</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
          </subTerms>
        </term>
      </terms>
      <documents>
        <document>
          <id>43fff905-0f8d-4de6-831c-c7f310f12b0f</id>
          <dateCreated>10/31/2012 13:30:18</dateCreated>
          <fileName>Short Wavy Haircuts.docx</fileName>
          <url>unknown</url>
          <description>Short Wavy Haircuts.docx</description>
          <notes />
          <includesSignature>false</includesSignature>
        </document>
        <document>
          <id>23c3a781-c5b2-4fc2-b137-7ae01629cf01</id>
          <dateCreated>10/31/2012 13:30:18</dateCreated>
          <fileName>http://www.cnn.com</fileName>
          <url>unknown</url>
          <description>http://www.cnn.com</description>
          <notes />
          <includesSignature>false</includesSignature>
        </document>
        <document>
          <id>45dc83d7-4ab3-4675-8d3a-421bf260434a</id>
          <dateCreated>10/31/2012 13:30:18</dateCreated>
          <fileName>HORSE TRAILER BILL OF SALE.docx</fileName>
          <url>unknown</url>
          <description>HORSE TRAILER BILL OF SALE.docx</description>
          <notes />
          <includesSignature>false</includesSignature>
        </document>
      </documents>
    </licenseTemplate>
  </content>
</entry>

PUT a license template

Request:

https://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates/178348ff-6afd-4c6b-beb1-e83d5cb4c7d5

POST Body:

<entry xmlns="http://www.w3.org/2005/Atom">
  <title type="text">License Template NEW</title>
  <id>https://beta-lman.sd00.worldcat.org/licenseTemplates/178348ff-6afd-4c6b-beb1-e83d5cb4c7d5</id>
  <link href="https://beta-lman.sd00.worldcat.org/licenseTemplates/178348ff-6afd-4c6b-beb1-e83d5cb4c7d5" rel="self" type="application/atom+xml" />
  <updated>2012-10-31T13:33:03.282Z</updated>
  <content type="application/xml">
    <licenseTemplate xmlns="http://worldcat.org/xmlschemas/LicenseManager" xmlns:ns2="http://worldcat.org/xmlschemas/LicenseManager" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://worldcat.org/xmlschemas/LicenseManager http://svn.dev.oclc.org/svn/XMLSchemas/LicenseManager/trunk/src/main/schemas/LicenseTemplate.xsd">
      <id>178348ff-6afd-4c6b-beb1-e83d5cb4c7d5</id>
      <name>License Template NEW</name>
      <description>Changing Description to Test Update</description>
      <active>false</active>
      <dateCreated>10/31/2012 00:00:00</dateCreated>
      <createdBy>
        <id>56d4d714-8162-4855-a8bf-9e2f5011f93f</id>
        <name>COP Admin</name>
        <institutionId>128807</institutionId>
      </createdBy>
      <licensor>
        <id>e6a591c8-d89a-4d73-9a2b-be4da7d0637b</id>
        <name>SciELO</name>
      </licensor>
      <collections>
        <collection>
          <id>openly.jsCate.scielo</id>
          <name>openly.jsCate.scielo</name>
          <link>http://worldcat.org/webservices/kb/rest/collections/openly.jsCate.scielo</link>
          <provider>scielo</provider>
        </collection>
      </collections>
      <terms>
        <term>
          <type>Licensor_Indemnity</type>
          <termValue>yes</termValue>
          <subTerms>
            <subTerm>
              <subTermName>Indemnity_Type</subTermName>
              <options>
                <option>
                  <name>Other</name>
                  <value>true</value>
                </option>
                <option>
                  <name>Intellectual_Property</name>
                  <value>false</value>
                </option>
                <option>
                  <name>General</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
            <subTerm>
              <subTermName>Indemnification_Clause</subTermName>
              <options>
                <option>
                  <name>Note</name>
                  <value />
                </option>
              </options>
            </subTerm>
          </subTerms>
        </term>
        <term>
          <type>Interlibrary_Loan</type>
          <termValue>1</termValue>
          <subTerms>
            <subTerm>
              <subTermName>Additional_Rights_and_Restrictions</subTermName>
              <options>
                <option>
                  <name>Same_Country_Only</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Non-Profit_Only</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
            <subTerm>
              <subTermName>Methods_Supported</subTermName>
              <options>
                <option>
                  <name>Electronic_Copy</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Secure_Electronic</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Print_or_Fax</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
          </subTerms>
        </term>
      </terms>
      <documents>
        <document>
          <id>c79ba1e1-5145-4463-b21a-dec3003b4e08</id>
          <dateCreated>10/31/2012 13:30:18</dateCreated>
          <fileName>http://www.cnn.com</fileName>
          <url>unknown</url>
          <description>http://www.cnn.com</description>
          <notes />
          <includesSignature>false</includesSignature>
        </document>
        <document>
          <id>157d94ec-1fe5-4bf7-acaa-28ab757cf98a</id>
          <dateCreated>10/31/2012 13:30:18</dateCreated>
          <fileName>HORSE TRAILER BILL OF SALE.docx</fileName>
          <url>unknown</url>
          <description>HORSE TRAILER BILL OF SALE.docx</description>
          <notes />
          <includesSignature>false</includesSignature>
        </document>
        <document>
          <id>2ade2939-8c10-46ee-8efb-a31786b5941e</id>
          <dateCreated>10/31/2012 13:30:18</dateCreated>
          <fileName>Short Wavy Haircuts.docx</fileName>
          <url>unknown</url>
          <description>Short Wavy Haircuts.docx</description>
          <notes />
          <includesSignature>false</includesSignature>
        </document>
      </documents>
    </licenseTemplate>
  </content>
</entry>

Response:

<entry xmlns="http://www.w3.org/2005/Atom">
  <title type="text">License Template NEW</title>
  <id>https://beta-lman.sd00.worldcat.org/licenseTemplates/178348ff-6afd-4c6b-beb1-e83d5cb4c7d5</id>
  <link href="https://beta-lman.sd00.worldcat.org/licenseTemplates/178348ff-6afd-4c6b-beb1-e83d5cb4c7d5" rel="self" type="application/atom+xml" />
  <updated>2012-10-31T13:33:03.282Z</updated>
  <content type="application/xml">
    <licenseTemplate xmlns="http://worldcat.org/xmlschemas/LicenseManager" xmlns:ns2="http://worldcat.org/xmlschemas/LicenseManager" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://worldcat.org/xmlschemas/LicenseManager http://svn.dev.oclc.org/svn/XMLSchemas/LicenseManager/trunk/src/main/schemas/LicenseTemplate.xsd">
      <id>178348ff-6afd-4c6b-beb1-e83d5cb4c7d5</id>
      <name>License Template NEW</name>
      <description>Changing Description to Test Update</description>
      <active>false</active>
      <dateCreated>10/31/2012 00:00:00</dateCreated>
      <createdBy>
        <id>56d4d714-8162-4855-a8bf-9e2f5011f93f</id>
        <name>COP Admin</name>
        <institutionId>128807</institutionId>
      </createdBy>
      <licensor>
        <id>e6a591c8-d89a-4d73-9a2b-be4da7d0637b</id>
        <name>SciELO</name>
      </licensor>
      <collections>
        <collection>
          <id>openly.jsCate.scielo</id>
          <name>openly.jsCate.scielo</name>
          <link>http://worldcat.org/webservices/kb/rest/collections/openly.jsCate.scielo</link>
          <provider>scielo</provider>
        </collection>
      </collections>
      <terms>
        <term>
          <type>Licensor_Indemnity</type>
          <termValue>yes</termValue>
          <subTerms>
            <subTerm>
              <subTermName>Indemnity_Type</subTermName>
              <options>
                <option>
                  <name>Other</name>
                  <value>true</value>
                </option>
                <option>
                  <name>Intellectual_Property</name>
                  <value>false</value>
                </option>
                <option>
                  <name>General</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
            <subTerm>
              <subTermName>Indemnification_Clause</subTermName>
              <options>
                <option>
                  <name>Note</name>
                  <value />
                </option>
              </options>
            </subTerm>
          </subTerms>
        </term>
        <term>
          <type>Interlibrary_Loan</type>
          <termValue>1</termValue>
          <subTerms>
            <subTerm>
              <subTermName>Additional_Rights_and_Restrictions</subTermName>
              <options>
                <option>
                  <name>Same_Country_Only</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Non-Profit_Only</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
            <subTerm>
              <subTermName>Methods_Supported</subTermName>
              <options>
                <option>
                  <name>Electronic_Copy</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Secure_Electronic</name>
                  <value>false</value>
                </option>
                <option>
                  <name>Print_or_Fax</name>
                  <value>false</value>
                </option>
              </options>
            </subTerm>
          </subTerms>
        </term>
      </terms>
      <documents>
        <document>
          <id>c79ba1e1-5145-4463-b21a-dec3003b4e08</id>
          <dateCreated>10/31/2012 13:30:18</dateCreated>
          <fileName>http://www.cnn.com</fileName>
          <url>unknown</url>
          <description>http://www.cnn.com</description>
          <notes />
          <includesSignature>false</includesSignature>
        </document>
        <document>
          <id>157d94ec-1fe5-4bf7-acaa-28ab757cf98a</id>
          <dateCreated>10/31/2012 13:30:18</dateCreated>
          <fileName>HORSE TRAILER BILL OF SALE.docx</fileName>
          <url>unknown</url>
          <description>HORSE TRAILER BILL OF SALE.docx</description>
          <notes />
          <includesSignature>false</includesSignature>
        </document>
        <document>
          <id>2ade2939-8c10-46ee-8efb-a31786b5941e</id>
          <dateCreated>10/31/2012 13:30:18</dateCreated>
          <fileName>Short Wavy Haircuts.docx</fileName>
          <url>unknown</url>
          <description>Short Wavy Haircuts.docx</description>
          <notes />
          <includesSignature>false</includesSignature>
        </document>
      </documents>
    </licenseTemplate>
  </content>
</entry>

DELETE a license template by ID

Request:

https://beta-lman.sd00.worldcat.org/license-manager/licenseTemplates/178348ff-6afd-4c6b-beb1-e83d5cb4c7d5

Response:

Empty 200 Response

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