Package com.mypurecloud.sdk.v2.api
Class CarrierServicesApi
java.lang.Object
com.mypurecloud.sdk.v2.api.CarrierServicesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCarrierservicesIntegrationsEmergencylocationsMe(GetCarrierservicesIntegrationsEmergencylocationsMeRequest request) Get location for the logged in userGet location for the logged in usergetCarrierservicesIntegrationsEmergencylocationsMe(String phoneNumber) Get location for the logged in userGet location for the logged in userpostCarrierservicesIntegrationsEmergencylocationsMe(PostCarrierservicesIntegrationsEmergencylocationsMeRequest request) Set current location for the logged in userSet current location for the logged in userSet current location for the logged in userSet current location for the logged in user
-
Constructor Details
-
CarrierServicesApi
public CarrierServicesApi() -
CarrierServicesApi
-
-
Method Details
-
getCarrierservicesIntegrationsEmergencylocationsMe
public EmergencyLocation getCarrierservicesIntegrationsEmergencylocationsMe(String phoneNumber) throws IOException, ApiException Get location for the logged in user- Parameters:
phoneNumber- Phone number in E164 format (required)- Returns:
- EmergencyLocation
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getCarrierservicesIntegrationsEmergencylocationsMeWithHttpInfo
public ApiResponse<EmergencyLocation> getCarrierservicesIntegrationsEmergencylocationsMeWithHttpInfo(String phoneNumber) throws IOException Get location for the logged in user- Parameters:
phoneNumber- Phone number in E164 format (required)- Returns:
- EmergencyLocation
- Throws:
IOException- if the request fails to be processed
-
getCarrierservicesIntegrationsEmergencylocationsMe
public EmergencyLocation getCarrierservicesIntegrationsEmergencylocationsMe(GetCarrierservicesIntegrationsEmergencylocationsMeRequest request) throws IOException, ApiException Get location for the logged in user- Parameters:
request- The request object- Returns:
- EmergencyLocation
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getCarrierservicesIntegrationsEmergencylocationsMe
public ApiResponse<EmergencyLocation> getCarrierservicesIntegrationsEmergencylocationsMe(ApiRequest<Void> request) throws IOException Get location for the logged in user- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postCarrierservicesIntegrationsEmergencylocationsMe
public EmergencyLocation postCarrierservicesIntegrationsEmergencylocationsMe(EmergencyLocation body) throws IOException, ApiException Set current location for the logged in user- Parameters:
body- (optional)- Returns:
- EmergencyLocation
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postCarrierservicesIntegrationsEmergencylocationsMeWithHttpInfo
public ApiResponse<EmergencyLocation> postCarrierservicesIntegrationsEmergencylocationsMeWithHttpInfo(EmergencyLocation body) throws IOException Set current location for the logged in user- Parameters:
body- (optional)- Returns:
- EmergencyLocation
- Throws:
IOException- if the request fails to be processed
-
postCarrierservicesIntegrationsEmergencylocationsMe
public EmergencyLocation postCarrierservicesIntegrationsEmergencylocationsMe(PostCarrierservicesIntegrationsEmergencylocationsMeRequest request) throws IOException, ApiException Set current location for the logged in user- Parameters:
request- The request object- Returns:
- EmergencyLocation
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postCarrierservicesIntegrationsEmergencylocationsMe
public ApiResponse<EmergencyLocation> postCarrierservicesIntegrationsEmergencylocationsMe(ApiRequest<EmergencyLocation> request) throws IOException Set current location for the logged in user- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-