Create a new group measure package permission for a group and a measure package.
If the group measure package permission for the package and group already exists, it will be updated if necessary.
A JSON object containing group measure package permission information.
Successful operation
Successful operation
Unprocessable Content
{- "group": 8,
- "measure_package": 3,
- "umask": 2
}
{- "success": true,
- "hash": "6a2a28f718f2d4e68c51aef5f8189f4086f38f93",
- "data": {
- "hash": "a9738af2218c31b8834bd0b2046cad987636c291",
- "umask": 2,
- "created_time": "2022-08-31T14:06:18.000000Z",
- "modified_time": "2022-08-31T14:06:18.000000Z",
- "modified_user_time": "2022-08-31T14:06:18.000000Z",
- "model": "GroupMeasurePackagePermission",
- "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_package": {
- "id": 3,
- "hash": "950870b767420110ddd95b169b6b105493556b36",
- "name": "Procurement",
- "description": "The procurement measures are aimed at broadening the supplier base (also from a risk perspective) and renegotiating central supplier contracts.",
- "targets": "",
- "assumptions": "",
- "miscellaneous": "",
- "paused": false,
- "locked": false,
- "guarded": false,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-08-22T10:09:18.000000Z",
- "modified_user_time": "2022-08-22T10:09:18.000000Z",
- "model": "MeasurePackage"
}, - "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": 1661954778521
}
Get all group measure package permissions of the authenticated hub.
Successful operation
Unprocessable Content
{- "success": true,
- "hash": "7efca8a3b5c868c1cf492537361c36aa201805ad",
- "data": [
- {
- "hash": "71757b9a6af26cefd9cab90afbab22bb8440aa67",
- "umask": 1,
- "created_time": "2022-07-04T13:41:02.000000Z",
- "modified_time": "2022-07-04T13:41:02.000000Z",
- "modified_user_time": "2022-07-04T13:41:02.000000Z",
- "model": "GroupMeasurePackagePermission",
- "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_package": {
- "id": 1,
- "hash": "7ce83d4d4d933305a5410a7311a6a6f133f37dd5",
- "name": "Working Capital",
- "description": "The working capital measures of stock reduction and turnover are aimed at a sustainable reduction of cash and cash equivalents tied up in current assets and should create the necessary resources for our company to be able to make important investments in the coming year under its own steam.",
- "targets": "",
- "assumptions": "",
- "miscellaneous": "",
- "paused": false,
- "locked": false,
- "guarded": false,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-08-22T10:09:18.000000Z",
- "modified_user_time": "2022-08-22T10:09:18.000000Z",
- "model": "MeasurePackage"
}, - "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": "a9738af2218c31b8834bd0b2046cad987636c291",
- "umask": 2,
- "created_time": "2022-08-31T14:06:18.000000Z",
- "modified_time": "2022-08-31T14:06:18.000000Z",
- "modified_user_time": "2022-08-31T14:06:18.000000Z",
- "model": "GroupMeasurePackagePermission",
- "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_package": {
- "id": 3,
- "hash": "950870b767420110ddd95b169b6b105493556b36",
- "name": "Procurement",
- "description": "The procurement measures are aimed at broadening the supplier base (also from a risk perspective) and renegotiating central supplier contracts.",
- "targets": "",
- "assumptions": "",
- "miscellaneous": "",
- "paused": false,
- "locked": false,
- "guarded": false,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-08-22T10:09:18.000000Z",
- "modified_user_time": "2022-08-22T10:09:18.000000Z",
- "model": "MeasurePackage"
}, - "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": 1661955223644
}
Get a group measure package permission.
Successful operation
Not Found
{- "success": true,
- "hash": "6a2a28f718f2d4e68c51aef5f8189f4086f38f93",
- "data": {
- "hash": "a9738af2218c31b8834bd0b2046cad987636c291",
- "umask": 2,
- "created_time": "2022-08-31T14:06:18.000000Z",
- "modified_time": "2022-08-31T14:06:18.000000Z",
- "modified_user_time": "2022-08-31T14:06:18.000000Z",
- "model": "GroupMeasurePackagePermission",
- "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_package": {
- "id": 3,
- "hash": "950870b767420110ddd95b169b6b105493556b36",
- "name": "Procurement",
- "description": "The procurement measures are aimed at broadening the supplier base (also from a risk perspective) and renegotiating central supplier contracts.",
- "targets": "",
- "assumptions": "",
- "miscellaneous": "",
- "paused": false,
- "locked": false,
- "guarded": false,
- "created_time": "2022-06-27T09:48:06.000000Z",
- "modified_time": "2022-08-22T10:09:18.000000Z",
- "modified_user_time": "2022-08-22T10:09:18.000000Z",
- "model": "MeasurePackage"
}, - "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": 1661957305144
}
Update a group measure package permission.
A JSON object containing group measure package permission information
Successful operation
Not Found
Unprocessable Content
{- "umask": 0
}
{- "success": true,
- "hash": "fc175b205ee68278b0ab81b022eb9cb24c584dc2",
- "data": {
- "hash": "a9738af2218c31b8834bd0b2046cad987636c291",
- "umask": 0,
- "created_time": "2022-08-31T14:06:18.000000Z",
- "modified_time": "2022-08-31T14:52:07.000000Z",
- "modified_user_time": "2022-08-31T14:52:07.000000Z",
- "model": "GroupMeasurePackagePermission",
- "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": 1661957527603
}
Delete a group measure package permission.
Successful operation
Not Found
{- "success": true,
- "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
- "data": { },
- "timestamp": 1661957740254
}