PUT api/scandata/igarewards/{apiID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiID | integer |
Required |
Body Parameters
IGARewardName | Description | Type | Additional information |
---|---|---|---|
APIID |
API identifier |
integer |
None. |
Identifier | globally unique identifier |
None. |
|
ReceiptEnable |
Receipt enable |
boolean |
None. |
ReceiptValid |
Send receipt only when customer details are valid |
boolean |
None. |
LoyaltyEnable |
Loyalty enable |
boolean |
None. |
LoyaltyName |
Loyalty program name |
string |
None. |
LoyaltyVersion |
Loyalty API version |
string |
None. |
CardRegex |
Loyalty card regex |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "apiid": 1, "identifier": "6cb9362d-ac2c-4752-82b5-ffe5b2cee1f5", "receiptEnable": true, "receiptValid": true, "loyaltyEnable": true, "loyaltyName": "sample string 5", "loyaltyVersion": "sample string 6", "cardRegex": "sample string 7" }
application/xml, text/xml
Sample:
<IGAReward xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Scandata"> <APIID>1</APIID> <CardRegex>sample string 7</CardRegex> <Identifier>6cb9362d-ac2c-4752-82b5-ffe5b2cee1f5</Identifier> <LoyaltyEnable>true</LoyaltyEnable> <LoyaltyName>sample string 5</LoyaltyName> <LoyaltyVersion>sample string 6</LoyaltyVersion> <ReceiptEnable>true</ReceiptEnable> <ReceiptValid>true</ReceiptValid> </IGAReward>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.