RESTAPI:Recipient NotificationMail From Sender Point Of View: Unterschied zwischen den Versionen
K (Grammar fix) |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
{{InfoBox|title=|content=Please note that the Cryptshare Server only allows this operation for a verified sender email address (see [[{{NAMESPACE}}:About_Verifications|Verification]]).}} | {{InfoBox|title=|content=Please note that the Cryptshare Server only allows this operation for a verified sender email address (see [[{{NAMESPACE}}:About_Verifications|Verification]]).}} | ||
This API endpoint allows a user to request an email associated with a particular transfer | This API endpoint allows a user to request an email associated with a particular transfer. The email is a copy of a recipient notification email, but without the recipient related data (e.g. the recipient respective download link). It serves as a copy that can be saved for example in the sender's Sent folder. | ||
=== | The request must be made by the same user who initiated the transfer to ensure authenticity. The user has the option to include additional recipient email addresses to be included in the email along with the original recipients of the transfer. | ||
=== REST API to get the recipient notification mail from point of view of the sender of the transfer === | |||
POST https://<your-url>/api/users/<sender-email-address>/transfers/<tracking-id>/emails/sent | POST https://<your-url>/api/users/<sender-email-address>/transfers/<tracking-id>/emails/sent | ||
The | The request accepts following properties | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+The request body | ||
!Description | ! Description | ||
!Property | !Property | ||
!Type | |||
|- | |- | ||
| | |Additional recipients object that are not part of the Cryptshare transfer, but that should be mentioned in the email. | ||
|additionalRecipients | |additionalRecipients | ||
|RecipientsDto | |||
|} | |||
{| class="wikitable" | |||
|+RecipientsDto | |||
! Description | |||
!Property | |||
!Type | |||
|- | |- | ||
|The section for | |The section for including the mail of the 'to' recipients | ||
|to | |to | ||
|List of RecipientDto | |||
|- | |- | ||
|The section for | |The section for including the mail of the 'cc' recipients | ||
|cc | |cc | ||
| List of RecipientDto | |||
|- | |||
|The section for including the mail of the 'bcc' recipients | |||
|bcc | |||
|List of RecipientDto | |||
|} | |||
{| class="wikitable" | |||
|+RecipientDto | |||
!Description | |||
!Property | |||
!Type | |||
|- | |- | ||
|The actual email id or additional recipient | |The actual email id or additional recipient | ||
|mail | |mail | ||
|} | |String | ||
|}The response of this request is in text/html;charset=utf-8 format, rather than JSON. The response email will contain neither the download button nor the mails which are in the bcc. | |||
The response of this request is in text/html;charset=utf-8 format, rather than JSON. The response email will contain neither the download button nor the mails which are in the bcc. |
Version vom 15. Juli 2024, 15:05 Uhr
This API endpoint allows a user to request an email associated with a particular transfer. The email is a copy of a recipient notification email, but without the recipient related data (e.g. the recipient respective download link). It serves as a copy that can be saved for example in the sender's Sent folder.
The request must be made by the same user who initiated the transfer to ensure authenticity. The user has the option to include additional recipient email addresses to be included in the email along with the original recipients of the transfer.
REST API to get the recipient notification mail from point of view of the sender of the transfer
POST https://<your-url>/api/users/<sender-email-address>/transfers/<tracking-id>/emails/sent
The request accepts following properties
Description | Property | Type |
---|---|---|
Additional recipients object that are not part of the Cryptshare transfer, but that should be mentioned in the email. | additionalRecipients | RecipientsDto |
Description | Property | Type |
---|---|---|
The section for including the mail of the 'to' recipients | to | List of RecipientDto |
The section for including the mail of the 'cc' recipients | cc | List of RecipientDto |
The section for including the mail of the 'bcc' recipients | bcc | List of RecipientDto |
Description | Property | Type |
---|---|---|
The actual email id or additional recipient | String |
The response of this request is in text/html;charset=utf-8 format, rather than JSON. The response email will contain neither the download button nor the mails which are in the bcc.