GET jxc_api/ProductPriceInfo/GetInfoById?prodId={prodId}&apId={apId}&unitId={unitId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
prodId

integer

Required

apId

integer

Required

unitId

integer

Required

Body Parameters

None.

Response Information

Resource Description

NewApiPagedListOfProductPriceInfoModel
NameDescriptionTypeAdditional information
Items

Collection of ProductPriceInfoModel

None.

SumModel

ProductPriceInfoModel

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

UsePager

boolean

None.

CategoriesFounded

Collection of integer

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "ProdId": 1,
      "ApId": 2,
      "UnitId": 3,
      "UseMultiUnits": true,
      "UseAp": true,
      "ProdName": "sample string 6",
      "ProdNo": "sample string 7",
      "ApName": "sample string 8",
      "UnitName": "sample string 9",
      "Spec": "sample string 10",
      "Location": "sample string 11",
      "Brand": "sample string 12",
      "ProdCatName": "sample string 13",
      "ProdCatId": 14,
      "CreatedID": 15,
      "CreatedByName": "sample string 16",
      "ModifiedTime": "sample string 17",
      "ModifiedDate": "2025-05-12 15:38:57",
      "PricePur": 19.0,
      "PriceRetail": 20.0,
      "PriceWholeSale": 21.0,
      "PriceVip": 22.0,
      "PriceMinSell": 23.0,
      "PriceNewestSell": 24.0,
      "PriceTaxNewestSell": 25.0,
      "SellBillId": 26,
      "SellBillType": 27,
      "SellBillDate": "sample string 28",
      "PriceMaxPur": 29.0,
      "PriceNewestPur": 30.0,
      "PriceTaxNewestPur": 31.0,
      "PurBillId": 32,
      "PurBillType": 33,
      "PurBillDate": "sample string 34",
      "SerialEnabled": true,
      "Prices": [
        {
          "ProdId": 1,
          "LevelId": 2,
          "LevelName": "sample string 3",
          "Price": "sample string 4",
          "UnitId": 5,
          "ApId": 6
        },
        {
          "ProdId": 1,
          "LevelId": 2,
          "LevelName": "sample string 3",
          "Price": "sample string 4",
          "UnitId": 5,
          "ApId": 6
        }
      ]
    },
    {
      "ProdId": 1,
      "ApId": 2,
      "UnitId": 3,
      "UseMultiUnits": true,
      "UseAp": true,
      "ProdName": "sample string 6",
      "ProdNo": "sample string 7",
      "ApName": "sample string 8",
      "UnitName": "sample string 9",
      "Spec": "sample string 10",
      "Location": "sample string 11",
      "Brand": "sample string 12",
      "ProdCatName": "sample string 13",
      "ProdCatId": 14,
      "CreatedID": 15,
      "CreatedByName": "sample string 16",
      "ModifiedTime": "sample string 17",
      "ModifiedDate": "2025-05-12 15:38:57",
      "PricePur": 19.0,
      "PriceRetail": 20.0,
      "PriceWholeSale": 21.0,
      "PriceVip": 22.0,
      "PriceMinSell": 23.0,
      "PriceNewestSell": 24.0,
      "PriceTaxNewestSell": 25.0,
      "SellBillId": 26,
      "SellBillType": 27,
      "SellBillDate": "sample string 28",
      "PriceMaxPur": 29.0,
      "PriceNewestPur": 30.0,
      "PriceTaxNewestPur": 31.0,
      "PurBillId": 32,
      "PurBillType": 33,
      "PurBillDate": "sample string 34",
      "SerialEnabled": true,
      "Prices": [
        {
          "ProdId": 1,
          "LevelId": 2,
          "LevelName": "sample string 3",
          "Price": "sample string 4",
          "UnitId": 5,
          "ApId": 6
        },
        {
          "ProdId": 1,
          "LevelId": 2,
          "LevelName": "sample string 3",
          "Price": "sample string 4",
          "UnitId": 5,
          "ApId": 6
        }
      ]
    }
  ],
  "SumModel": {
    "ProdId": 1,
    "ApId": 2,
    "UnitId": 3,
    "UseMultiUnits": true,
    "UseAp": true,
    "ProdName": "sample string 6",
    "ProdNo": "sample string 7",
    "ApName": "sample string 8",
    "UnitName": "sample string 9",
    "Spec": "sample string 10",
    "Location": "sample string 11",
    "Brand": "sample string 12",
    "ProdCatName": "sample string 13",
    "ProdCatId": 14,
    "CreatedID": 15,
    "CreatedByName": "sample string 16",
    "ModifiedTime": "sample string 17",
    "ModifiedDate": "2025-05-12 15:38:57",
    "PricePur": 19.0,
    "PriceRetail": 20.0,
    "PriceWholeSale": 21.0,
    "PriceVip": 22.0,
    "PriceMinSell": 23.0,
    "PriceNewestSell": 24.0,
    "PriceTaxNewestSell": 25.0,
    "SellBillId": 26,
    "SellBillType": 27,
    "SellBillDate": "sample string 28",
    "PriceMaxPur": 29.0,
    "PriceNewestPur": 30.0,
    "PriceTaxNewestPur": 31.0,
    "PurBillId": 32,
    "PurBillType": 33,
    "PurBillDate": "sample string 34",
    "SerialEnabled": true,
    "Prices": [
      {
        "ProdId": 1,
        "LevelId": 2,
        "LevelName": "sample string 3",
        "Price": "sample string 4",
        "UnitId": 5,
        "ApId": 6
      },
      {
        "ProdId": 1,
        "LevelId": 2,
        "LevelName": "sample string 3",
        "Price": "sample string 4",
        "UnitId": 5,
        "ApId": 6
      }
    ]
  },
  "PageIndex": 1,
  "PageSize": 2,
  "Total": 3,
  "UsePager": true,
  "CategoriesFounded": [
    1,
    2
  ],
  "RDocumentStartDate": "sample string 5",
  "RDocumentEndDate": "sample string 6",
  "RDeliveryStartDate": "sample string 7",
  "RDeliveryEndDate": "sample string 8"
}

