List cost transactions against a job
Job costs & charges
Example request:
Parameter | Description | Examples |
---|---|---|
action | List cost transactions against a job | action=costscharges |
Parameters described in overview | user=user&password=user&version=3.1 | |
Job | Job number | job=1/00000519 |
Response | Returned data | See below |
Request costs and charges data
http:///jsonapi/jobs.json?job=1/00000519&user=user&password=user&version=3.1&action=costscharges
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 31,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"costCharge": 90,
"costChargeRate": 90,
"costChargeRateOT1": 90,
"costChargeRateOT2": 90,
"costChargeCode": "1/CT",
"costCostRate": 0,
"costCostRateOT1": 0,
"costCostRateOT2": 0,
"costCostTotal": 0,
"costCurrencyBuy": "",
"costCurrencyBuyDescription": "",
"costCurrencyBuyRate": 1,
"costCurrencyCharge": 90,
"costCurrencyChargeRate": 90,
"costCurrencyChargeRateNormal": 90,
"costCurrencyChargeRateOT1": 90,
"costCurrencyChargeRateOT2": 90,
"costCurrencyRecommendedCharge": 90,
"costCurrencyRecommendedChargeOT1": 90,
"costCurrencyRecommendedChargeOT2": 90,
"costCurrencySell": "",
"costCurrencySellDescription": "",
"costCurrencySellRate": 1,
"costDate": "2014-01-07",
"costDescription": "Consultancy",
"costWorkDone": "",
"costResourceName": "Arthur Spring",
"costPhase": "002",
"costQuantity": 1,
"costQuantityOT1": 0,
"costQuantityOT2": 0,
"costRecommendedCharge": 90,
"costRecommendedChargeOT1": 90,
"costRecommendedChargeOT2": 90,
"costTaskDescription": "",
"costChargeCodeType": "T",
"costStage": ""
}
]
}