Skip to content

Latest commit

 

History

History
345 lines (226 loc) · 8.36 KB

CaseMarkersApi.md

File metadata and controls

345 lines (226 loc) · 8.36 KB

OldpApi.CaseMarkersApi

All URIs are relative to https://de.openlegaldata.io/api

Method HTTP request Description
caseMarkersCreate POST /case_markers/
caseMarkersDelete DELETE /case_markers/{id}/
caseMarkersList GET /case_markers/
caseMarkersPartialUpdate PATCH /case_markers/{id}/
caseMarkersRead GET /case_markers/{id}/
caseMarkersUpdate PUT /case_markers/{id}/

caseMarkersCreate

CaseMarker caseMarkersCreate(data)

Example

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.CaseMarkersApi();

var data = new OldpApi.CaseMarker(); // CaseMarker | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.caseMarkersCreate(data, callback);

Parameters

Name Type Description Notes
data CaseMarker

Return type

CaseMarker

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

caseMarkersDelete

caseMarkersDelete(id, )

Example

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.CaseMarkersApi();

var id = 56; // Number | A unique integer value identifying this case marker.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.caseMarkersDelete(id, , callback);

Parameters

Name Type Description Notes
id Number A unique integer value identifying this case marker.

Return type

null (empty response body)

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

caseMarkersList

InlineResponse2002 caseMarkersList(opts)

Example

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.CaseMarkersApi();

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.caseMarkersList(opts, callback);

Parameters

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]

Return type

InlineResponse2002

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

caseMarkersPartialUpdate

CaseMarker caseMarkersPartialUpdate(id, data)

Example

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.CaseMarkersApi();

var id = 56; // Number | A unique integer value identifying this case marker.

var data = new OldpApi.CaseMarker(); // CaseMarker | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.caseMarkersPartialUpdate(id, data, callback);

Parameters

Name Type Description Notes
id Number A unique integer value identifying this case marker.
data CaseMarker

Return type

CaseMarker

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

caseMarkersRead

CaseMarker caseMarkersRead(id, )

Example

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.CaseMarkersApi();

var id = 56; // Number | A unique integer value identifying this case marker.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.caseMarkersRead(id, , callback);

Parameters

Name Type Description Notes
id Number A unique integer value identifying this case marker.

Return type

CaseMarker

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

caseMarkersUpdate

CaseMarker caseMarkersUpdate(id, data)

Example

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.CaseMarkersApi();

var id = 56; // Number | A unique integer value identifying this case marker.

var data = new OldpApi.CaseMarker(); // CaseMarker | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.caseMarkersUpdate(id, data, callback);

Parameters

Name Type Description Notes
id Number A unique integer value identifying this case marker.
data CaseMarker

Return type

CaseMarker

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json