application/xml, text/xml

Sample:
<NewApiPagedListOfProductPriceInfoModelG7QazW7X xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">
  <_x003C_RDeliveryEndDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 8</_x003C_RDeliveryEndDate_x003E_k__BackingField>
  <_x003C_RDeliveryStartDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 7</_x003C_RDeliveryStartDate_x003E_k__BackingField>
  <_x003C_RDocumentEndDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 6</_x003C_RDocumentEndDate_x003E_k__BackingField>
  <_x003C_RDocumentStartDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 5</_x003C_RDocumentStartDate_x003E_k__BackingField>
  <_x003C_CategoriesFounded_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CategoriesFounded_x003E_k__BackingField>
  <_x003C_Items_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi.BaseData.ProductPriceInfo">
    <d2p1:ProductPriceInfoModel>
      <d2p1:ApId>2</d2p1:ApId>
      <d2p1:ApName>sample string 8</d2p1:ApName>
      <d2p1:Brand>sample string 12</d2p1:Brand>
      <d2p1:CreatedByName>sample string 16</d2p1:CreatedByName>
      <d2p1:CreatedID>15</d2p1:CreatedID>
      <d2p1:Location>sample string 11</d2p1:Location>
      <d2p1:ModifiedDate>2025-05-12T15:38:57.2640167+08:00</d2p1:ModifiedDate>
      <d2p1:ModifiedTime>sample string 17</d2p1:ModifiedTime>
      <d2p1:PriceMaxPur>29</d2p1:PriceMaxPur>
      <d2p1:PriceMinSell>23</d2p1:PriceMinSell>
      <d2p1:PriceNewestPur>30</d2p1:PriceNewestPur>
      <d2p1:PriceNewestSell>24</d2p1:PriceNewestSell>
      <d2p1:PricePur>19</d2p1:PricePur>
      <d2p1:PriceRetail>20</d2p1:PriceRetail>
      <d2p1:PriceTaxNewestPur>31</d2p1:PriceTaxNewestPur>
      <d2p1:PriceTaxNewestSell>25</d2p1:PriceTaxNewestSell>
      <d2p1:PriceVip>22</d2p1:PriceVip>
      <d2p1:PriceWholeSale>21</d2p1:PriceWholeSale>
      <d2p1:Prices xmlns:d4p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi.BaseData.Product">
        <d4p1:ProductPriceSimpleModel>
          <d4p1:ApId>6</d4p1:ApId>
          <d4p1:LevelId>2</d4p1:LevelId>
          <d4p1:LevelName>sample string 3</d4p1:LevelName>
          <d4p1:Price>sample string 4</d4p1:Price>
          <d4p1:ProdId>1</d4p1:ProdId>
          <d4p1:UnitId>5</d4p1:UnitId>
        </d4p1:ProductPriceSimpleModel>
        <d4p1:ProductPriceSimpleModel>
          <d4p1:ApId>6</d4p1:ApId>
          <d4p1:LevelId>2</d4p1:LevelId>
          <d4p1:LevelName>sample string 3</d4p1:LevelName>
          <d4p1:Price>sample string 4</d4p1:Price>
          <d4p1:ProdId>1</d4p1:ProdId>
          <d4p1:UnitId>5</d4p1:UnitId>
        </d4p1:ProductPriceSimpleModel>
      </d2p1:Prices>
      <d2p1:ProdCatId>14</d2p1:ProdCatId>
      <d2p1:ProdCatName>sample string 13</d2p1:ProdCatName>
      <d2p1:ProdId>1</d2p1:ProdId>
      <d2p1:ProdName>sample string 6</d2p1:ProdName>
      <d2p1:ProdNo>sample string 7</d2p1:ProdNo>
      <d2p1:PurBillDate>sample string 34</d2p1:PurBillDate>
      <d2p1:PurBillId>32</d2p1:PurBillId>
      <d2p1:PurBillType>33</d2p1:PurBillType>
      <d2p1:SellBillDate>sample string 28</d2p1:SellBillDate>
      <d2p1:SellBillId>26</d2p1:SellBillId>
      <d2p1:SellBillType>27</d2p1:SellBillType>
      <d2p1:SerialEnabled>true</d2p1:SerialEnabled>
      <d2p1:Spec>sample string 10</d2p1:Spec>
      <d2p1:UnitId>3</d2p1:UnitId>
      <d2p1:UnitName>sample string 9</d2p1:UnitName>
      <d2p1:UseAp>true</d2p1:UseAp>
      <d2p1:UseMultiUnits>true</d2p1:UseMultiUnits>
    </d2p1:ProductPriceInfoModel>
    <d2p1:ProductPriceInfoModel>
      <d2p1:ApId>2</d2p1:ApId>
      <d2p1:ApName>sample string 8</d2p1:ApName>
      <d2p1:Brand>sample string 12</d2p1:Brand>
      <d2p1:CreatedByName>sample string 16</d2p1:CreatedByName>
      <d2p1:CreatedID>15</d2p1:CreatedID>
      <d2p1:Location>sample string 11</d2p1:Location>
      <d2p1:ModifiedDate>2025-05-12T15:38:57.2640167+08:00</d2p1:ModifiedDate>
      <d2p1:ModifiedTime>sample string 17</d2p1:ModifiedTime>
      <d2p1:PriceMaxPur>29</d2p1:PriceMaxPur>
      <d2p1:PriceMinSell>23</d2p1:PriceMinSell>
      <d2p1:PriceNewestPur>30</d2p1:PriceNewestPur>
      <d2p1:PriceNewestSell>24</d2p1:PriceNewestSell>
      <d2p1:PricePur>19</d2p1:PricePur>
      <d2p1:PriceRetail>20</d2p1:PriceRetail>
      <d2p1:PriceTaxNewestPur>31</d2p1:PriceTaxNewestPur>
      <d2p1:PriceTaxNewestSell>25</d2p1:PriceTaxNewestSell>
      <d2p1:PriceVip>22</d2p1:PriceVip>
      <d2p1:PriceWholeSale>21</d2p1:PriceWholeSale>
      <d2p1:Prices xmlns:d4p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi.BaseData.Product">
        <d4p1:ProductPriceSimpleModel>
          <d4p1:ApId>6</d4p1:ApId>
          <d4p1:LevelId>2</d4p1:LevelId>
          <d4p1:LevelName>sample string 3</d4p1:LevelName>
          <d4p1:Price>sample string 4</d4p1:Price>
          <d4p1:ProdId>1</d4p1:ProdId>
          <d4p1:UnitId>5</d4p1:UnitId>
        </d4p1:ProductPriceSimpleModel>
        <d4p1:ProductPriceSimpleModel>
          <d4p1:ApId>6</d4p1:ApId>
          <d4p1:LevelId>2</d4p1:LevelId>
          <d4p1:LevelName>sample string 3</d4p1:LevelName>
          <d4p1:Price>sample string 4</d4p1:Price>
          <d4p1:ProdId>1</d4p1:ProdId>
          <d4p1:UnitId>5</d4p1:UnitId>
        </d4p1:ProductPriceSimpleModel>
      </d2p1:Prices>
      <d2p1:ProdCatId>14</d2p1:ProdCatId>
      <d2p1:ProdCatName>sample string 13</d2p1:ProdCatName>
      <d2p1:ProdId>1</d2p1:ProdId>
      <d2p1:ProdName>sample string 6</d2p1:ProdName>
      <d2p1:ProdNo>sample string 7</d2p1:ProdNo>
      <d2p1:PurBillDate>sample string 34</d2p1:PurBillDate>
      <d2p1:PurBillId>32</d2p1:PurBillId>
      <d2p1:PurBillType>33</d2p1:PurBillType>
      <d2p1:SellBillDate>sample string 28</d2p1:SellBillDate>
      <d2p1:SellBillId>26</d2p1:SellBillId>
      <d2p1:SellBillType>27</d2p1:SellBillType>
      <d2p1:SerialEnabled>true</d2p1:SerialEnabled>
      <d2p1:Spec>sample string 10</d2p1:Spec>
      <d2p1:UnitId>3</d2p1:UnitId>
      <d2p1:UnitName>sample string 9</d2p1:UnitName>
      <d2p1:UseAp>true</d2p1:UseAp>
      <d2p1:UseMultiUnits>true</d2p1:UseMultiUnits>
    </d2p1:ProductPriceInfoModel>
  </_x003C_Items_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>1</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>2</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_SumModel_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi.BaseData.ProductPriceInfo">
    <d2p1:ApId>2</d2p1:ApId>
    <d2p1:ApName>sample string 8</d2p1:ApName>
    <d2p1:Brand>sample string 12</d2p1:Brand>
    <d2p1:CreatedByName>sample string 16</d2p1:CreatedByName>
    <d2p1:CreatedID>15</d2p1:CreatedID>
    <d2p1:Location>sample string 11</d2p1:Location>
    <d2p1:ModifiedDate>2025-05-12T15:38:57.2640167+08:00</d2p1:ModifiedDate>
    <d2p1:ModifiedTime>sample string 17</d2p1:ModifiedTime>
    <d2p1:PriceMaxPur>29</d2p1:PriceMaxPur>
    <d2p1:PriceMinSell>23</d2p1:PriceMinSell>
    <d2p1:PriceNewestPur>30</d2p1:PriceNewestPur>
    <d2p1:PriceNewestSell>24</d2p1:PriceNewestSell>
    <d2p1:PricePur>19</d2p1:PricePur>
    <d2p1:PriceRetail>20</d2p1:PriceRetail>
    <d2p1:PriceTaxNewestPur>31</d2p1:PriceTaxNewestPur>
    <d2p1:PriceTaxNewestSell>25</d2p1:PriceTaxNewestSell>
    <d2p1:PriceVip>22</d2p1:PriceVip>
    <d2p1:PriceWholeSale>21</d2p1:PriceWholeSale>
    <d2p1:Prices xmlns:d3p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi.BaseData.Product">
      <d3p1:ProductPriceSimpleModel>
        <d3p1:ApId>6</d3p1:ApId>
        <d3p1:LevelId>2</d3p1:LevelId>
        <d3p1:LevelName>sample string 3</d3p1:LevelName>
        <d3p1:Price>sample string 4</d3p1:Price>
        <d3p1:ProdId>1</d3p1:ProdId>
        <d3p1:UnitId>5</d3p1:UnitId>
      </d3p1:ProductPriceSimpleModel>
      <d3p1:ProductPriceSimpleModel>
        <d3p1:ApId>6</d3p1:ApId>
        <d3p1:LevelId>2</d3p1:LevelId>
        <d3p1:LevelName>sample string 3</d3p1:LevelName>
        <d3p1:Price>sample string 4</d3p1:Price>
        <d3p1:ProdId>1</d3p1:ProdId>
        <d3p1:UnitId>5</d3p1:UnitId>
      </d3p1:ProductPriceSimpleModel>
    </d2p1:Prices>
    <d2p1:ProdCatId>14</d2p1:ProdCatId>
    <d2p1:ProdCatName>sample string 13</d2p1:ProdCatName>
    <d2p1:ProdId>1</d2p1:ProdId>
    <d2p1:ProdName>sample string 6</d2p1:ProdName>
    <d2p1:ProdNo>sample string 7</d2p1:ProdNo>
    <d2p1:PurBillDate>sample string 34</d2p1:PurBillDate>
    <d2p1:PurBillId>32</d2p1:PurBillId>
    <d2p1:PurBillType>33</d2p1:PurBillType>
    <d2p1:SellBillDate>sample string 28</d2p1:SellBillDate>
    <d2p1:SellBillId>26</d2p1:SellBillId>
    <d2p1:SellBillType>27</d2p1:SellBillType>
    <d2p1:SerialEnabled>true</d2p1:SerialEnabled>
    <d2p1:Spec>sample string 10</d2p1:Spec>
    <d2p1:UnitId>3</d2p1:UnitId>
    <d2p1:UnitName>sample string 9</d2p1:UnitName>
    <d2p1:UseAp>true</d2p1:UseAp>
    <d2p1:UseMultiUnits>true</d2p1:UseMultiUnits>
  </_x003C_SumModel_x003E_k__BackingField>
  <_x003C_Total_x003E_k__BackingField>3</_x003C_Total_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
</NewApiPagedListOfProductPriceInfoModelG7QazW7X>