Reference for https://dna.magnetmail.net/ApiAdapter/Rest/SendEmailToGroup/

Url: https://dna.magnetmail.net/ApiAdapter/Rest/SendEmailToGroup/

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example,Schema
Response Json Example

The following is an example request Xml body:

<SendEmailToGroup xmlns="http://schemas.datacontract.org/2004/07/APIAdapter.ContractObjects">
  <SessionID>String content</SessionID>
  <UserID>String content</UserID>
  <AdHocList>
    <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
    <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
  </AdHocList>
  <BillingCode>String content</BillingCode>
  <BillingInitial>String content</BillingInitial>
  <FaxResolution>String content</FaxResolution>
  <FilteredGroups>
    <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
    <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
  </FilteredGroups>
  <From>String content</From>
  <GroupIDs>
    <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
    <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
  </GroupIDs>
  <HTMLWVL>true</HTMLWVL>
  <IgnoreDedupe>true</IgnoreDedupe>
  <JobNotification>
    <CompleteNotification xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">true</CompleteNotification>
    <CompleteNotificationFrom xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">String content</CompleteNotificationFrom>
    <CompleteNotificationTo xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">String content</CompleteNotificationTo>
    <CompleteNotificationWhen xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">2147483647</CompleteNotificationWhen>
    <SendNotificationFrom xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">String content</SendNotificationFrom>
    <SendNotificationTo xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">String content</SendNotificationTo>
    <SendNotificationWhen xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">2147483647</SendNotificationWhen>
    <ShouldSendNotification xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">true</ShouldSendNotification>
  </JobNotification>
  <LoginID>2147483647</LoginID>
  <MessageID>2147483647</MessageID>
  <MiscArguments>String content</MiscArguments>
  <NewsLetter>
    <NewsLetterArchive xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">true</NewsLetterArchive>
    <NewsLetterPublishDate xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">String content</NewsLetterPublishDate>
    <NewsletterName xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">String content</NewsletterName>
  </NewsLetter>
  <RssType>noRSS</RssType>
  <ScheduledDate>String content</ScheduledDate>
  <SendDespiteArchived>true</SendDespiteArchived>
  <SendDespiteBadFrom>true</SendDespiteBadFrom>
  <SendFaxOrEmailOnFailure>true</SendFaxOrEmailOnFailure>
  <SendType>String content</SendType>
  <Subject>String content</Subject>
  <TXTWVL>true</TXTWVL>
</SendEmailToGroup>

The following is an example request Json body:

{
	"SessionID":"String content",
	"UserID":"String content",
	"AdHocList":["String content"],
	"BillingCode":"String content",
	"BillingInitial":"String content",
	"FaxResolution":"String content",
	"FilteredGroups":[2147483647],
	"From":"String content",
	"GroupIDs":[2147483647],
	"HTMLWVL":true,
	"IgnoreDedupe":true,
	"JobNotification":{
		"CompleteNotification":true,
		"CompleteNotificationFrom":"String content",
		"CompleteNotificationTo":"String content",
		"CompleteNotificationWhen":2147483647,
		"SendNotificationFrom":"String content",
		"SendNotificationTo":"String content",
		"SendNotificationWhen":2147483647,
		"ShouldSendNotification":true
	},
	"LoginID":2147483647,
	"MessageID":2147483647,
	"MiscArguments":"String content",
	"NewsLetter":{
		"NewsLetterArchive":true,
		"NewsLetterPublishDate":"String content",
		"NewsletterName":"String content"
	},
	"RssType":0,
	"ScheduledDate":"String content",
	"SendDespiteArchived":true,
	"SendDespiteBadFrom":true,
	"SendFaxOrEmailOnFailure":true,
	"SendType":"String content",
	"Subject":"String content",
	"TXTWVL":true
}

The following is an example response Xml body:

<EmailSendResult xmlns="http://schemas.datacontract.org/2004/07/APIAdapter">
  <Error>2147483647</Error>
  <JobIDs>
    <!--Valid elements of type: ArrayOfanyType, EmailSendResult, schema-->
    <anyType i:type="ArrayOfanyType" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <!--Valid elements of type: ArrayOfanyType, EmailSendResult, schema-->
      <anyType i:type="ArrayOfanyType">
        <anyType i:nil="true" />
        <anyType i:nil="true" />
      </anyType>
      <!--Valid elements of type: ArrayOfanyType, EmailSendResult, schema-->
      <anyType i:type="ArrayOfanyType">
        <anyType i:nil="true" />
        <anyType i:nil="true" />
      </anyType>
    </anyType>
    <!--Valid elements of type: ArrayOfanyType, EmailSendResult, schema-->
    <anyType i:type="ArrayOfanyType" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <!--Valid elements of type: ArrayOfanyType, EmailSendResult, schema-->
      <anyType i:type="ArrayOfanyType">
        <anyType i:nil="true" />
        <anyType i:nil="true" />
      </anyType>
      <!--Valid elements of type: ArrayOfanyType, EmailSendResult, schema-->
      <anyType i:type="ArrayOfanyType">
        <anyType i:nil="true" />
        <anyType i:nil="true" />
      </anyType>
    </anyType>
  </JobIDs>
  <Message>String content</Message>
