GET
/prime/webui/admin/all
Get accounts
Get accounts. Use this to fetch data.
curl example
curl -X GET 'https://<host>/prime/webui/admin/all' \
-H 'Authorization: Bearer <token>'
OpenAPI spec
"get": {
"tags": [
"Admin"
],
"summary": "Get accounts",
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountViewResource"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountViewResource"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountViewResource"
}
}
}
}
}
}
}
GET
/prime/webui/admin/getuploadcustomerlogo
Get customer logo
Get customer logo. Use this to fetch data.
curl example
curl -X GET 'https://<host>/prime/webui/admin/getuploadcustomerlogo' \
-H 'Authorization: Bearer <token>'
OpenAPI spec
"get": {
"tags": [
"Admin"
],
"summary": "Get customer logo",
11
"responses": {
"200": {
"description": "Success"
}
}
}
GET
/prime/webui/admin/SubsystemHealth
Get subsystem health
Get subsystem health. Use this to fetch data.
curl example
curl -X GET 'https://<host>/prime/webui/admin/SubsystemHealth' \
-H 'Authorization: Bearer <token>'
OpenAPI spec
"get": {
"tags": [
"Admin"
],
"summary": "Get subsystem health",
"responses": {
"200": {
"description": "Success"
}
}
}
GET
/prime/webui/admin/systemstatus
Get system status
Get system status. Use this to fetch data.
curl example
curl -X GET 'https://<host>/prime/webui/admin/systemstatus' \
-H 'Authorization: Bearer <token>'
OpenAPI spec
"get": {
"tags": [
"Admin"
],
"summary": "Get system status",
"responses": {
"200": {
"description": "Success"
}
}
}
GET
/prime/webui/admin/getuserdetails
Get user details
Get user details. Use this to fetch data.
curl example
curl -X GET 'https://<host>/prime/webui/admin/getuserdetails' \
-H 'Authorization: Bearer <token>'
OpenAPI spec
"get": {
"tags": [
"Admin"
],
12
"summary": "Get user details",
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/AccountViewResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/AccountViewResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AccountViewResource"
}
}
}
}
}
}
GET
/prime/webui/admin/profile
Get user profile
Get user profile. Use this to fetch data.
curl example
curl -X GET 'https://<host>/prime/webui/admin/profile' \
-H 'Authorization: Bearer <token>'
OpenAPI spec
"get": {
"tags": [
"Admin"
],
"summary": "Get user profile",
"responses": {
"200": {
"description": "Success"
}
}
}
GET
/prime/webui/admin/PrimeVersion
Get version
Get version. Use this to fetch data.
curl example
curl -X GET 'https://<host>/prime/webui/admin/PrimeVersion' \
-H 'Authorization: Bearer <token>'
OpenAPI spec
"get": {
"tags": [
"Admin"
],
"summary": "Get version",
"responses": {
"200": {
"description": "Success"
}
13
}
}
POST
/prime/webui/admin/adduser
Add user
Add user. Use this to create data.
curl example
curl -X POST 'https://<host>/prime/webui/admin/adduser' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{"$ref":"#/components/schemas/AccountViewResource"}'
OpenAPI spec
"post": {
"tags": [
"Admin"
],
"summary": "Add user",
"requestBody": {
"content": {
"application/json -patch+json": {
"schema": {
"$ref": "#/components/schemas/AccountViewResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/AccountViewResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AccountViewResource"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AccountViewResource"
}
}
}
},
"responses": {
"200": {
"description": "Success"
}
}
}
POST
/prime/webui/admin/deleteUsers
Delete users
Delete users. Use this to create data.
curl example
curl -X POST 'https://<host>/prime/webui/admin/deleteUsers' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{}'
OpenAPI spec
"post": {
"tags": [
"Admin"
14
],
"summary": "Delete users",
"requestBody": {
"content": {
"application/json -patch+json": {
"schema": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"application/*+json": {
"schema": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
}
}
},
"responses": {
"200": {
"description": "Success"
}
}
}
POST
/prime/webui/admin/updateuser
Update user
Update user. Use this to create data.
curl example
curl -X POST 'https://<host>/prime/webui/admin/updateuser' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{"$ref":"#/components/schemas/AccountViewResource"}'
OpenAPI spec
"post": {
"tags": [
"Admin"
],
"summary": "Update user",
15
"requestBody": {
"content": {
"application/json -patch+json": {
"schema": {
"$ref": "#/components/schemas/AccountViewResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/AccountViewResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AccountViewResource"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AccountViewResource"
}
}
}
},
"responses": {
"200": {
"description": "Success"
}
}
}
POST
/prime/webui/admin/updateuserdetails
Update user details
Update user details. Use this to create data.
curl example
curl -X POST 'https://<host>/prime/webui/admin/updateuserdetails' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{"$ref":"#/components/schemas/MyAccountUpdateResource"}'
OpenAPI spec
"post": {
"tags": [
"Admin"
],
"summary": "Update user details",
"requestBody": {
"content": {
"application/json -patch+json": {
"schema": {
"$ref": "#/components/schemas/MyAccountUpdateResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/MyAccountUpdateResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/MyAccountUpdateResource"
}
},
"application/*+json": {
16
"schema": {
"$ref": "#/components/schemas/MyAccountUpdateResource"
}
}
}
},
"responses": {
"200": {
"description": "Success"
}
}
}
POST
/prime/webui/admin/uploadcustomerlogo
Upload customer logo
Upload customer logo. Use this to create data.
curl example
curl -X POST 'https://<host>/prime/webui/admin/uploadcustomerlogo' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{}'
OpenAPI spec
"post": {
"tags": [
"Admin"
],
"summary": "Upload customer logo",
"requestBody": {
"content": {
"multipart/form -data": {
"schema": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary",
"nullable": true
}
}
},
"encoding": {
"file": {
"style": "form"
}
}
}
}
},
"responses": {
"200": {
"description": "Success"
}
}
}