GET api/SubCategoryMasters/GetSubCategoryMasters

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SubCategoryMaster
NameDescriptionTypeAdditional information
Id

integer

None.

SubCategoryName

string

None.

Category

integer

None.

ShortDescription

string

None.

UOM

string

None.

CST

decimal number

None.

VAT

decimal number

None.

ScheduleandCommitteCode

string

None.

InterstatePurchaseAccount

integer

None.

InterstatePurchaseReturnsAccount

integer

None.

LocalPurchaseAccount

integer

None.

LocalPurchaseReturnsAccount

integer

None.

SalesAmount

integer

None.

SalesReturnAmount

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "SubCategoryName": "sample string 2",
    "Category": 1,
    "ShortDescription": "sample string 3",
    "UOM": "sample string 4",
    "CST": 1.0,
    "VAT": 1.0,
    "ScheduleandCommitteCode": "sample string 5",
    "InterstatePurchaseAccount": 1,
    "InterstatePurchaseReturnsAccount": 1,
    "LocalPurchaseAccount": 1,
    "LocalPurchaseReturnsAccount": 1,
    "SalesAmount": 1,
    "SalesReturnAmount": 1
  },
  {
    "Id": 1,
    "SubCategoryName": "sample string 2",
    "Category": 1,
    "ShortDescription": "sample string 3",
    "UOM": "sample string 4",
    "CST": 1.0,
    "VAT": 1.0,
    "ScheduleandCommitteCode": "sample string 5",
    "InterstatePurchaseAccount": 1,
    "InterstatePurchaseReturnsAccount": 1,
    "LocalPurchaseAccount": 1,
    "LocalPurchaseReturnsAccount": 1,
    "SalesAmount": 1,
    "SalesReturnAmount": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfSubCategoryMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BILLING.DAL.DataModel">
  <SubCategoryMaster>
    <CST>1</CST>
    <Category>1</Category>
    <Id>1</Id>
    <InterstatePurchaseAccount>1</InterstatePurchaseAccount>
    <InterstatePurchaseReturnsAccount>1</InterstatePurchaseReturnsAccount>
    <LocalPurchaseAccount>1</LocalPurchaseAccount>
    <LocalPurchaseReturnsAccount>1</LocalPurchaseReturnsAccount>
    <SalesAmount>1</SalesAmount>
    <SalesReturnAmount>1</SalesReturnAmount>
    <ScheduleandCommitteCode>sample string 5</ScheduleandCommitteCode>
    <ShortDescription>sample string 3</ShortDescription>
    <SubCategoryName>sample string 2</SubCategoryName>
    <UOM>sample string 4</UOM>
    <VAT>1</VAT>
  </SubCategoryMaster>
  <SubCategoryMaster>
    <CST>1</CST>
    <Category>1</Category>
    <Id>1</Id>
    <InterstatePurchaseAccount>1</InterstatePurchaseAccount>
    <InterstatePurchaseReturnsAccount>1</InterstatePurchaseReturnsAccount>
    <LocalPurchaseAccount>1</LocalPurchaseAccount>
    <LocalPurchaseReturnsAccount>1</LocalPurchaseReturnsAccount>
    <SalesAmount>1</SalesAmount>
    <SalesReturnAmount>1</SalesReturnAmount>
    <ScheduleandCommitteCode>sample string 5</ScheduleandCommitteCode>
    <ShortDescription>sample string 3</ShortDescription>
    <SubCategoryName>sample string 2</SubCategoryName>
    <UOM>sample string 4</UOM>
    <VAT>1</VAT>
  </SubCategoryMaster>
</ArrayOfSubCategoryMaster>