POST api/verteilnehmer/send

Request Information

URI Parameters

None.

Body Parameters

VerTeilnehmerEmailVersand
NameDescriptionTypeAdditional information
EmailType

integer

Required

chkWarteliste

boolean

Required

chkReserviert

boolean

Required

chkGebucht

boolean

Required

EMailAdressen

string

None.

AnzahlEMail

string

None.

AnzahlGremienmitglieder

integer

Required

TeilnehmermitEMail

Collection of KeyValue

None.

lblTeilnehmerohneEMail

string

None.

TeilnehmerohneEMail

boolean

Required

lblTeilnehmerperPost

string

None.

TeilnehmerperPost

boolean

Required

SenderEMailAdresse

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmailType": 1,
  "chkWarteliste": true,
  "chkReserviert": true,
  "chkGebucht": true,
  "EMailAdressen": "sample string 5",
  "AnzahlEMail": "sample string 6",
  "AnzahlGremienmitglieder": 7,
  "TeilnehmermitEMail": [
    {
      "Id": 1,
      "Value": "sample string 2"
    },
    {
      "Id": 1,
      "Value": "sample string 2"
    }
  ],
  "lblTeilnehmerohneEMail": "sample string 8",
  "TeilnehmerohneEMail": true,
  "lblTeilnehmerperPost": "sample string 10",
  "TeilnehmerperPost": true,
  "SenderEMailAdresse": "sample string 12"
}

application/xml, text/xml

Sample:
<VerTeilnehmerEmailVersand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ver.Models">
  <AnzahlEMail>sample string 6</AnzahlEMail>
  <AnzahlGremienmitglieder>7</AnzahlGremienmitglieder>
  <EMailAdressen>sample string 5</EMailAdressen>
  <EmailType>1</EmailType>
  <SenderEMailAdresse>sample string 12</SenderEMailAdresse>
  <TeilnehmermitEMail xmlns:d2p1="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
    <d2p1:KeyValue>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValue>
    <d2p1:KeyValue>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValue>
  </TeilnehmermitEMail>
  <TeilnehmerohneEMail>true</TeilnehmerohneEMail>
  <TeilnehmerperPost>true</TeilnehmerperPost>
  <chkGebucht>true</chkGebucht>
  <chkReserviert>true</chkReserviert>
  <chkWarteliste>true</chkWarteliste>
  <lblTeilnehmerohneEMail>sample string 8</lblTeilnehmerohneEMail>
  <lblTeilnehmerperPost>sample string 10</lblTeilnehmerperPost>
</VerTeilnehmerEmailVersand>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VerTeilnehmerEmailVersand'.

Response Information

Resource Description

ValidationResult
NameDescriptionTypeAdditional information
ErrorMsg

string

None.

HintMsg

string

None.

ErrorFieldNames

Collection of string

None.

FieldName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorMsg": "sample string 1",
  "HintMsg": "sample string 2",
  "ErrorFieldNames": [
    "sample string 1",
    "sample string 2"
  ],
  "FieldName": "sample string 3"
}

application/xml, text/xml

Sample:
<ValidationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <ErrorFieldNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorFieldNames>
  <ErrorMsg>sample string 1</ErrorMsg>
  <FieldName>sample string 3</FieldName>
  <HintMsg>sample string 2</HintMsg>
</ValidationResult>