Class Index
java.lang.Object
com.ringcentral.paths.restapi.v2.accounts.sms.consents.Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete(DeleteOptRecordList deleteOptRecordList) Deletes SMS consent records.export()get()get(ListSmsConsentRecordsParameters queryParams) Returns a list of account-level SMS consent records for opted-out and/or opted-in phone numbers.patch(UpdateOptRecordList updateOptRecordList) Adds or updates SMS consent records.path()
-
Field Details
-
rc
-
parent
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
get
public OptRecordList get(ListSmsConsentRecordsParameters queryParams) throws RestException, IOException Returns a list of account-level SMS consent records for opted-out and/or opted-in phone numbers.HTTP Method: get Endpoint: /restapi/v2/accounts/{accountId}/sms/consents Rate Limit Group: Light App Permission: SMS
- Throws:
RestExceptionIOException
-
get
- Throws:
RestExceptionIOException
-
delete
public OptRecordsModificationSummary delete(DeleteOptRecordList deleteOptRecordList) throws RestException, IOException Deletes SMS consent records.HTTP Method: delete Endpoint: /restapi/v2/accounts/{accountId}/sms/consents Rate Limit Group: Light App Permission: SMS
- Throws:
RestExceptionIOException
-
patch
public OptRecordsModificationSummary patch(UpdateOptRecordList updateOptRecordList) throws RestException, IOException Adds or updates SMS consent records.HTTP Method: patch Endpoint: /restapi/v2/accounts/{accountId}/sms/consents Rate Limit Group: Light App Permission: SMS
- Throws:
RestExceptionIOException
-
export
-