All URIs are relative to https://api.saasgrids.com/apis/crms/
Method | HTTP request | Description |
---|---|---|
getUsers | GET /{userId}/users/{email} | Get all users |
InlineResponse200 getUsers(userId, email)
Get all users
// Import classes:
//import crms.ApiClient;
//import crms.ApiException;
//import crms.Configuration;
//import crms.auth.*;
//import saasgrids.UsersApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuth.setUsername("YOUR USERNAME");
basicAuth.setPassword("YOUR PASSWORD");
UsersApi apiInstance = new UsersApi();
String userId = "userId_example"; // String | User instance id returned from saasgrids after authorization
String email = "email_example"; // String | Registered emailid in Crm
try {
InlineResponse200 result = apiInstance.getUsers(userId, email);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UsersApi#getUsers");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | User instance id returned from saasgrids after authorization | |
String | Registered emailid in Crm |
- Content-Type: application/json
- Accept: application/json