authorityAssignmentCheck
Checks if authority can be assigned to work
/linked-data/authority-assignment-check
Usage and SDK Samples
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"http://localhost/linked-data/authority-assignment-check" \
-d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityApi;
import java.io.File;
import java.util.*;
public class AuthorityApiExample {
public static void main(String[] args) {
// Create an instance of the API class
AuthorityApi apiInstance = new AuthorityApi();
AssignmentCheckDto assignmentCheckDto = ; // AssignmentCheckDto |
try {
assignmentCheckResponseDto result = apiInstance.authorityAssignmentCheck(assignmentCheckDto);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AuthorityApi#authorityAssignmentCheck");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final AssignmentCheckDto assignmentCheckDto = new AssignmentCheckDto(); // AssignmentCheckDto |
try {
final result = await api_instance.authorityAssignmentCheck(assignmentCheckDto);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->authorityAssignmentCheck: $e\n');
}
import org.openapitools.client.api.AuthorityApi;
public class AuthorityApiExample {
public static void main(String[] args) {
AuthorityApi apiInstance = new AuthorityApi();
AssignmentCheckDto assignmentCheckDto = ; // AssignmentCheckDto |
try {
assignmentCheckResponseDto result = apiInstance.authorityAssignmentCheck(assignmentCheckDto);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AuthorityApi#authorityAssignmentCheck");
e.printStackTrace();
}
}
}
// Create an instance of the API class
AuthorityApi *apiInstance = [[AuthorityApi alloc] init];
AssignmentCheckDto *assignmentCheckDto = ; // (optional)
[apiInstance authorityAssignmentCheckWith:assignmentCheckDto
completionHandler: ^(assignmentCheckResponseDto output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var LinkedDataApi = require('linked_data_api');
// Create an instance of the API class
var api = new LinkedDataApi.AuthorityApi()
var opts = {
'assignmentCheckDto': // {AssignmentCheckDto}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.authorityAssignmentCheck(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class authorityAssignmentCheckExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new AuthorityApi();
var assignmentCheckDto = new AssignmentCheckDto(); // AssignmentCheckDto | (optional)
try {
assignmentCheckResponseDto result = apiInstance.authorityAssignmentCheck(assignmentCheckDto);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling AuthorityApi.authorityAssignmentCheck: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityApi();
$assignmentCheckDto = ; // AssignmentCheckDto |
try {
$result = $api_instance->authorityAssignmentCheck($assignmentCheckDto);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AuthorityApi->authorityAssignmentCheck: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityApi;
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityApi->new();
my $assignmentCheckDto = WWW::OPenAPIClient::Object::AssignmentCheckDto->new(); # AssignmentCheckDto |
eval {
my $result = $api_instance->authorityAssignmentCheck(assignmentCheckDto => $assignmentCheckDto);
print Dumper($result);
};
if ($@) {
warn "Exception when calling AuthorityApi->authorityAssignmentCheck: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = openapi_client.AuthorityApi()
assignmentCheckDto = # AssignmentCheckDto | (optional)
try:
api_response = api_instance.authority_assignment_check(assignmentCheckDto=assignmentCheckDto)
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthorityApi->authorityAssignmentCheck: %s\n" % e)
extern crate AuthorityApi;
pub fn main() {
let assignmentCheckDto = ; // AssignmentCheckDto
let mut context = AuthorityApi::Context::default();
let result = client.authorityAssignmentCheck(assignmentCheckDto, &context).wait();
println!("{:?}", result);
}
Scopes
Parameters
Name | Description |
---|---|
assignmentCheckDto |