MENU navbar-image

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:8000/api/v1/dashboard" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/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."
}
 

Request      

GET api/v1/dashboard

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Crudy Endpoints

All Crudy endpoints

External employee field

Fetch a list of External employee fields with pagination (Stability Score: 0.5)

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/external-employee-fields?page=1&pageSize=15&withSoftDeletes=1&include=externalIntegration" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/external-employee-fields"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "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."
}
 

Request      

GET api/v1/external-employee-fields

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/external-employee-fields/search?page=1&pageSize=15&withSoftDeletes=1&include=externalIntegration" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filters\": [
        {
            \"field\": \"externalIntegrationId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ],
    \"scopes\": [
        {
            \"name\": \"unMapped\",
            \"parameters\": []
        },
        {
            \"name\": \"mapped\",
            \"parameters\": []
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-employee-fields/search"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "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",
};

let body = {
    "filters": [
        {
            "field": "externalIntegrationId",
            "operator": "=",
            "value": "value"
        }
    ],
    "sort": [
        {
            "field": "createdAt",
            "direction": "asc"
        },
        {
            "field": "updatedAt",
            "direction": "asc"
        }
    ],
    "scopes": [
        {
            "name": "unMapped",
            "parameters": []
        },
        {
            "name": "mapped",
            "parameters": []
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Notification preference

Create a new Notification preference

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/notification-preferences?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"preferences\": [
        [
            [
                \"sms\"
            ]
        ]
    ],
    \"organizationId\": \"sed\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/notification-preferences"
);

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 = {
    "preferences": [
        [
            [
                "sms"
            ]
        ]
    ],
    "organizationId": "sed"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/notification-preferences

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

preferences   string[][][]  optional  
Must be one of:
  • email
  • inapp
  • broadcast
  • sms
info   object  optional  
warning   object  optional  
error   object  optional  
emergency   object  optional  

Must have at least 1 items.

organizationId   string  optional  

Example: sed

Batch create new Notification preferences

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/notification-preferences/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"preferences\": [],
            \"organizationId\": \"quidem\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/notification-preferences/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": [
        {
            "preferences": [],
            "organizationId": "quidem"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/notification-preferences/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
preferences   object   
organizationId   string  optional  

Example: quidem

Fetch a Notification preference by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/notification-preferences/dolor?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/notification-preferences/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",
};

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": "NotificationPreference [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/notification-preferences/{notificationPreferenceId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

notificationPreferenceId   string   

Example: dolor

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Notification preferences

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/notification-preferences/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/api/v1/notification-preferences/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());

Request      

PATCH api/v1/notification-preferences/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
preferences   object  optional  
organizationId   string  optional  

Update a Notification preference by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/notification-preferences/rem?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"preferences\": [
        [
            [
                \"email\"
            ]
        ]
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/notification-preferences/rem"
);

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 = {
    "preferences": [
        [
            [
                "email"
            ]
        ]
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "NotificationPreference [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/notification-preferences/{notificationPreferenceId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

notificationPreferenceId   string   

Example: rem

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

preferences   string[][][]  optional  
Must be one of:
  • email
  • inapp
  • broadcast
  • sms
info   object  optional  
warning   object  optional  
error   object  optional  
emergency   object  optional  

Must have at least 1 items.

organizationId   string  optional  

Batch delete Notification preferences by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/notification-preferences/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"inventore\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/notification-preferences/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": [
        "inventore"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/notification-preferences/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Notification preference by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/notification-preferences/corporis?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/notification-preferences/corporis"
);

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": "NotificationPreference [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/notification-preferences/{notificationPreferenceId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

notificationPreferenceId   string   

Example: corporis

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Notification preferences with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/notification-preferences?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:8000/api/v1/notification-preferences"
);

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."
}
 

Request      

GET api/v1/notification-preferences

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/notification-preferences/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\": \"organizationId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/notification-preferences/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": "organizationId",
            "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."
}
 

Behaviour

Create a new Behaviour

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/behaviours?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"identifier\": \"omnis\",
    \"name\": \"dolorem\",
    \"description\": \"Accusantium possimus labore fugit modi.\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/behaviours"
);

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 = {
    "identifier": "omnis",
    "name": "dolorem",
    "description": "Accusantium possimus labore fugit modi."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/behaviours

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

identifier   string   

Example: omnis

name   string   

Example: dolorem

description   string   

Example: Accusantium possimus labore fugit modi.

settings   object  optional  

Batch create new Behaviours

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/behaviours/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"identifier\": \"voluptas\",
            \"name\": \"autem\",
            \"description\": \"Perspiciatis omnis aperiam vitae eum eaque excepturi modi.\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/behaviours/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": [
        {
            "identifier": "voluptas",
            "name": "autem",
            "description": "Perspiciatis omnis aperiam vitae eum eaque excepturi modi."
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/behaviours/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
identifier   string   

Example: voluptas

name   string   

Example: autem

description   string   

Example: Perspiciatis omnis aperiam vitae eum eaque excepturi modi.

settings   object  optional  

Fetch a Behaviour by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/behaviours/et?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/behaviours/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": "Behaviour [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/behaviours/{behaviourId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

behaviourId   string   

Example: et

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Behaviours

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/behaviours/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"aliquam\",
            \"description\": \"Consequatur blanditiis laborum doloremque et eos dignissimos itaque.\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/behaviours/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": "aliquam",
            "description": "Consequatur blanditiis laborum doloremque et eos dignissimos itaque."
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/behaviours/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
identifier   string  optional  
name   string  optional  

Example: aliquam

description   string  optional  

Example: Consequatur blanditiis laborum doloremque et eos dignissimos itaque.

settings   object  optional  

Update a Behaviour by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/behaviours/natus?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"in\",
    \"description\": \"Velit reprehenderit iste accusantium hic praesentium aut.\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/behaviours/natus"
);

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": "in",
    "description": "Velit reprehenderit iste accusantium hic praesentium aut."
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "Behaviour [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/behaviours/{behaviourId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

behaviourId   string   

Example: natus

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

identifier   string  optional  
name   string  optional  

Example: in

description   string  optional  

Example: Velit reprehenderit iste accusantium hic praesentium aut.

settings   object  optional  

Batch delete Behaviours by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/behaviours/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"omnis\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/behaviours/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": [
        "omnis"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/behaviours/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Behaviour by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/behaviours/cumque?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/behaviours/cumque"
);

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": "Behaviour [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/behaviours/{behaviourId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

behaviourId   string   

Example: cumque

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Behaviours with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/behaviours?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:8000/api/v1/behaviours"
);

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."
}
 

Request      

GET api/v1/behaviours

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/behaviours/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:8000/api/v1/behaviours/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."
}
 

Function entity

Create a new Function entity

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/function-entities?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"identifier\": \"cumque\",
    \"name\": \"recusandae\",
    \"description\": \"Sunt aliquid eum et ab ex.\",
    \"companyId\": \"vero\",
    \"organizationId\": \"repellendus\",
    \"customerTypeId\": \"dolorem\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/function-entities"
);

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 = {
    "identifier": "cumque",
    "name": "recusandae",
    "description": "Sunt aliquid eum et ab ex.",
    "companyId": "vero",
    "organizationId": "repellendus",
    "customerTypeId": "dolorem"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/function-entities

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

identifier   string   

Example: cumque

name   string   

Example: recusandae

description   string   

Example: Sunt aliquid eum et ab ex.

companyId   string  optional  

Example: vero

organizationId   string  optional  

Example: repellendus

customerTypeId   string  optional  

Example: dolorem

Batch create new Function entities

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/function-entities/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"identifier\": \"voluptas\",
            \"name\": \"veritatis\",
            \"description\": \"Nihil sint quasi eligendi facilis soluta dolor cumque.\",
            \"companyId\": \"repellendus\",
            \"organizationId\": \"ea\",
            \"customerTypeId\": \"molestiae\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/function-entities/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": [
        {
            "identifier": "voluptas",
            "name": "veritatis",
            "description": "Nihil sint quasi eligendi facilis soluta dolor cumque.",
            "companyId": "repellendus",
            "organizationId": "ea",
            "customerTypeId": "molestiae"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/function-entities/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
identifier   string   

Example: voluptas

name   string   

Example: veritatis

description   string   

Example: Nihil sint quasi eligendi facilis soluta dolor cumque.

companyId   string  optional  

Example: repellendus

organizationId   string  optional  

Example: ea

customerTypeId   string  optional  

Example: molestiae

Fetch a Function entity by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/function-entities/id?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/function-entities/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": "FunctionEntity [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/function-entities/{functionEntityId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

functionEntityId   string   

Example: id

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Function entities

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/function-entities/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"voluptatem\",
            \"description\": \"Suscipit impedit fugit nemo consequatur expedita sint consectetur.\",
            \"companyId\": \"voluptas\",
            \"organizationId\": \"quia\",
            \"customerTypeId\": \"blanditiis\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/function-entities/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": "voluptatem",
            "description": "Suscipit impedit fugit nemo consequatur expedita sint consectetur.",
            "companyId": "voluptas",
            "organizationId": "quia",
            "customerTypeId": "blanditiis"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/function-entities/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
identifier   string  optional  
name   string  optional  

Example: voluptatem

description   string  optional  

Example: Suscipit impedit fugit nemo consequatur expedita sint consectetur.

companyId   string  optional  

Example: voluptas

organizationId   string  optional  

Example: quia

customerTypeId   string  optional  

Example: blanditiis

Update a Function entity by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/function-entities/in?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"unde\",
    \"description\": \"Nam fugiat cum esse facilis debitis.\",
    \"companyId\": \"corrupti\",
    \"organizationId\": \"magni\",
    \"customerTypeId\": \"sit\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/function-entities/in"
);

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": "unde",
    "description": "Nam fugiat cum esse facilis debitis.",
    "companyId": "corrupti",
    "organizationId": "magni",
    "customerTypeId": "sit"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "FunctionEntity [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/function-entities/{functionEntityId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

functionEntityId   string   

Example: in

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

identifier   string  optional  
name   string  optional  

Example: unde

description   string  optional  

Example: Nam fugiat cum esse facilis debitis.

companyId   string  optional  

Example: corrupti

organizationId   string  optional  

Example: magni

customerTypeId   string  optional  

Example: sit

Batch delete Function entities by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/function-entities/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"sed\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/function-entities/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": [
        "sed"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/function-entities/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Function entity by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/function-entities/perspiciatis?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/function-entities/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",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "FunctionEntity [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/function-entities/{functionEntityId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

functionEntityId   string   

Example: perspiciatis

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Function entities with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/function-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:8000/api/v1/function-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."
}
 

Request      

GET api/v1/function-entities

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/function-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\": \"companyId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"organizationId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"identifier\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"name\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/function-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": "companyId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "organizationId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "identifier",
            "operator": "=",
            "value": "value"
        },
        {
            "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."
}
 

Customer type

Create a new Customer type

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/customer-types?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"identifier\": \"omnis\",
    \"name\": \"nobis\",
    \"description\": \"Dolores dolorem natus possimus expedita.\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/customer-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 = {
    "identifier": "omnis",
    "name": "nobis",
    "description": "Dolores dolorem natus possimus expedita."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/customer-types

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

identifier   string   

Example: omnis

name   string   

Example: nobis

description   string   

Example: Dolores dolorem natus possimus expedita.

Batch create new Customer types

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/customer-types/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"identifier\": \"animi\",
            \"name\": \"et\",
            \"description\": \"Ab inventore voluptatibus vero vitae enim earum.\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/customer-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": [
        {
            "identifier": "animi",
            "name": "et",
            "description": "Ab inventore voluptatibus vero vitae enim earum."
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/customer-types/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
identifier   string   

Example: animi

name   string   

Example: et

description   string   

Example: Ab inventore voluptatibus vero vitae enim earum.

Fetch a Customer type by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/customer-types/nam?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/customer-types/nam"
);

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": "CustomerType [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/customer-types/{customerTypeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

customerTypeId   string   

Example: nam

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Customer types

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/customer-types/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"quos\",
            \"description\": \"Voluptas ipsum quia temporibus id voluptatem rem magni.\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/customer-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": [
        {
            "name": "quos",
            "description": "Voluptas ipsum quia temporibus id voluptatem rem magni."
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/customer-types/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
identifier   string  optional  
name   string  optional  

Example: quos

description   string  optional  

Example: Voluptas ipsum quia temporibus id voluptatem rem magni.

Update a Customer type by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/customer-types/expedita?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"nostrum\",
    \"description\": \"Eaque beatae aut est dignissimos minus.\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/customer-types/expedita"
);

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": "nostrum",
    "description": "Eaque beatae aut est dignissimos minus."
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "CustomerType [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/customer-types/{customerTypeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

customerTypeId   string   

Example: expedita

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

identifier   string  optional  
name   string  optional  

Example: nostrum

description   string  optional  

Example: Eaque beatae aut est dignissimos minus.

Batch delete Customer types by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/customer-types/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"sequi\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/customer-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": [
        "sequi"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/customer-types/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Customer type by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/customer-types/omnis?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/customer-types/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",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "CustomerType [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/customer-types/{customerTypeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

customerTypeId   string   

Example: omnis

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Customer types with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/customer-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:8000/api/v1/customer-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."
}
 

Request      

GET api/v1/customer-types

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/customer-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\": [],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/customer-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": [],
    "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."
}
 

Team position

Create a new Team position

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/team-positions?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"id\",
    \"description\": \"Vel sed eveniet quia quos incidunt aut.\",
    \"organizationId\": \"omnis\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/team-positions"
);

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": "id",
    "description": "Vel sed eveniet quia quos incidunt aut.",
    "organizationId": "omnis"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/team-positions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

name   string   

Example: id

description   string   

Example: Vel sed eveniet quia quos incidunt aut.

organizationId   string  optional  

Example: omnis

roles   object[]  optional  
roleIds   object  optional  

Batch create new Team positions

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/team-positions/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"error\",
            \"description\": \"Cumque nostrum et et dolor.\",
            \"organizationId\": \"magni\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/team-positions/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": "error",
            "description": "Cumque nostrum et et dolor.",
            "organizationId": "magni"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/team-positions/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
name   string   

Example: error

description   string   

Example: Cumque nostrum et et dolor.

organizationId   string  optional  

Example: magni

roles   object  optional  

Fetch a Team position by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/team-positions/qui?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/team-positions/qui"
);

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": "TeamPosition [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/team-positions/{teamPositionId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

teamPositionId   string   

Example: qui

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Team positions

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/team-positions/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"exercitationem\",
            \"description\": \"Veniam molestias deleniti natus nihil repudiandae quisquam nihil.\",
            \"organizationId\": \"ducimus\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/team-positions/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": "exercitationem",
            "description": "Veniam molestias deleniti natus nihil repudiandae quisquam nihil.",
            "organizationId": "ducimus"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/team-positions/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
name   string  optional  

Example: exercitationem

description   string  optional  

Example: Veniam molestias deleniti natus nihil repudiandae quisquam nihil.

organizationId   string  optional  

Example: ducimus

roles   object  optional  

Update a Team position by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/team-positions/aliquid?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"ea\",
    \"description\": \"Quis consequatur in ea.\",
    \"organizationId\": \"porro\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/team-positions/aliquid"
);

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": "ea",
    "description": "Quis consequatur in ea.",
    "organizationId": "porro"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "TeamPosition [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/team-positions/{teamPositionId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

teamPositionId   string   

Example: aliquid

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

name   string  optional  

Example: ea

description   string  optional  

Example: Quis consequatur in ea.

organizationId   string  optional  

Example: porro

roles   object[]  optional  
roleIds   object  optional  

Batch delete Team positions by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/team-positions/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"accusantium\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/team-positions/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": [
        "accusantium"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/team-positions/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Team position by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/team-positions/aut?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/team-positions/aut"
);

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": "TeamPosition [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/team-positions/{teamPositionId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

teamPositionId   string   

Example: aut

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Team positions with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/team-positions?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:8000/api/v1/team-positions"
);

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."
}
 

Request      

GET api/v1/team-positions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/team-positions/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\": \"organizationId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/team-positions/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": "organizationId",
            "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."
}
 

Person

Fetch a Person by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/persons/voluptatum?include=companies%2Cemployees" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/persons/voluptatum"
);

const params = {
    "include": "companies,employees",
};
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": "Person [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/persons/{personId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personId   string   

Example: voluptatum

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,employees

Fetch a list of People with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/persons?page=1&pageSize=15&withSoftDeletes=1&include=companies%2Cemployees" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/persons"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "companies,employees",
};
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."
}
 

Request      

GET api/v1/persons

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,employees

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/persons/search?page=1&pageSize=15&withSoftDeletes=1&include=companies%2Cemployees" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filters\": [
        {
            \"field\": \"companyIds\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"identities\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ],
    \"scopes\": [
        {
            \"name\": \"findBySsn\",
            \"parameters\": []
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/persons/search"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "companies,employees",
};
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": "companyIds",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "identities",
            "operator": "=",
            "value": "value"
        }
    ],
    "sort": [
        {
            "field": "createdAt",
            "direction": "asc"
        },
        {
            "field": "updatedAt",
            "direction": "asc"
        }
    ],
    "scopes": [
        {
            "name": "findBySsn",
            "parameters": []
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Country

Create a new Country

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/countries?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"veniam\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/countries"
);

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": "veniam"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/countries

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

name   string   

Example: veniam

Batch create new Countries

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/countries/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"minima\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/countries/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": "minima"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/countries/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
name   string   

Example: minima

Fetch a Country by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/countries/officia?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/countries/officia"
);

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": "Country [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/countries/{countryId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

countryId   string   

Example: officia

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Countries

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/countries/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/api/v1/countries/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());

Request      

PATCH api/v1/countries/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
name   string  optional  

Update a Country by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/countries/earum?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/api/v1/countries/earum"
);

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": "Country [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/countries/{countryId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

countryId   string   

Example: earum

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

name   string  optional  

Batch delete Countries by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/countries/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"neque\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/countries/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": [
        "neque"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/countries/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Country by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/countries/consectetur?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/countries/consectetur"
);

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": "Country [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/countries/{countryId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

countryId   string   

Example: consectetur

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Countries with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/countries?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:8000/api/v1/countries"
);

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."
}
 

Request      

GET api/v1/countries

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/countries/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:8000/api/v1/countries/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."
}
 

Export

Fetch a list of Exports with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/exports?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:8000/api/v1/exports"
);

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."
}
 

Request      

GET api/v1/exports

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/exports/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\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/exports/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"
        }
    ],
    "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."
}
 

Ext role mapping

Create a new Ext role mapping (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/ext-role-mappings?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"quas\",
    \"roleId\": 21.7,
    \"externalIntegrationRoleId\": \"ad\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/ext-role-mappings"
);

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": "quas",
    "roleId": 21.7,
    "externalIntegrationRoleId": "ad"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/ext-role-mappings

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

companyId   string   

Example: quas

roleId   number   

Example: 21.7

externalIntegrationRoleId   string   

Example: ad

Update a Ext role mapping by its ID (Stability Score: 0.1)

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/ext-role-mappings/ut?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"roleId\": 412058.2998902,
    \"externalIntegrationRoleId\": \"debitis\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/ext-role-mappings/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",
};

let body = {
    "roleId": 412058.2998902,
    "externalIntegrationRoleId": "debitis"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "ExtRoleMapping [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/ext-role-mappings/{extRoleMappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

extRoleMappingId   string   

Example: ut

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

companyId   string  optional  
roleId   number  optional  

Example: 412058.2998902

externalIntegrationRoleId   string  optional  

Example: debitis

Delete a Ext role mapping by its ID (Stability Score: 0.1)

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/ext-role-mappings/excepturi?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/ext-role-mappings/excepturi"
);

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": "ExtRoleMapping [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/ext-role-mappings/{extRoleMappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

extRoleMappingId   string   

Example: excepturi

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/ext-role-mappings/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\": \"roleId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"externalIntegrationRoleId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/ext-role-mappings/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": "roleId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "externalIntegrationRoleId",
            "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."
}
 

Ext integration role

Fetch a Ext integration role by its ID (Stability Score: 0.1)

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/external-integration-roles/quibusdam?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration-roles/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",
};

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": "ExtIntegrationRole [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/external-integration-roles/{externalIntegrationRoleId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

externalIntegrationRoleId   string   

Example: quibusdam

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Ext integration roles with pagination (Stability Score: 0.1)

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/external-integration-roles?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:8000/api/v1/external-integration-roles"
);

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."
}
 

Request      

GET api/v1/external-integration-roles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/external-integration-roles/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\": \"externalIntegrationId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration-roles/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": "externalIntegrationId",
            "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."
}
 

Team

Create a new Team

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/teams?include=manager%2Ccompanies%2Cparticipants%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"ykxcqmrpwopdequdn\",
    \"organizationId\": \"et\",
    \"description\": \"Dolores qui pariatur omnis sunt at.\",
    \"teamType\": \"organization\",
    \"companyId\": \"voluptatibus\",
    \"companyIds\": [
        \"cumque\"
    ],
    \"memberIds\": [
        \"sit\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/teams"
);

const params = {
    "include": "manager,companies,participants,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 = {
    "name": "ykxcqmrpwopdequdn",
    "organizationId": "et",
    "description": "Dolores qui pariatur omnis sunt at.",
    "teamType": "organization",
    "companyId": "voluptatibus",
    "companyIds": [
        "cumque"
    ],
    "memberIds": [
        "sit"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/teams

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: manager,companies,participants,organization

Body Parameters

name   string   

Must be at least 1 character. Must not be greater than 255 characters. Example: ykxcqmrpwopdequdn

organizationId   string  optional  

This field is required when teamType is organization. Example: et

description   string  optional  

Example: Dolores qui pariatur omnis sunt at.

teamType   string  optional  

Example: organization

Must be one of:
  • organization
  • company
companyId   string  optional  

This field is required when teamType is company. Example: voluptatibus

companyIds   string[]   
memberIds   string[]   
members   object  optional  

Batch create new Teams

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/teams/batch?include=manager%2Ccompanies%2Cparticipants%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"rzxadeeulgaylx\",
            \"organizationId\": \"error\",
            \"description\": \"Quibusdam et qui consequatur vitae.\",
            \"teamType\": \"company\",
            \"companyId\": \"ut\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/teams/batch"
);

const params = {
    "include": "manager,companies,participants,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": [
        {
            "name": "rzxadeeulgaylx",
            "organizationId": "error",
            "description": "Quibusdam et qui consequatur vitae.",
            "teamType": "company",
            "companyId": "ut"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/teams/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: manager,companies,participants,organization

Body Parameters

resources   object[]  optional  
name   string   

Must be at least 1 character. Must not be greater than 255 characters. Example: rzxadeeulgaylx

organizationId   string  optional  

This field is required when teamType is organization. Example: error

description   string  optional  

Example: Quibusdam et qui consequatur vitae.

teamType   string  optional  

Example: company

Must be one of:
  • organization
  • company
companyId   string  optional  

This field is required when teamType is company. Example: ut

companyIds   object  optional  
memberIds   object  optional  
members   object  optional  

Fetch a Team by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/teams/a?include=manager%2Ccompanies%2Cparticipants%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/teams/a"
);

const params = {
    "include": "manager,companies,participants,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."
}
 

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "Team [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/teams/{teamId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

teamId   string   

Example: a

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: manager,companies,participants,organization

Batch update Teams

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/teams/batch?include=manager%2Ccompanies%2Cparticipants%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"vydyhi\",
            \"description\": \"Exercitationem sit non qui.\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/teams/batch"
);

const params = {
    "include": "manager,companies,participants,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": [
        {
            "name": "vydyhi",
            "description": "Exercitationem sit non qui."
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/teams/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: manager,companies,participants,organization

Body Parameters

resources   object[]  optional  
name   string  optional  

Must be at least 1 character. Must not be greater than 255 characters. Example: vydyhi

description   string  optional  

Example: Exercitationem sit non qui.

companyIds   object  optional  
memberIds   object  optional  
companyId   string  optional  
organizationId   string  optional  
teamType   string  optional  
members   object  optional  

Update a Team by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/teams/dicta?include=manager%2Ccompanies%2Cparticipants%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"tpzjpliymrepidlgbqmfemc\",
    \"description\": \"Esse vero ut perferendis alias tenetur et inventore.\",
    \"companyIds\": [
        \"nihil\"
    ],
    \"memberIds\": [
        \"dolor\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/teams/dicta"
);

const params = {
    "include": "manager,companies,participants,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 = {
    "name": "tpzjpliymrepidlgbqmfemc",
    "description": "Esse vero ut perferendis alias tenetur et inventore.",
    "companyIds": [
        "nihil"
    ],
    "memberIds": [
        "dolor"
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "Team [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/teams/{teamId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

teamId   string   

Example: dicta

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: manager,companies,participants,organization

Body Parameters

name   string  optional  

Must be at least 1 character. Must not be greater than 255 characters. Example: tpzjpliymrepidlgbqmfemc

description   string  optional  

Example: Esse vero ut perferendis alias tenetur et inventore.

companyIds   string[]   
memberIds   string[]   
companyId   string  optional  
organizationId   string  optional  
teamType   string  optional  
members   object  optional  

Batch delete Teams by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/teams/batch?include=manager%2Ccompanies%2Cparticipants%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"consequatur\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/teams/batch"
);

const params = {
    "include": "manager,companies,participants,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": [
        "consequatur"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/teams/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: manager,companies,participants,organization

Body Parameters

resources   string[]  optional  

Delete a Team by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/teams/ea?include=manager%2Ccompanies%2Cparticipants%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/teams/ea"
);

const params = {
    "include": "manager,companies,participants,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());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "Team [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/teams/{teamId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

teamId   string   

Example: ea

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: manager,companies,participants,organization

Fetch a list of Teams with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/teams?page=1&pageSize=15&withSoftDeletes=1&include=manager%2Ccompanies%2Cparticipants%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/teams"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "manager,companies,participants,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."
}
 

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/teams

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: manager,companies,participants,organization

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/teams/search?page=1&pageSize=15&withSoftDeletes=1&include=manager%2Ccompanies%2Cparticipants%2Corganization" \
    --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\": \"managerId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"companyIds\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"organizationId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/teams/search"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "manager,companies,participants,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": "name",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "description",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "managerId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "companyIds",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "organizationId",
            "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."
}
 

Company change history

Fetch a list of Company change histories with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company-change-history?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:8000/api/v1/company-change-history"
);

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."
}
 

Request      

GET api/v1/company-change-history

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Company field change

Fetch a Company field change by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company-field-changes/est?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-field-changes/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: "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": "CompanyFieldChange [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/company-field-changes/{recordId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

recordId   string   

Example: est

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Company field changes with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company-field-changes?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:8000/api/v1/company-field-changes"
);

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."
}
 

Request      

GET api/v1/company-field-changes

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company-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\": \"changeId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"approved\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"status\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"comment\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"deniedNote\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"companyFieldId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"changeType\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"changedBy\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"changedDate\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"effectiveDate\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"fieldName\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"newValue\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"oldValue\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"exported\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"companyId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-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": "changeId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "approved",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "status",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "comment",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "deniedNote",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "companyFieldId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "changeType",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "changedBy",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "changedDate",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "effectiveDate",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "fieldName",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "newValue",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "oldValue",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "exported",
            "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."
}
 

Grid view

Create a new Grid view

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/grid-views?include=grid%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"gridId\": \"neque\",
    \"viewName\": \"dolorem\",
    \"viewDescription\": \"quo\",
    \"viewSettings\": [],
    \"userId\": 6
}"
const url = new URL(
    "http://localhost:8000/api/v1/grid-views"
);

const params = {
    "include": "grid,actors",
};
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 = {
    "gridId": "neque",
    "viewName": "dolorem",
    "viewDescription": "quo",
    "viewSettings": [],
    "userId": 6
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/grid-views

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,actors

Body Parameters

gridId   string   

Example: neque

viewName   string   

Example: dolorem

viewDescription   string   

Example: quo

viewSettings   object   
userId   integer  optional  

Example: 6

Fetch a Grid view by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/grid-views/quo?include=grid%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/grid-views/quo"
);

const params = {
    "include": "grid,actors",
};
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": "GridView [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/grid-views/{gridViewId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

gridViewId   string   

Example: quo

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,actors

Update a Grid view by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/grid-views/quia?include=grid%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"gridId\": \"optio\",
    \"viewName\": \"magnam\",
    \"viewDescription\": \"ducimus\",
    \"userId\": 15
}"
const url = new URL(
    "http://localhost:8000/api/v1/grid-views/quia"
);

const params = {
    "include": "grid,actors",
};
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 = {
    "gridId": "optio",
    "viewName": "magnam",
    "viewDescription": "ducimus",
    "userId": 15
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "GridView [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/grid-views/{gridViewId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

gridViewId   string   

Example: quia

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,actors

Body Parameters

gridId   string  optional  

Example: optio

viewName   string  optional  

Example: magnam

viewDescription   string  optional  

Example: ducimus

viewSettings   object  optional  
userId   integer  optional  

Example: 15

Delete a Grid view by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/grid-views/eum?include=grid%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/grid-views/eum"
);

const params = {
    "include": "grid,actors",
};
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": "GridView [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/grid-views/{gridViewId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

gridViewId   string   

Example: eum

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,actors

Fetch a list of Grid views with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/grid-views?page=1&pageSize=15&withSoftDeletes=1&include=grid%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/grid-views"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "grid,actors",
};
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."
}
 

Request      

GET api/v1/grid-views

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,actors

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/grid-views/search?page=1&pageSize=15&withSoftDeletes=1&include=grid%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filters\": [
        {
            \"field\": \"viewName\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"gridId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/grid-views/search"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "grid,actors",
};
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": "viewName",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "gridId",
            "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."
}
 

Grid configuration

Create a new Grid configuration

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/grid-configurations?include=grid%2Cuser" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"gridId\": \"consectetur\",
    \"userId\": \"et\",
    \"gridTitle\": \"et\",
    \"gridDescription\": \"reiciendis\",
    \"gridSettings\": []
}"
const url = new URL(
    "http://localhost:8000/api/v1/grid-configurations"
);

const params = {
    "include": "grid,user",
};
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 = {
    "gridId": "consectetur",
    "userId": "et",
    "gridTitle": "et",
    "gridDescription": "reiciendis",
    "gridSettings": []
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/grid-configurations

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,user

Body Parameters

gridId   string   

Example: consectetur

userId   string   

Example: et

gridTitle   string   

Example: et

gridDescription   string   

Example: reiciendis

gridSettings   object   

Batch create new Grid configurations

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/grid-configurations/batch?include=grid%2Cuser" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"gridId\": \"aut\",
            \"userId\": \"unde\",
            \"gridTitle\": \"nesciunt\",
            \"gridDescription\": \"corrupti\",
            \"gridSettings\": []
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/grid-configurations/batch"
);

const params = {
    "include": "grid,user",
};
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": [
        {
            "gridId": "aut",
            "userId": "unde",
            "gridTitle": "nesciunt",
            "gridDescription": "corrupti",
            "gridSettings": []
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/grid-configurations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,user

Body Parameters

resources   object[]  optional  
gridId   string   

Example: aut

userId   string   

Example: unde

gridTitle   string   

Example: nesciunt

gridDescription   string   

Example: corrupti

gridSettings   object   

Fetch a Grid configuration by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/grid-configurations/et?include=grid%2Cuser" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/grid-configurations/et"
);

const params = {
    "include": "grid,user",
};
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": "GridConfiguration [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/grid-configurations/{gridConfigurationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

gridConfigurationId   string   

Example: et

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,user

Batch update Grid configurations

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/grid-configurations/batch?include=grid%2Cuser" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"gridTitle\": \"et\",
            \"gridDescription\": \"odio\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/grid-configurations/batch"
);

const params = {
    "include": "grid,user",
};
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": [
        {
            "gridTitle": "et",
            "gridDescription": "odio"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/grid-configurations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,user

Body Parameters

resources   object[]  optional  
gridId   string  optional  
userId   string  optional  
gridTitle   string  optional  

Example: et

gridDescription   string  optional  

Example: odio

gridSettings   object  optional  

Update a Grid configuration by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/grid-configurations/velit?include=grid%2Cuser" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"gridTitle\": \"ipsam\",
    \"gridDescription\": \"impedit\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/grid-configurations/velit"
);

const params = {
    "include": "grid,user",
};
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 = {
    "gridTitle": "ipsam",
    "gridDescription": "impedit"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "GridConfiguration [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/grid-configurations/{gridConfigurationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

gridConfigurationId   string   

Example: velit

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,user

Body Parameters

gridId   string  optional  
userId   string  optional  
gridTitle   string  optional  

Example: ipsam

gridDescription   string  optional  

Example: impedit

gridSettings   object  optional  

Batch delete Grid configurations by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/grid-configurations/batch?include=grid%2Cuser" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"ut\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/grid-configurations/batch"
);

const params = {
    "include": "grid,user",
};
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": [
        "ut"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/grid-configurations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,user

Body Parameters

resources   string[]  optional  

Delete a Grid configuration by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/grid-configurations/velit?include=grid%2Cuser" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/grid-configurations/velit"
);

const params = {
    "include": "grid,user",
};
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": "GridConfiguration [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/grid-configurations/{gridConfigurationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

gridConfigurationId   string   

Example: velit

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,user

Fetch a list of Grid configurations with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/grid-configurations?page=1&pageSize=15&withSoftDeletes=1&include=grid%2Cuser" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/grid-configurations"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "grid,user",
};
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."
}
 

Request      

GET api/v1/grid-configurations

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,user

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/grid-configurations/search?page=1&pageSize=15&withSoftDeletes=1&include=grid%2Cuser" \
    --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:8000/api/v1/grid-configurations/search"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "grid,user",
};
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."
}
 

