POST api/Winning/SendWinning

Request Information

URI Parameters

None.

Body Parameters

SendWinningBindingModel
NameDescriptionTypeAdditional information
CustomerPhone

string

Required

CustomerMail

string

Required

CustomerFirstName

string

None.

CustomerLastName

string

None.

CouponId

integer

Required

WorkerId

integer

Required

WinningId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "CustomerPhone": "sample string 1",
  "CustomerMail": "sample string 2",
  "CustomerFirstName": "sample string 3",
  "CustomerLastName": "sample string 4",
  "CouponId": 5,
  "WorkerId": 6,
  "WinningId": 7
}

application/xml, text/xml

Sample:
<SendWinningBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin.Models.BindingModel">
  <CouponId>5</CouponId>
  <CustomerFirstName>sample string 3</CustomerFirstName>
  <CustomerLastName>sample string 4</CustomerLastName>
  <CustomerMail>sample string 2</CustomerMail>
  <CustomerPhone>sample string 1</CustomerPhone>
  <WinningId>7</WinningId>
  <WorkerId>6</WorkerId>
</SendWinningBindingModel>

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.