Estimates on job or phase - DEPRECATED
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | estimates.json | |
General | Yes | Parameters described in overview | user=user&password=user&version=3.9 | Overview |
Company | Yes | The company number | company=1 | |
Identifier | Yes | Job or phase ID or UUID | Job-And-Phase=1/00008303.001 |
Estimate types are S (staff / time), M (material) or B (bought-in / purchase).
Example request:
http://<SERVER>/jsonapi/estimates.json?user=user&password=user&version=3.9&company=1&Job-Number=1/00001008.A22
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