POST api/Mail/AddOrEditMailFormat
SetMailNotifySetting
Request Information
URI Parameters
None.
Body Parameters
NotificationSubscriber value
EmailFormatName | Description | Type | Additional information |
---|---|---|---|
ProjectID | integer |
None. |
|
EmailFormatID | integer |
None. |
|
EmailFormatName | string |
None. |
|
EmailFormatType | integer |
None. |
|
TypeID | integer |
None. |
|
DestinationID | integer |
None. |
|
EmailFormatBody | string |
None. |
|
EmailFormatSubject | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectID": 1, "EmailFormatID": 2, "EmailFormatName": "sample string 3", "EmailFormatType": 1, "TypeID": 1, "DestinationID": 1, "EmailFormatBody": "sample string 4", "EmailFormatSubject": "sample string 5" }
application/xml, text/xml
Sample:
<EmailFormat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.DevTrackDB"> <DestinationID>1</DestinationID> <EmailFormatBody>sample string 4</EmailFormatBody> <EmailFormatID>2</EmailFormatID> <EmailFormatName>sample string 3</EmailFormatName> <EmailFormatSubject>sample string 5</EmailFormatSubject> <EmailFormatType>1</EmailFormatType> <ProjectID>1</ProjectID> <TypeID>1</TypeID> </EmailFormat>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SetMailNotifySetting
API_Data_Int32Name | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": 2 }
application/xml, text/xml
Sample:
<API_Data_int xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data>2</Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_int>