Obtaining a client
Internally, the APIClient client is used to resolve remote API objects. To allow the APIClient to correctly, e.g use correct credentials for authentication , an Service instance is required with a matching api_root. This replaces the previous mechanism to use APICredentials for this purpose. A transition from APICredentials to the Service model is performed automatically with the data migration.