evidence-packet-drafts

Update Sections

Reconcile the sections of a draft evidence packet against a desired set of blocks.

Accepts a complete list of configuration block IDs that should be selected. The backend idempotently:

  • Creates EvidencePacketSection rows for any block in the list that doesn't have one
  • Deletes EvidencePacketSection rows whose source block is no longer in the list
  • Adds document request rows for newly-needed document types
  • Removes document request rows that are only needed by deleted sections

Manually-added document requests (not claimed by any section) are always preserved.

Only allowed for packets in DRAFT status.

put/evidence-packet-drafts/{evidence_packet_id}/sections

Path parameters

evidence_packet_idstring uuid required

Request body

block_idsstring[] required

Response

Successful Response

request_idstring uuid required
requesting_company_idstring uuid required
requesting_company_namestring nullable
requestee_company_idstring uuid required
requestee_vendor_namestring nullable
initiated_by_user_idstring uuid nullable
initiated_by_user_namestring nullable
requestee_user_emailstring nullable
requestee_user_namestring nullable
instructionsstring nullable
upload_step_instructionsstring nullable
questions_step_instructionsstring nullable
submit_step_instructionsstring nullable
require_decline_noteboolean
due_datestring date-time nullable
overdue_last_notified_atstring date-time nullable
status'draft' | 'pending' | 'in_progress' | 'completed' | 'cancelled' required

Status of an evidence packet request.

created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this endpoint across all 1 revision of this API.