GET V3/odata/CostCenter
Gets CostCenter entities
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of QicsUnity.Api.Areas.V3.Models.CostCenterName | Description | Type | Additional information |
---|---|---|---|
CostCenterId |
Gets or sets the CostCenterId |
integer |
Required 64-bit signed integer |
Code |
Gets or sets cost center code |
string |
Required |
Name |
Gets or sets cost center name |
string |
Required |
CompanyId |
Gets or sets CompanyId |
integer |
Required 64-bit signed integer |
CompanyName |
Gets or sets Company.CompanyName |
string | |
CompanyCode |
Gets or sets Company.CompanyCode |
string |
Response Formats
application/json, text/json
Sample:
[ { "CostCenterId": "1", "Code": "sample 2", "Name": "sample 3", "CompanyId": "4", "CompanyName": "sample 5", "CompanyCode": "sample 6" }, { "CostCenterId": "1", "Code": "sample 2", "Name": "sample 3", "CompanyId": "4", "CompanyName": "sample 5", "CompanyCode": "sample 6" } ]
application/xml, text/xml
Sample:
<ArrayOfCostCenter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models"> <CostCenter> <Code>sample 2</Code> <CompanyCode>sample 6</CompanyCode> <CompanyId>4</CompanyId> <CompanyName>sample 5</CompanyName> <CostCenterId>1</CostCenterId> <Name>sample 3</Name> </CostCenter> <CostCenter> <Code>sample 2</Code> <CompanyCode>sample 6</CompanyCode> <CompanyId>4</CompanyId> <CompanyName>sample 5</CompanyName> <CostCenterId>1</CostCenterId> <Name>sample 3</Name> </CostCenter> </ArrayOfCostCenter>