Skip to content

Latest commit

 

History

History
379 lines (267 loc) · 8.67 KB

UsersApi.md

File metadata and controls

379 lines (267 loc) · 8.67 KB

UsersApi

All URIs are relative to https://api.openmove.com

Method HTTP request Description
userCardRegistrationApiResponsePost POST /user/card/registration/api/response Get card registration response via PSP
userCardRegistrationDelete DELETE /user/card/registration Delete card registration via PSP
userCardRegistrationPost POST /user/card/registration Get card registration via PSP
userCardRegistrationResponsePost POST /user/card/registration/response Get card registration response via PSP
userCheckPost POST /user/check Check user
userGet GET /user Get users
userPost POST /user Register new user
userUserIdDelete DELETE /user/{userId} Delete user
userUserIdPut PUT /user/{userId} Update user

userCardRegistrationApiResponsePost

userCardRegistrationApiResponsePost(body)

Get card registration response via PSP

Example

// Import classes:
//import com.openmove.api.UsersApi;

UsersApi apiInstance = new UsersApi();
Object body = null; // Object | PSP response obj
try {
    apiInstance.userCardRegistrationApiResponsePost(body);
} catch (ApiException e) {
    System.err.println("Exception when calling UsersApi#userCardRegistrationApiResponsePost");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
body Object PSP response obj

Return type

null (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: text/plain

userCardRegistrationDelete

userCardRegistrationDelete(body)

Delete card registration via PSP

Example

// Import classes:
//import com.openmove.api.UsersApi;

UsersApi apiInstance = new UsersApi();
Body15 body = new Body15(); // Body15 | card registration delete request
try {
    apiInstance.userCardRegistrationDelete(body);
} catch (ApiException e) {
    System.err.println("Exception when calling UsersApi#userCardRegistrationDelete");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
body Body15 card registration delete request

Return type

null (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: text/plain

userCardRegistrationPost

userCardRegistrationPost(body)

Get card registration via PSP

Example

// Import classes:
//import com.openmove.api.UsersApi;

UsersApi apiInstance = new UsersApi();
Body14 body = new Body14(); // Body14 | card registration request
try {
    apiInstance.userCardRegistrationPost(body);
} catch (ApiException e) {
    System.err.println("Exception when calling UsersApi#userCardRegistrationPost");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
body Body14 card registration request

Return type

null (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: text/plain

userCardRegistrationResponsePost

userCardRegistrationResponsePost(body)

Get card registration response via PSP

Example

// Import classes:
//import com.openmove.api.UsersApi;

UsersApi apiInstance = new UsersApi();
Object body = null; // Object | PSP response obj
try {
    apiInstance.userCardRegistrationResponsePost(body);
} catch (ApiException e) {
    System.err.println("Exception when calling UsersApi#userCardRegistrationResponsePost");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
body Object PSP response obj

Return type

null (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: text/plain

userCheckPost

userCheckPost(body)

Check user

Example

// Import classes:
//import com.openmove.api.UsersApi;

UsersApi apiInstance = new UsersApi();
UserCheckRequest body = new UserCheckRequest(); // UserCheckRequest | user check
try {
    apiInstance.userCheckPost(body);
} catch (ApiException e) {
    System.err.println("Exception when calling UsersApi#userCheckPost");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
body UserCheckRequest user check

Return type

null (empty response body)

Authorization

Bearer

HTTP request headers

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

userGet

userGet(userId)

Get users

Example

// Import classes:
//import com.openmove.api.UsersApi;

UsersApi apiInstance = new UsersApi();
String userId = "userId_example"; // String | user id
try {
    apiInstance.userGet(userId);
} catch (ApiException e) {
    System.err.println("Exception when calling UsersApi#userGet");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
userId String user id [optional]

Return type

null (empty response body)

Authorization

Bearer

HTTP request headers

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

userPost

userPost(body)

Register new user

Example

// Import classes:
//import com.openmove.api.UsersApi;

UsersApi apiInstance = new UsersApi();
UserRequest body = new UserRequest(); // UserRequest | user registration
try {
    apiInstance.userPost(body);
} catch (ApiException e) {
    System.err.println("Exception when calling UsersApi#userPost");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
body UserRequest user registration

Return type

null (empty response body)

Authorization

Bearer

HTTP request headers

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

userUserIdDelete

userUserIdDelete(userId)

Delete user

Example

// Import classes:
//import com.openmove.api.UsersApi;

UsersApi apiInstance = new UsersApi();
String userId = "userId_example"; // String | user id
try {
    apiInstance.userUserIdDelete(userId);
} catch (ApiException e) {
    System.err.println("Exception when calling UsersApi#userUserIdDelete");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
userId String user id

Return type

null (empty response body)

Authorization

Bearer

HTTP request headers

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

userUserIdPut

userUserIdPut(userId, body)

Update user

Example

// Import classes:
//import com.openmove.api.UsersApi;

UsersApi apiInstance = new UsersApi();
String userId = "userId_example"; // String | user id
UserProfileRequest body = new UserProfileRequest(); // UserProfileRequest | user registration
try {
    apiInstance.userUserIdPut(userId, body);
} catch (ApiException e) {
    System.err.println("Exception when calling UsersApi#userUserIdPut");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
userId String user id
body UserProfileRequest user registration

Return type

null (empty response body)

Authorization

Bearer

HTTP request headers

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