| GET | /LoyaltyCards/PPBonusXBCheck |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CheckData | query | List<PPBonusXBResult> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProdPP_id | form | string | No | |
| BCode | form | string | No | |
| ProductsName | form | string | No | |
| Unit | form | string | No | |
| CategoryName | form | string | No | |
| PPCatName | form | string | No | |
| ProducerName | form | string | No | |
| HName | form | string | No | |
| CR | form | string | No | |
| PriceGR | form | decimal | No | |
| PriceGT | form | decimal | No | |
| Bonus | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<PPBonusXBResult> | 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/PPBonusXBCheck 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:
[
{
ProdPP_id: String,
BCode: String,
ProductsName: String,
Unit: String,
CategoryName: String,
PPCatName: String,
ProducerName: String,
HName: String,
CR: String,
PriceGR: 0,
PriceGT: 0,
Bonus: 0
}
]
}