POST api/loyaltycard/add
Request Information
URI Parameters
None.
Body Parameters
LoyaltyCardModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CardID | string |
None. |
|
| CardType | string |
None. |
|
| CardDescription | string |
None. |
|
| PCAmount | decimal number |
None. |
|
| PCPoints | decimal number |
None. |
|
| PRPoints | decimal number |
None. |
|
| PRAmount | decimal number |
None. |
|
| PointValue | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"CardID": "sample string 1",
"CardType": "sample string 2",
"CardDescription": "sample string 3",
"PCAmount": 4.0,
"PCPoints": 5.0,
"PRPoints": 6.0,
"PRAmount": 7.0,
"PointValue": 8.0
}
application/xml, text/xml
Sample:
<LoyaltyCardModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ultrapos.Models"> <CardDescription>sample string 3</CardDescription> <CardID>sample string 1</CardID> <CardType>sample string 2</CardType> <PCAmount>4</PCAmount> <PCPoints>5</PCPoints> <PRAmount>7</PRAmount> <PRPoints>6</PRPoints> <PointValue>8</PointValue> </LoyaltyCardModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.