GET api/CostCenter?MandantID={MandantID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| MandantID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CostCenter| Name | Description | Type | Additional information |
|---|---|---|---|
| CostCenterID | integer |
None. |
|
| Description | string |
None. |
|
| ObligatoryWorkplace | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CostCenterID": 1,
"Description": "sample string 2",
"ObligatoryWorkplace": true
},
{
"CostCenterID": 1,
"Description": "sample string 2",
"ObligatoryWorkplace": true
}
]
application/xml, text/xml
Sample:
<ArrayOfCostCenter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TimeSheetWebAPI.Models">
<CostCenter>
<CostCenterID>1</CostCenterID>
<Description>sample string 2</Description>
<ObligatoryWorkplace>true</ObligatoryWorkplace>
</CostCenter>
<CostCenter>
<CostCenterID>1</CostCenterID>
<Description>sample string 2</Description>
<ObligatoryWorkplace>true</ObligatoryWorkplace>
</CostCenter>
</ArrayOfCostCenter>