GET api/job/GetCostCentres

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CostCentre
NameDescriptionTypeAdditional information
AnalysisCode

string

None.

AnalysisName

string

None.

Inactive

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AnalysisCode": "sample string 1",
    "AnalysisName": "sample string 2",
    "Inactive": true
  },
  {
    "AnalysisCode": "sample string 1",
    "AnalysisName": "sample string 2",
    "Inactive": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCostCentre xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.JC">
  <CostCentre>
    <AnalysisCode>sample string 1</AnalysisCode>
    <AnalysisName>sample string 2</AnalysisName>
    <Inactive>true</Inactive>
  </CostCentre>
  <CostCentre>
    <AnalysisCode>sample string 1</AnalysisCode>
    <AnalysisName>sample string 2</AnalysisName>
    <Inactive>true</Inactive>
  </CostCentre>
</ArrayOfCostCentre>