| POST | /POS/Lottery/Check/{LotteryCode} | ||
|---|---|---|---|
| POST | /POS/Lottery/Check |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LotteryCode | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | LoterityCheck | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| config_version | form | string | No | |
| current_time | form | DateTime? | No | |
| detailed_reason | form | string | No | |
| draw_config_version | form | string | No | |
| result | form | string | No | |
| payout | form | decimal | No | |
| total_prize | form | decimal | No | |
| draw_prizes | form | List<DrawPrizes> | No | |
| taxes | form | List<LotteryTax> | No | |
| total_tax | form | decimal | No | |
| game_id | form | string | No | |
| game_name | form | string | No | |
| serial | form | string | No | |
| description | form | string | No | |
| HumanMessage | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| draw_date | form | DateTime | No | |
| draw_id | form | string | No | |
| draw_prize | form | decimal | No | |
| draw_serie | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TaxName | form | string | No | |
| TaxAmount | form | decimal | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /POS/Lottery/Check/{LotteryCode} HTTP/1.1
Host: 10.10.0.107
Accept: application/json
Content-Type: application/json
Content-Length: length
{"LotteryCode":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":{"config_version":"String","current_time":"\/Date(-62135596800000-0000)\/","detailed_reason":"String","draw_config_version":"String","result":"String","payout":0,"total_prize":0,"draw_prizes":[{"draw_date":"\/Date(-62135596800000-0000)\/","draw_id":"String","draw_prize":0,"draw_serie":"String"}],"taxes":[{"TaxName":"String","TaxAmount":0}],"total_tax":0,"game_id":"String","game_name":"String","serial":"String","description":"String","HumanMessage":"String"}}