None.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Prod | ProductEditModel |
None. |
|
| Init | Collection of InitialStockEditModel |
None. |
|
| InitQTY | decimal number |
None. |
|
| Thwh | Collection of ThWhWarningEditModel |
None. |
|
| Ap | Collection of ProductPriceWithAPEditModel |
None. |
|
| Unit | Collection of ProductUnitEditModel |
None. |
|
| IsProductUsed | boolean |
None. |
|
| BusinessUsedCount | integer |
None. |
|
| CanModifyMulUnit | boolean |
None. |
|
| CanRepeatProdName | boolean |
None. |
|
| LastCheckOutDate | date |
None. |
|
| PriceType | PriceType |
None. |
|
| ProdPrices | Collection of ProductPriceModel |
None. |
{
"Prod": {
"Id": 1,
"ProdNo": "sample string 2",
"Name": "sample string 3",
"BarCode": "sample string 4",
"CategoryId": 5,
"CategoryName": "sample string 6",
"Brand": "sample string 7",
"Spec": "sample string 8",
"WhId": 9,
"WhName": "sample string 10",
"Location": "sample string 11",
"UnitId": 12,
"UnitName": "sample string 13",
"Note": "sample string 14",
"PurUnitId": 15,
"SaleUnitId": 16,
"StockUnitId": 17,
"LowQTY": 18,
"HighQTY": 19,
"PricePur": 20.0,
"PriceRet": 21.0,
"PriceWS": 22.0,
"PriceVip": 23.0,
"TaxRate": 24.0,
"UseMultiUnits": true,
"UseThWarning": true,
"UseThWhWarning": true,
"UseAP": true,
"UseIS": true,
"Status": true,
"CreateDate": "2025-10-26 07:04:43",
"PurUnitName": "sample string 32",
"SaleUnitName": "sample string 33",
"StockUnitName": "sample string 34",
"BatchEnabled": true,
"SerialEnabled": true,
"LifeTimeEnabled": true,
"LifeTime": 38,
"LifeTimeUnit": 1010,
"LifeTimeUnitName": "sample string 39",
"ExpDateCalMethodType": 1010,
"WarningDaysAdvance": 40
},
"Init": [
{
"IsId": 1,
"WhId": 2,
"WhName": "sample string 3",
"ApId": 4,
"ApNo": 5,
"ApName": "sample string 6",
"Amount": 7.0,
"Cost": 8.0,
"TotalAmount": 9.0
},
{
"IsId": 1,
"WhId": 2,
"WhName": "sample string 3",
"ApId": 4,
"ApNo": 5,
"ApName": "sample string 6",
"Amount": 7.0,
"Cost": 8.0,
"TotalAmount": 9.0
}
],
"InitQTY": 14.0,
"Thwh": [
{
"WhId": 1,
"WlId": 2,
"WhName": "sample string 3",
"WlName": "sample string 4",
"ApId": 5,
"ApNo": 6,
"ApName": "sample string 7",
"MinAmount": 8.0,
"MaxAmount": 9.0
},
{
"WhId": 1,
"WlId": 2,
"WhName": "sample string 3",
"WlName": "sample string 4",
"ApId": 5,
"ApNo": 6,
"ApName": "sample string 7",
"MinAmount": 8.0,
"MaxAmount": 9.0
}
],
"Ap": [
{
"ApId": 1,
"ApNo": 2,
"ApName": "sample string 3",
"HasBusiness": true,
"ApStatus": 5,
"APMap": [
{
"AptId": 1,
"ApeId": 2,
"ApeName": "sample string 3"
},
{
"AptId": 1,
"ApeId": 2,
"ApeName": "sample string 3"
}
]
},
{
"ApId": 1,
"ApNo": 2,
"ApName": "sample string 3",
"HasBusiness": true,
"ApStatus": 5,
"APMap": [
{
"AptId": 1,
"ApeId": 2,
"ApeName": "sample string 3"
},
{
"AptId": 1,
"ApeId": 2,
"ApeName": "sample string 3"
}
]
}
],
"Unit": [
{
"UnitId": 1,
"UnitName": "sample string 2",
"Rate": 3.0,
"PriceRetail": 4.0,
"PriceWholeSale": 5.0,
"PriceVip": 6.0,
"PricePurchase": 7.0,
"IsUsed": true
},
{
"UnitId": 1,
"UnitName": "sample string 2",
"Rate": 3.0,
"PriceRetail": 4.0,
"PriceWholeSale": 5.0,
"PriceVip": 6.0,
"PricePurchase": 7.0,
"IsUsed": true
}
],
"IsProductUsed": true,
"BusinessUsedCount": 1,
"CanModifyMulUnit": false,
"CanRepeatProdName": true,
"LastCheckOutDate": "2025-10-26 07:04:43",
"PriceType": 1010,
"ProdPrices": [
{
"ProdId": 1,
"ApId": 2,
"ApNo": 3,
"UnitId": 4,
"LevelId": 5,
"Price": "sample string 6"
},
{
"ProdId": 1,
"ApId": 2,
"ApNo": 3,
"UnitId": 4,
"LevelId": 5,
"Price": "sample string 6"
}
]
}
<ProductDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
<Ap>
<ProductPriceWithAPEditModel>
<APMap>
<APT_APE_Map>
<ApeId>2</ApeId>
<ApeName>sample string 3</ApeName>
<AptId>1</AptId>
</APT_APE_Map>
<APT_APE_Map>
<ApeId>2</ApeId>
<ApeName>sample string 3</ApeName>
<AptId>1</AptId>
</APT_APE_Map>
</APMap>
<ApId>1</ApId>
<ApName>sample string 3</ApName>
<ApNo>2</ApNo>
<ApStatus>5</ApStatus>
<HasBusiness>true</HasBusiness>
</ProductPriceWithAPEditModel>
<ProductPriceWithAPEditModel>
<APMap>
<APT_APE_Map>
<ApeId>2</ApeId>
<ApeName>sample string 3</ApeName>
<AptId>1</AptId>
</APT_APE_Map>
<APT_APE_Map>
<ApeId>2</ApeId>
<ApeName>sample string 3</ApeName>
<AptId>1</AptId>
</APT_APE_Map>
</APMap>
<ApId>1</ApId>
<ApName>sample string 3</ApName>
<ApNo>2</ApNo>
<ApStatus>5</ApStatus>
<HasBusiness>true</HasBusiness>
</ProductPriceWithAPEditModel>
</Ap>
<CanRepeatProdName>true</CanRepeatProdName>
<Init>
<InitialStockEditModel>
<Amount>7</Amount>
<ApId>4</ApId>
<ApName>sample string 6</ApName>
<ApNo>5</ApNo>
<Cost>8</Cost>
<IsId>1</IsId>
<WhId>2</WhId>
<WhName>sample string 3</WhName>
</InitialStockEditModel>
<InitialStockEditModel>
<Amount>7</Amount>
<ApId>4</ApId>
<ApName>sample string 6</ApName>
<ApNo>5</ApNo>
<Cost>8</Cost>
<IsId>1</IsId>
<WhId>2</WhId>
<WhName>sample string 3</WhName>
</InitialStockEditModel>
</Init>
<IsProductUsed>true</IsProductUsed>
<LastCheckOutDate>2025-10-26T07:04:43.4991836+08:00</LastCheckOutDate>
<PriceType>SingleUnit</PriceType>
<Prod>
<BarCode>sample string 4</BarCode>
<BatchEnabled>true</BatchEnabled>
<Brand>sample string 7</Brand>
<CategoryId>5</CategoryId>
<CategoryName>sample string 6</CategoryName>
<CreateDate>2025-10-26T07:04:43.4991836+08:00</CreateDate>
<ExpDateCalMethodType>ProdDatePlusShelfLife</ExpDateCalMethodType>
<HighQTY>19</HighQTY>
<Id>1</Id>
<LifeTime>38</LifeTime>
<LifeTimeEnabled>true</LifeTimeEnabled>
<LifeTimeUnit>Day</LifeTimeUnit>
<LifeTimeUnitName>sample string 39</LifeTimeUnitName>
<Location>sample string 11</Location>
<LowQTY>18</LowQTY>
<Name>sample string 3</Name>
<Note>sample string 14</Note>
<PricePur>20</PricePur>
<PriceRet>21</PriceRet>
<PriceVip>23</PriceVip>
<PriceWS>22</PriceWS>
<ProdNo>sample string 2</ProdNo>
<PurUnitId>15</PurUnitId>
<SaleUnitId>16</SaleUnitId>
<SerialEnabled>true</SerialEnabled>
<Spec>sample string 8</Spec>
<Status>true</Status>
<StockUnitId>17</StockUnitId>
<TaxRate>24</TaxRate>
<UnitId>12</UnitId>
<UnitName>sample string 13</UnitName>
<UseAP>true</UseAP>
<UseIS>true</UseIS>
<UseMultiUnits>true</UseMultiUnits>
<UseThWarning>true</UseThWarning>
<UseThWhWarning>true</UseThWhWarning>
<WarningDaysAdvance>40</WarningDaysAdvance>
<WhId>9</WhId>
<WhName>sample string 10</WhName>
</Prod>
<ProdPrices xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.BaseData.Product">
<d2p1:ProductPriceModel>
<d2p1:ApId>2</d2p1:ApId>
<d2p1:ApNo>3</d2p1:ApNo>
<d2p1:LevelId>5</d2p1:LevelId>
<d2p1:Price>sample string 6</d2p1:Price>
<d2p1:ProdId>1</d2p1:ProdId>
<d2p1:UnitId>4</d2p1:UnitId>
</d2p1:ProductPriceModel>
<d2p1:ProductPriceModel>
<d2p1:ApId>2</d2p1:ApId>
<d2p1:ApNo>3</d2p1:ApNo>
<d2p1:LevelId>5</d2p1:LevelId>
<d2p1:Price>sample string 6</d2p1:Price>
<d2p1:ProdId>1</d2p1:ProdId>
<d2p1:UnitId>4</d2p1:UnitId>
</d2p1:ProductPriceModel>
</ProdPrices>
<Thwh>
<ThWhWarningEditModel>
<ApId>5</ApId>
<ApName>sample string 7</ApName>
<ApNo>6</ApNo>
<MaxAmount>9</MaxAmount>
<MinAmount>8</MinAmount>
<WhId>1</WhId>
<WhName>sample string 3</WhName>
<WlId>2</WlId>
<WlName>sample string 4</WlName>
</ThWhWarningEditModel>
<ThWhWarningEditModel>
<ApId>5</ApId>
<ApName>sample string 7</ApName>
<ApNo>6</ApNo>
<MaxAmount>9</MaxAmount>
<MinAmount>8</MinAmount>
<WhId>1</WhId>
<WhName>sample string 3</WhName>
<WlId>2</WlId>
<WlName>sample string 4</WlName>
</ThWhWarningEditModel>
</Thwh>
<Unit>
<ProductUnitEditModel>
<IsUsed>true</IsUsed>
<PricePurchase>7</PricePurchase>
<PriceRetail>4</PriceRetail>
<PriceVip>6</PriceVip>
<PriceWholeSale>5</PriceWholeSale>
<Rate>3</Rate>
<UnitId>1</UnitId>
<UnitName>sample string 2</UnitName>
</ProductUnitEditModel>
<ProductUnitEditModel>
<IsUsed>true</IsUsed>
<PricePurchase>7</PricePurchase>
<PriceRetail>4</PriceRetail>
<PriceVip>6</PriceVip>
<PriceWholeSale>5</PriceWholeSale>
<Rate>3</Rate>
<UnitId>1</UnitId>
<UnitName>sample string 2</UnitName>
</ProductUnitEditModel>
</Unit>
</ProductDetailModel>
Sample not available.
1
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>