GET api/Mail/GetMailFormat?projectID={projectID}&formatID={formatID}
GetMailFormat
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectID |
projectID |
integer |
Required |
formatID |
formatID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetMailFormat
API_Data_EmailFormatName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | EmailFormat |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "ProjectID": 1, "EmailFormatID": 2, "EmailFormatName": "sample string 3", "EmailFormatType": 1, "TypeID": 1, "DestinationID": 1, "EmailFormatBody": "sample string 4", "EmailFormatSubject": "sample string 5" } }
application/xml, text/xml
Sample:
<API_Data_EmailFormat 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:DestinationID>1</d2p1:DestinationID> <d2p1:EmailFormatBody>sample string 4</d2p1:EmailFormatBody> <d2p1:EmailFormatID>2</d2p1:EmailFormatID> <d2p1:EmailFormatName>sample string 3</d2p1:EmailFormatName> <d2p1:EmailFormatSubject>sample string 5</d2p1:EmailFormatSubject> <d2p1:EmailFormatType>1</d2p1:EmailFormatType> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:TypeID>1</d2p1:TypeID> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_EmailFormat>