GET example/api/mailrecipient/GetAllInMailRecipientList/{id}

https://app.bwz.se/bedrock/example/api/mailrecipient/GetAllInMailRecipientList/{id}

Gets all MailRecipients in a MailRecipientList.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of the MailRecipientList the MailRecipients belong to.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of MailRecipientModel
NameDescriptionTypeAdditional information
CreatedByUserId

Id of the user which created the recipient

integer

None.

CreationDate

Gets or sets the creation date.

date

None.

Email

Gets or sets the email.

string

None.

Id

Gets or sets the identifier.

integer

None.

RecipientEntrySource

Gets or sets the recipient entry source.

string

None.

Properties

Gets or sets the properties.

Collection of PropertyValueModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CreatedByUserId": 1,
    "CreationDate": "2024-12-23T06:42:19.7445098+01:00",
    "Email": "sample string 3",
    "Id": 4,
    "RecipientEntrySource": "sample string 5",
    "Properties": [
      {
        "Name": "sample string 1",
        "Value": {}
      },
      {
        "Name": "sample string 1",
        "Value": {}
      }
    ]
  },
  {
    "CreatedByUserId": 1,
    "CreationDate": "2024-12-23T06:42:19.7445098+01:00",
    "Email": "sample string 3",
    "Id": 4,
    "RecipientEntrySource": "sample string 5",
    "Properties": [
      {
        "Name": "sample string 1",
        "Value": {}
      },
      {
        "Name": "sample string 1",
        "Value": {}
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfMailRecipientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailRecipient">
  <MailRecipientModel>
    <CreatedByUserId>1</CreatedByUserId>
    <CreationDate>2024-12-23T06:42:19.7445098+01:00</CreationDate>
    <Email>sample string 3</Email>
    <Id>4</Id>
    <Properties>
      <PropertyValueModel>
        <Name>sample string 1</Name>
        <Value />
      </PropertyValueModel>
      <PropertyValueModel>
        <Name>sample string 1</Name>
        <Value />
      </PropertyValueModel>
    </Properties>
    <RecipientEntrySource>sample string 5</RecipientEntrySource>
  </MailRecipientModel>
  <MailRecipientModel>
    <CreatedByUserId>1</CreatedByUserId>
    <CreationDate>2024-12-23T06:42:19.7445098+01:00</CreationDate>
    <Email>sample string 3</Email>
    <Id>4</Id>
    <Properties>
      <PropertyValueModel>
        <Name>sample string 1</Name>
        <Value />
      </PropertyValueModel>
      <PropertyValueModel>
        <Name>sample string 1</Name>
        <Value />
      </PropertyValueModel>
    </Properties>
    <RecipientEntrySource>sample string 5</RecipientEntrySource>
  </MailRecipientModel>
</ArrayOfMailRecipientModel>