POST api/RRSettingsBP/SaveLuckyDraw

Request Information

URI Parameters

None.

Body Parameters

RRLuckyDrawAddDto
NameDescriptionTypeAdditional information
Id

integer

None.

Prize

string

None.

DrawDate

date

None.

Description

string

None.

ImageUrl

string

None.

Terms

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Prize": "sample string 2",
  "DrawDate": "2023-01-27T16:29:17.4227658+05:30",
  "Description": "sample string 4",
  "ImageUrl": "sample string 5",
  "Terms": "sample string 6"
}

application/xml, text/xml

Sample:
<RRLuckyDrawAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <Description>sample string 4</Description>
  <DrawDate>2023-01-27T16:29:17.4227658+05:30</DrawDate>
  <Id>1</Id>
  <ImageUrl>sample string 5</ImageUrl>
  <Prize>sample string 2</Prize>
  <Terms>sample string 6</Terms>
</RRLuckyDrawAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <Data />
  <Message>sample string 2</Message>
  <Status>1</Status>
</Response>