| GET | /LoyaltyCards/CardInfoListByIDNumber | ||
|---|---|---|---|
| GET | /LoyaltyCards/CardInfoListByIDNumber/{IDNumber} |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IDNumber | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<LoyaltyCardDetail> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CardID | form | string | No | |
| CardNumber | form | decimal? | No | |
| CardType | form | string | No | |
| NbType | form | byte | No | |
| OwnerSN | form | string | No | |
| Date1 | form | DateTime? | No | |
| Date2 | form | DateTime? | No | |
| Points | form | decimal? | No | |
| Disc | form | decimal? | No | |
| CodeWord | form | string | No | |
| NStatus | form | byte | No | |
| IsDisabledN | form | string | No | |
| Crtime | form | DateTime? | No | |
| PName | form | string | No | |
| PerNum | form | string | No | |
| Address | form | string | No | |
| OwnersID | form | int | No | |
| PersonID | form | int? | No | |
| Updtime | form | DateTime? | No | |
| isdisabled | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .x-protobuf suffix or ?format=x-protobuf
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /LoyaltyCards/CardInfoListByIDNumber HTTP/1.1 Host: 10.10.0.107 Accept: application/x-protobuf
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"CardID":"String","CardNumber":0,"CardType":"String","NbType":0,"OwnerSN":"String","Date1":"\/Date(-62135596800000-0000)\/","Date2":"\/Date(-62135596800000-0000)\/","Points":0,"Disc":0,"CodeWord":"String","NStatus":0,"IsDisabledN":"String","Crtime":"\/Date(-62135596800000-0000)\/","PName":"String","PerNum":"String","Address":"String","OwnersID":0,"PersonID":0,"Updtime":"\/Date(-62135596800000-0000)\/","isdisabled":false}]}