Interact with the public REST API on a ServiceNow instance
-
- UpdatedFeb 1, 2024
- 2 minutes to read
- Washington DC
- Developer guides
The Mobile SDK provides functionality that enables Android applications to call the public REST API on a ServiceNow instance.
Using the NowAPIService API you can interact with any of the base ServiceNow public REST APIs, or create custom REST APIs within the instance and call those from your Android application.
Before making a call to a ServiceNow REST API, you must call themakeNowAPIService() method to create an instance of the service. The service instance is returned in the callback if successful otherwise, an error is thrown.