GET api/UnPos/ValueCard/Busi/QueryInfo/BySerialId?cardserialid={cardserialid}
(跨平台方法)依据储值卡IC卡序列号查询对应的会员卡的信息并返回。 即便储值卡处于禁用状态,这个方法也会返回储值卡的信息。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cardserialid |
通过阅读器读取到的储值卡的序列号(此处的编码规则,读取的Byte[],每个元素转换成2个大写16进制字符,示例byte[]{0xaa 0x0f 0x05 0x98}转换后=”AA0F0598")。 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
(跨平台方法)依据储值卡IC卡序列号查询对应的会员卡的信息并返回。 即便储值卡处于禁用状态,这个方法也会返回储值卡的信息。
CommonOperationResultWithTagOfValueCardItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | ValueCardItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "CardNo": "sample string 1", "MemberId": 2, "OwnerName": "sample string 3", "IdentityCardType": "sample string 4", "IdentityCardNo": "sample string 5", "Mobile": "sample string 6", "SerialId": "sample string 7", "CardType": "sample string 8", "PayByPassword": "sample string 9", "PayPassword": "sample string 10", "RegistTime": "sample string 11", "Status": "sample string 12", "TotalRecharge": 13.0, "TotalSpend": 14.0, "Surplus": 15.0, "Memory": "sample string 16", "Reserve1": "sample string 17", "Reserve2": "sample string 18" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfValueCardItemZ8ov0R4d 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.Tour.V5.Result.Member"> <d2p1:CardNo>sample string 1</d2p1:CardNo> <d2p1:CardType>sample string 8</d2p1:CardType> <d2p1:IdentityCardNo>sample string 5</d2p1:IdentityCardNo> <d2p1:IdentityCardType>sample string 4</d2p1:IdentityCardType> <d2p1:MemberId>2</d2p1:MemberId> <d2p1:Memory>sample string 16</d2p1:Memory> <d2p1:Mobile>sample string 6</d2p1:Mobile> <d2p1:OwnerName>sample string 3</d2p1:OwnerName> <d2p1:PayByPassword>sample string 9</d2p1:PayByPassword> <d2p1:PayPassword>sample string 10</d2p1:PayPassword> <d2p1:RegistTime>sample string 11</d2p1:RegistTime> <d2p1:Reserve1>sample string 17</d2p1:Reserve1> <d2p1:Reserve2>sample string 18</d2p1:Reserve2> <d2p1:SerialId>sample string 7</d2p1:SerialId> <d2p1:Status>sample string 12</d2p1:Status> <d2p1:Surplus>15</d2p1:Surplus> <d2p1:TotalRecharge>13</d2p1:TotalRecharge> <d2p1:TotalSpend>14</d2p1:TotalSpend> </tag> </CommonOperationResultWithTagOfValueCardItemZ8ov0R4d>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.