POST Api/Notification/Send
Request Information
URI Parameters
None.
Body Parameters
EmailRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| string |
None. |
||
| Message | string |
None. |
|
| Mobile | string |
None. |
|
| opCode | integer |
None. |
|
| isException | boolean |
None. |
|
| exceptionMessage | string |
None. |
|
| DS | DataSet |
None. |
|
| id | string |
None. |
|
| strId | string |
None. |
|
| userId | integer |
None. |
|
| status | integer |
None. |
|
| message | string |
None. |
|
| responseValue | DataSet |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"email": "sample string 2",
"message": "sample string 3",
"mobile": "sample string 4",
"opCode": 5,
"isException": true,
"exceptionMessage": "sample string 7",
"ds": null,
"id": "sample string 8",
"strId": "sample string 9",
"userId": 10,
"status": 11,
"responseValue": {}
}
application/xml, text/xml
Sample:
<EmailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolSolutionAPI.Models">
<DS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/DLLUtility" />
<exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 7</exceptionMessage>
<id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 8</id>
<isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
<message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 12</message>
<opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">5</opCode>
<responseValue xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">
<xs:schema id="sample_x0020_string_x0020_3" targetNamespace="sample string 4" xmlns:mstns="sample string 4" xmlns="sample string 4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:element name="sample_x0020_string_x0020_3" msdata:IsDataSet="true" msdata:CaseSensitive="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded" />
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" />
</responseValue>
<status xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">11</status>
<strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 9</strId>
<userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">10</userId>
<Email>sample string 2</Email>
<Message>sample string 3</Message>
<Mobile>sample string 4</Mobile>
<Name>sample string 1</Name>
</EmailRequest>
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.