POST api/Barcode/GetBarcode
Request Information
URI Parameters
None.
Body Parameters
DABarcodePostModel| Name | Description | Type | Additional information |
|---|---|---|---|
| GameName | string |
None. |
|
| NumberDraws | unsigned integer |
None. |
|
| Multiplier | boolean |
None. |
|
| DoublePlay | boolean |
None. |
|
| Selections | Collection of string |
None. |
|
| DayOfWeek | unsigned integer |
None. |
|
| DrawTime | string |
None. |
|
| PlayType | string |
None. |
|
| BoardAmount | unsigned integer |
None. |
|
| Fireball | boolean |
None. |
|
| Pops | unsigned integer |
None. |
|
| Wildball | boolean |
None. |
|
| lotteryID | string |
None. |
|
| appID | string |
None. |
|
| deviceRegID | string |
Max length: 19 Min length: 19 |
|
| sig | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"lotteryID": "sample string 12",
"appID": "sample string 13",
"deviceRegID": "sample string 14",
"sig": "sample string 15",
"GameName": "sample string 1",
"NumberDraws": 2,
"Multiplier": true,
"DoublePlay": true,
"Selections": [
"sample string 1",
"sample string 2"
],
"DayOfWeek": 5,
"DrawTime": "sample string 6",
"PlayType": "sample string 7",
"BoardAmount": 8,
"Fireball": true,
"Pops": 10,
"Wildball": true
}
application/xml, text/xml
Sample:
<DABarcodePostModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<lotteryID>sample string 12</lotteryID>
<appID>sample string 13</appID>
<deviceRegID>sample string 14</deviceRegID>
<sig>sample string 15</sig>
<GameName>sample string 1</GameName>
<NumberDraws>2</NumberDraws>
<Multiplier>true</Multiplier>
<DoublePlay>true</DoublePlay>
<Selections>
<string>sample string 1</string>
<string>sample string 2</string>
</Selections>
<DayOfWeek>5</DayOfWeek>
<DrawTime>sample string 6</DrawTime>
<PlayType>sample string 7</PlayType>
<BoardAmount>8</BoardAmount>
<Fireball>true</Fireball>
<Pops>10</Pops>
<Wildball>true</Wildball>
</DABarcodePostModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string>sample string 1</string>