GET api/Customer/GetAllCustomerSubProduct?cccd={cccd}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cccd

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PCXMLCustomerSubProduct
NameDescriptionTypeAdditional information
CCCD

string

None.

CustomerSubProductID

integer

None.

CustomerID

integer

None.

CustomerTypeID

integer

None.

SubIndustryID

integer

None.

ProductID

integer

None.

SubProductID

integer

None.

InternalBuyRate

decimal number

None.

InternalSaleRate

decimal number

None.

InternalExchangeID

integer

None.

ExternalBuyRate

decimal number

None.

ExternalSellRate

decimal number

None.

ExternalExchangeID

integer

None.

Status

string

None.

LastUpdateDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CCCD": "sample string 1",
    "CustomerSubProductID": 2,
    "CustomerID": 3,
    "CustomerTypeID": 4,
    "SubIndustryID": 5,
    "ProductID": 6,
    "SubProductID": 7,
    "InternalBuyRate": 8.0,
    "InternalSaleRate": 9.0,
    "InternalExchangeID": 10,
    "ExternalBuyRate": 11.0,
    "ExternalSellRate": 12.0,
    "ExternalExchangeID": 13,
    "Status": "sample string 14",
    "LastUpdateDate": "2025-08-02T20:18:39.1218933+05:30"
  },
  {
    "CCCD": "sample string 1",
    "CustomerSubProductID": 2,
    "CustomerID": 3,
    "CustomerTypeID": 4,
    "SubIndustryID": 5,
    "ProductID": 6,
    "SubProductID": 7,
    "InternalBuyRate": 8.0,
    "InternalSaleRate": 9.0,
    "InternalExchangeID": 10,
    "ExternalBuyRate": 11.0,
    "ExternalSellRate": 12.0,
    "ExternalExchangeID": 13,
    "Status": "sample string 14",
    "LastUpdateDate": "2025-08-02T20:18:39.1218933+05:30"
  }
]

text/html

Sample:
[{"CCCD":"sample string 1","CustomerSubProductID":2,"CustomerID":3,"CustomerTypeID":4,"SubIndustryID":5,"ProductID":6,"SubProductID":7,"InternalBuyRate":8.0,"InternalSaleRate":9.0,"InternalExchangeID":10,"ExternalBuyRate":11.0,"ExternalSellRate":12.0,"ExternalExchangeID":13,"Status":"sample string 14","LastUpdateDate":"2025-08-02T20:18:39.1218933+05:30"},{"CCCD":"sample string 1","CustomerSubProductID":2,"CustomerID":3,"CustomerTypeID":4,"SubIndustryID":5,"ProductID":6,"SubProductID":7,"InternalBuyRate":8.0,"InternalSaleRate":9.0,"InternalExchangeID":10,"ExternalBuyRate":11.0,"ExternalSellRate":12.0,"ExternalExchangeID":13,"Status":"sample string 14","LastUpdateDate":"2025-08-02T20:18:39.1218933+05:30"}]

application/xml, text/xml

Sample:
<ArrayOfPCXMLCustomerSubProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models">
  <PCXMLCustomerSubProduct>
    <CCCD>sample string 1</CCCD>
    <CustomerID>3</CustomerID>
    <CustomerSubProductID>2</CustomerSubProductID>
    <CustomerTypeID>4</CustomerTypeID>
    <ExternalBuyRate>11</ExternalBuyRate>
    <ExternalExchangeID>13</ExternalExchangeID>
    <ExternalSellRate>12</ExternalSellRate>
    <InternalBuyRate>8</InternalBuyRate>
    <InternalExchangeID>10</InternalExchangeID>
    <InternalSaleRate>9</InternalSaleRate>
    <LastUpdateDate>2025-08-02T20:18:39.1218933+05:30</LastUpdateDate>
    <ProductID>6</ProductID>
    <Status>sample string 14</Status>
    <SubIndustryID>5</SubIndustryID>
    <SubProductID>7</SubProductID>
  </PCXMLCustomerSubProduct>
  <PCXMLCustomerSubProduct>
    <CCCD>sample string 1</CCCD>
    <CustomerID>3</CustomerID>
    <CustomerSubProductID>2</CustomerSubProductID>
    <CustomerTypeID>4</CustomerTypeID>
    <ExternalBuyRate>11</ExternalBuyRate>
    <ExternalExchangeID>13</ExternalExchangeID>
    <ExternalSellRate>12</ExternalSellRate>
    <InternalBuyRate>8</InternalBuyRate>
    <InternalExchangeID>10</InternalExchangeID>
    <InternalSaleRate>9</InternalSaleRate>
    <LastUpdateDate>2025-08-02T20:18:39.1218933+05:30</LastUpdateDate>
    <ProductID>6</ProductID>
    <Status>sample string 14</Status>
    <SubIndustryID>5</SubIndustryID>
    <SubProductID>7</SubProductID>
  </PCXMLCustomerSubProduct>
</ArrayOfPCXMLCustomerSubProduct>