POST api/EmailIntegrations/AddMailGunDomain

Request Information

URI Parameters

None.

Body Parameters

AddMailgunDomainsRequestVM
NameDescriptionTypeAdditional information
IsViaAdmin

boolean

None.

AdminUserId

string

None.

ParentAccountId

string

Required

SubAccountId

string

Required

DomainPart

string

Required

SubDomainPart

string

Required

IsSubDomain

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "IsViaAdmin": true,
  "AdminUserId": "sample string 2",
  "ParentAccountId": "sample string 3",
  "SubAccountId": "sample string 4",
  "DomainPart": "sample string 5",
  "SubDomainPart": "sample string 6",
  "IsSubDomain": true
}

application/xml, text/xml

Sample:
<AddMailgunDomainsRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.EmailIntegrationModels">
  <AdminUserId>sample string 2</AdminUserId>
  <DomainPart>sample string 5</DomainPart>
  <IsSubDomain>true</IsSubDomain>
  <IsViaAdmin>true</IsViaAdmin>
  <ParentAccountId>sample string 3</ParentAccountId>
  <SubAccountId>sample string 4</SubAccountId>
  <SubDomainPart>sample string 6</SubDomainPart>
</AddMailgunDomainsRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.