Phase Financials

Returns financial totals for each phase

Phase Financials

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaphases.json
GeneralYesParameters described in overviewAuthorization: Bearer <access_token> header — see Synergist API AuthenticationStructure of an API call
Model StructureYesName of model requiredmodelstructure=phasefinancialUsing data models
ViewNoStored filter appliedUsing views
SortNoChange the view's default sort ordersort=CLIENTSorting
FiltersNoFilter by a key fieldFilters
CompanyYesThe company numbercompany=1

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/phases.json?&company=1&modelstructure=phasefinancial&view=-1307&page=1&rows=2&version=6

Example request (legacy username/password):

http://<SERVER>/jsonapi/phases.json?&company=1&modelstructure=phasefinancial&view=-1307&page=1&rows=2&version=6&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 45,
  "totalpages": 23,
  "responsemessage": "",
  "pagerows": 2,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "phaseUuid": "366650887E8C5F4BA822E0F4870A3AED",
      "phaseTimeStampModified": 1597853984,
      "phaseRecordVersionNumber": 4,
      "phaseJobAndPhase": "1/00000205.001",
      "phaseBPTotalCostAvailable": 0,
      "phaseCostTotal": 0,
      "phaseCostTotalPI": 0,
      "phaseCostTotalPOPI": 0,
      "phasePercentActualBaseCost": 0,
      "phasePercentActualEstimateCost": 0,
      "phaseBaselineTotalEstimateMaterialsCost": 0,
      "phaseMaterialsCostTotal": 0,
      "phasePercentActualBaseCostMaterials": 0,
      "phasePercentActualEstimateCostMaterials": 0,
      "phaseBaselineTotalEstimatePOCost": 0,
      "phasePICost": 0,
      "phasePOCostPI": 0,
      "phasePOCostTotal": 0,
      "phasePercentActualBaseCostPO": 0,
      "phasePercentActualEstimateCostPO": 0,
      "phaseBaselineTotalEstimateTimeCost": 0,
      "phaseTimeCostTotal": 0,
      "phasePercentActualBaseCostTime": 0,
      "phasePercentActualEstimateCostTime": 0,
      "phaseBaselineTotalEstimateHours": 0,
      "phaseActualUnitsBase": 0,
      "phaseActualUnitsNormal": 0,
      "phaseActualUnitsOT1": 0,
      "phaseActualUnitsOT2": 0,
      "phaseEstimateUnitsBase": 0,
      "phasePercentActualBaseNormal": 0,
      "phasePercentActualBaseUnits": 0,
      "phasePercentActualEstimateNormal": 0,
      "phasePercentActualEstimateUnits": 0,
      "phaseChargeTotal": 0,
      "phaseCurChargeTotal": 0,
      "phaseCurQuotedPrice": 444,
      "phaseEstimateTotal": 0,
      "phaseGrossMargin": 444,
      "phaseGrossMarginWeighted": 444,
      "phaseInvestmentTotal": 0,
      "phaseInvoicedTotal": 0,
      "phaseMaterialsChargeTotal": 0,
      "phaseMaterialsCurCharge": 0,
      "phaseMaterialsEstimateTotal": 0,
      "phaseMaterialsEstimateChargeOut": 0,
      "phaseNetMargin": 444,
      "phaseNetMarginWeighted": 444,
      "phasePOChargeTotal": 0,
      "phasePOCurCharge": 0,
      "phasePOEstimateTotal": 0,
      "phaseQuotedPrice": 444,
      "phaseQuotedPriceWeighted": 444,
      "phaseTimeChargeTotal": 0,
      "phaseTimeCurCharge": 0,
      "phaseTimeEstimateTotal": 0,
      "phaseTimeEstimateChargeOut": 0,
      "phasePercentActualBaseCharge": 0,
      "phasePercentActualBaseChargeMaterials": 0,
      "phasePercentActualBaseChargePO": 0,
      "phasePercentActualBaseChargeTime": 0,
      "phasePercentActualEstimateCharge": 0,
      "phasePercentActualEstimateChargeMaterials": 0,
      "phasePercentActualEstimateChargePO": 0,
      "phasePercentActualEstimateChargeTime": 0,
      "phasePercentChargeQuote": 0,
      "phasePercentEstimateQuote": 0,
      "phasePercentInvQuote": 0,
      "phasePercentRecChargeInvoiced": 0,
      "phaseRecognisedTotal": 0,
      "phasePercentageRecognisedInvoiced": 0,
      "phasePercentageRecognisedQuoted": 0
    }
  ]
}