Estimates on job or phase
Estimates
The Estimates call retrieves a list of estimate lines for a specified job/opp or phase.
Parameter | Description | Examples | More info |
---|---|---|---|
API | The API area | estimates.json | |
Parameters described in overview | user=user&password=user&version=3.3 | ||
company | Company ID | &company=1 | |
type | Job or Phase | &Job-Number=1/00008303 or &Job-And-Phase=1/00008303.001 |
Example request:
Request to list quotes on job or phase
http://<SERVER>/jsonapi/estimates.json?user=user&password=user&version=3.3&company=3&Job-Number=3/00001008.A22
Estimate Types
S=Staff (time)
M=Material
B=Bought in (purchases)
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