Retrieve a list of subscription
post
/api/rest/2.0/data/sms/subscription
Retrieve consent of a list of phone numbers, a maximum of 10 phone numbers can be passed in a single request.
Request
Supported Media Types
- application/json
Header Parameters
-
X-HTTP-Method-Override(required): string(string)
ISmsSubscriptionService_Parameter_Search_xhttpmethodoverride_DescriptionDefault Value:
SEARCH
The request body defines the details of the subscription message to be updated.
Root Schema : PhoneNumberSubscriptionSearch
Type:
object
Title:
Show Source
PhoneNumberSubscriptionSearch
-
depth:
string
Read Only:
true
PhoneNumberSubscriptionSearch_Field_Depth_Description -
phoneNumbers:
array phoneNumbers
PhoneNumberSubscriptionSearch_Field_PhoneNumbers_Description
-
type:
string
PhoneNumberSubscriptionSearch_Field_Type_Description
Nested Schema : phoneNumbers
Type:
array
PhoneNumberSubscriptionSearch_Field_PhoneNumbers_Description
Show Source
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : PhoneNumberSubscription
Type:
object
Title:
Show Source
PhoneNumberSubscription
-
history:
array history
PhoneNumberSubscription_Field_History_Description
-
normalizedPhoneNumber:
string
PhoneNumberSubscription_Field_NormalizedPhoneNumber_Description
-
originalPhoneNumber:
string
PhoneNumberSubscription_Field_OriginalPhoneNumber_Description
-
status:
string
PhoneNumberSubscription_Field_Status_Description
-
timestamp:
string
PhoneNumberSubscription_Field_Timestamp_Description
-
type:
string
PhoneNumberSubscription_Field_Type_Description
Nested Schema : history
Type:
array
PhoneNumberSubscription_Field_History_Description
Show Source
-
Array of:
object PhoneNumberSubscriptionHistory
Title:
PhoneNumberSubscriptionHistory
Nested Schema : PhoneNumberSubscriptionHistory
Type:
object
Title:
Show Source
PhoneNumberSubscriptionHistory
-
sourceType:
string
Allowed Values:
[ "CreateEntity", "UpdateEntity", "ContactAsynchronousClear", "BulkUpdate", "WorkFlowUpdateRule", "ProgramBuilderUpdateRule", "ProgramBuilderDedupeHandler", "BulkApi", "DataImport", "SharedListRunUpdateRule", "InitialLoad", "SmsSubscriptionRestApi", "SmsSubscriptionBulkApi", "SmsSubscriptionDataImport", "SmsReply", "Visitor" ]
-
status:
string
-
timestamp:
string
-
type:
string
-
userId:
Title:
System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
400 Response
Bad request. See Status Codes for information about other possible HTTP status codes.
401 Response
Unauthorized. See Status Codes for information about other possible HTTP status codes.
403 Response
Forbidden. See Status Codes for information about other possible HTTP status codes.
404 Response
The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
500 Response
The service has encountered an error. See Status Codes for information about other possible HTTP status codes.