List cost transactions against a job
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | jobs.json | |
General | Yes | Parameters described in overview | user=user&password=user | Structure of an API call |
Action | Yes | The action to perform | action=costscharges | |
Identifier | Yes | Job ID or UUID | job=1/00000519 |
Example request:
http://<SERVER>/jsonapi/jobs.json?job=1/00000519&user=user&password=user&version=3.9&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": ""
}
]
}