All URIs are relative to https://de.openlegaldata.io/api
Method | HTTP request | Description |
---|---|---|
caseAnnotationsCreate | POST /case_annotations/ | |
caseAnnotationsDelete | DELETE /case_annotations/{id}/ | |
caseAnnotationsList | GET /case_annotations/ | |
caseAnnotationsPartialUpdate | PATCH /case_annotations/{id}/ | |
caseAnnotationsRead | GET /case_annotations/{id}/ | |
caseAnnotationsUpdate | PUT /case_annotations/{id}/ |
CaseAnnotation caseAnnotationsCreate(data)
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.CaseAnnotationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: api_key
ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
api_key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.setApiKeyPrefix("Token");
CaseAnnotationsApi apiInstance = new CaseAnnotationsApi();
CaseAnnotation data = new CaseAnnotation(); // CaseAnnotation |
try {
CaseAnnotation result = apiInstance.caseAnnotationsCreate(data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CaseAnnotationsApi#caseAnnotationsCreate");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
data | CaseAnnotation |
- Content-Type: application/json
- Accept: application/json
caseAnnotationsDelete(id)
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.CaseAnnotationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: api_key
ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
api_key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.setApiKeyPrefix("Token");
CaseAnnotationsApi apiInstance = new CaseAnnotationsApi();
Integer id = 56; // Integer | A unique integer value identifying this case annotation.
try {
apiInstance.caseAnnotationsDelete(id);
} catch (ApiException e) {
System.err.println("Exception when calling CaseAnnotationsApi#caseAnnotationsDelete");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | A unique integer value identifying this case annotation. |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
InlineResponse2001 caseAnnotationsList(belongsTo, label, limit, offset)
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.CaseAnnotationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: api_key
ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
api_key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.setApiKeyPrefix("Token");
CaseAnnotationsApi apiInstance = new CaseAnnotationsApi();
BigDecimal belongsTo = new BigDecimal(); // BigDecimal |
BigDecimal label = new BigDecimal(); // BigDecimal |
Integer limit = 56; // Integer | Number of results to return per page.
Integer offset = 56; // Integer | The initial index from which to return the results.
try {
InlineResponse2001 result = apiInstance.caseAnnotationsList(belongsTo, label, limit, offset);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CaseAnnotationsApi#caseAnnotationsList");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
belongsTo | BigDecimal | [optional] | |
label | BigDecimal | [optional] | |
limit | Integer | Number of results to return per page. | [optional] |
offset | Integer | The initial index from which to return the results. | [optional] |
- Content-Type: application/json
- Accept: application/json
CaseAnnotation caseAnnotationsPartialUpdate(id, data)
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.CaseAnnotationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: api_key
ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
api_key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.setApiKeyPrefix("Token");
CaseAnnotationsApi apiInstance = new CaseAnnotationsApi();
Integer id = 56; // Integer | A unique integer value identifying this case annotation.
CaseAnnotation data = new CaseAnnotation(); // CaseAnnotation |
try {
CaseAnnotation result = apiInstance.caseAnnotationsPartialUpdate(id, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CaseAnnotationsApi#caseAnnotationsPartialUpdate");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | A unique integer value identifying this case annotation. | |
data | CaseAnnotation |
- Content-Type: application/json
- Accept: application/json
CaseAnnotation caseAnnotationsRead(id)
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.CaseAnnotationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: api_key
ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
api_key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.setApiKeyPrefix("Token");
CaseAnnotationsApi apiInstance = new CaseAnnotationsApi();
Integer id = 56; // Integer | A unique integer value identifying this case annotation.
try {
CaseAnnotation result = apiInstance.caseAnnotationsRead(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CaseAnnotationsApi#caseAnnotationsRead");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | A unique integer value identifying this case annotation. |
- Content-Type: application/json
- Accept: application/json
CaseAnnotation caseAnnotationsUpdate(id, data)
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.CaseAnnotationsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: api_key
ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
api_key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.setApiKeyPrefix("Token");
CaseAnnotationsApi apiInstance = new CaseAnnotationsApi();
Integer id = 56; // Integer | A unique integer value identifying this case annotation.
CaseAnnotation data = new CaseAnnotation(); // CaseAnnotation |
try {
CaseAnnotation result = apiInstance.caseAnnotationsUpdate(id, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CaseAnnotationsApi#caseAnnotationsUpdate");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | A unique integer value identifying this case annotation. | |
data | CaseAnnotation |
- Content-Type: application/json
- Accept: application/json