API Documentation
Base URLs:
Email: Support
Auth API
Auth Api Controller
Login user
Code samples
URL obj = new URL("http://localhost:8080/v1/login");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
POST http://localhost:8080/v1/login HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: application/json
const inputBody = '{
"password": "string",
"username": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/login',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /login
Login user for ops tool
Body parameter
{
"password": "string",
"username": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | AuthRequest | false | authRequest |
Example responses
200 Response
[
true
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
201 | Created | Created | None |
400 | Bad Request | bad request | string |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | Not Found | None |
500 | Internal Server Error | internal server error | string |
Response Schema
Ontology API
Get all functions
Code samples
URL obj = new URL("http://localhost:8080/v1/functions");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/functions HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/functions',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /functions
Example responses
200 Response
[
{
"id": 0,
"name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Function] | false | none | none |
» Function | Function | false | none | none |
»» id | integer(int32) | false | none | none |
»» name | string | false | none | none |
Get all industries
Code samples
URL obj = new URL("http://localhost:8080/v1/industries");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/industries HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/industries',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /industries
Example responses
200 Response
[
{
"id": 0,
"name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Industry] | false | none | none |
» Industry | Industry | false | none | none |
»» id | integer(int32) | false | none | none |
»» name | string | false | none | none |
Get positions by function ID
Code samples
URL obj = new URL("http://localhost:8080/v1/positions?function_id=0");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/positions?function_id=0 HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/positions?function_id=0',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /positions
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
function_id | query | integer(int32) | true | function_id |
Example responses
200 Response
[
{
"description": "string",
"id": 0
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Position] | false | none | none |
» Position | Position | false | none | none |
»» description | string | false | none | none |
»» id | integer(int32) | false | none | none |
Get products and services by industry ID and position IDs
Code samples
URL obj = new URL("http://localhost:8080/v1/products-and-services");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/products-and-services HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/products-and-services',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /products-and-services
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
industry_id | query | integer(int32) | false | Industry ID |
position_ids | query | array[integer] | false | One or more position IDs |
Example responses
200 Response
[
{
"id": 0,
"name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [ProductsAndServices] | false | none | none |
» ProductsAndServices | ProductsAndServices | false | none | none |
»» id | integer(int32) | false | none | none |
»» name | string | false | none | none |
Get qualifications by industry ID and position IDs
Code samples
URL obj = new URL("http://localhost:8080/v1/qualifications");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/qualifications HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/qualifications',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /qualifications
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
industry_id | query | integer(int32) | false | Industry ID |
position_ids | query | array[integer] | false | One or more position IDs |
Example responses
200 Response
[
{
"id": 0,
"name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Qualification] | false | none | none |
» Qualification | Qualification | false | none | none |
»» id | integer(int32) | false | none | none |
»» name | string | false | none | none |
Get skills by industry ID and position IDs
Code samples
URL obj = new URL("http://localhost:8080/v1/skills");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/skills HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/skills',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /skills
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
industry_id | query | integer(int32) | false | Industry ID |
position_ids | query | array[integer] | false | One or more position IDs |
Example responses
200 Response
[
{
"id": 0,
"name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Skill] | false | none | none |
» Skill | Skill | false | none | none |
»» id | integer(int32) | false | none | none |
»» name | string | false | none | none |
Ontology Editor API
Ontology Editor Api Controller
Get all positions
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/positions");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/ontology/positions HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/ontology/positions',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /ontology/positions
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
agnostic_industry | query | boolean | false | agnostic_industry |
section | query | string | false | section |
Example responses
200 Response
[
{
"agnostic_products_and_services": true,
"agnostic_qualification": true,
"agnostic_skill": true,
"description": "string",
"id": 0
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [PositionWithAgnosticMapping] | false | none | none |
» PositionWithAgnosticMapping | PositionWithAgnosticMapping | false | none | none |
»» agnostic_products_and_services | boolean | false | none | none |
»» agnostic_qualification | boolean | false | none | none |
»» agnostic_skill | boolean | false | none | none |
»» description | string | false | none | none |
»» id | integer(int32) | false | none | none |
Create positions
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/positions");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
POST http://localhost:8080/v1/ontology/positions HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: application/json
const inputBody = '{
"agnostic_products_and_services": true,
"agnostic_qualification": true,
"agnostic_skill": true,
"name": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/ontology/positions',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /ontology/positions
Body parameter
{
"agnostic_products_and_services": true,
"agnostic_qualification": true,
"agnostic_skill": true,
"name": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | PositionRequest | false | body |
Example responses
200 Response
{
"agnostic_products_and_services": true,
"agnostic_qualification": true,
"agnostic_skill": true,
"description": "string",
"id": 0
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | PositionWithAgnosticMapping |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Get all positions with categories
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/positions-categories");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/ontology/positions-categories HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/ontology/positions-categories',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /ontology/positions-categories
Example responses
200 Response
[
{
"description": "string",
"id": 0,
"position": [
{
"description": "string",
"id": 0
}
]
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [PositionFunctionMapping] | false | none | none |
» PositionFunctionMapping | PositionFunctionMapping | false | none | none |
»» description | string | false | none | none |
»» id | integer(int32) | false | none | none |
»» position | [Position] | false | none | none |
»»» Position | Position | false | none | none |
»»»» description | string | false | none | none |
»»»» id | integer(int32) | false | none | none |
Create positions categories mapping
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/positions-categories");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
POST http://localhost:8080/v1/ontology/positions-categories HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"deleted_position_ids": [
0
],
"function_id": 0,
"position_ids": [
0
]
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/positions-categories',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /ontology/positions-categories
Body parameter
{
"deleted_position_ids": [
0
],
"function_id": 0,
"position_ids": [
0
]
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | UpsertPositionFunctionMapping | false | upsertPositionFunctionMapping |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Update positions
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/positions/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
PUT http://localhost:8080/v1/ontology/positions/{id} HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"name": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/positions/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /ontology/positions/{id}
Body parameter
{
"name": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | integer(int32) | true | Position ID |
body | body | OntologyEditorRequest | false | ontologyEditorRequest |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Get all products and services
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/products-and-services");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/ontology/products-and-services HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/ontology/products-and-services',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /ontology/products-and-services
Example responses
200 Response
[
{
"id": 0,
"name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [ProductsAndServices] | false | none | none |
» ProductsAndServices | ProductsAndServices | false | none | none |
»» id | integer(int32) | false | none | none |
»» name | string | false | none | none |
Create products and services
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/products-and-services");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
POST http://localhost:8080/v1/ontology/products-and-services HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"name": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/products-and-services',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /ontology/products-and-services
Body parameter
{
"name": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | OntologyEditorRequest | false | ontologyEditorRequest |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Update products and services
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/products-and-services/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
PUT http://localhost:8080/v1/ontology/products-and-services/{id} HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"name": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/products-and-services/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /ontology/products-and-services/{id}
Body parameter
{
"name": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | integer(int32) | true | Products and services ID |
body | body | OntologyEditorRequest | false | ontologyEditorRequest |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Get all Industry Position Products and Services Group Mapping
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/products-services-group-mapping");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/ontology/products-services-group-mapping HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/ontology/products-services-group-mapping',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /ontology/products-services-group-mapping
Example responses
200 Response
[
{
"agnosticProductsServices": true,
"industryIds": [
0
],
"positionIds": [
0
],
"productServiceIds": [
0
]
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [IndustryPositionProductsServicesGroup] | false | none | none |
» IndustryPositionProductsServicesGroup | IndustryPositionProductsServicesGroup | false | none | none |
»» agnosticProductsServices | boolean | false | none | none |
»» industryIds | [integer] | false | none | none |
»» positionIds | [integer] | false | none | none |
»» productServiceIds | [integer] | false | none | none |
Create Industry Position Products and Services Group Mapping
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/products-services-group-mapping");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
POST http://localhost:8080/v1/ontology/products-services-group-mapping HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"agnostic_industry": true,
"industry_ids": [
0
],
"position_id": 0,
"section_ids": [
0
]
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/products-services-group-mapping',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /ontology/products-services-group-mapping
Body parameter
{
"agnostic_industry": true,
"industry_ids": [
0
],
"position_id": 0,
"section_ids": [
0
]
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | CreateOntologyMapping | false | createOntologyMapping |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Update Industry Position Products and Services Group Mapping
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/products-services-group-mapping");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
PUT http://localhost:8080/v1/ontology/products-services-group-mapping HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"agnostic_industry": true,
"deleted_industry_ids": [
0
],
"deleted_position_ids": [
0
],
"deleted_section_ids": [
0
],
"industry_id": [
0
],
"position_id": [
0
],
"section_ids": [
0
]
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/products-services-group-mapping',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /ontology/products-services-group-mapping
Body parameter
{
"agnostic_industry": true,
"deleted_industry_ids": [
0
],
"deleted_position_ids": [
0
],
"deleted_section_ids": [
0
],
"industry_id": [
0
],
"position_id": [
0
],
"section_ids": [
0
]
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | UpdateOntologyMapping | false | updateOntologyMapping |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Get all qualifications
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/qualifications");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/ontology/qualifications HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/ontology/qualifications',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /ontology/qualifications
Example responses
200 Response
[
{
"id": 0,
"name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Qualification] | false | none | none |
» Qualification | Qualification | false | none | none |
»» id | integer(int32) | false | none | none |
»» name | string | false | none | none |
Create qualifications
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/qualifications");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
POST http://localhost:8080/v1/ontology/qualifications HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"name": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/qualifications',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /ontology/qualifications
Body parameter
{
"name": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | OntologyEditorRequest | false | ontologyEditorRequest |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Get all Industry Position Qualifications Group Mapping
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/qualifications-group-mapping");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/ontology/qualifications-group-mapping HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/ontology/qualifications-group-mapping',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /ontology/qualifications-group-mapping
Example responses
200 Response
[
{
"agnosticQualification": true,
"industryIds": [
0
],
"positionIds": [
0
],
"qualificationIds": [
0
]
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [IndustryPositionQualificationsGroup] | false | none | none |
» IndustryPositionQualificationsGroup | IndustryPositionQualificationsGroup | false | none | none |
»» agnosticQualification | boolean | false | none | none |
»» industryIds | [integer] | false | none | none |
»» positionIds | [integer] | false | none | none |
»» qualificationIds | [integer] | false | none | none |
Create Industry Position Qualification Group Mapping
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/qualifications-group-mapping");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
POST http://localhost:8080/v1/ontology/qualifications-group-mapping HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"agnostic_industry": true,
"industry_ids": [
0
],
"position_id": 0,
"section_ids": [
0
]
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/qualifications-group-mapping',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /ontology/qualifications-group-mapping
Body parameter
{
"agnostic_industry": true,
"industry_ids": [
0
],
"position_id": 0,
"section_ids": [
0
]
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | CreateOntologyMapping | false | createOntologyMapping |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Update Industry Position Qualification Group Mapping
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/qualifications-group-mapping");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
PUT http://localhost:8080/v1/ontology/qualifications-group-mapping HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"agnostic_industry": true,
"deleted_industry_ids": [
0
],
"deleted_position_ids": [
0
],
"deleted_section_ids": [
0
],
"industry_id": [
0
],
"position_id": [
0
],
"section_ids": [
0
]
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/qualifications-group-mapping',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /ontology/qualifications-group-mapping
Body parameter
{
"agnostic_industry": true,
"deleted_industry_ids": [
0
],
"deleted_position_ids": [
0
],
"deleted_section_ids": [
0
],
"industry_id": [
0
],
"position_id": [
0
],
"section_ids": [
0
]
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | UpdateOntologyMapping | false | updateOntologyMapping |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Update qualifications
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/qualifications/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
PUT http://localhost:8080/v1/ontology/qualifications/{id} HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"name": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/qualifications/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /ontology/qualifications/{id}
Body parameter
{
"name": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | integer(int32) | true | Qualifications ID |
body | body | OntologyEditorRequest | false | ontologyEditorRequest |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Get all skills
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/skills");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/ontology/skills HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/ontology/skills',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /ontology/skills
Example responses
200 Response
[
{
"id": 0,
"name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Skill] | false | none | none |
» Skill | Skill | false | none | none |
»» id | integer(int32) | false | none | none |
»» name | string | false | none | none |
Create skills
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/skills");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
POST http://localhost:8080/v1/ontology/skills HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"name": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/skills',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /ontology/skills
Body parameter
{
"name": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | OntologyEditorRequest | false | ontologyEditorRequest |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Get all Industry Position Skills Group Mapping
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/skills-group-mapping");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
GET http://localhost:8080/v1/ontology/skills-group-mapping HTTP/1.1
Host: localhost:8080
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('http://localhost:8080/v1/ontology/skills-group-mapping',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /ontology/skills-group-mapping
Example responses
200 Response
[
{
"agnosticSkill": true,
"industryIds": [
0
],
"positionIds": [
0
],
"skillIds": [
0
]
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [IndustryPositionSkillsGroup] | false | none | none |
» IndustryPositionSkillsGroup | IndustryPositionSkillsGroup | false | none | none |
»» agnosticSkill | boolean | false | none | none |
»» industryIds | [integer] | false | none | none |
»» positionIds | [integer] | false | none | none |
»» skillIds | [integer] | false | none | none |
Create Industry Position Skills Group Mapping
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/skills-group-mapping");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
POST http://localhost:8080/v1/ontology/skills-group-mapping HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"agnostic_industry": true,
"industry_ids": [
0
],
"position_id": 0,
"section_ids": [
0
]
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/skills-group-mapping',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /ontology/skills-group-mapping
Body parameter
{
"agnostic_industry": true,
"industry_ids": [
0
],
"position_id": 0,
"section_ids": [
0
]
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | CreateOntologyMapping | false | createOntologyMapping |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Update Industry Position Skills Group Mapping
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/skills-group-mapping");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
PUT http://localhost:8080/v1/ontology/skills-group-mapping HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"agnostic_industry": true,
"deleted_industry_ids": [
0
],
"deleted_position_ids": [
0
],
"deleted_section_ids": [
0
],
"industry_id": [
0
],
"position_id": [
0
],
"section_ids": [
0
]
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/skills-group-mapping',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /ontology/skills-group-mapping
Body parameter
{
"agnostic_industry": true,
"deleted_industry_ids": [
0
],
"deleted_position_ids": [
0
],
"deleted_section_ids": [
0
],
"industry_id": [
0
],
"position_id": [
0
],
"section_ids": [
0
]
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | UpdateOntologyMapping | false | updateOntologyMapping |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Update skills
Code samples
URL obj = new URL("http://localhost:8080/v1/ontology/skills/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
PUT http://localhost:8080/v1/ontology/skills/{id} HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
const inputBody = '{
"name": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'*/*'
};
fetch('http://localhost:8080/v1/ontology/skills/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
PUT /ontology/skills/{id}
Body parameter
{
"name": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | integer(int32) | true | Skills ID |
body | body | OntologyEditorRequest | false | ontologyEditorRequest |
Example responses
200 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | string |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | resource not found | string |
500 | Internal Server Error | internal server error | string |
Schemas
AuthRequest
{
"password": "string",
"username": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
password | string | false | none | none |
username | string | false | none | none |
AuthResponse
{
"is_admin": true,
"verified": true
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
is_admin | boolean | false | none | none |
verified | boolean | false | none | none |
CreateOntologyMapping
{
"agnostic_industry": true,
"industry_ids": [
0
],
"position_id": 0,
"section_ids": [
0
]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
agnostic_industry | boolean | false | none | none |
industry_ids | [integer] | false | none | none |
position_id | integer(int32) | false | none | none |
section_ids | [integer] | false | none | none |
Function
{
"id": 0,
"name": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int32) | false | none | none |
name | string | false | none | none |
Industry
{
"id": 0,
"name": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int32) | false | none | none |
name | string | false | none | none |
IndustryPositionProductsServicesGroup
{
"agnosticProductsServices": true,
"industryIds": [
0
],
"positionIds": [
0
],
"productServiceIds": [
0
]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
agnosticProductsServices | boolean | false | none | none |
industryIds | [integer] | false | none | none |
positionIds | [integer] | false | none | none |
productServiceIds | [integer] | false | none | none |
IndustryPositionQualificationsGroup
{
"agnosticQualification": true,
"industryIds": [
0
],
"positionIds": [
0
],
"qualificationIds": [
0
]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
agnosticQualification | boolean | false | none | none |
industryIds | [integer] | false | none | none |
positionIds | [integer] | false | none | none |
qualificationIds | [integer] | false | none | none |
IndustryPositionSkillsGroup
{
"agnosticSkill": true,
"industryIds": [
0
],
"positionIds": [
0
],
"skillIds": [
0
]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
agnosticSkill | boolean | false | none | none |
industryIds | [integer] | false | none | none |
positionIds | [integer] | false | none | none |
skillIds | [integer] | false | none | none |
OntologyEditorRequest
{
"name": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string | false | none | none |
Position
{
"description": "string",
"id": 0
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
description | string | false | none | none |
id | integer(int32) | false | none | none |
PositionFunctionMapping
{
"description": "string",
"id": 0,
"position": [
{
"description": "string",
"id": 0
}
]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
description | string | false | none | none |
id | integer(int32) | false | none | none |
position | [Position] | false | none | none |
PositionRequest
{
"agnostic_products_and_services": true,
"agnostic_qualification": true,
"agnostic_skill": true,
"name": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
agnostic_products_and_services | boolean | false | none | none |
agnostic_qualification | boolean | false | none | none |
agnostic_skill | boolean | false | none | none |
name | string | false | none | none |
PositionWithAgnosticMapping
{
"agnostic_products_and_services": true,
"agnostic_qualification": true,
"agnostic_skill": true,
"description": "string",
"id": 0
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
agnostic_products_and_services | boolean | false | none | none |
agnostic_qualification | boolean | false | none | none |
agnostic_skill | boolean | false | none | none |
description | string | false | none | none |
id | integer(int32) | false | none | none |
ProductsAndServices
{
"id": 0,
"name": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int32) | false | none | none |
name | string | false | none | none |
Qualification
{
"id": 0,
"name": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int32) | false | none | none |
name | string | false | none | none |
Skill
{
"id": 0,
"name": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int32) | false | none | none |
name | string | false | none | none |
UpdateOntologyMapping
{
"agnostic_industry": true,
"deleted_industry_ids": [
0
],
"deleted_position_ids": [
0
],
"deleted_section_ids": [
0
],
"industry_id": [
0
],
"position_id": [
0
],
"section_ids": [
0
]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
agnostic_industry | boolean | false | none | none |
deleted_industry_ids | [integer] | false | none | none |
deleted_position_ids | [integer] | false | none | none |
deleted_section_ids | [integer] | false | none | none |
industry_id | [integer] | false | none | none |
position_id | [integer] | false | none | none |
section_ids | [integer] | false | none | none |
UpsertPositionFunctionMapping
{
"deleted_position_ids": [
0
],
"function_id": 0,
"position_ids": [
0
]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
deleted_position_ids | [integer] | false | none | none |
function_id | integer(int32) | false | none | none |
position_ids | [integer] | false | none | none |