PUT api/Subscribers?listId={listId}&number={number}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
listId

integer

Required

number

string

Required

Body Parameters

SmsSubscriber
NameDescriptionTypeAdditional information
MobileNumber

string

None.

DateCreated

date

None.

Request Formats

application/json, text/json

Sample:
{
  "MobileNumber": "sample string 1",
  "DateCreated": "2026-11-03T23:02:16.2704238+02:00"
}

application/xml, text/xml

Sample:
<SmsSubscriber xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBP5.API.Sms.Models">
  <DateCreated>2026-11-03T23:02:16.2704238+02:00</DateCreated>
  <MobileNumber>sample string 1</MobileNumber>
</SmsSubscriber>

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 'SmsSubscriber'.

Response Information

Resource Description

SmsSubscriber
NameDescriptionTypeAdditional information
MobileNumber

string

None.

DateCreated

date

None.

Response Formats

application/json, text/json

Sample:
{
  "MobileNumber": "sample string 1",
  "DateCreated": "2026-11-03T23:02:16.2714292+02:00"
}

application/xml, text/xml

Sample:
<SmsSubscriber xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBP5.API.Sms.Models">
  <DateCreated>2026-11-03T23:02:16.2714292+02:00</DateCreated>
  <MobileNumber>sample string 1</MobileNumber>
</SmsSubscriber>