| Required role: | Backoffice |
| DELETE | /lottery/delete |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | query | long | No | |
| Force | query | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DeletedLotteryId | form | long | No | |
| DeletedImageIds | form | List<long> | Yes | |
| DeletedTicketCount | form | long | 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.
DELETE /lottery/delete HTTP/1.1 Host: backoffice-api.brovs.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
deletedLotteryId: 0,
deletedImageIds:
[
0
],
deletedTicketCount: 0
}