GET api/Mail/GetMailSettingBaseData?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_MailSettingBaseDataName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | MailSettingBaseData |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "dicSysConditionBaseDatas": { "1": { "field": { "Attributes": { "sample string 1": 2, "sample string 3": 4 }, "FieldID": 1, "DefaultName": "sample string 2", "FieldName": "sample string 3", "FieldTypeID": 4 }, "dicPages": { "1": "sample string 2", "3": "sample string 4" } }, "2": { "field": { "Attributes": { "sample string 1": 2, "sample string 3": 4 }, "FieldID": 1, "DefaultName": "sample string 2", "FieldName": "sample string 3", "FieldTypeID": 4 }, "dicPages": { "1": "sample string 2", "3": "sample string 4" } } }, "dicCusConditionBaseDatas": { "1": { "field": { "Attributes": { "sample string 1": 2, "sample string 3": 4 }, "FieldID": 1, "DefaultName": "sample string 2", "FieldName": "sample string 3", "FieldTypeID": 4 }, "dicPages": { "1": "sample string 2", "3": "sample string 4" } }, "2": { "field": { "Attributes": { "sample string 1": 2, "sample string 3": 4 }, "FieldID": 1, "DefaultName": "sample string 2", "FieldName": "sample string 3", "FieldTypeID": 4 }, "dicPages": { "1": "sample string 2", "3": "sample string 4" } } }, "Triggers": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "Conditions": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "EmailFormats4Team": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "EmailFormats4Customer": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "EmailFormats4Phone": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "AccountTypes": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "Groups": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "Members": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "SysNotificationRecipients": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "SelectedMemberFields": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "LinkedProjects": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "AllPages": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "AllFields": [ { "Attributes": { "sample string 1": 2, "sample string 3": 4 }, "FieldID": 1, "DefaultName": "sample string 2", "FieldName": "sample string 3", "FieldTypeID": 4 }, { "Attributes": { "sample string 1": 2, "sample string 3": 4 }, "FieldID": 1, "DefaultName": "sample string 2", "FieldName": "sample string 3", "FieldTypeID": 4 } ], "FieldChanges": [ { "Attributes": { "sample string 1": 2, "sample string 3": 4 }, "FieldID": 1, "DefaultName": "sample string 2", "FieldName": "sample string 3", "FieldTypeID": 4 }, { "Attributes": { "sample string 1": 2, "sample string 3": 4 }, "FieldID": 1, "DefaultName": "sample string 2", "FieldName": "sample string 3", "FieldTypeID": 4 } ], "dicStateTransitions": { "1": { "stateID": 1, "stateName": "sample string 2", "dicTransitions": { "1": "sample string 2", "3": "sample string 4" } }, "2": { "stateID": 1, "stateName": "sample string 2", "dicTransitions": { "1": "sample string 2", "3": "sample string 4" } } }, "dicFieldChoices": { "1": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "2": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ] } } }
application/xml, text/xml
Sample:
<API_Data_MailSettingBaseData 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:AccountTypes> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:AccountTypes> <d2p1:AllFields> <d2p1:FieldDef> <d2p1:Attributes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringint> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>2</d5p1:Value> </d5p1:KeyValueOfstringint> <d5p1:KeyValueOfstringint> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>4</d5p1:Value> </d5p1:KeyValueOfstringint> </d2p1:Attributes> <d2p1:DefaultName>sample string 2</d2p1:DefaultName> <d2p1:FieldID>1</d2p1:FieldID> <d2p1:FieldName>sample string 3</d2p1:FieldName> <d2p1:FieldTypeID>4</d2p1:FieldTypeID> </d2p1:FieldDef> <d2p1:FieldDef> <d2p1:Attributes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringint> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>2</d5p1:Value> </d5p1:KeyValueOfstringint> <d5p1:KeyValueOfstringint> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>4</d5p1:Value> </d5p1:KeyValueOfstringint> </d2p1:Attributes> <d2p1:DefaultName>sample string 2</d2p1:DefaultName> <d2p1:FieldID>1</d2p1:FieldID> <d2p1:FieldName>sample string 3</d2p1:FieldName> <d2p1:FieldTypeID>4</d2p1:FieldTypeID> </d2p1:FieldDef> </d2p1:AllFields> <d2p1:AllPages> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:AllPages> <d2p1:Conditions> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:Conditions> <d2p1:EmailFormats4Customer> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:EmailFormats4Customer> <d2p1:EmailFormats4Phone> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:EmailFormats4Phone> <d2p1:EmailFormats4Team> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:EmailFormats4Team> <d2p1:FieldChanges> <d2p1:FieldDef> <d2p1:Attributes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringint> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>2</d5p1:Value> </d5p1:KeyValueOfstringint> <d5p1:KeyValueOfstringint> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>4</d5p1:Value> </d5p1:KeyValueOfstringint> </d2p1:Attributes> <d2p1:DefaultName>sample string 2</d2p1:DefaultName> <d2p1:FieldID>1</d2p1:FieldID> <d2p1:FieldName>sample string 3</d2p1:FieldName> <d2p1:FieldTypeID>4</d2p1:FieldTypeID> </d2p1:FieldDef> <d2p1:FieldDef> <d2p1:Attributes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringint> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>2</d5p1:Value> </d5p1:KeyValueOfstringint> <d5p1:KeyValueOfstringint> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>4</d5p1:Value> </d5p1:KeyValueOfstringint> </d2p1:Attributes> <d2p1:DefaultName>sample string 2</d2p1:DefaultName> <d2p1:FieldID>1</d2p1:FieldID> <d2p1:FieldName>sample string 3</d2p1:FieldName> <d2p1:FieldTypeID>4</d2p1:FieldTypeID> </d2p1:FieldDef> </d2p1:FieldChanges> <d2p1:Groups> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:Groups> <d2p1:LinkedProjects> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:LinkedProjects> <d2p1:Members> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:Members> <d2p1:SelectedMemberFields> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:SelectedMemberFields> <d2p1:SysNotificationRecipients> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:SysNotificationRecipients> <d2p1:Triggers> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d2p1:Triggers> <d2p1:dicCusConditionBaseDatas xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfintConditionBaseDataV9fTLPAg> <d3p1:Key>1</d3p1:Key> <d3p1:Value> <d2p1:dicPages> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> </d2p1:dicPages> <d2p1:field> <d2p1:Attributes> <d3p1:KeyValueOfstringint> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>2</d3p1:Value> </d3p1:KeyValueOfstringint> <d3p1:KeyValueOfstringint> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>4</d3p1:Value> </d3p1:KeyValueOfstringint> </d2p1:Attributes> <d2p1:DefaultName>sample string 2</d2p1:DefaultName> <d2p1:FieldID>1</d2p1:FieldID> <d2p1:FieldName>sample string 3</d2p1:FieldName> <d2p1:FieldTypeID>4</d2p1:FieldTypeID> </d2p1:field> </d3p1:Value> </d3p1:KeyValueOfintConditionBaseDataV9fTLPAg> <d3p1:KeyValueOfintConditionBaseDataV9fTLPAg> <d3p1:Key>2</d3p1:Key> <d3p1:Value> <d2p1:dicPages> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> </d2p1:dicPages> <d2p1:field> <d2p1:Attributes> <d3p1:KeyValueOfstringint> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>2</d3p1:Value> </d3p1:KeyValueOfstringint> <d3p1:KeyValueOfstringint> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>4</d3p1:Value> </d3p1:KeyValueOfstringint> </d2p1:Attributes> <d2p1:DefaultName>sample string 2</d2p1:DefaultName> <d2p1:FieldID>1</d2p1:FieldID> <d2p1:FieldName>sample string 3</d2p1:FieldName> <d2p1:FieldTypeID>4</d2p1:FieldTypeID> </d2p1:field> </d3p1:Value> </d3p1:KeyValueOfintConditionBaseDataV9fTLPAg> </d2p1:dicCusConditionBaseDatas> <d2p1:dicFieldChoices xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfintArrayOfNameIdPair79auj4lf> <d3p1:Key>1</d3p1:Key> <d3p1:Value> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d3p1:Value> </d3p1:KeyValueOfintArrayOfNameIdPair79auj4lf> <d3p1:KeyValueOfintArrayOfNameIdPair79auj4lf> <d3p1:Key>2</d3p1:Key> <d3p1:Value> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> <NameIdPair> <Id>1</Id> <Name>sample string 2</Name> </NameIdPair> </d3p1:Value> </d3p1:KeyValueOfintArrayOfNameIdPair79auj4lf> </d2p1:dicFieldChoices> <d2p1:dicStateTransitions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfintStateTransitionsV9fTLPAg> <d3p1:Key>1</d3p1:Key> <d3p1:Value> <d2p1:dicTransitions> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> </d2p1:dicTransitions> <d2p1:stateID>1</d2p1:stateID> <d2p1:stateName>sample string 2</d2p1:stateName> </d3p1:Value> </d3p1:KeyValueOfintStateTransitionsV9fTLPAg> <d3p1:KeyValueOfintStateTransitionsV9fTLPAg> <d3p1:Key>2</d3p1:Key> <d3p1:Value> <d2p1:dicTransitions> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> </d2p1:dicTransitions> <d2p1:stateID>1</d2p1:stateID> <d2p1:stateName>sample string 2</d2p1:stateName> </d3p1:Value> </d3p1:KeyValueOfintStateTransitionsV9fTLPAg> </d2p1:dicStateTransitions> <d2p1:dicSysConditionBaseDatas xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfintConditionBaseDataV9fTLPAg> <d3p1:Key>1</d3p1:Key> <d3p1:Value> <d2p1:dicPages> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> </d2p1:dicPages> <d2p1:field> <d2p1:Attributes> <d3p1:KeyValueOfstringint> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>2</d3p1:Value> </d3p1:KeyValueOfstringint> <d3p1:KeyValueOfstringint> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>4</d3p1:Value> </d3p1:KeyValueOfstringint> </d2p1:Attributes> <d2p1:DefaultName>sample string 2</d2p1:DefaultName> <d2p1:FieldID>1</d2p1:FieldID> <d2p1:FieldName>sample string 3</d2p1:FieldName> <d2p1:FieldTypeID>4</d2p1:FieldTypeID> </d2p1:field> </d3p1:Value> </d3p1:KeyValueOfintConditionBaseDataV9fTLPAg> <d3p1:KeyValueOfintConditionBaseDataV9fTLPAg> <d3p1:Key>2</d3p1:Key> <d3p1:Value> <d2p1:dicPages> <d3p1:KeyValueOfintstring> <d3p1:Key>1</d3p1:Key> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:KeyValueOfintstring> <d3p1:KeyValueOfintstring> <d3p1:Key>3</d3p1:Key> <d3p1:Value>sample string 4</d3p1:Value> </d3p1:KeyValueOfintstring> </d2p1:dicPages> <d2p1:field> <d2p1:Attributes> <d3p1:KeyValueOfstringint> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>2</d3p1:Value> </d3p1:KeyValueOfstringint> <d3p1:KeyValueOfstringint> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>4</d3p1:Value> </d3p1:KeyValueOfstringint> </d2p1:Attributes> <d2p1:DefaultName>sample string 2</d2p1:DefaultName> <d2p1:FieldID>1</d2p1:FieldID> <d2p1:FieldName>sample string 3</d2p1:FieldName> <d2p1:FieldTypeID>4</d2p1:FieldTypeID> </d2p1:field> </d3p1:Value> </d3p1:KeyValueOfintConditionBaseDataV9fTLPAg> </d2p1:dicSysConditionBaseDatas> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_MailSettingBaseData>