Vai al contenuto

Request an on-demand affidavit

Richiesta

Generates a custom affidavit for a previously submitted EviMail. The original Submit request must have included AffidavitKinds containing OnDemand, and the communication must still be eligible for on-demand affidavits. The submitting owner can request one while the transaction is active, the affidavit profile permits on-demand generation, and the configured limit has not been reached.

Sicurezza
basicAuth
Corpoapplication/jsonobbligatorio
UniqueIdstring, (uuid)obbligatorio

Unique ID of the EviMail to generate an affidavit for.

IncludeBodyboolean

Include the email body in the affidavit.

IncludeAttachmentsboolean

Include email attachments in the affidavit. Attachments must have been submitted with IncludeOnAffidavits true.

IncludeEventsboolean

Include detailed event information in the affidavit.

curl -i -X POST \
  -u '<username>:<password>' \
  https://api.evicertia.com/v1/EviMail/AffidavitRequest \
  -H 'Content-Type: application/json' \
  -d '{
    "UniqueId": "87ffa214-e773-4bd5-9b8d-a8ef00fd80f8",
    "IncludeBody": true,
    "IncludeAttachments": true,
    "IncludeEvents": true
  }'

Risposte

Affidavit request accepted. Generation is asynchronous.

Corpoapplication/json
requestIdstringobbligatorio
Risposta
{ "requestId": "79726a87000c1f7042aca3ea149f9438" }