GET api/Mail/GetEmailNotificationTrigger?projectID={projectID}&ID={ID}

GetMailFormat

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectID

projectID

integer

Required

ID

ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetMailFormat

API_Data_EmailNotificationTrigger
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

EmailNotificationTrigger

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "ProjectID": 1,
    "TriggerID": 2,
    "TriggerTypeID": 1,
    "TriggerName": "sample string 3",
    "FieldID": 1,
    "ChangeFromID": 1,
    "ChangeToID": 1,
    "FieldChangeItemName": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<API_Data_EmailNotificationTrigger 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.DevTrackDB">
    <d2p1:ChangeFromID>1</d2p1:ChangeFromID>
    <d2p1:ChangeToID>1</d2p1:ChangeToID>
    <d2p1:FieldChangeItemName>sample string 4</d2p1:FieldChangeItemName>
    <d2p1:FieldID>1</d2p1:FieldID>
    <d2p1:ProjectID>1</d2p1:ProjectID>
    <d2p1:TriggerID>2</d2p1:TriggerID>
    <d2p1:TriggerName>sample string 3</d2p1:TriggerName>
    <d2p1:TriggerTypeID>1</d2p1:TriggerTypeID>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_EmailNotificationTrigger>