Ui grid

Batch create new Ui grids

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/ui-grids/batch?include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"gridTitle\": \"dolorem\",
            \"gridDescription\": \"perspiciatis\",
            \"gridSettings\": {
                \"gridFor\": \"numquam\"
            },
            \"companyId\": \"ipsam\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/ui-grids/batch"
);

const params = {
    "include": "views,company,actors",
};
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": [
        {
            "gridTitle": "dolorem",
            "gridDescription": "perspiciatis",
            "gridSettings": {
                "gridFor": "numquam"
            },
            "companyId": "ipsam"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ui-grids/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

Body Parameters

resources   object[]  optional  
gridTitle   string   

Example: dolorem

gridDescription   string   

Example: perspiciatis

gridSettings   object   
gridFor   string  optional  

Example: numquam

companyId   string  optional  

Example: ipsam

Fetch a Ui grid by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/ui-grids/ab?include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/ui-grids/ab"
);

const params = {
    "include": "views,company,actors",
};
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": "UiGrid [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/ui-grids/{uiGridId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

uiGridId   string   

Example: ab

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

Batch update Ui grids

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/ui-grids/batch?include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"gridTitle\": \"ut\",
            \"gridDescription\": \"ut\",
            \"gridSettings\": {
                \"gridFor\": \"consectetur\"
            },
            \"companyId\": \"optio\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/ui-grids/batch"
);

const params = {
    "include": "views,company,actors",
};
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": [
        {
            "gridTitle": "ut",
            "gridDescription": "ut",
            "gridSettings": {
                "gridFor": "consectetur"
            },
            "companyId": "optio"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/ui-grids/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

Body Parameters

resources   object[]  optional  
gridTitle   string  optional  

Example: ut

gridDescription   string  optional  

Example: ut

gridSettings   object  optional  
gridFor   string  optional  

Example: consectetur

companyId   string  optional  

Example: optio

Update a Ui grid by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/ui-grids/odio?include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"gridTitle\": \"itaque\",
    \"gridDescription\": \"aut\",
    \"gridSettings\": {
        \"gridFor\": \"nesciunt\"
    },
    \"companyId\": \"corrupti\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/ui-grids/odio"
);

const params = {
    "include": "views,company,actors",
};
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 = {
    "gridTitle": "itaque",
    "gridDescription": "aut",
    "gridSettings": {
        "gridFor": "nesciunt"
    },
    "companyId": "corrupti"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "UiGrid [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/ui-grids/{uiGridId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

uiGridId   string   

Example: odio

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

Body Parameters

gridTitle   string  optional  

Example: itaque

gridDescription   string  optional  

Example: aut

gridSettings   object  optional  
gridFor   string  optional  

Example: nesciunt

companyId   string  optional  

Example: corrupti

Batch delete Ui grids by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/ui-grids/batch?include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"voluptatem\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/ui-grids/batch"
);

const params = {
    "include": "views,company,actors",
};
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());

Request      

DELETE api/v1/ui-grids/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

Body Parameters

resources   string[]  optional  

Delete a Ui grid by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/ui-grids/dolorem?include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/ui-grids/dolorem"
);

const params = {
    "include": "views,company,actors",
};
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": "UiGrid [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/ui-grids/{uiGridId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

uiGridId   string   

Example: dolorem

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

Fetch a list of Ui grids with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/ui-grids?page=1&pageSize=15&withSoftDeletes=1&include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/ui-grids"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "views,company,actors",
};
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."
}
 

Request      

GET api/v1/ui-grids

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/ui-grids/search?page=1&pageSize=15&withSoftDeletes=1&include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filters\": [
        {
            \"field\": \"gridTitle\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"companyId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/ui-grids/search"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "views,company,actors",
};
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": "gridTitle",
            "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."
}
 

Create a new Ui grid

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/ui-grids?include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"gridTitle\": \"ea\",
    \"gridDescription\": \"eum\",
    \"gridSettings\": {
        \"gridFor\": \"placeat\"
    },
    \"companyId\": \"ea\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/ui-grids"
);

const params = {
    "include": "views,company,actors",
};
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 = {
    "gridTitle": "ea",
    "gridDescription": "eum",
    "gridSettings": {
        "gridFor": "placeat"
    },
    "companyId": "ea"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/ui-grids

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

Body Parameters

gridTitle   string   

Example: ea

gridDescription   string   

Example: eum

gridSettings   object   
gridFor   string  optional  

Example: placeat

companyId   string  optional  

Example: ea

Fetch a list of Ui grids with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/companies/atque/ui-grids?page=1&pageSize=15&withSoftDeletes=1&include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/companies/atque/ui-grids"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "views,company,actors",
};
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."
}
 

Request      

GET api/v1/companies/{companyId}/ui-grids

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: atque

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

Fetch a Ui grid by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/companies/earum/ui-grids/odio?include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/companies/earum/ui-grids/odio"
);

const params = {
    "include": "views,company,actors",
};
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": "UiGrid [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/companies/{companyId}/ui-grids/{uiGridId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: earum

uiGridId   string   

Example: odio

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

Update a Ui grid by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/companies/beatae/ui-grids/aut?include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"gridTitle\": \"quis\",
    \"gridDescription\": \"tempore\",
    \"gridSettings\": {
        \"gridFor\": \"dolores\"
    },
    \"companyId\": \"molestiae\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/beatae/ui-grids/aut"
);

const params = {
    "include": "views,company,actors",
};
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 = {
    "gridTitle": "quis",
    "gridDescription": "tempore",
    "gridSettings": {
        "gridFor": "dolores"
    },
    "companyId": "molestiae"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "UiGrid [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/companies/{companyId}/ui-grids/{uiGridId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: beatae

uiGridId   string   

Example: aut

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

Body Parameters

gridTitle   string  optional  

Example: quis

gridDescription   string  optional  

Example: tempore

gridSettings   object  optional  
gridFor   string  optional  

Example: dolores

companyId   string  optional  

Example: molestiae

Delete a Ui grid by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/companies/et/ui-grids/ut?include=views%2Ccompany%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/companies/et/ui-grids/ut"
);

const params = {
    "include": "views,company,actors",
};
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": "UiGrid [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/companies/{companyId}/ui-grids/{uiGridId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: et

uiGridId   string   

Example: ut

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: views,company,actors

Salary warning

Fetch a Salary warning by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/salary-warnings/ipsam?include=employee%2CsalaryRule" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/salary-warnings/ipsam"
);

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
}
 

Request      

GET api/v1/salary-warnings/{salaryWarningId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

salaryWarningId   string   

Example: ipsam

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: employee,salaryRule

Fetch a list of Salary warnings with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/salary-warnings

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: employee,salaryRule

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Company integration

Create a new Company integration

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company-integrations?include=externalIntegration" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalIntegrationId\": \"fugit\",
    \"companyId\": \"vero\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-integrations"
);

const params = {
    "include": "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",
};

let body = {
    "externalIntegrationId": "fugit",
    "companyId": "vero"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/company-integrations

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration

Body Parameters

externalIntegrationId   string   

Example: fugit

companyId   string   

Example: vero

settings   object  optional  

Batch create new Company integrations

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company-integrations/batch?include=externalIntegration" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"externalIntegrationId\": \"aperiam\",
            \"companyId\": \"non\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-integrations/batch"
);

const params = {
    "include": "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",
};

let body = {
    "resources": [
        {
            "externalIntegrationId": "aperiam",
            "companyId": "non"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company-integrations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration

Body Parameters

resources   object[]  optional  
externalIntegrationId   string   

Example: aperiam

companyId   string   

Example: non

settings   object  optional  

Fetch a Company integration by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company-integrations/saepe?include=externalIntegration" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-integrations/saepe"
);

const params = {
    "include": "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": "CompanyIntegration [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/company-integrations/{companyIntegrationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyIntegrationId   string   

Example: saepe

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration

Batch update Company integrations

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/company-integrations/batch?include=externalIntegration" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/api/v1/company-integrations/batch"
);

const params = {
    "include": "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: "PATCH",
    headers,
}).then(response => response.json());

Request      

PATCH api/v1/company-integrations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration

Body Parameters

resources   object[]  optional  
externalIntegrationId   string  optional  
companyId   string  optional  
settings   object  optional  

Update a Company integration by its ID (Stability Score: 0.5)

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/company-integrations/quam?include=externalIntegration" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/api/v1/company-integrations/quam"
);

const params = {
    "include": "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: "PATCH",
    headers,
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "CompanyIntegration [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/company-integrations/{companyIntegrationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyIntegrationId   string   

Example: quam

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration

Body Parameters

externalIntegrationId   string  optional  
companyId   string  optional  
settings   object  optional  

Batch delete Company integrations by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/company-integrations/batch?include=externalIntegration" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"cum\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-integrations/batch"
);

const params = {
    "include": "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",
};

let body = {
    "resources": [
        "cum"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/company-integrations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration

Body Parameters

resources   string[]  optional  

Delete a Company integration by its ID (Stability Score: 0.5)

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/company-integrations/voluptas?include=externalIntegration" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-integrations/voluptas"
);

const params = {
    "include": "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: "DELETE",
    headers,
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "CompanyIntegration [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/company-integrations/{companyIntegrationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyIntegrationId   string   

Example: voluptas

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration

Fetch a list of Company integrations with pagination (Stability Score: 0.5)

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company-integrations?page=1&pageSize=15&withSoftDeletes=1&include=externalIntegration" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-integrations"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "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."
}
 

Request      

GET api/v1/company-integrations

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company-integrations/search?page=1&pageSize=15&withSoftDeletes=1&include=externalIntegration" \
    --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:8000/api/v1/company-integrations/search"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "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",
};

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."
}
 

Integration type

Fetch a list of Integration types with pagination (Stability Score: 0.5)

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/integration-types

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

User

Fetch a User by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/users/1?include=teams" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/users/1"
);

const params = {
    "include": "teams",
};
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": "User [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/users/{userId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

userId   integer   

Example: 1

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: teams

Fetch a list of Users with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/users?page=1&pageSize=15&withSoftDeletes=1&include=teams" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/users"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "teams",
};
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."
}
 

Request      

GET api/v1/users

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: teams

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/users/search?page=1&pageSize=15&withSoftDeletes=1&include=teams" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filters\": [
        {
            \"field\": \"name\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"email\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"userId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"pgUserId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"user_id\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"organizationIds\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/users/search"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "teams",
};
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": "email",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "userId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "pgUserId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "user_id",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "organizationIds",
            "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."
}
 

Notification

Fetch a list of Notifications with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/notifications

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\"
        },
        {
            \"field\": \"createdAt\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"data\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"data.settings.type\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"data.settings.level\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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"
        },
        {
            "field": "createdAt",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "data",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "data.settings.type",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "data.settings.level",
            "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."
}
 

Employee field

Create a new Employee field

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": false,
    \"sensitive\": false,
    \"allowNewValue\": true,
    \"observe\": false,
    \"importExcluded\": true,
    \"manualInput\": true,
    \"fieldType\": \"textarea\",
    \"dataType\": \"date\",
    \"maxInput\": 77929.9,
    \"minInput\": 38,
    \"maxLength\": 3948279.0496,
    \"minLength\": 0,
    \"fieldName\": \"ouzmfexms\",
    \"combinedFieldIds\": [
        \"dolor\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": false,
    "sensitive": false,
    "allowNewValue": true,
    "observe": false,
    "importExcluded": true,
    "manualInput": true,
    "fieldType": "textarea",
    "dataType": "date",
    "maxInput": 77929.9,
    "minInput": 38,
    "maxLength": 3948279.0496,
    "minLength": 0,
    "fieldName": "ouzmfexms",
    "combinedFieldIds": [
        "dolor"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/employee-fields

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: combinedFields

Body Parameters

isGlobal   string  optional  
parentId   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean   

Example: true

isMandatory   boolean  optional  

Example: false

salarySensitive   boolean  optional  

Example: false

sensitive   boolean  optional  

Example: false

allowNewValue   boolean  optional  

Example: true

observe   boolean  optional  

Example: false

importExcluded   boolean  optional  

Example: true

manualInput   boolean  optional  

Example: true

fieldType   string   

Example: textarea

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string   

Example: date

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

This field is required when dataType is string. Example: 77929.9

minInput   number  optional  

This field is required when dataType is string. Example: 38

maxLength   number  optional  

Example: 3948279.0496

minLength   number  optional  

Example: 0

fieldName   string   

Must not be greater than 255 characters. Example: ouzmfexms

combinedFieldIds   string[]   

Fetch a Employee field by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/employee-fields/aperiam?include=combinedFields" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/employee-fields/aperiam"
);

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
}
 

Request      

GET api/v1/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fieldId   string   

Example: aperiam

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: combinedFields

Update a Employee field by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/employee-fields/laborum?include=combinedFields" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isShow\": false,
    \"isMandatory\": false,
    \"salarySensitive\": true,
    \"sensitive\": false,
    \"allowNewValue\": false,
    \"observe\": true,
    \"importExcluded\": false,
    \"manualInput\": true,
    \"fieldType\": \"number\",
    \"dataType\": \"decimal\",
    \"maxInput\": 3136.39758984,
    \"minInput\": 6.49888436,
    \"maxLength\": 5082.070454,
    \"minLength\": 3.319063,
    \"combinedFieldIds\": [
        \"blanditiis\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/employee-fields/laborum"
);

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": false,
    "isMandatory": false,
    "salarySensitive": true,
    "sensitive": false,
    "allowNewValue": false,
    "observe": true,
    "importExcluded": false,
    "manualInput": true,
    "fieldType": "number",
    "dataType": "decimal",
    "maxInput": 3136.39758984,
    "minInput": 6.49888436,
    "maxLength": 5082.070454,
    "minLength": 3.319063,
    "combinedFieldIds": [
        "blanditiis"
    ]
};

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
}
 

Request      

PATCH api/v1/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fieldId   string   

Example: laborum

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: combinedFields

Body Parameters

isGlobal   string  optional  
parentId   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: false

isMandatory   boolean  optional  

Example: false

salarySensitive   boolean  optional  

Example: true

sensitive   boolean  optional  

Example: false

allowNewValue   boolean  optional  

Example: false

observe   boolean  optional  

Example: true

importExcluded   boolean  optional  

Example: false

manualInput   boolean  optional  

Example: true

fieldType   string  optional  

Example: number

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: decimal

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

This field is required when dataType is string. Example: 3136.39758984

minInput   number  optional  

This field is required when dataType is string. Example: 6.49888436

maxLength   number  optional  

Example: 5082.070454

minLength   number  optional  

Example: 3.319063

fieldName   string  optional  
combinedFieldIds   string[]   

Delete a Employee field by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/employee-fields/dignissimos?include=combinedFields" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/employee-fields/dignissimos"
);

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
}
 

Request      

DELETE api/v1/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fieldId   string   

Example: dignissimos

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: combinedFields

Fetch a list of Employee fields with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/employee-fields

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: combinedFields

Company field

Create a new Company field

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company-fields?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fieldName\": \"ex\",
    \"autoApproveOnImport\": false
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-fields"
);

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 = {
    "fieldName": "ex",
    "autoApproveOnImport": false
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/company-fields

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

fieldName   string   

Example: ex

autoApproveOnImport   boolean  optional  

Example: false

Batch create new Company fields

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company-fields/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"fieldName\": \"et\",
            \"autoApproveOnImport\": false
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-fields/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": [
        {
            "fieldName": "et",
            "autoApproveOnImport": false
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company-fields/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
fieldName   string   

Example: et

autoApproveOnImport   boolean  optional  

Example: false

Fetch a Company field by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company-fields/quam?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-fields/quam"
);

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": "CompanyField [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/company-fields/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the company field. Example: quam

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Company fields

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/company-fields/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"autoApproveOnImport\": true
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-fields/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": [
        {
            "autoApproveOnImport": true
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/company-fields/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
fieldName   string  optional  
autoApproveOnImport   boolean  optional  

Example: true

Update a Company field by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/company-fields/perspiciatis?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"autoApproveOnImport\": true
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-fields/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 = {
    "autoApproveOnImport": true
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "CompanyField [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/company-fields/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the company field. Example: perspiciatis

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

fieldName   string  optional  
autoApproveOnImport   boolean  optional  

Example: true

Batch delete Company fields by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/company-fields/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"sapiente\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-fields/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": [
        "sapiente"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/company-fields/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Company field by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/company-fields/labore?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-fields/labore"
);

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": "CompanyField [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/company-fields/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the company field. Example: labore

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Company fields with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company-fields?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:8000/api/v1/company-fields"
);

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."
}
 

Request      

GET api/v1/company-fields

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company-fields/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\": \"fieldName\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-fields/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": "fieldName",
            "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."
}
 

Log entity

Fetch a list of Log entities with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/log-entities

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Variable type

Create a new Variable type

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/variable-types?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Fugiat animi alias officiis.\"
}"
const url = new URL(
    "http://localhost:8000/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": "Fugiat animi alias officiis."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/variable-types

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

translations   object  optional  

The data must be a valid translation object.

description   string   

Example: Fugiat animi alias officiis.

Batch create new Variable types

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/variable-types/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"description\": \"Officia quis qui sint sed rerum facere.\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "Officia quis qui sint sed rerum facere."
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/variable-types/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
translations   object  optional  

The data must be a valid translation object.

description   string   

Example: Officia quis qui sint sed rerum facere.

Fetch a Variable type by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/variable-types/repellendus?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/variable-types/repellendus"
);

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
}
 

Request      

GET api/v1/variable-types/{variableTypeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

variableTypeId   string   

Example: repellendus

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Variable types

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/variable-types/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"description\": \"Rem quae et sapiente ex saepe.\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "Rem quae et sapiente ex saepe."
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/variable-types/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
translations   object  optional  

The data must be a valid translation object.

description   string  optional  

Example: Rem quae et sapiente ex saepe.

Update a Variable type by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/variable-types/omnis?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Nesciunt pariatur quod vero fuga.\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/variable-types/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 = {
    "description": "Nesciunt pariatur quod vero fuga."
};

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
}
 

Request      

PATCH api/v1/variable-types/{variableTypeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

variableTypeId   string   

Example: omnis

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

translations   object  optional  

The data must be a valid translation object.

description   string  optional  

Example: Nesciunt pariatur quod vero fuga.

Batch delete Variable types by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/variable-types/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"autem\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "autem"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/variable-types/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Variable type by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/variable-types/non?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/variable-types/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",
};

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
}
 

Request      

DELETE api/v1/variable-types/{variableTypeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

variableTypeId   string   

Example: non

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Variable types with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/variable-types

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Salary rule

Create a new Salary rule

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/salary-rules?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"necessitatibus\",
    \"warning\": \"ad\",
    \"solutionDescription\": \"qui\",
    \"ruleExpression\": [
        {
            \"type\": \"logical\",
            \"payCodeIds\": [
                4
            ],
            \"previous_periods\": 1,
            \"diff_type\": \"real\"
        }
    ],
    \"selections\": [
        {
            \"employeeFieldId\": \"tenetur\",
            \"operator\": \"!=\",
            \"value\": \"quo\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "necessitatibus",
    "warning": "ad",
    "solutionDescription": "qui",
    "ruleExpression": [
        {
            "type": "logical",
            "payCodeIds": [
                4
            ],
            "previous_periods": 1,
            "diff_type": "real"
        }
    ],
    "selections": [
        {
            "employeeFieldId": "tenetur",
            "operator": "!=",
            "value": "quo"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/salary-rules

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

companyId   string  optional  

Example: necessitatibus

selections   object[]  optional  
employeeFieldId   string   

Example: tenetur

operator   string   

Example: !=

Must be one of:
  • =
  • !=
value   string   

Example: quo

warning   string   

Example: ad

solutionDescription   string   

Example: qui

ruleExpression   object[]   

Must have at least 1 items.

type   string   

Example: logical

Must be one of:
  • comparison_operator
  • logical_operator
  • logical
  • logical_missing
  • logical_diff
payCodeIds   integer[]  optional  
previous_periods   integer  optional  

This field is required when ruleExpression.*.type is logical_diff. Must be between 1 and 12. Example: 1

diff_type   string  optional  

This field is required when ruleExpression.*.type is logical_diff. Example: real

Must be one of:
  • real
  • percentage
conditions   object  optional  

This field is required when ruleExpression.*.type is logical or logical_diff. Must have at least 1 items.

Fetch a Salary rule by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/salary-rules/sit?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/salary-rules/sit"
);

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
}
 

Request      

GET api/v1/salary-rules/{salaryRuleId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

salaryRuleId   string   

Example: sit

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Update a Salary rule by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/salary-rules/ut?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"warning\": \"illo\",
    \"solutionDescription\": \"cumque\",
    \"ruleExpression\": [
        {
            \"type\": \"logical_missing\",
            \"payCodeIds\": [
                \"sapiente\"
            ],
            \"previous_periods\": 1,
            \"diff_type\": \"real\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/salary-rules/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",
};

let body = {
    "warning": "illo",
    "solutionDescription": "cumque",
    "ruleExpression": [
        {
            "type": "logical_missing",
            "payCodeIds": [
                "sapiente"
            ],
            "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
}
 

Request      

PATCH api/v1/salary-rules/{salaryRuleId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

salaryRuleId   string   

Example: ut

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

companyId   string  optional  
warning   string  optional  

Example: illo

selections   object  optional  
solutionDescription   string  optional  

Example: cumque

ruleExpression   object[]   

Must have at least 1 items.

type   string   

Example: logical_missing

Must be one of:
  • comparison_operator
  • logical_operator
  • logical
  • logical_missing
  • logical_diff
payCodeIds   string[]  optional  
previous_periods   integer  optional  

This field is required when ruleExpression.*.type is logical_diff. Must be between 1 and 12. Example: 1

diff_type   string  optional  

This field is required when ruleExpression.*.type is logical_diff. Example: real

Must be one of:
  • real
  • percentage
conditions   object  optional  

This field is required when ruleExpression.*.type is logical or logical_diff. Must have at least 1 items.

Delete a Salary rule by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/salary-rules/voluptas?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/salary-rules/voluptas"
);

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
}
 

Request      

DELETE api/v1/salary-rules/{salaryRuleId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

salaryRuleId   string   

Example: voluptas

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Salary rules with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/salary-rules

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Org integrations mapping

Create a new Org integrations mapping

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"suscipit\",
    \"organizationId\": \"sed\",
    \"notes\": \"autem\",
    \"status\": \"active\"
}"
const url = new URL(
    "http://localhost:8000/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": "suscipit",
    "organizationId": "sed",
    "notes": "autem",
    "status": "active"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/org-integrations-mappings

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration,organization

Body Parameters

externalIntegrationId   string   

Example: suscipit

organizationId   string   

Example: sed

notes   string   

Example: autem

status   string   

Example: active

Must be one of:
  • active
  • inactive

Batch create new Org integrations mappings

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"eos\",
            \"organizationId\": \"hic\",
            \"notes\": \"cumque\",
            \"status\": \"active\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "eos",
            "organizationId": "hic",
            "notes": "cumque",
            "status": "active"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/org-integrations-mappings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration,organization

Body Parameters

resources   object[]  optional  
externalIntegrationId   string   

Example: eos

organizationId   string   

Example: hic

notes   string   

Example: cumque

status   string   

Example: active

Must be one of:
  • active
  • inactive

Fetch a Org integrations mapping by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/org-integrations-mappings/qui?include=externalIntegration%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/org-integrations-mappings/qui"
);

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."
}
 

Request      

GET api/v1/org-integrations-mappings/{orgIntegrationsMappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

orgIntegrationsMappingId   string   

Example: qui

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration,organization

Batch update Org integrations mappings

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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\": \"occaecati\",
            \"status\": \"inactive\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "occaecati",
            "status": "inactive"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/org-integrations-mappings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration,organization

Body Parameters

resources   object[]  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
notes   string  optional  

Example: occaecati

status   string  optional  

Example: inactive

Must be one of:
  • active
  • inactive

Update a Org integrations mapping by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/org-integrations-mappings/et?include=externalIntegration%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"notes\": \"sed\",
    \"status\": \"active\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/org-integrations-mappings/et"
);

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": "sed",
    "status": "active"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/org-integrations-mappings/{orgIntegrationsMappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

orgIntegrationsMappingId   string   

Example: et

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration,organization

Body Parameters

externalIntegrationId   string  optional  
organizationId   string  optional  
notes   string  optional  

Example: sed

status   string  optional  

Example: active

Must be one of:
  • active
  • inactive

Batch delete Org integrations mappings by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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\": [
        \"voluptatem\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "voluptatem"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/org-integrations-mappings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration,organization

Body Parameters

resources   string[]  optional  

Delete a Org integrations mapping by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/org-integrations-mappings/quod?include=externalIntegration%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/org-integrations-mappings/quod"
);

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

Request      

DELETE api/v1/org-integrations-mappings/{orgIntegrationsMappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

orgIntegrationsMappingId   string   

Example: quod

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration,organization

Fetch a list of Org integrations mappings with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/org-integrations-mappings

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: externalIntegration,organization

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Field value matrix

Create a new Field value matrix

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-value-matrices?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"quibusdam\",
    \"description\": \"Est sit libero quia veritatis.\",
    \"keyFieldId\": \"recusandae\",
    \"fieldIds\": [
        \"at\"
    ],
    \"companyId\": \"iusto\",
    \"matrixFields\": [
        {
            \"keyFieldValue\": \"non\",
            \"fields\": [
                {
                    \"fieldValue\": \"animi\",
                    \"fieldId\": \"molestiae\"
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "quibusdam",
    "description": "Est sit libero quia veritatis.",
    "keyFieldId": "recusandae",
    "fieldIds": [
        "at"
    ],
    "companyId": "iusto",
    "matrixFields": [
        {
            "keyFieldValue": "non",
            "fields": [
                {
                    "fieldValue": "animi",
                    "fieldId": "molestiae"
                }
            ]
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/field-value-matrices

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

name   string   

Example: quibusdam

description   string   

Example: Est sit libero quia veritatis.

keyFieldId   string   

Example: recusandae

fieldIds   string[]   
matrixFields   object[]  optional  
keyFieldValue   string   

Example: non

fields   object[]  optional  
fieldValue   string   

Example: animi

fieldId   string   

Example: molestiae

companyId   string   

Example: iusto

Fetch a Field value matrix by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/field-value-matrices/quibusdam?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/field-value-matrices/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",
};

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
}
 

Request      

GET api/v1/field-value-matrices/{fieldValueMatrixId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fieldValueMatrixId   string   

Example: quibusdam

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Update a Field value matrix by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/field-value-matrices/est?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"blanditiis\",
    \"description\": \"Et et amet ut dolores.\",
    \"keyFieldId\": \"sed\",
    \"fieldIds\": [
        \"quisquam\"
    ],
    \"matrixFields\": [
        {
            \"keyFieldValue\": \"est\",
            \"fields\": [
                {
                    \"fieldValue\": \"nisi\",
                    \"fieldId\": \"suscipit\"
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-value-matrices/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",
};

let body = {
    "name": "blanditiis",
    "description": "Et et amet ut dolores.",
    "keyFieldId": "sed",
    "fieldIds": [
        "quisquam"
    ],
    "matrixFields": [
        {
            "keyFieldValue": "est",
            "fields": [
                {
                    "fieldValue": "nisi",
                    "fieldId": "suscipit"
                }
            ]
        }
    ]
};

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
}
 

Request      

PATCH api/v1/field-value-matrices/{fieldValueMatrixId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fieldValueMatrixId   string   

Example: est

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

companyId   string  optional  
name   string  optional  

Example: blanditiis

description   string  optional  

Example: Et et amet ut dolores.

keyFieldId   string  optional  

Example: sed

fieldIds   string[]   
matrixFields   object[]  optional  
keyFieldValue   string   

Example: est

fields   object[]  optional  
fieldValue   string   

Example: nisi

fieldId   string   

Example: suscipit

Delete a Field value matrix by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/field-value-matrices/ut?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/field-value-matrices/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: "DELETE",
    headers,
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "FieldValueMatrix [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/field-value-matrices/{fieldValueMatrixId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

fieldValueMatrixId   string   

Example: ut

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Field value matrices with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/field-value-matrices

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Organization

Create a new Organization

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/organizations?include=companies" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"mollitia\",
    \"orgNumber\": \"quibusdam\"
}"
const url = new URL(
    "http://localhost:8000/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": "mollitia",
    "orgNumber": "quibusdam"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/organizations

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies

Body Parameters

name   string   

Example: mollitia

orgNumber   string   

Example: quibusdam

Batch create new Organizations

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/organizations/batch?include=companies" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"vel\",
            \"orgNumber\": \"qui\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "vel",
            "orgNumber": "qui"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/organizations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies

Body Parameters

resources   object[]  optional  
name   string   

Example: vel

orgNumber   string   

Example: qui

Fetch a Organization by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organizations/totam?include=companies" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/organizations/totam"
);

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
}
 

Request      

GET api/v1/organizations/{organizationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: totam

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies

Batch update Organizations

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/organizations/batch?include=companies" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"error\",
            \"orgNumber\": \"aliquid\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "error",
            "orgNumber": "aliquid"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/organizations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies

Body Parameters

resources   object[]  optional  
name   string  optional  

Example: error

orgNumber   string  optional  

Example: aliquid

Update a Organization by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/organizations/porro?include=companies" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"fugit\",
    \"orgNumber\": \"ipsum\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organizations/porro"
);

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": "fugit",
    "orgNumber": "ipsum"
};

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
}
 

Request      

PATCH api/v1/organizations/{organizationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: porro

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies

Body Parameters

name   string  optional  

Example: fugit

orgNumber   string  optional  

Example: ipsum

Batch delete Organizations by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/organizations/batch?include=companies" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"consequatur\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "consequatur"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/organizations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies

Body Parameters

resources   string[]  optional  

Delete a Organization by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/organizations/architecto?include=companies" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/organizations/architecto"
);

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
}
 

Request      

DELETE api/v1/organizations/{organizationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: architecto

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies

Fetch a list of Organizations with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/organizations

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Menu

Create a new Menu

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/menus?include=parent%2Cchildren" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"xbhnmunam\",
    \"icon\": \"yn\",
    \"url\": \"http:\\/\\/www.kuhlman.biz\\/repudiandae-consectetur-voluptas-quia-nostrum-vero-ut-ut.html\",
    \"parentId\": \"commodi\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/menus"
);

const params = {
    "include": "parent,children",
};
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": "xbhnmunam",
    "icon": "yn",
    "url": "http:\/\/www.kuhlman.biz\/repudiandae-consectetur-voluptas-quia-nostrum-vero-ut-ut.html",
    "parentId": "commodi"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/menus

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: parent,children

Body Parameters

name   string   

Must not be greater than 255 characters. Example: xbhnmunam

icon   string   

Must not be greater than 255 characters. Example: yn

url   string   

Must not be greater than 255 characters. Example: http://www.kuhlman.biz/repudiandae-consectetur-voluptas-quia-nostrum-vero-ut-ut.html

parentId   string  optional  

Example: commodi

Batch create new Menus

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/menus/batch?include=parent%2Cchildren" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"bfqgjjhd\",
            \"icon\": \"mg\",
            \"url\": \"https:\\/\\/www.terry.org\\/aut-voluptas-pariatur-non-nihil-et-esse-voluptas\",
            \"parentId\": \"labore\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/menus/batch"
);

const params = {
    "include": "parent,children",
};
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": "bfqgjjhd",
            "icon": "mg",
            "url": "https:\/\/www.terry.org\/aut-voluptas-pariatur-non-nihil-et-esse-voluptas",
            "parentId": "labore"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/menus/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: parent,children

Body Parameters

resources   object[]  optional  
name   string   

Must not be greater than 255 characters. Example: bfqgjjhd

icon   string   

Must not be greater than 255 characters. Example: mg

url   string   

Must not be greater than 255 characters. Example: https://www.terry.org/aut-voluptas-pariatur-non-nihil-et-esse-voluptas

parentId   string  optional  

Example: labore

Fetch a Menu by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/menus/quae?include=parent%2Cchildren" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/menus/quae"
);

const params = {
    "include": "parent,children",
};
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": "Menu [id] does not exist.",
    "status": 404
}
 

Request      

GET api/v1/menus/{menuId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

menuId   string   

Example: quae

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: parent,children

Batch update Menus

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/menus/batch?include=parent%2Cchildren" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"name\": \"vylgbrbvbxgxswfzkugglx\",
            \"icon\": \"jetuofnyy\",
            \"url\": \"http:\\/\\/tremblay.info\\/debitis-dolores-provident-expedita-earum-debitis-quae.html\",
            \"parentId\": \"eveniet\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/menus/batch"
);

const params = {
    "include": "parent,children",
};
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": "vylgbrbvbxgxswfzkugglx",
            "icon": "jetuofnyy",
            "url": "http:\/\/tremblay.info\/debitis-dolores-provident-expedita-earum-debitis-quae.html",
            "parentId": "eveniet"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/menus/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: parent,children

Body Parameters

resources   object[]  optional  
name   string  optional  

Must not be greater than 255 characters. Example: vylgbrbvbxgxswfzkugglx

icon   string  optional  

Must not be greater than 255 characters. Example: jetuofnyy

url   string  optional  

Must not be greater than 255 characters. Example: http://tremblay.info/debitis-dolores-provident-expedita-earum-debitis-quae.html

parentId   string  optional  

Example: eveniet

Update a Menu by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/menus/dolores?include=parent%2Cchildren" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"ycyoo\",
    \"icon\": \"oszdbbgabkzeitjque\",
    \"url\": \"http:\\/\\/hilpert.info\\/nisi-animi-aperiam-ipsum-explicabo-sint.html\",
    \"parentId\": \"ad\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/menus/dolores"
);

const params = {
    "include": "parent,children",
};
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": "ycyoo",
    "icon": "oszdbbgabkzeitjque",
    "url": "http:\/\/hilpert.info\/nisi-animi-aperiam-ipsum-explicabo-sint.html",
    "parentId": "ad"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "Menu [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/menus/{menuId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

menuId   string   

Example: dolores

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: parent,children

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: ycyoo

icon   string  optional  

Must not be greater than 255 characters. Example: oszdbbgabkzeitjque

url   string  optional  

Must not be greater than 255 characters. Example: http://hilpert.info/nisi-animi-aperiam-ipsum-explicabo-sint.html

parentId   string  optional  

Example: ad

Batch delete Menus by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/menus/batch?include=parent%2Cchildren" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"illo\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/menus/batch"
);

const params = {
    "include": "parent,children",
};
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": [
        "illo"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/menus/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: parent,children

Body Parameters

resources   string[]  optional  

Delete a Menu by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/menus/ipsum?include=parent%2Cchildren" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/menus/ipsum"
);

const params = {
    "include": "parent,children",
};
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": "Menu [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/menus/{menuId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

menuId   string   

Example: ipsum

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: parent,children

Fetch a list of Menus with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/menus?page=1&pageSize=15&withSoftDeletes=1&include=parent%2Cchildren" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/menus"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "parent,children",
};
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."
}
 

Request      

GET api/v1/menus

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: parent,children

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/menus/search?page=1&pageSize=15&withSoftDeletes=1&include=parent%2Cchildren" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filters\": [
        {
            \"field\": \"name\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"icon\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"url\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"parentId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/menus/search"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "parent,children",
};
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": "icon",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "url",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "parentId",
            "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."
}
 

Company field map

Create a new Company field map

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company-field-maps?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalCompanyFieldId\": \"suscipit\",
    \"companyFieldId\": \"impedit\",
    \"companyId\": \"aut\",
    \"externalIntegrationId\": \"quia\"
}"
const url = new URL(
    "http://localhost:8000/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": "suscipit",
    "companyFieldId": "impedit",
    "companyId": "aut",
    "externalIntegrationId": "quia"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/company-field-maps

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

externalCompanyFieldId   string   

Example: suscipit

companyFieldId   string   

Example: impedit

companyId   string  optional  

Example: aut

externalIntegrationId   string   

Example: quia

Batch create new Company field maps

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"illum\",
            \"companyFieldId\": \"quis\",
            \"companyId\": \"voluptate\",
            \"externalIntegrationId\": \"omnis\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "illum",
            "companyFieldId": "quis",
            "companyId": "voluptate",
            "externalIntegrationId": "omnis"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company-field-maps/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   object[]  optional  
externalCompanyFieldId   string   

Example: illum

companyFieldId   string   

Example: quis

companyId   string  optional  

Example: voluptate

externalIntegrationId   string   

Example: omnis

Fetch a Company field map by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company-field-maps/assumenda?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-field-maps/assumenda"
);

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
}
 

Request      

GET api/v1/company-field-maps/{companyFieldMapId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyFieldMapId   string   

Example: assumenda

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Batch update Company field maps

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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\": \"optio\",
            \"companyId\": \"voluptatem\",
            \"externalIntegrationId\": \"dicta\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "optio",
            "companyId": "voluptatem",
            "externalIntegrationId": "dicta"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/company-field-maps/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   object[]  optional  
externalCompanyFieldId   string   

Example: similique

companyFieldId   string   

Example: optio

companyId   string  optional  

Example: voluptatem

externalIntegrationId   string  optional  

Example: dicta

Update a Company field map by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/company-field-maps/voluptate?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalCompanyFieldId\": \"ut\",
    \"companyFieldId\": \"quos\",
    \"companyId\": \"saepe\",
    \"externalIntegrationId\": \"molestias\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-field-maps/voluptate"
);

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": "ut",
    "companyFieldId": "quos",
    "companyId": "saepe",
    "externalIntegrationId": "molestias"
};

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
}
 

Request      

PATCH api/v1/company-field-maps/{companyFieldMapId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyFieldMapId   string   

Example: voluptate

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

externalCompanyFieldId   string   

Example: ut

companyFieldId   string   

Example: quos

companyId   string  optional  

Example: saepe

externalIntegrationId   string  optional  

Example: molestias

Batch delete Company field maps by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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\": [
        \"illo\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "illo"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/company-field-maps/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   string[]  optional  

Delete a Company field map by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/company-field-maps/aliquid?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-field-maps/aliquid"
);

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
}
 

Request      

DELETE api/v1/company-field-maps/{companyFieldMapId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyFieldMapId   string   

Example: aliquid

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Fetch a list of Company field maps with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/company-field-maps

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Pay code variable

Create a new Pay code variable

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/pay-code-variables?include=variableType" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"variableTypeId\": \"quis\"
}"
const url = new URL(
    "http://localhost:8000/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": "quis"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/pay-code-variables

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: variableType

Body Parameters

translations   object  optional  

The data must be a valid translation object.

variableTypeId   string   

Example: quis

Batch create new Pay code variables

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"iusto\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "iusto"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/pay-code-variables/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: variableType

Body Parameters

resources   object[]  optional  
translations   object  optional  

The data must be a valid translation object.

variableTypeId   string   

Example: iusto

Fetch a Pay code variable by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/pay-code-variables/cumque?include=variableType" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pay-code-variables/cumque"
);

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
}
 

Request      

GET api/v1/pay-code-variables/{payCodeVariableId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeVariableId   string   

Example: cumque

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: variableType

Batch update Pay code variables

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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:8000/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());

Request      

PATCH api/v1/pay-code-variables/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: variableType

Body Parameters

resources   object[]  optional  
translations   object  optional  

The data must be a valid translation object.

variableTypeId   string  optional  

Update a Pay code variable by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/pay-code-variables/qui?include=variableType" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/api/v1/pay-code-variables/qui"
);

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
}
 

Request      

PATCH api/v1/pay-code-variables/{payCodeVariableId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeVariableId   string   

Example: qui

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: variableType

Body Parameters

translations   object  optional  

The data must be a valid translation object.

variableTypeId   string  optional  

Batch delete Pay code variables by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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\": [
        \"eius\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "eius"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/pay-code-variables/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: variableType

Body Parameters

resources   string[]  optional  

Delete a Pay code variable by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/pay-code-variables/aut?include=variableType" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pay-code-variables/aut"
);

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
}
 

Request      

DELETE api/v1/pay-code-variables/{payCodeVariableId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeVariableId   string   

Example: aut

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: variableType

Fetch a list of Pay code variables with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/pay-code-variables

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: variableType

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Pay code type

Create a new Pay code type

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/pay-code-types?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payCodeTypeNumber\": 0.1
}"
const url = new URL(
    "http://localhost:8000/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": 0.1
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/pay-code-types

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

payCodeTypeNumber   number   

Example: 0.1

translations   object  optional  

The data must be a valid translation object.

Batch create new Pay code types

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": 68821533
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": 68821533
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/pay-code-types/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
payCodeTypeNumber   number   

Example: 68821533

translations   object  optional  

The data must be a valid translation object.

Fetch a Pay code type by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/pay-code-types/deserunt?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pay-code-types/deserunt"
);

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
}
 

Request      

GET api/v1/pay-code-types/{payCodeTypeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeTypeId   string   

Example: deserunt

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Pay code types

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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\": 17.4
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": 17.4
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/pay-code-types/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
payCodeTypeNumber   number  optional  

Example: 17.4

translations   object  optional  

The data must be a valid translation object.

Update a Pay code type by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/pay-code-types/facilis?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payCodeTypeNumber\": 1143.849294312
}"
const url = new URL(
    "http://localhost:8000/api/v1/pay-code-types/facilis"
);

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": 1143.849294312
};

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
}
 

Request      

PATCH api/v1/pay-code-types/{payCodeTypeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeTypeId   string   

Example: facilis

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

payCodeTypeNumber   number  optional  

Example: 1143.849294312

translations   object  optional  

The data must be a valid translation object.

Batch delete Pay code types by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/pay-code-types/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"perferendis\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "perferendis"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/pay-code-types/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Pay code type by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/pay-code-types/repellat?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pay-code-types/repellat"
);

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
}
 

Request      

DELETE api/v1/pay-code-types/{payCodeTypeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeTypeId   string   

Example: repellat

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Pay code types with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/pay-code-types

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Pay code mapping

Create a new Pay code mapping

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/pay-code-mappings?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"omnis\",
    \"organizationId\": \"temporibus\",
    \"isGlobal\": true,
    \"isGroup\": false,
    \"notes\": \"sint\"
}"
const url = new URL(
    "http://localhost:8000/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": "omnis",
    "organizationId": "temporibus",
    "isGlobal": true,
    "isGroup": false,
    "notes": "sint"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/pay-code-mappings

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

whiteListedPayCodeIds   object  optional  
companyId   string  optional  

This field is required when organizationId is not present. Example: omnis

organizationId   string  optional  

This field is required when companyId is not present. Example: temporibus

isGlobal   boolean   

Example: true

isGroup   boolean   

Example: false

mappings   string[]  optional  
payCodeId   string   

Example: non

companyPayCodeId   string   

Example: omnis

notes   string  optional  

Example: cum

notes   string  optional  

Example: sint

Batch create new Pay code mappings

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"est\",
            \"organizationId\": \"nesciunt\",
            \"isGlobal\": true,
            \"isGroup\": true,
            \"mappings\": [],
            \"notes\": \"et\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "est",
            "organizationId": "nesciunt",
            "isGlobal": true,
            "isGroup": true,
            "mappings": [],
            "notes": "et"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/pay-code-mappings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   object[]  optional  
whiteListedPayCodeIds   object  optional  
companyId   string  optional  

This field is required when resources.*.organizationId is not present. Example: est

organizationId   string  optional  

This field is required when resources.*.companyId is not present. Example: nesciunt

isGlobal   boolean   

Example: true

isGroup   boolean   

Example: true

mappings   object   
notes   string  optional  

Example: et

Fetch a Pay code mapping by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/pay-code-mappings/a?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pay-code-mappings/a"
);

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
}
 

Request      

GET api/v1/pay-code-mappings/{mappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mappingId   string   

Example: a

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Batch update Pay code mappings

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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\": \"cumque\",
            \"status\": \"active\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "cumque",
            "status": "active"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/pay-code-mappings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   object[]  optional  
whiteListedPayCodeIds   object  optional  
companyId   string  optional  
organizationId   string  optional  
isGlobal   boolean  optional  

Example: false

isGroup   boolean  optional  

Example: false

mappings   object  optional  
notes   string  optional  

Example: cumque

status   string  optional  

Example: active

Must be one of:
  • active
  • inactive

Update a Pay code mapping by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/pay-code-mappings/ex?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isGlobal\": false,
    \"isGroup\": true,
    \"notes\": \"qui\",
    \"status\": \"inactive\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/pay-code-mappings/ex"
);

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": true,
    "notes": "qui",
    "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
}
 

Request      

PATCH api/v1/pay-code-mappings/{mappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mappingId   string   

Example: ex

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

whiteListedPayCodeIds   object  optional  
companyId   string  optional  
organizationId   string  optional  
isGlobal   boolean  optional  

Example: false

isGroup   boolean  optional  

Example: true

mappings   string[]  optional  
payCodeId   string   

Example: est

companyPayCodeId   string   

Example: ipsam

notes   string  optional  

Example: dolore

notes   string  optional  

Example: qui

status   string  optional  

Example: inactive

Must be one of:
  • active
  • inactive

Batch delete Pay code mappings by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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\": [
        \"animi\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "animi"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/pay-code-mappings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   string[]  optional  

Delete a Pay code mapping by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/pay-code-mappings/facilis?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pay-code-mappings/facilis"
);

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
}
 

Request      

DELETE api/v1/pay-code-mappings/{mappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mappingId   string   

Example: facilis

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Fetch a list of Pay code mappings with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/pay-code-mappings

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Company

Create a new Company

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies?include=companies%2CfieldMaps%2CcompanyIntegration%2CcompanyIntegration.externalIntegration%2CparentCompany%2CdefaultGridView%2Ccountry%2Cteams%2CcustomerTypes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"customerTypeIds\": [
        \"deserunt\"
    ],
    \"autoApproveOnImport\": false
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies"
);

const params = {
    "include": "companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes",
};
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 = {
    "customerTypeIds": [
        "deserunt"
    ],
    "autoApproveOnImport": false
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/companies

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes

Body Parameters

fields   string[]  optional  
companyId   string  optional  
importedAt   string  optional  
parentCompanyId   string  optional  
organizationId   string  optional  
countryId   string  optional  
customerTypeIds   string[]   
autoApproveOnImport   boolean  optional  

Example: false

Batch create new Companies

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/batch?include=companies%2CfieldMaps%2CcompanyIntegration%2CcompanyIntegration.externalIntegration%2CparentCompany%2CdefaultGridView%2Ccountry%2Cteams%2CcustomerTypes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"autoApproveOnImport\": false
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/batch"
);

const params = {
    "include": "companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes",
};
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": [
        {
            "autoApproveOnImport": false
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/companies/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes

Body Parameters

resources   object[]  optional  
fields   object  optional  
companyId   string  optional  
importedAt   string  optional  
parentCompanyId   string  optional  
organizationId   string  optional  
countryId   string  optional  
customerTypeIds   object  optional  
autoApproveOnImport   boolean  optional  

Example: false

Fetch a Company by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/companies/quidem?include=companies%2CfieldMaps%2CcompanyIntegration%2CcompanyIntegration.externalIntegration%2CparentCompany%2CdefaultGridView%2Ccountry%2Cteams%2CcustomerTypes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/companies/quidem"
);

const params = {
    "include": "companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes",
};
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
}
 

Request      

GET api/v1/companies/{companyId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: quidem

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes

Batch update Companies

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/companies/batch?include=companies%2CfieldMaps%2CcompanyIntegration%2CcompanyIntegration.externalIntegration%2CparentCompany%2CdefaultGridView%2Ccountry%2Cteams%2CcustomerTypes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"autoApproveOnImport\": false
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/batch"
);

const params = {
    "include": "companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes",
};
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": [
        {
            "autoApproveOnImport": false
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/companies/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes

Body Parameters

resources   object[]  optional  
fields   string  optional  
companyId   string  optional  
importedAt   string  optional  
parentCompanyId   string  optional  
organizationId   string  optional  
countryId   string  optional  
customerTypeIds   object  optional  
autoApproveOnImport   boolean  optional  

Example: false

Update a Company by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/companies/eos?include=companies%2CfieldMaps%2CcompanyIntegration%2CcompanyIntegration.externalIntegration%2CparentCompany%2CdefaultGridView%2Ccountry%2Cteams%2CcustomerTypes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"customerTypeIds\": [
        \"expedita\"
    ],
    \"autoApproveOnImport\": true
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/eos"
);

const params = {
    "include": "companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes",
};
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 = {
    "customerTypeIds": [
        "expedita"
    ],
    "autoApproveOnImport": true
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "Company [id] does not exist.",
    "status": 404
}
 

Request      

PATCH api/v1/companies/{companyId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: eos

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes

Body Parameters

fields   string  optional  
companyId   string  optional  
importedAt   string  optional  
parentCompanyId   string  optional  
organizationId   string  optional  
countryId   string  optional  
customerTypeIds   string[]  optional  
autoApproveOnImport   boolean  optional  

Example: true

Batch delete Companies by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/companies/batch?include=companies%2CfieldMaps%2CcompanyIntegration%2CcompanyIntegration.externalIntegration%2CparentCompany%2CdefaultGridView%2Ccountry%2Cteams%2CcustomerTypes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"sit\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/batch"
);

const params = {
    "include": "companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes",
};
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());

Request      

DELETE api/v1/companies/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes

Body Parameters

resources   string[]  optional  

Delete a Company by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/companies/id?include=companies%2CfieldMaps%2CcompanyIntegration%2CcompanyIntegration.externalIntegration%2CparentCompany%2CdefaultGridView%2Ccountry%2Cteams%2CcustomerTypes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/companies/id"
);

const params = {
    "include": "companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes",
};
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
}
 

Request      

DELETE api/v1/companies/{companyId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: id

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes

Fetch a list of Companies with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/companies?page=1&pageSize=15&withSoftDeletes=1&include=companies%2CfieldMaps%2CcompanyIntegration%2CcompanyIntegration.externalIntegration%2CparentCompany%2CdefaultGridView%2Ccountry%2Cteams%2CcustomerTypes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/companies"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes",
};
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."
}
 

Request      

GET api/v1/companies

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/search?page=1&pageSize=15&withSoftDeletes=1&include=companies%2CfieldMaps%2CcompanyIntegration%2CcompanyIntegration.externalIntegration%2CparentCompany%2CdefaultGridView%2Ccountry%2Cteams%2CcustomerTypes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filters\": [
        {
            \"field\": \"companyId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"importedAt\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"parentCompanyId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"organizationId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"externalId\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"companyId\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/search"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes",
};
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": "importedAt",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "parentCompanyId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "organizationId",
            "operator": "=",
            "value": "value"
        }
    ],
    "sort": [
        {
            "field": "externalId",
            "direction": "asc"
        },
        {
            "field": "companyId",
            "direction": "asc"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Company integrations mapping

Create a new Company integrations mapping

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company-integrations-mappings?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalIntegrationId\": \"tempora\",
    \"companyId\": \"ipsa\",
    \"notes\": \"labore\",
    \"status\": \"inactive\"
}"
const url = new URL(
    "http://localhost:8000/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": "tempora",
    "companyId": "ipsa",
    "notes": "labore",
    "status": "inactive"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company-integrations-mappings

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

externalIntegrationId   string   

Example: tempora

companyId   string   

Example: ipsa

notes   string   

Example: labore

status   string   

Example: inactive

Must be one of:
  • active
  • inactive

Batch create new Company integrations mappings

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"tenetur\",
            \"companyId\": \"porro\",
            \"notes\": \"voluptatem\",
            \"status\": \"inactive\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "tenetur",
            "companyId": "porro",
            "notes": "voluptatem",
            "status": "inactive"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company-integrations-mappings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   object[]  optional  
externalIntegrationId   string   

Example: tenetur

companyId   string   

Example: porro

notes   string   

Example: voluptatem

status   string   

Example: inactive

Must be one of:
  • active
  • inactive

Fetch a Company integrations mapping by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company-integrations-mappings/voluptatum?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-integrations-mappings/voluptatum"
);

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."
}
 

Request      

GET api/v1/company-integrations-mappings/{companyIntegrationsMappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyIntegrationsMappingId   string   

Example: voluptatum

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Batch update Company integrations mappings

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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\": \"aliquam\",
            \"status\": \"inactive\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "aliquam",
            "status": "inactive"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/company-integrations-mappings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   object[]  optional  
externalIntegrationId   string  optional  
companyId   string  optional  
notes   string  optional  

Example: aliquam

status   string  optional  

Example: inactive

Must be one of:
  • active
  • inactive

Update a Company integrations mapping by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/company-integrations-mappings/alias?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"notes\": \"quidem\",
    \"status\": \"active\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-integrations-mappings/alias"
);

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": "quidem",
    "status": "active"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/company-integrations-mappings/{companyIntegrationsMappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyIntegrationsMappingId   string   

Example: alias

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

externalIntegrationId   string  optional  
companyId   string  optional  
notes   string  optional  

Example: quidem

status   string  optional  

Example: active

Must be one of:
  • active
  • inactive

Batch delete Company integrations mappings by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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\": [
        \"fuga\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "fuga"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/company-integrations-mappings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   string[]  optional  

Delete a Company integrations mapping by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/company-integrations-mappings/expedita?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-integrations-mappings/expedita"
);

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

Request      

DELETE api/v1/company-integrations-mappings/{companyIntegrationsMappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyIntegrationsMappingId   string   

Example: expedita

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Fetch a list of Company integrations mappings with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/company-integrations-mappings

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Company settings

Create a new Company settings

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company-settings?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"defaultLocale\": \"ha_SD\",
    \"defaultProfile\": \"aperiam\",
    \"activeProfile\": \"provident\",
    \"companyId\": \"qui\",
    \"organizationId\": \"aliquid\",
    \"organisationNumber\": \"magnam\"
}"
const url = new URL(
    "http://localhost:8000/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": "ha_SD",
    "defaultProfile": "aperiam",
    "activeProfile": "provident",
    "companyId": "qui",
    "organizationId": "aliquid",
    "organisationNumber": "magnam"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/company-settings

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

defaultLocale   string  optional  

Example: ha_SD

defaultProfile   string  optional  

Example: aperiam

activeProfile   string  optional  

Example: provident

companyId   string  optional  

This field is required when organizationId is not present. Example: qui

organizationId   string  optional  

This field is required when companyId is not present. Example: aliquid

organisationNumber   string  optional  

Example: magnam

Batch create new Company settings

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"de_DE\",
            \"defaultProfile\": \"nostrum\",
            \"activeProfile\": \"vel\",
            \"companyId\": \"impedit\",
            \"organizationId\": \"eum\",
            \"organisationNumber\": \"blanditiis\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "de_DE",
            "defaultProfile": "nostrum",
            "activeProfile": "vel",
            "companyId": "impedit",
            "organizationId": "eum",
            "organisationNumber": "blanditiis"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company-settings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   object[]  optional  
defaultLocale   string  optional  

Example: de_DE

defaultProfile   string  optional  

Example: nostrum

activeProfile   string  optional  

Example: vel

companyId   string  optional  

This field is required when resources.*.organizationId is not present. Example: impedit

organizationId   string  optional  

This field is required when resources.*.companyId is not present. Example: eum

organisationNumber   string  optional  

Example: blanditiis

Fetch a Company settings by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company-settings/nulla?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-settings/nulla"
);

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
}
 

Request      

GET api/v1/company-settings/{companySettingsId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companySettingsId   string   

Example: nulla

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Batch update Company settings

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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\": \"ja_JP\",
            \"defaultProfile\": \"architecto\",
            \"activeProfile\": \"rerum\",
            \"organisationNumber\": \"hic\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "ja_JP",
            "defaultProfile": "architecto",
            "activeProfile": "rerum",
            "organisationNumber": "hic"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/company-settings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   object[]  optional  
defaultLocale   string  optional  

Example: ja_JP

defaultProfile   string  optional  

Example: architecto

activeProfile   string  optional  

Example: rerum

companyId   string  optional  
organizationId   string  optional  
organisationNumber   string  optional  

Example: hic

Update a Company settings by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/company-settings/sed?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"defaultLocale\": \"es_UY\",
    \"defaultProfile\": \"maiores\",
    \"activeProfile\": \"reprehenderit\",
    \"organisationNumber\": \"libero\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-settings/sed"
);

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_UY",
    "defaultProfile": "maiores",
    "activeProfile": "reprehenderit",
    "organisationNumber": "libero"
};

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
}
 

Request      

PATCH api/v1/company-settings/{companySettingsId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companySettingsId   string   

Example: sed

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

defaultLocale   string  optional  

Example: es_UY

defaultProfile   string  optional  

Example: maiores

activeProfile   string  optional  

Example: reprehenderit

companyId   string  optional  
organizationId   string  optional  
organisationNumber   string  optional  

Example: libero

Batch delete Company settings by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/company-settings/batch?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"mollitia\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "mollitia"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/company-settings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

resources   string[]  optional  

Delete a Company settings by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/company-settings/cupiditate?include=company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"sit\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company-settings/cupiditate"
);

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": "sit"
};

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
}
 

Request      

DELETE api/v1/company-settings/{companySettingsId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companySettingsId   string   

Example: cupiditate

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

Body Parameters

companyId   string   

Example: sit

Fetch a list of Company settings with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/company-settings

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Pay code group

Create a new Pay code group

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": 78210.03829,
    \"payCodeVariableIds\": [
        \"vitae\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": 78210.03829,
    "payCodeVariableIds": [
        "vitae"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/pay-code-groups

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeVariables,payCodeVariables.variableType

Body Parameters

translations   object  optional  

The data must be a valid translation object.

payCodeGroupNumber   number   

Example: 78210.03829

payCodeGroupId   string  optional  
payCodeVariableIds   string[]   

Batch create new Pay code groups

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": 641600792.1,
            \"payCodeVariableIds\": []
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": 641600792.1,
            "payCodeVariableIds": []
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/pay-code-groups/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeVariables,payCodeVariables.variableType

Body Parameters

resources   object[]  optional  
translations   object  optional  

The data must be a valid translation object.

payCodeGroupNumber   number   

Example: 641600792.1

payCodeGroupId   string  optional  
payCodeVariableIds   object   

Fetch a Pay code group by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/pay-code-groups/nesciunt?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:8000/api/v1/pay-code-groups/nesciunt"
);

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
}
 

Request      

GET api/v1/pay-code-groups/{payCodeGroupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeGroupId   string   

Example: nesciunt

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeVariables,payCodeVariables.variableType

Batch update Pay code groups

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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\": 0.5529983
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": 0.5529983
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/pay-code-groups/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeVariables,payCodeVariables.variableType

Body Parameters

resources   object[]  optional  
translations   object  optional  

The data must be a valid translation object.

payCodeGroupNumber   number  optional  

Example: 0.5529983

payCodeGroupId   string  optional  
payCodeVariableIds   object  optional  

Update a Pay code group by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/pay-code-groups/molestias?include=payCodeVariables%2CpayCodeVariables.variableType" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payCodeGroupNumber\": 104907.392218237,
    \"payCodeVariableIds\": [
        \"minima\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/pay-code-groups/molestias"
);

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": 104907.392218237,
    "payCodeVariableIds": [
        "minima"
    ]
};

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
}
 

Request      

PATCH api/v1/pay-code-groups/{payCodeGroupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeGroupId   string   

Example: molestias

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeVariables,payCodeVariables.variableType

Body Parameters

translations   object  optional  

The data must be a valid translation object.

payCodeGroupNumber   number  optional  

Example: 104907.39221824

payCodeGroupId   string  optional  
payCodeVariableIds   string[]  optional  

Batch delete Pay code groups by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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\": [
        \"reprehenderit\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "reprehenderit"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/pay-code-groups/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeVariables,payCodeVariables.variableType

Body Parameters

resources   string[]  optional  

Delete a Pay code group by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/pay-code-groups/qui?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:8000/api/v1/pay-code-groups/qui"
);

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
}
 

Request      

DELETE api/v1/pay-code-groups/{payCodeGroupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeGroupId   string   

Example: qui

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeVariables,payCodeVariables.variableType

Fetch a list of Pay code groups with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/pay-code-groups

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeVariables,payCodeVariables.variableType

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

External integration

Batch create new External integrations

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/external-integrations/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://localhost:8000/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",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/external-integrations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  

Fetch a External integration by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/external-integrations/eos?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/external-integrations/eos"
);

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
}
 

Request      

GET api/v1/external-integrations/{externalIntegrationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

externalIntegrationId   string   

Example: eos

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update External integrations

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/external-integrations/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"description\": \"Eos aut a asperiores rerum voluptas.\",
            \"status\": \"active\",
            \"integrationTypeId\": \"temporibus\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "Eos aut a asperiores rerum voluptas.",
            "status": "active",
            "integrationTypeId": "temporibus"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/external-integrations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
integrationName   string  optional  
description   string  optional  

Example: Eos aut a asperiores rerum voluptas.

status   string  optional  

Example: active

Must be one of:
  • active
  • inactive
integrationTypeId   string  optional  

Example: temporibus

Update a External integration by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/external-integrations/a?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Incidunt impedit non unde a qui.\",
    \"status\": \"active\",
    \"integrationTypeId\": \"nostrum\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integrations/a"
);

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": "Incidunt impedit non unde a qui.",
    "status": "active",
    "integrationTypeId": "nostrum"
};

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
}
 

Request      

PATCH api/v1/external-integrations/{externalIntegrationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

externalIntegrationId   string   

Example: a

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

integrationName   string  optional  
description   string  optional  

Example: Incidunt impedit non unde a qui.

status   string  optional  

Example: active

Must be one of:
  • active
  • inactive
integrationTypeId   string  optional  

Example: nostrum

Batch delete External integrations by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/external-integrations/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"quibusdam\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "quibusdam"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/external-integrations/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a External integration by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/external-integrations/fugiat?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/external-integrations/fugiat"
);

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
}
 

Request      

DELETE api/v1/external-integrations/{externalIntegrationId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

externalIntegrationId   string   

Example: fugiat

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of External integrations with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/external-integrations

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Pay code

Create a new Pay code

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"et\",
    \"integrationId\": \"error\",
    \"organizationId\": \"qui\",
    \"payCodeNumber\": 450277.6422224,
    \"payCodeGroupId\": \"nobis\",
    \"payCodeTypeId\": \"sapiente\",
    \"payCodeVariableIds\": [
        \"et\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "et",
    "integrationId": "error",
    "organizationId": "qui",
    "payCodeNumber": 450277.6422224,
    "payCodeGroupId": "nobis",
    "payCodeTypeId": "sapiente",
    "payCodeVariableIds": [
        "et"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/pay-codes

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType

Body Parameters

companyId   string  optional  

Example: et

integrationId   string  optional  

Example: error

organizationId   string  optional  

Example: qui

translations   object  optional  

The data must be a valid translation object.

payCodeNumber   number   

Example: 450277.6422224

payCodeId   string  optional  
payCodeGroupId   string   

Example: nobis

payCodeTypeId   string   

Example: sapiente

payCodeVariableIds   string[]   

Batch create new Pay codes

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"nihil\",
            \"integrationId\": \"dolor\",
            \"organizationId\": \"quod\",
            \"payCodeNumber\": 81.8501,
            \"payCodeGroupId\": \"quia\",
            \"payCodeTypeId\": \"saepe\",
            \"payCodeVariableIds\": []
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "nihil",
            "integrationId": "dolor",
            "organizationId": "quod",
            "payCodeNumber": 81.8501,
            "payCodeGroupId": "quia",
            "payCodeTypeId": "saepe",
            "payCodeVariableIds": []
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/pay-codes/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType

Body Parameters

resources   object[]  optional  
companyId   string  optional  

Example: nihil

integrationId   string  optional  

Example: dolor

organizationId   string  optional  

Example: quod

translations   object  optional  

The data must be a valid translation object.

payCodeNumber   number   

Example: 81.8501

payCodeId   string  optional  
payCodeGroupId   string   

Example: quia

payCodeTypeId   string   

Example: saepe

payCodeVariableIds   object   

Fetch a Pay code by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/pay-codes/odio?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:8000/api/v1/pay-codes/odio"
);

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
}
 

Request      

GET api/v1/pay-codes/{payCodeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeId   string   

Example: odio

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType

Batch update Pay codes

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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\": 82,
            \"payCodeGroupId\": \"voluptatibus\",
            \"payCodeTypeId\": \"quia\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": 82,
            "payCodeGroupId": "voluptatibus",
            "payCodeTypeId": "quia"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/pay-codes/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType

Body Parameters

resources   object[]  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

payCodeNumber   number  optional  

Example: 82

payCodeId   string  optional  
payCodeGroupId   string  optional  

Example: voluptatibus

payCodeTypeId   string  optional  

Example: quia

payCodeVariableIds   object  optional  

Update a Pay code by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/pay-codes/sunt?include=payCodeGroup%2CpayCodeType%2CpayCodeVariables%2CpayCodeVariables.variableType" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payCodeNumber\": 5895.620492145,
    \"payCodeGroupId\": \"nesciunt\",
    \"payCodeTypeId\": \"maiores\",
    \"payCodeVariableIds\": [
        \"harum\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/pay-codes/sunt"
);

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": 5895.620492145,
    "payCodeGroupId": "nesciunt",
    "payCodeTypeId": "maiores",
    "payCodeVariableIds": [
        "harum"
    ]
};

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
}
 

Request      

PATCH api/v1/pay-codes/{payCodeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeId   string   

Example: sunt

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType

Body Parameters

companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

payCodeNumber   number  optional  

Example: 5895.620492145

payCodeId   string  optional  
payCodeGroupId   string  optional  

Example: nesciunt

payCodeTypeId   string  optional  

Example: maiores

payCodeVariableIds   string[]  optional  

Batch delete Pay codes by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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\": [
        \"et\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "et"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/pay-codes/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType

Body Parameters

resources   string[]  optional  

Delete a Pay code by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/pay-codes/blanditiis?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:8000/api/v1/pay-codes/blanditiis"
);

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
}
 

Request      

DELETE api/v1/pay-codes/{payCodeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payCodeId   string   

Example: blanditiis

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType

Fetch a list of Pay codes with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/pay-codes

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: payCodeGroup,payCodeType,payCodeVariables,payCodeVariables.variableType

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Personal card profile

Create a new Personal card profile

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/personal-card-profiles?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"praesentium\",
    \"tabs\": [
        {
            \"order\": 5729070.7,
            \"personalCardProfileTabId\": \"quibusdam\",
            \"grids\": [
                {
                    \"order\": 2097959.334,
                    \"personalCardProfileTabGridId\": \"vel\",
                    \"fieldGroupId\": \"ipsum\",
                    \"fields\": [
                        {
                            \"order\": 330554.6,
                            \"fieldId\": \"optio\"
                        }
                    ]
                }
            ]
        }
    ],
    \"description\": \"Saepe eum totam qui quo temporibus.\",
    \"isGlobal\": \"iste\",
    \"roleIds\": [
        12
    ],
    \"companyId\": \"sapiente\"
}"
const url = new URL(
    "http://localhost:8000/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": "praesentium",
    "tabs": [
        {
            "order": 5729070.7,
            "personalCardProfileTabId": "quibusdam",
            "grids": [
                {
                    "order": 2097959.334,
                    "personalCardProfileTabGridId": "vel",
                    "fieldGroupId": "ipsum",
                    "fields": [
                        {
                            "order": 330554.6,
                            "fieldId": "optio"
                        }
                    ]
                }
            ]
        }
    ],
    "description": "Saepe eum totam qui quo temporibus.",
    "isGlobal": "iste",
    "roleIds": [
        12
    ],
    "companyId": "sapiente"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/personal-card-profiles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

name   string   

Example: praesentium

tabs   object[]   
order   number   

Example: 5729070.7

personalCardProfileTabId   string   

Example: quibusdam

grids   object[]   
order   number   

Example: 2097959.334

personalCardProfileTabGridId   string   

Example: vel

fieldGroupId   string  optional  

This field is required when tabs..grids..fields is not present. Example: ipsum

fields   object[]   
order   number   

Example: 330554.6

fieldId   string   

Example: optio

translations   object  optional  

The data must be a valid translation object.

description   string   

Example: Saepe eum totam qui quo temporibus.

isGlobal   string   

Example: iste

roleIds   integer[]  optional  

The id of an existing record in the roles table.

companyId   string  optional  

Example: sapiente

Batch create new Personal card profiles

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"aliquam\",
            \"description\": \"Libero optio enim quia aut iusto.\",
            \"isGlobal\": \"sed\",
            \"companyId\": \"culpa\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "aliquam",
            "description": "Libero optio enim quia aut iusto.",
            "isGlobal": "sed",
            "companyId": "culpa"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/personal-card-profiles/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
name   string   

Example: aliquam

tabs   object  optional  
translations   object  optional  

The data must be a valid translation object.

description   string   

Example: Libero optio enim quia aut iusto.

isGlobal   string   

Example: sed

roleIds   object  optional  
companyId   string  optional  

Example: culpa

Fetch a Personal card profile by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/personal-card-profiles/ex?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isGlobal\": \"expedita\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/personal-card-profiles/ex"
);

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": "expedita"
};

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
}
 

Request      

GET api/v1/personal-card-profiles/{personalCardProfileId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personalCardProfileId   string   

Example: ex

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

isGlobal   string   

Example: expedita

Batch update Personal card profiles

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/personal-card-profiles/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"et\",
    \"description\": \"Vel nulla repellendus asperiores voluptatem expedita molestias mollitia repudiandae.\",
    \"tabs\": [
        {
            \"order\": 1720.91,
            \"personalCardProfileTabId\": \"exercitationem\",
            \"grids\": [
                {
                    \"order\": 502505092.7,
                    \"personalCardProfileTabGridId\": \"cum\",
                    \"fieldGroupId\": \"magni\",
                    \"fields\": [
                        {
                            \"order\": 17.49,
                            \"fieldId\": \"provident\"
                        }
                    ]
                }
            ]
        }
    ],
    \"isGlobal\": \"illum\",
    \"companyId\": \"qui\",
    \"roleIds\": [
        1
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "et",
    "description": "Vel nulla repellendus asperiores voluptatem expedita molestias mollitia repudiandae.",
    "tabs": [
        {
            "order": 1720.91,
            "personalCardProfileTabId": "exercitationem",
            "grids": [
                {
                    "order": 502505092.7,
                    "personalCardProfileTabGridId": "cum",
                    "fieldGroupId": "magni",
                    "fields": [
                        {
                            "order": 17.49,
                            "fieldId": "provident"
                        }
                    ]
                }
            ]
        }
    ],
    "isGlobal": "illum",
    "companyId": "qui",
    "roleIds": [
        1
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/personal-card-profiles/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

name   string  optional  

Example: et

translations   object  optional  

The data must be a valid translation object.

description   string  optional  

Example: Vel nulla repellendus asperiores voluptatem expedita molestias mollitia repudiandae.

tabs   object[]   
order   number   

Example: 1720.91

personalCardProfileTabId   string   

Example: exercitationem

grids   object[]   
order   number   

Example: 502505092.7

personalCardProfileTabGridId   string   

Example: cum

fieldGroupId   string  optional  

Example: magni

fields   object[]  optional  
order   number   

Example: 17.49

fieldId   string   

Example: provident

isGlobal   string   

Example: illum

companyId   string  optional  

Example: qui

roleIds   integer[]  optional  

The id of an existing record in the roles table.

Update a Personal card profile by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/personal-card-profiles/est?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"id\",
    \"description\": \"Ipsa quod quis voluptatem vel quam quis.\",
    \"tabs\": [
        {
            \"order\": 204322.5,
            \"personalCardProfileTabId\": \"expedita\",
            \"grids\": [
                {
                    \"order\": 363330.24731,
                    \"personalCardProfileTabGridId\": \"quae\",
                    \"fieldGroupId\": \"nobis\",
                    \"fields\": [
                        {
                            \"order\": 18632478.92044,
                            \"fieldId\": \"cupiditate\"
                        }
                    ]
                }
            ]
        }
    ],
    \"isGlobal\": \"iusto\",
    \"companyId\": \"unde\",
    \"roleIds\": [
        9
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/personal-card-profiles/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",
};

let body = {
    "name": "id",
    "description": "Ipsa quod quis voluptatem vel quam quis.",
    "tabs": [
        {
            "order": 204322.5,
            "personalCardProfileTabId": "expedita",
            "grids": [
                {
                    "order": 363330.24731,
                    "personalCardProfileTabGridId": "quae",
                    "fieldGroupId": "nobis",
                    "fields": [
                        {
                            "order": 18632478.92044,
                            "fieldId": "cupiditate"
                        }
                    ]
                }
            ]
        }
    ],
    "isGlobal": "iusto",
    "companyId": "unde",
    "roleIds": [
        9
    ]
};

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
}
 

Request      

PATCH api/v1/personal-card-profiles/{personalCardProfileId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personalCardProfileId   string   

Example: est

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

name   string  optional  

Example: id

translations   object  optional  

The data must be a valid translation object.

description   string  optional  

Example: Ipsa quod quis voluptatem vel quam quis.

tabs   object[]   
order   number   

Example: 204322.5

personalCardProfileTabId   string   

Example: expedita

grids   object[]   
order   number   

Example: 363330.24731

personalCardProfileTabGridId   string   

Example: quae

fieldGroupId   string  optional  

Example: nobis

fields   object[]  optional  
order   number   

Example: 18632478.92044

fieldId   string   

Example: cupiditate

isGlobal   string   

Example: iusto

companyId   string  optional  

Example: unde

roleIds   integer[]  optional  

The id of an existing record in the roles table.

Batch delete Personal card profiles by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/personal-card-profiles/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isGlobal\": \"doloribus\"
}"
const url = new URL(
    "http://localhost:8000/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": "doloribus"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/personal-card-profiles/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

isGlobal   string   

Example: doloribus

Delete a Personal card profile by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/personal-card-profiles/ipsum?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isGlobal\": \"laboriosam\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/personal-card-profiles/ipsum"
);

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": "laboriosam"
};

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
}
 

Request      

DELETE api/v1/personal-card-profiles/{personalCardProfileId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personalCardProfileId   string   

Example: ipsum

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

isGlobal   string   

Example: laboriosam

Fetch a list of Personal card profiles with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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\": \"et\"
}"
const url = new URL(
    "http://localhost:8000/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": "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."
}
 

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

GET api/v1/personal-card-profiles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

isGlobal   string   

Example: et

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Personal card profile tab grid

Create a new Personal card profile tab grid

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"eos\",
    \"isGlobal\": false,
    \"description\": \"Aliquam repudiandae quia id nihil libero.\",
    \"fieldGroupId\": \"repellendus\",
    \"translations\": {
        \"no\": [],
        \"dk\": [],
        \"se\": [],
        \"en\": [],
        \"fi\": []
    },
    \"originPersonalCardProfileId\": \"corrupti\",
    \"fields\": [
        {
            \"globalFieldId\": \"tenetur\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "eos",
    "isGlobal": false,
    "description": "Aliquam repudiandae quia id nihil libero.",
    "fieldGroupId": "repellendus",
    "translations": {
        "no": [],
        "dk": [],
        "se": [],
        "en": [],
        "fi": []
    },
    "originPersonalCardProfileId": "corrupti",
    "fields": [
        {
            "globalFieldId": "tenetur"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/personal-card-profile-tab-grids

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

tabId   string  optional  

Example: eos

isGlobal   boolean  optional  

Example: false

description   string   

Example: Aliquam repudiandae quia id nihil libero.

translations   object  optional  

The data must be a valid translation object.

no   object  optional  
long   string  optional  
short   string  optional  
dk   object  optional  
long   string  optional  
short   string  optional  
se   object  optional  
long   string  optional  
short   string  optional  
en   object  optional  
long   string  optional  
short   string  optional  
fi   object  optional  
long   string  optional  
short   string  optional  
fieldGroupId   string  optional  

Example: repellendus

fields   object[]  optional  
globalFieldId   string   

Example: tenetur

originPersonalCardProfileId   string  optional  

Example: corrupti

Batch create new Personal card profile tab grids

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"sint\",
            \"isGlobal\": false,
            \"description\": \"Iure voluptatem commodi facere sit facilis qui quibusdam provident.\",
            \"fieldGroupId\": \"veniam\",
            \"translations\": {
                \"no\": [],
                \"dk\": [],
                \"se\": [],
                \"en\": [],
                \"fi\": []
            },
            \"originPersonalCardProfileId\": \"voluptate\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "sint",
            "isGlobal": false,
            "description": "Iure voluptatem commodi facere sit facilis qui quibusdam provident.",
            "fieldGroupId": "veniam",
            "translations": {
                "no": [],
                "dk": [],
                "se": [],
                "en": [],
                "fi": []
            },
            "originPersonalCardProfileId": "voluptate"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/personal-card-profile-tab-grids/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
tabId   string  optional  

Example: sint

isGlobal   boolean  optional  

Example: false

description   string   

Example: Iure voluptatem commodi facere sit facilis qui quibusdam provident.

translations   object  optional  

The data must be a valid translation object.

no   object  optional  
long   string  optional  
short   string  optional  
dk   object  optional  
long   string  optional  
short   string  optional  
se   object  optional  
long   string  optional  
short   string  optional  
en   object  optional  
long   string  optional  
short   string  optional  
fi   object  optional  
long   string  optional  
short   string  optional  
fieldGroupId   string  optional  

Example: veniam

fields   object  optional  
originPersonalCardProfileId   string  optional  

Example: voluptate

Fetch a Personal card profile tab grid by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/personal-card-profile-tab-grids/sed?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/personal-card-profile-tab-grids/sed"
);

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
}
 

Request      

GET api/v1/personal-card-profile-tab-grids/{personalCardProfileTabGridId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personalCardProfileTabGridId   string   

Example: sed

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Personal card profile tab grids

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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\": \"Et unde illo accusantium recusandae perferendis tempore ad.\",
            \"translations\": {
                \"no\": [],
                \"dk\": [],
                \"se\": [],
                \"en\": [],
                \"fi\": []
            }
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "Et unde illo accusantium recusandae perferendis tempore ad.",
            "translations": {
                "no": [],
                "dk": [],
                "se": [],
                "en": [],
                "fi": []
            }
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/personal-card-profile-tab-grids/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
tabId   string  optional  
isGlobal   boolean  optional  

Example: true

description   string  optional  

Example: Et unde illo accusantium recusandae perferendis tempore ad.

translations   object  optional  

The data must be a valid translation object.

no   object  optional  
long   string  optional  
short   string  optional  
dk   object  optional  
long   string  optional  
short   string  optional  
se   object  optional  
long   string  optional  
short   string  optional  
en   object  optional  
long   string  optional  
short   string  optional  
fi   object  optional  
long   string  optional  
short   string  optional  
fields   string  optional  
originPersonalCardProfileId   string  optional  

Update a Personal card profile tab grid by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/personal-card-profile-tab-grids/est?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isGlobal\": false,
    \"description\": \"Consequatur enim molestiae accusamus tempore.\",
    \"translations\": {
        \"no\": [],
        \"dk\": [],
        \"se\": [],
        \"en\": [],
        \"fi\": []
    }
}"
const url = new URL(
    "http://localhost:8000/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",
};

let body = {
    "isGlobal": false,
    "description": "Consequatur enim molestiae accusamus tempore.",
    "translations": {
        "no": [],
        "dk": [],
        "se": [],
        "en": [],
        "fi": []
    }
};

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
}
 

Request      

PATCH api/v1/personal-card-profile-tab-grids/{personalCardProfileTabGridId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personalCardProfileTabGridId   string   

Example: est

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

tabId   string  optional  
isGlobal   boolean  optional  

Example: false

description   string  optional  

Example: Consequatur enim molestiae accusamus tempore.

translations   object  optional  

The data must be a valid translation object.

no   object  optional  
long   string  optional  
short   string  optional  
dk   object  optional  
long   string  optional  
short   string  optional  
se   object  optional  
long   string  optional  
short   string  optional  
en   object  optional  
long   string  optional  
short   string  optional  
fi   object  optional  
long   string  optional  
short   string  optional  
fields   string  optional  
originPersonalCardProfileId   string  optional  

Batch delete Personal card profile tab grids by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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\": [
        \"quis\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "quis"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/personal-card-profile-tab-grids/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Personal card profile tab grid by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/personal-card-profile-tab-grids/et?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/personal-card-profile-tab-grids/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: "DELETE",
    headers,
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Example response (404):


{
    "data": [],
    "message": "PersonalCardProfileTabGrid [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/personal-card-profile-tab-grids/{personalCardProfileTabGridId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personalCardProfileTabGridId   string   

Example: et

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Personal card profile tab grids with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/personal-card-profile-tab-grids

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\"
        },
        {
            \"field\": \"originPersonalCardProfileId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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"
        },
        {
            "field": "originPersonalCardProfileId",
            "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."
}
 

Personal card profile tab

Create a new Personal card profile tab

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/personal-card-profile-tabs?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isGlobal\": true,
    \"description\": \"Minima illum voluptatem et modi magni amet.\",
    \"translations\": {
        \"no\": [],
        \"dk\": [],
        \"se\": [],
        \"en\": [],
        \"fi\": []
    },
    \"originPersonalCardProfileId\": \"non\"
}"
const url = new URL(
    "http://localhost:8000/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": true,
    "description": "Minima illum voluptatem et modi magni amet.",
    "translations": {
        "no": [],
        "dk": [],
        "se": [],
        "en": [],
        "fi": []
    },
    "originPersonalCardProfileId": "non"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/personal-card-profile-tabs

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

isGlobal   boolean  optional  

Example: true

description   string   

Example: Minima illum voluptatem et modi magni amet.

translations   object  optional  

The data must be a valid translation object.

no   object  optional  
long   string  optional  
short   string  optional  
dk   object  optional  
long   string  optional  
short   string  optional  
se   object  optional  
long   string  optional  
short   string  optional  
en   object  optional  
long   string  optional  
short   string  optional  
fi   object  optional  
long   string  optional  
short   string  optional  
originPersonalCardProfileId   string  optional  

Example: non

Batch create new Personal card profile tabs

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": false,
            \"description\": \"Sed hic sit sunt perspiciatis.\",
            \"translations\": {
                \"no\": [],
                \"dk\": [],
                \"se\": [],
                \"en\": [],
                \"fi\": []
            },
            \"originPersonalCardProfileId\": \"dicta\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": false,
            "description": "Sed hic sit sunt perspiciatis.",
            "translations": {
                "no": [],
                "dk": [],
                "se": [],
                "en": [],
                "fi": []
            },
            "originPersonalCardProfileId": "dicta"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/personal-card-profile-tabs/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
isGlobal   boolean  optional  

Example: false

description   string   

Example: Sed hic sit sunt perspiciatis.

translations   object  optional  

The data must be a valid translation object.

no   object  optional  
long   string  optional  
short   string  optional  
dk   object  optional  
long   string  optional  
short   string  optional  
se   object  optional  
long   string  optional  
short   string  optional  
en   object  optional  
long   string  optional  
short   string  optional  
fi   object  optional  
long   string  optional  
short   string  optional  
originPersonalCardProfileId   string  optional  

Example: dicta

Fetch a Personal card profile tab by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/personal-card-profile-tabs/et?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/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",
};

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
}
 

Request      

GET api/v1/personal-card-profile-tabs/{personalCardProfileTabId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personalCardProfileTabId   string   

Example: et

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Personal card profile tabs

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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\": false,
            \"description\": \"Ea non natus omnis est praesentium perferendis et.\",
            \"translations\": {
                \"no\": [],
                \"dk\": [],
                \"se\": [],
                \"en\": [],
                \"fi\": []
            }
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": false,
            "description": "Ea non natus omnis est praesentium perferendis et.",
            "translations": {
                "no": [],
                "dk": [],
                "se": [],
                "en": [],
                "fi": []
            }
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/personal-card-profile-tabs/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
isGlobal   boolean  optional  

Example: false

description   string  optional  

Example: Ea non natus omnis est praesentium perferendis et.

translations   object  optional  

The data must be a valid translation object.

no   object  optional  
long   string  optional  
short   string  optional  
dk   object  optional  
long   string  optional  
short   string  optional  
se   object  optional  
long   string  optional  
short   string  optional  
en   object  optional  
long   string  optional  
short   string  optional  
fi   object  optional  
long   string  optional  
short   string  optional  
originPersonalCardProfileId   string  optional  

Update a Personal card profile tab by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/personal-card-profile-tabs/aperiam?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isGlobal\": false,
    \"description\": \"Voluptas facilis provident perspiciatis voluptate minus.\",
    \"translations\": {
        \"no\": [],
        \"dk\": [],
        \"se\": [],
        \"en\": [],
        \"fi\": []
    }
}"
const url = new URL(
    "http://localhost:8000/api/v1/personal-card-profile-tabs/aperiam"
);

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": "Voluptas facilis provident perspiciatis voluptate minus.",
    "translations": {
        "no": [],
        "dk": [],
        "se": [],
        "en": [],
        "fi": []
    }
};

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
}
 

Request      

PATCH api/v1/personal-card-profile-tabs/{personalCardProfileTabId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personalCardProfileTabId   string   

Example: aperiam

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

isGlobal   boolean  optional  

Example: false

description   string  optional  

Example: Voluptas facilis provident perspiciatis voluptate minus.

translations   object  optional  

The data must be a valid translation object.

no   object  optional  
long   string  optional  
short   string  optional  
dk   object  optional  
long   string  optional  
short   string  optional  
se   object  optional  
long   string  optional  
short   string  optional  
en   object  optional  
long   string  optional  
short   string  optional  
fi   object  optional  
long   string  optional  
short   string  optional  
originPersonalCardProfileId   string  optional  

Batch delete Personal card profile tabs by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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\": [
        \"ipsum\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "ipsum"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/personal-card-profile-tabs/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Personal card profile tab by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/personal-card-profile-tabs/ad?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/personal-card-profile-tabs/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": "PersonalCardProfileTab [id] does not exist.",
    "status": 404
}
 

Request      

DELETE api/v1/personal-card-profile-tabs/{personalCardProfileTabId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personalCardProfileTabId   string   

Example: ad

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Personal card profile tabs with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/personal-card-profile-tabs

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\"
        },
        {
            \"field\": \"originPersonalCardProfileId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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"
        },
        {
            "field": "originPersonalCardProfileId",
            "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."
}
 

Locale

Create a new Locale

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/locales?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"culpa\",
    \"code\": \"consectetur\",
    \"enabled\": true
}"
const url = new URL(
    "http://localhost:8000/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": "culpa",
    "code": "consectetur",
    "enabled": true
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/locales

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

isGlobal   string  optional  
parentId   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  
title   string   

Example: culpa

code   string   

Example: consectetur

enabled   boolean   

Example: true

Batch create new Locales

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/locales/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"title\": \"corporis\",
            \"code\": \"voluptatem\",
            \"enabled\": false
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "corporis",
            "code": "voluptatem",
            "enabled": false
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/locales/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
isGlobal   string  optional  
parentId   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  
title   string   

Example: corporis

code   string   

Example: voluptatem

enabled   boolean   

Example: false

Fetch a Locale by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/locales/officia?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/locales/officia"
);

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
}
 

Request      

GET api/v1/locales/{localeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

localeId   string   

Example: officia

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Locales

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/locales/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        {
            \"title\": \"atque\",
            \"code\": \"sint\",
            \"enabled\": false
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "atque",
            "code": "sint",
            "enabled": false
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/locales/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
title   string  optional  

Example: atque

code   string  optional  

Example: sint

enabled   boolean  optional  

Example: false

Update a Locale by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/locales/aut?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"sed\",
    \"code\": \"temporibus\",
    \"enabled\": false
}"
const url = new URL(
    "http://localhost:8000/api/v1/locales/aut"
);

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": "sed",
    "code": "temporibus",
    "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
}
 

Request      

PATCH api/v1/locales/{localeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

localeId   string   

Example: aut

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

title   string  optional  

Example: sed

code   string  optional  

Example: temporibus

enabled   boolean  optional  

Example: false

Batch delete Locales by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/locales/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"qui\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "qui"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/locales/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Locale by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/locales/aut?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/locales/aut"
);

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
}
 

Request      

DELETE api/v1/locales/{localeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

localeId   string   

Example: aut

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Locales with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/locales

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

External salary type

Fetch a External salary type by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/external-salary-types/fugit?include=company%2CexternalIntegration" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/external-salary-types/fugit"
);

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
}
 

Request      

GET api/v1/external-salary-types/{salaryTypeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

salaryTypeId   string   

Example: fugit

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company,externalIntegration

Fetch a list of External salary types with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/external-salary-types

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company,externalIntegration

Emp permission

Create a new Emp permission (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/personnel-permissions?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"excepturi\",
    \"glue\": \"AND\",
    \"rules\": [
        \"rem\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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 = {
    "companyId": "excepturi",
    "glue": "AND",
    "rules": [
        "rem"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/personnel-permissions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

companyId   string   

Example: excepturi

glue   string   

Example: AND

Must be one of:
  • AND
  • OR
translations   object  optional  

The data must be a valid translation object.

rules   string[]  optional  

Update a Emp permission by its ID (Stability Score: 0.1)

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/personnel-permissions/provident?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"eos\",
    \"glue\": \"OR\",
    \"rules\": [
        \"quo\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/personnel-permissions/provident"
);

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": "eos",
    "glue": "OR",
    "rules": [
        "quo"
    ]
};

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
}
 

Request      

PATCH api/v1/personnel-permissions/{empPermissionId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

empPermissionId   string   

Example: provident

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

companyId   string   

Example: eos

glue   string  optional  

Example: OR

Must be one of:
  • AND
  • OR
translations   object  optional  

The data must be a valid translation object.

rules   string[]  optional  

Delete a Emp permission by its ID (Stability Score: 0.1)

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/personnel-permissions/et?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/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",
};

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
}
 

Request      

DELETE api/v1/personnel-permissions/{empPermissionId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

empPermissionId   string   

Example: et

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\"
        },
        {
            \"field\": \"companyId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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"
        },
        {
            "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."
}
 

Emp permission rule

Create a new Emp permission rule

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/personnel-permission-rules?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"employeeFieldId\": \"enim\",
    \"operator\": \"=\",
    \"value\": \"sed\"
}"
const url = new URL(
    "http://localhost:8000/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": "enim",
    "operator": "=",
    "value": "sed"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/personnel-permission-rules

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

employeeFieldId   string   

Example: enim

translations   object  optional  

The data must be a valid translation object.

operator   string   

Example: =

Must be one of:
  • =
value   string   

Example: sed

Batch create new Emp permission rules

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"rerum\",
            \"operator\": \"=\",
            \"value\": \"dolorem\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "rerum",
            "operator": "=",
            "value": "dolorem"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/personnel-permission-rules/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
employeeFieldId   string   

Example: rerum

translations   object  optional  

The data must be a valid translation object.

operator   string   

Example: =

Must be one of:
  • =
value   string   

Example: dolorem

Fetch a Emp permission rule by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/personnel-permission-rules/est?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/personnel-permission-rules/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: "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
}
 

Request      

GET api/v1/personnel-permission-rules/{empPermissionRuleId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

empPermissionRuleId   string   

Example: est

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Batch update Emp permission rules

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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\": \"nemo\",
            \"operator\": \"=\",
            \"value\": \"sapiente\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/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": "nemo",
            "operator": "=",
            "value": "sapiente"
        }
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/personnel-permission-rules/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   object[]  optional  
employeeFieldId   string  optional  

Example: nemo

translations   object  optional  

The data must be a valid translation object.

operator   string  optional  

Example: =

Must be one of:
  • =
value   string  optional  

Example: sapiente

Update a Emp permission rule by its ID (Stability Score: 0.1)

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/personnel-permission-rules/ipsa?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"employeeFieldId\": \"illum\",
    \"operator\": \"=\",
    \"value\": \"deserunt\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/personnel-permission-rules/ipsa"
);

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": "illum",
    "operator": "=",
    "value": "deserunt"
};

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
}
 

Request      

PATCH api/v1/personnel-permission-rules/{empPermissionRuleId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

empPermissionRuleId   string   

Example: ipsa

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

employeeFieldId   string  optional  

Example: illum

translations   object  optional  

The data must be a valid translation object.

operator   string  optional  

Example: =

Must be one of:
  • =
value   string  optional  

Example: deserunt

Batch delete Emp permission rules by their IDs

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/personnel-permission-rules/batch?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": [
        \"non\"
    ]
}"
const url = new URL(
    "http://localhost:8000/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": [
        "non"
    ]
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/personnel-permission-rules/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

resources   string[]  optional  

Delete a Emp permission rule by its ID (Stability Score: 0.1)

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/personnel-permission-rules/placeat?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/personnel-permission-rules/placeat"
);

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
}
 

Request      

DELETE api/v1/personnel-permission-rules/{empPermissionRuleId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

empPermissionRuleId   string   

Example: placeat

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Fetch a list of Emp permission rules with pagination (Stability Score: 0.1)

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/personnel-permission-rules

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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."
}
 

Transaction

Fetch a list of Transactions with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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\": \"ad\"
}"
const url = new URL(
    "http://localhost:8000/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": "ad"
};

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."
}
 

Request      

GET api/v1/transactions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: company,employee,payCode

Body Parameters

companyId   string   

Example: ad

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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\": \"cupiditate\"
}"
const url = new URL(
    "http://localhost:8000/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": "cupiditate"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Employee

Fetch a list of Employees with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/companies/soluta/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:8000/api/v1/companies/soluta/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."
}
 

Request      

GET api/v1/companies/{companyId}/employees

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: soluta

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Create a new Employee

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/dolore/employees?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/companies/dolore/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."
}
 

Request      

POST api/v1/companies/{companyId}/employees

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: dolore

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/dolorum/employees/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\": \"personId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"isDraft\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ],
    \"scopes\": [
        {
            \"name\": \"fieldNameFilter\",
            \"parameters\": []
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/dolorum/employees/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": "personId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "isDraft",
            "operator": "=",
            "value": "value"
        }
    ],
    "sort": [
        {
            "field": "createdAt",
            "direction": "asc"
        },
        {
            "field": "updatedAt",
            "direction": "asc"
        }
    ],
    "scopes": [
        {
            "name": "fieldNameFilter",
            "parameters": []
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (401):


{
    "message": "Unauthenticated."
}
 

App\ http\ resources\ api\ v1\ company field change resource

Fetch a list of App\ http\ resources\ api\ v1\ company field change resources based on the provided filters, scopes, sorting and pagination

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/praesentium/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:8000/api/v1/companies/praesentium/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());

Example response (401):


{
    "message": "Unauthenticated."
}
 

Request      

POST api/v1/companies/{companyId}/field-changes/search-custom

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: praesentium

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

filters   array  optional  

Filtering criteria Allowed operators: !=, =, >, <, >=, <=, in, not-in, array-contains, array-contains-any.

sort   array  optional  

Sorting criteria. Default sort is by createdAt.

Employee field change

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/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\"
        },
        {
            \"field\": \"employeeId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"companyId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/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"
        },
        {
            "field": "employeeId",
            "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());

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:8000/api/v1/employees/sapiente/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:8000/api/v1/employees/sapiente/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());

Request      

POST api/v1/employees/{employeeId}/field-changes/search-custom

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: sapiente

Query Parameters

page   integer  optional  

Page number for pagination, defaults to 1, minimum 1 Example: 1

pageSize   integer  optional  

Number of items per page, defaults to 15, minimum 1 Example: 15

withSoftDeletes   boolean  optional  

Include soft deleted items in the response Example: true

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

filters   array  optional  

Filtering criteria Allowed operators: !=, =, >, <, >=, <=, in, not-in, array-contains, array-contains-any.

sort   array  optional  

Sorting criteria. Default sort is by createdAt.

Employee field map

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-mappings/search?page=1&pageSize=15&withSoftDeletes=1&include=company%2CexternalEmployeeField%2CemployeeField%2CexternalIntegration%2Corganization" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filters\": [
        {
            \"field\": \"companyId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"employeeFieldId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"externalIntegrationId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        },
        {
            \"field\": \"organizationId\",
            \"operator\": \"=\",
            \"value\": \"value\"
        }
    ],
    \"sort\": [
        {
            \"field\": \"createdAt\",
            \"direction\": \"asc\"
        },
        {
            \"field\": \"updatedAt\",
            \"direction\": \"asc\"
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-mappings/search"
);

const params = {
    "page": "1",
    "pageSize": "15",
    "withSoftDeletes": "1",
    "include": "company,externalEmployeeField,employeeField,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": "companyId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "employeeFieldId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "externalIntegrationId",
            "operator": "=",
            "value": "value"
        },
        {
            "field": "organizationId",
            "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."
}
 

Custom Endpoints

All other endpoints

Authentication

Authenticate (Stability Score: 0.1)

This endpoint lets you authenticate.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/authenticate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"url\": \"http:\\/\\/www.ebert.biz\\/enim-et-quia-dolores-ratione-modi-rerum.html\",
    \"companyId\": \"molestiae\",
    \"roleId\": 7,
    \"access_token\": \"molestias\",
    \"sensitive\": false,
    \"useLatest\": false
}"
const url = new URL(
    "http://localhost:8000/api/v1/authenticate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "url": "http:\/\/www.ebert.biz\/enim-et-quia-dolores-ratione-modi-rerum.html",
    "companyId": "molestiae",
    "roleId": 7,
    "access_token": "molestias",
    "sensitive": false,
    "useLatest": false
};

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 molestiae does not exist. (and 1 more error)",
    "errors": {
        "companyId": [
            "Company molestiae does not exist."
        ],
        "roleId": [
            "The selected role id is invalid."
        ]
    },
    "status": 422
}
 

Request      

GET api/v1/authenticate

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

url   string  optional  

Example: http://www.ebert.biz/enim-et-quia-dolores-ratione-modi-rerum.html

companyId   string  optional  

Example: molestiae

roleId   integer  optional  

The id of an existing record in the roles table. Example: 7

access_token   string  optional  

Example: molestias

sensitive   boolean  optional  

Example: false

useLatest   boolean  optional  

Example: false

Logout

requires authentication

This endpoint lets you logout.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/logout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/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."
}
 

Request      

GET api/v1/logout

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

User (Stability Score: 0.1)

requires authentication

This endpoint lets you get the authenticated user.

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/user" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/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."
}
 

Request      

GET api/v1/user

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Receive the roles that the authenticated user has access to. (Stability Score: 0.1)

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/user/roles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Function Entities

Duplicate a function entity.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/function-entities/accusantium/duplicate?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/function-entities/accusantium/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",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/function-entities/{functionEntityId}/duplicate

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

functionEntityId   string   

Example: accusantium

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Grid Views

Duplicate a grid view.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/grid-views/vero/duplicate?include=grid%2Cactors" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/grid-views/vero/duplicate"
);

const params = {
    "include": "grid,actors",
};
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());

Request      

POST api/v1/grid-views/{gridViewId}/duplicate

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

gridViewId   string   

Example: vero

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: grid,actors

SalaryWarning

Confirm a salary rule warning (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/salary-warnings/natus/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:8000/api/v1/salary-warnings/natus/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());

Request      

POST api/v1/salary-warnings/{salaryWarningId}/confirm

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

salaryWarningId   string   

Example: natus

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: employee,salaryRule

Remove confirmation from a salary rule warning (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/salary-warnings/magnam/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:8000/api/v1/salary-warnings/magnam/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());

Request      

POST api/v1/salary-warnings/{salaryWarningId}/unconfirm

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

salaryWarningId   string   

Example: magnam

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: employee,salaryRule

Evaluate salary rules for a given period (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Request      

POST api/v1/execute-salary-rules

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Users

Create a user. (Stability Score: 0.5)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/users" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"quo\",
    \"email\": \"carroll.peter@example.com\",
    \"preferred_username\": \"omnis\",
    \"user_id\": 1800457.0922873,
    \"notificationPreferences\": [
        [
            [
                \"inapp\"
            ]
        ]
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/users"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "quo",
    "email": "carroll.peter@example.com",
    "preferred_username": "omnis",
    "user_id": 1800457.0922873,
    "notificationPreferences": [
        [
            [
                "inapp"
            ]
        ]
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/users

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: quo

email   string   

Must be a valid email address. Example: carroll.peter@example.com

preferred_username   string  optional  

Example: omnis

user_id   number  optional  

Example: 1800457.0922873

notificationPreferences   string[][][]  optional  
Must be one of:
  • email
  • inapp
  • broadcast
  • sms
info   object  optional  
warning   object  optional  
error   object  optional  
emergency   object  optional  

Must have at least 1 items.

Update a user. (Stability Score: 0.5)

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/users" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"notificationPreferences\": [
        [
            [
                \"broadcast\"
            ]
        ]
    ],
    \"id\": 367.21,
    \"userId\": \"exblqhdpoblqrunhcxxv\",
    \"user_id\": 10.504062448,
    \"name\": \"ea\",
    \"email\": \"dach.shaylee@example.org\",
    \"family_name\": \"aut\",
    \"given_name\": \"sunt\",
    \"preferred_username\": \"provident\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/users"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "notificationPreferences": [
        [
            [
                "broadcast"
            ]
        ]
    ],
    "id": 367.21,
    "userId": "exblqhdpoblqrunhcxxv",
    "user_id": 10.504062448,
    "name": "ea",
    "email": "dach.shaylee@example.org",
    "family_name": "aut",
    "given_name": "sunt",
    "preferred_username": "provident"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/users

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

notificationPreferences   string[][][]  optional  
Must be one of:
  • email
  • inapp
  • broadcast
  • sms
info   object  optional  
warning   object  optional  
error   object  optional  
emergency   object  optional  

Must have at least 1 items.

id   number  optional  

This field is required when userId is not present. The id of an existing record in the users table. Example: 367.21

userId   string  optional  

This field is required when id is not present. Must be 20 characters. Example: exblqhdpoblqrunhcxxv

user_id   number  optional  

Example: 10.504062448

name   string  optional  

Example: ea

email   string  optional  

Must be a valid email address. Example: dach.shaylee@example.org

family_name   string  optional  

Example: aut

given_name   string  optional  

Example: sunt

preferred_username   string  optional  

Example: provident

Notification

Mark all notifications as read

requires authentication

This endpoint lets you mark all notifications as read.

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Request      

POST api/v1/notifications/read-all

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Mark a notification as read by its ID (Stability Score: 0.1)

requires authentication

This endpoint lets you mark a notification as read.

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/notifications/sequi/read?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/notifications/sequi/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());

Request      

POST api/v1/notifications/{notificationId}/read

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

notificationId   string   

Example: sequi

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

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:8000/api/v1/notifications/dolore/unread?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/notifications/dolore/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());

Request      

POST api/v1/notifications/{notificationId}/unread

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

notificationId   string   

Example: dolore

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

PayCode Mapping

Duplicate a payCode mapping

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/pay-code-mappings/iusto/duplicate" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"ut\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/pay-code-mappings/iusto/duplicate"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "companyId": "ut"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/pay-code-mappings/{mappingId}/duplicate

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mappingId   string   

Example: iusto

Body Parameters

companyId   string   

Example: ut

Statistics

Transaction Statistics

requires authentication

This endpoint lets you get transaction statistics.

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/transactions/statistics" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"includeChildren\": true,
    \"organizationId\": \"et\",
    \"companyId\": \"molestias\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/transactions/statistics"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "includeChildren": true,
    "organizationId": "et",
    "companyId": "molestias"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/transactions/statistics

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

includeChildren   boolean  optional  

Example: true

organizationId   string  optional  

This field is required when companyId is not present. Example: et

companyId   string  optional  

This field is required when organizationId is not present. Example: molestias

Personal Card Profile

Duplicate a personal card profile

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/personal-card-profiles/rerum/duplicate?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"odit\",
    \"description\": \"Fugiat voluptatem similique perspiciatis.\",
    \"isGlobal\": \"velit\",
    \"companyId\": \"non\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/personal-card-profiles/rerum/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": "odit",
    "description": "Fugiat voluptatem similique perspiciatis.",
    "isGlobal": "velit",
    "companyId": "non"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/personal-card-profiles/{personalCardProfileId}/duplicate

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personalCardProfileId   string   

Example: rerum

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Body Parameters

name   string  optional  

Example: odit

translations   object  optional  

The data must be a valid translation object.

description   string  optional  

Example: Fugiat voluptatem similique perspiciatis.

isGlobal   string   

Example: velit

companyId   string  optional  

Example: non

Team Positions

Duplicate a Team Position

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/team-positions/neque/duplicate?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/team-positions/neque/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",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/team-positions/{teamPositionId}/duplicate

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

teamPositionId   string   

Example: neque

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

Company

Duplicate a company

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/unde/duplicate" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"parentCompanyId\": \"labore\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/unde/duplicate"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "parentCompanyId": "labore"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/companies/{companyId}/duplicate

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: unde

Body Parameters

parentCompanyId   string   

Example: labore

Companies

Get all unique effective dates for a company.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/companies/animi/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:8000/api/v1/companies/animi/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."
}
 

Request      

GET api/v1/companies/{companyId}/field-changes/unique-effective-dates

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: animi

Company Changes

Approve a field change for a particular company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/cupiditate/field-changes/approve-field-change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"et\",
    \"recordId\": \"provident\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/cupiditate/field-changes/approve-field-change"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "et",
    "recordId": "provident"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/companies/{companyId}/field-changes/approve-field-change

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: cupiditate

Body Parameters

changeId   string   

Example: et

recordId   string   

Example: provident

Approve multiple field changes for a particular company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/ut/field-changes/approve-field-change/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"doloribus\",
    \"recordId\": \"delectus\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/ut/field-changes/approve-field-change/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "doloribus",
    "recordId": "delectus"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/companies/{companyId}/field-changes/approve-field-change/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: ut

Body Parameters

changeId   string   

Example: doloribus

recordId   string   

Example: delectus

Deny a field change for a particular company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/sequi/field-changes/deny-field-change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"ut\",
    \"recordId\": \"ipsum\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/sequi/field-changes/deny-field-change"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "ut",
    "recordId": "ipsum"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/companies/{companyId}/field-changes/deny-field-change

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: sequi

Body Parameters

changeId   string   

Example: ut

recordId   string   

Example: ipsum

Deny multiple field changes for a particular company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/fuga/field-changes/deny-field-change/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"unde\",
    \"recordId\": \"eos\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/fuga/field-changes/deny-field-change/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "unde",
    "recordId": "eos"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/companies/{companyId}/field-changes/deny-field-change/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: fuga

Body Parameters

changeId   string   

Example: unde

recordId   string   

Example: eos

Storage Structure

Create a new storage structure

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/storage-structure" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"directoryName\": \"enim\",
    \"directoryParentId\": \"iste\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/storage-structure"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "directoryName": "enim",
    "directoryParentId": "iste"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/storage-structure

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

directoryName   string   

Example: enim

directoryParentId   string  optional  

Example: iste

Fetch a list of storage structures with pagination

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/storage-structure

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Fetch a storage structure by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/storage-structure/consequatur" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/storage-structure/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."
}
 

Request      

GET api/v1/storage-structure/{storageStructureId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

storageStructureId   string   

Example: consequatur

Update a storage structure by its ID

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/storage-structure/unde" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"directoryName\": \"laborum\",
    \"directoryParentId\": \"est\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/storage-structure/unde"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "directoryName": "laborum",
    "directoryParentId": "est"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/storage-structure/{storageStructureId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

storageStructureId   string   

Example: unde

Body Parameters

directoryName   string  optional  

This field is required when directoryParentId is not present. Example: laborum

directoryParentId   string  optional  

Example: est

Delete a storage structure by its ID

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/storage-structure/ad" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/storage-structure/ad"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/storage-structure/{storageStructureId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

storageStructureId   string   

Example: ad

Employee Field Changes

Approve multiple field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-changes/approve/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"libero\",
    \"recordId\": \"voluptatem\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-changes/approve/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "libero",
    "recordId": "voluptatem"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-changes/approve/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

changeId   string   

Example: libero

recordId   string   

Example: voluptatem

Deny multiple field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-changes/deny/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"sed\",
    \"recordId\": \"iusto\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-changes/deny/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "sed",
    "recordId": "iusto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-changes/deny/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

changeId   string   

Example: sed

recordId   string   

Example: iusto

Revert multiple field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-changes/revert/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"autem\",
    \"recordId\": \"quia\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-changes/revert/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "autem",
    "recordId": "quia"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-changes/revert/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

changeId   string   

Example: autem

recordId   string   

Example: quia

Revert field change for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-changes/revert" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"et\",
    \"recordId\": \"cum\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-changes/revert"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "et",
    "recordId": "cum"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-changes/revert

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

changeId   string   

Example: et

recordId   string   

Example: cum

Revert multiple pay code field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-changes/revert/pay-code/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"illo\",
    \"recordId\": \"eveniet\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-changes/revert/pay-code/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "illo",
    "recordId": "eveniet"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-changes/revert/pay-code/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

changeId   string   

Example: illo

recordId   string   

Example: eveniet

Revert pay code field change for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-changes/revert/pay-code" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"nam\",
    \"recordId\": \"qui\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-changes/revert/pay-code"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "nam",
    "recordId": "qui"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-changes/revert/pay-code

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

changeId   string   

Example: nam

recordId   string   

Example: qui

Revert multiple employment field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-changes/revert/employment/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"itaque\",
    \"recordId\": \"eveniet\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-changes/revert/employment/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "itaque",
    "recordId": "eveniet"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-changes/revert/employment/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

changeId   string   

Example: itaque

recordId   string   

Example: eveniet

Revert employment field change for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-changes/revert/employment" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"natus\",
    \"recordId\": \"fugit\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-changes/revert/employment"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "natus",
    "recordId": "fugit"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-changes/revert/employment

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

changeId   string   

Example: natus

recordId   string   

Example: fugit

Approve a field change for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/pariatur/approve-field-change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"accusamus\",
    \"recordId\": \"quae\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/pariatur/approve-field-change"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "accusamus",
    "recordId": "quae"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/approve-field-change

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: pariatur

Body Parameters

changeId   string   

Example: accusamus

recordId   string   

Example: quae

Approve multiple field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/et/approve-field-change/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"autem\",
    \"recordId\": \"facere\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/et/approve-field-change/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "autem",
    "recordId": "facere"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/approve-field-change/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: et

Body Parameters

changeId   string   

Example: autem

recordId   string   

Example: facere

Deny a field change for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/molestiae/deny-field-change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"consequatur\",
    \"recordId\": \"explicabo\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/molestiae/deny-field-change"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "consequatur",
    "recordId": "explicabo"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/deny-field-change

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: molestiae

Body Parameters

changeId   string   

Example: consequatur

recordId   string   

Example: explicabo

Deny multiple field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/voluptates/deny-field-change/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"nisi\",
    \"recordId\": \"qui\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/voluptates/deny-field-change/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "nisi",
    "recordId": "qui"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/deny-field-change/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: voluptates

Body Parameters

changeId   string   

Example: nisi

recordId   string   

Example: qui

Relatives

Create a new relative

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/culpa/employee-relatives" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"firstName\": \"eos\",
    \"lastName\": \"quis\",
    \"emailAddress\": \"genoveva.pouros@example.net\",
    \"telephone\": \"d{5,}\",
    \"mobilePhone\": \"d{5,}\",
    \"relationship\": \"voluptates\",
    \"comment\": \"voluptate\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/culpa/employee-relatives"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "firstName": "eos",
    "lastName": "quis",
    "emailAddress": "genoveva.pouros@example.net",
    "telephone": "d{5,}",
    "mobilePhone": "d{5,}",
    "relationship": "voluptates",
    "comment": "voluptate"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/employee-relatives

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: culpa

Body Parameters

firstName   string   

Example: eos

lastName   string   

Example: quis

emailAddress   string  optional  

Must be a valid email address. Example: genoveva.pouros@example.net

telephone   string  optional  

Must match the regex /^[\d\s-+]{5,}$/. Example: d{5,}

mobilePhone   string  optional  

Must match the regex /^[\d\s-+]{5,}$/. Example: d{5,}

relationship   string   

Example: voluptates

comment   string  optional  

Example: voluptate

Relative Changes

Get changes for a particular relative.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/employees/ut/employee-relatives/sed/field-changes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/employees/ut/employee-relatives/sed/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."
}
 

Request      

GET api/v1/employees/{employeeId}/employee-relatives/{relativeId}/field-changes

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: ut

relativeId   string   

Example: sed

Employee Relative Field Changes

Approve a field change for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/ipsam/employee-relatives/aut/approve-field-change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"dolores\",
    \"recordId\": \"quia\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/ipsam/employee-relatives/aut/approve-field-change"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "dolores",
    "recordId": "quia"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/employee-relatives/{relativeId}/approve-field-change

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: ipsam

relativeId   string   

Example: aut

Body Parameters

changeId   string   

Example: dolores

recordId   string   

Example: quia

Approve multiple field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/ipsam/employee-relatives/quaerat/approve-field-change/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"consequuntur\",
    \"recordId\": \"officiis\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/ipsam/employee-relatives/quaerat/approve-field-change/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "consequuntur",
    "recordId": "officiis"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/employee-relatives/{relativeId}/approve-field-change/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: ipsam

relativeId   string   

Example: quaerat

Body Parameters

changeId   string   

Example: consequuntur

recordId   string   

Example: officiis

Deny a field change for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/aut/employee-relatives/ut/deny-field-change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"ratione\",
    \"recordId\": \"aspernatur\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/aut/employee-relatives/ut/deny-field-change"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "ratione",
    "recordId": "aspernatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/employee-relatives/{relativeId}/deny-field-change

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: aut

relativeId   string   

Example: ut

Body Parameters

changeId   string   

Example: ratione

recordId   string   

Example: aspernatur

Deny multiple field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/sequi/employee-relatives/ipsam/deny-field-change/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"deserunt\",
    \"recordId\": \"sunt\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/sequi/employee-relatives/ipsam/deny-field-change/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "deserunt",
    "recordId": "sunt"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/employee-relatives/{relativeId}/deny-field-change/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: sequi

relativeId   string   

Example: ipsam

Body Parameters

changeId   string   

Example: deserunt

recordId   string   

Example: sunt

Employee Future Changes

List all changes for a particular employee.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/employees/sit/future-changes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/employees/sit/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."
}
 

Request      

GET api/v1/employees/{employeeId}/future-changes

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: sit

Employees

Get all unique effective dates for an employee.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/employees/ratione/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:8000/api/v1/employees/ratione/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."
}
 

Request      

GET api/v1/employees/{employeeId}/field-changes/unique-effective-dates

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: ratione

Create a new employee change

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/facilis/field-changes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"effectiveDate\": 0,
    \"changeId\": \"quidem\",
    \"changeType\": \"delete\",
    \"fieldName\": \"cupiditate\",
    \"oldValue\": \"qui\",
    \"comment\": \"quia\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/facilis/field-changes"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "effectiveDate": 0,
    "changeId": "quidem",
    "changeType": "delete",
    "fieldName": "cupiditate",
    "oldValue": "qui",
    "comment": "quia"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: facilis

Body Parameters

effectiveDate   number  optional  

This field is required unless changeType is in delete. Must be between 0 and 2147483647. Example: 0

changeId   string  optional  

Example: quidem

changeType   string  optional  

Example: delete

Must be one of:
  • delete
fieldName   string   

Example: cupiditate

newValue   string  optional  

This field is required unless changeType is in delete.

oldValue   string  optional  

Example: qui

comment   string  optional  

Example: quia

changedBy   string  optional  
changedDate   string  optional  
approved   string  optional  
employeeId   string  optional  
status   string  optional  

Create multiple employee changes

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/sed/field-changes/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"effectiveDate\": 0,
    \"changeId\": \"voluptatibus\",
    \"changeType\": \"delete\",
    \"fieldName\": \"illum\",
    \"oldValue\": \"voluptatem\",
    \"comment\": \"quod\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/sed/field-changes/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "effectiveDate": 0,
    "changeId": "voluptatibus",
    "changeType": "delete",
    "fieldName": "illum",
    "oldValue": "voluptatem",
    "comment": "quod"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: sed

Body Parameters

effectiveDate   number  optional  

This field is required unless changeType is in delete. Must be between 0 and 2147483647. Example: 0

changeId   string  optional  

Example: voluptatibus

changeType   string  optional  

Example: delete

Must be one of:
  • delete
fieldName   string   

Example: illum

newValue   string  optional  

This field is required unless changeType is in delete.

oldValue   string  optional  

Example: voluptatem

comment   string  optional  

Example: quod

changedBy   string  optional  
changedDate   string  optional  
approved   string  optional  
employeeId   string  optional  
status   string  optional  

Employment Changes

List all changes for a particular employee.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/employees/sint/field-changes/employment" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/employees/sint/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."
}
 

Request      

GET api/v1/employees/{employeeId}/field-changes/employment

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: sint

Create a new change request for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/repudiandae/field-changes/employment" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"effectiveDate\": 1,
    \"changeId\": \"quisquam\",
    \"changeType\": \"delete\",
    \"fieldName\": \"assumenda\",
    \"oldValue\": \"in\",
    \"comment\": \"necessitatibus\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/repudiandae/field-changes/employment"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "effectiveDate": 1,
    "changeId": "quisquam",
    "changeType": "delete",
    "fieldName": "assumenda",
    "oldValue": "in",
    "comment": "necessitatibus"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/employment

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: repudiandae

Body Parameters

effectiveDate   number  optional  

This field is required unless changeType is in delete. Must be between 0 and 2147483647. Example: 1

changeId   string  optional  

Example: quisquam

changeType   string  optional  

Example: delete

Must be one of:
  • delete
fieldName   string   

Example: assumenda

newValue   string  optional  

This field is required unless changeType is in delete.

oldValue   string  optional  

Example: in

comment   string  optional  

Example: necessitatibus

changedBy   string  optional  
changedDate   string  optional  
approved   string  optional  
employeeId   string  optional  
status   string  optional  

Create multiple change requests for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/est/field-changes/employment/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"effectiveDate\": 1,
    \"changeId\": \"consequatur\",
    \"changeType\": \"delete\",
    \"fieldName\": \"itaque\",
    \"oldValue\": \"qui\",
    \"comment\": \"asperiores\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/est/field-changes/employment/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "effectiveDate": 1,
    "changeId": "consequatur",
    "changeType": "delete",
    "fieldName": "itaque",
    "oldValue": "qui",
    "comment": "asperiores"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/employment/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: est

Body Parameters

effectiveDate   number  optional  

This field is required unless changeType is in delete. Must be between 0 and 2147483647. Example: 1

changeId   string  optional  

Example: consequatur

changeType   string  optional  

Example: delete

Must be one of:
  • delete
fieldName   string   

Example: itaque

newValue   string  optional  

This field is required unless changeType is in delete.

oldValue   string  optional  

Example: qui

comment   string  optional  

Example: asperiores

changedBy   string  optional  
changedDate   string  optional  
approved   string  optional  
employeeId   string  optional  
status   string  optional  

Approve a field change for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/ipsam/field-changes/employment/approve-field-change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"occaecati\",
    \"recordId\": \"accusantium\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/ipsam/field-changes/employment/approve-field-change"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "occaecati",
    "recordId": "accusantium"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/employment/approve-field-change

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: ipsam

Body Parameters

changeId   string   

Example: occaecati

recordId   string   

Example: accusantium

Approve multiple field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/sequi/field-changes/employment/approve-field-change/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"explicabo\",
    \"recordId\": \"illum\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/sequi/field-changes/employment/approve-field-change/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "explicabo",
    "recordId": "illum"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/employment/approve-field-change/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: sequi

Body Parameters

changeId   string   

Example: explicabo

recordId   string   

Example: illum

Deny a field change for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/suscipit/field-changes/employment/deny-field-change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"corporis\",
    \"recordId\": \"aspernatur\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/suscipit/field-changes/employment/deny-field-change"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "corporis",
    "recordId": "aspernatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/employment/deny-field-change

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: suscipit

Body Parameters

changeId   string   

Example: corporis

recordId   string   

Example: aspernatur

Deny multiple field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/nulla/field-changes/employment/deny-field-change/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"necessitatibus\",
    \"recordId\": \"porro\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/nulla/field-changes/employment/deny-field-change/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "necessitatibus",
    "recordId": "porro"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/employment/deny-field-change/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: nulla

Body Parameters

changeId   string   

Example: necessitatibus

recordId   string   

Example: porro

Pay Code Changes

Get all pay code changes.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/employees/{employeeId}/field-changes/pay-code

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: ipsam

Create a new pay code change.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/et/field-changes/pay-code" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"effectiveDate\": 0,
    \"changeId\": \"sit\",
    \"changeType\": \"delete\",
    \"fieldName\": \"aut\",
    \"comment\": \"et\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/et/field-changes/pay-code"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "effectiveDate": 0,
    "changeId": "sit",
    "changeType": "delete",
    "fieldName": "aut",
    "comment": "et"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/pay-code

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: et

Body Parameters

effectiveDate   number  optional  

This field is required unless changeType is in delete. Must be between 0 and 2147483647. Example: 0

changeId   string  optional  

Example: sit

changeType   string  optional  

Example: delete

Must be one of:
  • delete
fieldName   string   

Example: aut

newValue   object  optional  

This field is required unless changeType is in delete.

oldValue   object  optional  
comment   string  optional  

Example: et

changedBy   string  optional  
changedDate   string  optional  
approved   string  optional  
employeeId   string  optional  
status   string  optional  

Create multiple pay code changes.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/sint/field-changes/pay-code/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"effectiveDate\": 1,
    \"changeId\": \"sunt\",
    \"changeType\": \"delete\",
    \"fieldName\": \"et\",
    \"comment\": \"distinctio\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/sint/field-changes/pay-code/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "effectiveDate": 1,
    "changeId": "sunt",
    "changeType": "delete",
    "fieldName": "et",
    "comment": "distinctio"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/pay-code/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: sint

Body Parameters

effectiveDate   number  optional  

This field is required unless changeType is in delete. Must be between 0 and 2147483647. Example: 1

changeId   string  optional  

Example: sunt

changeType   string  optional  

Example: delete

Must be one of:
  • delete
fieldName   string   

Example: et

newValue   object  optional  

This field is required unless changeType is in delete.

oldValue   object  optional  
comment   string  optional  

Example: distinctio

changedBy   string  optional  
changedDate   string  optional  
approved   string  optional  
employeeId   string  optional  
status   string  optional  

Approve a field change for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/nam/field-changes/pay-code/approve-field-change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"molestiae\",
    \"recordId\": \"ut\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/nam/field-changes/pay-code/approve-field-change"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "molestiae",
    "recordId": "ut"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/pay-code/approve-field-change

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: nam

Body Parameters

changeId   string   

Example: molestiae

recordId   string   

Example: ut

Approve multiple field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/eveniet/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\": \"dolores\",
    \"recordId\": \"beatae\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/eveniet/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": "dolores",
    "recordId": "beatae"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/pay-code/approve-field-change/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: eveniet

Body Parameters

changeId   string   

Example: dolores

recordId   string   

Example: beatae

Deny a field change for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/fugiat/field-changes/pay-code/deny-field-change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"changeId\": \"officiis\",
    \"recordId\": \"incidunt\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/fugiat/field-changes/pay-code/deny-field-change"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "changeId": "officiis",
    "recordId": "incidunt"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/pay-code/deny-field-change

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: fugiat

Body Parameters

changeId   string   

Example: officiis

recordId   string   

Example: incidunt

Deny multiple field changes for a particular employee.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/alias/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\": \"sit\",
    \"recordId\": \"minus\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/employees/alias/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": "sit",
    "recordId": "minus"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/employees/{employeeId}/field-changes/pay-code/deny-field-change/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeId   string   

Example: alias

Body Parameters

changeId   string   

Example: sit

recordId   string   

Example: minus

Employee Field Mappings

Create a new employee field mapping.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-mappings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalEmployeeFieldId\": \"nostrum\",
    \"employeeFieldId\": \"quod\",
    \"externalIntegrationId\": \"expedita\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-mappings"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "externalEmployeeFieldId": "nostrum",
    "employeeFieldId": "quod",
    "externalIntegrationId": "expedita"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-mappings

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

externalEmployeeFieldId   string   

Example: nostrum

employeeFieldId   string   

Example: quod

companyId   string  optional  
externalIntegrationId   string  optional  

Example: expedita

organizationId   string  optional  

Create multiple employee field mappings.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-mappings/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalEmployeeFieldId\": \"eveniet\",
    \"employeeFieldId\": \"sapiente\",
    \"externalIntegrationId\": \"sit\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-mappings/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "externalEmployeeFieldId": "eveniet",
    "employeeFieldId": "sapiente",
    "externalIntegrationId": "sit"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-mappings/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

externalEmployeeFieldId   string   

Example: eveniet

employeeFieldId   string   

Example: sapiente

companyId   string  optional  
externalIntegrationId   string  optional  

Example: sit

organizationId   string  optional  

Update an employee field mapping.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/field-mappings/doloribus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalEmployeeFieldId\": \"non\",
    \"externalIntegrationId\": \"ut\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-mappings/doloribus"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "externalEmployeeFieldId": "non",
    "externalIntegrationId": "ut"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/field-mappings/{mappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mappingId   string   

Example: doloribus

Body Parameters

externalEmployeeFieldId   string  optional  

Example: non

employeeFieldId   string  optional  
companyId   string  optional  
externalIntegrationId   string  optional  

Example: ut

organizationId   string  optional  

Delete an employee field mapping.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/field-mappings/autem" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/field-mappings/autem"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/field-mappings/{mappingId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mappingId   string   

Example: autem

Employee Fields

Get fields for a particular integration.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/external-integration/ut/employee-fields" \
    --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\": true,
    \"observe\": false,
    \"importExcluded\": false,
    \"manualInput\": true,
    \"fieldType\": \"select\",
    \"dataType\": \"decimal\",
    \"maxInput\": 7095.99,
    \"minInput\": 6.1
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/ut/employee-fields"
);

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": true,
    "observe": false,
    "importExcluded": false,
    "manualInput": true,
    "fieldType": "select",
    "dataType": "decimal",
    "maxInput": 7095.99,
    "minInput": 6.1
};

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."
}
 

Request      

GET api/v1/external-integration/{integrationId}/employee-fields

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

integrationId   string   

Example: ut

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: true

isMandatory   boolean  optional  

Example: false

salarySensitive   boolean  optional  

Example: false

sensitive   boolean  optional  

Example: false

allowNewValue   boolean  optional  

Example: true

observe   boolean  optional  

Example: false

importExcluded   boolean  optional  

Example: false

manualInput   boolean  optional  

Example: true

fieldType   string  optional  

Example: select

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: decimal

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 7095.99

minInput   number  optional  

Example: 6.1

Customize an existing global employee field for a particular integration.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/external-integration/pariatur/employee-fields/facilis" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isShow\": false,
    \"isMandatory\": true,
    \"salarySensitive\": true,
    \"sensitive\": true,
    \"allowNewValue\": true,
    \"observe\": true,
    \"importExcluded\": false,
    \"manualInput\": false,
    \"fieldType\": \"password\",
    \"dataType\": \"decimal\",
    \"maxInput\": 1.82496819,
    \"minInput\": 6003.176798309
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/pariatur/employee-fields/facilis"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "isShow": false,
    "isMandatory": true,
    "salarySensitive": true,
    "sensitive": true,
    "allowNewValue": true,
    "observe": true,
    "importExcluded": false,
    "manualInput": false,
    "fieldType": "password",
    "dataType": "decimal",
    "maxInput": 1.82496819,
    "minInput": 6003.176798309
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/external-integration/{integrationId}/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

integrationId   string   

Example: pariatur

fieldId   string   

Example: facilis

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: false

isMandatory   boolean  optional  

Example: true

salarySensitive   boolean  optional  

Example: true

sensitive   boolean  optional  

Example: true

allowNewValue   boolean  optional  

Example: true

observe   boolean  optional  

Example: true

importExcluded   boolean  optional  

Example: false

manualInput   boolean  optional  

Example: false

fieldType   string  optional  

Example: password

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: decimal

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 1.82496819

minInput   number  optional  

Example: 6003.176798309

Get an extended employee field for a particular integration.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/external-integration/accusantium/employee-fields/enim" \
    --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\": false,
    \"observe\": false,
    \"importExcluded\": true,
    \"manualInput\": true,
    \"fieldType\": \"email\",
    \"dataType\": \"number\",
    \"maxInput\": 152135863.68,
    \"minInput\": 2.92601
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/accusantium/employee-fields/enim"
);

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": false,
    "observe": false,
    "importExcluded": true,
    "manualInput": true,
    "fieldType": "email",
    "dataType": "number",
    "maxInput": 152135863.68,
    "minInput": 2.92601
};

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."
}
 

Request      

GET api/v1/external-integration/{integrationId}/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

integrationId   string   

Example: accusantium

fieldId   string   

Example: enim

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: true

isMandatory   boolean  optional  

Example: true

salarySensitive   boolean  optional  

Example: false

sensitive   boolean  optional  

Example: true

allowNewValue   boolean  optional  

Example: false

observe   boolean  optional  

Example: false

importExcluded   boolean  optional  

Example: true

manualInput   boolean  optional  

Example: true

fieldType   string  optional  

Example: email

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: number

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 152135863.68

minInput   number  optional  

Example: 2.92601

Revert an extended employee field for a particular integration.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/external-integration/aut/employee-fields/tempora" \
    --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\": false,
    \"fieldType\": \"select\",
    \"dataType\": \"number\",
    \"maxInput\": 1324.4,
    \"minInput\": 63250.8812539
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/aut/employee-fields/tempora"
);

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": false,
    "fieldType": "select",
    "dataType": "number",
    "maxInput": 1324.4,
    "minInput": 63250.8812539
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/external-integration/{integrationId}/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

integrationId   string   

Example: aut

fieldId   string   

Example: tempora

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: false

isMandatory   boolean  optional  

Example: true

salarySensitive   boolean  optional  

Example: false

sensitive   boolean  optional  

Example: true

allowNewValue   boolean  optional  

Example: true

observe   boolean  optional  

Example: false

importExcluded   boolean  optional  

Example: false

manualInput   boolean  optional  

Example: false

fieldType   string  optional  

Example: select

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: number

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 1324.4

minInput   number  optional  

Example: 63250.8812539

Get fields for a particular organization.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organization/qui/employee-fields" \
    --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\": false,
    \"observe\": false,
    \"importExcluded\": true,
    \"manualInput\": true,
    \"fieldType\": \"date\",
    \"dataType\": \"boolean\",
    \"maxInput\": 5332.328655,
    \"minInput\": 0.894885
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/qui/employee-fields"
);

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": false,
    "observe": false,
    "importExcluded": true,
    "manualInput": true,
    "fieldType": "date",
    "dataType": "boolean",
    "maxInput": 5332.328655,
    "minInput": 0.894885
};

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."
}
 

Request      

GET api/v1/organization/{organizationId}/employee-fields

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: qui

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: false

isMandatory   boolean  optional  

Example: false

salarySensitive   boolean  optional  

Example: false

sensitive   boolean  optional  

Example: false

allowNewValue   boolean  optional  

Example: false

observe   boolean  optional  

Example: false

importExcluded   boolean  optional  

Example: true

manualInput   boolean  optional  

Example: true

fieldType   string  optional  

Example: date

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: boolean

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 5332.328655

minInput   number  optional  

Example: 0.894885

Customize an existing global employee field for a particular organization.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/organization/ab/employee-fields/veritatis" \
    --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\": false,
    \"fieldType\": \"select\",
    \"dataType\": \"number\",
    \"maxInput\": 319582.6881,
    \"minInput\": 12329039.3
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/ab/employee-fields/veritatis"
);

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": false,
    "fieldType": "select",
    "dataType": "number",
    "maxInput": 319582.6881,
    "minInput": 12329039.3
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/organization/{organizationId}/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: ab

fieldId   string   

Example: veritatis

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: true

isMandatory   boolean  optional  

Example: true

salarySensitive   boolean  optional  

Example: false

sensitive   boolean  optional  

Example: true

allowNewValue   boolean  optional  

Example: true

observe   boolean  optional  

Example: true

importExcluded   boolean  optional  

Example: true

manualInput   boolean  optional  

Example: false

fieldType   string  optional  

Example: select

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: number

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 319582.6881

minInput   number  optional  

Example: 12329039.3

Show an extended employee field for a particular organization.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organization/aut/employee-fields/reprehenderit" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isShow\": true,
    \"isMandatory\": false,
    \"salarySensitive\": true,
    \"sensitive\": true,
    \"allowNewValue\": true,
    \"observe\": true,
    \"importExcluded\": true,
    \"manualInput\": true,
    \"fieldType\": \"password\",
    \"dataType\": \"boolean\",
    \"maxInput\": 66979.9,
    \"minInput\": 1.93536709
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/aut/employee-fields/reprehenderit"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "isShow": true,
    "isMandatory": false,
    "salarySensitive": true,
    "sensitive": true,
    "allowNewValue": true,
    "observe": true,
    "importExcluded": true,
    "manualInput": true,
    "fieldType": "password",
    "dataType": "boolean",
    "maxInput": 66979.9,
    "minInput": 1.93536709
};

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."
}
 

Request      

GET api/v1/organization/{organizationId}/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: aut

fieldId   string   

Example: reprehenderit

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: true

isMandatory   boolean  optional  

Example: false

salarySensitive   boolean  optional  

Example: true

sensitive   boolean  optional  

Example: true

allowNewValue   boolean  optional  

Example: true

observe   boolean  optional  

Example: true

importExcluded   boolean  optional  

Example: true

manualInput   boolean  optional  

Example: true

fieldType   string  optional  

Example: password

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: boolean

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 66979.9

minInput   number  optional  

Example: 1.93536709

Revert an extended employee field for a particular organization.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/organization/consequatur/employee-fields/magni" \
    --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\": true,
    \"observe\": true,
    \"importExcluded\": true,
    \"manualInput\": false,
    \"fieldType\": \"radio\",
    \"dataType\": \"boolean\",
    \"maxInput\": 35746495.0694627,
    \"minInput\": 269060.9
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/consequatur/employee-fields/magni"
);

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": true,
    "observe": true,
    "importExcluded": true,
    "manualInput": false,
    "fieldType": "radio",
    "dataType": "boolean",
    "maxInput": 35746495.0694627,
    "minInput": 269060.9
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/organization/{organizationId}/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: consequatur

fieldId   string   

Example: magni

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: false

isMandatory   boolean  optional  

Example: true

salarySensitive   boolean  optional  

Example: true

sensitive   boolean  optional  

Example: false

allowNewValue   boolean  optional  

Example: true

observe   boolean  optional  

Example: true

importExcluded   boolean  optional  

Example: true

manualInput   boolean  optional  

Example: false

fieldType   string  optional  

Example: radio

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: boolean

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 35746495.069463

minInput   number  optional  

Example: 269060.9

Customize an existing global employee field for a particular company.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/company/cupiditate/employee-fields/quo" \
    --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\": false,
    \"manualInput\": false,
    \"fieldType\": \"password\",
    \"dataType\": \"decimal\",
    \"maxInput\": 740.39596,
    \"minInput\": 2.90087906
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/cupiditate/employee-fields/quo"
);

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": false,
    "manualInput": false,
    "fieldType": "password",
    "dataType": "decimal",
    "maxInput": 740.39596,
    "minInput": 2.90087906
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/company/{companyId}/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: cupiditate

fieldId   string   

Example: quo

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: true

isMandatory   boolean  optional  

Example: true

salarySensitive   boolean  optional  

Example: false

sensitive   boolean  optional  

Example: true

allowNewValue   boolean  optional  

Example: true

observe   boolean  optional  

Example: true

importExcluded   boolean  optional  

Example: false

manualInput   boolean  optional  

Example: false

fieldType   string  optional  

Example: password

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: decimal

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 740.39596

minInput   number  optional  

Example: 2.90087906

Revert an extended employee field for a particular company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company/minus/employee-fields/accusamus/revert" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isShow\": true,
    \"isMandatory\": false,
    \"salarySensitive\": true,
    \"sensitive\": true,
    \"allowNewValue\": true,
    \"observe\": false,
    \"importExcluded\": true,
    \"manualInput\": false,
    \"fieldType\": \"number\",
    \"dataType\": \"date\",
    \"maxInput\": 250222434.87367,
    \"minInput\": 4.4
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/minus/employee-fields/accusamus/revert"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "isShow": true,
    "isMandatory": false,
    "salarySensitive": true,
    "sensitive": true,
    "allowNewValue": true,
    "observe": false,
    "importExcluded": true,
    "manualInput": false,
    "fieldType": "number",
    "dataType": "date",
    "maxInput": 250222434.87367,
    "minInput": 4.4
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company/{companyId}/employee-fields/{fieldId}/revert

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: minus

fieldId   string   

Example: accusamus

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: true

isMandatory   boolean  optional  

Example: false

salarySensitive   boolean  optional  

Example: true

sensitive   boolean  optional  

Example: true

allowNewValue   boolean  optional  

Example: true

observe   boolean  optional  

Example: false

importExcluded   boolean  optional  

Example: true

manualInput   boolean  optional  

Example: false

fieldType   string  optional  

Example: number

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: date

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 250222434.87367

minInput   number  optional  

Example: 4.4

Revert extended employee fields and custom fields for a particular company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company/minima/employee-fields/revert-all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isShow\": false,
    \"isMandatory\": true,
    \"salarySensitive\": true,
    \"sensitive\": true,
    \"allowNewValue\": false,
    \"observe\": true,
    \"importExcluded\": false,
    \"manualInput\": true,
    \"fieldType\": \"textarea\",
    \"dataType\": \"date\",
    \"maxInput\": 0.1,
    \"minInput\": 3752067.7897
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/minima/employee-fields/revert-all"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "isShow": false,
    "isMandatory": true,
    "salarySensitive": true,
    "sensitive": true,
    "allowNewValue": false,
    "observe": true,
    "importExcluded": false,
    "manualInput": true,
    "fieldType": "textarea",
    "dataType": "date",
    "maxInput": 0.1,
    "minInput": 3752067.7897
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company/{companyId}/employee-fields/revert-all

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: minima

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: false

isMandatory   boolean  optional  

Example: true

salarySensitive   boolean  optional  

Example: true

sensitive   boolean  optional  

Example: true

allowNewValue   boolean  optional  

Example: false

observe   boolean  optional  

Example: true

importExcluded   boolean  optional  

Example: false

manualInput   boolean  optional  

Example: true

fieldType   string  optional  

Example: textarea

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: date

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 0.1

minInput   number  optional  

Example: 3752067.7897

Get an extended employee field for a particular company.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company/eligendi/employee-fields/ab" \
    --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\": true,
    \"fieldType\": \"email\",
    \"dataType\": \"decimal\",
    \"maxInput\": 284.36900544,
    \"minInput\": 428.3
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/eligendi/employee-fields/ab"
);

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": true,
    "fieldType": "email",
    "dataType": "decimal",
    "maxInput": 284.36900544,
    "minInput": 428.3
};

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."
}
 

Request      

GET api/v1/company/{companyId}/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: eligendi

fieldId   string   

Example: ab

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: true

isMandatory   boolean  optional  

Example: true

salarySensitive   boolean  optional  

Example: true

sensitive   boolean  optional  

Example: false

allowNewValue   boolean  optional  

Example: true

observe   boolean  optional  

Example: false

importExcluded   boolean  optional  

Example: false

manualInput   boolean  optional  

Example: true

fieldType   string  optional  

Example: email

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: decimal

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 284.36900544

minInput   number  optional  

Example: 428.3

Get employee fields for a particular company.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company/fugit/employee-fields" \
    --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\": true,
    \"importExcluded\": false,
    \"manualInput\": false,
    \"fieldType\": \"checkbox\",
    \"dataType\": \"boolean\",
    \"maxInput\": 23.576897644,
    \"minInput\": 70.65
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/fugit/employee-fields"
);

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": true,
    "importExcluded": false,
    "manualInput": false,
    "fieldType": "checkbox",
    "dataType": "boolean",
    "maxInput": 23.576897644,
    "minInput": 70.65
};

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."
}
 

Request      

GET api/v1/company/{companyId}/employee-fields

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: fugit

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: false

isMandatory   boolean  optional  

Example: true

salarySensitive   boolean  optional  

Example: true

sensitive   boolean  optional  

Example: false

allowNewValue   boolean  optional  

Example: false

observe   boolean  optional  

Example: true

importExcluded   boolean  optional  

Example: false

manualInput   boolean  optional  

Example: false

fieldType   string  optional  

Example: checkbox

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: boolean

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 23.576897644

minInput   number  optional  

Example: 70.65

Get employee fields for a particular company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company/voluptas/employee-fields" \
    --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\": false,
    \"observe\": true,
    \"importExcluded\": false,
    \"manualInput\": true,
    \"fieldType\": \"checkbox\",
    \"dataType\": \"date\",
    \"maxInput\": 548165.41,
    \"minInput\": 84,
    \"maxLength\": 257.10683,
    \"minLength\": 20.64036,
    \"fieldName\": \"tdkedobytsh\",
    \"combinedFieldIds\": [
        \"nihil\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/voluptas/employee-fields"
);

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": false,
    "observe": true,
    "importExcluded": false,
    "manualInput": true,
    "fieldType": "checkbox",
    "dataType": "date",
    "maxInput": 548165.41,
    "minInput": 84,
    "maxLength": 257.10683,
    "minLength": 20.64036,
    "fieldName": "tdkedobytsh",
    "combinedFieldIds": [
        "nihil"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company/{companyId}/employee-fields

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: voluptas

Body Parameters

isGlobal   string  optional  
parentId   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean   

Example: false

isMandatory   boolean  optional  

Example: false

salarySensitive   boolean  optional  

Example: false

sensitive   boolean  optional  

Example: false

allowNewValue   boolean  optional  

Example: false

observe   boolean  optional  

Example: true

importExcluded   boolean  optional  

Example: false

manualInput   boolean  optional  

Example: true

fieldType   string  optional  

Example: checkbox

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: date

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

This field is required when dataType is string. Example: 548165.41

minInput   number  optional  

This field is required when dataType is string. Example: 84

maxLength   number  optional  

Example: 257.10683

minLength   number  optional  

Example: 20.64036

fieldName   string   

Must not be greater than 255 characters. Example: tdkedobytsh

combinedFieldIds   string[]   

Update an employee field for a particular company.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/company/adipisci/employee-fields/quas" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"isShow\": true,
    \"isMandatory\": false,
    \"salarySensitive\": false,
    \"sensitive\": true,
    \"allowNewValue\": true,
    \"observe\": true,
    \"importExcluded\": false,
    \"manualInput\": true,
    \"fieldType\": \"number\",
    \"dataType\": \"string\",
    \"maxInput\": 554,
    \"minInput\": 459.487200469,
    \"maxLength\": 93259.59359,
    \"minLength\": 353463724.3,
    \"combinedFieldIds\": [
        \"sint\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/adipisci/employee-fields/quas"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "isShow": true,
    "isMandatory": false,
    "salarySensitive": false,
    "sensitive": true,
    "allowNewValue": true,
    "observe": true,
    "importExcluded": false,
    "manualInput": true,
    "fieldType": "number",
    "dataType": "string",
    "maxInput": 554,
    "minInput": 459.487200469,
    "maxLength": 93259.59359,
    "minLength": 353463724.3,
    "combinedFieldIds": [
        "sint"
    ]
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/company/{companyId}/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: adipisci

fieldId   string   

Example: quas

Body Parameters

isGlobal   string  optional  
parentId   string  optional  
companyId   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
translations   object  optional  

The data must be a valid translation object.

isShow   boolean  optional  

Example: true

isMandatory   boolean  optional  

Example: false

salarySensitive   boolean  optional  

Example: false

sensitive   boolean  optional  

Example: true

allowNewValue   boolean  optional  

Example: true

observe   boolean  optional  

Example: true

importExcluded   boolean  optional  

Example: false

manualInput   boolean  optional  

Example: true

fieldName   string  optional  
fieldType   string  optional  

Example: number

Must be one of:
  • text
  • number
  • password
  • email
  • date
  • checkbox
  • radio
  • select
  • textarea
dataType   string  optional  

Example: string

Must be one of:
  • string
  • number
  • decimal
  • date
  • boolean
maxInput   number  optional  

Example: 554

minInput   number  optional  

Example: 459.487200469

maxLength   number  optional  

Example: 93259.59359

minLength   number  optional  

Example: 353463724.3

combinedFieldIds   string[]   

Delete an employee field for a particular company.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/company/nisi/employee-fields/omnis" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company/nisi/employee-fields/omnis"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/company/{companyId}/employee-fields/{fieldId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: nisi

fieldId   string   

Example: omnis

Revert an extended employee field for a particular organization.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/organization/non/locales/quasi" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"dolores\",
    \"code\": \"ratione\",
    \"enabled\": true
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/non/locales/quasi"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "dolores",
    "code": "ratione",
    "enabled": true
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/organization/{organizationId}/locales/{localeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: non

localeId   string   

Example: quasi

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
title   string  optional  

Example: dolores

code   string  optional  

Example: ratione

enabled   boolean  optional  

Example: true

Revert an extended employee field for a particular company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company/et/locales/et/revert" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"dolor\",
    \"code\": \"qui\",
    \"enabled\": true
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/et/locales/et/revert"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "dolor",
    "code": "qui",
    "enabled": true
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company/{companyId}/locales/{localeId}/revert

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: et

localeId   string   

Example: et

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
title   string  optional  

Example: dolor

code   string  optional  

Example: qui

enabled   boolean  optional  

Example: true

Field Groups

Create a global field group

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-groups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"minus\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-groups"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupName": "minus"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-groups

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

groupName   string   

Example: minus

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Fetch all global field groups

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/field-groups

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Fetch a global field group by its ID

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/field-groups/omnis" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/field-groups/omnis"
);

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."
}
 

Request      

GET api/v1/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

groupId   string   

Example: omnis

Update a global field group

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/field-groups/sunt" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"eos\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-groups/sunt"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupName": "eos"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

groupId   string   

Example: sunt

Body Parameters

groupName   string  optional  

Example: eos

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Delete a global field group

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/field-groups/et" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/field-groups/et"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

groupId   string   

Example: et

Add a field to a global field group

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-groups/earum/add-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupId\": \"voluptas\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-groups/earum/add-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupId": "voluptas"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-groups/{employeeFieldId}/add-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeFieldId   string   

Example: earum

Body Parameters

groupId   string   

Example: voluptas

Move a field from one global field group to another

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/field-groups/perspiciatis/move-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"oldGroupId\": \"impedit\",
    \"newGroupId\": \"mollitia\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-groups/perspiciatis/move-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "oldGroupId": "impedit",
    "newGroupId": "mollitia"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/field-groups/{employeeFieldId}/move-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeFieldId   string   

Example: perspiciatis

Body Parameters

oldGroupId   string   

Example: impedit

newGroupId   string   

Example: mollitia

Remove a field from a global field group

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/field-groups/velit/remove-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupId\": \"quaerat\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/field-groups/velit/remove-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupId": "quaerat"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/field-groups/{employeeFieldId}/remove-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employeeFieldId   string   

Example: velit

Body Parameters

groupId   string   

Example: quaerat

Get fields groups for a particular integration.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/external-integration/sed/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:8000/api/v1/external-integration/sed/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."
}
 

Request      

GET api/v1/external-integration/{integrationId}/field-groups

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

integrationId   string   

Example: sed

Body Parameters

groupName   string  optional  

Example: et

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Customize an existing global field group for a particular integration.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/external-integration/aliquam/field-groups/et" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"optio\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/aliquam/field-groups/et"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupName": "optio"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/external-integration/{integrationId}/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

integrationId   string   

Example: aliquam

groupId   string   

Example: et

Body Parameters

groupName   string  optional  

Example: optio

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Get a particular field group for a particular integration.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/external-integration/a/field-groups/qui" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"omnis\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/a/field-groups/qui"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupName": "omnis"
};

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."
}
 

Request      

GET api/v1/external-integration/{integrationId}/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

integrationId   string   

Example: a

groupId   string   

Example: qui

Body Parameters

groupName   string  optional  

Example: omnis

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Revert a customized global field group for a particular integration.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/external-integration/et/field-groups/qui" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"recusandae\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/et/field-groups/qui"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupName": "recusandae"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/external-integration/{integrationId}/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

integrationId   string   

Example: et

groupId   string   

Example: qui

Body Parameters

groupName   string  optional  

Example: recusandae

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Add a field to a particular field group for a particular integration.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/external-integration/unde/field-groups/laudantium/add-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupId\": \"sed\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/unde/field-groups/laudantium/add-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupId": "sed"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/external-integration/{integrationId}/field-groups/{employeeFieldId}/add-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

integrationId   string   

Example: unde

employeeFieldId   string   

Example: laudantium

Body Parameters

groupId   string   

Example: sed

Move a field from a field group for a particular integration.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/external-integration/eum/field-groups/dignissimos/move-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"oldGroupId\": \"ut\",
    \"newGroupId\": \"rerum\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/eum/field-groups/dignissimos/move-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "oldGroupId": "ut",
    "newGroupId": "rerum"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/external-integration/{integrationId}/field-groups/{employeeFieldId}/move-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

integrationId   string   

Example: eum

employeeFieldId   string   

Example: dignissimos

Body Parameters

oldGroupId   string   

Example: ut

newGroupId   string   

Example: rerum

Remove a field from a field group for a particular integration.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/external-integration/ad/field-groups/ab/remove-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupId\": \"voluptates\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/ad/field-groups/ab/remove-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupId": "voluptates"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/external-integration/{integrationId}/field-groups/{employeeFieldId}/remove-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

integrationId   string   

Example: ad

employeeFieldId   string   

Example: ab

Body Parameters

groupId   string   

Example: voluptates

Get fields groups for a particular organization.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organization/eum/field-groups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"animi\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/eum/field-groups"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupName": "animi"
};

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."
}
 

Request      

GET api/v1/organization/{organizationId}/field-groups

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: eum

Body Parameters

groupName   string  optional  

Example: animi

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Customize an existing global field group for a particular organization.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/organization/fugit/field-groups/sunt" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"veritatis\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/fugit/field-groups/sunt"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupName": "veritatis"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/organization/{organizationId}/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: fugit

groupId   string   

Example: sunt

Body Parameters

groupName   string  optional  

Example: veritatis

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Get a particular field group for a particular organization.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organization/consequatur/field-groups/et" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"natus\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/consequatur/field-groups/et"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupName": "natus"
};

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."
}
 

Request      

GET api/v1/organization/{organizationId}/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: consequatur

groupId   string   

Example: et

Body Parameters

groupName   string  optional  

Example: natus

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Revert a customized field group for a particular organization.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/organization/est/field-groups/natus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"nihil\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/est/field-groups/natus"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupName": "nihil"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/organization/{organizationId}/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: est

groupId   string   

Example: natus

Body Parameters

groupName   string  optional  

Example: nihil

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Add a field to a particular field group for a particular organization.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/organization/similique/field-groups/et/add-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupId\": \"consequatur\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/similique/field-groups/et/add-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupId": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/organization/{organizationId}/field-groups/{employeeFieldId}/add-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: similique

employeeFieldId   string   

Example: et

Body Parameters

groupId   string   

Example: consequatur

Move a field from one field group to another for a particular organization.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/organization/hic/field-groups/voluptate/move-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"oldGroupId\": \"reiciendis\",
    \"newGroupId\": \"aut\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/hic/field-groups/voluptate/move-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "oldGroupId": "reiciendis",
    "newGroupId": "aut"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/organization/{organizationId}/field-groups/{employeeFieldId}/move-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: hic

employeeFieldId   string   

Example: voluptate

Body Parameters

oldGroupId   string   

Example: reiciendis

newGroupId   string   

Example: aut

Remove a field from a particular field group for a particular organization.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/organization/voluptatum/field-groups/earum/remove-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupId\": \"perspiciatis\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/voluptatum/field-groups/earum/remove-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupId": "perspiciatis"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/organization/{organizationId}/field-groups/{employeeFieldId}/remove-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: voluptatum

employeeFieldId   string   

Example: earum

Body Parameters

groupId   string   

Example: perspiciatis

Get fields groups for a particular company.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company/autem/field-groups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company/autem/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."
}
 

Request      

GET api/v1/company/{companyId}/field-groups

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: autem

Customize an existing global field group for a particular company.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/company/quia/field-groups/molestias" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"beatae\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/quia/field-groups/molestias"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupName": "beatae"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/company/{companyId}/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: quia

groupId   string   

Example: molestias

Body Parameters

groupName   string  optional  

Example: beatae

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Show a customized global field group for a particular company.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company/et/field-groups/delectus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"non\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/et/field-groups/delectus"
);

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."
}
 

Request      

GET api/v1/company/{companyId}/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: et

groupId   string   

Example: delectus

Body Parameters

groupName   string  optional  

Example: non

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Revert a customized global field group for a particular company.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/company/atque/field-groups/et" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupName\": \"ad\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/atque/field-groups/et"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupName": "ad"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/company/{companyId}/field-groups/{groupId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: atque

groupId   string   

Example: et

Body Parameters

groupName   string  optional  

Example: ad

translations   object  optional  

The data must be a valid translation object.

fields   string  optional  
isGlobal   string  optional  
companyId   string  optional  
integrationId   string  optional  
organizationId   string  optional  

Add a field to a field group for a particular company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company/est/field-groups/est/add-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupId\": \"ut\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/est/field-groups/est/add-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupId": "ut"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company/{companyId}/field-groups/{employeeFieldId}/add-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: est

employeeFieldId   string   

Example: est

Body Parameters

groupId   string   

Example: ut

Move a field from one field group to another for a particular company.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/company/ea/field-groups/ipsa/move-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"oldGroupId\": \"quis\",
    \"newGroupId\": \"rerum\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/ea/field-groups/ipsa/move-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "oldGroupId": "quis",
    "newGroupId": "rerum"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/company/{companyId}/field-groups/{employeeFieldId}/move-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: ea

employeeFieldId   string   

Example: ipsa

Body Parameters

oldGroupId   string   

Example: quis

newGroupId   string   

Example: rerum

Remove a field from a field group for a particular company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company/voluptatem/field-groups/reprehenderit/remove-field" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"groupId\": \"corrupti\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/voluptatem/field-groups/reprehenderit/remove-field"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "groupId": "corrupti"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company/{companyId}/field-groups/{employeeFieldId}/remove-field

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: voluptatem

employeeFieldId   string   

Example: reprehenderit

Body Parameters

groupId   string   

Example: corrupti

Locales

Get locales for a particular organization.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organization/rem/locales" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vero\",
    \"code\": \"omnis\",
    \"enabled\": false
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/rem/locales"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "vero",
    "code": "omnis",
    "enabled": false
};

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."
}
 

Request      

GET api/v1/organization/{organizationId}/locales

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: rem

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
title   string  optional  

Example: vero

code   string  optional  

Example: omnis

enabled   boolean  optional  

Example: false

Customize an existing global locale for a particular organization.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/organization/ut/locales/enim" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"sapiente\",
    \"code\": \"eos\",
    \"enabled\": true
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/ut/locales/enim"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "sapiente",
    "code": "eos",
    "enabled": true
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/organization/{organizationId}/locales/{localeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: ut

localeId   string   

Example: enim

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
title   string  optional  

Example: sapiente

code   string  optional  

Example: eos

enabled   boolean  optional  

Example: true

Show an extended locale for a particular organization.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organization/dolorem/locales/et" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"labore\",
    \"code\": \"omnis\",
    \"enabled\": false
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/dolorem/locales/et"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "labore",
    "code": "omnis",
    "enabled": false
};

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."
}
 

Request      

GET api/v1/organization/{organizationId}/locales/{localeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: dolorem

localeId   string   

Example: et

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
title   string  optional  

Example: labore

code   string  optional  

Example: omnis

enabled   boolean  optional  

Example: false

Customize an existing global locale for a particular company.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/company/dolores/locales/fugit" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"tenetur\",
    \"code\": \"sed\",
    \"enabled\": true
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/dolores/locales/fugit"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "tenetur",
    "code": "sed",
    "enabled": true
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/company/{companyId}/locales/{localeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: dolores

localeId   string   

Example: fugit

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
title   string  optional  

Example: tenetur

code   string  optional  

Example: sed

enabled   boolean  optional  

Example: true

Show an extended locale for a particular company.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company/facere/locales/qui" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"adipisci\",
    \"code\": \"dignissimos\",
    \"enabled\": false
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/facere/locales/qui"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "adipisci",
    "code": "dignissimos",
    "enabled": false
};

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."
}
 

Request      

GET api/v1/company/{companyId}/locales/{localeId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: facere

localeId   string   

Example: qui

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
title   string  optional  

Example: adipisci

code   string  optional  

Example: dignissimos

enabled   boolean  optional  

Example: false

Get locales for a particular company.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company/id/locales" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"veniam\",
    \"code\": \"et\",
    \"enabled\": true
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/id/locales"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "veniam",
    "code": "et",
    "enabled": true
};

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."
}
 

Request      

GET api/v1/company/{companyId}/locales

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: id

Body Parameters

companyId   string  optional  
parentId   string  optional  
fieldName   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
title   string  optional  

Example: veniam

code   string  optional  

Example: et

enabled   boolean  optional  

Example: true

EmployeeFieldMaps

Get employee field maps for a particular organization.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organization/accusamus/employee-field-maps" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalEmployeeFieldId\": \"repellat\",
    \"employeeFieldId\": \"quaerat\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/accusamus/employee-field-maps"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "externalEmployeeFieldId": "repellat",
    "employeeFieldId": "quaerat"
};

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."
}
 

Request      

GET api/v1/organization/{organizationId}/employee-field-maps

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: accusamus

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
externalEmployeeFieldId   string  optional  

Example: repellat

employeeFieldId   string  optional  

Example: quaerat

Customize an existing global employee field map for a particular organization.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/organization/in/employee-field-maps/reiciendis" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalEmployeeFieldId\": \"non\",
    \"employeeFieldId\": \"mollitia\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/in/employee-field-maps/reiciendis"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "externalEmployeeFieldId": "non",
    "employeeFieldId": "mollitia"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/organization/{organizationId}/employee-field-maps/{employeeFieldMapId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: in

employeeFieldMapId   string   

Example: reiciendis

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
externalEmployeeFieldId   string  optional  

Example: non

employeeFieldId   string  optional  

Example: mollitia

Show an extended employee field map for a particular organization.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organization/aliquam/employee-field-maps/quo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalEmployeeFieldId\": \"sunt\",
    \"employeeFieldId\": \"culpa\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/aliquam/employee-field-maps/quo"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "externalEmployeeFieldId": "sunt",
    "employeeFieldId": "culpa"
};

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."
}
 

Request      

GET api/v1/organization/{organizationId}/employee-field-maps/{employeeFieldMapId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: aliquam

employeeFieldMapId   string   

Example: quo

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
externalEmployeeFieldId   string  optional  

Example: sunt

employeeFieldId   string  optional  

Example: culpa

Revert an extended employee field map for a particular organization.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/organization/omnis/employee-field-maps/odit" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalEmployeeFieldId\": \"aut\",
    \"employeeFieldId\": \"et\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/omnis/employee-field-maps/odit"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "externalEmployeeFieldId": "aut",
    "employeeFieldId": "et"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/organization/{organizationId}/employee-field-maps/{employeeFieldMapId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: omnis

employeeFieldMapId   string   

Example: odit

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
externalEmployeeFieldId   string  optional  

Example: aut

employeeFieldId   string  optional  

Example: et

Customize an existing global employee field map for a particular company.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/company/voluptas/employee-field-maps/aliquam" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalEmployeeFieldId\": \"ducimus\",
    \"employeeFieldId\": \"consequatur\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/voluptas/employee-field-maps/aliquam"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "externalEmployeeFieldId": "ducimus",
    "employeeFieldId": "consequatur"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/company/{companyId}/employee-field-maps/{employeeFieldMapId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: voluptas

employeeFieldMapId   string   

Example: aliquam

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
externalEmployeeFieldId   string  optional  

Example: ducimus

employeeFieldId   string  optional  

Example: consequatur

Revert an extended employee field map for a particular company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company/unde/employee-field-maps/asperiores/revert" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalEmployeeFieldId\": \"esse\",
    \"employeeFieldId\": \"dolor\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/unde/employee-field-maps/asperiores/revert"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "externalEmployeeFieldId": "esse",
    "employeeFieldId": "dolor"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company/{companyId}/employee-field-maps/{employeeFieldMapId}/revert

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: unde

employeeFieldMapId   string   

Example: asperiores

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
externalEmployeeFieldId   string  optional  

Example: esse

employeeFieldId   string  optional  

Example: dolor

Show an extended employee field map for a particular company.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company/aut/employee-field-maps/totam" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalEmployeeFieldId\": \"omnis\",
    \"employeeFieldId\": \"cupiditate\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/aut/employee-field-maps/totam"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "externalEmployeeFieldId": "omnis",
    "employeeFieldId": "cupiditate"
};

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."
}
 

Request      

GET api/v1/company/{companyId}/employee-field-maps/{employeeFieldMapId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: aut

employeeFieldMapId   string   

Example: totam

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
externalEmployeeFieldId   string  optional  

Example: omnis

employeeFieldId   string  optional  

Example: cupiditate

Get employee field maps for a particular company.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company/et/employee-field-maps" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"externalEmployeeFieldId\": \"tenetur\",
    \"employeeFieldId\": \"reiciendis\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/et/employee-field-maps"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "externalEmployeeFieldId": "tenetur",
    "employeeFieldId": "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."
}
 

Request      

GET api/v1/company/{companyId}/employee-field-maps

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: et

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
externalEmployeeFieldId   string  optional  

Example: tenetur

employeeFieldId   string  optional  

Example: reiciendis

PersonalCardProfiles

Customize an existing global personal card profile for an integration.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/external-integration/fugiat/personal-card-profiles/quas" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"ut\",
    \"description\": \"Sapiente sit qui laudantium voluptas omnis architecto excepturi.\",
    \"tabs\": [
        {
            \"order\": 40577.202534807,
            \"personalCardProfileTabId\": \"nihil\",
            \"grids\": [
                {
                    \"order\": 105937.16556,
                    \"personalCardProfileTabGridId\": \"itaque\",
                    \"fieldGroupId\": \"nihil\",
                    \"fields\": [
                        {
                            \"order\": 464910.04717,
                            \"fieldId\": \"possimus\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/fugiat/personal-card-profiles/quas"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "ut",
    "description": "Sapiente sit qui laudantium voluptas omnis architecto excepturi.",
    "tabs": [
        {
            "order": 40577.202534807,
            "personalCardProfileTabId": "nihil",
            "grids": [
                {
                    "order": 105937.16556,
                    "personalCardProfileTabGridId": "itaque",
                    "fieldGroupId": "nihil",
                    "fields": [
                        {
                            "order": 464910.04717,
                            "fieldId": "possimus"
                        }
                    ]
                }
            ]
        }
    ]
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/external-integration/{externalIntegrationId}/personal-card-profiles/{personalCardProfileId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

externalIntegrationId   string   

Example: fugiat

personalCardProfileId   string   

Example: quas

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: ut

description   string  optional  

Example: Sapiente sit qui laudantium voluptas omnis architecto excepturi.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 40577.202534807

personalCardProfileTabId   string   

Example: nihil

grids   object[]   
order   number   

Example: 105937.16556

personalCardProfileTabGridId   string   

Example: itaque

fieldGroupId   string  optional  

Example: nihil

fields   object[]  optional  
order   number   

Example: 464910.04717

fieldId   string   

Example: possimus

Revert an extended personal card profile for an integration.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/external-integration/iure/personal-card-profiles/aliquid/revert" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"et\",
    \"description\": \"Dolorem qui praesentium quia dolorem maiores expedita.\",
    \"tabs\": [
        {
            \"order\": 1,
            \"personalCardProfileTabId\": \"omnis\",
            \"grids\": [
                {
                    \"order\": 23.26744221,
                    \"personalCardProfileTabGridId\": \"ab\",
                    \"fieldGroupId\": \"dolor\",
                    \"fields\": [
                        {
                            \"order\": 15858,
                            \"fieldId\": \"non\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/iure/personal-card-profiles/aliquid/revert"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "et",
    "description": "Dolorem qui praesentium quia dolorem maiores expedita.",
    "tabs": [
        {
            "order": 1,
            "personalCardProfileTabId": "omnis",
            "grids": [
                {
                    "order": 23.26744221,
                    "personalCardProfileTabGridId": "ab",
                    "fieldGroupId": "dolor",
                    "fields": [
                        {
                            "order": 15858,
                            "fieldId": "non"
                        }
                    ]
                }
            ]
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/external-integration/{externalIntegrationId}/personal-card-profiles/{personalCardProfileId}/revert

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

externalIntegrationId   string   

Example: iure

personalCardProfileId   string   

Example: aliquid

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: et

description   string  optional  

Example: Dolorem qui praesentium quia dolorem maiores expedita.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 1

personalCardProfileTabId   string   

Example: omnis

grids   object[]   
order   number   

Example: 23.26744221

personalCardProfileTabGridId   string   

Example: ab

fieldGroupId   string  optional  

Example: dolor

fields   object[]  optional  
order   number   

Example: 15858

fieldId   string   

Example: non

Show an extended personal card profile for an integration.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/external-integration/iure/personal-card-profiles/quae" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"deleniti\",
    \"description\": \"Inventore molestiae voluptatum veniam deleniti.\",
    \"tabs\": [
        {
            \"order\": 4310926.585052,
            \"personalCardProfileTabId\": \"optio\",
            \"grids\": [
                {
                    \"order\": 0,
                    \"personalCardProfileTabGridId\": \"ipsam\",
                    \"fieldGroupId\": \"sed\",
                    \"fields\": [
                        {
                            \"order\": 383316.2,
                            \"fieldId\": \"est\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/iure/personal-card-profiles/quae"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "deleniti",
    "description": "Inventore molestiae voluptatum veniam deleniti.",
    "tabs": [
        {
            "order": 4310926.585052,
            "personalCardProfileTabId": "optio",
            "grids": [
                {
                    "order": 0,
                    "personalCardProfileTabGridId": "ipsam",
                    "fieldGroupId": "sed",
                    "fields": [
                        {
                            "order": 383316.2,
                            "fieldId": "est"
                        }
                    ]
                }
            ]
        }
    ]
};

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."
}
 

Request      

GET api/v1/external-integration/{externalIntegrationId}/personal-card-profiles/{personalCardProfileId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

externalIntegrationId   string   

Example: iure

personalCardProfileId   string   

Example: quae

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: deleniti

description   string  optional  

Example: Inventore molestiae voluptatum veniam deleniti.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 4310926.585052

personalCardProfileTabId   string   

Example: optio

grids   object[]   
order   number   

Example: 0

personalCardProfileTabGridId   string   

Example: ipsam

fieldGroupId   string  optional  

Example: sed

fields   object[]  optional  
order   number   

Example: 383316.2

fieldId   string   

Example: est

Get extended personal card profiles for an integration.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/external-integration/necessitatibus/personal-card-profiles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"quisquam\",
    \"description\": \"Doloribus aut et aliquid iure et.\",
    \"tabs\": [
        {
            \"order\": 5394446.81971752,
            \"personalCardProfileTabId\": \"voluptatum\",
            \"grids\": [
                {
                    \"order\": 236237.04926,
                    \"personalCardProfileTabGridId\": \"accusantium\",
                    \"fieldGroupId\": \"explicabo\",
                    \"fields\": [
                        {
                            \"order\": 3471358.53,
                            \"fieldId\": \"earum\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/external-integration/necessitatibus/personal-card-profiles"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "quisquam",
    "description": "Doloribus aut et aliquid iure et.",
    "tabs": [
        {
            "order": 5394446.81971752,
            "personalCardProfileTabId": "voluptatum",
            "grids": [
                {
                    "order": 236237.04926,
                    "personalCardProfileTabGridId": "accusantium",
                    "fieldGroupId": "explicabo",
                    "fields": [
                        {
                            "order": 3471358.53,
                            "fieldId": "earum"
                        }
                    ]
                }
            ]
        }
    ]
};

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."
}
 

Request      

GET api/v1/external-integration/{externalIntegrationId}/personal-card-profiles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

externalIntegrationId   string   

Example: necessitatibus

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: quisquam

description   string  optional  

Example: Doloribus aut et aliquid iure et.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 5394446.8197175

personalCardProfileTabId   string   

Example: voluptatum

grids   object[]   
order   number   

Example: 236237.04926

personalCardProfileTabGridId   string   

Example: accusantium

fieldGroupId   string  optional  

Example: explicabo

fields   object[]  optional  
order   number   

Example: 3471358.53

fieldId   string   

Example: earum

Customize an existing global personal card profile for an organization.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/organization/omnis/personal-card-profiles/eum" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"voluptatem\",
    \"description\": \"Vel iure deserunt neque deserunt veniam doloribus labore molestiae.\",
    \"tabs\": [
        {
            \"order\": 18693.1599,
            \"personalCardProfileTabId\": \"occaecati\",
            \"grids\": [
                {
                    \"order\": 45448.6,
                    \"personalCardProfileTabGridId\": \"vitae\",
                    \"fieldGroupId\": \"possimus\",
                    \"fields\": [
                        {
                            \"order\": 5737645.30019053,
                            \"fieldId\": \"libero\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/omnis/personal-card-profiles/eum"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "voluptatem",
    "description": "Vel iure deserunt neque deserunt veniam doloribus labore molestiae.",
    "tabs": [
        {
            "order": 18693.1599,
            "personalCardProfileTabId": "occaecati",
            "grids": [
                {
                    "order": 45448.6,
                    "personalCardProfileTabGridId": "vitae",
                    "fieldGroupId": "possimus",
                    "fields": [
                        {
                            "order": 5737645.30019053,
                            "fieldId": "libero"
                        }
                    ]
                }
            ]
        }
    ]
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/organization/{organizationId}/personal-card-profiles/{personalCardProfileId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: omnis

personalCardProfileId   string   

Example: eum

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: voluptatem

description   string  optional  

Example: Vel iure deserunt neque deserunt veniam doloribus labore molestiae.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 18693.1599

personalCardProfileTabId   string   

Example: occaecati

grids   object[]   
order   number   

Example: 45448.6

personalCardProfileTabGridId   string   

Example: vitae

fieldGroupId   string  optional  

Example: possimus

fields   object[]  optional  
order   number   

Example: 5737645.3001905

fieldId   string   

Example: libero

Revert an extended personal card profile for an organization.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/organization/quos/personal-card-profiles/in/revert" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"id\",
    \"description\": \"Veniam aut quisquam delectus quo voluptas dolorum.\",
    \"tabs\": [
        {
            \"order\": 99267,
            \"personalCardProfileTabId\": \"dicta\",
            \"grids\": [
                {
                    \"order\": 130258.5963,
                    \"personalCardProfileTabGridId\": \"occaecati\",
                    \"fieldGroupId\": \"ducimus\",
                    \"fields\": [
                        {
                            \"order\": 0.8516,
                            \"fieldId\": \"sit\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/quos/personal-card-profiles/in/revert"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "id",
    "description": "Veniam aut quisquam delectus quo voluptas dolorum.",
    "tabs": [
        {
            "order": 99267,
            "personalCardProfileTabId": "dicta",
            "grids": [
                {
                    "order": 130258.5963,
                    "personalCardProfileTabGridId": "occaecati",
                    "fieldGroupId": "ducimus",
                    "fields": [
                        {
                            "order": 0.8516,
                            "fieldId": "sit"
                        }
                    ]
                }
            ]
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/organization/{organizationId}/personal-card-profiles/{personalCardProfileId}/revert

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: quos

personalCardProfileId   string   

Example: in

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: id

description   string  optional  

Example: Veniam aut quisquam delectus quo voluptas dolorum.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 99267

personalCardProfileTabId   string   

Example: dicta

grids   object[]   
order   number   

Example: 130258.5963

personalCardProfileTabGridId   string   

Example: occaecati

fieldGroupId   string  optional  

Example: ducimus

fields   object[]  optional  
order   number   

Example: 0.8516

fieldId   string   

Example: sit

Show an extended personal card profile for an organization.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organization/quod/personal-card-profiles/exercitationem" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"voluptatem\",
    \"description\": \"Error ut illo laboriosam nihil aut enim delectus aut.\",
    \"tabs\": [
        {
            \"order\": 35.756475,
            \"personalCardProfileTabId\": \"nobis\",
            \"grids\": [
                {
                    \"order\": 198041.188,
                    \"personalCardProfileTabGridId\": \"non\",
                    \"fieldGroupId\": \"dolorem\",
                    \"fields\": [
                        {
                            \"order\": 16804421.0237242,
                            \"fieldId\": \"culpa\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/quod/personal-card-profiles/exercitationem"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "voluptatem",
    "description": "Error ut illo laboriosam nihil aut enim delectus aut.",
    "tabs": [
        {
            "order": 35.756475,
            "personalCardProfileTabId": "nobis",
            "grids": [
                {
                    "order": 198041.188,
                    "personalCardProfileTabGridId": "non",
                    "fieldGroupId": "dolorem",
                    "fields": [
                        {
                            "order": 16804421.0237242,
                            "fieldId": "culpa"
                        }
                    ]
                }
            ]
        }
    ]
};

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."
}
 

Request      

GET api/v1/organization/{organizationId}/personal-card-profiles/{personalCardProfileId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: quod

personalCardProfileId   string   

Example: exercitationem

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: voluptatem

description   string  optional  

Example: Error ut illo laboriosam nihil aut enim delectus aut.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 35.756475

personalCardProfileTabId   string   

Example: nobis

grids   object[]   
order   number   

Example: 198041.188

personalCardProfileTabGridId   string   

Example: non

fieldGroupId   string  optional  

Example: dolorem

fields   object[]  optional  
order   number   

Example: 16804421.023724

fieldId   string   

Example: culpa

Get extended personal card profiles for an organization.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organization/incidunt/personal-card-profiles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"hic\",
    \"description\": \"Dolores minima laborum veritatis sit quae.\",
    \"tabs\": [
        {
            \"order\": 98.44,
            \"personalCardProfileTabId\": \"sunt\",
            \"grids\": [
                {
                    \"order\": 5147.358,
                    \"personalCardProfileTabGridId\": \"rerum\",
                    \"fieldGroupId\": \"eveniet\",
                    \"fields\": [
                        {
                            \"order\": 18827.137,
                            \"fieldId\": \"sit\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/organization/incidunt/personal-card-profiles"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "hic",
    "description": "Dolores minima laborum veritatis sit quae.",
    "tabs": [
        {
            "order": 98.44,
            "personalCardProfileTabId": "sunt",
            "grids": [
                {
                    "order": 5147.358,
                    "personalCardProfileTabGridId": "rerum",
                    "fieldGroupId": "eveniet",
                    "fields": [
                        {
                            "order": 18827.137,
                            "fieldId": "sit"
                        }
                    ]
                }
            ]
        }
    ]
};

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."
}
 

Request      

GET api/v1/organization/{organizationId}/personal-card-profiles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: incidunt

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: hic

description   string  optional  

Example: Dolores minima laborum veritatis sit quae.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 98.44

personalCardProfileTabId   string   

Example: sunt

grids   object[]   
order   number   

Example: 5147.358

personalCardProfileTabGridId   string   

Example: rerum

fieldGroupId   string  optional  

Example: eveniet

fields   object[]  optional  
order   number   

Example: 18827.137

fieldId   string   

Example: sit

Customize an existing global personal card profile for a company.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/company/quod/personal-card-profiles/non" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"numquam\",
    \"description\": \"Tenetur et commodi at aut.\",
    \"tabs\": [
        {
            \"order\": 37668.618,
            \"personalCardProfileTabId\": \"dolorem\",
            \"grids\": [
                {
                    \"order\": 2808415.268,
                    \"personalCardProfileTabGridId\": \"quasi\",
                    \"fieldGroupId\": \"ut\",
                    \"fields\": [
                        {
                            \"order\": 54.6,
                            \"fieldId\": \"incidunt\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/quod/personal-card-profiles/non"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "numquam",
    "description": "Tenetur et commodi at aut.",
    "tabs": [
        {
            "order": 37668.618,
            "personalCardProfileTabId": "dolorem",
            "grids": [
                {
                    "order": 2808415.268,
                    "personalCardProfileTabGridId": "quasi",
                    "fieldGroupId": "ut",
                    "fields": [
                        {
                            "order": 54.6,
                            "fieldId": "incidunt"
                        }
                    ]
                }
            ]
        }
    ]
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/company/{companyId}/personal-card-profiles/{personalCardProfileId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: quod

personalCardProfileId   string   

Example: non

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: numquam

description   string  optional  

Example: Tenetur et commodi at aut.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 37668.618

personalCardProfileTabId   string   

Example: dolorem

grids   object[]   
order   number   

Example: 2808415.268

personalCardProfileTabGridId   string   

Example: quasi

fieldGroupId   string  optional  

Example: ut

fields   object[]  optional  
order   number   

Example: 54.6

fieldId   string   

Example: incidunt

Revert an extended personal card profile for a company.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company/eveniet/personal-card-profiles/expedita/revert" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"qui\",
    \"description\": \"Deleniti aut id eum rem accusantium possimus voluptatem.\",
    \"tabs\": [
        {
            \"order\": 115,
            \"personalCardProfileTabId\": \"laboriosam\",
            \"grids\": [
                {
                    \"order\": 389373159.4034657,
                    \"personalCardProfileTabGridId\": \"vel\",
                    \"fieldGroupId\": \"voluptatem\",
                    \"fields\": [
                        {
                            \"order\": 0,
                            \"fieldId\": \"facilis\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/eveniet/personal-card-profiles/expedita/revert"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "qui",
    "description": "Deleniti aut id eum rem accusantium possimus voluptatem.",
    "tabs": [
        {
            "order": 115,
            "personalCardProfileTabId": "laboriosam",
            "grids": [
                {
                    "order": 389373159.4034657,
                    "personalCardProfileTabGridId": "vel",
                    "fieldGroupId": "voluptatem",
                    "fields": [
                        {
                            "order": 0,
                            "fieldId": "facilis"
                        }
                    ]
                }
            ]
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/company/{companyId}/personal-card-profiles/{personalCardProfileId}/revert

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: eveniet

personalCardProfileId   string   

Example: expedita

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: qui

description   string  optional  

Example: Deleniti aut id eum rem accusantium possimus voluptatem.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 115

personalCardProfileTabId   string   

Example: laboriosam

grids   object[]   
order   number   

Example: 389373159.40347

personalCardProfileTabGridId   string   

Example: vel

fieldGroupId   string  optional  

Example: voluptatem

fields   object[]  optional  
order   number   

Example: 0

fieldId   string   

Example: facilis

Show an extended personal card profile for a company.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company/laudantium/personal-card-profiles/quia" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"libero\",
    \"description\": \"Id autem cupiditate provident dolorem accusamus recusandae.\",
    \"tabs\": [
        {
            \"order\": 14743102.56,
            \"personalCardProfileTabId\": \"dicta\",
            \"grids\": [
                {
                    \"order\": 676317093.7505,
                    \"personalCardProfileTabGridId\": \"consequatur\",
                    \"fieldGroupId\": \"molestiae\",
                    \"fields\": [
                        {
                            \"order\": 586.15483761,
                            \"fieldId\": \"distinctio\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/laudantium/personal-card-profiles/quia"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "libero",
    "description": "Id autem cupiditate provident dolorem accusamus recusandae.",
    "tabs": [
        {
            "order": 14743102.56,
            "personalCardProfileTabId": "dicta",
            "grids": [
                {
                    "order": 676317093.7505,
                    "personalCardProfileTabGridId": "consequatur",
                    "fieldGroupId": "molestiae",
                    "fields": [
                        {
                            "order": 586.15483761,
                            "fieldId": "distinctio"
                        }
                    ]
                }
            ]
        }
    ]
};

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."
}
 

Request      

GET api/v1/company/{companyId}/personal-card-profiles/{personalCardProfileId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: laudantium

personalCardProfileId   string   

Example: quia

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: libero

description   string  optional  

Example: Id autem cupiditate provident dolorem accusamus recusandae.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 14743102.56

personalCardProfileTabId   string   

Example: dicta

grids   object[]   
order   number   

Example: 676317093.7505

personalCardProfileTabGridId   string   

Example: consequatur

fieldGroupId   string  optional  

Example: molestiae

fields   object[]  optional  
order   number   

Example: 586.15483761

fieldId   string   

Example: distinctio

Get extended personal card profiles for a company.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/company/beatae/personal-card-profiles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"dolor\",
    \"description\": \"Alias rem officiis porro corrupti delectus error qui esse.\",
    \"tabs\": [
        {
            \"order\": 29526.81,
            \"personalCardProfileTabId\": \"rerum\",
            \"grids\": [
                {
                    \"order\": 4476.059749,
                    \"personalCardProfileTabGridId\": \"explicabo\",
                    \"fieldGroupId\": \"error\",
                    \"fields\": [
                        {
                            \"order\": 71218781.4178,
                            \"fieldId\": \"odio\"
                        }
                    ]
                }
            ]
        }
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/company/beatae/personal-card-profiles"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "dolor",
    "description": "Alias rem officiis porro corrupti delectus error qui esse.",
    "tabs": [
        {
            "order": 29526.81,
            "personalCardProfileTabId": "rerum",
            "grids": [
                {
                    "order": 4476.059749,
                    "personalCardProfileTabGridId": "explicabo",
                    "fieldGroupId": "error",
                    "fields": [
                        {
                            "order": 71218781.4178,
                            "fieldId": "odio"
                        }
                    ]
                }
            ]
        }
    ]
};

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."
}
 

Request      

GET api/v1/company/{companyId}/personal-card-profiles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: beatae

Body Parameters

companyId   string  optional  
parentId   string  optional  
isGlobal   string  optional  
externalIntegrationId   string  optional  
organizationId   string  optional  
name   string  optional  

Example: dolor

description   string  optional  

Example: Alias rem officiis porro corrupti delectus error qui esse.

translations   object  optional  

The data must be a valid translation object.

tabs   object[]   
order   number   

Example: 29526.81

personalCardProfileTabId   string   

Example: rerum

grids   object[]   
order   number   

Example: 4476.059749

personalCardProfileTabGridId   string   

Example: explicabo

fieldGroupId   string  optional  

Example: error

fields   object[]  optional  
order   number   

Example: 71218781.4178

fieldId   string   

Example: odio

Organization

List companies that can be used as parent companies in an organization (Stability Score: 0.5)

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/organizations/illo/available-parents?include=companies" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/organizations/illo/available-parents"
);

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."
}
 

Request      

GET api/v1/organizations/{organizationId}/available-parents

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

organizationId   string   

Example: illo

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies

Import

List companies for an Agda connection (Stability Score: 0.3)

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/import/agda-company-list/sit" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/import/agda-company-list/sit"
);

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."
}
 

Request      

GET api/v1/import/agda-company-list/{agdaConnectionId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

agdaConnectionId   string   

Example: sit

Import company details (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/import/company" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"quasi\",
    \"companyIntegrationId\": \"omnis\",
    \"async\": false
}"
const url = new URL(
    "http://localhost:8000/api/v1/import/company"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "companyId": "quasi",
    "companyIntegrationId": "omnis",
    "async": false
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/import/company

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

companyId   string   

Example: quasi

companyIntegrationId   string   

Example: omnis

async   boolean  optional  

Example: false

Import employees (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/import/employees" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"dicta\",
    \"companyIntegrationId\": \"at\",
    \"async\": false
}"
const url = new URL(
    "http://localhost:8000/api/v1/import/employees"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "companyId": "dicta",
    "companyIntegrationId": "at",
    "async": false
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/import/employees

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

companyId   string   

Example: dicta

companyIntegrationId   string   

Example: at

async   boolean  optional  

Example: false

Import roles (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/import/roles" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"eaque\",
    \"companyIntegrationId\": \"voluptatem\",
    \"async\": true
}"
const url = new URL(
    "http://localhost:8000/api/v1/import/roles"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "companyId": "eaque",
    "companyIntegrationId": "voluptatem",
    "async": true
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/import/roles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

companyId   string   

Example: eaque

companyIntegrationId   string   

Example: voluptatem

async   boolean  optional  

Example: true

Import transactions. (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/import/transactions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"veritatis\",
    \"companyIntegrationId\": \"possimus\",
    \"period\": \"1652106\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/import/transactions"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "companyId": "veritatis",
    "companyIntegrationId": "possimus",
    "period": "1652106"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/import/transactions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

companyId   string   

Example: veritatis

companyIntegrationId   string   

Example: possimus

period   string   

Must match the regex /^[1-9][0-9]{3}(0[1-9]|1[0-2])[0-9]$/. Example: 1652106

Import salary types.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/import/salary-types" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"architecto\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/import/salary-types"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "companyId": "architecto"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/import/salary-types

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

companyId   string   

Example: architecto

Import transactions to the cloud.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Request      

POST api/v1/import/cloud/transactions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Employee

Transfer Changes

requires authentication

This endpoint lets you transfer changes to the employee document

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/employees/transfer-changes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/employees/transfer-changes"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/employees/transfer-changes

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Export

Export employees (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/export/employees" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"companyId\": \"aperiam\",
    \"companyIntegrationId\": \"quaerat\",
    \"recordIds\": [
        \"doloremque\"
    ]
}"
const url = new URL(
    "http://localhost:8000/api/v1/export/employees"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "companyId": "aperiam",
    "companyIntegrationId": "quaerat",
    "recordIds": [
        "doloremque"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/export/employees

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

companyId   string  optional  

Example: aperiam

companyIntegrationId   string  optional  

Example: quaerat

recordIds   string[]   

Cache

Refresh the cache.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Request      

POST api/v1/cache/refresh

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Warm the cache.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Request      

POST api/v1/cache/warm

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Clear the cache.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Request      

POST api/v1/cache/clear

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Real Time

Generate connection token for Centrifugo.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/real-time/connection-token

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Generate subscription token for Centrifugo.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/real-time/subscription-token" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"channel\": \"fuga\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/real-time/subscription-token"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "channel": "fuga"
};

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."
}
 

Request      

GET api/v1/real-time/subscription-token

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

channel   string   

Example: fuga

EndpointPermissions

Add/update an endpoint permission to/in an endpoint permission group. (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/distinctio/assign" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"endpoint_id\": 12,
    \"permission\": \"100\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/distinctio/assign"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "endpoint_id": 12,
    "permission": "100"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/permissions/endpoint-permission-groups/{endpointPermissionGroupId}/assign

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

endpointPermissionGroupId   string   

Example: distinctio

Body Parameters

endpoint_id   integer   

The id of an existing record in the endpoints table. Example: 12

permission   number   

Must match the regex /^[0-1]{3}$/. Example: 100

Remove and endpoint permission from an endpoint permission group. (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/sint/remove" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"endpoint_id\": 19
}"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/sint/remove"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "endpoint_id": 19
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/permissions/endpoint-permission-groups/{endpointPermissionGroupId}/remove

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

endpointPermissionGroupId   string   

Example: sint

Body Parameters

endpoint_id   integer   

The endpoint_id of an existing record in the endpoint_permission_group_permissions table. Example: 19

Get all available endpoints. (Stability Score: 0.1)

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/permissions/endpoints" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoints"
);

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."
}
 

Request      

GET api/v1/permissions/endpoints

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Roles

Attach a personal card profile to a role.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/role-profiles/attach" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"role_id\": 473693617.28223,
    \"personal_card_profile_id\": \"quia\",
    \"company_id\": \"quia\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/role-profiles/attach"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "role_id": 473693617.28223,
    "personal_card_profile_id": "quia",
    "company_id": "quia"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/role-profiles/attach

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

role_id   number   

The id of an existing record in the roles table. Example: 473693617.28223

personal_card_profile_id   string   

Example: quia

company_id   string  optional  

Example: quia

Detach a personal card profile from a role.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/role-profiles/detach" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"role_id\": 6.567503709,
    \"personal_card_profile_id\": \"et\",
    \"company_id\": \"nam\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/role-profiles/detach"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "role_id": 6.567503709,
    "personal_card_profile_id": "et",
    "company_id": "nam"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/role-profiles/detach

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

role_id   number   

The id of an existing record in the roles table. Example: 6.567503709

personal_card_profile_id   string   

Example: et

company_id   string  optional  

Example: nam

Ability

Assign a role to a user. (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/abilities/roles/1/assign" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/abilities/roles/1/assign"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/abilities/roles/{roleId}/assign

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

roleId   integer   

Example: 1

Retract a role from a user. (Stability Score: 0.1)

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/abilities/roles/1/retract" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/abilities/roles/1/retract"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/abilities/roles/{roleId}/retract

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

roleId   integer   

Example: 1

Endpoints

Refresh endpoints list. (Stability Score: 0.5)

requires authentication

This endpoint lets you refresh the endpoints list.

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/refresh-endpoints" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/refresh-endpoints"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/refresh-endpoints

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Endpoints

All other endpoints

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/search" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/search"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Creates a batch of new resources in a transaction-safe way.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": []
}"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/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());

Request      

POST api/v1/permissions/endpoint-permission-groups/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

resources   object   

Update a batch of resources in a transaction-safe way.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": []
}"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/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());

Request      

PATCH api/v1/permissions/endpoint-permission-groups/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

resources   object   

Deletes a batch of resources in a transaction-safe way.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/permissions/endpoint-permission-groups/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Fetches the list of resources.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/permissions/endpoint-permission-groups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permission-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."
}
 

Request      

GET api/v1/permissions/endpoint-permission-groups

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Creates new resource in a transaction-safe way.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/permissions/endpoint-permission-groups

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Fetches resource.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/natus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/natus"
);

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."
}
 

Request      

GET api/v1/permissions/endpoint-permission-groups/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the endpoint permission group. Example: natus

Update a resource in a transaction-safe way.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/sapiente" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/sapiente"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/permissions/endpoint-permission-groups/{id}

PATCH api/v1/permissions/endpoint-permission-groups/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the endpoint permission group. Example: sapiente

Deletes a resource.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/in" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permission-groups/in"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/permissions/endpoint-permission-groups/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the endpoint permission group. Example: in

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/search" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/search"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Creates a batch of new resources in a transaction-safe way.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": []
}"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/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());

Request      

POST api/v1/permissions/endpoint-permissions/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

resources   object   

Update a batch of resources in a transaction-safe way.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": []
}"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/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());

Request      

PATCH api/v1/permissions/endpoint-permissions/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

resources   object   

Deletes a batch of resources in a transaction-safe way.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/permissions/endpoint-permissions/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Fetches the list of resources.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/permissions/endpoint-permissions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permissions"
);

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."
}
 

Request      

GET api/v1/permissions/endpoint-permissions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Creates new resource in a transaction-safe way.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/permissions/endpoint-permissions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permissions"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/permissions/endpoint-permissions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Fetches resource.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/permissions/endpoint-permissions/nostrum" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/nostrum"
);

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."
}
 

Request      

GET api/v1/permissions/endpoint-permissions/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the endpoint permission. Example: nostrum

Update a resource in a transaction-safe way.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/necessitatibus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/necessitatibus"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/permissions/endpoint-permissions/{id}

PATCH api/v1/permissions/endpoint-permissions/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the endpoint permission. Example: necessitatibus

Deletes a resource.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/consequuntur" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/permissions/endpoint-permissions/consequuntur"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/permissions/endpoint-permissions/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the endpoint permission. Example: consequuntur

Creates a batch of new resources in a transaction-safe way.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/pg-users/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": []
}"
const url = new URL(
    "http://localhost:8000/api/v1/pg-users/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());

Request      

POST api/v1/pg-users/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

resources   object   

Update a batch of resources in a transaction-safe way.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/pg-users/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"resources\": []
}"
const url = new URL(
    "http://localhost:8000/api/v1/pg-users/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());

Request      

PATCH api/v1/pg-users/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

resources   object   

Deletes a batch of resources in a transaction-safe way.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/pg-users/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pg-users/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/pg-users/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Restores a batch of resources in a transaction-safe way.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/pg-users/batch/restore" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pg-users/batch/restore"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/pg-users/batch/restore

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Creates a batch of new resources in a transaction-safe way.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Request      

POST api/v1/abilities/roles/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

resources   object   

Update a batch of resources in a transaction-safe way.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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:8000/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());

Request      

PATCH api/v1/abilities/roles/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

resources   object   

Deletes a batch of resources in a transaction-safe way.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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:8000/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());

Request      

DELETE api/v1/abilities/roles/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Fetches the list of resources.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/abilities/roles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Creates new resource in a transaction-safe way.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Request      

POST api/v1/abilities/roles

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Fetches resource.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/abilities/roles/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the role. Example: 1

Update a resource in a transaction-safe way.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/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:8000/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());

Request      

PUT api/v1/abilities/roles/{id}

PATCH api/v1/abilities/roles/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the role. Example: 1

Deletes a resource.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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:8000/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());

Request      

DELETE api/v1/abilities/roles/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the role. Example: 1

Orion Endpoints

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Creates a batch of new resources in a transaction-safe way.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Request      

POST api/v1/orion/transactions/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

resources   object   

Update a batch of resources in a transaction-safe way.

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/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:8000/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());

Request      

PATCH api/v1/orion/transactions/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

resources   object   

Deletes a batch of resources in a transaction-safe way.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/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:8000/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());

Request      

DELETE api/v1/orion/transactions/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Fetches the list of resources.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/v1/orion/transactions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Creates new resource in a transaction-safe way.

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/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:8000/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());

Request      

POST api/v1/orion/transactions

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

Fetches resource.

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/orion/transactions/maxime" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/orion/transactions/maxime"
);

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."
}
 

Request      

GET api/v1/orion/transactions/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the transaction. Example: maxime

Update a resource in a transaction-safe way.

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/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:8000/api/v1/orion/transactions/et"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/orion/transactions/{id}

PATCH api/v1/orion/transactions/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the transaction. Example: et

Deletes a resource.

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/orion/transactions/dolores" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/orion/transactions/dolores"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/orion/transactions/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the transaction. Example: dolores

Uncategorized Endpoints

All other endpoints

GET api/octane-firebase-concurrently

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/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:8000/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."
}
 

Request      

GET api/octane-firebase-concurrently

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

PATCH api/v1/user

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/user" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/user"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PATCH",
    headers,
}).then(response => response.json());

Request      

PATCH api/v1/user

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/admin/createToken

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/admin/createToken" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/admin/createToken"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/admin/createToken

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/websocket

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/websocket" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/websocket"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/websocket

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/queue/jobs

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/queue/jobs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/queue/jobs"
);

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."
}
 

Request      

GET api/v1/queue/jobs

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/queue/jobs/trigger-failing

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/queue/jobs/trigger-failing" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/queue/jobs/trigger-failing"
);

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."
}
 

Request      

GET api/v1/queue/jobs/trigger-failing

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/queue/jobs/{jobId}

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/queue/jobs/voluptatem" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/queue/jobs/voluptatem"
);

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."
}
 

Request      

GET api/v1/queue/jobs/{jobId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

jobId   string   

Example: voluptatem

GET api/v1/queue/jobs_uuid/{jobId}

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/queue/jobs_uuid/sint" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/queue/jobs_uuid/sint"
);

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."
}
 

Request      

GET api/v1/queue/jobs_uuid/{jobId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

jobId   string   

Example: sint

POST api/v1/queue/jobs/{jobId}/retry

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/queue/jobs/cum/retry" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/queue/jobs/cum/retry"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/queue/jobs/{jobId}/retry

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

jobId   string   

Example: cum

POST api/v1/behaviour/dispatch

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/behaviour/dispatch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/behaviour/dispatch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/behaviour/dispatch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/persons/{personId}/merge

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/persons/a/merge?include=companies%2Cemployees" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/persons/a/merge"
);

const params = {
    "include": "companies,employees",
};
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());

Request      

POST api/v1/persons/{personId}/merge

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

personId   string   

Example: a

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,employees

POST api/v1/exports/{exportId}/revert

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/exports/corrupti/revert?include=" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/exports/corrupti/revert"
);

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

Request      

POST api/v1/exports/{exportId}/revert

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

exportId   string   

Example: corrupti

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes.

POST api/v1/companies/{companyId}/employees/apply-changes

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/modi/employees/apply-changes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/companies/modi/employees/apply-changes"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/companies/{companyId}/employees/apply-changes

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: modi

POST api/v1/companies/{companyId}/recalculate-is-draft

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/quia/recalculate-is-draft?include=companies%2CfieldMaps%2CcompanyIntegration%2CcompanyIntegration.externalIntegration%2CparentCompany%2CdefaultGridView%2Ccountry%2Cteams%2CcustomerTypes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/companies/quia/recalculate-is-draft"
);

const params = {
    "include": "companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes",
};
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());

Request      

POST api/v1/companies/{companyId}/recalculate-is-draft

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: quia

Query Parameters

include   string  optional  

Include related resources. Use comma-separated values for multiple includes. Example: companies,fieldMaps,companyIntegration,companyIntegration.externalIntegration,parentCompany,defaultGridView,country,teams,customerTypes

POST api/v1/companies/{companyId}/field-changes

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/inventore/field-changes" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"effectiveDate\": 1,
    \"changeId\": \"eos\",
    \"changeType\": \"delete\",
    \"fieldName\": \"similique\",
    \"oldValue\": \"vero\",
    \"comment\": \"eius\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/inventore/field-changes"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "effectiveDate": 1,
    "changeId": "eos",
    "changeType": "delete",
    "fieldName": "similique",
    "oldValue": "vero",
    "comment": "eius"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/companies/{companyId}/field-changes

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: inventore

Body Parameters

effectiveDate   number  optional  

This field is required unless changeType is in delete. Must be between 0 and 2147483647. Example: 1

changeId   string  optional  

Example: eos

changeType   string  optional  

Example: delete

Must be one of:
  • delete
fieldName   string   

Example: similique

newValue   string  optional  

This field is required unless changeType is in delete.

oldValue   string  optional  

Example: vero

comment   string  optional  

Example: eius

changedBy   string  optional  
changedDate   string  optional  
approved   string  optional  
status   string  optional  

POST api/v1/companies/{companyId}/field-changes/batch

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/companies/amet/field-changes/batch" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"effectiveDate\": 1,
    \"changeId\": \"enim\",
    \"changeType\": \"delete\",
    \"fieldName\": \"neque\",
    \"oldValue\": \"ea\",
    \"comment\": \"et\"
}"
const url = new URL(
    "http://localhost:8000/api/v1/companies/amet/field-changes/batch"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "effectiveDate": 1,
    "changeId": "enim",
    "changeType": "delete",
    "fieldName": "neque",
    "oldValue": "ea",
    "comment": "et"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/companies/{companyId}/field-changes/batch

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

companyId   string   

Example: amet

Body Parameters

effectiveDate   number  optional  

This field is required unless changeType is in delete. Must be between 0 and 2147483647. Example: 1

changeId   string  optional  

Example: enim

changeType   string  optional  

Example: delete

Must be one of:
  • delete
fieldName   string   

Example: neque

newValue   string  optional  

This field is required unless changeType is in delete.

oldValue   string  optional  

Example: ea

comment   string  optional  

Example: et

changedBy   string  optional  
changedDate   string  optional  
approved   string  optional  
status   string  optional  

POST api/v1/company-transfer

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/company-transfer" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/company-transfer"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/company-transfer

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/pg-users/search" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pg-users/search"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

GET api/v1/pg-users

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/pg-users" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pg-users"
);

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."
}
 

Request      

GET api/v1/pg-users

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/pg-users

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/pg-users" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pg-users"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/pg-users

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/pg-users/{id}

requires authentication

Example request:
curl --request GET \
    --get "http://localhost:8000/api/v1/pg-users/eum" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pg-users/eum"
);

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."
}
 

Request      

GET api/v1/pg-users/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the pg user. Example: eum

PUT api/v1/pg-users/{id}

requires authentication

Example request:
curl --request PUT \
    "http://localhost:8000/api/v1/pg-users/consequuntur" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pg-users/consequuntur"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/pg-users/{id}

PATCH api/v1/pg-users/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the pg user. Example: consequuntur

DELETE api/v1/pg-users/{id}

requires authentication

Example request:
curl --request DELETE \
    "http://localhost:8000/api/v1/pg-users/consequatur" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pg-users/consequatur"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/pg-users/{id}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the pg user. Example: consequatur

POST api/v1/pg-users/{pg_user}/restore

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/pg-users/voluptatem/restore" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/pg-users/voluptatem/restore"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/pg-users/{pg_user}/restore

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

pg_user   string   

Example: voluptatem

requires authentication

Example request:
curl --request POST \
    "http://localhost:8000/api/v1/role-profiles/search" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/role-profiles/search"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

PATCH api/v1/role-profiles/{roleProfileId}

requires authentication

Example request:
curl --request PATCH \
    "http://localhost:8000/api/v1/role-profiles/error" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/v1/role-profiles/error"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PATCH",
    headers,
}).then(response => response.json());

Request      

PATCH api/v1/role-profiles/{roleProfileId}

Headers

Authorization      

Example: Bearer {YOUR_AUTH_KEY}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

roleProfileId   string   

Example: error