GET api/UnPos/Shop/CodeCard/ProductInfo/Get?cardid={cardid}
获取特定快捷码牌下的商品信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cardid | string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取特定快捷码牌下的商品信息
CommonOperationResultWithTagOfIEnumerableOfUnPosCodeCardProductResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | Collection of UnPosCodeCardProductResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": [ { "MerchantId": 1, "ShopId": "sample string 2", "ProductId": 3, "ProductName": "sample string 4", "BaseUnit": "sample string 5", "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": 6.0, "LowestRentailPrice": 7.0, "IndexCode": "sample string 8", "SellType": "sample string 9", "ProductStatus": "sample string 10", "Reserve1": "sample string 11", "Reserve2": "sample string 12" }, { "MerchantId": 1, "ShopId": "sample string 2", "ProductId": 3, "ProductName": "sample string 4", "BaseUnit": "sample string 5", "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": 6.0, "LowestRentailPrice": 7.0, "IndexCode": "sample string 8", "SellType": "sample string 9", "ProductStatus": "sample string 10", "Reserve1": "sample string 11", "Reserve2": "sample string 12" } ] }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfArrayOfUnPosCodeCardProductResultwYgrNTf1 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:UnPosCodeCardProductResult> <d2p1:BaseUnit>sample string 5</d2p1:BaseUnit> <d2p1:IndexCode>sample string 8</d2p1:IndexCode> <d2p1:LowestRentailPrice>7</d2p1:LowestRentailPrice> <d2p1:MerchantId>1</d2p1:MerchantId> <d2p1:ProductId>3</d2p1:ProductId> <d2p1:ProductName>sample string 4</d2p1:ProductName> <d2p1:ProductStatus>sample string 10</d2p1:ProductStatus> <d2p1:Reserve1>sample string 11</d2p1:Reserve1> <d2p1:Reserve2>sample string 12</d2p1:Reserve2> <d2p1:RetailPrice>6</d2p1:RetailPrice> <d2p1:SellType>sample string 9</d2p1:SellType> <d2p1:ShopId>sample string 2</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:UnPosCodeCardProductResult> <d2p1:UnPosCodeCardProductResult> <d2p1:BaseUnit>sample string 5</d2p1:BaseUnit> <d2p1:IndexCode>sample string 8</d2p1:IndexCode> <d2p1:LowestRentailPrice>7</d2p1:LowestRentailPrice> <d2p1:MerchantId>1</d2p1:MerchantId> <d2p1:ProductId>3</d2p1:ProductId> <d2p1:ProductName>sample string 4</d2p1:ProductName> <d2p1:ProductStatus>sample string 10</d2p1:ProductStatus> <d2p1:Reserve1>sample string 11</d2p1:Reserve1> <d2p1:Reserve2>sample string 12</d2p1:Reserve2> <d2p1:RetailPrice>6</d2p1:RetailPrice> <d2p1:SellType>sample string 9</d2p1:SellType> <d2p1:ShopId>sample string 2</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:UnPosCodeCardProductResult> </tag> </CommonOperationResultWithTagOfArrayOfUnPosCodeCardProductResultwYgrNTf1>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.