POST api/data/uploadanonymous
Uploads anonymous message.
Request Information
URI Parameters
None.
Body Parameters
AnonymousMessageUploadModelName | Description | Type | Additional information |
---|---|---|---|
Recipient_OrganizationNumber |
Recipient's organization ID. |
string |
String length: inclusive between 0 and 32 |
Recipient_RegisteredMailAddress | string |
None. |
|
MailNotificationMessage | MailNotificationMessage |
None. |
|
Matter |
Subject of the data. |
string |
String length: inclusive between 0 and 255 |
ContentType |
MIME content type. |
string |
String length: inclusive between 0 and 255 |
FileName |
Original file name. |
string |
String length: inclusive between 0 and 255 |
ReferenceNumber | string |
String length: inclusive between 0 and 50 |
|
Data |
Raw data sent by Sender. |
Collection of byte |
None. |
SenderMessageKey | string |
None. |
|
SkipAnonymousSubjectMessageMailNotification | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Recipient_OrganizationNumber": "sample string 1", "Recipient_RegisteredMailAddress": "sample string 2", "MailNotificationMessage": { "From": "sample string 1", "To": [ "sample string 1", "sample string 2" ], "CC": [ "sample string 1", "sample string 2" ], "Bcc": [ "sample string 1", "sample string 2" ], "Subject": "sample string 2", "Body": "sample string 3", "IsBodyHtml": true, "Attachments": [ { "Content": "QEA=", "FileName": "sample string 1", "CreationDate": "2025-01-28T10:13:08.9914866+01:00", "ModificationDate": "2025-01-28T10:13:08.9914866+01:00" }, { "Content": "QEA=", "FileName": "sample string 1", "CreationDate": "2025-01-28T10:13:08.9914866+01:00", "ModificationDate": "2025-01-28T10:13:08.9914866+01:00" } ], "BoxNotification_RefId": "14a46d6c-24f7-4723-bf8c-4a03f745bd2d" }, "Matter": "sample string 3", "ContentType": "sample string 4", "FileName": "sample string 5", "ReferenceNumber": "sample string 6", "Data": "QEA=", "SenderMessageKey": "sample string 7", "SkipAnonymousSubjectMessageMailNotification": true }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
RefId of posted message.
globally unique identifierResponse Formats
application/json, text/json
Sample:
"d9846ec9-91a1-495c-b33b-143e7f8d0a80"