Interface ApplicationsService
public interface ApplicationsService
Applications Service
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignNumbers(UpdateNumbersRequest updateNumbersRequest) Update NumbersgetEventDestinations(String applicationkey) Get Callback URLsGet NumbersvoidunassignNumber(UnAssignNumberRequest unAssignNumberRequest) Un-assign numbervoidupdateEventDestinations(String applicationkey, EventDestinations eventDestinations) Update Callbacks
-
Method Details
-
assignNumbers
Update NumbersAssign a number or a list of numbers to an application.
- Parameters:
updateNumbersRequest- (optional)- Throws:
ApiException- if fails to make API call
-
getEventDestinations
Get Callback URLsReturns any callback URLs configured for the specified application.
- Parameters:
applicationkey- The unique identifying key of the application. (required)- Returns:
- EventDestinations
- Throws:
ApiException- if fails to make API call
-
listNumbers
Get NumbersGet information about your numbers. It returns a list of numbers that you own, as well as their capability (voice or SMS). For the ones that are assigned to an app, it returns the application key of the app.
- Returns:
- OwnedNumbersListResponse
- Throws:
ApiException- if fails to make API call
-
unassignNumber
Un-assign numberUn-assign a number from an application.
- Parameters:
unAssignNumberRequest- (optional)- Throws:
ApiException- if fails to make API call
-
updateEventDestinations
void updateEventDestinations(String applicationkey, EventDestinations eventDestinations) throws ApiException Update CallbacksUpdate the configured callback URLs for the specified application.
- Parameters:
applicationkey- The unique identifying key of the application. (required)eventDestinations- (optional)- Throws:
ApiException- if fails to make API call
-