| 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 .jsv suffix or ?format=jsv
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: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01,
Date2: 0001-01-01,
Points: 0,
Disc: 0,
CodeWord: String,
NStatus: 0,
IsDisabledN: String,
Crtime: 0001-01-01,
PName: String,
PerNum: String,
Address: String,
OwnersID: 0,
PersonID: 0,
Updtime: 0001-01-01,
isdisabled: False
}
]
}