GET api/Mail/GetMailNotifySetting?projectID={projectID}&mailType={mailType}
GetMailSetting
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectID |
projectID |
integer |
Required |
mailType |
mailType |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetMailSetting
API_Data_MailNotifySettingName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | MailNotifySetting |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "ProjectID": 1, "m_vType": 2, "m_bEnableNotification": 3, "m_strSendAddress": "sample string 4", "m_strSendName": "sample string 5", "m_tmCutoff": "2024-12-21 14:56:55", "m_nIssueSpecificCCListOption": 6, "m_nSupportCC": 7, "m_nSchemaID": 8 } }
application/xml, text/xml
Sample:
<API_Data_MailNotifySetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:m_bEnableNotification>3</d2p1:m_bEnableNotification> <d2p1:m_nIssueSpecificCCListOption>6</d2p1:m_nIssueSpecificCCListOption> <d2p1:m_nSchemaID>8</d2p1:m_nSchemaID> <d2p1:m_nSupportCC>7</d2p1:m_nSupportCC> <d2p1:m_strSendAddress>sample string 4</d2p1:m_strSendAddress> <d2p1:m_strSendName>sample string 5</d2p1:m_strSendName> <d2p1:m_tmCutoff>2024-12-21T18:56:55.127644-08:00</d2p1:m_tmCutoff> <d2p1:m_vType>2</d2p1:m_vType> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_MailNotifySetting>