POST api/v1/coupons/couponcodes/{value}/sendbyemail

Request Information

URI Parameters

NameDescriptionTypeAdditional information
value

string

Required

Body Parameters

SendCouponByEmailDto
NameDescriptionTypeAdditional information
OrganizationCode

string

None.

Value

string

None.

CustomerId

globally unique identifier

None.

Link

string

None.

Request Formats

application/json, text/json

Sample:
{
  "organizationCode": "sample string 1",
  "value": "sample string 2",
  "customerId": "be73af5d-b01f-465f-a8f0-4f36bcf80bd4",
  "link": "sample string 3"
}

application/xml, text/xml

Sample:
<SendCouponByEmailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.Services.Dtos">
  <CustomerId>be73af5d-b01f-465f-a8f0-4f36bcf80bd4</CustomerId>
  <Link>sample string 3</Link>
  <OrganizationCode>sample string 1</OrganizationCode>
  <Value>sample string 2</Value>
</SendCouponByEmailDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.