GET example/api/SmsRecipient?mobileNumber={mobileNumber}

https://app.bwz.se/bedrock/example/api/SmsRecipient?mobileNumber={mobileNumber}

Gets SmsRecipients based on a mobile number.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mobileNumber

The mobile number identifying the SmsRecipients.

string

Required

Body Parameters

None.

Response Information

Resource Description

An array of SmsRecipientModels.

Collection of SmsRecipientModel
NameDescriptionTypeAdditional information
CreatedByUserId

Id of the user which created the recipient

integer

None.

CreationDate

Gets or sets the creation date.

date

None.

MobileNumber

Gets or sets the mobile number.

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-11-21T17:54:17.8720842+01:00",
    "MobileNumber": "sample string 3",
    "Id": 4,
    "RecipientEntrySource": "sample string 5",
    "Properties": [
      {
        "Name": "sample string 1",
        "Value": {}
      },
      {
        "Name": "sample string 1",
        "Value": {}
      }
    ]
  },
  {
    "CreatedByUserId": 1,
    "CreationDate": "2024-11-21T17:54:17.8720842+01:00",
    "MobileNumber": "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:
<ArrayOfSmsRecipientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.SmsRecipient">
  <SmsRecipientModel>
    <CreatedByUserId>1</CreatedByUserId>
    <CreationDate>2024-11-21T17:54:17.8720842+01:00</CreationDate>
    <Id>4</Id>
    <MobileNumber>sample string 3</MobileNumber>
    <Properties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailRecipient">
      <d3p1:PropertyValueModel>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Value />
      </d3p1:PropertyValueModel>
      <d3p1:PropertyValueModel>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Value />
      </d3p1:PropertyValueModel>
    </Properties>
    <RecipientEntrySource>sample string 5</RecipientEntrySource>
  </SmsRecipientModel>
  <SmsRecipientModel>
    <CreatedByUserId>1</CreatedByUserId>
    <CreationDate>2024-11-21T17:54:17.8720842+01:00</CreationDate>
    <Id>4</Id>
    <MobileNumber>sample string 3</MobileNumber>
    <Properties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailRecipient">
      <d3p1:PropertyValueModel>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Value />
      </d3p1:PropertyValueModel>
      <d3p1:PropertyValueModel>
        <d3p1:Name>sample string 1</d3p1:Name>
        <d3p1:Value />
      </d3p1:PropertyValueModel>
    </Properties>
    <RecipientEntrySource>sample string 5</RecipientEntrySource>
  </SmsRecipientModel>
</ArrayOfSmsRecipientModel>