GET example/api/SendingDomain

https://app.bwz.se/bedrock/example/api/SendingDomain

Gets all Sending domains.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Array of SendingDomainModel.

Collection of SendingDomainModel
NameDescriptionTypeAdditional information
Id

The id of the sending domain

integer

None.

Domain

The domain

string

None.

IsDomainVerified

Is ownership of the domain verified via the verification code

boolean

None.

DomainVerificationCode

The code used in the DNS to verify ownership

string

None.

ValidDkim

Does it have a valid dkim

boolean

None.

CertificateName

The certificate to be used as private key (default= dkim.bedrock.lime-technologies.com)

string

None.

DkimSelector

the selector used for dkim - should be "bedrock"

string

None.

IsDefault

Is this the default SendingDomain

boolean

None.

IsEnabled

Is the domain active

boolean

None.

UseCustomReturnPath

Is a custom return path used

boolean

None.

ValidCustomReturnPath

Is the custom return path valid

boolean

None.

CustomReturnPathDomain

The custom return path domain

string

None.

ValidDmarc

Does it have valid DMARC

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Domain": "sample string 2",
    "IsDomainVerified": true,
    "DomainVerificationCode": "sample string 4",
    "ValidDkim": true,
    "CertificateName": "sample string 6",
    "DkimSelector": "sample string 7",
    "IsDefault": true,
    "IsEnabled": true,
    "UseCustomReturnPath": true,
    "ValidCustomReturnPath": true,
    "CustomReturnPathDomain": "sample string 12",
    "ValidDmarc": true
  },
  {
    "Id": 1,
    "Domain": "sample string 2",
    "IsDomainVerified": true,
    "DomainVerificationCode": "sample string 4",
    "ValidDkim": true,
    "CertificateName": "sample string 6",
    "DkimSelector": "sample string 7",
    "IsDefault": true,
    "IsEnabled": true,
    "UseCustomReturnPath": true,
    "ValidCustomReturnPath": true,
    "CustomReturnPathDomain": "sample string 12",
    "ValidDmarc": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfSendingDomainModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.SendingDomain">
  <SendingDomainModel>
    <CertificateName>sample string 6</CertificateName>
    <CustomReturnPathDomain>sample string 12</CustomReturnPathDomain>
    <DkimSelector>sample string 7</DkimSelector>
    <Domain>sample string 2</Domain>
    <DomainVerificationCode>sample string 4</DomainVerificationCode>
    <Id>1</Id>
    <IsDefault>true</IsDefault>
    <IsDomainVerified>true</IsDomainVerified>
    <IsEnabled>true</IsEnabled>
    <UseCustomReturnPath>true</UseCustomReturnPath>
    <ValidCustomReturnPath>true</ValidCustomReturnPath>
    <ValidDkim>true</ValidDkim>
    <ValidDmarc>true</ValidDmarc>
  </SendingDomainModel>
  <SendingDomainModel>
    <CertificateName>sample string 6</CertificateName>
    <CustomReturnPathDomain>sample string 12</CustomReturnPathDomain>
    <DkimSelector>sample string 7</DkimSelector>
    <Domain>sample string 2</Domain>
    <DomainVerificationCode>sample string 4</DomainVerificationCode>
    <Id>1</Id>
    <IsDefault>true</IsDefault>
    <IsDomainVerified>true</IsDomainVerified>
    <IsEnabled>true</IsEnabled>
    <UseCustomReturnPath>true</UseCustomReturnPath>
    <ValidCustomReturnPath>true</ValidCustomReturnPath>
    <ValidDkim>true</ValidDkim>
    <ValidDmarc>true</ValidDmarc>
  </SendingDomainModel>
</ArrayOfSendingDomainModel>