POST example/api/smsrecipient/delete

https://app.bwz.se/bedrock/example/api/smsrecipient/delete

Delete multiple (max 50)SmsRecipients.

Request Information

URI Parameters

None.

Body Parameters

Mobile numbers with countrycode (+461234567) of the recipients to delete

DeleteSmsRecipientsArgs
NameDescriptionTypeAdditional information
Ids

Ids of the recipients to delete

Collection of integer

None.

MobileNumbers

Mobile numbers with countrycode (+461234567) of the recipients to delete

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Ids": [
    1,
    2
  ],
  "MobileNumbers": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<DeleteSmsRecipientsArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.SmsRecipient">
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Ids>
  <MobileNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </MobileNumbers>
</DeleteSmsRecipientsArgs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The number of unique recipients found and deleted

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>