Skip to content

Latest commit

 

History

History
90 lines (62 loc) · 2.11 KB

IDMApi.md

File metadata and controls

90 lines (62 loc) · 2.11 KB

IDMApi

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

idmRegisterPost(body)

Create an agency for having the clientId and secret for the authentication token

Example

// 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();
}

Parameters

Name Type Description Notes
body Body7 agency registration request

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

idmTokenPost

idmTokenPost(generateToken)

Generate an authentication token

Example

// 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();
}

Parameters

Name Type Description Notes
generateToken GenerateToken token generation request

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined