Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. ApiClient.java: This Java file contains Main, Login, Logout methods. Also, configuration attributes- URL, username, and password.

  2. CprDetails.java: This file includes JSON payload in string format. It returns your JSON payload.

  3. CprService.java: This file contains one method which accepts authentication token and URL.

Reference Code

https://github.com/krishagni/os-extensions/tree/master/Collection-protcol-registrations-simple-java-code

...