Building the API client library requires Maven to be installed.
To install the API client library to your local Maven repository, simply execute:
mvn install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn deploy
Refer to the official documentation for more information.
Add this dependency to your project's POM:
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-java-client</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
Add this dependency to your project's build file:
compile "io.swagger:swagger-java-client:1.0.0"
At first generate the JAR by executing:
mvn package
Then manually install the following JARs:
- target/swagger-java-client-1.0.0.jar
- target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AssetFromServiceApi;
import java.io.File;
import java.util.*;
public class AssetFromServiceApiExample {
public static void main(String[] args) {
AssetFromServiceApi apiInstance = new AssetFromServiceApi();
AssetFromService data = new AssetFromService(); // AssetFromService | Model instance data
try {
AssetFromService result = apiInstance.assetFromServiceCreate(data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AssetFromServiceApi#assetFromServiceCreate");
e.printStackTrace();
}
}
}
All URIs are relative to https://localhost/api
Class | Method | HTTP request | Description |
---|---|---|---|
AssetFromServiceApi | assetFromServiceCreate | POST /AssetFromService | Create a new instance of the model and persist it into the data source. |
AssetFromServiceApi | assetFromServiceDeleteById | DELETE /AssetFromService/{id} | Delete a model instance by {{id}} from the data source. |
AssetFromServiceApi | assetFromServiceExists | HEAD /AssetFromService/{id} | Check whether a model instance exists in the data source. |
AssetFromServiceApi | assetFromServiceFind | GET /AssetFromService | Find all instances of the model matched by filter from the data source. |
AssetFromServiceApi | assetFromServiceFindById | GET /AssetFromService/{id} | Find a model instance by {{id}} from the data source. |
AssetFromServiceApi | assetFromServiceReplaceById | PUT /AssetFromService/{id} | Replace attributes for a model instance and persist it into the data source. |
CheckupHistoryApi | checkupHistoryCreate | POST /CheckupHistory | Create a new instance of the model and persist it into the data source. |
CheckupHistoryApi | checkupHistoryDeleteById | DELETE /CheckupHistory/{id} | Delete a model instance by {{id}} from the data source. |
CheckupHistoryApi | checkupHistoryExists | HEAD /CheckupHistory/{id} | Check whether a model instance exists in the data source. |
CheckupHistoryApi | checkupHistoryFind | GET /CheckupHistory | Find all instances of the model matched by filter from the data source. |
CheckupHistoryApi | checkupHistoryFindById | GET /CheckupHistory/{id} | Find a model instance by {{id}} from the data source. |
CheckupHistoryApi | checkupHistoryReplaceById | PUT /CheckupHistory/{id} | Replace attributes for a model instance and persist it into the data source. |
CreateCheckupHistoryApi | createCheckupHistoryCreate | POST /CreateCheckupHistory | Create a new instance of the model and persist it into the data source. |
CreateCheckupHistoryApi | createCheckupHistoryFind | GET /CreateCheckupHistory | Find all instances of the model matched by filter from the data source. |
CreateCheckupHistoryApi | createCheckupHistoryFindById | GET /CreateCheckupHistory/{id} | Find a model instance by {{id}} from the data source. |
CreateDiagHistoryApi | createDiagHistoryCreate | POST /CreateDiagHistory | Create a new instance of the model and persist it into the data source. |
CreateDiagHistoryApi | createDiagHistoryFind | GET /CreateDiagHistory | Find all instances of the model matched by filter from the data source. |
CreateDiagHistoryApi | createDiagHistoryFindById | GET /CreateDiagHistory/{id} | Find a model instance by {{id}} from the data source. |
CreateDrugHistoryApi | createDrugHistoryCreate | POST /CreateDrugHistory | Create a new instance of the model and persist it into the data source. |
CreateDrugHistoryApi | createDrugHistoryFind | GET /CreateDrugHistory | Find all instances of the model matched by filter from the data source. |
CreateDrugHistoryApi | createDrugHistoryFindById | GET /CreateDrugHistory/{id} | Find a model instance by {{id}} from the data source. |
CreateProcedureHistoryApi | createProcedureHistoryCreate | POST /CreateProcedureHistory | Create a new instance of the model and persist it into the data source. |
CreateProcedureHistoryApi | createProcedureHistoryFind | GET /CreateProcedureHistory | Find all instances of the model matched by filter from the data source. |
CreateProcedureHistoryApi | createProcedureHistoryFindById | GET /CreateProcedureHistory/{id} | Find a model instance by {{id}} from the data source. |
CreateServiceHistoryApi | createServiceHistoryCreate | POST /CreateServiceHistory | Create a new instance of the model and persist it into the data source. |
CreateServiceHistoryApi | createServiceHistoryFind | GET /CreateServiceHistory | Find all instances of the model matched by filter from the data source. |
CreateServiceHistoryApi | createServiceHistoryFindById | GET /CreateServiceHistory/{id} | Find a model instance by {{id}} from the data source. |
DiagHistoryApi | diagHistoryCreate | POST /DiagHistory | Create a new instance of the model and persist it into the data source. |
DiagHistoryApi | diagHistoryDeleteById | DELETE /DiagHistory/{id} | Delete a model instance by {{id}} from the data source. |
DiagHistoryApi | diagHistoryExists | HEAD /DiagHistory/{id} | Check whether a model instance exists in the data source. |
DiagHistoryApi | diagHistoryFind | GET /DiagHistory | Find all instances of the model matched by filter from the data source. |
DiagHistoryApi | diagHistoryFindById | GET /DiagHistory/{id} | Find a model instance by {{id}} from the data source. |
DiagHistoryApi | diagHistoryReplaceById | PUT /DiagHistory/{id} | Replace attributes for a model instance and persist it into the data source. |
DoctorApi | doctorCreate | POST /Doctor | Create a new instance of the model and persist it into the data source. |
DoctorApi | doctorDeleteById | DELETE /Doctor/{id} | Delete a model instance by {{id}} from the data source. |
DoctorApi | doctorExists | HEAD /Doctor/{id} | Check whether a model instance exists in the data source. |
DoctorApi | doctorFind | GET /Doctor | Find all instances of the model matched by filter from the data source. |
DoctorApi | doctorFindById | GET /Doctor/{id} | Find a model instance by {{id}} from the data source. |
DoctorApi | doctorReplaceById | PUT /Doctor/{id} | Replace attributes for a model instance and persist it into the data source. |
DrugHistoryApi | drugHistoryCreate | POST /DrugHistory | Create a new instance of the model and persist it into the data source. |
DrugHistoryApi | drugHistoryDeleteById | DELETE /DrugHistory/{id} | Delete a model instance by {{id}} from the data source. |
DrugHistoryApi | drugHistoryExists | HEAD /DrugHistory/{id} | Check whether a model instance exists in the data source. |
DrugHistoryApi | drugHistoryFind | GET /DrugHistory | Find all instances of the model matched by filter from the data source. |
DrugHistoryApi | drugHistoryFindById | GET /DrugHistory/{id} | Find a model instance by {{id}} from the data source. |
DrugHistoryApi | drugHistoryReplaceById | PUT /DrugHistory/{id} | Replace attributes for a model instance and persist it into the data source. |
HealthCareProviderApi | healthCareProviderCreate | POST /HealthCareProvider | Create a new instance of the model and persist it into the data source. |
HealthCareProviderApi | healthCareProviderDeleteById | DELETE /HealthCareProvider/{id} | Delete a model instance by {{id}} from the data source. |
HealthCareProviderApi | healthCareProviderExists | HEAD /HealthCareProvider/{id} | Check whether a model instance exists in the data source. |
HealthCareProviderApi | healthCareProviderFind | GET /HealthCareProvider | Find all instances of the model matched by filter from the data source. |
HealthCareProviderApi | healthCareProviderFindById | GET /HealthCareProvider/{id} | Find a model instance by {{id}} from the data source. |
HealthCareProviderApi | healthCareProviderReplaceById | PUT /HealthCareProvider/{id} | Replace attributes for a model instance and persist it into the data source. |
PatientApi | patientCreate | POST /Patient | Create a new instance of the model and persist it into the data source. |
PatientApi | patientDeleteById | DELETE /Patient/{id} | Delete a model instance by {{id}} from the data source. |
PatientApi | patientExists | HEAD /Patient/{id} | Check whether a model instance exists in the data source. |
PatientApi | patientFind | GET /Patient | Find all instances of the model matched by filter from the data source. |
PatientApi | patientFindById | GET /Patient/{id} | Find a model instance by {{id}} from the data source. |
PatientApi | patientReplaceById | PUT /Patient/{id} | Replace attributes for a model instance and persist it into the data source. |
PermissionLogApi | permissionLogCreate | POST /PermissionLog | Create a new instance of the model and persist it into the data source. |
PermissionLogApi | permissionLogDeleteById | DELETE /PermissionLog/{id} | Delete a model instance by {{id}} from the data source. |
PermissionLogApi | permissionLogExists | HEAD /PermissionLog/{id} | Check whether a model instance exists in the data source. |
PermissionLogApi | permissionLogFind | GET /PermissionLog | Find all instances of the model matched by filter from the data source. |
PermissionLogApi | permissionLogFindById | GET /PermissionLog/{id} | Find a model instance by {{id}} from the data source. |
PermissionLogApi | permissionLogReplaceById | PUT /PermissionLog/{id} | Replace attributes for a model instance and persist it into the data source. |
PermissionTransactionApi | permissionTransactionCreate | POST /PermissionTransaction | Create a new instance of the model and persist it into the data source. |
PermissionTransactionApi | permissionTransactionFind | GET /PermissionTransaction | Find all instances of the model matched by filter from the data source. |
PermissionTransactionApi | permissionTransactionFindById | GET /PermissionTransaction/{id} | Find a model instance by {{id}} from the data source. |
ProcedureHistoryApi | procedureHistoryCreate | POST /ProcedureHistory | Create a new instance of the model and persist it into the data source. |
ProcedureHistoryApi | procedureHistoryDeleteById | DELETE /ProcedureHistory/{id} | Delete a model instance by {{id}} from the data source. |
ProcedureHistoryApi | procedureHistoryExists | HEAD /ProcedureHistory/{id} | Check whether a model instance exists in the data source. |
ProcedureHistoryApi | procedureHistoryFind | GET /ProcedureHistory | Find all instances of the model matched by filter from the data source. |
ProcedureHistoryApi | procedureHistoryFindById | GET /ProcedureHistory/{id} | Find a model instance by {{id}} from the data source. |
ProcedureHistoryApi | procedureHistoryReplaceById | PUT /ProcedureHistory/{id} | Replace attributes for a model instance and persist it into the data source. |
ProtectedAssetApi | protectedAssetCreate | POST /ProtectedAsset | Create a new instance of the model and persist it into the data source. |
ProtectedAssetApi | protectedAssetDeleteById | DELETE /ProtectedAsset/{id} | Delete a model instance by {{id}} from the data source. |
ProtectedAssetApi | protectedAssetExists | HEAD /ProtectedAsset/{id} | Check whether a model instance exists in the data source. |
ProtectedAssetApi | protectedAssetFind | GET /ProtectedAsset | Find all instances of the model matched by filter from the data source. |
ProtectedAssetApi | protectedAssetFindById | GET /ProtectedAsset/{id} | Find a model instance by {{id}} from the data source. |
ProtectedAssetApi | protectedAssetReplaceById | PUT /ProtectedAsset/{id} | Replace attributes for a model instance and persist it into the data source. |
QueryApi | queryListAllCheckupHistoryOfPatient | GET /queries/listAllCheckupHistoryOfPatient | Show all checkup history for specified patient |
QueryApi | queryListAllDiagHistoryOfPatient | GET /queries/listAllDiagHistoryOfPatient | Show all diagnostic history for specified patient |
QueryApi | queryListAllDrugHistoryOfPatient | GET /queries/listAllDrugHistoryOfPatient | Show all drug history for specified patient |
QueryApi | queryListAllGrantedPermission | GET /queries/listAllGrantedPermission | List all valid permission grant |
QueryApi | queryListAllPendingPermissionRequest | GET /queries/listAllPendingPermissionRequest | Get list of pending permission request of patient |
QueryApi | queryListAllProcedureHistoryOfPatient | GET /queries/listAllProcedureHistoryOfPatient | Show all procedure history for specified patient |
QueryApi | queryListAllProtectedAssets | GET /queries/listAllProtectedAssets | List all protected assets |
QueryApi | queryListAllServiceHistoryOfPatient | GET /queries/listAllServiceHistoryOfPatient | Show all service history for specified patient |
ServiceHistoryApi | serviceHistoryCreate | POST /ServiceHistory | Create a new instance of the model and persist it into the data source. |
ServiceHistoryApi | serviceHistoryDeleteById | DELETE /ServiceHistory/{id} | Delete a model instance by {{id}} from the data source. |
ServiceHistoryApi | serviceHistoryExists | HEAD /ServiceHistory/{id} | Check whether a model instance exists in the data source. |
ServiceHistoryApi | serviceHistoryFind | GET /ServiceHistory | Find all instances of the model matched by filter from the data source. |
ServiceHistoryApi | serviceHistoryFindById | GET /ServiceHistory/{id} | Find a model instance by {{id}} from the data source. |
ServiceHistoryApi | serviceHistoryReplaceById | PUT /ServiceHistory/{id} | Replace attributes for a model instance and persist it into the data source. |
SystemApi | systemBindIdentity | POST /system/identities/bind | Bind an identity to the specified participant |
SystemApi | systemGetAllHistorianRecords | GET /system/historian | Get all Historian Records from the Historian |
SystemApi | systemGetAllIdentities | GET /system/identities | Get all identities from the identity registry |
SystemApi | systemGetHistorianRecordByID | GET /system/historian/{id} | Get the specified Historian Record from the Historian |
SystemApi | systemGetIdentityByID | GET /system/identities/{id} | Get the specified identity from the identity registry |
SystemApi | systemIssueIdentity | POST /system/identities/issue | Issue an identity to the specified participant |
SystemApi | systemPing | GET /system/ping | Test the connection to the business network |
SystemApi | systemRevokeIdentity | POST /system/identities/{id}/revoke | Revoke the specified identity |
UpdateCheckupHistoryApi | updateCheckupHistoryCreate | POST /UpdateCheckupHistory | Create a new instance of the model and persist it into the data source. |
UpdateCheckupHistoryApi | updateCheckupHistoryFind | GET /UpdateCheckupHistory | Find all instances of the model matched by filter from the data source. |
UpdateCheckupHistoryApi | updateCheckupHistoryFindById | GET /UpdateCheckupHistory/{id} | Find a model instance by {{id}} from the data source. |
UpdateDiagHistoryApi | updateDiagHistoryCreate | POST /UpdateDiagHistory | Create a new instance of the model and persist it into the data source. |
UpdateDiagHistoryApi | updateDiagHistoryFind | GET /UpdateDiagHistory | Find all instances of the model matched by filter from the data source. |
UpdateDiagHistoryApi | updateDiagHistoryFindById | GET /UpdateDiagHistory/{id} | Find a model instance by {{id}} from the data source. |
UpdateDrugHistoryApi | updateDrugHistoryCreate | POST /UpdateDrugHistory | Create a new instance of the model and persist it into the data source. |
UpdateDrugHistoryApi | updateDrugHistoryFind | GET /UpdateDrugHistory | Find all instances of the model matched by filter from the data source. |
UpdateDrugHistoryApi | updateDrugHistoryFindById | GET /UpdateDrugHistory/{id} | Find a model instance by {{id}} from the data source. |
UpdateProcedureHistoryApi | updateProcedureHistoryCreate | POST /UpdateProcedureHistory | Create a new instance of the model and persist it into the data source. |
UpdateProcedureHistoryApi | updateProcedureHistoryFind | GET /UpdateProcedureHistory | Find all instances of the model matched by filter from the data source. |
UpdateProcedureHistoryApi | updateProcedureHistoryFindById | GET /UpdateProcedureHistory/{id} | Find a model instance by {{id}} from the data source. |
UpdateServiceHistoryApi | updateServiceHistoryCreate | POST /UpdateServiceHistory | Create a new instance of the model and persist it into the data source. |
UpdateServiceHistoryApi | updateServiceHistoryFind | GET /UpdateServiceHistory | Find all instances of the model matched by filter from the data source. |
UpdateServiceHistoryApi | updateServiceHistoryFindById | GET /UpdateServiceHistory/{id} | Find a model instance by {{id}} from the data source. |
WalletApi | cardDeleteCardByName | DELETE /wallet/{name} | Delete a specific business network card from the wallet |
WalletApi | cardExistsCardByName | HEAD /wallet/{name} | Test the existance of a specific business network card in the wallet |
WalletApi | cardExportCard | GET /wallet/{name}/export | Export a business network card from the wallet |
WalletApi | cardGetAllCards | GET /wallet | Get all of the business network cards in the wallet |
WalletApi | cardGetCardByName | GET /wallet/{name} | Get a specific business network card from the wallet |
WalletApi | cardImportCard | POST /wallet/import | Import a business network card into the wallet |
WalletApi | cardSetDefault | POST /wallet/{name}/setDefault | Set a specific business network card as the default business network card |
- AssetFromService
- BindIdentityRequest
- Card
- CheckupHistory
- CreateCheckupHistory
- CreateDiagHistory
- CreateDrugHistory
- CreateProcedureHistory
- CreateServiceHistory
- DiagHistory
- Doctor
- DrugHistory
- Exercise
- Food
- HealthCareProvider
- InlineResponse200
- IssueIdentityRequest
- Lifestyle
- Patient
- PermissionLog
- PermissionTransaction
- PingResponse
- ProcedureHistory
- ProtectedAsset
- ServiceHistory
- UpdateCheckupHistory
- UpdateDiagHistory
- UpdateDrugHistory
- UpdateProcedureHistory
- UpdateServiceHistory
All endpoints do not require authorization. Authentication schemes defined for the API:
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issue.