POST api/EGiftCard/AcceptEGiftCard

Request Information

URI Parameters

None.

Body Parameters

EGiftCardAcceptRequest
NameDescriptionTypeAdditional information
EGiftCard

EGiftCard

None.

Request Formats

application/json, text/json

Sample:
{
  "EGiftCard": {
    "EGiftCardId": 1,
    "FriendlyCode": "sample string 2",
    "RecipientCustomerId": 3,
    "EGiftCardHash": "sample string 4",
    "RecipientEmail": "sample string 5",
    "NeedsReg": true,
    "RecipientFirstName": "sample string 7",
    "RecipientLastName": "sample string 8"
  }
}

text/html

Sample:
{"EGiftCard":{"EGiftCardId":1,"FriendlyCode":"sample string 2","RecipientCustomerId":3,"EGiftCardHash":"sample string 4","RecipientEmail":"sample string 5","NeedsReg":true,"RecipientFirstName":"sample string 7","RecipientLastName":"sample string 8"}}

application/xml, text/xml

Sample:
<EGiftCardAcceptRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO.Request">
  <EGiftCard xmlns:d2p1="http://schemas.datacontract.org/2004/07/Specialtys.DTO">
    <d2p1:EGiftCardHash>sample string 4</d2p1:EGiftCardHash>
    <d2p1:EGiftCardId>1</d2p1:EGiftCardId>
    <d2p1:FriendlyCode>sample string 2</d2p1:FriendlyCode>
    <d2p1:NeedsReg>true</d2p1:NeedsReg>
    <d2p1:RecipientCustomerId>3</d2p1:RecipientCustomerId>
    <d2p1:RecipientEmail>sample string 5</d2p1:RecipientEmail>
    <d2p1:RecipientFirstName>sample string 7</d2p1:RecipientFirstName>
    <d2p1:RecipientLastName>sample string 8</d2p1:RecipientLastName>
  </EGiftCard>
</EGiftCardAcceptRequest>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.