Create a new measure package status report for a given measure package.
A JSON object containing measure package status report information
Successful operation
Unauthorized
Not Found
Unprocessable Content
{- "measure_package_hash": "cc4834e67e8517e2c061aa347a7c353a5414df10",
- "comment": "There are problems with future target quantities, especially for articles with seasonal fluctuations (see also measure Turnover)."
}
{- "value": {
- "success": true,
- "hash": "348774f1b9d2203ed1381384242f595ae0760796",
- "data": {
- "id": 254,
- "hash": "6ac59a8d8d3687274fea5cb9bb8699535c88eafa",
- "comment": "There are problems with future target quantities, especially for articles with seasonal fluctuations (see also measure Turnover).",
- "risks": null,
- "decisions": null,
- "data": {
- "measure_package_budgeting_effect_traffic_lights": [
- {
- "percent": 73,
- "count": 11
}, - {
- "percent": 7,
- "count": 1
}, - {
- "percent": 20,
- "count": 3
}
], - "measure_package_activity_start_time_traffic_lights": [
- {
- "percent": 60,
- "count": 3
}, - {
- "percent": 20,
- "count": 1
}, - {
- "percent": 20,
- "count": 1
}
], - "measure_package_activity_end_time_traffic_lights": [
- {
- "percent": 80,
- "count": 4
}, - {
- "percent": 0,
- "count": 0
}, - {
- "percent": 20,
- "count": 1
}
]
}, - "solved_time": null,
- "flagged": false,
- "created_time": "2022-05-27T09:41:11.000000Z",
- "modified_time": "2022-05-27T09:41:11.000000Z",
- "modified_user_time": "2022-05-27T09:41:11.000000Z",
- "umask": 4,
- "status": 0,
- "model": "MeasurePackageStatusReport",
- "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Titan",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-25T09:02:43.000000Z",
- "modified_user_time": "2022-05-25T09:02:43.000000Z",
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Titan",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-25T09:02:43.000000Z",
- "modified_user_time": "2022-05-25T09:02:43.000000Z",
- "model": "User"
}
}, - "timestamp": 1653472490807
}
}
Get all measure package status reports for the hub.
Successful operation
Unauthorized
curl -i -X GET \ 'https://api.nordan.tech/v1/measurepackagestatusreport?measure_package_hash=string&project_hash=string&program_hash=string&flagged=true&status=0&umask=0' \ -H 'Authorization: Bearer <YOUR_Bearer <TOKEN>_HERE>'
{- "value": {
- "success": true,
- "hash": "a205fa564cc639fc20c9399b7082150e09003ad0",
- "data": [
- {
- "id": 1,
- "hash": "4fcf1c0c72a42923862c36bb1cd0eeff00d674a6",
- "comment": "The reduction of the stocks and the ABC analysis shows first effects.",
- "risks": "Stocks might get to low.",
- "decisions": "Investment decision on the involvement of working capital consulting is pending.",
- "data": {
- "measure_package_budgeting_effect_traffic_lights": [
- {
- "percent": 100,
- "count": 9
}, - {
- "percent": 0,
- "count": 0
}, - {
- "percent": 0,
- "count": 0
}
], - "measure_package_activity_start_time_traffic_lights": [ ],
- "measure_package_activity_end_time_traffic_lights": [ ]
}, - "solved_time": null,
- "flagged": false,
- "created_time": "2022-05-20T16:01:39.000000Z",
- "modified_time": "2022-05-20T16:01:39.000000Z",
- "modified_user_time": "2022-05-20T16:01:39.000000Z",
- "umask": 4,
- "status": 0,
- "model": "MeasurePackageStatusReport",
- "measure_package": {
- "id": 11,
- "hash": "d2df8bb9c3de3c4a46f2f316338944490aa21e51",
- "name": "Working Capital",
- "locked": false,
- "model": "MeasurePackage",
- "project": {
- "id": 7,
- "hash": "d1806902461d369cad04cf3844f7f407bd89c69d",
- "name": "Phoenix",
- "model": "Project",
- "program": {
- "id": 7,
- "hash": "e334645a841afd7e6d20517d9646914efffa08a5",
- "name": "Airborne",
- "model": "Program"
}
}
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Titan",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "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": "Titan",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "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"
}
}, - {
- "id": 2,
- "hash": "6ac59a8d8d3687274fea5cb9bb8699535c88eafa",
- "comment": "There are problems with future target quantities, especially for articles with seasonal fluctuations (see also measure Turnover).",
- "risks": null,
- "decisions": null,
- "data": {
- "measure_package_budgeting_effect_traffic_lights": [
- {
- "percent": 73,
- "count": 11
}, - {
- "percent": 7,
- "count": 1
}, - {
- "percent": 20,
- "count": 3
}
], - "measure_package_activity_start_time_traffic_lights": [
- {
- "percent": 60,
- "count": 3
}, - {
- "percent": 20,
- "count": 1
}, - {
- "percent": 20,
- "count": 1
}
], - "measure_package_activity_end_time_traffic_lights": [
- {
- "percent": 80,
- "count": 4
}, - {
- "percent": 0,
- "count": 0
}, - {
- "percent": 20,
- "count": 1
}
]
}, - "solved_time": null,
- "flagged": false,
- "created_time": "2022-05-27T09:41:11.000000Z",
- "modified_time": "2022-05-27T09:41:11.000000Z",
- "modified_user_time": "2022-05-27T09:41:11.000000Z",
- "umask": 4,
- "status": 0,
- "model": "MeasurePackageStatusReport",
- "measure_package": {
- "id": 3,
- "hash": "cc4834e67e8517e2c061aa347a7c353a5414df10",
- "name": "Procurement",
- "locked": false,
- "model": "MeasurePackage",
- "project": {
- "id": 1,
- "hash": "3768a155ad95449839a74880d633c10ad48f67c1",
- "name": "Phoenix",
- "model": "Project",
- "program": {
- "id": 1,
- "hash": "d347f256577eb205313a6e112b8e44a4af45ecfa",
- "name": "Airborne",
- "model": "Program"
}
}
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Titan",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "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": "Titan",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "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": 1653644713046
}
}
Get a measure package status report.
Successful operation
Unauthorized
Forbidden
Not Found
curl -i -X GET \ 'https://api.nordan.tech/v1/measurepackagestatusreport/{measurepackagestatusreport}' \ -H 'Authorization: Bearer <YOUR_Bearer <TOKEN>_HERE>'
{- "value": {
- "success": true,
- "hash": "f15f469b01c8b84cbcd17874cc5c58dadd570343",
- "data": {
- "id": 2,
- "hash": "6ac59a8d8d3687274fea5cb9bb8699535c88eafa",
- "comment": "There are problems with future target quantities, especially for articles with seasonal fluctuations (see also measure Turnover).",
- "risks": null,
- "decisions": null,
- "data": {
- "measure_package_budgeting_effect_traffic_lights": [
- {
- "percent": 73,
- "count": 11
}, - {
- "percent": 7,
- "count": 1
}, - {
- "percent": 20,
- "count": 3
}
], - "measure_package_activity_start_time_traffic_lights": [
- {
- "percent": 60,
- "count": 3
}, - {
- "percent": 20,
- "count": 1
}, - {
- "percent": 20,
- "count": 1
}
], - "measure_package_activity_end_time_traffic_lights": [
- {
- "percent": 80,
- "count": 4
}, - {
- "percent": 0,
- "count": 0
}, - {
- "percent": 20,
- "count": 1
}
]
}, - "solved_time": null,
- "flagged": false,
- "created_time": "2022-05-27T09:41:11.000000Z",
- "modified_time": "2022-05-27T09:41:11.000000Z",
- "modified_user_time": "2022-05-27T09:41:11.000000Z",
- "umask": 4,
- "status": 0,
- "model": "MeasurePackageStatusReport",
- "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Titan",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "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": "Titan",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "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": 1653645131203
}
}
Update a measure package status report
A JSON object containing measure package status report information
Successful operation
Unauthorized
Forbidden
Not Found
Unprocessable Content
{- "flagged": true,
- "hash": "f15f469b01c8b84cbcd17874cc5c58dadd570343",
- "risks": "Always keep going!"
}
{- "value": {
- "success": true,
- "hash": "91a9fb9006dca581f8b818b855ca7fd7d7c8c178",
- "data": {
- "id": 2,
- "hash": "6ac59a8d8d3687274fea5cb9bb8699535c88eafa",
- "comment": "There are problems with future target quantities, especially for articles with seasonal fluctuations (see also measure Turnover).",
- "risks": "Always keep going!",
- "decisions": null,
- "data": {
- "measure_package_budgeting_effect_traffic_lights": [
- {
- "percent": 73,
- "count": 11
}, - {
- "percent": 7,
- "count": 1
}, - {
- "percent": 20,
- "count": 3
}
], - "measure_package_activity_start_time_traffic_lights": [
- {
- "percent": 60,
- "count": 3
}, - {
- "percent": 20,
- "count": 1
}, - {
- "percent": 20,
- "count": 1
}
], - "measure_package_activity_end_time_traffic_lights": [
- {
- "percent": 80,
- "count": 4
}, - {
- "percent": 0,
- "count": 0
}, - {
- "percent": 20,
- "count": 1
}
]
}, - "solved_time": null,
- "flagged": true,
- "created_time": "2022-05-27T09:41:11.000000Z",
- "modified_time": "2022-05-27T09:58:12.000000Z",
- "modified_user_time": "2022-05-27T09:58:12.000000Z",
- "status": 0,
- "model": "MeasurePackageStatusReport",
- "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Titan",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-25T09:02:43.000000Z",
- "modified_user_time": "2022-05-25T09:02:43.000000Z",
- "model": "User"
}
}, - "timestamp": 1653472490807
}
}
Delete a measure package status report
Successful operation
Unauthorized
Forbidden
Not Found
curl -i -X DELETE \ 'https://api.nordan.tech/v1/measurepackagestatusreport/{measurepackagestatusreport}' \ -H 'Authorization: Bearer <YOUR_Bearer <TOKEN>_HERE>'
{- "success": true,
- "hash": "string",
- "data": [ ],
- "timestamp": 0
}
Restore a measure package status report.
Successful operation
Unauthorized
Forbidden
Not Found
curl -i -X PUT \ 'https://api.nordan.tech/v1/measurepackagestatusreport/{measurepackagestatusreport}/restore' \ -H 'Authorization: Bearer <YOUR_Bearer <TOKEN>_HERE>'
{- "success": true,
- "hash": "string",
- "data": [ ],
- "timestamp": 0
}