POST api/file/email
Request Information
URI Parameters
None.
Body Parameters
BinaryEmailInfoName | Description | Type | Additional information |
---|---|---|---|
Recipients | Collection of string |
None. |
|
ToCC | Collection of string |
None. |
|
ToBCC | Collection of string |
None. |
|
FileNames | Collection of string |
None. |
|
FileData | Collection of Collection of byte |
None. |
|
Subject | string |
None. |
|
Body | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Recipients": [ "sample string 1", "sample string 2" ], "ToCC": [ "sample string 1", "sample string 2" ], "ToBCC": [ "sample string 1", "sample string 2" ], "FileNames": [ "sample string 1", "sample string 2" ], "FileData": [ "QEA=", "QEA=" ], "Subject": "sample string 1", "Body": "sample string 2" }
application/xml, text/xml
Sample:
<BinaryEmailInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Midwest"> <Body>sample string 2</Body> <FileData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:base64Binary>QEA=</d2p1:base64Binary> <d2p1:base64Binary>QEA=</d2p1:base64Binary> </FileData> <FileNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </FileNames> <Recipients xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Recipients> <Subject>sample string 1</Subject> <ToBCC xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ToBCC> <ToCC xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ToCC> </BinaryEmailInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.