SendRegning

List all discount codes

Verison: 1.0 (read more)

Request

1
GET /host/events/{number}/discount-codes

Response

HTTP/1.1 200 OK

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[{
    "number": 1,
    "code": "Jul 2016",
    "amount": 100.00,
    "_links": {
        "self": {
            "uri": "/host/events/{number}/discount-codes/1"
        },
        "update": {
            "uri": "/host/events/{number}/discount-codes/1"
        },
        "delete": {
            "uri": "/host/events/{number}/discount-codes/1"
        }
    }
}, {
    "number": 2,
    "code": "PĂ„ske 2017",
    "amount": 75.00,
    "_links": {
        "self": {
            "uri": "/host/events/{number}/discount-codes/2"
        },
        "update": {
            "uri": "/host/events/{number}/discount-codes/2"
        },
        "delete": {
            "uri": "/host/events/{number}/discount-codes/2"
        }
    }
}]