POST api/ProjectEmail/SendEmail
Request Information
URI Parameters
None.
Body Parameters
EmailVM| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Body | string |
None. |
|
| Footer | string |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| Subject | string |
None. |
|
| Type | string |
None. |
|
| Due | string |
None. |
|
| User | UserObj |
None. |
Request Formats
application/json, text/json
Sample:
{
"User": {
"SessionID": "sample string 1",
"GUID": "sample string 2",
"Message": "sample string 3",
"IsValid": {}
},
"ID": 1,
"Body": "sample string 2",
"Footer": "sample string 3",
"Name": "sample string 4",
"Email": "sample string 5",
"Subject": "sample string 6",
"Type": "sample string 7",
"Due": "sample string 8"
}
text/html
Sample:
{"User":{"SessionID":"sample string 1","GUID":"sample string 2","Message":"sample string 3","IsValid":{}},"ID":1,"Body":"sample string 2","Footer":"sample string 3","Name":"sample string 4","Email":"sample string 5","Subject":"sample string 6","Type":"sample string 7","Due":"sample string 8"}
application/xml, text/xml
Sample:
<EmailVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGamaAPI.ViewModels">
<Body>sample string 2</Body>
<Due>sample string 8</Due>
<Email>sample string 5</Email>
<Footer>sample string 3</Footer>
<ID>1</ID>
<Name>sample string 4</Name>
<Subject>sample string 6</Subject>
<Type>sample string 7</Type>
<User>
<GUID>sample string 2</GUID>
<IsValid />
<Message>sample string 3</Message>
<SessionID>sample string 1</SessionID>
</User>
</EmailVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
[
{},
{}
]
text/html
Sample:
[{},{}]
application/xml, text/xml
Sample:
<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <anyType /> <anyType /> </ArrayOfanyType>