Introduction
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
Admin Dashboard
All other endpoints
Retrieve various metrics for the admin dashboard (Stability Score: 0.1)
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/dashboard" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/dashboard"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Crudy Endpoints
All Crudy endpoints
Salary warning
Fetch a Salary warning by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/salary-warnings/hic?include=employee%2CsalaryRule" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/salary-warnings/hic"
);
const params = {
"include": "employee,salaryRule",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "SalaryWarning [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Salary warnings with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/salary-warnings?page=1&pageSize=15&withSoftDeletes=1&include=employee%2CsalaryRule" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/salary-warnings"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "employee,salaryRule",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Salary warnings based on the provided filters, scopes, sorting and pagination (Stability Score: 0.5)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/salary-warnings/search?page=1&pageSize=15&withSoftDeletes=1&include=employee%2CsalaryRule" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"confirmedBy\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"salaryRuleId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"employeeId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"salaryPeriod\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/salary-warnings/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "employee,salaryRule",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "confirmedBy",
"operator": "=",
"value": "value"
},
{
"field": "salaryRuleId",
"operator": "=",
"value": "value"
},
{
"field": "employeeId",
"operator": "=",
"value": "value"
},
{
"field": "salaryPeriod",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Company integration
Create a new Company integration
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-integrations?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"externalIntegrationId\": \"eos\",
\"companyId\": \"sit\"
}"
const url = new URL(
"http://localhost/api/v1/company-integrations"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"externalIntegrationId": "eos",
"companyId": "sit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Company integrations
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-integrations/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"externalIntegrationId\": \"id\",
\"companyId\": \"laborum\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/company-integrations/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"externalIntegrationId": "id",
"companyId": "laborum"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Company integration by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company-integrations/iusto?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company-integrations/iusto"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "CompanyIntegration [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Company integrations
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/company-integrations/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost/api/v1/company-integrations/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Company integration by its ID (Stability Score: 0.5)
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/company-integrations/voluptates?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost/api/v1/company-integrations/voluptates"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "CompanyIntegration [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Company integrations by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/company-integrations/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"sunt\"
]
}"
const url = new URL(
"http://localhost/api/v1/company-integrations/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"sunt"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Company integration by its ID (Stability Score: 0.5)
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/company-integrations/voluptatibus?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company-integrations/voluptatibus"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "CompanyIntegration [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Company integrations with pagination (Stability Score: 0.5)
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company-integrations?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company-integrations"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Company integrations based on the provided filters, scopes, sorting and pagination (Stability Score: 0.5)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-integrations/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"externalIntegrationId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"companyId\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/company-integrations/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "externalIntegrationId",
"operator": "=",
"value": "value"
},
{
"field": "companyId",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Integration type
Fetch a list of Integration types with pagination (Stability Score: 0.5)
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/integration-types?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/integration-types"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Integration types based on the provided filters, scopes, sorting and pagination (Stability Score: 0.5)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/integration-types/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"name\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/integration-types/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "name",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
User
Fetch a list of Users with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/users?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/users"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Users based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/users/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/users/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Notification
Fetch a list of Notifications with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/notifications?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/notifications"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Notifications based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/notifications/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"readAt\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/notifications/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "readAt",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Employee field
Create a new Employee field
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employee-fields?include=combinedFields" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": true,
\"isMandatory\": false,
\"salarySensitive\": true,
\"sensitive\": false,
\"allowNewValue\": true,
\"observe\": true,
\"importExcluded\": true,
\"manualInput\": false,
\"fieldType\": \"number\",
\"dataType\": \"date\",
\"maxInput\": 96,
\"minInput\": 5.262827656,
\"maxLength\": 4857812.8,
\"minLength\": 439003.0755778,
\"fieldName\": \"fczchmxmqlrpvf\",
\"combinedFieldIds\": [
\"animi\"
]
}"
const url = new URL(
"http://localhost/api/v1/employee-fields"
);
const params = {
"include": "combinedFields",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": true,
"isMandatory": false,
"salarySensitive": true,
"sensitive": false,
"allowNewValue": true,
"observe": true,
"importExcluded": true,
"manualInput": false,
"fieldType": "number",
"dataType": "date",
"maxInput": 96,
"minInput": 5.262827656,
"maxLength": 4857812.8,
"minLength": 439003.0755778,
"fieldName": "fczchmxmqlrpvf",
"combinedFieldIds": [
"animi"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Employee field by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/employee-fields/est?include=combinedFields" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/employee-fields/est"
);
const params = {
"include": "combinedFields",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "EmployeeField [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Employee field by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/employee-fields/iure?include=combinedFields" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": true,
\"isMandatory\": true,
\"salarySensitive\": true,
\"sensitive\": true,
\"allowNewValue\": false,
\"observe\": false,
\"importExcluded\": true,
\"manualInput\": true,
\"fieldType\": \"checkbox\",
\"dataType\": \"string\",
\"maxInput\": 6239,
\"minInput\": 87812023,
\"maxLength\": 4819160.833784439,
\"minLength\": 308791.909123419,
\"combinedFieldIds\": [
\"consequatur\"
]
}"
const url = new URL(
"http://localhost/api/v1/employee-fields/iure"
);
const params = {
"include": "combinedFields",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": true,
"isMandatory": true,
"salarySensitive": true,
"sensitive": true,
"allowNewValue": false,
"observe": false,
"importExcluded": true,
"manualInput": true,
"fieldType": "checkbox",
"dataType": "string",
"maxInput": 6239,
"minInput": 87812023,
"maxLength": 4819160.833784439,
"minLength": 308791.909123419,
"combinedFieldIds": [
"consequatur"
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "EmployeeField [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Employee field by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/employee-fields/voluptas?include=combinedFields" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/employee-fields/voluptas"
);
const params = {
"include": "combinedFields",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "EmployeeField [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Employee fields with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/employee-fields?page=1&pageSize=15&withSoftDeletes=1&include=combinedFields" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/employee-fields"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "combinedFields",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Log entity
Fetch a list of Log entities with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/log-entities?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/log-entities"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Log entities based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/log-entities/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"entity\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"entityId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"action\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"createdBy\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"createdAt\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/log-entities/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "entity",
"operator": "=",
"value": "value"
},
{
"field": "entityId",
"operator": "=",
"value": "value"
},
{
"field": "action",
"operator": "=",
"value": "value"
},
{
"field": "createdBy",
"operator": "=",
"value": "value"
},
{
"field": "createdAt",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Variable type
Create a new Variable type
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/variable-types?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"description\": \"Eius maiores quod et dolor qui occaecati.\"
}"
const url = new URL(
"http://localhost/api/v1/variable-types"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"description": "Eius maiores quod et dolor qui occaecati."
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Variable types
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/variable-types/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"description\": \"Voluptas et sed consectetur itaque placeat sed id.\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/variable-types/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"description": "Voluptas et sed consectetur itaque placeat sed id."
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Variable type by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/variable-types/quo?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/variable-types/quo"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "VariableType [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Variable types
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/variable-types/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"description\": \"Molestiae voluptas accusamus inventore id.\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/variable-types/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"description": "Molestiae voluptas accusamus inventore id."
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Variable type by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/variable-types/perspiciatis?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"description\": \"Non repellendus quas autem dolore omnis.\"
}"
const url = new URL(
"http://localhost/api/v1/variable-types/perspiciatis"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"description": "Non repellendus quas autem dolore omnis."
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "VariableType [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Variable types by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/variable-types/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"et\"
]
}"
const url = new URL(
"http://localhost/api/v1/variable-types/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"et"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Variable type by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/variable-types/quis?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/variable-types/quis"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "VariableType [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Variable types with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/variable-types?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/variable-types"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Variable types based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/variable-types/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"description\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/variable-types/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "description",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Salary rule
Create a new Salary rule
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/salary-rules?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"companyId\": \"fuga\",
\"warning\": \"quae\",
\"solutionDescription\": \"molestiae\",
\"ruleExpression\": [
{
\"type\": \"logical_operator\",
\"payCodeIds\": [
13
],
\"previous_periods\": 1,
\"diff_type\": \"real\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/salary-rules"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"companyId": "fuga",
"warning": "quae",
"solutionDescription": "molestiae",
"ruleExpression": [
{
"type": "logical_operator",
"payCodeIds": [
13
],
"previous_periods": 1,
"diff_type": "real"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Salary rule by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/salary-rules/veniam?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/salary-rules/veniam"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "SalaryRule [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Salary rule by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/salary-rules/omnis?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"warning\": \"quia\",
\"solutionDescription\": \"necessitatibus\",
\"ruleExpression\": [
{
\"type\": \"logical_operator\",
\"payCodeIds\": [
\"earum\"
],
\"previous_periods\": 1,
\"diff_type\": \"real\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/salary-rules/omnis"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"warning": "quia",
"solutionDescription": "necessitatibus",
"ruleExpression": [
{
"type": "logical_operator",
"payCodeIds": [
"earum"
],
"previous_periods": 1,
"diff_type": "real"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "SalaryRule [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Salary rule by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/salary-rules/architecto?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/salary-rules/architecto"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "SalaryRule [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Salary rules with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/salary-rules?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/salary-rules"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Salary rules based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/salary-rules/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/salary-rules/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Org integrations mapping
Create a new Org integrations mapping
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/org-integrations-mappings?include=externalIntegration%2Corganization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"externalIntegrationId\": \"labore\",
\"organizationId\": \"unde\",
\"notes\": \"deserunt\",
\"status\": \"inactive\"
}"
const url = new URL(
"http://localhost/api/v1/org-integrations-mappings"
);
const params = {
"include": "externalIntegration,organization",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"externalIntegrationId": "labore",
"organizationId": "unde",
"notes": "deserunt",
"status": "inactive"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Org integrations mappings
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/org-integrations-mappings/batch?include=externalIntegration%2Corganization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"externalIntegrationId\": \"quasi\",
\"organizationId\": \"aut\",
\"notes\": \"quia\",
\"status\": \"active\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/org-integrations-mappings/batch"
);
const params = {
"include": "externalIntegration,organization",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"externalIntegrationId": "quasi",
"organizationId": "aut",
"notes": "quia",
"status": "active"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Org integrations mapping by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/org-integrations-mappings/ea?include=externalIntegration%2Corganization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/org-integrations-mappings/ea"
);
const params = {
"include": "externalIntegration,organization",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Org integrations mappings
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/org-integrations-mappings/batch?include=externalIntegration%2Corganization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"notes\": \"sit\",
\"status\": \"inactive\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/org-integrations-mappings/batch"
);
const params = {
"include": "externalIntegration,organization",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"notes": "sit",
"status": "inactive"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Org integrations mapping by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/org-integrations-mappings/rerum?include=externalIntegration%2Corganization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"notes\": \"magnam\",
\"status\": \"inactive\"
}"
const url = new URL(
"http://localhost/api/v1/org-integrations-mappings/rerum"
);
const params = {
"include": "externalIntegration,organization",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"notes": "magnam",
"status": "inactive"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Org integrations mappings by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/org-integrations-mappings/batch?include=externalIntegration%2Corganization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"eum\"
]
}"
const url = new URL(
"http://localhost/api/v1/org-integrations-mappings/batch"
);
const params = {
"include": "externalIntegration,organization",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"eum"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Org integrations mapping by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/org-integrations-mappings/culpa?include=externalIntegration%2Corganization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/org-integrations-mappings/culpa"
);
const params = {
"include": "externalIntegration,organization",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Org integrations mappings with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/org-integrations-mappings?page=1&pageSize=15&withSoftDeletes=1&include=externalIntegration%2Corganization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/org-integrations-mappings"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "externalIntegration,organization",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Org integrations mappings based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/org-integrations-mappings/search?page=1&pageSize=15&withSoftDeletes=1&include=externalIntegration%2Corganization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"externalIntegrationId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"organizationId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"status\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/org-integrations-mappings/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "externalIntegration,organization",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "externalIntegrationId",
"operator": "=",
"value": "value"
},
{
"field": "organizationId",
"operator": "=",
"value": "value"
},
{
"field": "status",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Field value matrix
Create a new Field value matrix
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/field-value-matrices?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"cupiditate\",
\"description\": \"Ut sed eius dolores rerum reprehenderit doloribus mollitia.\",
\"keyFieldValue\": \"est\",
\"keyFieldId\": \"est\",
\"matrixFields\": [
{
\"fieldId\": \"ab\",
\"fieldValue\": \"aut\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/field-value-matrices"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "cupiditate",
"description": "Ut sed eius dolores rerum reprehenderit doloribus mollitia.",
"keyFieldValue": "est",
"keyFieldId": "est",
"matrixFields": [
{
"fieldId": "ab",
"fieldValue": "aut"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Field value matrices
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/field-value-matrices/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"name\": \"quae\",
\"description\": \"Quo repellat eveniet pariatur quod perferendis et.\",
\"keyFieldValue\": \"ut\",
\"keyFieldId\": \"labore\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/field-value-matrices/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"name": "quae",
"description": "Quo repellat eveniet pariatur quod perferendis et.",
"keyFieldValue": "ut",
"keyFieldId": "labore"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Field value matrix by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/field-value-matrices/praesentium?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/field-value-matrices/praesentium"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "FieldValueMatrix [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Field value matrices
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/field-value-matrices/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"name\": \"ipsa\",
\"description\": \"Quo qui est quidem aspernatur non repudiandae.\",
\"keyFieldValue\": \"at\",
\"keyFieldId\": \"eligendi\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/field-value-matrices/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"name": "ipsa",
"description": "Quo qui est quidem aspernatur non repudiandae.",
"keyFieldValue": "at",
"keyFieldId": "eligendi"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Field value matrix by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/field-value-matrices/quae?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"consectetur\",
\"description\": \"Repellendus at illo eos ut pariatur atque.\",
\"keyFieldValue\": \"excepturi\",
\"keyFieldId\": \"omnis\",
\"matrixFields\": [
{
\"fieldId\": \"vero\",
\"fieldValue\": \"blanditiis\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/field-value-matrices/quae"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "consectetur",
"description": "Repellendus at illo eos ut pariatur atque.",
"keyFieldValue": "excepturi",
"keyFieldId": "omnis",
"matrixFields": [
{
"fieldId": "vero",
"fieldValue": "blanditiis"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "FieldValueMatrix [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Field value matrices by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/field-value-matrices/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"totam\"
]
}"
const url = new URL(
"http://localhost/api/v1/field-value-matrices/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"totam"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Field value matrix by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/field-value-matrices/possimus?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/field-value-matrices/possimus"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "FieldValueMatrix [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Field value matrices with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/field-value-matrices?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/field-value-matrices"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Field value matrices based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/field-value-matrices/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"name\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"description\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"keyFieldValue\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"keyFieldId\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/field-value-matrices/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "name",
"operator": "=",
"value": "value"
},
{
"field": "description",
"operator": "=",
"value": "value"
},
{
"field": "keyFieldValue",
"operator": "=",
"value": "value"
},
{
"field": "keyFieldId",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Organization
Create a new Organization
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/organizations?include=companies" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"quod\",
\"orgNumber\": \"sed\"
}"
const url = new URL(
"http://localhost/api/v1/organizations"
);
const params = {
"include": "companies",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "quod",
"orgNumber": "sed"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Organizations
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/organizations/batch?include=companies" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"name\": \"unde\",
\"orgNumber\": \"minus\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/organizations/batch"
);
const params = {
"include": "companies",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"name": "unde",
"orgNumber": "minus"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Organization by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/organizations/ut?include=companies" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/organizations/ut"
);
const params = {
"include": "companies",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "Organization [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Organizations
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/organizations/batch?include=companies" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"name\": \"et\",
\"orgNumber\": \"ut\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/organizations/batch"
);
const params = {
"include": "companies",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"name": "et",
"orgNumber": "ut"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Organization by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/organizations/ipsum?include=companies" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"quis\",
\"orgNumber\": \"sit\"
}"
const url = new URL(
"http://localhost/api/v1/organizations/ipsum"
);
const params = {
"include": "companies",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "quis",
"orgNumber": "sit"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "Organization [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Organizations by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/organizations/batch?include=companies" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"vitae\"
]
}"
const url = new URL(
"http://localhost/api/v1/organizations/batch"
);
const params = {
"include": "companies",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"vitae"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Organization by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/organizations/ut?include=companies" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/organizations/ut"
);
const params = {
"include": "companies",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "Organization [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Organizations with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/organizations?page=1&pageSize=15&withSoftDeletes=1&include=companies" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/organizations"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "companies",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Organizations based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/organizations/search?page=1&pageSize=15&withSoftDeletes=1&include=companies" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"name\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"orgNumber\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/organizations/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "companies",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "name",
"operator": "=",
"value": "value"
},
{
"field": "orgNumber",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Menu
Create a new Menu
requires authentication
Batch create new Menus
requires authentication
Fetch a Menu by its ID
requires authentication
Batch update Menus
requires authentication
Update a Menu by its ID
requires authentication
Batch delete Menus by their IDs
requires authentication
Delete a Menu by its ID
requires authentication
Fetch a list of Menus with pagination
requires authentication
Fetch a list of Menus based on the provided filters, scopes, sorting and pagination
requires authentication
Company field map
Create a new Company field map
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-field-maps?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"externalCompanyFieldId\": \"nemo\",
\"companyFieldId\": \"amet\",
\"companyId\": \"incidunt\",
\"externalIntegrationId\": \"hic\"
}"
const url = new URL(
"http://localhost/api/v1/company-field-maps"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"externalCompanyFieldId": "nemo",
"companyFieldId": "amet",
"companyId": "incidunt",
"externalIntegrationId": "hic"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Company field maps
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-field-maps/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"externalCompanyFieldId\": \"similique\",
\"companyFieldId\": \"dignissimos\",
\"companyId\": \"architecto\",
\"externalIntegrationId\": \"ut\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/company-field-maps/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"externalCompanyFieldId": "similique",
"companyFieldId": "dignissimos",
"companyId": "architecto",
"externalIntegrationId": "ut"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Company field map by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company-field-maps/quia?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company-field-maps/quia"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "CompanyFieldMap [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Company field maps
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/company-field-maps/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"externalCompanyFieldId\": \"deserunt\",
\"companyFieldId\": \"quasi\",
\"companyId\": \"omnis\",
\"externalIntegrationId\": \"blanditiis\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/company-field-maps/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"externalCompanyFieldId": "deserunt",
"companyFieldId": "quasi",
"companyId": "omnis",
"externalIntegrationId": "blanditiis"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Company field map by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/company-field-maps/minima?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"externalCompanyFieldId\": \"sint\",
\"companyFieldId\": \"aut\",
\"companyId\": \"unde\",
\"externalIntegrationId\": \"consequatur\"
}"
const url = new URL(
"http://localhost/api/v1/company-field-maps/minima"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"externalCompanyFieldId": "sint",
"companyFieldId": "aut",
"companyId": "unde",
"externalIntegrationId": "consequatur"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "CompanyFieldMap [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Company field maps by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/company-field-maps/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"quidem\"
]
}"
const url = new URL(
"http://localhost/api/v1/company-field-maps/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"quidem"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Company field map by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/company-field-maps/tempore?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company-field-maps/tempore"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "CompanyFieldMap [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Company field maps with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company-field-maps?page=1&pageSize=15&withSoftDeletes=1&include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company-field-maps"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Company field maps based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-field-maps/search?page=1&pageSize=15&withSoftDeletes=1&include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"companyId\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/company-field-maps/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "companyId",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Pay code variable
Create a new Pay code variable
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-variables?include=variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"variableTypeId\": \"quas\"
}"
const url = new URL(
"http://localhost/api/v1/pay-code-variables"
);
const params = {
"include": "variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"variableTypeId": "quas"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Pay code variables
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-variables/batch?include=variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"variableTypeId\": \"quaerat\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-variables/batch"
);
const params = {
"include": "variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"variableTypeId": "quaerat"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Pay code variable by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/pay-code-variables/nobis?include=variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-variables/nobis"
);
const params = {
"include": "variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeVariable [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Pay code variables
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/pay-code-variables/batch?include=variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost/api/v1/pay-code-variables/batch"
);
const params = {
"include": "variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Pay code variable by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/pay-code-variables/placeat?include=variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost/api/v1/pay-code-variables/placeat"
);
const params = {
"include": "variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeVariable [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Pay code variables by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/pay-code-variables/batch?include=variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"fugit\"
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-variables/batch"
);
const params = {
"include": "variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"fugit"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Pay code variable by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/pay-code-variables/omnis?include=variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-variables/omnis"
);
const params = {
"include": "variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeVariable [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Pay code variables with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/pay-code-variables?page=1&pageSize=15&withSoftDeletes=1&include=variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-variables"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Pay code variables based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-variables/search?page=1&pageSize=15&withSoftDeletes=1&include=variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"variableTypeId\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-variables/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "variableTypeId",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Pay code type
Create a new Pay code type
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-types?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payCodeTypeNumber\": 2094130.7694592583
}"
const url = new URL(
"http://localhost/api/v1/pay-code-types"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"payCodeTypeNumber": 2094130.7694592583
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Pay code types
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-types/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"payCodeTypeNumber\": 432167161.360392
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-types/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"payCodeTypeNumber": 432167161.360392
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Pay code type by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/pay-code-types/ea?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-types/ea"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeType [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Pay code types
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/pay-code-types/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"payCodeTypeNumber\": 568836.377564563
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-types/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"payCodeTypeNumber": 568836.377564563
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Pay code type by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/pay-code-types/pariatur?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payCodeTypeNumber\": 301.16458
}"
const url = new URL(
"http://localhost/api/v1/pay-code-types/pariatur"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"payCodeTypeNumber": 301.16458
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeType [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Pay code types by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/pay-code-types/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"totam\"
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-types/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"totam"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Pay code type by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/pay-code-types/soluta?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-types/soluta"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeType [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Pay code types with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/pay-code-types?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-types"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Pay code types based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-types/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"payCodeTypeNumber\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-types/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "payCodeTypeNumber",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Pay code mapping
Create a new Pay code mapping
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-mappings?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"companyId\": \"nisi\",
\"organizationId\": \"laboriosam\",
\"isGlobal\": true,
\"isGroup\": true,
\"notes\": \"velit\"
}"
const url = new URL(
"http://localhost/api/v1/pay-code-mappings"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"companyId": "nisi",
"organizationId": "laboriosam",
"isGlobal": true,
"isGroup": true,
"notes": "velit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Pay code mappings
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-mappings/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"companyId\": \"pariatur\",
\"organizationId\": \"ea\",
\"isGlobal\": true,
\"isGroup\": true,
\"mappings\": [],
\"notes\": \"sint\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-mappings/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"companyId": "pariatur",
"organizationId": "ea",
"isGlobal": true,
"isGroup": true,
"mappings": [],
"notes": "sint"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Pay code mapping by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/pay-code-mappings/autem?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-mappings/autem"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeMapping [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Pay code mappings
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/pay-code-mappings/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"isGlobal\": false,
\"isGroup\": false,
\"notes\": \"et\",
\"status\": \"active\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-mappings/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"isGlobal": false,
"isGroup": false,
"notes": "et",
"status": "active"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Pay code mapping by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/pay-code-mappings/culpa?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isGlobal\": false,
\"isGroup\": false,
\"notes\": \"laboriosam\",
\"status\": \"inactive\"
}"
const url = new URL(
"http://localhost/api/v1/pay-code-mappings/culpa"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isGlobal": false,
"isGroup": false,
"notes": "laboriosam",
"status": "inactive"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeMapping [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Pay code mappings by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/pay-code-mappings/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"voluptatem\"
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-mappings/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"voluptatem"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Pay code mapping by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/pay-code-mappings/rerum?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-mappings/rerum"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeMapping [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Pay code mappings with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/pay-code-mappings?page=1&pageSize=15&withSoftDeletes=1&include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-mappings"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Pay code mappings based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-mappings/search?page=1&pageSize=15&withSoftDeletes=1&include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"companyId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"isGlobal\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"isGroup\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"status\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"whiteListedPayCodeIds\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-mappings/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "companyId",
"operator": "=",
"value": "value"
},
{
"field": "isGlobal",
"operator": "=",
"value": "value"
},
{
"field": "isGroup",
"operator": "=",
"value": "value"
},
{
"field": "status",
"operator": "=",
"value": "value"
},
{
"field": "whiteListedPayCodeIds",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Company
Create a new Company
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/companies?include=companies%2CfieldMaps%2CcompanyIntegration" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost/api/v1/companies"
);
const params = {
"include": "companies,fieldMaps,companyIntegration",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Companies
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/companies/batch?include=companies%2CfieldMaps%2CcompanyIntegration" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost/api/v1/companies/batch"
);
const params = {
"include": "companies,fieldMaps,companyIntegration",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Company by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/companies/harum?include=companies%2CfieldMaps%2CcompanyIntegration" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/companies/harum"
);
const params = {
"include": "companies,fieldMaps,companyIntegration",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "Company [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Companies
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/companies/batch?include=companies%2CfieldMaps%2CcompanyIntegration" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost/api/v1/companies/batch"
);
const params = {
"include": "companies,fieldMaps,companyIntegration",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Company by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/companies/praesentium?include=companies%2CfieldMaps%2CcompanyIntegration" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost/api/v1/companies/praesentium"
);
const params = {
"include": "companies,fieldMaps,companyIntegration",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "Company [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Companies by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/companies/batch?include=companies%2CfieldMaps%2CcompanyIntegration" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"accusamus\"
]
}"
const url = new URL(
"http://localhost/api/v1/companies/batch"
);
const params = {
"include": "companies,fieldMaps,companyIntegration",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"accusamus"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Company by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/companies/eligendi?include=companies%2CfieldMaps%2CcompanyIntegration" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/companies/eligendi"
);
const params = {
"include": "companies,fieldMaps,companyIntegration",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "Company [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Companies with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/companies?page=1&pageSize=15&withSoftDeletes=1&include=companies%2CfieldMaps%2CcompanyIntegration" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/companies"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "companies,fieldMaps,companyIntegration",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Companies based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/companies/search?page=1&pageSize=15&withSoftDeletes=1&include=companies%2CfieldMaps%2CcompanyIntegration" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"companyId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"companyName\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"organisationNumber\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"externalId\",
\"direction\": \"asc\"
},
{
\"field\": \"companyId\",
\"direction\": \"asc\"
},
{
\"field\": \"companyName\",
\"direction\": \"asc\"
},
{
\"field\": \"organisationNumber\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/companies/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "companies,fieldMaps,companyIntegration",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "companyId",
"operator": "=",
"value": "value"
},
{
"field": "companyName",
"operator": "=",
"value": "value"
},
{
"field": "organisationNumber",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "externalId",
"direction": "asc"
},
{
"field": "companyId",
"direction": "asc"
},
{
"field": "companyName",
"direction": "asc"
},
{
"field": "organisationNumber",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Company integrations mapping
Create a new Company integrations mapping
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-integrations-mappings?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"externalIntegrationId\": \"qui\",
\"companyId\": \"nesciunt\",
\"notes\": \"molestiae\",
\"status\": \"inactive\"
}"
const url = new URL(
"http://localhost/api/v1/company-integrations-mappings"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"externalIntegrationId": "qui",
"companyId": "nesciunt",
"notes": "molestiae",
"status": "inactive"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Company integrations mappings
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-integrations-mappings/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"externalIntegrationId\": \"exercitationem\",
\"companyId\": \"quo\",
\"notes\": \"magnam\",
\"status\": \"active\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/company-integrations-mappings/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"externalIntegrationId": "exercitationem",
"companyId": "quo",
"notes": "magnam",
"status": "active"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Company integrations mapping by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company-integrations-mappings/voluptates?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company-integrations-mappings/voluptates"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Company integrations mappings
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/company-integrations-mappings/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"notes\": \"placeat\",
\"status\": \"inactive\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/company-integrations-mappings/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"notes": "placeat",
"status": "inactive"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Company integrations mapping by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/company-integrations-mappings/rerum?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"notes\": \"vitae\",
\"status\": \"inactive\"
}"
const url = new URL(
"http://localhost/api/v1/company-integrations-mappings/rerum"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"notes": "vitae",
"status": "inactive"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Company integrations mappings by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/company-integrations-mappings/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"et\"
]
}"
const url = new URL(
"http://localhost/api/v1/company-integrations-mappings/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"et"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Company integrations mapping by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/company-integrations-mappings/totam?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company-integrations-mappings/totam"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Company integrations mappings with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company-integrations-mappings?page=1&pageSize=15&withSoftDeletes=1&include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company-integrations-mappings"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Company integrations mappings based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-integrations-mappings/search?page=1&pageSize=15&withSoftDeletes=1&include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/company-integrations-mappings/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Company settings
Create a new Company settings
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-settings?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"defaultLocale\": \"es_PE\",
\"defaultProfile\": \"tempora\",
\"activeProfile\": \"voluptatem\",
\"companyId\": \"molestiae\",
\"organizationId\": \"non\",
\"organisationNumber\": \"nisi\"
}"
const url = new URL(
"http://localhost/api/v1/company-settings"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"defaultLocale": "es_PE",
"defaultProfile": "tempora",
"activeProfile": "voluptatem",
"companyId": "molestiae",
"organizationId": "non",
"organisationNumber": "nisi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Company settings
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-settings/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"defaultLocale\": \"dz_BT\",
\"defaultProfile\": \"maiores\",
\"activeProfile\": \"officia\",
\"companyId\": \"numquam\",
\"organizationId\": \"ipsum\",
\"organisationNumber\": \"modi\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/company-settings/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"defaultLocale": "dz_BT",
"defaultProfile": "maiores",
"activeProfile": "officia",
"companyId": "numquam",
"organizationId": "ipsum",
"organisationNumber": "modi"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Company settings by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company-settings/illo?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company-settings/illo"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "CompanySettings [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Company settings
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/company-settings/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"defaultLocale\": \"uk_UA\",
\"defaultProfile\": \"aliquid\",
\"activeProfile\": \"qui\",
\"organisationNumber\": \"et\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/company-settings/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"defaultLocale": "uk_UA",
"defaultProfile": "aliquid",
"activeProfile": "qui",
"organisationNumber": "et"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Company settings by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/company-settings/eius?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"defaultLocale\": \"to_TO\",
\"defaultProfile\": \"quae\",
\"activeProfile\": \"et\",
\"organisationNumber\": \"sit\"
}"
const url = new URL(
"http://localhost/api/v1/company-settings/eius"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"defaultLocale": "to_TO",
"defaultProfile": "quae",
"activeProfile": "et",
"organisationNumber": "sit"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "CompanySettings [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Company settings by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/company-settings/batch?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"dignissimos\"
]
}"
const url = new URL(
"http://localhost/api/v1/company-settings/batch"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"dignissimos"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Company settings by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/company-settings/recusandae?include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"companyId\": \"deserunt\"
}"
const url = new URL(
"http://localhost/api/v1/company-settings/recusandae"
);
const params = {
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"companyId": "deserunt"
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "CompanySettings [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Company settings with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company-settings?page=1&pageSize=15&withSoftDeletes=1&include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company-settings"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Company settings based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company-settings/search?page=1&pageSize=15&withSoftDeletes=1&include=company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"companyId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"organisationId\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/company-settings/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "company",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "companyId",
"operator": "=",
"value": "value"
},
{
"field": "organisationId",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Pay code group
Create a new Pay code group
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-groups?include=payCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payCodeGroupNumber\": 172568.8,
\"payCodeVariableIds\": [
\"quo\"
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-groups"
);
const params = {
"include": "payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"payCodeGroupNumber": 172568.8,
"payCodeVariableIds": [
"quo"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Pay code groups
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-groups/batch?include=payCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"payCodeGroupNumber\": 1886.1,
\"payCodeVariableIds\": []
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-groups/batch"
);
const params = {
"include": "payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"payCodeGroupNumber": 1886.1,
"payCodeVariableIds": []
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Pay code group by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/pay-code-groups/doloribus?include=payCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-groups/doloribus"
);
const params = {
"include": "payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeGroup [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Pay code groups
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/pay-code-groups/batch?include=payCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"payCodeGroupNumber\": 1820
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-groups/batch"
);
const params = {
"include": "payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"payCodeGroupNumber": 1820
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Pay code group by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/pay-code-groups/veniam?include=payCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payCodeGroupNumber\": 650692960.91821,
\"payCodeVariableIds\": [
\"quia\"
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-groups/veniam"
);
const params = {
"include": "payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"payCodeGroupNumber": 650692960.91821,
"payCodeVariableIds": [
"quia"
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeGroup [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Pay code groups by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/pay-code-groups/batch?include=payCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"recusandae\"
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-groups/batch"
);
const params = {
"include": "payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"recusandae"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Pay code group by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/pay-code-groups/autem?include=payCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-groups/autem"
);
const params = {
"include": "payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCodeGroup [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Pay code groups with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/pay-code-groups?page=1&pageSize=15&withSoftDeletes=1&include=payCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-code-groups"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Pay code groups based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-groups/search?page=1&pageSize=15&withSoftDeletes=1&include=payCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"payCodeGroupNumber\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"payCodeVariableIds\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-code-groups/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "payCodeGroupNumber",
"operator": "=",
"value": "value"
},
{
"field": "payCodeVariableIds",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
External integration
Create a new External integration
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/external-integrations?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"integrationName\": \"nemo\",
\"description\": \"Molestiae illum officia rerum cumque iusto voluptatum enim voluptatem.\",
\"status\": \"inactive\",
\"integrationTypeId\": \"et\"
}"
const url = new URL(
"http://localhost/api/v1/external-integrations"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"integrationName": "nemo",
"description": "Molestiae illum officia rerum cumque iusto voluptatum enim voluptatem.",
"status": "inactive",
"integrationTypeId": "et"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new External integrations
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/external-integrations/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"integrationName\": \"culpa\",
\"description\": \"Laudantium veritatis incidunt ex deserunt facilis.\",
\"status\": \"inactive\",
\"integrationTypeId\": \"in\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/external-integrations/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"integrationName": "culpa",
"description": "Laudantium veritatis incidunt ex deserunt facilis.",
"status": "inactive",
"integrationTypeId": "in"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a External integration by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/external-integrations/corrupti?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/external-integrations/corrupti"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "ExternalIntegration [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update External integrations
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/external-integrations/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"description\": \"Deleniti et voluptas voluptatem voluptatem.\",
\"status\": \"inactive\",
\"integrationTypeId\": \"pariatur\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/external-integrations/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"description": "Deleniti et voluptas voluptatem voluptatem.",
"status": "inactive",
"integrationTypeId": "pariatur"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a External integration by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/external-integrations/cum?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"description\": \"Nisi sed natus nulla dolores veritatis.\",
\"status\": \"inactive\",
\"integrationTypeId\": \"suscipit\"
}"
const url = new URL(
"http://localhost/api/v1/external-integrations/cum"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"description": "Nisi sed natus nulla dolores veritatis.",
"status": "inactive",
"integrationTypeId": "suscipit"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "ExternalIntegration [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete External integrations by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/external-integrations/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"iste\"
]
}"
const url = new URL(
"http://localhost/api/v1/external-integrations/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"iste"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a External integration by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/external-integrations/ad?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/external-integrations/ad"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "ExternalIntegration [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of External integrations with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/external-integrations?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/external-integrations"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of External integrations based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/external-integrations/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"integrationName\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"description\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"status\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/external-integrations/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "integrationName",
"operator": "=",
"value": "value"
},
{
"field": "description",
"operator": "=",
"value": "value"
},
{
"field": "status",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Pay code
Create a new Pay code
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-codes?include=payCodeGroup%2CpayCodeType%2CpayCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"companyId\": \"adipisci\",
\"integrationId\": \"molestiae\",
\"organizationId\": \"autem\",
\"payCodeNumber\": 163,
\"payCodeGroupId\": \"est\",
\"payCodeTypeId\": \"porro\",
\"payCodeVariableIds\": [
\"enim\"
]
}"
const url = new URL(
"http://localhost/api/v1/pay-codes"
);
const params = {
"include": "payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"companyId": "adipisci",
"integrationId": "molestiae",
"organizationId": "autem",
"payCodeNumber": 163,
"payCodeGroupId": "est",
"payCodeTypeId": "porro",
"payCodeVariableIds": [
"enim"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Pay codes
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-codes/batch?include=payCodeGroup%2CpayCodeType%2CpayCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"companyId\": \"dicta\",
\"integrationId\": \"quod\",
\"organizationId\": \"qui\",
\"payCodeNumber\": 52173309.2462472,
\"payCodeGroupId\": \"aut\",
\"payCodeTypeId\": \"beatae\",
\"payCodeVariableIds\": []
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-codes/batch"
);
const params = {
"include": "payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"companyId": "dicta",
"integrationId": "quod",
"organizationId": "qui",
"payCodeNumber": 52173309.2462472,
"payCodeGroupId": "aut",
"payCodeTypeId": "beatae",
"payCodeVariableIds": []
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Pay code by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/pay-codes/iure?include=payCodeGroup%2CpayCodeType%2CpayCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-codes/iure"
);
const params = {
"include": "payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCode [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Pay codes
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/pay-codes/batch?include=payCodeGroup%2CpayCodeType%2CpayCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"payCodeNumber\": 351.1508298,
\"payCodeGroupId\": \"voluptas\",
\"payCodeTypeId\": \"ullam\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-codes/batch"
);
const params = {
"include": "payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"payCodeNumber": 351.1508298,
"payCodeGroupId": "voluptas",
"payCodeTypeId": "ullam"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Pay code by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/pay-codes/eligendi?include=payCodeGroup%2CpayCodeType%2CpayCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payCodeNumber\": 1526.6751,
\"payCodeGroupId\": \"repellendus\",
\"payCodeTypeId\": \"est\",
\"payCodeVariableIds\": [
\"numquam\"
]
}"
const url = new URL(
"http://localhost/api/v1/pay-codes/eligendi"
);
const params = {
"include": "payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"payCodeNumber": 1526.6751,
"payCodeGroupId": "repellendus",
"payCodeTypeId": "est",
"payCodeVariableIds": [
"numquam"
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCode [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Pay codes by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/pay-codes/batch?include=payCodeGroup%2CpayCodeType%2CpayCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"dolorum\"
]
}"
const url = new URL(
"http://localhost/api/v1/pay-codes/batch"
);
const params = {
"include": "payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"dolorum"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Pay code by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/pay-codes/omnis?include=payCodeGroup%2CpayCodeType%2CpayCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-codes/omnis"
);
const params = {
"include": "payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PayCode [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Pay codes with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/pay-codes?page=1&pageSize=15&withSoftDeletes=1&include=payCodeGroup%2CpayCodeType%2CpayCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/pay-codes"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Pay codes based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-codes/search?page=1&pageSize=15&withSoftDeletes=1&include=payCodeGroup%2CpayCodeType%2CpayCodeVariables%2CpayCodeVariables.variableType" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"organizationId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"integrationId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"companyId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"payCodeNumber\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"payCodeGroupId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"payCodeTypeId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"payCodeVariableIds\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"payCodeNumber\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/pay-codes/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "organizationId",
"operator": "=",
"value": "value"
},
{
"field": "integrationId",
"operator": "=",
"value": "value"
},
{
"field": "companyId",
"operator": "=",
"value": "value"
},
{
"field": "payCodeNumber",
"operator": "=",
"value": "value"
},
{
"field": "payCodeGroupId",
"operator": "=",
"value": "value"
},
{
"field": "payCodeTypeId",
"operator": "=",
"value": "value"
},
{
"field": "payCodeVariableIds",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "payCodeNumber",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Personal card profile
Create a new Personal card profile
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personal-card-profiles?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"omnis\",
\"tabs\": [
{
\"order\": 654283.881,
\"personalCardProfileTabId\": \"at\",
\"grids\": [
{
\"order\": 1,
\"personalCardProfileTabGridId\": \"aut\",
\"fieldGroupId\": \"qui\",
\"fields\": [
{
\"order\": 1791.1527595,
\"fieldId\": \"qui\"
}
]
}
]
}
],
\"description\": \"Qui labore fugit eveniet et distinctio.\",
\"isGlobal\": \"eligendi\",
\"companyId\": \"deserunt\"
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profiles"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "omnis",
"tabs": [
{
"order": 654283.881,
"personalCardProfileTabId": "at",
"grids": [
{
"order": 1,
"personalCardProfileTabGridId": "aut",
"fieldGroupId": "qui",
"fields": [
{
"order": 1791.1527595,
"fieldId": "qui"
}
]
}
]
}
],
"description": "Qui labore fugit eveniet et distinctio.",
"isGlobal": "eligendi",
"companyId": "deserunt"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Personal card profiles
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personal-card-profiles/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"name\": \"harum\",
\"description\": \"Voluptatem nam et dolores.\",
\"isGlobal\": \"iste\",
\"companyId\": \"voluptatem\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profiles/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"name": "harum",
"description": "Voluptatem nam et dolores.",
"isGlobal": "iste",
"companyId": "voluptatem"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Personal card profile by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/personal-card-profiles/quibusdam?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isGlobal\": \"a\"
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profiles/quibusdam"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isGlobal": "a"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PersonalCardProfile [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Personal card profiles
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/personal-card-profiles/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"debitis\",
\"description\": \"Sunt qui itaque voluptates necessitatibus.\",
\"tabs\": [
{
\"order\": 4489190.5,
\"personalCardProfileTabId\": \"ullam\",
\"grids\": [
{
\"order\": 120.5959,
\"personalCardProfileTabGridId\": \"occaecati\",
\"fieldGroupId\": \"et\",
\"fields\": [
{
\"order\": 5.7453899,
\"fieldId\": \"est\"
}
]
}
]
}
],
\"isGlobal\": \"nisi\",
\"companyId\": \"enim\"
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profiles/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "debitis",
"description": "Sunt qui itaque voluptates necessitatibus.",
"tabs": [
{
"order": 4489190.5,
"personalCardProfileTabId": "ullam",
"grids": [
{
"order": 120.5959,
"personalCardProfileTabGridId": "occaecati",
"fieldGroupId": "et",
"fields": [
{
"order": 5.7453899,
"fieldId": "est"
}
]
}
]
}
],
"isGlobal": "nisi",
"companyId": "enim"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Personal card profile by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/personal-card-profiles/dolor?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"aliquam\",
\"description\": \"Corporis et consequuntur excepturi voluptate.\",
\"tabs\": [
{
\"order\": 463006583.02,
\"personalCardProfileTabId\": \"suscipit\",
\"grids\": [
{
\"order\": 40.8,
\"personalCardProfileTabGridId\": \"quo\",
\"fieldGroupId\": \"nesciunt\",
\"fields\": [
{
\"order\": 53.52108,
\"fieldId\": \"excepturi\"
}
]
}
]
}
],
\"isGlobal\": \"fuga\",
\"companyId\": \"expedita\"
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profiles/dolor"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "aliquam",
"description": "Corporis et consequuntur excepturi voluptate.",
"tabs": [
{
"order": 463006583.02,
"personalCardProfileTabId": "suscipit",
"grids": [
{
"order": 40.8,
"personalCardProfileTabGridId": "quo",
"fieldGroupId": "nesciunt",
"fields": [
{
"order": 53.52108,
"fieldId": "excepturi"
}
]
}
]
}
],
"isGlobal": "fuga",
"companyId": "expedita"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PersonalCardProfile [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Personal card profiles by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/personal-card-profiles/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isGlobal\": \"voluptas\"
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profiles/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isGlobal": "voluptas"
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Personal card profile by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/personal-card-profiles/nemo?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isGlobal\": \"dolor\"
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profiles/nemo"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isGlobal": "dolor"
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PersonalCardProfile [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Personal card profiles with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/personal-card-profiles?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isGlobal\": \"debitis\"
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profiles"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isGlobal": "debitis"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Personal card profiles based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personal-card-profiles/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"companyId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"isGlobal\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"name\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"description\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profiles/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "companyId",
"operator": "=",
"value": "value"
},
{
"field": "isGlobal",
"operator": "=",
"value": "value"
},
{
"field": "name",
"operator": "=",
"value": "value"
},
{
"field": "description",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Personal card profile tab grid
Create a new Personal card profile tab grid
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personal-card-profile-tab-grids?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"tabId\": \"esse\",
\"isGlobal\": false,
\"description\": \"In qui totam sequi aliquam non.\",
\"fieldGroupId\": \"velit\",
\"fields\": [
{
\"globalFieldId\": \"sunt\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tab-grids"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"tabId": "esse",
"isGlobal": false,
"description": "In qui totam sequi aliquam non.",
"fieldGroupId": "velit",
"fields": [
{
"globalFieldId": "sunt"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Personal card profile tab grids
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personal-card-profile-tab-grids/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"tabId\": \"dolores\",
\"isGlobal\": false,
\"description\": \"Molestias repellat rerum porro debitis accusantium et culpa.\",
\"fieldGroupId\": \"aut\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tab-grids/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"tabId": "dolores",
"isGlobal": false,
"description": "Molestias repellat rerum porro debitis accusantium et culpa.",
"fieldGroupId": "aut"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Personal card profile tab grid by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/personal-card-profile-tab-grids/id?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personal-card-profile-tab-grids/id"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PersonalCardProfileTabGrid [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Personal card profile tab grids
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/personal-card-profile-tab-grids/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"isGlobal\": true,
\"description\": \"Quaerat illo sunt dolor impedit.\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tab-grids/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"isGlobal": true,
"description": "Quaerat illo sunt dolor impedit."
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Personal card profile tab grid by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/personal-card-profile-tab-grids/reprehenderit?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isGlobal\": false,
\"description\": \"Sapiente earum et qui eligendi.\"
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tab-grids/reprehenderit"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isGlobal": false,
"description": "Sapiente earum et qui eligendi."
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PersonalCardProfileTabGrid [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Personal card profile tab grids by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/personal-card-profile-tab-grids/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"voluptas\"
]
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tab-grids/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"voluptas"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Personal card profile tab grid by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/personal-card-profile-tab-grids/est?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personal-card-profile-tab-grids/est"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PersonalCardProfileTabGrid [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Personal card profile tab grids with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/personal-card-profile-tab-grids?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personal-card-profile-tab-grids"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Personal card profile tab grids based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personal-card-profile-tab-grids/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"isGlobal\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"description\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tab-grids/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "isGlobal",
"operator": "=",
"value": "value"
},
{
"field": "description",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Personal card profile tab
Create a new Personal card profile tab
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personal-card-profile-tabs?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isGlobal\": false,
\"description\": \"Impedit alias debitis voluptatum quibusdam est.\"
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tabs"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isGlobal": false,
"description": "Impedit alias debitis voluptatum quibusdam est."
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Personal card profile tabs
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personal-card-profile-tabs/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"isGlobal\": true,
\"description\": \"Tempora quae saepe sit rerum.\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tabs/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"isGlobal": true,
"description": "Tempora quae saepe sit rerum."
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Personal card profile tab by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/personal-card-profile-tabs/ut?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personal-card-profile-tabs/ut"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PersonalCardProfileTab [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Personal card profile tabs
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/personal-card-profile-tabs/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"isGlobal\": true,
\"description\": \"Exercitationem quisquam iste deserunt dolorem modi eaque quo.\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tabs/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"isGlobal": true,
"description": "Exercitationem quisquam iste deserunt dolorem modi eaque quo."
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Personal card profile tab by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/personal-card-profile-tabs/et?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isGlobal\": false,
\"description\": \"Cum ea minima aut praesentium a.\"
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tabs/et"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isGlobal": false,
"description": "Cum ea minima aut praesentium a."
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PersonalCardProfileTab [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Personal card profile tabs by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/personal-card-profile-tabs/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"error\"
]
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tabs/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"error"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Personal card profile tab by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/personal-card-profile-tabs/beatae?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personal-card-profile-tabs/beatae"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "PersonalCardProfileTab [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Personal card profile tabs with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/personal-card-profile-tabs?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personal-card-profile-tabs"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Personal card profile tabs based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personal-card-profile-tabs/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"isGlobal\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"description\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profile-tabs/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "isGlobal",
"operator": "=",
"value": "value"
},
{
"field": "description",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Locale
Create a new Locale
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/locales?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"dignissimos\",
\"code\": \"pariatur\",
\"enabled\": true
}"
const url = new URL(
"http://localhost/api/v1/locales"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "dignissimos",
"code": "pariatur",
"enabled": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Locales
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/locales/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"title\": \"minus\",
\"code\": \"sit\",
\"enabled\": false
}
]
}"
const url = new URL(
"http://localhost/api/v1/locales/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"title": "minus",
"code": "sit",
"enabled": false
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Locale by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/locales/voluptatem?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/locales/voluptatem"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "Locale [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Locales
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/locales/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"title\": \"laboriosam\",
\"code\": \"ut\",
\"enabled\": true
}
]
}"
const url = new URL(
"http://localhost/api/v1/locales/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"title": "laboriosam",
"code": "ut",
"enabled": true
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Locale by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/locales/non?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"dolores\",
\"code\": \"error\",
\"enabled\": false
}"
const url = new URL(
"http://localhost/api/v1/locales/non"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "dolores",
"code": "error",
"enabled": false
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "Locale [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Locales by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/locales/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"pariatur\"
]
}"
const url = new URL(
"http://localhost/api/v1/locales/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"pariatur"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Locale by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/locales/doloremque?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/locales/doloremque"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "Locale [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Locales with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/locales?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/locales"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Locales based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/locales/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"code\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"title\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"enabled\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/locales/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "code",
"operator": "=",
"value": "value"
},
{
"field": "title",
"operator": "=",
"value": "value"
},
{
"field": "enabled",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
External salary type
Fetch a External salary type by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/external-salary-types/sit?include=company%2CexternalIntegration" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/external-salary-types/sit"
);
const params = {
"include": "company,externalIntegration",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "ExternalSalaryType [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of External salary types with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/external-salary-types?page=1&pageSize=15&withSoftDeletes=1&include=company%2CexternalIntegration" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/external-salary-types"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "company,externalIntegration",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Emp permission
Create a new Emp permission
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personnel-permissions?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"glue\": \"AND\",
\"rules\": [
\"odio\"
]
}"
const url = new URL(
"http://localhost/api/v1/personnel-permissions"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"glue": "AND",
"rules": [
"odio"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Emp permissions
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personnel-permissions/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"glue\": \"AND\",
\"rules\": []
}
]
}"
const url = new URL(
"http://localhost/api/v1/personnel-permissions/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"glue": "AND",
"rules": []
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Emp permission by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/personnel-permissions/eveniet?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personnel-permissions/eveniet"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "EmpPermission [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Emp permissions
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/personnel-permissions/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"glue\": \"OR\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personnel-permissions/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"glue": "OR"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Emp permission by its ID (Stability Score: 0.1)
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/personnel-permissions/et?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"glue\": \"AND\",
\"rules\": [
\"debitis\"
]
}"
const url = new URL(
"http://localhost/api/v1/personnel-permissions/et"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"glue": "AND",
"rules": [
"debitis"
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "EmpPermission [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Emp permissions by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/personnel-permissions/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"sit\"
]
}"
const url = new URL(
"http://localhost/api/v1/personnel-permissions/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"sit"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Emp permission by its ID (Stability Score: 0.1)
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/personnel-permissions/iure?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personnel-permissions/iure"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "EmpPermission [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Emp permissions with pagination (Stability Score: 0.1)
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/personnel-permissions?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personnel-permissions"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Emp permissions based on the provided filters, scopes, sorting and pagination (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personnel-permissions/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"empPermissionId\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personnel-permissions/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "empPermissionId",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Emp permission rule
Create a new Emp permission rule
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personnel-permission-rules?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"employeeFieldId\": \"veritatis\",
\"operator\": \"=\",
\"value\": \"necessitatibus\"
}"
const url = new URL(
"http://localhost/api/v1/personnel-permission-rules"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"employeeFieldId": "veritatis",
"operator": "=",
"value": "necessitatibus"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch create new Emp permission rules
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personnel-permission-rules/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"employeeFieldId\": \"quae\",
\"operator\": \"=\",
\"value\": \"rerum\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personnel-permission-rules/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"employeeFieldId": "quae",
"operator": "=",
"value": "rerum"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a Emp permission rule by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/personnel-permission-rules/et?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personnel-permission-rules/et"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "EmpPermissionRule [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch update Emp permission rules
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/personnel-permission-rules/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
{
\"employeeFieldId\": \"in\",
\"operator\": \"=\",
\"value\": \"ut\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personnel-permission-rules/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
{
"employeeFieldId": "in",
"operator": "=",
"value": "ut"
}
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a Emp permission rule by its ID (Stability Score: 0.1)
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/personnel-permission-rules/veniam?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"employeeFieldId\": \"et\",
\"operator\": \"=\",
\"value\": \"velit\"
}"
const url = new URL(
"http://localhost/api/v1/personnel-permission-rules/veniam"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"employeeFieldId": "et",
"operator": "=",
"value": "velit"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "EmpPermissionRule [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch delete Emp permission rules by their IDs
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/personnel-permission-rules/batch?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": [
\"dolor\"
]
}"
const url = new URL(
"http://localhost/api/v1/personnel-permission-rules/batch"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": [
"dolor"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a Emp permission rule by its ID (Stability Score: 0.1)
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/personnel-permission-rules/debitis?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personnel-permission-rules/debitis"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"data": [],
"message": "EmpPermissionRule [id] does not exist.",
"status": 404
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Emp permission rules with pagination (Stability Score: 0.1)
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/personnel-permission-rules?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/personnel-permission-rules"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Emp permission rules based on the provided filters, scopes, sorting and pagination (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personnel-permission-rules/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"empPermissionRuleId\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/personnel-permission-rules/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "empPermissionRuleId",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Transaction
Fetch a list of Transactions with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/transactions?page=1&pageSize=15&withSoftDeletes=1&include=company%2Cemployee%2CpayCode" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"companyId\": \"provident\"
}"
const url = new URL(
"http://localhost/api/v1/transactions"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "company,employee,payCode",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"companyId": "provident"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of Transactions based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/transactions/search?page=1&pageSize=15&withSoftDeletes=1&include=company%2Cemployee%2CpayCode" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"companyId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"employeeId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"payCodeId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"salaryPeriod\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"externalId\",
\"direction\": \"asc\"
}
],
\"companyId\": \"fuga\"
}"
const url = new URL(
"http://localhost/api/v1/transactions/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "company,employee,payCode",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "companyId",
"operator": "=",
"value": "value"
},
{
"field": "employeeId",
"operator": "=",
"value": "value"
},
{
"field": "payCodeId",
"operator": "=",
"value": "value"
},
{
"field": "salaryPeriod",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "externalId",
"direction": "asc"
}
],
"companyId": "fuga"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Employee
Fetch a list of Employees with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/companies/illum/employees?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/companies/illum/employees"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create a new Employee
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/companies/excepturi/employees?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/companies/excepturi/employees"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (401):
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
App\ http\ resources\ api\ v1\ employee field change resource
Fetch a list of App\ http\ resources\ api\ v1\ employee field change resources based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/et/field-changes/search-custom?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"fieldName\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"changeId\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"effectiveDate\",
\"operator\": \"=\",
\"value\": \"value\"
},
{
\"field\": \"status\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/employees/et/field-changes/search-custom"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "fieldName",
"operator": "=",
"value": "value"
},
{
"field": "changeId",
"operator": "=",
"value": "value"
},
{
"field": "effectiveDate",
"operator": "=",
"value": "value"
},
{
"field": "status",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Employee field change
Fetch a list of Employee field changes based on the provided filters, scopes, sorting and pagination
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/ut/field-changes/search?page=1&pageSize=15&withSoftDeletes=1&include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filters\": [
{
\"field\": \"effectiveDate\",
\"operator\": \"=\",
\"value\": \"value\"
}
],
\"sort\": [
{
\"field\": \"createdAt\",
\"direction\": \"asc\"
},
{
\"field\": \"updatedAt\",
\"direction\": \"asc\"
}
]
}"
const url = new URL(
"http://localhost/api/v1/employees/ut/field-changes/search"
);
const params = {
"page": "1",
"pageSize": "15",
"withSoftDeletes": "1",
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filters": [
{
"field": "effectiveDate",
"operator": "=",
"value": "value"
}
],
"sort": [
{
"field": "createdAt",
"direction": "asc"
},
{
"field": "updatedAt",
"direction": "asc"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Custom Endpoints
All other endpoints
Authentication
Authenticate (Stability Score: 0.1)
This endpoint lets you authenticate.
Example request:
curl --request GET \
--get "http://localhost/api/v1/authenticate" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"url\": \"http:\\/\\/www.bashirian.com\\/\",
\"companyId\": \"accusamus\",
\"roleId\": 5,
\"access_token\": \"qui\",
\"sensitive\": true
}"
const url = new URL(
"http://localhost/api/v1/authenticate"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"url": "http:\/\/www.bashirian.com\/",
"companyId": "accusamus",
"roleId": 5,
"access_token": "qui",
"sensitive": true
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (422):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Company accusamus does not exist. (and 1 more error)",
"errors": {
"companyId": [
"Company accusamus does not exist."
],
"roleId": [
"The selected role id is invalid."
]
},
"status": 422
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Logout
requires authentication
This endpoint lets you logout.
Example request:
curl --request GET \
--get "http://localhost/api/v1/logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/logout"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
User
requires authentication
This endpoint lets you get the authenticated user.
Example request:
curl --request GET \
--get "http://localhost/api/v1/user" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/user"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
SalaryWarning
Confirm a salary rule warning (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/salary-warnings/quidem/confirm?include=employee%2CsalaryRule" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/salary-warnings/quidem/confirm"
);
const params = {
"include": "employee,salaryRule",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove confirmation from a salary rule warning (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/salary-warnings/et/unconfirm?include=employee%2CsalaryRule" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/salary-warnings/et/unconfirm"
);
const params = {
"include": "employee,salaryRule",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Evaluate salary rules for a given period (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/execute-salary-rules?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/execute-salary-rules"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Notification
Mark all notifications as read
requires authentication
This endpoint lets you mark all notifications as read.
Example request:
curl --request POST \
"http://localhost/api/v1/notifications/read-all?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/notifications/read-all"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mark a notification as read by its ID
requires authentication
This endpoint lets you mark a notification as read.
Example request:
curl --request POST \
"http://localhost/api/v1/notifications/laborum/read?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/notifications/laborum/read"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mark a notification as not read by its ID (Stability Score: 0.1)
requires authentication
This endpoint lets you mark a notification as not read.
Example request:
curl --request POST \
"http://localhost/api/v1/notifications/pariatur/unread?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/notifications/pariatur/unread"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PayCode Mapping
Duplicate a payCode mapping
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/pay-code-mappings/asperiores/duplicate" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"companyId\": \"autem\"
}"
const url = new URL(
"http://localhost/api/v1/pay-code-mappings/asperiores/duplicate"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"companyId": "autem"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Statistics
Transaction Statistics
requires authentication
This endpoint lets you get transaction statistics.
Example request:
curl --request POST \
"http://localhost/api/v1/transactions/statistics" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"includeChildren\": false,
\"organizationId\": \"fugiat\",
\"companyId\": \"ab\"
}"
const url = new URL(
"http://localhost/api/v1/transactions/statistics"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"includeChildren": false,
"organizationId": "fugiat",
"companyId": "ab"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Personal Card Profile
Duplicate a personal card profile
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/personal-card-profiles/dolorem/duplicate?include=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"animi\",
\"description\": \"Ratione rerum ut magni voluptas ipsum.\",
\"isGlobal\": \"vel\",
\"companyId\": \"sed\"
}"
const url = new URL(
"http://localhost/api/v1/personal-card-profiles/dolorem/duplicate"
);
const params = {
"include": "",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "animi",
"description": "Ratione rerum ut magni voluptas ipsum.",
"isGlobal": "vel",
"companyId": "sed"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Storage Structure
Create a new storage structure
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/storage-structure" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"directoryName\": \"inventore\",
\"directoryParentId\": \"porro\"
}"
const url = new URL(
"http://localhost/api/v1/storage-structure"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"directoryName": "inventore",
"directoryParentId": "porro"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a list of storage structures with pagination
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/storage-structure" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/storage-structure"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a storage structure by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/storage-structure/nihil" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/storage-structure/nihil"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a storage structure by its ID
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/storage-structure/ex" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"directoryName\": \"reprehenderit\",
\"directoryParentId\": \"hic\"
}"
const url = new URL(
"http://localhost/api/v1/storage-structure/ex"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"directoryName": "reprehenderit",
"directoryParentId": "hic"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a storage structure by its ID
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/storage-structure/inventore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/storage-structure/inventore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Employee
Transfer Changes
requires authentication
This endpoint lets you transfer changes.
Example request:
curl --request POST \
"http://localhost/api/v1/change-transfer" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/change-transfer"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Relatives
Create a new relative
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/nam/employee-relatives" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"firstName\": \"temporibus\",
\"lastName\": \"fugiat\",
\"emailAddress\": \"fanny.jenkins@example.org\",
\"telephone\": \"-{5,}\",
\"mobilePhone\": \"+{5,}\",
\"relationship\": \"fugit\",
\"comment\": \"sint\"
}"
const url = new URL(
"http://localhost/api/v1/employees/nam/employee-relatives"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"firstName": "temporibus",
"lastName": "fugiat",
"emailAddress": "fanny.jenkins@example.org",
"telephone": "-{5,}",
"mobilePhone": "+{5,}",
"relationship": "fugit",
"comment": "sint"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Relative Changes
Get changes for a particular relative.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/employees/laborum/employee-relatives/esse/field-changes" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/employees/laborum/employee-relatives/esse/field-changes"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Employee Relative Field Changes
Approve a field change for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/ut/employee-relatives/repellat/approve-field-change" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"mollitia\",
\"recordId\": \"voluptatem\"
}"
const url = new URL(
"http://localhost/api/v1/employees/ut/employee-relatives/repellat/approve-field-change"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "mollitia",
"recordId": "voluptatem"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Approve multiple field changes for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/officia/employee-relatives/ut/approve-field-change/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"velit\",
\"recordId\": \"quam\"
}"
const url = new URL(
"http://localhost/api/v1/employees/officia/employee-relatives/ut/approve-field-change/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "velit",
"recordId": "quam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deny a field change for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/autem/employee-relatives/nam/deny-field-change" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"esse\",
\"recordId\": \"voluptatem\"
}"
const url = new URL(
"http://localhost/api/v1/employees/autem/employee-relatives/nam/deny-field-change"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "esse",
"recordId": "voluptatem"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deny multiple field changes for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/et/employee-relatives/possimus/deny-field-change/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"deserunt\",
\"recordId\": \"sit\"
}"
const url = new URL(
"http://localhost/api/v1/employees/et/employee-relatives/possimus/deny-field-change/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "deserunt",
"recordId": "sit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Employee Future Changes
List all changes for a particular employee.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/employees/nesciunt/future-changes" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/employees/nesciunt/future-changes"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Employees
Get all unique effective dates for an employee.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/employees/et/field-changes/unique-effective-dates" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/employees/et/field-changes/unique-effective-dates"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create a new employee change
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/quia/field-changes" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"effectiveDate\": 0,
\"changeId\": \"repellendus\",
\"changeType\": \"delete\",
\"fieldName\": \"aliquid\",
\"oldValue\": \"illum\",
\"comment\": \"veritatis\"
}"
const url = new URL(
"http://localhost/api/v1/employees/quia/field-changes"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"effectiveDate": 0,
"changeId": "repellendus",
"changeType": "delete",
"fieldName": "aliquid",
"oldValue": "illum",
"comment": "veritatis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create multiple employee changes
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/magni/field-changes/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"effectiveDate\": 0,
\"changeId\": \"quo\",
\"changeType\": \"delete\",
\"fieldName\": \"vitae\",
\"oldValue\": \"impedit\",
\"comment\": \"tempora\"
}"
const url = new URL(
"http://localhost/api/v1/employees/magni/field-changes/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"effectiveDate": 0,
"changeId": "quo",
"changeType": "delete",
"fieldName": "vitae",
"oldValue": "impedit",
"comment": "tempora"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Employment Changes
List all changes for a particular employee.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/employees/ipsa/field-changes/employment" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/employees/ipsa/field-changes/employment"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create a new change request for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/minus/field-changes/employment" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"effectiveDate\": 0,
\"changeId\": \"aliquid\",
\"changeType\": \"delete\",
\"fieldName\": \"voluptates\",
\"oldValue\": \"dolorem\",
\"comment\": \"officia\"
}"
const url = new URL(
"http://localhost/api/v1/employees/minus/field-changes/employment"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"effectiveDate": 0,
"changeId": "aliquid",
"changeType": "delete",
"fieldName": "voluptates",
"oldValue": "dolorem",
"comment": "officia"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create multiple change requests for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/quibusdam/field-changes/employment/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"effectiveDate\": 1,
\"changeId\": \"odio\",
\"changeType\": \"delete\",
\"fieldName\": \"reprehenderit\",
\"oldValue\": \"voluptatum\",
\"comment\": \"maxime\"
}"
const url = new URL(
"http://localhost/api/v1/employees/quibusdam/field-changes/employment/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"effectiveDate": 1,
"changeId": "odio",
"changeType": "delete",
"fieldName": "reprehenderit",
"oldValue": "voluptatum",
"comment": "maxime"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Approve a field change for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/qui/field-changes/employment/approve-field-change" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"quam\",
\"recordId\": \"corporis\"
}"
const url = new URL(
"http://localhost/api/v1/employees/qui/field-changes/employment/approve-field-change"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "quam",
"recordId": "corporis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Approve multiple field changes for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/non/field-changes/employment/approve-field-change/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"qui\",
\"recordId\": \"odit\"
}"
const url = new URL(
"http://localhost/api/v1/employees/non/field-changes/employment/approve-field-change/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "qui",
"recordId": "odit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deny a field change for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/praesentium/field-changes/employment/deny-field-change" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"magnam\",
\"recordId\": \"in\"
}"
const url = new URL(
"http://localhost/api/v1/employees/praesentium/field-changes/employment/deny-field-change"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "magnam",
"recordId": "in"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deny multiple field changes for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/qui/field-changes/employment/deny-field-change/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"quod\",
\"recordId\": \"repellendus\"
}"
const url = new URL(
"http://localhost/api/v1/employees/qui/field-changes/employment/deny-field-change/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "quod",
"recordId": "repellendus"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Pay Code Changes
Get all pay code changes.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/employees/ipsam/field-changes/pay-code" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/employees/ipsam/field-changes/pay-code"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create a new pay code change.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/perferendis/field-changes/pay-code" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"effectiveDate\": 0,
\"changeId\": \"expedita\",
\"changeType\": \"delete\",
\"fieldName\": \"qui\",
\"comment\": \"dolorem\"
}"
const url = new URL(
"http://localhost/api/v1/employees/perferendis/field-changes/pay-code"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"effectiveDate": 0,
"changeId": "expedita",
"changeType": "delete",
"fieldName": "qui",
"comment": "dolorem"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create multiple pay code changes.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/qui/field-changes/pay-code/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"effectiveDate\": 1,
\"changeId\": \"ullam\",
\"changeType\": \"delete\",
\"fieldName\": \"sit\",
\"comment\": \"nihil\"
}"
const url = new URL(
"http://localhost/api/v1/employees/qui/field-changes/pay-code/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"effectiveDate": 1,
"changeId": "ullam",
"changeType": "delete",
"fieldName": "sit",
"comment": "nihil"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Approve a field change for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/amet/field-changes/pay-code/approve-field-change" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"in\",
\"recordId\": \"debitis\"
}"
const url = new URL(
"http://localhost/api/v1/employees/amet/field-changes/pay-code/approve-field-change"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "in",
"recordId": "debitis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Approve multiple field changes for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/velit/field-changes/pay-code/approve-field-change/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"ea\",
\"recordId\": \"at\"
}"
const url = new URL(
"http://localhost/api/v1/employees/velit/field-changes/pay-code/approve-field-change/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "ea",
"recordId": "at"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deny a field change for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/ut/field-changes/pay-code/deny-field-change" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"labore\",
\"recordId\": \"autem\"
}"
const url = new URL(
"http://localhost/api/v1/employees/ut/field-changes/pay-code/deny-field-change"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "labore",
"recordId": "autem"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deny multiple field changes for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/aut/field-changes/pay-code/deny-field-change/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"ut\",
\"recordId\": \"et\"
}"
const url = new URL(
"http://localhost/api/v1/employees/aut/field-changes/pay-code/deny-field-change/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "ut",
"recordId": "et"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Employee Field Changes
Approve a field change for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/recusandae/approve-field-change" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"alias\",
\"recordId\": \"vero\"
}"
const url = new URL(
"http://localhost/api/v1/employees/recusandae/approve-field-change"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "alias",
"recordId": "vero"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Approve multiple field changes for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/minima/approve-field-change/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"autem\",
\"recordId\": \"totam\"
}"
const url = new URL(
"http://localhost/api/v1/employees/minima/approve-field-change/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "autem",
"recordId": "totam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deny a field change for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/temporibus/deny-field-change" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"harum\",
\"recordId\": \"officiis\"
}"
const url = new URL(
"http://localhost/api/v1/employees/temporibus/deny-field-change"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "harum",
"recordId": "officiis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deny multiple field changes for a particular employee.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/employees/dolorem/deny-field-change/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"changeId\": \"ea\",
\"recordId\": \"labore\"
}"
const url = new URL(
"http://localhost/api/v1/employees/dolorem/deny-field-change/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"changeId": "ea",
"recordId": "labore"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Employee Field Mappings
Create a new employee field mapping.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/field-mappings" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"externalEmployeeFieldId\": \"harum\",
\"employeeFieldId\": \"qui\",
\"externalIntegrationId\": \"quam\"
}"
const url = new URL(
"http://localhost/api/v1/field-mappings"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"externalEmployeeFieldId": "harum",
"employeeFieldId": "qui",
"externalIntegrationId": "quam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create multiple employee field mappings.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/field-mappings/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"externalEmployeeFieldId\": \"id\",
\"employeeFieldId\": \"voluptates\",
\"externalIntegrationId\": \"est\"
}"
const url = new URL(
"http://localhost/api/v1/field-mappings/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"externalEmployeeFieldId": "id",
"employeeFieldId": "voluptates",
"externalIntegrationId": "est"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update an employee field mapping.
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/field-mappings/impedit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"externalEmployeeFieldId\": \"harum\",
\"employeeFieldId\": \"delectus\",
\"externalIntegrationId\": \"sed\"
}"
const url = new URL(
"http://localhost/api/v1/field-mappings/impedit"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"externalEmployeeFieldId": "harum",
"employeeFieldId": "delectus",
"externalIntegrationId": "sed"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete an employee field mapping.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/field-mappings/provident" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/field-mappings/provident"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Employee Fields
Get fields for a particular integration.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/external-integration/animi/employee-fields" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": true,
\"isMandatory\": true,
\"salarySensitive\": true,
\"sensitive\": true,
\"allowNewValue\": true,
\"observe\": false,
\"importExcluded\": false,
\"manualInput\": false,
\"fieldType\": \"select\",
\"dataType\": \"string\",
\"maxInput\": 9781421.795177348,
\"minInput\": 39550010.758808
}"
const url = new URL(
"http://localhost/api/v1/external-integration/animi/employee-fields"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": true,
"isMandatory": true,
"salarySensitive": true,
"sensitive": true,
"allowNewValue": true,
"observe": false,
"importExcluded": false,
"manualInput": false,
"fieldType": "select",
"dataType": "string",
"maxInput": 9781421.795177348,
"minInput": 39550010.758808
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Customize an existing global employee field for a particular integration.
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/external-integration/et/employee-fields/natus" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": true,
\"isMandatory\": true,
\"salarySensitive\": false,
\"sensitive\": false,
\"allowNewValue\": true,
\"observe\": false,
\"importExcluded\": true,
\"manualInput\": false,
\"fieldType\": \"number\",
\"dataType\": \"date\",
\"maxInput\": 17716.2,
\"minInput\": 7574.82138
}"
const url = new URL(
"http://localhost/api/v1/external-integration/et/employee-fields/natus"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": true,
"isMandatory": true,
"salarySensitive": false,
"sensitive": false,
"allowNewValue": true,
"observe": false,
"importExcluded": true,
"manualInput": false,
"fieldType": "number",
"dataType": "date",
"maxInput": 17716.2,
"minInput": 7574.82138
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get an extended employee field for a particular integration.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/external-integration/quas/employee-fields/optio" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": false,
\"isMandatory\": true,
\"salarySensitive\": false,
\"sensitive\": true,
\"allowNewValue\": false,
\"observe\": true,
\"importExcluded\": false,
\"manualInput\": false,
\"fieldType\": \"email\",
\"dataType\": \"date\",
\"maxInput\": 172.457,
\"minInput\": 3522263.42255176
}"
const url = new URL(
"http://localhost/api/v1/external-integration/quas/employee-fields/optio"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": false,
"isMandatory": true,
"salarySensitive": false,
"sensitive": true,
"allowNewValue": false,
"observe": true,
"importExcluded": false,
"manualInput": false,
"fieldType": "email",
"dataType": "date",
"maxInput": 172.457,
"minInput": 3522263.42255176
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Revert an extended employee field for a particular integration.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/external-integration/eos/employee-fields/nisi" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": false,
\"isMandatory\": true,
\"salarySensitive\": true,
\"sensitive\": false,
\"allowNewValue\": false,
\"observe\": false,
\"importExcluded\": false,
\"manualInput\": true,
\"fieldType\": \"password\",
\"dataType\": \"boolean\",
\"maxInput\": 6.15836529,
\"minInput\": 1147495.1267429474
}"
const url = new URL(
"http://localhost/api/v1/external-integration/eos/employee-fields/nisi"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": false,
"isMandatory": true,
"salarySensitive": true,
"sensitive": false,
"allowNewValue": false,
"observe": false,
"importExcluded": false,
"manualInput": true,
"fieldType": "password",
"dataType": "boolean",
"maxInput": 6.15836529,
"minInput": 1147495.1267429474
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get fields for a particular organization.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/organization/in/employee-fields" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": false,
\"isMandatory\": false,
\"salarySensitive\": true,
\"sensitive\": true,
\"allowNewValue\": false,
\"observe\": false,
\"importExcluded\": false,
\"manualInput\": true,
\"fieldType\": \"date\",
\"dataType\": \"string\",
\"maxInput\": 35.8457,
\"minInput\": 980.00662708
}"
const url = new URL(
"http://localhost/api/v1/organization/in/employee-fields"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": false,
"isMandatory": false,
"salarySensitive": true,
"sensitive": true,
"allowNewValue": false,
"observe": false,
"importExcluded": false,
"manualInput": true,
"fieldType": "date",
"dataType": "string",
"maxInput": 35.8457,
"minInput": 980.00662708
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Customize an existing global employee field for a particular organization.
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/organization/rerum/employee-fields/consequatur" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": false,
\"isMandatory\": false,
\"salarySensitive\": false,
\"sensitive\": false,
\"allowNewValue\": true,
\"observe\": false,
\"importExcluded\": true,
\"manualInput\": false,
\"fieldType\": \"email\",
\"dataType\": \"date\",
\"maxInput\": 14734.955942,
\"minInput\": 768375.2478
}"
const url = new URL(
"http://localhost/api/v1/organization/rerum/employee-fields/consequatur"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": false,
"isMandatory": false,
"salarySensitive": false,
"sensitive": false,
"allowNewValue": true,
"observe": false,
"importExcluded": true,
"manualInput": false,
"fieldType": "email",
"dataType": "date",
"maxInput": 14734.955942,
"minInput": 768375.2478
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show an extended employee field for a particular organization.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/organization/est/employee-fields/quibusdam" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": true,
\"isMandatory\": true,
\"salarySensitive\": false,
\"sensitive\": true,
\"allowNewValue\": true,
\"observe\": true,
\"importExcluded\": true,
\"manualInput\": true,
\"fieldType\": \"textarea\",
\"dataType\": \"date\",
\"maxInput\": 229939055.15218,
\"minInput\": 4.9546598
}"
const url = new URL(
"http://localhost/api/v1/organization/est/employee-fields/quibusdam"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": true,
"isMandatory": true,
"salarySensitive": false,
"sensitive": true,
"allowNewValue": true,
"observe": true,
"importExcluded": true,
"manualInput": true,
"fieldType": "textarea",
"dataType": "date",
"maxInput": 229939055.15218,
"minInput": 4.9546598
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Revert an extended employee field for a particular organization.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/organization/sed/employee-fields/sed" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": false,
\"isMandatory\": true,
\"salarySensitive\": false,
\"sensitive\": true,
\"allowNewValue\": true,
\"observe\": false,
\"importExcluded\": false,
\"manualInput\": true,
\"fieldType\": \"email\",
\"dataType\": \"number\",
\"maxInput\": 16822.811836268,
\"minInput\": 312246.9004489
}"
const url = new URL(
"http://localhost/api/v1/organization/sed/employee-fields/sed"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": false,
"isMandatory": true,
"salarySensitive": false,
"sensitive": true,
"allowNewValue": true,
"observe": false,
"importExcluded": false,
"manualInput": true,
"fieldType": "email",
"dataType": "number",
"maxInput": 16822.811836268,
"minInput": 312246.9004489
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Customize an existing global employee field for a particular company.
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/company/cumque/employee-fields/et" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": false,
\"isMandatory\": true,
\"salarySensitive\": false,
\"sensitive\": false,
\"allowNewValue\": false,
\"observe\": true,
\"importExcluded\": false,
\"manualInput\": false,
\"fieldType\": \"textarea\",
\"dataType\": \"boolean\",
\"maxInput\": 92184.9766246,
\"minInput\": 122229087.09757656
}"
const url = new URL(
"http://localhost/api/v1/company/cumque/employee-fields/et"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": false,
"isMandatory": true,
"salarySensitive": false,
"sensitive": false,
"allowNewValue": false,
"observe": true,
"importExcluded": false,
"manualInput": false,
"fieldType": "textarea",
"dataType": "boolean",
"maxInput": 92184.9766246,
"minInput": 122229087.09757656
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Revert an extended employee field for a particular company.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company/perspiciatis/employee-fields/quos/revert" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": true,
\"isMandatory\": false,
\"salarySensitive\": false,
\"sensitive\": false,
\"allowNewValue\": false,
\"observe\": true,
\"importExcluded\": true,
\"manualInput\": true,
\"fieldType\": \"email\",
\"dataType\": \"date\",
\"maxInput\": 6236.8791,
\"minInput\": 431304.64
}"
const url = new URL(
"http://localhost/api/v1/company/perspiciatis/employee-fields/quos/revert"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": true,
"isMandatory": false,
"salarySensitive": false,
"sensitive": false,
"allowNewValue": false,
"observe": true,
"importExcluded": true,
"manualInput": true,
"fieldType": "email",
"dataType": "date",
"maxInput": 6236.8791,
"minInput": 431304.64
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Revert extended employee fields and custom fields for a particular company.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company/omnis/employee-fields/revert-all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": true,
\"isMandatory\": true,
\"salarySensitive\": false,
\"sensitive\": true,
\"allowNewValue\": true,
\"observe\": false,
\"importExcluded\": false,
\"manualInput\": true,
\"fieldType\": \"password\",
\"dataType\": \"number\",
\"maxInput\": 467809963.5234,
\"minInput\": 27140.42
}"
const url = new URL(
"http://localhost/api/v1/company/omnis/employee-fields/revert-all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": true,
"isMandatory": true,
"salarySensitive": false,
"sensitive": true,
"allowNewValue": true,
"observe": false,
"importExcluded": false,
"manualInput": true,
"fieldType": "password",
"dataType": "number",
"maxInput": 467809963.5234,
"minInput": 27140.42
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get an extended employee field for a particular company.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company/quia/employee-fields/consequuntur" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": false,
\"isMandatory\": true,
\"salarySensitive\": false,
\"sensitive\": true,
\"allowNewValue\": true,
\"observe\": false,
\"importExcluded\": false,
\"manualInput\": true,
\"fieldType\": \"date\",
\"dataType\": \"date\",
\"maxInput\": 1.662889,
\"minInput\": 209382.67085644
}"
const url = new URL(
"http://localhost/api/v1/company/quia/employee-fields/consequuntur"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": false,
"isMandatory": true,
"salarySensitive": false,
"sensitive": true,
"allowNewValue": true,
"observe": false,
"importExcluded": false,
"manualInput": true,
"fieldType": "date",
"dataType": "date",
"maxInput": 1.662889,
"minInput": 209382.67085644
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get employee fields for a particular company.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company/autem/employee-fields" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": true,
\"isMandatory\": true,
\"salarySensitive\": true,
\"sensitive\": false,
\"allowNewValue\": true,
\"observe\": false,
\"importExcluded\": false,
\"manualInput\": false,
\"fieldType\": \"textarea\",
\"dataType\": \"number\",
\"maxInput\": 5035837.37593388,
\"minInput\": 516398.17847
}"
const url = new URL(
"http://localhost/api/v1/company/autem/employee-fields"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": true,
"isMandatory": true,
"salarySensitive": true,
"sensitive": false,
"allowNewValue": true,
"observe": false,
"importExcluded": false,
"manualInput": false,
"fieldType": "textarea",
"dataType": "number",
"maxInput": 5035837.37593388,
"minInput": 516398.17847
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get employee fields for a particular company.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company/eum/employee-fields" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": true,
\"isMandatory\": false,
\"salarySensitive\": true,
\"sensitive\": false,
\"allowNewValue\": true,
\"observe\": true,
\"importExcluded\": true,
\"manualInput\": true,
\"fieldType\": \"password\",
\"dataType\": \"number\",
\"maxInput\": 6.697714444,
\"minInput\": 0,
\"maxLength\": 159.415,
\"minLength\": 23756247.3,
\"fieldName\": \"gi\",
\"combinedFieldIds\": [
\"excepturi\"
]
}"
const url = new URL(
"http://localhost/api/v1/company/eum/employee-fields"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": true,
"isMandatory": false,
"salarySensitive": true,
"sensitive": false,
"allowNewValue": true,
"observe": true,
"importExcluded": true,
"manualInput": true,
"fieldType": "password",
"dataType": "number",
"maxInput": 6.697714444,
"minInput": 0,
"maxLength": 159.415,
"minLength": 23756247.3,
"fieldName": "gi",
"combinedFieldIds": [
"excepturi"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update an employee field for a particular company.
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/company/eum/employee-fields/facilis" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"isShow\": true,
\"isMandatory\": false,
\"salarySensitive\": true,
\"sensitive\": false,
\"allowNewValue\": false,
\"observe\": false,
\"importExcluded\": true,
\"manualInput\": true,
\"fieldType\": \"text\",
\"dataType\": \"boolean\",
\"maxInput\": 9480.989652629,
\"minInput\": 791.6792,
\"maxLength\": 2.23,
\"minLength\": 0.1,
\"combinedFieldIds\": [
\"magnam\"
]
}"
const url = new URL(
"http://localhost/api/v1/company/eum/employee-fields/facilis"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"isShow": true,
"isMandatory": false,
"salarySensitive": true,
"sensitive": false,
"allowNewValue": false,
"observe": false,
"importExcluded": true,
"manualInput": true,
"fieldType": "text",
"dataType": "boolean",
"maxInput": 9480.989652629,
"minInput": 791.6792,
"maxLength": 2.23,
"minLength": 0.1,
"combinedFieldIds": [
"magnam"
]
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete an employee field for a particular company.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/company/optio/employee-fields/quod" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/company/optio/employee-fields/quod"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Field Groups
Create a global field group
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/field-groups" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"quo\"
}"
const url = new URL(
"http://localhost/api/v1/field-groups"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "quo"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch all global field groups
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/field-groups" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/field-groups"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetch a global field group by its ID
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/field-groups/consequatur" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/field-groups/consequatur"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a global field group
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/field-groups/expedita" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"aut\"
}"
const url = new URL(
"http://localhost/api/v1/field-groups/expedita"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "aut"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a global field group
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/field-groups/hic" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/field-groups/hic"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Add a field to a global field group
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/field-groups/eaque/add-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupId\": \"vel\"
}"
const url = new URL(
"http://localhost/api/v1/field-groups/eaque/add-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupId": "vel"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Move a field from one global field group to another
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/field-groups/veritatis/move-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"oldGroupId\": \"autem\",
\"newGroupId\": \"libero\"
}"
const url = new URL(
"http://localhost/api/v1/field-groups/veritatis/move-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"oldGroupId": "autem",
"newGroupId": "libero"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove a field from a global field group
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/field-groups/autem/remove-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupId\": \"enim\"
}"
const url = new URL(
"http://localhost/api/v1/field-groups/autem/remove-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupId": "enim"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get fields groups for a particular integration.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/external-integration/temporibus/field-groups" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"et\"
}"
const url = new URL(
"http://localhost/api/v1/external-integration/temporibus/field-groups"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "et"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Customize an existing global field group for a particular integration.
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/external-integration/repellat/field-groups/quia" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"repellendus\"
}"
const url = new URL(
"http://localhost/api/v1/external-integration/repellat/field-groups/quia"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "repellendus"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get a particular field group for a particular integration.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/external-integration/harum/field-groups/inventore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"qui\"
}"
const url = new URL(
"http://localhost/api/v1/external-integration/harum/field-groups/inventore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "qui"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Revert a customized global field group for a particular integration.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/external-integration/tempora/field-groups/sint" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"voluptas\"
}"
const url = new URL(
"http://localhost/api/v1/external-integration/tempora/field-groups/sint"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "voluptas"
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Add a field to a particular field group for a particular integration.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/external-integration/quis/field-groups/et/add-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupId\": \"est\"
}"
const url = new URL(
"http://localhost/api/v1/external-integration/quis/field-groups/et/add-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupId": "est"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Move a field from a field group for a particular integration.
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/external-integration/ipsa/field-groups/qui/move-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"oldGroupId\": \"similique\",
\"newGroupId\": \"mollitia\"
}"
const url = new URL(
"http://localhost/api/v1/external-integration/ipsa/field-groups/qui/move-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"oldGroupId": "similique",
"newGroupId": "mollitia"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove a field from a field group for a particular integration.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/external-integration/maxime/field-groups/dolore/remove-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupId\": \"maxime\"
}"
const url = new URL(
"http://localhost/api/v1/external-integration/maxime/field-groups/dolore/remove-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupId": "maxime"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get fields groups for a particular organization.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/organization/sit/field-groups" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"ipsa\"
}"
const url = new URL(
"http://localhost/api/v1/organization/sit/field-groups"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "ipsa"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Customize an existing global field group for a particular organization.
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/organization/iusto/field-groups/amet" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"ad\"
}"
const url = new URL(
"http://localhost/api/v1/organization/iusto/field-groups/amet"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "ad"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get a particular field group for a particular organization.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/organization/sit/field-groups/non" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"numquam\"
}"
const url = new URL(
"http://localhost/api/v1/organization/sit/field-groups/non"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "numquam"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Revert a customized field group for a particular organization.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/organization/sit/field-groups/sunt" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"fugiat\"
}"
const url = new URL(
"http://localhost/api/v1/organization/sit/field-groups/sunt"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "fugiat"
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Add a field to a particular field group for a particular organization.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/organization/ratione/field-groups/corporis/add-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupId\": \"vitae\"
}"
const url = new URL(
"http://localhost/api/v1/organization/ratione/field-groups/corporis/add-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupId": "vitae"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Move a field from one field group to another for a particular organization.
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/organization/quis/field-groups/aut/move-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"oldGroupId\": \"aspernatur\",
\"newGroupId\": \"similique\"
}"
const url = new URL(
"http://localhost/api/v1/organization/quis/field-groups/aut/move-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"oldGroupId": "aspernatur",
"newGroupId": "similique"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove a field from a particular field group for a particular organization.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/organization/eius/field-groups/quia/remove-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupId\": \"laboriosam\"
}"
const url = new URL(
"http://localhost/api/v1/organization/eius/field-groups/quia/remove-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupId": "laboriosam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get fields groups for a particular company.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company/molestias/field-groups" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"non\"
}"
const url = new URL(
"http://localhost/api/v1/company/molestias/field-groups"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "non"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Customize an existing global field group for a particular company.
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/company/quia/field-groups/aut" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"alias\"
}"
const url = new URL(
"http://localhost/api/v1/company/quia/field-groups/aut"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "alias"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show a customized global field group for a particular company.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/company/ipsa/field-groups/quam" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"necessitatibus\"
}"
const url = new URL(
"http://localhost/api/v1/company/ipsa/field-groups/quam"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "necessitatibus"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Revert a customized global field group for a particular company.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/company/dolor/field-groups/nostrum" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupName\": \"et\"
}"
const url = new URL(
"http://localhost/api/v1/company/dolor/field-groups/nostrum"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupName": "et"
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Add a field to a field group for a particular company.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company/corporis/field-groups/rerum/add-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupId\": \"dolores\"
}"
const url = new URL(
"http://localhost/api/v1/company/corporis/field-groups/rerum/add-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupId": "dolores"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Move a field from one field group to another for a particular company.
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/company/blanditiis/field-groups/veniam/move-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"oldGroupId\": \"cum\",
\"newGroupId\": \"illo\"
}"
const url = new URL(
"http://localhost/api/v1/company/blanditiis/field-groups/veniam/move-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"oldGroupId": "cum",
"newGroupId": "illo"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove a field from a field group for a particular company.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/company/rerum/field-groups/aut/remove-field" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"groupId\": \"eveniet\"
}"
const url = new URL(
"http://localhost/api/v1/company/rerum/field-groups/aut/remove-field"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"groupId": "eveniet"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Import
Import company details (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/import/company" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"companyId\": \"laboriosam\",
\"companyIntegrationId\": \"nihil\",
\"async\": true
}"
const url = new URL(
"http://localhost/api/v1/import/company"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"companyId": "laboriosam",
"companyIntegrationId": "nihil",
"async": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Import employees (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/import/employees" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"companyId\": \"aliquid\",
\"companyIntegrationId\": \"voluptas\",
\"async\": false
}"
const url = new URL(
"http://localhost/api/v1/import/employees"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"companyId": "aliquid",
"companyIntegrationId": "voluptas",
"async": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Import transactions. (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/import/transactions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"companyId\": \"iure\",
\"companyIntegrationId\": \"ipsa\",
\"period\": \"4957040\"
}"
const url = new URL(
"http://localhost/api/v1/import/transactions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"companyId": "iure",
"companyIntegrationId": "ipsa",
"period": "4957040"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Import salary types.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/import/salary-types" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"companyId\": \"temporibus\"
}"
const url = new URL(
"http://localhost/api/v1/import/salary-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"companyId": "temporibus"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Import transactions to the cloud.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/import/cloud/transactions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/import/cloud/transactions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Cache
Refresh the cache.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/cache/refresh" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/cache/refresh"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Warm the cache.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/cache/warm" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/cache/warm"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Clear the cache.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/cache/clear" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/cache/clear"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Real Time
Generate connection token for Centrifugo.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/real-time/connection-token" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/real-time/connection-token"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Generate subscription token for Centrifugo.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/real-time/subscription-token" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"channel\": \"reiciendis\"
}"
const url = new URL(
"http://localhost/api/v1/real-time/subscription-token"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"channel": "reiciendis"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Abilities
Retrieve specific abilities for a specific role (Stability Score: 0.1)
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/roles/1/specific-abilities" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/roles/1/specific-abilities"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Attach a specific ability to a role (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/roles/1/specific-abilities/attach" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost/api/v1/roles/1/specific-abilities/attach"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Detach a specific ability to a role (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/roles/1/specific-abilities/detach" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost/api/v1/roles/1/specific-abilities/detach"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve all specific abilities (Stability Score: 0.1)
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/specific-abilities" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/specific-abilities"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ability
Allow an ability to a group. (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/ability-group/officiis/allow" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ability\": \"update\",
\"entity\": \"App\\\\DataLayer\\\\Models\\\\PayCodeVariable\",
\"entityId\": \"corrupti\"
}"
const url = new URL(
"http://localhost/api/v1/abilities/ability-group/officiis/allow"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ability": "update",
"entity": "App\\DataLayer\\Models\\PayCodeVariable",
"entityId": "corrupti"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Forbid an ability to a group. (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/ability-group/in/forbid" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ability\": \"update\",
\"entity\": \"App\\\\DataLayer\\\\Models\\\\RoleEmpPermission\",
\"entityId\": \"omnis\"
}"
const url = new URL(
"http://localhost/api/v1/abilities/ability-group/in/forbid"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ability": "update",
"entity": "App\\DataLayer\\Models\\RoleEmpPermission",
"entityId": "omnis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Assign a role to a user. (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/roles/1/assign" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"nihil\",
\"title\": \"est\"
}"
const url = new URL(
"http://localhost/api/v1/abilities/roles/1/assign"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "nihil",
"title": "est"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retract a role from a user. (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/roles/1/retract" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"dolores\",
\"title\": \"animi\"
}"
const url = new URL(
"http://localhost/api/v1/abilities/roles/1/retract"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "dolores",
"title": "animi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Assign a group to a role. (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/roles/1/assign-group" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"abilityGroupId\": 7
}"
const url = new URL(
"http://localhost/api/v1/abilities/roles/1/assign-group"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"abilityGroupId": 7
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retract a group from a role. (Stability Score: 0.1)
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/roles/1/retract-group" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"abilityGroupId\": 15
}"
const url = new URL(
"http://localhost/api/v1/abilities/roles/1/retract-group"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"abilityGroupId": 15
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all types of entities (Stability Score: 0.1)
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/abilities/entity-types" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/entity-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Endpoints
All other endpoints
Filters, sorts, and fetches the list of resources.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/ability-group/search" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/ability-group/search"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Creates a batch of new resources in a transaction-safe way.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/ability-group/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": []
}"
const url = new URL(
"http://localhost/api/v1/abilities/ability-group/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": []
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a batch of resources in a transaction-safe way.
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/abilities/ability-group/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": []
}"
const url = new URL(
"http://localhost/api/v1/abilities/ability-group/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": []
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deletes a batch of resources in a transaction-safe way.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/abilities/ability-group/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/ability-group/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetches the list of resources.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/abilities/ability-group" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/ability-group"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Creates new resource in a transaction-safe way.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/ability-group" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/ability-group"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetches resource.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/abilities/ability-group/nesciunt" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/ability-group/nesciunt"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a resource in a transaction-safe way.
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/abilities/ability-group/eos" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/ability-group/eos"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deletes a resource.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/abilities/ability-group/autem" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/ability-group/autem"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Filters, sorts, and fetches the list of resources.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/roles/search" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/roles/search"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Creates a batch of new resources in a transaction-safe way.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/roles/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": []
}"
const url = new URL(
"http://localhost/api/v1/abilities/roles/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": []
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a batch of resources in a transaction-safe way.
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/abilities/roles/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": []
}"
const url = new URL(
"http://localhost/api/v1/abilities/roles/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": []
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deletes a batch of resources in a transaction-safe way.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/abilities/roles/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/roles/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetches the list of resources.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/abilities/roles" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/roles"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Creates new resource in a transaction-safe way.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/abilities/roles" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/roles"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetches resource.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/abilities/roles/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/roles/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a resource in a transaction-safe way.
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/abilities/roles/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/roles/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deletes a resource.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/abilities/roles/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/abilities/roles/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Orion Endpoints
Filters, sorts, and fetches the list of resources.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/orion/transactions/search" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/orion/transactions/search"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Creates a batch of new resources in a transaction-safe way.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/orion/transactions/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": []
}"
const url = new URL(
"http://localhost/api/v1/orion/transactions/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": []
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a batch of resources in a transaction-safe way.
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/orion/transactions/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"resources\": []
}"
const url = new URL(
"http://localhost/api/v1/orion/transactions/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"resources": []
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deletes a batch of resources in a transaction-safe way.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/orion/transactions/batch" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/orion/transactions/batch"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetches the list of resources.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/orion/transactions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/orion/transactions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Creates new resource in a transaction-safe way.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/orion/transactions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/orion/transactions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fetches resource.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/orion/transactions/amet" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/orion/transactions/amet"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a resource in a transaction-safe way.
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/orion/transactions/repellat" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/orion/transactions/repellat"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Deletes a resource.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/orion/transactions/et" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/orion/transactions/et"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Uncategorized Endpoints
All other endpoints
GET api/octane-firebase-concurrently
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/octane-firebase-concurrently" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/octane-firebase-concurrently"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/user/roles
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/user/roles" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/user/roles"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/users" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"ut\",
\"email\": \"bschaefer@example.net\"
}"
const url = new URL(
"http://localhost/api/v1/users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "ut",
"email": "bschaefer@example.net"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.