All URIs are relative to https://localhost/api
| Method | HTTP request | Description |
|---|---|---|
| diagHistoryCreate | POST /DiagHistory | Create a new instance of the model and persist it into the data source. |
| diagHistoryDeleteById | DELETE /DiagHistory/{id} | Delete a model instance by {{id}} from the data source. |
| diagHistoryExists | HEAD /DiagHistory/{id} | Check whether a model instance exists in the data source. |
| diagHistoryFind | GET /DiagHistory | Find all instances of the model matched by filter from the data source. |
| diagHistoryFindById | GET /DiagHistory/{id} | Find a model instance by {{id}} from the data source. |
| diagHistoryReplaceById | PUT /DiagHistory/{id} | Replace attributes for a model instance and persist it into the data source. |
DiagHistory diagHistoryCreate(data)
Create a new instance of the model and persist it into the data source.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.DiagHistoryApi;
DiagHistoryApi apiInstance = new DiagHistoryApi();
DiagHistory data = new DiagHistory(); // DiagHistory | Model instance data
try {
DiagHistory result = apiInstance.diagHistoryCreate(data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DiagHistoryApi#diagHistoryCreate");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| data | DiagHistory | Model instance data | [optional] |
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded, application/xml, text/xml
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
Object diagHistoryDeleteById(id)
Delete a model instance by {{id}} from the data source.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.DiagHistoryApi;
DiagHistoryApi apiInstance = new DiagHistoryApi();
String id = "id_example"; // String | Model id
try {
Object result = apiInstance.diagHistoryDeleteById(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DiagHistoryApi#diagHistoryDeleteById");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | Model id |
Object
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded, application/xml, text/xml
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
InlineResponse200 diagHistoryExists(id)
Check whether a model instance exists in the data source.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.DiagHistoryApi;
DiagHistoryApi apiInstance = new DiagHistoryApi();
String id = "id_example"; // String | Model id
try {
InlineResponse200 result = apiInstance.diagHistoryExists(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DiagHistoryApi#diagHistoryExists");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | Model id |
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded, application/xml, text/xml
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
List<DiagHistory> diagHistoryFind(filter)
Find all instances of the model matched by filter from the data source.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.DiagHistoryApi;
DiagHistoryApi apiInstance = new DiagHistoryApi();
String filter = "filter_example"; // String | Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string ({\"something\":\"value\"})
try {
List<DiagHistory> result = apiInstance.diagHistoryFind(filter);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DiagHistoryApi#diagHistoryFind");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| filter | String | Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string ({"something":"value"}) | [optional] |
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded, application/xml, text/xml
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
DiagHistory diagHistoryFindById(id, filter)
Find a model instance by {{id}} from the data source.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.DiagHistoryApi;
DiagHistoryApi apiInstance = new DiagHistoryApi();
String id = "id_example"; // String | Model id
String filter = "filter_example"; // String | Filter defining fields and include - must be a JSON-encoded string ({\"something\":\"value\"})
try {
DiagHistory result = apiInstance.diagHistoryFindById(id, filter);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DiagHistoryApi#diagHistoryFindById");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | Model id | |
| filter | String | Filter defining fields and include - must be a JSON-encoded string ({"something":"value"}) | [optional] |
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded, application/xml, text/xml
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
DiagHistory diagHistoryReplaceById(id, data)
Replace attributes for a model instance and persist it into the data source.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.DiagHistoryApi;
DiagHistoryApi apiInstance = new DiagHistoryApi();
String id = "id_example"; // String | Model id
DiagHistory data = new DiagHistory(); // DiagHistory | Model instance data
try {
DiagHistory result = apiInstance.diagHistoryReplaceById(id, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DiagHistoryApi#diagHistoryReplaceById");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | Model id | |
| data | DiagHistory | Model instance data | [optional] |
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded, application/xml, text/xml
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript