POST api/Admin/GetProjectEmailIntegration?projectId={projectId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

Body Parameters

None.

Response Information

Resource Description

API_Data_EmailOutgoingSetting
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

EmailOutgoingSetting

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "ProjectID": 1,
    "SMTPSSLEnabled": 2,
    "SMTPPort": 3,
    "SMTPLogonNeeded": 4,
    "MailProtocolType4Win": 5,
    "TextLength": 6,
    "SMTPMailServer": "sample string 7",
    "SMTPAccount": "sample string 8",
    "SMTPPassword": "sample string 9",
    "CharacterSet": "sample string 10",
    "CharacterSets": [
      "sample string 1",
      "sample string 2"
    ],
    "AlwaysThisAccount": 11
  }
}

application/xml, text/xml

Sample:
<API_Data_EmailOutgoingSetting 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:AlwaysThisAccount>11</d2p1:AlwaysThisAccount>
    <d2p1:CharacterSet>sample string 10</d2p1:CharacterSet>
    <d2p1:CharacterSets xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:CharacterSets>
    <d2p1:MailProtocolType4Win>5</d2p1:MailProtocolType4Win>
    <d2p1:ProjectID>1</d2p1:ProjectID>
    <d2p1:SMTPAccount>sample string 8</d2p1:SMTPAccount>
    <d2p1:SMTPLogonNeeded>4</d2p1:SMTPLogonNeeded>
    <d2p1:SMTPMailServer>sample string 7</d2p1:SMTPMailServer>
    <d2p1:SMTPPassword>sample string 9</d2p1:SMTPPassword>
    <d2p1:SMTPPort>3</d2p1:SMTPPort>
    <d2p1:SMTPSSLEnabled>2</d2p1:SMTPSSLEnabled>
    <d2p1:TextLength>6</d2p1:TextLength>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_EmailOutgoingSetting>