-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTEMPLATES
99 lines (88 loc) · 1.39 KB
/
TEMPLATES
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
POST template on /order
{
"customerId": 1,
"addressId": 1,
"machineId": [
1, 2
]
}
PUT template on /order/{id}
{
"customerId": 2,
"addressId": 2,
"machineId": [
1, 2
]
}
POST template on /customer
{
"customerName": "Lars Olsen",
"customerEmail": "[email protected]",
"addressId": [
8, 3
]
}
PUT template on /customer/{id}
{
"customerName": "Vegard Hansen",
"customerEmail": "[email protected]",
"addressId": [
1, 2
]
}
POST template on /address
{
"addressStreet": "Trondheimsveien 1",
"addressCity": "Oslo",
"addressZip": 5313,
"customerId": [
1
]
}
PUT template on /address/{id}
{
"addressStreet": "Trollgata 31",
"addressCity": "Ski",
"addressZip": 1421,
"customerId": [
1
]
}
POST template on /machine
{
"machineName": "3D printer",
"machineType": "Assembly",
"subassemblyId": [
1
]
}
PUT template on /machine{id}
{
"machineName": "3D printer 3000",
"machineType": "Printer",
"subassemblyId": [
1
]
}
POST template on /subassembly
{
"subassemblyName": "PCB",
"partId":[
1
]
}
PUT template on /subassembly{id}
{
"subassemblyName": "PSU",
"partId":[
1
]
}
POST template on /part
{
"partName":"Microchip"
}
PUT template on /part{id}
{
"partName":"Microcontroller"
}