GET api/CostCenter/Get?houseId={houseId}&token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
houseId

integer

Required

token

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of MDLCostCenter
NameDescriptionTypeAdditional information
Id

integer

None.

HouseId

integer

None.

Identifier

string

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "HouseId": 2,
    "Identifier": "sample string 3",
    "Name": "sample string 4"
  },
  {
    "Id": 1,
    "HouseId": 2,
    "Identifier": "sample string 3",
    "Name": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMDLCostCenter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared">
  <MDLCostCenter>
    <HouseId>2</HouseId>
    <Id>1</Id>
    <Identifier>sample string 3</Identifier>
    <Name>sample string 4</Name>
  </MDLCostCenter>
  <MDLCostCenter>
    <HouseId>2</HouseId>
    <Id>1</Id>
    <Identifier>sample string 3</Identifier>
    <Name>sample string 4</Name>
  </MDLCostCenter>
</ArrayOfMDLCostCenter>