GET api/{database}/CostCentreInfoList

Gets a list of CostCentreInfo that matches the specified criteria



Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "costCentreId": "sample string 1",
    "description": "sample string 2",
    "isActive": true,
    "shortName": "sample string 4"
  },
  {
    "costCentreId": "sample string 1",
    "description": "sample string 2",
    "isActive": true,
    "shortName": "sample string 4"
  },
  {
    "costCentreId": "sample string 1",
    "description": "sample string 2",
    "isActive": true,
    "shortName": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCostCentreInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Info">
  <CostCentreInfo>
    <CostCentreId>sample string 1</CostCentreId>
    <Description>sample string 2</Description>
    <IsActive>true</IsActive>
    <ShortName>sample string 4</ShortName>
  </CostCentreInfo>
  <CostCentreInfo>
    <CostCentreId>sample string 1</CostCentreId>
    <Description>sample string 2</Description>
    <IsActive>true</IsActive>
    <ShortName>sample string 4</ShortName>
  </CostCentreInfo>
  <CostCentreInfo>
    <CostCentreId>sample string 1</CostCentreId>
    <Description>sample string 2</Description>
    <IsActive>true</IsActive>
    <ShortName>sample string 4</ShortName>
  </CostCentreInfo>
</ArrayOfCostCentreInfo>