GET api/UnPos/Shop/CodeCardTable/ProductInfo/Get?cardid={cardid}
获取特定店内码牌下的商品信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cardid | string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取特定店内码牌下的商品信息
CommonOperationResultWithTagOfIEnumerableOfUnPosCodeCardTableProductResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of UnPosCodeCardTableProductResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "ProductClassCode": "sample string 1", "ProductClassName": "sample string 2", "MerchantId": 3, "ShopId": "sample string 4", "ProductId": 5, "ProductName": "sample string 6", "BaseUnit": "sample string 7", "UnitList": [ { "MerchantId": 1, "ProductId": 2, "Unit": "sample string 3", "ShopId": "sample string 4", "RetailPrice": 5.0, "PurchasePrice": 6.0 }, { "MerchantId": 1, "ProductId": 2, "Unit": "sample string 3", "ShopId": "sample string 4", "RetailPrice": 5.0, "PurchasePrice": 6.0 } ], "SpecsList": [ { "MerchantId": 1, "ProductId": 2, "StandardProject": "sample string 3", "StandardOption": "sample string 4", "SingleSelected": "sample string 5" }, { "MerchantId": 1, "ProductId": 2, "StandardProject": "sample string 3", "StandardOption": "sample string 4", "SingleSelected": "sample string 5" } ], "RetailPrice": 8.0, "LowestRentailPrice": 9.0, "IndexCode": "sample string 10", "SellType": "sample string 11", "ProductStatus": "sample string 12", "Reserve1": "sample string 13", "Reserve2": "sample string 14" }, { "ProductClassCode": "sample string 1", "ProductClassName": "sample string 2", "MerchantId": 3, "ShopId": "sample string 4", "ProductId": 5, "ProductName": "sample string 6", "BaseUnit": "sample string 7", "UnitList": [ { "MerchantId": 1, "ProductId": 2, "Unit": "sample string 3", "ShopId": "sample string 4", "RetailPrice": 5.0, "PurchasePrice": 6.0 }, { "MerchantId": 1, "ProductId": 2, "Unit": "sample string 3", "ShopId": "sample string 4", "RetailPrice": 5.0, "PurchasePrice": 6.0 } ], "SpecsList": [ { "MerchantId": 1, "ProductId": 2, "StandardProject": "sample string 3", "StandardOption": "sample string 4", "SingleSelected": "sample string 5" }, { "MerchantId": 1, "ProductId": 2, "StandardProject": "sample string 3", "StandardOption": "sample string 4", "SingleSelected": "sample string 5" } ], "RetailPrice": 8.0, "LowestRentailPrice": 9.0, "IndexCode": "sample string 10", "SellType": "sample string 11", "ProductStatus": "sample string 12", "Reserve1": "sample string 13", "Reserve2": "sample string 14" } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfUnPosCodeCardTableProductResultwYgrNTf1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Result"> <d2p1:UnPosCodeCardTableProductResult> <d2p1:BaseUnit>sample string 7</d2p1:BaseUnit> <d2p1:IndexCode>sample string 10</d2p1:IndexCode> <d2p1:LowestRentailPrice>9</d2p1:LowestRentailPrice> <d2p1:MerchantId>3</d2p1:MerchantId> <d2p1:ProductId>5</d2p1:ProductId> <d2p1:ProductName>sample string 6</d2p1:ProductName> <d2p1:ProductStatus>sample string 12</d2p1:ProductStatus> <d2p1:Reserve1>sample string 13</d2p1:Reserve1> <d2p1:Reserve2>sample string 14</d2p1:Reserve2> <d2p1:RetailPrice>8</d2p1:RetailPrice> <d2p1:SellType>sample string 11</d2p1:SellType> <d2p1:ShopId>sample string 4</d2p1:ShopId> <d2p1:SpecsList> <d2p1:UnPosProductSpecsResult> <d2p1:MerchantId>1</d2p1:MerchantId> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:SingleSelected>sample string 5</d2p1:SingleSelected> <d2p1:StandardOption>sample string 4</d2p1:StandardOption> <d2p1:StandardProject>sample string 3</d2p1:StandardProject> </d2p1:UnPosProductSpecsResult> <d2p1:UnPosProductSpecsResult> <d2p1:MerchantId>1</d2p1:MerchantId> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:SingleSelected>sample string 5</d2p1:SingleSelected> <d2p1:StandardOption>sample string 4</d2p1:StandardOption> <d2p1:StandardProject>sample string 3</d2p1:StandardProject> </d2p1:UnPosProductSpecsResult> </d2p1:SpecsList> <d2p1:UnitList> <d2p1:UnPosProductUnitsResult> <d2p1:MerchantId>1</d2p1:MerchantId> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:PurchasePrice>6</d2p1:PurchasePrice> <d2p1:RetailPrice>5</d2p1:RetailPrice> <d2p1:ShopId>sample string 4</d2p1:ShopId> <d2p1:Unit>sample string 3</d2p1:Unit> </d2p1:UnPosProductUnitsResult> <d2p1:UnPosProductUnitsResult> <d2p1:MerchantId>1</d2p1:MerchantId> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:PurchasePrice>6</d2p1:PurchasePrice> <d2p1:RetailPrice>5</d2p1:RetailPrice> <d2p1:ShopId>sample string 4</d2p1:ShopId> <d2p1:Unit>sample string 3</d2p1:Unit> </d2p1:UnPosProductUnitsResult> </d2p1:UnitList> <d2p1:ProductClassCode>sample string 1</d2p1:ProductClassCode> <d2p1:ProductClassName>sample string 2</d2p1:ProductClassName> </d2p1:UnPosCodeCardTableProductResult> <d2p1:UnPosCodeCardTableProductResult> <d2p1:BaseUnit>sample string 7</d2p1:BaseUnit> <d2p1:IndexCode>sample string 10</d2p1:IndexCode> <d2p1:LowestRentailPrice>9</d2p1:LowestRentailPrice> <d2p1:MerchantId>3</d2p1:MerchantId> <d2p1:ProductId>5</d2p1:ProductId> <d2p1:ProductName>sample string 6</d2p1:ProductName> <d2p1:ProductStatus>sample string 12</d2p1:ProductStatus> <d2p1:Reserve1>sample string 13</d2p1:Reserve1> <d2p1:Reserve2>sample string 14</d2p1:Reserve2> <d2p1:RetailPrice>8</d2p1:RetailPrice> <d2p1:SellType>sample string 11</d2p1:SellType> <d2p1:ShopId>sample string 4</d2p1:ShopId> <d2p1:SpecsList> <d2p1:UnPosProductSpecsResult> <d2p1:MerchantId>1</d2p1:MerchantId> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:SingleSelected>sample string 5</d2p1:SingleSelected> <d2p1:StandardOption>sample string 4</d2p1:StandardOption> <d2p1:StandardProject>sample string 3</d2p1:StandardProject> </d2p1:UnPosProductSpecsResult> <d2p1:UnPosProductSpecsResult> <d2p1:MerchantId>1</d2p1:MerchantId> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:SingleSelected>sample string 5</d2p1:SingleSelected> <d2p1:StandardOption>sample string 4</d2p1:StandardOption> <d2p1:StandardProject>sample string 3</d2p1:StandardProject> </d2p1:UnPosProductSpecsResult> </d2p1:SpecsList> <d2p1:UnitList> <d2p1:UnPosProductUnitsResult> <d2p1:MerchantId>1</d2p1:MerchantId> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:PurchasePrice>6</d2p1:PurchasePrice> <d2p1:RetailPrice>5</d2p1:RetailPrice> <d2p1:ShopId>sample string 4</d2p1:ShopId> <d2p1:Unit>sample string 3</d2p1:Unit> </d2p1:UnPosProductUnitsResult> <d2p1:UnPosProductUnitsResult> <d2p1:MerchantId>1</d2p1:MerchantId> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:PurchasePrice>6</d2p1:PurchasePrice> <d2p1:RetailPrice>5</d2p1:RetailPrice> <d2p1:ShopId>sample string 4</d2p1:ShopId> <d2p1:Unit>sample string 3</d2p1:Unit> </d2p1:UnPosProductUnitsResult> </d2p1:UnitList> <d2p1:ProductClassCode>sample string 1</d2p1:ProductClassCode> <d2p1:ProductClassName>sample string 2</d2p1:ProductClassName> </d2p1:UnPosCodeCardTableProductResult> </tag> </CommonOperationResultWithTagOfArrayOfUnPosCodeCardTableProductResultwYgrNTf1>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.