POST api/CookieGram/AcceptCookieGram

Request Information

URI Parameters

None.

Body Parameters

CookieGramAcceptRequest
NameDescriptionTypeAdditional information
Cookiegram

CookieGram

None.

AcceptCookiegram

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Cookiegram": {
    "CookiegramId": 1,
    "FriendlyCode": "sample string 2",
    "RecipientCustomerId": 3
  },
  "AcceptCookiegram": true
}

text/html

Sample:
{"Cookiegram":{"CookiegramId":1,"FriendlyCode":"sample string 2","RecipientCustomerId":3},"AcceptCookiegram":true}

application/xml, text/xml

Sample:
<CookieGramAcceptRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO.Request">
  <AcceptCookiegram>true</AcceptCookiegram>
  <Cookiegram xmlns:d2p1="http://schemas.datacontract.org/2004/07/Specialtys.DTO">
    <d2p1:CookiegramId>1</d2p1:CookiegramId>
    <d2p1:FriendlyCode>sample string 2</d2p1:FriendlyCode>
    <d2p1:RecipientCustomerId>3</d2p1:RecipientCustomerId>
  </Cookiegram>
</CookieGramAcceptRequest>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.