POST api/GiftCard/GiftCardToUser
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"ToFullName": "sample string 1",
"Amount": 2.0,
"Message": "sample string 3",
"isCustomizedGiftCard": true,
"giftCardImg": "sample string 5",
"cardId": "sample string 6",
"buyingForHimself": true,
"PaymentType": 1
}
text/xml
Sample:
<SendGiftCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapishopinbelgium.Models"> <Amount>2</Amount> <Message>sample string 3</Message> <PaymentType>TransferWise</PaymentType> <ToFullName>sample string 1</ToFullName> <buyingForHimself>true</buyingForHimself> <cardId>sample string 6</cardId> <giftCardImg>sample string 5</giftCardImg> <isCustomizedGiftCard>true</isCustomizedGiftCard> </SendGiftCard>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"dt": {},
"notificationsDt": {},
"response": "sample string 3",
"message": "sample string 4",
"addedId": "sample string 5"
}
text/xml
Sample:
<CommonResponseObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapishopinbelgium.Models"> <addedId>sample string 5</addedId> <message>sample string 4</message> <response>sample string 3</response> <dt /> <notificationsDt /> </CommonResponseObject>