Constructor
new ProfessionalcertificationsResource(client)
Create a new Professionalcertifications resource
Parameters:
| Name | Type | Description |
|---|---|---|
client |
ApiClient | API client instance |
Classes
Methods
(async) create(data) → {Promise.<Object>}
Create a new record
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | Record data |
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 |
Returns:
- Created record with data and headers
- Type
- Promise.<Object>
(async) deleteProfessionalcertificationsId() → {Promise.<professionalcertification>}
Delete ProfessionalCertification (destroy) Delete the ProfessionalCertification record with the specified ID.
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) deleteProfessionalcertificationsId() → {Promise.<professionalcertification>}
Delete ProfessionalCertification (destroy) Delete the ProfessionalCertification record with the specified ID.
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) deleteProfessionalcertificationsIdAssociationChildid(association, childid) → {Promise.<professionalcertification>}
Remove from for ProfessionalCertification Remove a foreign record from one of this ProfessionalCertification record's collections.
Parameters:
| Name | Type | Description |
|---|---|---|
association |
string | Path parameter |
childid |
string | Path parameter |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) deleteProfessionalcertificationsIdAssociationChildid(association, childid) → {Promise.<professionalcertification>}
Remove from for ProfessionalCertification Remove a foreign record from one of this ProfessionalCertification record's collections.
Parameters:
| Name | Type | Description |
|---|---|---|
association |
string | Path parameter |
childid |
string | Path parameter |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) destroy(id) → {Promise.<Object>}
Delete a record by id
Parameters:
| Name | Type | Description |
|---|---|---|
id |
string | number | Record id |
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 |
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 |
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 |
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 |
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 |
Returns:
- Query chain for further operations or found record with data and headers
- Type
- QueryChain | Promise.<Object>
(async) getProfessionalcertifications(queryopt) → {Promise.<Array.<professionalcertification>>}
List ProfessionalCertification (find where) Find a list of ProfessionalCertification records that match the specified criteria.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
query |
Object |
<optional> |
Query parameters |
Returns:
- Response with data and headers
- Type
- Promise.<Array.<professionalcertification>>
(async) getProfessionalcertifications(queryopt) → {Promise.<Array.<professionalcertification>>}
List ProfessionalCertification (find where) Find a list of ProfessionalCertification records that match the specified criteria.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
query |
Object |
<optional> |
Query parameters |
Returns:
- Response with data and headers
- Type
- Promise.<Array.<professionalcertification>>
(async) getProfessionalcertificationsCount(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 |
Returns:
- Response with data and headers
- Type
- Promise.<any>
(async) getProfessionalcertificationsCount(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 |
Returns:
- Response with data and headers
- Type
- Promise.<any>
(async) getProfessionalcertificationsId(queryopt) → {Promise.<professionalcertification>}
Get ProfessionalCertification (find one) Look up the ProfessionalCertification record with the specified ID.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
query |
Object |
<optional> |
Query parameters |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) getProfessionalcertificationsId(queryopt) → {Promise.<professionalcertification>}
Get ProfessionalCertification (find one) Look up the ProfessionalCertification record with the specified ID.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
query |
Object |
<optional> |
Query parameters |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) getProfessionalcertificationsIdAssociation(association, queryopt) → {Promise.<Array.<any>>}
Populate association for ProfessionalCertification Populate and return foreign record(s) for the given association of this ProfessionalCertification record.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
association |
string | Path parameter |
|
query |
Object |
<optional> |
Query parameters |
Returns:
- Response with data and headers
- Type
- Promise.<Array.<any>>
(async) getProfessionalcertificationsIdAssociation(association, queryopt) → {Promise.<Array.<any>>}
Populate association for ProfessionalCertification Populate and return foreign record(s) for the given association of this ProfessionalCertification record.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
association |
string | Path parameter |
|
query |
Object |
<optional> |
Query parameters |
Returns:
- Response with data and headers
- Type
- Promise.<Array.<any>>
(async) getProfessionalcertificationsSum(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 |
Returns:
- Response with data and headers
- Type
- Promise.<any>
(async) getProfessionalcertificationsSum(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 |
Returns:
- Response with data and headers
- Type
- Promise.<any>
(async) patchProfessionalcertificationsId(data) → {Promise.<professionalcertification>}
Update ProfessionalCertification Update an existing ProfessionalCertification record.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | Request body |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) patchProfessionalcertificationsId(data) → {Promise.<professionalcertification>}
Update ProfessionalCertification Update an existing ProfessionalCertification record.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | Request body |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) postProfessionalcertifications(data) → {Promise.<professionalcertification>}
Create ProfessionalCertification Create a new ProfessionalCertification record.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | Request body |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) postProfessionalcertifications(data) → {Promise.<professionalcertification>}
Create ProfessionalCertification Create a new ProfessionalCertification record.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | Request body |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) putProfessionalcertificationsIdAssociation(association, data) → {Promise.<professionalcertification>}
Replace for ProfessionalCertification Replace all of the child records in one of this ProfessionalCertification record's associations.
Parameters:
| Name | Type | Description |
|---|---|---|
association |
string | Path parameter |
data |
Object | Request body |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) putProfessionalcertificationsIdAssociation(association, data) → {Promise.<professionalcertification>}
Replace for ProfessionalCertification Replace all of the child records in one of this ProfessionalCertification record's associations.
Parameters:
| Name | Type | Description |
|---|---|---|
association |
string | Path parameter |
data |
Object | Request body |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) putProfessionalcertificationsIdAssociationChildid(association, childid) → {Promise.<professionalcertification>}
Add to for ProfessionalCertification Add a foreign record to one of this ProfessionalCertification record's collections.
Parameters:
| Name | Type | Description |
|---|---|---|
association |
string | Path parameter |
childid |
string | Path parameter |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) putProfessionalcertificationsIdAssociationChildid(association, childid) → {Promise.<professionalcertification>}
Add to for ProfessionalCertification Add a foreign record to one of this ProfessionalCertification record's collections.
Parameters:
| Name | Type | Description |
|---|---|---|
association |
string | Path parameter |
childid |
string | Path parameter |
Returns:
- Response with data and headers
- Type
- Promise.<professionalcertification>
(async) update(id, data) → {Promise.<Object>}
Update a record by id
Parameters:
| Name | Type | Description |
|---|---|---|
id |
string | number | Record id |
data |
Object | Update data |
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 |
Returns:
- Updated record with data and headers
- Type
- Promise.<Object>