| GET | /LoyaltyCards/PPBonusCardPoints |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BeginDate | query | DateTime | No | |
| EndDate | query | DateTime | No | |
| Opers | query | List<int> | No | |
| CardId | query | string | No | |
| IsEmploee | query | bool | No | |
| AllCards | query | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<PPBonusCardPoints> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| pernum | form | string | No | |
| pname | form | string | No | |
| isworker | form | bool? | No | |
| cardid | form | string | No | |
| isdisabled | form | bool? | No | |
| ownersid | form | int? | No | |
| points | form | decimal? | No | |
| spoint | form | decimal? | No | |
| svg | form | decimal? | No | |
| crpoint | form | decimal? | No | |
| crvg | form | decimal? | No | |
| dbpoint | form | decimal? | No | |
| dbvg | form | decimal? | No | |
| fullphone | form | string | No | |
| firstn | form | string | No | |
| lastn | form | string | No | |
| sex | form | bool? | No | |
| merried | form | bool? | No | |
| childrens | form | int? | No | |
| dborn | form | DateTime? | No | |
| address | form | string | No | |
| a04id | form | int? | No | |
| a13id | form | int? | No | |
| a15id | form | int? | No | |
| a22id | form | int? | No | |
| a23id | form | int? | No | |
| cityid | form | int? | No | |
| regdate | form | DateTime? | 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/PPBonusCardPoints 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:
[
{
pernum: String,
pname: String,
isworker: False,
cardid: String,
isdisabled: False,
ownersid: 0,
points: 0,
spoint: 0,
svg: 0,
crpoint: 0,
crvg: 0,
dbpoint: 0,
dbvg: 0,
fullphone: String,
firstn: String,
lastn: String,
sex: False,
merried: False,
childrens: 0,
dborn: 0001-01-01,
address: String,
a04id: 0,
a13id: 0,
a15id: 0,
a22id: 0,
a23id: 0,
cityid: 0,
regdate: 0001-01-01
}
]
}