Difference between revisions of "XML:TitleRemove"

From ISFDB
Jump to navigation Jump to search
(Updated the Web API documentation to reflect changes to Remove Title)
 
Line 8: Line 8:
  
 
* '''Record''' - Specifies which publication record to update.
 
* '''Record''' - Specifies which publication record to update.
* '''TitleRecord''' - Specifies the value of column "pubc_id" in the table "pub_content" for the title record to be removed.  Note that this is NOT the value of the field "title_id" in the table "titles". Multiple TitleRecord tags may be submitted to remove multiple titles from the same publication.
+
* '''TitleRecord''' - Specifies the value of the field "pubc_id" in table "pub_content" for the title record to be removed.  Note that this is NOT the value of the field "title_id" in the table "titles". Multiple TitleRecord tags may be submitted to remove multiple titles from the same publication.
  
 
==Example==
 
==Example==

Latest revision as of 19:43, 24 January 2010

Introduction

The TitleRemove submission removes one or more titles from a publication.

Required Tags

The submission contains two required tags:

  • Record - Specifies which publication record to update.
  • TitleRecord - Specifies the value of the field "pubc_id" in table "pub_content" for the title record to be removed. Note that this is NOT the value of the field "title_id" in the table "titles". Multiple TitleRecord tags may be submitted to remove multiple titles from the same publication.

Example

  <?xml version="1.0" encoding="iso-8859-1" ?>
  <IsfdbSubmission>
    <TitleRemove>
      <Subject>Year’s Best Fantasy 4</Subject>
      <Submitter>CoachPaul</Submitter>
      <Record>117691</Record>
      <TitleRecord>309491</TitleRecord>
    </TitleRemove>
  </IsfdbSubmission>