GET api/CostClient/EntityCostByCostTypeList?entityID={entityID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityID

string

Required

Body Parameters

None.

Response Information

Resource Description

EntityCostByCostTypeListVM
NameDescriptionTypeAdditional information
EntityCostByCostTypeList

Collection of EntityCostByCostTypeList

None.

Response

IResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "EntityCostByCostTypeList": [
    {
      "CostType": "sample string 1",
      "EntityCost": 1.0,
      "EntityTax": 1.0
    },
    {
      "CostType": "sample string 1",
      "EntityCost": 1.0,
      "EntityTax": 1.0
    }
  ],
  "Response": null
}

application/xml, text/xml

Sample:
<EntityCostByCostTypeListVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.Cost">
  <Response i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels" />
  <EntityCostByCostTypeList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.Cost">
    <d2p1:EntityCostByCostTypeList>
      <d2p1:CostType>sample string 1</d2p1:CostType>
      <d2p1:EntityCost>1</d2p1:EntityCost>
      <d2p1:EntityTax>1</d2p1:EntityTax>
    </d2p1:EntityCostByCostTypeList>
    <d2p1:EntityCostByCostTypeList>
      <d2p1:CostType>sample string 1</d2p1:CostType>
      <d2p1:EntityCost>1</d2p1:EntityCost>
      <d2p1:EntityTax>1</d2p1:EntityTax>
    </d2p1:EntityCostByCostTypeList>
  </EntityCostByCostTypeList>
</EntityCostByCostTypeListVM>