-
Notifications
You must be signed in to change notification settings - Fork 0
/
restaurent_api_collection.json
85 lines (85 loc) · 3.07 KB
/
restaurent_api_collection.json
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"client": "Thunder Client",
"collectionName": "Restaurent",
"dateExported": "2023-12-20T13:29:55.677Z",
"version": "1.1",
"folders": [],
"requests": [
{
"_id": "35b9c161-790f-4198-8cb0-0dacb7eda586",
"colId": "b3333368-b72e-4f6f-9970-178187d19c50",
"containerId": "",
"name": "voucher_create",
"url": "http://127.0.0.1:8000/api/v1/voucher/",
"method": "POST",
"sortNum": 10000,
"created": "2023-12-20T05:33:00.201Z",
"modified": "2023-12-20T06:19:23.035Z",
"headers": [],
"params": [],
"body": {
"type": "json",
"raw": "{\n \"name\": \"Voucher 50 to 100\",\n \"purchase_value\": 11,\n \"validity\":\"2023-12-30\",\n \"credit_value\": 22,\n \"description\":\"Test\",\n \"restaurent\": 1,\n \"voucher_count\": 10\n}",
"form": []
},
"tests": []
},
{
"_id": "bdbf33d1-ab34-4343-b167-6b5c2601ffc9",
"colId": "b3333368-b72e-4f6f-9970-178187d19c50",
"containerId": "",
"name": "CustomerPurchase",
"url": "http://127.0.0.1:8000/api/v1/purchase/",
"method": "POST",
"sortNum": 20000,
"created": "2023-12-20T07:46:55.402Z",
"modified": "2023-12-20T08:00:11.579Z",
"headers": [],
"params": [],
"body": {
"type": "json",
"raw": "{\n \"customer\":1,\n \"restaurent\": 1,\n \"voucher_value\": 11\n}",
"form": []
},
"tests": []
},
{
"_id": "8f373466-1df5-4711-b50e-fa1880b0fc38",
"colId": "b3333368-b72e-4f6f-9970-178187d19c50",
"containerId": "",
"name": "Redeem",
"url": "http://127.0.0.1:8000/api/v1/redeem/",
"method": "POST",
"sortNum": 30000,
"created": "2023-12-20T12:46:25.119Z",
"modified": "2023-12-20T13:08:56.916Z",
"headers": [],
"params": [],
"body": {
"type": "json",
"raw": "{\n \"customer\": 1,\n \"restaurent\": 1,\n \"bill_amount\": 25,\n \"coupon_code\": \"a7e15e40-2f6b-4c9e-ba4d-c2869dadce03\"\n}",
"form": []
},
"tests": []
},
{
"_id": "d09e86db-df4b-4a4f-9a87-a56a2ff37a90",
"colId": "b3333368-b72e-4f6f-9970-178187d19c50",
"containerId": "",
"name": "customer_voucher",
"url": "http://127.0.0.1:8000/api/v1/customer_voucher/",
"method": "POST",
"sortNum": 40000,
"created": "2023-12-20T13:20:47.695Z",
"modified": "2023-12-20T13:29:29.737Z",
"headers": [],
"params": [],
"body": {
"type": "json",
"raw": "{\n \"customer\": 1\n}",
"form": []
},
"tests": []
}
]
}