GET example/api/smsrecipient/GetAllInSmsRecipientList/{id}
https://app.bwz.se/bedrock/example/api/smsrecipient/GetAllInSmsRecipientList/{id}
Gets all SmsRecipients in a SmsRecipientList.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id of the SmsRecipientList the SmsRecipients belong to. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SmsRecipientModelName | Description | Type | Additional 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:03:51.8410542+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:03:51.8410542+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:03:51.8410542+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:03:51.8410542+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>