Asset Priority Resource¶
Get Priority¶
HTTP Request
GET /api/assetPriority/{id}
📋 Description: Retrieves detailed information about a specific asset priority by its unique identifier, enabling effective asset management and prioritization within your organization.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "displayId": "string",
6 "name": "string",
7 "isDefault": true,
8 "objectAvailable": true,
9 "assetPriorityType": "string",
10 "isDefaultType": true
11}
Update Priority¶
HTTP Request
PUT /api/assetPriority/{id}
📋 Description: Updates the priority level of a specified asset, allowing organizations to effectively manage and optimize resource allocation based on changing business needs.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing the updated asset priority information, including priority level and associated metadata, for the specified asset ID. |
Body Parameters
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "displayId": "string",
6 "name": "string",
7 "isDefault": true,
8 "objectAvailable": true,
9 "assetPriorityType": "string",
10 "isDefaultType": true
11}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1{}
Response Schema
Delete Priority¶
HTTP Request
DELETE /api/assetPriority/{id}
📋 Description: Deletes the specified asset priority identified by the unique ID, ensuring the asset management system remains up-to-date by removing obsolete or irrelevant priorities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
204 |
No Content |
None |
Get All Priority¶
HTTP Request
GET /api/assetPriority
📋 Description: Retrieves the current asset priority settings, enabling users to assess and manage asset allocation effectively within their operational framework.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
isAvailable |
query |
boolean |
false |
Whether the resource is available |
Default Values¶
Parameter |
Default |
Type |
|---|---|---|
isAvailable |
|
query |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "id": 0,
4 "createdBy": "string",
5 "createdAt": "2019-08-24T14:15:22Z",
6 "displayId": "string",
7 "name": "string",
8 "isDefault": true,
9 "objectAvailable": true,
10 "assetPriorityType": "string",
11 "isDefaultType": true
12 }
13]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data transfer object representing the priority level assigned to an asset within the asset management system, facilitating effective resource allocation and decision-making in business operations.] |
|
» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
» createdBy |
string |
false |
none |
Username of who created this resource |
» createdAt |
string(date-time) |
false |
none |
Timestamp when this resource was created |
» displayId |
string |
false |
none |
Unique identifier for the display |
» name |
string |
true |
none |
Name of the resource |
» isDefault |
boolean |
false |
none |
Whether the resource is default |
» objectAvailable |
boolean |
false |
none |
Indicates whether the asset is currently available for allocation or use within the organization. |
» assetPriorityType |
string |
false |
none |
Type of the asset priority |
» isDefaultType |
boolean |
false |
none |
Whether the resource is default |
Create Priority¶
HTTP Request
POST /api/assetPriority
📋 Description: Creates a new asset priority entry, enabling organizations to effectively manage and prioritize their assets based on business needs.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the asset priority configuration data, including priority levels and associated metadata for effective asset management. |
Body Parameters
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "displayId": "string",
6 "name": "string",
7 "isDefault": true,
8 "objectAvailable": true,
9 "assetPriorityType": "string",
10 "isDefaultType": true
11}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
201 |
Created |
Inline |
Example Responses
1{}
Response Schema
Get All Asset Priority Type¶
HTTP Request
GET /api/assetPriority/assetPriorityType
📋 Description: Retrieves a list of asset priority types, providing essential information for effective asset management and prioritization within the organization.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "LOW"
3]