GET api/masterCost/GetMasterCostByCostTypeID?costTypeID={costTypeID}&showInactive={showInactive}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| costTypeID | integer |
Required |
|
| showInactive | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
MasterCostForListVM| Name | Description | Type | Additional information |
|---|---|---|---|
| MasterCostList | Collection of MasterCostForList |
None. |
|
| Response | IResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"MasterCostList": [
{
"MasterCostID": 1,
"MasterCost": "sample string 2"
},
{
"MasterCostID": 1,
"MasterCost": "sample string 2"
}
],
"Response": null
}
application/xml, text/xml
Sample:
<MasterCostForListVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.MasterCost">
<Response i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels" />
<MasterCostList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.MasterCost">
<d2p1:MasterCostForList>
<d2p1:MasterCost>sample string 2</d2p1:MasterCost>
<d2p1:MasterCostID>1</d2p1:MasterCostID>
</d2p1:MasterCostForList>
<d2p1:MasterCostForList>
<d2p1:MasterCost>sample string 2</d2p1:MasterCost>
<d2p1:MasterCostID>1</d2p1:MasterCostID>
</d2p1:MasterCostForList>
</MasterCostList>
</MasterCostForListVM>