Estimates on job or phase - DEPRECATED
Estimates List (deprecated)
| Parameter | Mandatory | Description | Examples | More Info |
|---|---|---|---|---|
| API | Yes | The API area | estimates.json | |
| General | Yes | Parameters described in overview | Authorization: Bearer <access_token> header — see Synergist API Authentication | Structure of an API call |
| Company | Yes | The company number | company=1 | |
| Identifier | Yes | Job or phase ID or UUID | jobphase=1/00008303.001 |
Estimate types are S (staff / time), M (material) or B (bought-in / purchase).
Example request (OAuth 2.0):
Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/estimates.json?&version=6&company=1&jobphase=1/00001008.A22
Example request (legacy username/password):
http://<SERVER>/jsonapi/estimates.json?&version=6&company=1&jobphase=1/00001008.A22&user=<username>&password=<password>
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 0,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"estimateCostActual": 0,
"estimateCostEstimated": 400,
"estimateDescription": "-a Rail Engineer 1",
"estimatePhase": "A22",
"estimatePhaseDescription": "Artwork phase",
"estimateQuoteDetail": "",
"estimateType": "S",
"estimateUnitsActual": 0,
"estimateUnitsEstimated": 4
},
{
"estimateCostActual": 0,
"estimateCostEstimated": 45,
"estimateDescription": "Subcontract Design Services",
"estimatePhase": "A22",
"estimatePhaseDescription": "Artwork phase",
"estimateQuoteDetail": "",
"estimateType": "B",
"estimateUnitsActual": 0,
"estimateUnitsEstimated": 0
}
]
}Note: Feature from API 2.2
