GET api/Mail/GetFindQueryCondition?projectID={projectID}&ID={ID}
GetMailFormat
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectID |
projectID |
integer |
Required |
ID |
ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetMailFormat
API_Data_FindQueryConditionBinderName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | FindQueryConditionBinder |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "Condition": { "ProjectID": 1, "QueryID": 2, "UserID": 3, "QueryName": "sample string 4", "IsEmailQuery": 1, "PriorityOrder": 1, "QueryFieldOrder": "sample string 5", "QueryFieldLogic": "sample string 6", "QueryCondition": "sample string 7" }, "ConditionFields": [ { "ProjectID": 1, "QueryID": 2, "UserID": 3, "FieldID": 4, "IfINorNOT": 1, "IntFieldEqual": 1, "IntFieldFrom": 1, "IntFieldTo": 1, "DateFieldFrom": "2024-12-21 15:28:40", "DateFieldTo": "2024-12-21 15:28:40", "DateFieldInDays": 1, "DateFieldInDaysOffset": 1, "TextFieldSelectionUcd": "sample string 5", "TextFieldSelection": "sample string 6" }, { "ProjectID": 1, "QueryID": 2, "UserID": 3, "FieldID": 4, "IfINorNOT": 1, "IntFieldEqual": 1, "IntFieldFrom": 1, "IntFieldTo": 1, "DateFieldFrom": "2024-12-21 15:28:40", "DateFieldTo": "2024-12-21 15:28:40", "DateFieldInDays": 1, "DateFieldInDaysOffset": 1, "TextFieldSelectionUcd": "sample string 5", "TextFieldSelection": "sample string 6" } ] } }
application/xml, text/xml
Sample:
<API_Data_FindQueryConditionBinder 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.Logic.Admin"> <d2p1:Condition xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.DevTrackDB"> <d3p1:IsEmailQuery>1</d3p1:IsEmailQuery> <d3p1:PriorityOrder>1</d3p1:PriorityOrder> <d3p1:ProjectID>1</d3p1:ProjectID> <d3p1:QueryCondition>sample string 7</d3p1:QueryCondition> <d3p1:QueryFieldLogic>sample string 6</d3p1:QueryFieldLogic> <d3p1:QueryFieldOrder>sample string 5</d3p1:QueryFieldOrder> <d3p1:QueryID>2</d3p1:QueryID> <d3p1:QueryName>sample string 4</d3p1:QueryName> <d3p1:UserID>3</d3p1:UserID> </d2p1:Condition> <d2p1:ConditionFields xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.DevTrackDB"> <d3p1:FindQueryField> <d3p1:DateFieldFrom>2024-12-21T19:28:40.006928-08:00</d3p1:DateFieldFrom> <d3p1:DateFieldInDays>1</d3p1:DateFieldInDays> <d3p1:DateFieldInDaysOffset>1</d3p1:DateFieldInDaysOffset> <d3p1:DateFieldTo>2024-12-21T19:28:40.006928-08:00</d3p1:DateFieldTo> <d3p1:FieldID>4</d3p1:FieldID> <d3p1:IfINorNOT>1</d3p1:IfINorNOT> <d3p1:IntFieldEqual>1</d3p1:IntFieldEqual> <d3p1:IntFieldFrom>1</d3p1:IntFieldFrom> <d3p1:IntFieldTo>1</d3p1:IntFieldTo> <d3p1:ProjectID>1</d3p1:ProjectID> <d3p1:QueryID>2</d3p1:QueryID> <d3p1:TextFieldSelection>sample string 6</d3p1:TextFieldSelection> <d3p1:TextFieldSelectionUcd>sample string 5</d3p1:TextFieldSelectionUcd> <d3p1:UserID>3</d3p1:UserID> </d3p1:FindQueryField> <d3p1:FindQueryField> <d3p1:DateFieldFrom>2024-12-21T19:28:40.006928-08:00</d3p1:DateFieldFrom> <d3p1:DateFieldInDays>1</d3p1:DateFieldInDays> <d3p1:DateFieldInDaysOffset>1</d3p1:DateFieldInDaysOffset> <d3p1:DateFieldTo>2024-12-21T19:28:40.006928-08:00</d3p1:DateFieldTo> <d3p1:FieldID>4</d3p1:FieldID> <d3p1:IfINorNOT>1</d3p1:IfINorNOT> <d3p1:IntFieldEqual>1</d3p1:IntFieldEqual> <d3p1:IntFieldFrom>1</d3p1:IntFieldFrom> <d3p1:IntFieldTo>1</d3p1:IntFieldTo> <d3p1:ProjectID>1</d3p1:ProjectID> <d3p1:QueryID>2</d3p1:QueryID> <d3p1:TextFieldSelection>sample string 6</d3p1:TextFieldSelection> <d3p1:TextFieldSelectionUcd>sample string 5</d3p1:TextFieldSelectionUcd> <d3p1:UserID>3</d3p1:UserID> </d3p1:FindQueryField> </d2p1:ConditionFields> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_FindQueryConditionBinder>