POST api/data/upload
Uploads message.
Request Information
URI Parameters
None.
Body Parameters
MessageUploadModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Recipient_OrganizationNumber |
Recipient's iBox Id. |
string |
String length: inclusive between 0 and 32 |
| Matter |
Subject of the data. Optional. Subject/Matter of sent message. |
string |
String length: inclusive between 0 and 255 |
| ContentType |
MIME content type. Optional. If not set will be resolved from FileName. |
string |
String length: inclusive between 0 and 255 |
| FileName |
Original file name. Required. |
string |
String length: inclusive between 0 and 255 |
| ReferenceNumber |
Reference number. Optional. Additional information helping recipient match this message with business case. For example invoice number or order number. |
string |
String length: inclusive between 0 and 50 |
| Data |
Raw data sent by Sender. Required. Date has to be encoded in base64 string. |
Collection of byte |
None. |
| SenderMessageKey |
Sender message internal key. Optional. Any string value helping sender match message to some artifact in his information system. For example invoice GUID from issuing system. |
string |
None. |
Request Formats
application/json, text/json
{
"Recipient_OrganizationNumber": "sample string 1",
"Matter": "sample string 2",
"ContentType": "sample string 3",
"FileName": "sample string 4",
"ReferenceNumber": "sample string 5",
"Data": "QEA=",
"SenderMessageKey": "sample string 6"
}
application/x-www-form-urlencoded
Response Information
Resource Description
RefId of posted message.
globally unique identifierResponse Formats
application/json, text/json
"d8b26777-5ba2-4da8-92f6-f093e0aa7d4b"