POST | /POS/Lottery/Check/{LotteryCode} | ||
---|---|---|---|
POST | /POS/Lottery/Check |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LotteryCode | path | string | No | |
BranchId | body | int? | 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 .jsv suffix or ?format=jsv
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: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
LotteryCode: String,
BranchId: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv 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: 0001-01-01, detailed_reason: String, draw_config_version: String, result: String, payout: 0, total_prize: 0, draw_prizes: [ { draw_date: 0001-01-01, 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 } }