Requeue a title fact the outbox gave up delivering
Gives a title fact the outbox gave up delivering to the host (INVALID) a new event, with the same type, the same title and the same body, delivered the usual way. The action is recorded in the collections audit trail with its reason and the identity that made it, in the same transaction as the new event; a refusal records nothing.
The reissued fact has an id of its own, derived from the INVALID fact’s, and the host receives it under that id. INVALID does not prove that the host never received the fact: an earlier attempt can have delivered it and lost its outcome, and the host, which tells facts apart by their id, then receives the fact twice, under two ids, and so can the client, when the fact carries a customer notice. The INVALID event stays as it is. A fact is reissued once: a repeat is refused with 422 PBP-0802, and a reissued fact that also goes INVALID is requeued by its own id.
The requeue does not change what the fact carries. A body the delivery cannot read goes INVALID again at its delivery, and so does a fact the host refuses for good, such as the customer notice of OVERDUE, BLOCKED or UNBLOCKED it does not accept, because the refusal repeats.
The answer names the audit entry, with outcome ENQUEUED and targetState PENDING, the status of the reissued event.
Encabezados
Parámetros de ruta
Cuerpo
Respuesta
OK
What the action did.
RELEASE_WRITE_OFF, CANCEL_SCHEDULED_RELEASE, UNHOLD_WRITE_OFF, REVERSE_WRITE_OFF, REPROCESS_CREDIT_ENTRY, REPROCESS_PCR_COMMAND, CLOSE_PCR_COMMAND, SETTLE_SUBMISSION_FAILURE, ASSOCIATE_PCR_NOTICE, DISCARD_PCR_NOTICE, APPLY_PCR_NOTICE, WRITE_OFF_LATE_REGISTRATION, ENABLE_ACCOUNT, CREATE_ENABLEMENT_BATCH, APPROVE_ENABLEMENT, REJECT_ENABLEMENT, DISABLE_BENEFICIARY, CORRECT_AGREEMENT_DIVERGENCE, ADOPT_AGREEMENT_DIVERGENCE, BULK_ADOPT_AGREEMENT_DIVERGENCES, CREATE_AGREEMENT, UPDATE_AGREEMENT, CLOSE_AGREEMENT, REPROCESS_AGREEMENT_CLOSURE, FORCE_CLOSE_AGREEMENT, LINK_POOLED_ACCOUNT, REMOVE_POOLED_ACCOUNT_LINK, PUT_PCR_CONNECTION, PUT_COLLECTIONS_SETTINGS, SYNC_PCR_SUBSCRIPTION, ROTATE_PCR_NOTICE_SECRET, REDELIVER_PCR_NOTICE, REQUEUE_TITLE_FACT "REDELIVER_PCR_NOTICE"
APPLIED: the local effect is written and, when there is an external effect, it is confirmed. ENQUEUED: the action is recorded under a stable key and its effect follows, at the PCR or the ledger; when the action carries that effect out within the request, targetState shows where it got.
APPLIED, ENQUEUED "ENQUEUED"
State of the target after the action, as far as collections knows it when it answers. When the action presents a credit entry to the ledger again within the request, the entry's state after that presentation: for example POSTED when it posted.
64"FAILED"
Kind of resource the action acted on.
TITLE, WRITE_OFF, CREDIT_ENTRY, PCR_COMMAND, PCR_NOTICE, BENEFICIARY, ENABLEMENT_BATCH, AGREEMENT, AGREEMENT_DIVERGENCE, POOLED_ACCOUNT_LINK, PCR_CONNECTION, PCR_SUBSCRIPTION, PCR_WEBHOOK_DELIVERY, COLLECTIONS_SETTINGS, ACCOUNT, TITLE_FACT, RECEIVER_PAYMENT, RECEIVER_OUTCOME "PCR_WEBHOOK_DELIVERY"

