All URIs are relative to https://backend.id4i.de
| Method | HTTP request | Description |
|---|---|---|
| addPartnerOrganization | PUT /api/v1/organizations/{organizationId}/partner | Add partner |
| addUserRoles | POST /api/v1/organizations/{organizationId}/users/{username}/roles | Add role(s) to user |
| createOrganization | POST /api/v1/organizations | Create organization |
| deleteOrganization | DELETE /api/v1/organizations/{organizationId} | Delete organization |
| deleteOrganizationBillingAddress | DELETE /api/v1/organizations/{organizationId}/addresses/billing | Remove billing address |
| deleteOrganizationLogo | DELETE /api/v1/organizations/{organizationId}/logo | Delete organization logo |
| findOrganization | GET /api/v1/organizations/{organizationId} | Find organization by id/namespace |
| findOrganizationAddress | GET /api/v1/organizations/{organizationId}/addresses/default | Retrieve address |
| findOrganizationBillingAddress | GET /api/v1/organizations/{organizationId}/addresses/billing | Retrieve billing address |
| getAllCollectionsOfOrganization | GET /api/v1/organizations/{organizationId}/collections | Get collections of organization |
| getAllOrganizationRoles | GET /api/v1/organizations/{organizationId}/roles | List users and their roles |
| getOrganizationPrivileges | GET /api/v1/organizations/{organizationId}/privileges | List my privileges |
| getOrganizationsOfUser | GET /api/v1/user/organizations | Retrieve organizations of user |
| getPartnerOrganizations | GET /api/v1/organizations/{organizationId}/partner | Get partners of an organization |
| getUserRoles | GET /api/v1/organizations/{organizationId}/users/{username}/roles | Get user roles by username |
| getUsersOfOrganization | GET /api/v1/organizations/{organizationId}/users | Find users in organization |
| inviteUsers | POST /api/v1/organizations/{organizationId}/users/invite | Invite Users |
| listCountries | GET /api/v1/countries | List countries |
| removePartnerOrganization | DELETE /api/v1/organizations/{organizationId}/partner | Remove partner |
| removeUserRoles | DELETE /api/v1/organizations/{organizationId}/users/{username}/roles | Remove role(s) from user |
| setOrganizationLogo | POST /api/v1/organizations/{organizationId}/logo | Update organization logo |
| updateOrganization | PUT /api/v1/organizations/{organizationId} | Update organization |
| updateOrganizationAddress | PUT /api/v1/organizations/{organizationId}/addresses/default | Store address |
| updateOrganizationBillingAddress | PUT /api/v1/organizations/{organizationId}/addresses/billing | Store billing address |
addPartnerOrganization(organizationId, request)
Add partner
Adding a partner organization. If the given organization is already a partner the result will be state 200 too.
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization
AddPartnerRequest request = new AddPartnerRequest(); // AddPartnerRequest | request
try {
apiInstance.addPartnerOrganization(organizationId, request);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#addPartnerOrganization");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization | |
| request | AddPartnerRequest | request |
null (empty response body)
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
addUserRoles(organizationId, username, changeRoleRequest)
Add role(s) to user
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization
String username = "username_example"; // String | username
ChangeRoleRequest changeRoleRequest = new ChangeRoleRequest(); // ChangeRoleRequest | changeRoleRequest
try {
apiInstance.addUserRoles(organizationId, username, changeRoleRequest);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#addUserRoles");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization | |
| username | String | username | |
| changeRoleRequest | ChangeRoleRequest | changeRoleRequest |
null (empty response body)
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
Organization createOrganization(organization)
Create organization
Creating a new organization.
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
Organization organization = new Organization(); // Organization | Organization to be created
try {
Organization result = apiInstance.createOrganization(organization);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#createOrganization");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organization | Organization | Organization to be created |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
deleteOrganization(organizationId)
Delete organization
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization to be deleted.
try {
apiInstance.deleteOrganization(organizationId);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#deleteOrganization");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization to be deleted. |
null (empty response body)
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
deleteOrganizationBillingAddress(organizationId)
Remove billing address
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | organizationId
try {
apiInstance.deleteOrganizationBillingAddress(organizationId);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#deleteOrganizationBillingAddress");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | organizationId |
null (empty response body)
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
deleteOrganizationLogo(organizationId)
Delete organization logo
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization where the logo should be deleted.
try {
apiInstance.deleteOrganizationLogo(organizationId);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#deleteOrganizationLogo");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization where the logo should be deleted. |
null (empty response body)
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
Organization findOrganization(organizationId)
Find organization by id/namespace
Returns a single organization.
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization to be retrieved.
try {
Organization result = apiInstance.findOrganization(organizationId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#findOrganization");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization to be retrieved. |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
OrganizationAddress findOrganizationAddress(organizationId)
Retrieve address
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | organizationId
try {
OrganizationAddress result = apiInstance.findOrganizationAddress(organizationId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#findOrganizationAddress");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | organizationId |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
OrganizationAddress findOrganizationBillingAddress(organizationId)
Retrieve billing address
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | organizationId
try {
OrganizationAddress result = apiInstance.findOrganizationBillingAddress(organizationId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#findOrganizationBillingAddress");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | organizationId |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
PaginatedResponseOfGuidCollection getAllCollectionsOfOrganization(organizationId, offset, limit, type, label, labelPrefix, property)
Get collections of organization
Retrieving all collections of an organization in a paginated manner. You may filter the results by specifying id4n properties with filter operations (eq, in, ne) in the query parameters. e.g. `com.yourcompany.orderId.eq=1234`
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization
Integer offset = 56; // Integer | Start with the n-th element
Integer limit = 56; // Integer | The maximum count of returned elements
String type = "type_example"; // String | Filter by this type
String label = "label_example"; // String | Filter by this label
String labelPrefix = "labelPrefix_example"; // String | Filter by this label prefix
List<String> property = Arrays.asList("property_example"); // List<String> | List of i4dn property filter. e.g. \"com.myorga.state:IN:waiting|processing\" or \"com.myorga.orderId:EQ:SAP001\"
try {
PaginatedResponseOfGuidCollection result = apiInstance.getAllCollectionsOfOrganization(organizationId, offset, limit, type, label, labelPrefix, property);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#getAllCollectionsOfOrganization");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization | |
| offset | Integer | Start with the n-th element | [optional] |
| limit | Integer | The maximum count of returned elements | [optional] |
| type | String | Filter by this type | [optional] [enum: ROUTING_COLLECTION, LOGISTIC_COLLECTION, LABELLED_COLLECTION] |
| label | String | Filter by this label | [optional] |
| labelPrefix | String | Filter by this label prefix | [optional] |
| property | List<String> | List of i4dn property filter. e.g. "com.myorga.state:IN:waiting | processing" or "com.myorga.orderId:EQ:SAP001" |
PaginatedResponseOfGuidCollection
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
PaginatedResponseOfUserRoles getAllOrganizationRoles(organizationId, offset, limit)
List users and their roles
Listing users and their roles in a paginated manner.
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | organizationId
Integer offset = 56; // Integer | Start with the n-th element
Integer limit = 56; // Integer | The maximum count of returned elements
try {
PaginatedResponseOfUserRoles result = apiInstance.getAllOrganizationRoles(organizationId, offset, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#getAllOrganizationRoles");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | organizationId | |
| offset | Integer | Start with the n-th element | [optional] |
| limit | Integer | The maximum count of returned elements | [optional] |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
List<String> getOrganizationPrivileges(organizationId)
List my privileges
Listing all privileges of the current user/APIKey of the specified organization.
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization
try {
List<String> result = apiInstance.getOrganizationPrivileges(organizationId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#getOrganizationPrivileges");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization |
List<String>
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
PaginatedResponseOfOrganization getOrganizationsOfUser(role, offset, limit)
Retrieve organizations of user
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String role = "role_example"; // String | role
Integer offset = 56; // Integer | Start with the n-th element
Integer limit = 56; // Integer | The maximum count of returned elements
try {
PaginatedResponseOfOrganization result = apiInstance.getOrganizationsOfUser(role, offset, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#getOrganizationsOfUser");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| role | String | role | [optional] |
| offset | Integer | Start with the n-th element | [optional] |
| limit | Integer | The maximum count of returned elements | [optional] |
PaginatedResponseOfOrganization
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
PaginatedResponseOfPartnerOrganization getPartnerOrganizations(organizationId, offset, limit)
Get partners of an organization
Listing partners in a paginated manner.
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization to query partner organizations
Integer offset = 56; // Integer | Start with the n-th element
Integer limit = 56; // Integer | The maximum count of returned elements
try {
PaginatedResponseOfPartnerOrganization result = apiInstance.getPartnerOrganizations(organizationId, offset, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#getPartnerOrganizations");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization to query partner organizations | |
| offset | Integer | Start with the n-th element | [optional] |
| limit | Integer | The maximum count of returned elements | [optional] |
PaginatedResponseOfPartnerOrganization
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
PaginatedResponseOfstring getUserRoles(organizationId, username, offset, limit)
Get user roles by username
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization
String username = "username_example"; // String | username
Integer offset = 56; // Integer | Start with the n-th element
Integer limit = 56; // Integer | The maximum count of returned elements
try {
PaginatedResponseOfstring result = apiInstance.getUserRoles(organizationId, username, offset, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#getUserRoles");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization | |
| username | String | username | |
| offset | Integer | Start with the n-th element | [optional] |
| limit | Integer | The maximum count of returned elements | [optional] |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
PaginatedResponseOfUserPresentation getUsersOfOrganization(organizationId, offset, limit)
Find users in organization
Finding users in the specified organization in a paginated manner.
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | organizationId
Integer offset = 56; // Integer | Start with the n-th element
Integer limit = 56; // Integer | The maximum count of returned elements
try {
PaginatedResponseOfUserPresentation result = apiInstance.getUsersOfOrganization(organizationId, offset, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#getUsersOfOrganization");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | organizationId | |
| offset | Integer | Start with the n-th element | [optional] |
| limit | Integer | The maximum count of returned elements | [optional] |
PaginatedResponseOfUserPresentation
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
inviteUsers(organizationId, invitationList)
Invite Users
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization where users should be invited
OrganizationUserInvitationListRequest invitationList = new OrganizationUserInvitationListRequest(); // OrganizationUserInvitationListRequest | invitationList
try {
apiInstance.inviteUsers(organizationId, invitationList);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#inviteUsers");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization where users should be invited | |
| invitationList | OrganizationUserInvitationListRequest | invitationList |
null (empty response body)
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
PaginatedResponseOfCountry listCountries(offset, limit)
List countries
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
Integer offset = 56; // Integer | Start with the n-th element
Integer limit = 56; // Integer | The maximum count of returned elements
try {
PaginatedResponseOfCountry result = apiInstance.listCountries(offset, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#listCountries");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| offset | Integer | Start with the n-th element | [optional] |
| limit | Integer | The maximum count of returned elements | [optional] |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
removePartnerOrganization(organizationId, request)
Remove partner
Removing a partner organization
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization
RemovePartnerRequest request = new RemovePartnerRequest(); // RemovePartnerRequest | request
try {
apiInstance.removePartnerOrganization(organizationId, request);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#removePartnerOrganization");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization | |
| request | RemovePartnerRequest | request |
null (empty response body)
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
removeUserRoles(organizationId, username, changeRoleRequest)
Remove role(s) from user
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization
String username = "username_example"; // String | username
ChangeRoleRequest changeRoleRequest = new ChangeRoleRequest(); // ChangeRoleRequest | changeRoleRequest
try {
apiInstance.removeUserRoles(organizationId, username, changeRoleRequest);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#removeUserRoles");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization | |
| username | String | username | |
| changeRoleRequest | ChangeRoleRequest | changeRoleRequest |
null (empty response body)
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
PublicImagePresentation setOrganizationLogo(organizationId, file)
Update organization logo
Updating an organization logo using a multipart file upload.
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization where the logo should be updated.
File file = new File("/path/to/file.txt"); // File | An image containing the new logo.
try {
PublicImagePresentation result = apiInstance.setOrganizationLogo(organizationId, file);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#setOrganizationLogo");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization where the logo should be updated. | |
| file | File | An image containing the new logo. |
- Content-Type: multipart/form-data
- Accept: application/xml, application/json
Organization updateOrganization(organizationId, organizationUpdate)
Update organization
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | The namespace of the organization to be updated.
OrganizationUpdate organizationUpdate = new OrganizationUpdate(); // OrganizationUpdate | Updated organization object
try {
Organization result = apiInstance.updateOrganization(organizationId, organizationUpdate);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#updateOrganization");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | The namespace of the organization to be updated. | |
| organizationUpdate | OrganizationUpdate | Updated organization object |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
OrganizationAddress updateOrganizationAddress(organizationId, addressResource)
Store address
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | organizationId
OrganizationAddress addressResource = new OrganizationAddress(); // OrganizationAddress | addressResource
try {
OrganizationAddress result = apiInstance.updateOrganizationAddress(organizationId, addressResource);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#updateOrganizationAddress");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | organizationId | |
| addressResource | OrganizationAddress | addressResource |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
OrganizationAddress updateOrganizationBillingAddress(organizationId, addressResource)
Store billing address
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.OrganizationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
OrganizationsApi apiInstance = new OrganizationsApi();
String organizationId = "organizationId_example"; // String | organizationId
OrganizationAddress addressResource = new OrganizationAddress(); // OrganizationAddress | addressResource
try {
OrganizationAddress result = apiInstance.updateOrganizationBillingAddress(organizationId, addressResource);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationsApi#updateOrganizationBillingAddress");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | organizationId | |
| addressResource | OrganizationAddress | addressResource |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json