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)
var OldpApi = require('oldp-api');
var defaultClient = OldpApi.ApiClient.instance;
// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
var apiInstance = new OldpApi.CaseAnnotationsApi();
var data = new OldpApi.CaseAnnotation(); // CaseAnnotation |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.caseAnnotationsCreate(data, callback);
Name | Type | Description | Notes |
---|---|---|---|
data | CaseAnnotation |
- Content-Type: application/json
- Accept: application/json
caseAnnotationsDelete(id, )
var OldpApi = require('oldp-api');
var defaultClient = OldpApi.ApiClient.instance;
// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
var apiInstance = new OldpApi.CaseAnnotationsApi();
var id = 56; // Number | A unique integer value identifying this case annotation.
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.caseAnnotationsDelete(id, , callback);
Name | Type | Description | Notes |
---|---|---|---|
id | Number | A unique integer value identifying this case annotation. |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
InlineResponse2001 caseAnnotationsList(opts)
var OldpApi = require('oldp-api');
var defaultClient = OldpApi.ApiClient.instance;
// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
var apiInstance = new OldpApi.CaseAnnotationsApi();
var opts = {
'belongsTo': 8.14, // Number |
'label': 8.14, // Number |
'limit': 56, // Number | Number of results to return per page.
'offset': 56 // Number | The initial index from which to return the results.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.caseAnnotationsList(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
belongsTo | Number | [optional] | |
label | Number | [optional] | |
limit | Number | Number of results to return per page. | [optional] |
offset | Number | The initial index from which to return the results. | [optional] |
- Content-Type: application/json
- Accept: application/json
CaseAnnotation caseAnnotationsPartialUpdate(id, data)
var OldpApi = require('oldp-api');
var defaultClient = OldpApi.ApiClient.instance;
// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
var apiInstance = new OldpApi.CaseAnnotationsApi();
var id = 56; // Number | A unique integer value identifying this case annotation.
var data = new OldpApi.CaseAnnotation(); // CaseAnnotation |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.caseAnnotationsPartialUpdate(id, data, callback);
Name | Type | Description | Notes |
---|---|---|---|
id | Number | A unique integer value identifying this case annotation. | |
data | CaseAnnotation |
- Content-Type: application/json
- Accept: application/json
CaseAnnotation caseAnnotationsRead(id, )
var OldpApi = require('oldp-api');
var defaultClient = OldpApi.ApiClient.instance;
// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
var apiInstance = new OldpApi.CaseAnnotationsApi();
var id = 56; // Number | A unique integer value identifying this case annotation.
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.caseAnnotationsRead(id, , callback);
Name | Type | Description | Notes |
---|---|---|---|
id | Number | A unique integer value identifying this case annotation. |
- Content-Type: application/json
- Accept: application/json
CaseAnnotation caseAnnotationsUpdate(id, data)
var OldpApi = require('oldp-api');
var defaultClient = OldpApi.ApiClient.instance;
// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
var apiInstance = new OldpApi.CaseAnnotationsApi();
var id = 56; // Number | A unique integer value identifying this case annotation.
var data = new OldpApi.CaseAnnotation(); // CaseAnnotation |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.caseAnnotationsUpdate(id, data, callback);
Name | Type | Description | Notes |
---|---|---|---|
id | Number | A unique integer value identifying this case annotation. | |
data | CaseAnnotation |
- Content-Type: application/json
- Accept: application/json