GET api/{database}/CostCentreInfoList?state={state}

Gets a list of CostCentreInfo that matches the specified criteria



Request Information

Parameters

NameDescriptionAdditional information
state The state. Accepted values are: Value Description 0 Active 1 Passive

Define this parameter in the request URI.

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>