Authorization: ********************Authorization: Bearer ********************fabritec.integration-Tenant integration accesscurl --location '/api/v1/material-shortage-reports/impact' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"projectIds": [
0
],
"phaseIds": [
0
],
"finalItemsPage": 1,
"finalItemsPageSize": 1,
"shortagesPage": 1,
"shortagesPageSize": 1,
"warningsPage": 1,
"warningsPageSize": 1,
"detailsPage": 1,
"detailsPageSize": 1
}'{
"generatedAtUtc": "2019-08-24T14:15:22.123Z",
"weightUnit": "string",
"isEstimated": true,
"estimationMethodCode": "string",
"isComplete": true,
"appliedScope": {
"requestedProjectIds": [
0
],
"requestedPhaseIds": [
0
],
"resolvedProjectIds": [
0
],
"resolvedPhaseIds": [
0
],
"projectCount": 0,
"phaseCount": 0,
"projects": [
{
"id": 0,
"jobNumber": "string",
"name": "string"
}
]
},
"summary": {
"activeShortageItemCount": 0,
"impactedFinalItemCount": 0,
"estimatedBlockedFinalQuantity": 0,
"estimatedBlockedFinalWeight": 0,
"unallocatedShortageQuantity": 0,
"invalidWeightBlockedQuantity": 0
},
"finalItems": {
"items": [
{
"projectId": 0,
"jobNumber": "string",
"projectName": "string",
"phaseId": 0,
"phaseCode": "string",
"phaseName": "string",
"finalItemId": 0,
"finalItemMark": "string",
"finalItemName": "string",
"eligibleRemainingQuantity": 0,
"estimatedBlockedQuantity": 0,
"unitWeight": null,
"estimatedBlockedWeight": null,
"causes": {
"items": [
{
"shortageItemId": 0,
"shortageItemMark": "string",
"shortageItemName": "string",
"markedShortageQuantity": 0,
"requirementPerFinalUnit": 0,
"estimatedAllocatedShortageQuantity": 0,
"perShortageEstimatedBlockedFinalQuantity": 0,
"unallocatedQuantity": 0
}
],
"page": 0,
"pageSize": 0,
"totalCount": 0
}
}
],
"page": 0,
"pageSize": 0,
"totalCount": 0
},
"shortages": {
"items": [
{
"shortageItemId": 0,
"shortageItemMark": "string",
"shortageItemName": "string",
"markedShortageQuantity": 0,
"estimatedAllocatedShortageQuantity": 0,
"unallocatedQuantity": 0
}
],
"page": 0,
"pageSize": 0,
"totalCount": 0
},
"warnings": {
"items": [
{
"code": "string",
"severity": "string",
"isEstimateIncomplete": true,
"entityIds": {
"items": [
0
],
"page": 0,
"pageSize": 0,
"totalCount": 0
},
"messageArguments": {
"property1": "string",
"property2": "string"
}
}
],
"page": 0,
"pageSize": 0,
"totalCount": 0
}
}