All URIs are relative to https://api.openmove.com
Method | HTTP request | Description |
---|---|---|
idmRegisterPost | POST /idm/register | Create an agency for having the clientId and secret for the authentication token |
idmTokenPost | POST /idm/token | Generate an authentication token |
idmRegisterPost(body)
Create an agency for having the clientId and secret for the authentication token
// Import classes:
//import com.openmove.api.IDMApi;
IDMApi apiInstance = new IDMApi();
Body7 body = new Body7(); // Body7 | agency registration request
try {
apiInstance.idmRegisterPost(body);
} catch (ApiException e) {
System.err.println("Exception when calling IDMApi#idmRegisterPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | Body7 | agency registration request |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
idmTokenPost(generateToken)
Generate an authentication token
// Import classes:
//import com.openmove.api.IDMApi;
IDMApi apiInstance = new IDMApi();
GenerateToken generateToken = new GenerateToken(); // GenerateToken | token generation request
try {
apiInstance.idmTokenPost(generateToken);
} catch (ApiException e) {
System.err.println("Exception when calling IDMApi#idmTokenPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
generateToken | GenerateToken | token generation request |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined