Class: ClassificationlevelsResource

ClassificationlevelsResource(client)

Classificationlevels Resource Generated: 2025-04-01T19:44:53.319Z

Constructor

new ClassificationlevelsResource(client)

Create a new Classificationlevels resource

Parameters:
Name Type Description
client ApiClient

API client instance

Source:

Classes

ClassificationlevelsResource
ClassificationlevelsResource

Methods

(async) create(data) → {Promise.<Object>}

Create a new record

Parameters:
Name Type Description
data Object

Record data

Source:
Returns:
  • Created record with data and headers
Type
Promise.<Object>

(async) create(data) → {Promise.<Object>}

Create a new record

Parameters:
Name Type Description
data Object

Record data

Source:
Returns:
  • Created record with data and headers
Type
Promise.<Object>

(async) deleteClassificationlevelsId() → {Promise.<classificationlevel>}

Delete ClassificationLevel (destroy) Delete the ClassificationLevel record with the specified ID.

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) deleteClassificationlevelsId() → {Promise.<classificationlevel>}

Delete ClassificationLevel (destroy) Delete the ClassificationLevel record with the specified ID.

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) deleteClassificationlevelsIdAssociationChildid(association, childid) → {Promise.<classificationlevel>}

Remove from for ClassificationLevel Remove a foreign record from one of this ClassificationLevel record's collections.

Parameters:
Name Type Description
association string

Path parameter

childid string

Path parameter

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) deleteClassificationlevelsIdAssociationChildid(association, childid) → {Promise.<classificationlevel>}

Remove from for ClassificationLevel Remove a foreign record from one of this ClassificationLevel record's collections.

Parameters:
Name Type Description
association string

Path parameter

childid string

Path parameter

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) destroy(id) → {Promise.<Object>}

Delete a record by id

Parameters:
Name Type Description
id string | number

Record id

Source:
Returns:
  • Deletion result with data and headers
Type
Promise.<Object>

(async) destroy(id) → {Promise.<Object>}

Delete a record by id

Parameters:
Name Type Description
id string | number

Record id

Source:
Returns:
  • Deletion result with data and headers
Type
Promise.<Object>

find(criteria) → {QueryChain}

Starts a new query chain with the given criteria

Parameters:
Name Type Description
criteria Object

Filter criteria

Source:
Returns:
  • Query chain for further operations
Type
QueryChain

find(criteria) → {QueryChain}

Starts a new query chain with the given criteria

Parameters:
Name Type Description
criteria Object

Filter criteria

Source:
Returns:
  • Query chain for further operations
Type
QueryChain

findOne(id, populateopt) → {QueryChain|Promise.<Object>}

Find a single record by id

Parameters:
Name Type Attributes Description
id string | number

Record id

populate string | Array.<string> <optional>

Fields to populate

Source:
Returns:
  • Query chain for further operations or found record with data and headers
Type
QueryChain | Promise.<Object>

findOne(id, populateopt) → {QueryChain|Promise.<Object>}

Find a single record by id

Parameters:
Name Type Attributes Description
id string | number

Record id

populate string | Array.<string> <optional>

Fields to populate

Source:
Returns:
  • Query chain for further operations or found record with data and headers
Type
QueryChain | Promise.<Object>

(async) getClassificationlevels(queryopt) → {Promise.<Array.<classificationlevel>>}

List ClassificationLevel (find where) Find a list of ClassificationLevel records that match the specified criteria.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<Array.<classificationlevel>>

(async) getClassificationlevels(queryopt) → {Promise.<Array.<classificationlevel>>}

List ClassificationLevel (find where) Find a list of ClassificationLevel records that match the specified criteria.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<Array.<classificationlevel>>

(async) getClassificationlevelsCount(queryopt) → {Promise.<any>}

Count records Count the number of records that match the specified criteria.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<any>

(async) getClassificationlevelsCount(queryopt) → {Promise.<any>}

Count records Count the number of records that match the specified criteria.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<any>

(async) getClassificationlevelsId(queryopt) → {Promise.<classificationlevel>}

Get ClassificationLevel (find one) Look up the ClassificationLevel record with the specified ID.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) getClassificationlevelsId(queryopt) → {Promise.<classificationlevel>}

Get ClassificationLevel (find one) Look up the ClassificationLevel record with the specified ID.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) getClassificationlevelsIdAssociation(association, queryopt) → {Promise.<Array.<any>>}

Populate association for ClassificationLevel Populate and return foreign record(s) for the given association of this ClassificationLevel record.

Parameters:
Name Type Attributes Description
association string

Path parameter

query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<Array.<any>>

(async) getClassificationlevelsIdAssociation(association, queryopt) → {Promise.<Array.<any>>}

Populate association for ClassificationLevel Populate and return foreign record(s) for the given association of this ClassificationLevel record.

Parameters:
Name Type Attributes Description
association string

Path parameter

query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<Array.<any>>

(async) getClassificationlevelsSum(queryopt) → {Promise.<any>}

Sum field values Calculate the sum of a specified numeric field across filtered records.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<any>

(async) getClassificationlevelsSum(queryopt) → {Promise.<any>}

Sum field values Calculate the sum of a specified numeric field across filtered records.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<any>

(async) patchClassificationlevelsId(data) → {Promise.<classificationlevel>}

Update ClassificationLevel Update an existing ClassificationLevel record.

Parameters:
Name Type Description
data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) patchClassificationlevelsId(data) → {Promise.<classificationlevel>}

Update ClassificationLevel Update an existing ClassificationLevel record.

Parameters:
Name Type Description
data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) postClassificationlevels(data) → {Promise.<classificationlevel>}

Create ClassificationLevel Create a new ClassificationLevel record.

Parameters:
Name Type Description
data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) postClassificationlevels(data) → {Promise.<classificationlevel>}

Create ClassificationLevel Create a new ClassificationLevel record.

Parameters:
Name Type Description
data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) putClassificationlevelsIdAssociation(association, data) → {Promise.<classificationlevel>}

Replace for ClassificationLevel Replace all of the child records in one of this ClassificationLevel record's associations.

Parameters:
Name Type Description
association string

Path parameter

data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) putClassificationlevelsIdAssociation(association, data) → {Promise.<classificationlevel>}

Replace for ClassificationLevel Replace all of the child records in one of this ClassificationLevel record's associations.

Parameters:
Name Type Description
association string

Path parameter

data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) putClassificationlevelsIdAssociationChildid(association, childid) → {Promise.<classificationlevel>}

Add to for ClassificationLevel Add a foreign record to one of this ClassificationLevel record's collections.

Parameters:
Name Type Description
association string

Path parameter

childid string

Path parameter

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) putClassificationlevelsIdAssociationChildid(association, childid) → {Promise.<classificationlevel>}

Add to for ClassificationLevel Add a foreign record to one of this ClassificationLevel record's collections.

Parameters:
Name Type Description
association string

Path parameter

childid string

Path parameter

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) update(id, data) → {Promise.<Object>}

Update a record by id

Parameters:
Name Type Description
id string | number

Record id

data Object

Update data

Source:
Returns:
  • Updated record with data and headers
Type
Promise.<Object>

(async) update(id, data) → {Promise.<Object>}

Update a record by id

Parameters:
Name Type Description
id string | number

Record id

data Object

Update data

Source:
Returns:
  • Updated record with data and headers
Type
Promise.<Object>

ClassificationlevelsResourceClassificationlevelsResource(client)

Classificationlevels Resource Generated: 2025-04-01T19:44:53.319Z

Constructor

new ClassificationlevelsResource(client)

Create a new Classificationlevels resource

Parameters:
Name Type Description
client ApiClient

API client instance

Source:

Classes

ClassificationlevelsResource
ClassificationlevelsResource

Methods

(async) create(data) → {Promise.<Object>}

Create a new record

Parameters:
Name Type Description
data Object

Record data

Source:
Returns:
  • Created record with data and headers
Type
Promise.<Object>

(async) create(data) → {Promise.<Object>}

Create a new record

Parameters:
Name Type Description
data Object

Record data

Source:
Returns:
  • Created record with data and headers
Type
Promise.<Object>

(async) deleteClassificationlevelsId() → {Promise.<classificationlevel>}

Delete ClassificationLevel (destroy) Delete the ClassificationLevel record with the specified ID.

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) deleteClassificationlevelsId() → {Promise.<classificationlevel>}

Delete ClassificationLevel (destroy) Delete the ClassificationLevel record with the specified ID.

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) deleteClassificationlevelsIdAssociationChildid(association, childid) → {Promise.<classificationlevel>}

Remove from for ClassificationLevel Remove a foreign record from one of this ClassificationLevel record's collections.

Parameters:
Name Type Description
association string

Path parameter

childid string

Path parameter

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) deleteClassificationlevelsIdAssociationChildid(association, childid) → {Promise.<classificationlevel>}

Remove from for ClassificationLevel Remove a foreign record from one of this ClassificationLevel record's collections.

Parameters:
Name Type Description
association string

Path parameter

childid string

Path parameter

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) destroy(id) → {Promise.<Object>}

Delete a record by id

Parameters:
Name Type Description
id string | number

Record id

Source:
Returns:
  • Deletion result with data and headers
Type
Promise.<Object>

(async) destroy(id) → {Promise.<Object>}

Delete a record by id

Parameters:
Name Type Description
id string | number

Record id

Source:
Returns:
  • Deletion result with data and headers
Type
Promise.<Object>

find(criteria) → {QueryChain}

Starts a new query chain with the given criteria

Parameters:
Name Type Description
criteria Object

Filter criteria

Source:
Returns:
  • Query chain for further operations
Type
QueryChain

find(criteria) → {QueryChain}

Starts a new query chain with the given criteria

Parameters:
Name Type Description
criteria Object

Filter criteria

Source:
Returns:
  • Query chain for further operations
Type
QueryChain

findOne(id, populateopt) → {QueryChain|Promise.<Object>}

Find a single record by id

Parameters:
Name Type Attributes Description
id string | number

Record id

populate string | Array.<string> <optional>

Fields to populate

Source:
Returns:
  • Query chain for further operations or found record with data and headers
Type
QueryChain | Promise.<Object>

findOne(id, populateopt) → {QueryChain|Promise.<Object>}

Find a single record by id

Parameters:
Name Type Attributes Description
id string | number

Record id

populate string | Array.<string> <optional>

Fields to populate

Source:
Returns:
  • Query chain for further operations or found record with data and headers
Type
QueryChain | Promise.<Object>

(async) getClassificationlevels(queryopt) → {Promise.<Array.<classificationlevel>>}

List ClassificationLevel (find where) Find a list of ClassificationLevel records that match the specified criteria.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<Array.<classificationlevel>>

(async) getClassificationlevels(queryopt) → {Promise.<Array.<classificationlevel>>}

List ClassificationLevel (find where) Find a list of ClassificationLevel records that match the specified criteria.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<Array.<classificationlevel>>

(async) getClassificationlevelsCount(queryopt) → {Promise.<any>}

Count records Count the number of records that match the specified criteria.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<any>

(async) getClassificationlevelsCount(queryopt) → {Promise.<any>}

Count records Count the number of records that match the specified criteria.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<any>

(async) getClassificationlevelsId(queryopt) → {Promise.<classificationlevel>}

Get ClassificationLevel (find one) Look up the ClassificationLevel record with the specified ID.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) getClassificationlevelsId(queryopt) → {Promise.<classificationlevel>}

Get ClassificationLevel (find one) Look up the ClassificationLevel record with the specified ID.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) getClassificationlevelsIdAssociation(association, queryopt) → {Promise.<Array.<any>>}

Populate association for ClassificationLevel Populate and return foreign record(s) for the given association of this ClassificationLevel record.

Parameters:
Name Type Attributes Description
association string

Path parameter

query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<Array.<any>>

(async) getClassificationlevelsIdAssociation(association, queryopt) → {Promise.<Array.<any>>}

Populate association for ClassificationLevel Populate and return foreign record(s) for the given association of this ClassificationLevel record.

Parameters:
Name Type Attributes Description
association string

Path parameter

query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<Array.<any>>

(async) getClassificationlevelsSum(queryopt) → {Promise.<any>}

Sum field values Calculate the sum of a specified numeric field across filtered records.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<any>

(async) getClassificationlevelsSum(queryopt) → {Promise.<any>}

Sum field values Calculate the sum of a specified numeric field across filtered records.

Parameters:
Name Type Attributes Description
query Object <optional>

Query parameters

Source:
Returns:
  • Response with data and headers
Type
Promise.<any>

(async) patchClassificationlevelsId(data) → {Promise.<classificationlevel>}

Update ClassificationLevel Update an existing ClassificationLevel record.

Parameters:
Name Type Description
data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) patchClassificationlevelsId(data) → {Promise.<classificationlevel>}

Update ClassificationLevel Update an existing ClassificationLevel record.

Parameters:
Name Type Description
data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) postClassificationlevels(data) → {Promise.<classificationlevel>}

Create ClassificationLevel Create a new ClassificationLevel record.

Parameters:
Name Type Description
data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) postClassificationlevels(data) → {Promise.<classificationlevel>}

Create ClassificationLevel Create a new ClassificationLevel record.

Parameters:
Name Type Description
data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) putClassificationlevelsIdAssociation(association, data) → {Promise.<classificationlevel>}

Replace for ClassificationLevel Replace all of the child records in one of this ClassificationLevel record's associations.

Parameters:
Name Type Description
association string

Path parameter

data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) putClassificationlevelsIdAssociation(association, data) → {Promise.<classificationlevel>}

Replace for ClassificationLevel Replace all of the child records in one of this ClassificationLevel record's associations.

Parameters:
Name Type Description
association string

Path parameter

data Object

Request body

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) putClassificationlevelsIdAssociationChildid(association, childid) → {Promise.<classificationlevel>}

Add to for ClassificationLevel Add a foreign record to one of this ClassificationLevel record's collections.

Parameters:
Name Type Description
association string

Path parameter

childid string

Path parameter

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) putClassificationlevelsIdAssociationChildid(association, childid) → {Promise.<classificationlevel>}

Add to for ClassificationLevel Add a foreign record to one of this ClassificationLevel record's collections.

Parameters:
Name Type Description
association string

Path parameter

childid string

Path parameter

Source:
Returns:
  • Response with data and headers
Type
Promise.<classificationlevel>

(async) update(id, data) → {Promise.<Object>}

Update a record by id

Parameters:
Name Type Description
id string | number

Record id

data Object

Update data

Source:
Returns:
  • Updated record with data and headers
Type
Promise.<Object>

(async) update(id, data) → {Promise.<Object>}

Update a record by id

Parameters:
Name Type Description
id string | number

Record id

data Object

Update data

Source:
Returns:
  • Updated record with data and headers
Type
Promise.<Object>