curl --request POST \
--url http://localhost/api/api/preapprovedtransactions/rescreen-bulk \
--header 'Content-Type: application/json' \
--cookie sessionid= \
--data '
{
"client_transaction_id": "<string>",
"status": "on_hold",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"transaction_type": "<string>",
"amount": 123,
"transaction_currency": "<string>",
"payment_mode": "<string>",
"approved_on": "2023-11-07T05:31:56Z",
"approved_by": 123,
"assignee": 123,
"comment": "<string>"
}
'{
"id": 123,
"client_transaction_id": "<string>",
"cp_a": {
"client_subject_id": "<string>",
"subject_name": "<string>"
},
"cp_b": {
"client_subject_id": "<string>",
"subject_name": "<string>"
},
"name_screen_cpa": "<string>",
"name_screen_cpb": "<string>",
"has_related_case": "<string>",
"related_cases": "<string>",
"has_true_hit_cpa": "<string>",
"has_true_hit_cpb": "<string>",
"has_unmarked_hit_cpa": "<string>",
"has_unmarked_hit_cpb": "<string>",
"created_on": "2023-11-07T05:31:56Z",
"modified_on": "2023-11-07T05:31:56Z",
"status": "on_hold",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"transaction_type": "<string>",
"amount": 123,
"transaction_currency": "<string>",
"payment_mode": "<string>",
"approved_on": "2023-11-07T05:31:56Z",
"approved_by": 123,
"assignee": 123,
"comment": "<string>"
}Re-screen multiple pre-approved transactions in bulk.
This endpoint allows rescreening of transactions with status ‘not_screened’ or ‘on_hold’. Transactions with status ‘approved’, ‘rejected’, or ‘cleared’ cannot be rescreened as they are locked. Rescreening will reset each transaction’s status to ‘on_hold’ and re-trigger quickscan for both counterparties.
Request body:
Returns:
curl --request POST \
--url http://localhost/api/api/preapprovedtransactions/rescreen-bulk \
--header 'Content-Type: application/json' \
--cookie sessionid= \
--data '
{
"client_transaction_id": "<string>",
"status": "on_hold",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"transaction_type": "<string>",
"amount": 123,
"transaction_currency": "<string>",
"payment_mode": "<string>",
"approved_on": "2023-11-07T05:31:56Z",
"approved_by": 123,
"assignee": 123,
"comment": "<string>"
}
'{
"id": 123,
"client_transaction_id": "<string>",
"cp_a": {
"client_subject_id": "<string>",
"subject_name": "<string>"
},
"cp_b": {
"client_subject_id": "<string>",
"subject_name": "<string>"
},
"name_screen_cpa": "<string>",
"name_screen_cpb": "<string>",
"has_related_case": "<string>",
"related_cases": "<string>",
"has_true_hit_cpa": "<string>",
"has_true_hit_cpb": "<string>",
"has_unmarked_hit_cpa": "<string>",
"has_unmarked_hit_cpb": "<string>",
"created_on": "2023-11-07T05:31:56Z",
"modified_on": "2023-11-07T05:31:56Z",
"status": "on_hold",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"transaction_type": "<string>",
"amount": 123,
"transaction_currency": "<string>",
"payment_mode": "<string>",
"approved_on": "2023-11-07T05:31:56Z",
"approved_by": 123,
"assignee": 123,
"comment": "<string>"
}Serializer for PreApprovedTransaction model.
Client's transaction ID (unique identifier)
1 - 255Status of the pre-approval workflow
on_hold - on_holdapproved - approvedrejected - rejectednot_screened - not_screenedcleared - clearedon_hold, approved, rejected, not_screened, cleared 255Transaction currency code
1255User assigned to review this transaction
Review comment or decision rationale
Serializer for PreApprovedTransaction model.
NOTE: name_screen_cpa and name_screen_cpb are now queried dynamically via client_transaction_id (no longer FK fields). Maintains backward compatibility.
Client's transaction ID (unique identifier)
255Show child attributes
Show child attributes
Status of the pre-approval workflow
on_hold - on_holdapproved - approvedrejected - rejectednot_screened - not_screenedcleared - clearedon_hold, approved, rejected, not_screened, cleared 255Transaction currency code
255User assigned to review this transaction
Review comment or decision rationale