Undelete Bibliographic Record

Start Undelete Bibliographic Record Process

POST /api/.../workflow

This method allows the caller to undelete a bibliographic record that has a 'deleted' record status.

A successful undelete call will return the updated record status, modification date and display in PAC bit.

Request Information

Parameters
Name Type Required Description
WorkflowRequest DtoWorkflowRequest Yes Define this parameter in the request body.
DtoWorkflowRequest
Property Type Nullable Description
WorkflowRequestType Int No Required. For an undelete bib record request, this must be set to 15 (UndeleteBibRecord).
TxnBranchID Int No Transacting branch ID. This should represent where the request originated from. Typically the same as the logged on branch.
TxnUserID Int No Transacting Polaris user ID. This should represent who originally created this request. Typically the same as the logged on user.
TxnWorkstationID Int No Transacting workstation ID. This should represent where the request originated from. Typically the same as the logged on workstation.
RequestExtension DtoWorkflowRequestExtension No An undelete bib record request requires a DtoWorkflowRequestExtension that contains a bibliographic record ID.
WorkflowReplies List of DtoWorkflowReply Yes It is possible to pass in a list of replies for automated processing.
DtoWorkflowRequestExtension
Property Type Nullable Description
WorkflowRequestExtensionType Int No For an undelete bib record, the extension type must be 5 (RecordIdData).
Data Object No This must be an extension data object of type RecordID.
Request body
application/json, text/json
{
    "WorkflowRequestType":15,
    "TxnBranchID":"3",
    "TxnUserID":"1",
    "TxnWorkstationID":"15",
    "RequestExtension":{
        "WorkflowRequestExtensionType":5,
        "Data":{
            "RecordID":737278
        }
    },
    "WorkflowReplies":null
}

Response Information

Example: DtoWorkflowAnswer - Undelete bib record successful
application/json, text/json
{
  "WorkflowRequestGuid": "00000000-0000-0000-0000-000000000000",
  "WorkflowRequestType": 15,
  "WorkflowStatus": 1,
  "Prompt": null,
  "InformationMessages": [
    {
      "Type": 3,
      "Title": "Re-establish links",
      "Message": "The record status has been changed to Final. Make sure to re-establish any necessary links."
    },
    {
      "Type": 1,
      "Title": "",
      "Message": "The record was undeleted successfully."
    }
  ],
  "AnswerExtension": {
    "WorkflowAnswerExtensionType": 7,
    "Data": {
      "RecordID": 1113017,
      "RecordStatusID": 1,
      "ModifierID": 1,
      "ModifierName": "PolarisExec",
      "ModificationDate": "2017-03-03T14:09:12-05:00",
      "DisplayInPAC": true
    }
  },
  "CircTranType": 0,
  "ReceiptType": 0,
  "ReceiptUrl": "",
  "FineEReceiptSent": false
}

HTTP Response Codes

Code Description
200 OK. Success

Required Permissions

Permission IDs found here.

    CR_AccessCatalogingSubsystem_Allow
    CR_BibliographicRecords_Delete