POST api/MasterCostClient/GetMasterCostChargeIDForAccount?MasterCostID={MasterCostID}&AccountID={AccountID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
MasterCostID | integer |
Required |
|
AccountID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MasterCostChargeVMName | Description | Type | Additional information |
---|---|---|---|
MasterCostID | integer |
None. |
|
AccountID | integer |
None. |
|
EntityID | integer |
None. |
|
MasterCostChargeID | integer |
None. |
|
SiteID | integer |
None. |
|
IsEntityOverride | boolean |
None. |
|
IsIsEntityOverrideNull | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "MasterCostID": 1, "AccountID": 1, "EntityID": 1, "MasterCostChargeID": 2, "SiteID": 3, "IsEntityOverride": true, "IsIsEntityOverrideNull": true }, { "MasterCostID": 1, "AccountID": 1, "EntityID": 1, "MasterCostChargeID": 2, "SiteID": 3, "IsEntityOverride": true, "IsIsEntityOverrideNull": true } ]
application/xml, text/xml
Sample:
<ArrayOfMasterCostChargeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.MasterCost"> <MasterCostChargeVM> <AccountID>1</AccountID> <EntityID>1</EntityID> <IsEntityOverride>true</IsEntityOverride> <IsIsEntityOverrideNull>true</IsIsEntityOverrideNull> <MasterCostChargeID>2</MasterCostChargeID> <MasterCostID>1</MasterCostID> <SiteID>3</SiteID> </MasterCostChargeVM> <MasterCostChargeVM> <AccountID>1</AccountID> <EntityID>1</EntityID> <IsEntityOverride>true</IsEntityOverride> <IsIsEntityOverrideNull>true</IsIsEntityOverrideNull> <MasterCostChargeID>2</MasterCostChargeID> <MasterCostID>1</MasterCostID> <SiteID>3</SiteID> </MasterCostChargeVM> </ArrayOfMasterCostChargeVM>