POST api/Mail/SetMailNotifySetting

SetMailNotifySetting

Request Information

URI Parameters

None.

Body Parameters

MailNotifySetting value

MailNotifySetting
NameDescriptionTypeAdditional information
ProjectID

integer

None.

m_vType

integer

None.

m_bEnableNotification

integer

None.

m_strSendAddress

string

None.

m_strSendName

string

None.

m_tmCutoff

date

None.

m_nIssueSpecificCCListOption

integer

None.

m_nSupportCC

integer

None.

m_nSchemaID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectID": 1,
  "m_vType": 2,
  "m_bEnableNotification": 3,
  "m_strSendAddress": "sample string 4",
  "m_strSendName": "sample string 5",
  "m_tmCutoff": "2024-12-21 15:03:04",
  "m_nIssueSpecificCCListOption": 6,
  "m_nSupportCC": 7,
  "m_nSchemaID": 8
}

application/xml, text/xml

Sample:
<MailNotifySetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
  <ProjectID>1</ProjectID>
  <m_bEnableNotification>3</m_bEnableNotification>
  <m_nIssueSpecificCCListOption>6</m_nIssueSpecificCCListOption>
  <m_nSchemaID>8</m_nSchemaID>
  <m_nSupportCC>7</m_nSupportCC>
  <m_strSendAddress>sample string 4</m_strSendAddress>
  <m_strSendName>sample string 5</m_strSendName>
  <m_tmCutoff>2024-12-21T19:03:04.0352758-08:00</m_tmCutoff>
  <m_vType>2</m_vType>
</MailNotifySetting>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SetMailNotifySetting

API_Data_MailNotifySetting
NameDescriptionTypeAdditional 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 15:03:04",
    "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-21T19:03:04.0352758-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>