Undelete Authority Record

Start Undelete Authority Record Process

POST /api/.../workflow

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

A successful undelete call will return the updated record status and modification date.

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 authority record request, this must be set to 14 (UndeleteAuthorityRecord).
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 authority record request requires a DtoWorkflowRequestExtension that contains an authority 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":14,
    "TxnBranchID":"3",
    "TxnUserID":"1",
    "TxnWorkstationID":"15",
    "RequestExtension":{
        "WorkflowRequestExtensionType":5,
        "Data":{
            "RecordID":447295
        }
    },
    "WorkflowReplies":null
}

Response Information

Example: DtoWorkflowAnswer - Undelete authority record successful
application/json, text/json
{
  "WorkflowRequestGuid": "00000000-0000-0000-0000-000000000000",
  "WorkflowRequestType": 14,
  "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": 890483,
      "RecordStatusID": 1,
      "ModifierID": 1,
      "ModifierName": "PolarisExec",
      "ModificationDate": "2017-03-03T14:06:57.38-05:00",
      "DisplayInPAC": null
    }
  },
  "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_AuthorityRecords_Delete