Configurations
The user's configuration that stores the user's settings for the application. We can use this configuration to store the user's preferences, settings, and other data.
The id of the user.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEY
Configuration model.
This represents the group code.
GROUP_CODE
This represents the code.
CODE
This represents the name.
Name
This represents the description.
Description
This represents the value.
Value
This enum is used to define the common status of an object in JFW.
Supported values:
The request was successful.
The user was not found in the system.
API call exceeded rate limit due to too many requests.
POST /api/v1/users/{userId}/configurations HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 118
{
"groupCode": "GROUP_CODE",
"code": "CODE",
"name": "Name",
"description": "Description",
"value": "Value",
"status": "Inactive"
}
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"id": "sApKpllz4sAplsmzha",
"groupCode": "GROUP_CODE",
"code": "CODE",
"name": "Name",
"value": "Value",
"description": "Description",
"status": "Active",
"isSystem": false
},
"errors": []
}
The id of the user.
Filter by group code.
Filter by code.
Filter by name.
Filter by description.
Filter by value.
This enum is used to define the common status of an object in JFW.
Supported values:
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEY
The request was successful.
The user was not found in the system.
API call exceeded rate limit due to too many requests.
GET /api/v1/users/{userId}/configurations HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Accept: */*
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": [
{
"id": "sApKpllz4sAplsmzha",
"groupCode": "GROUP_CODE",
"code": "CODE",
"name": "Name",
"value": "Value",
"description": "Description",
"status": "Active",
"isSystem": false
}
],
"errors": []
}
The id of the user.
The id of the configuration.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEY
The request was successful.
The user was not found in the system.
API call exceeded rate limit due to too many requests.
DELETE /api/v1/users/{userId}/configurations/{configurationId} HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Accept: */*
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": true,
"errors": []
}
Last updated
Was this helpful?