POST call, passing a JSON body as specified below.| Field | Description | Type | Mandatory |
|---|---|---|---|
| cardBarcode | Barcode for the card to be searched | String | ā |
[{
progId: 21,
companyId: "DEMO1",
siteId: 500,
cardBarcode: "0093799361353",
issueDate: "2016-04-11 00:00:00",
active: "T",
activationDate: "2016-04-11 00:00:00",
expirationDate: "2017-04-11 00:00:00",
cardValue: 200,
userIdCreate: "ADMIN",
createDate: "2017-05-03 09:05:42",
userIdUpdate: "ADMIN",
lastUpdate: "2017-05-04 15:39:26",
dataSource: null,
rowVersion: 0,
status: "E",
giftcardsStatus: "1",
country: "IT",
valueBalance : 100
}]
{
"cardBarcode": 0093799361353
}curl --location --request POST '/api?cmd=getGift_v3&appId=KEEPIT&applicationId=KEEPIT' \
--header 'username: {{USERNAME}}' \
--header 'password: {{PASSWORD}}' \
--header 'companyId: {{COMPANY_ID}}' \
--header 'siteId: {{SITE_ID}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"cardBarcode": 0093799361353
}'[
{
"progId": 21,
"companyId": "DEMO1",
"siteId": 500,
"cardBarcode": "0093799361353",
"issueDate": "2016-04-11 00:00:00",
"active": "T",
"activationDate": "2016-04-11 00:00:00",
"expirationDate": "2017-04-11 00:00:00",
"cardValue": 200,
"userIdCreate": "ADMIN",
"createDate": "2017-05-03 09:05:42",
"userIdUpdate": "ADMIN",
"lastUpdate": "2017-05-04 15:39:26",
"dataSource": null,
"rowVersion": 0,
"status": "E",
"giftcardsStatus": "1",
"country": "IT",
"valueBalance": 100
}
]