Vai al contenuto

Request an on-demand affidavit

Richiesta

Generates a custom affidavit for a previously submitted EviNotice. The original submit request must have included AffidavitKinds with the OnDemand value. The notice must still be eligible — not Draft, not Closed, and within the configured per-notice on-demand limit.

Sicurezza
basicAuth
Corpoapplication/jsonobbligatorio
Idstring, (uuid)obbligatorio

The unique ID of the EviNotice, as returned at submission.

IncludeBodyboolean

Include the notice body in the affidavit.

IncludeAttachmentsboolean

Include notice attachments in the affidavit. Attachments must have been submitted with IncludeOnAffidavits set to true.

IncludeEventsboolean

Include detailed event information in the affidavit.

curl -i -X POST \
  -u '<username>:<password>' \
  https://api.evicertia.com/v2/EviNotice/Affidavits/Request \
  -H 'Content-Type: application/json' \
  -d '{
    "Id": "38a5a5bb-dc30-49a2-b175-1de0d1488c43",
    "IncludeBody": true,
    "IncludeAttachments": true,
    "IncludeEvents": true
  }'

Risposte

Affidavit request accepted. Generation is asynchronous; an AffidavitPublished callback fires when the affidavit is ready.

Corpoapplication/json
RequestIdstring, (uuid)

Unique identifier for this affidavit request. Use it to correlate the subsequent AffidavitPublished callback.

Risposta
{ "RequestId": "1c78724c-7485-44ae-8ae2-a5c5c92d2d9a" }