POST /api/.../workflow
This method allows the caller to delete a serial holdings record.
Name | Type | Required | Description |
---|---|---|---|
WorkflowRequest | DtoWorkflowRequest | Yes | Define this parameter in the request body. |
Property | Type | Nullable | Description |
---|---|---|---|
WorkflowRequestType | Int | No | Required. For delete serial holdings record, this must be set to 31. |
TxnBranchID | Int | No | Transacting branch ID. This should represent where the request originated from. Typically the same as the logged on branch, but in the case of offline processing it would be the branch that was logged into during offline processing. |
TxnUserID | Int | No | Transacting Polaris user ID. This should represent who originally created this request. Typically the same as the logged on user, but in the case of offline processing it would be the user that was logged on during offline processing. |
TxnWorkstationID | Int | No | Transacting workstation ID. This should represent where the request originated from. Typically the same as the logged on workstation, but in the case of offline processing it would be the workstation that was logged into during offline processing. |
RequestExtension | DtoWorkflowRequestExtension | No | To delete serial holdings record requires a DtoWorkflowRequestExtension that contains a DtoDeleteSHRExtensionData 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 | To delete serial holdings record, the extension type must be a 28 (DeleteSHRExtensionData). |
Data | Object | No | This must be an extension data object of type DtoDeleteSHRExtensionData |
Property | Type | Nullable | Required | Description |
---|---|---|---|---|
CopyID | Int | No | Yes | ID of serial holdings record to delete. |
{
"WorkflowRequestType":31,
"TxnBranchID":"3",
"TxnUserID":"1",
"TxnWorkstationID":"1237",
"WorkflowReplies":null,
"RequestExtension":
{
"WorkflowRequestExtensionType":28,
"Data":{
"CopyID":255
}
}
}
{
"WorkflowRequestGuid":"9c1657fc-ddb5-4372-8fe4-d56576bde887",
"WorkflowRequestType":31,
"WorkflowStatus":1,
"Prompt":null,
"InformationMessages":
[
{
"Type":1,
"Title":"",
"Message":"The record was deleted successfully."
}
],
"AnswerExtension":null,
"CircTranType":0,
"ReceiptType":0,
"ReceiptUrl":"",
"FineEReceiptSent":false
}
{
"WorkflowRequestGuid":"9c1657fc-ddb5-4372-8fe4-d56576bde887",
"WorkflowRequestType":31,
"WorkflowStatus":-3,
"Prompt":
{
"WorkflowPromptID":123,
"Name":null,"Description":null,
"WorkflowPromptType":1,
"WorkflowPromptOptions":6,
"DefaultPromptOption":4,
"Title":"Linked Issues/Parts",
"Message":"There are one or more issues/parts with a status of 'Never Published', 'Not Available'.
Do you still want to continue deleting this serial holdings record?",
"AlternateMessage":"",
"AlternateYesText":"",
"AlternateNoText":"",
"AlternateCancelText":"",
"AlternateContinueText":"",
"PromptExtension":null
},
"InformationMessages":[],
"AnswerExtension":null,
"CircTranType":0,
"ReceiptType":0,
"ReceiptUrl":"",
"FineEReceiptSent":false
}
PUT /api/.../workflow/9c1657fc-ddb5-4372-8fe4-d56576bde887
{
"WorkflowPromptID":123,
"WorkflowPromptResult":5,
"ReplyValue":null,
"ReplyExtension":null
}
{
"WorkflowRequestGuid":"d172a5d0-ac5e-47bf-8714-74cfbc4acac4",
"WorkflowRequestType":31,
"WorkflowStatus":-3,
"Prompt":
{
"WorkflowPromptID":66,
"Name":null,"Description":null,
"WorkflowPromptType":1,
"WorkflowPromptOptions":8,
"DefaultPromptOption":1,
"Title":"Linked Issues/Parts",
"Message":"There are 'received' issue or part records linked to this serial holdings record. The delete operation failed.",
"AlternateMessage":"",
"AlternateYesText":"",
"AlternateNoText":"",
"AlternateCancelText":"",
"AlternateContinueText":"",
"PromptExtension":null
},
"InformationMessages":[],
"AnswerExtension":null,
"CircTranType":0,
"ReceiptType":0,
"ReceiptUrl":"",
"FineEReceiptSent":false
}
Code | Description |
---|---|
200 | OK. Success |
403 | Not permitted. |
Permission IDs found here.
CR_SerialCopyRecords_Delete (DestinationOrgID)