</EmailSendResult>

The following is an example response Json body:

{
	"Error":2147483647,
	"JobIDs":[{
		"anyType":{
			"anyType":null
		}
	}],
	"Message":"String content"
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/APIAdapter.ContractObjects" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/APIAdapter.ContractObjects" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/APIAdapter" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/RMApiAdapter.RMAPI102" />
  <xs:complexType name="SendEmailToGroup">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:AuthCredentials">
        <xs:sequence>
          <xs:element minOccurs="0" name="AdHocList" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" />
          <xs:element minOccurs="0" name="BillingCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="BillingInitial" nillable="true" type="xs:string" />
          <xs:element name="FaxResolution" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FilteredGroups" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfint" />
          <xs:element name="From" nillable="true" type="xs:string" />
          <xs:element name="GroupIDs" nillable="true" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q3:ArrayOfint" />
          <xs:element name="HTMLWVL" type="xs:boolean" />
          <xs:element name="IgnoreDedupe" type="xs:boolean" />
          <xs:element minOccurs="0" name="JobNotification" nillable="true" xmlns:q4="http://schemas.datacontract.org/2004/07/APIAdapter" type="q4:SendToGroupObjectMaps.SendNotification" />
          <xs:element name="LoginID" type="xs:int" />
          <xs:element name="MessageID" type="xs:int" />
          <xs:element minOccurs="0" name="MiscArguments" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NewsLetter" nillable="true" xmlns:q5="http://schemas.datacontract.org/2004/07/APIAdapter" type="q5:SendToGroupObjectMaps.NewsLetter" />
          <xs:element minOccurs="0" name="RssType" xmlns:q6="http://schemas.datacontract.org/2004/07/RMApiAdapter.RMAPI102" type="q6:rssType" />
          <xs:element name="ScheduledDate" nillable="true" type="xs:string" />
          <xs:element name="SendDespiteArchived" type="xs:boolean" />
          <xs:element name="SendDespiteBadFrom" type="xs:boolean" />
          <xs:element name="SendFaxOrEmailOnFailure" type="xs:boolean" />
          <xs:element name="SendType" nillable="true" type="xs:string" />
          <xs:element name="Subject" nillable="true" type="xs:string" />
          <xs:element name="TXTWVL" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SendEmailToGroup" nillable="true" type="tns:SendEmailToGroup" />
  <xs:complexType name="AuthCredentials">
    <xs:sequence>
      <xs:element name="SessionID" nillable="true" type="xs:string" />
      <xs:element name="UserID" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="AuthCredentials" nillable="true" type="tns:AuthCredentials" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfstring">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
  <xs:complexType name="ArrayOfint">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfint" nillable="true" type="tns:ArrayOfint" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/APIAdapter" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/APIAdapter" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="SendToGroupObjectMaps.SendNotification">
    <xs:sequence>
      <xs:element minOccurs="0" name="CompleteNotification" type="xs:boolean" />
      <xs:element minOccurs="0" name="CompleteNotificationFrom" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompleteNotificationTo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompleteNotificationWhen" type="xs:int" />
      <xs:element minOccurs="0" name="SendNotificationFrom" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SendNotificationTo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SendNotificationWhen" type="xs:int" />
      <xs:element minOccurs="0" name="ShouldSendNotification" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SendToGroupObjectMaps.SendNotification" nillable="true" type="tns:SendToGroupObjectMaps.SendNotification" />
  <xs:complexType name="SendToGroupObjectMaps.NewsLetter">
    <xs:sequence>
      <xs:element minOccurs="0" name="NewsLetterArchive" type="xs:boolean" />
      <xs:element minOccurs="0" name="NewsLetterPublishDate" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NewsletterName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SendToGroupObjectMaps.NewsLetter" nillable="true" type="tns:SendToGroupObjectMaps.NewsLetter" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/RMApiAdapter.RMAPI102" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/RMApiAdapter.RMAPI102" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="rssType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="noRSS" />
      <xs:enumeration value="RSSToSelectedGroups" />
      <xs:enumeration value="RSSOnly" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="rssType" nillable="true" type="tns:rssType" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/APIAdapter" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/APIAdapter" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="EmailSendResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="Error" type="xs:int" />
      <xs:element minOccurs="0" name="JobIDs" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfanyType" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="EmailSendResult" nillable="true" type="tns:EmailSendResult" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfanyType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="anyType" nillable="true" type="xs:anyType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfanyType" nillable="true" type="tns:ArrayOfanyType" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>