POST api/lists/{listId}/subscribers/import

Request Information

URI Parameters

NameDescriptionTypeAdditional information
listId

integer

Required

Body Parameters

Collection of SmsSubscriber
NameDescriptionTypeAdditional information
MobileNumber

string

None.

DateCreated

date

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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 'List`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.