Create a new group measure permission for a group and a measure.
If the group measure permission for the measure and group already exists, it will be updated if necessary.
A JSON object containing group measure permission information.
Successful operation
Successful operation
Unprocessable Content
{- "group": 8,
- "measure": 2,
- "umask": 3
}
{- "success": true,
- "hash": "8980ec7b71226748374f8303610ca0007862be89",
- "data": {
- "hash": "760e72e996147c26d0ed423d9cb6f8ba059ffd4f",
- "umask": 3,
- "created_time": "2022-08-31T13:32:44.000000Z",
- "modified_time": "2022-08-31T13:32:44.000000Z",
- "modified_user_time": "2022-08-31T13:32:44.000000Z",
- "model": "GroupMeasurePermission",
- "group": {
- "id": 8,
- "hash": "ea3987507e605b4ea9275bb34c1a642a257c71fa",
- "name": "Admin group",
- "status": 1,
- "created_time": "2022-08-25T10:17:51.000000Z",
- "modified_time": "2022-08-25T11:51:38.000000Z",
- "modified_user_time": "2022-08-25T11:51:38.000000Z",
- "model": "Group"
}, - "measure": {
- "id": 2,
- "hash": "952d544cd1d50a3937b903ee9f0322808baba201",
- "name": "Turnover",
- "description": "ABC and XYZ analyses, the improvement of the forecast accuracy and the adjustment of order quantities and order rhythms should positively influence the turnover rate of the warehouse and ideally even provide free space for planned expansions in the coming year.",
- "targets": "",
- "assumptions": "",
- "miscellaneous": "",
- "paused": false,
- "locked": false,
- "guarded": false,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-08-22T10:09:17.000000Z",
- "modified_user_time": "2022-08-09T08:40:09.000000Z",
- "model": "Measure"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - "timestamp": 1661952764464
}
Get all group measure permissions of the authenticated hub.
Successful operation
Unprocessable Content
{- "success": true,
- "hash": "e7f94f5fd9f5ad4004f731091912bcda09e5feb6",
- "data": [
- {
- "hash": "0ef71dab2617e031ad1b81f7732e412b16d560c2",
- "umask": 1,
- "created_time": "2022-08-31T13:37:28.000000Z",
- "modified_time": "2022-08-31T13:37:28.000000Z",
- "modified_user_time": "2022-08-31T13:37:28.000000Z",
- "model": "GroupMeasurePermission",
- "group": {
- "id": 3,
- "hash": "4caac5ba4d188182c58634f617317612bcedbeb1",
- "name": "Former employees",
- "status": 1,
- "created_time": "2022-07-04T13:40:49.000000Z",
- "modified_time": "2022-08-22T10:09:16.000000Z",
- "modified_user_time": "2022-07-04T13:40:56.000000Z",
- "model": "Group"
}, - "measure": {
- "id": 5,
- "hash": "e5f3b1bd2d2b84829fe0f8e0104a800f7698c5c9",
- "name": "Supplier Negotiation",
- "description": "In targeted supplier negotiations, the top supplier contracts are to be put to the test and conditions, delivery terms and discount scales are to be improved.",
- "targets": "",
- "assumptions": "",
- "miscellaneous": "",
- "paused": true,
- "locked": true,
- "guarded": false,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-08-22T10:09:17.000000Z",
- "modified_user_time": "2022-08-22T10:09:17.000000Z",
- "model": "Measure"
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - {
- "hash": "760e72e996147c26d0ed423d9cb6f8ba059ffd4f",
- "umask": 3,
- "created_time": "2022-08-31T13:32:44.000000Z",
- "modified_time": "2022-08-31T13:32:44.000000Z",
- "modified_user_time": "2022-08-31T13:32:44.000000Z",
- "model": "GroupMeasurePermission",
- "group": {
- "id": 8,
- "hash": "ea3987507e605b4ea9275bb34c1a642a257c71fa",
- "name": "Admin group",
- "status": 1,
- "created_time": "2022-08-25T10:17:51.000000Z",
- "modified_time": "2022-08-25T11:51:38.000000Z",
- "modified_user_time": "2022-08-25T11:51:38.000000Z",
- "model": "Group"
}, - "measure": {
- "id": 2,
- "hash": "952d544cd1d50a3937b903ee9f0322808baba201",
- "name": "Turnover",
- "description": "ABC and XYZ analyses, the improvement of the forecast accuracy and the adjustment of order quantities and order rhythms should positively influence the turnover rate of the warehouse and ideally even provide free space for planned expansions in the coming year.",
- "targets": "",
- "assumptions": "",
- "miscellaneous": "",
- "paused": false,
- "locked": false,
- "guarded": false,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-08-22T10:09:17.000000Z",
- "modified_user_time": "2022-08-09T08:40:09.000000Z",
- "model": "Measure"
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}
], - "meta": {
- "page": 1,
- "first": 1,
- "last": 2,
- "total": 2,
- "limit": 1000,
- "pages": 1
}, - "timestamp": 1661953054035
}
Get a group measure permission.
Successful operation
Not Found
{- "success": true,
- "hash": "88b447e7dfaa84926a621e0d78c27c6d6e2cda3d",
- "data": {
- "hash": "760e72e996147c26d0ed423d9cb6f8ba059ffd4f",
- "umask": 3,
- "created_time": "2022-08-31T13:32:44.000000Z",
- "modified_time": "2022-08-31T13:32:44.000000Z",
- "modified_user_time": "2022-08-31T13:32:44.000000Z",
- "model": "GroupMeasurePermission",
- "group": {
- "id": 8,
- "hash": "ea3987507e605b4ea9275bb34c1a642a257c71fa",
- "name": "Admin group",
- "status": 1,
- "created_time": "2022-08-25T10:17:51.000000Z",
- "modified_time": "2022-08-25T11:51:38.000000Z",
- "modified_user_time": "2022-08-25T11:51:38.000000Z",
- "model": "Group"
}, - "measure": {
- "id": 2,
- "hash": "952d544cd1d50a3937b903ee9f0322808baba201",
- "name": "Turnover",
- "description": "ABC and XYZ analyses, the improvement of the forecast accuracy and the adjustment of order quantities and order rhythms should positively influence the turnover rate of the warehouse and ideally even provide free space for planned expansions in the coming year.",
- "targets": "",
- "assumptions": "",
- "miscellaneous": "",
- "paused": false,
- "locked": false,
- "guarded": false,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-08-22T10:09:17.000000Z",
- "modified_user_time": "2022-08-09T08:40:09.000000Z",
- "model": "Measure"
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - "timestamp": 1661953481636
}
Update a group measure permission.
Successful operation
Not Found
Unprocessable Content
{- "umask": 0
}
{- "success": true,
- "hash": "3ea3b3b6c0b2c1739f08af915bd58de77a62a4d4",
- "data": {
- "hash": "760e72e996147c26d0ed423d9cb6f8ba059ffd4f",
- "umask": 0,
- "created_time": "2022-08-31T13:32:44.000000Z",
- "modified_time": "2022-08-31T13:46:41.000000Z",
- "modified_user_time": "2022-08-31T13:46:41.000000Z",
- "model": "GroupMeasurePermission",
- "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
}, - "timestamp": 1661953601401
}
Delete a group measure permission.
Successful operation
Not Found
{- "success": true,
- "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
- "data": { },
- "timestamp": 1661433827976
}