POST /api/.../workflow
This method allows the caller to update an existing bibliographic record's 'Display in PAC', 'Do not overlay' and 'Owner' columns.
The API will load the existing bib record and update .
Name | Type | Required | Description |
---|---|---|---|
WorkflowRequest | DtoWorkflowRequest | Yes | Define this parameter in the request body. |
Property | Type | Nullable | Description |
---|---|---|---|
WorkflowRequestType | Int | No | Required. For update bib record, this must be set to 9. |
TxnBranchID | Int | No | Transacting branch ID. |
TxnUserID | Int | No | Transacting Polaris user ID. |
TxnWorkstationID | Int | No | Transacting workstation ID. |
RequestExtension | DtoWorkflowRequestExtension | No | An update bib record request requires a DtoUpdateBibRecordExtensionData object. |
WorkflowReplies | List of DtoWorkflowReply | Yes | It is possible to pass in a list of replies for automated processing. |
Property | Type | Nullable | Description |
---|---|---|---|
WorkflowRequestExtensionType | Int | No | For an update bib record request, the extension type must be a 7 (UpdateBibRecordData). |
Data | Object | No | This must be an extension data object of type DtoUpdateBibRecordExtensionData |
Property | Type | Nullable | Required | Description |
---|---|---|---|---|
IsNew | Boolean | No | No | Is this a new bib record? Default: false |
BibRecordID | Int | No | Yes | Bibliographic record ID to update. |
DisplayInPAC | Boolean | No | No | |
DoNotOverlay | Boolean | No | No | |
RecordOwnerID | Int | No | No |
{
"WorkflowRequestType": 9,
"TxnBranchID": 3,
"TxnUserID": 1,
"TxnWorkstationID": 1205,
"RequestExtension": {
"WorkflowRequestExtensionType": 7,
"Data": {
"BibRecordID": 241046,
"RecordOwnerID": 3
"DisplayInPAC": false,
"DoNotOverlay": true
}
},
"WorkflowReplies": null
}
{
"WorkflowRequestGuid":"00c1f31d-ac0a-417e-abe0-47502f70974d",
"WorkflowRequestType":9,
"WorkflowStatus":-3,
"Prompt":
{
"WorkflowPromptID":66,
"Name":null,
"Description":null,
"WorkflowPromptType":1,
"WorkflowPromptOptions":6,
"DefaultPromptOption":5,
"Title":"Update item record",
"Message":"This record will no longer display in the online catalog. Do you want to continue saving ?",
"AlternateYesText":"",
"AlternateNoText":"",
"AlternateCancelText":"",
"AlternateContinueText":"",
"PromptExtension":null},
"InformationMessages":[],
"AnswerExtension":null,
"CircTranType":0,
"ReceiptType":0,"ReceiptUrl":"",
"FineEReceiptSent":false
}
}
PUT /api/.../workflow/00c1f31d-ac0a-417e-abe0-47502f70974d
{
"WorkflowPromptID": 66,
"WorkflowPromptResult": 5,
"ReplyValue": null,
"ReplyExtension": null
}
{
"WorkflowRequestGuid": "00000000-0000-0000-0000-000000000000",
"WorkflowRequestType": 9,
"WorkflowStatus": 1,
"Prompt": null,
"InformationMessages": [
{
"Type": 1,
"Title": "",
"Message": "The bibliographic record has been updated."
}
],
"AnswerExtension": null,
"CircTranType": 0,
"ReceiptType": 0,
"ReceiptUrl": "",
"FineEReceiptSent": false
}
Code | Description |
---|---|
200 | OK. Success |
Permission IDs found here.
AccessCatalogingSubsystem_Allow BibliographicRecords_Access BibliographicRecords_Create: If owner branch is changed BibliographicRecords_Modify