This call returns a paginated list of forecast summary information for the specified job, date range or finalized since date.
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
{- "results": [
- {
- "id": "9b83590f-c805-45fb-98dc-7733fc4dafc6",
- "jobId": "6c251b6a-abab-42be-bc00-d04c535e4823",
- "forecastDate": "2019-01-10",
- "finalizedDateTime": "2019-10-10T13:11:10Z"
}
], - "metadata": {
- "nextCursor": "stFNEUUV1wiYYevqcOONS7k/ozntHkTb"
}
}
This call returns forecast details for the specified forecast id.
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
The specified resource is not found.
{- "id": "26490e8e-41b9-4ef5-82f7-fdc3428ffbb2",
- "jobId": "2ea9e9ea-619f-426b-bbbb-33078bef528f",
- "forecastDate": "2019-01-10",
- "isFinalized": false,
- "finalizedDateTime": "2019-01-10T13:12:11Z",
- "createdDateTime": "2019-01-01T13:12:11Z",
- "forecastSourceId": "edf9c7b2-af06-4ea6-901b-3866b8943f8a",
- "productivityType": "unitsPerLaborHour",
- "createdOnWeb": false,
- "lastModifiedBy": {
- "id": "8436b4bd-fd7b-44c8-8f02-f04d62945116",
- "firstName": "First",
- "lastName": "Last",
- "email": "first.last@email.com"
}, - "totalBudget": 975000.5,
- "costAtCompletion": 1000000.5,
- "costCodeCosts": [
- {
- "costCodeId": "35dd993a-b6f2-46d9-a125-1463d759f904",
- "equipmentCost": 1250.25,
- "creationToDateEquipmentCost": 1200,
- "equipmentHours": 60.5,
- "creationToDateEquipmentHours": 50,
- "laborCost": 2500.5,
- "creationToDateLaborCost": 2450,
- "laborHours": 70.25,
- "creationToDateLaborHours": 60,
- "materialCost": 1000.5,
- "creationToDateMaterialCost": 1000.5,
- "subcontractCost": 500.5,
- "creationToDateSubcontractCost": 500.5,
- "quantity": 100.2,
- "creationToDateQuantity": 90,
- "customCostTypeValues": [
- {
- "costCategoryId": "3d6a3af7-046f-4521-bfb5-1dfc482829b4",
- "costCategoryCode": "HAUL",
- "costCategoryDescription": "Debris removal",
- "cost": 90.75,
- "creationToDateCost": 85
}
]
}
], - "revenue": [
- {
- "revenueId": "4c612a63-5d35-42ac-bab7-b0f829a6264b",
- "payItem": {
- "id": "49775671-4f0e-46bd-b98c-a2066abfa765",
- "jobId": "b5c08279-0127-4f8c-8d1f-67a325e37185",
- "payItem": "HAUL1",
- "description": "",
- "ownerCode": "HAUL1",
- "unitOfMeasure": "TON",
- "unitPrice": 200,
- "contractQuantity": 150
}, - "forecastQuantity": 150,
- "toDateQuantity": 100.2,
- "remainingQuantity": 49.8,
- "forecastRevenue": 30000,
- "toDateRevenue": 20040,
- "revenueToCompletion": 9960,
- "originalBidAmount": 30000,
- "profit": 16387.5,
- "variance": 0,
- "costAtCompletion": 13612.5,
- "marginPercent": 54.625,
- "markupPercent": 120.38567493112947,
- "isReviewed": false,
- "note": ""
}
]
}