POST api/Customer

Request Information

URI Parameters

None.

Body Parameters

SendMailByFilterBindingModel
NameDescriptionTypeAdditional information
CustomerModel

CustomerBindingModel

None.

Body

string

None.

Subject

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerModel": {
    "BusinessId": 1,
    "AllOrSomeCustomers": 2,
    "VisitedOrNotVisited": 3,
    "Days": 4.1
  },
  "Body": "sample string 1",
  "Subject": "sample string 2"
}

application/xml, text/xml

Sample:
<SendMailByFilterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin2._0.Models.BindingModel">
  <Body>sample string 1</Body>
  <CustomerModel>
    <AllOrSomeCustomers>2</AllOrSomeCustomers>
    <BusinessId>1</BusinessId>
    <Days>4.1</Days>
    <VisitedOrNotVisited>3</VisitedOrNotVisited>
  </CustomerModel>
  <Subject>sample string 2</Subject>
</SendMailByFilterBindingModel>

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.