GET api/{database}/CostCentreInfo/{costCentreId}
Gets the specified CostCentreInfo.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| costCentreId | The costCentreId. |
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"
}
application/xml, text/xml
Sample:
<CostCentreInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Info"> <CostCentreId>sample string 1</CostCentreId> <Description>sample string 2</Description> <IsActive>true</IsActive> <ShortName>sample string 4</ShortName> </CostCentreInfo>