POST api/applogemailattachment/preparenew
Request Information
URI Parameters
None.
Body Parameters
Collection of KeyValue| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Value | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Value": "sample string 2"
},
{
"Id": 1,
"Value": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfKeyValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
</ArrayOfKeyValue>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AppLogEmailAttachment| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| LogEmailId | integer |
Required |
|
| Name | string |
None. |
|
| MimeTyp | string |
None. |
|
| Position | integer |
Required |
|
| FileData | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "1559338a-f4de-49d2-b391-882a9d635c13",
"LogEmailId": 3,
"Name": "sample string 4",
"MimeTyp": "sample string 5",
"Position": 6,
"FileData": "sample string 7"
}
application/xml, text/xml
Sample:
<AppLogEmailAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models"> <FileData>sample string 7</FileData> <Id>1</Id> <LogEmailId>3</LogEmailId> <MimeTyp>sample string 5</MimeTyp> <Name>sample string 4</Name> <Position>6</Position> <RowGuid>1559338a-f4de-49d2-b391-882a9d635c13</RowGuid> </AppLogEmailAttachment>