POST api/Customer/SendCouponToCustomersByFilter

Request Information

URI Parameters

None.

Body Parameters

SendCouponByFilterBindingModel
NameDescriptionTypeAdditional information
CustomerModel

CustomerBindingModel

None.

IconId

integer

None.

Text

string

None.

IconUrl

string

None.

IsValidation

boolean

None.

StartValidationDate

decimal number

None.

EndValidationDate

decimal number

None.

CouponSubject

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerModel": {
    "BusinessId": 1,
    "AllOrSomeCustomers": 2,
    "VisitedOrNotVisited": 3,
    "Days": 4.1
  },
  "IconId": 1,
  "Text": "sample string 2",
  "IconUrl": "sample string 3",
  "IsValidation": true,
  "StartValidationDate": 5.1,
  "EndValidationDate": 6.1,
  "CouponSubject": "sample string 7"
}

application/xml, text/xml

Sample:
<SendCouponByFilterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin2._0.Models.BindingModel">
  <CouponSubject>sample string 7</CouponSubject>
  <CustomerModel>
    <AllOrSomeCustomers>2</AllOrSomeCustomers>
    <BusinessId>1</BusinessId>
    <Days>4.1</Days>
    <VisitedOrNotVisited>3</VisitedOrNotVisited>
  </CustomerModel>
  <EndValidationDate>6.1</EndValidationDate>
  <IconId>1</IconId>
  <IconUrl>sample string 3</IconUrl>
  <IsValidation>true</IsValidation>
  <StartValidationDate>5.1</StartValidationDate>
  <Text>sample string 2</Text>
</SendCouponByFilterBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
Succeeded

Object

None.

SucceedInt

integer

None.

SucceedString

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.