-
Notifications
You must be signed in to change notification settings - Fork 14
/
Harmony Core Custom Functionality.postman_collection.json
129 lines (129 loc) · 2.67 KB
/
Harmony Core Custom Functionality.postman_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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"info": {
"_postman_id": "becf5798-5c85-48a4-9ef0-628eaf9eb798",
"name": "Harmony Core Custom Functionality",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Create New Order (Method)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"aOrder\":{\r\n\t\t\"CustomerNumber\": 8,\r\n\t\t\"PlacedBy\": \"Max Henry\",\r\n\t\t\"CustomerReference\": \"NEWORD1\",\r\n\t\t\"PaymentTermsCode\": \"04\",\r\n\t\t\"DateOrdered\": \"2018-03-07T00:00:00Z\"\r\n\t},\r\n\t\"aOrderItems\": [\r\n\t\t{\r\n\t\t\t\"ItemOrdered\": 20,\r\n\t\t\t\"QuantityOrdered\": 25,\r\n\t\t\t\"UnitPrice\": 1.49\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"ItemOrdered\": 5,\r\n\t\t\t\"QuantityOrdered\": 25,\r\n\t\t\t\"UnitPrice\": 1.49\r\n\t\t}\r\n\t]\r\n}\r\n"
},
"url": {
"raw": "https://localhost:8086/odata/OrdersMethods/CreateNewOrder",
"protocol": "https",
"host": [
"localhost"
],
"port": "8086",
"path": [
"odata",
"OrdersMethods",
"CreateNewOrder"
]
}
},
"response": []
},
{
"name": "Read Order and Items",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://localhost:8086/odata/Orders(11)?$expand=REL_OrderItems",
"protocol": "https",
"host": [
"localhost"
],
"port": "8086",
"path": [
"odata",
"Orders(11)"
],
"query": [
{
"key": "$expand",
"value": "REL_OrderItems"
}
]
}
},
"response": []
},
{
"name": "GetAllCustomers (OpenVMS)",
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://localhost:8086/odata/VMS/GetAllCustomers()",
"protocol": "https",
"host": [
"localhost"
],
"port": "8086",
"path": [
"odata",
"VMS",
"GetAllCustomers()"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "4dcbae4a-93b8-475a-ad39-17ec34200ea7",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "2404d901-3e70-4d5a-8c34-ed2c0ac13761",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"id": "5a730cdd-84d5-42e5-954f-b6aba5801073",
"key": "AccessToken",
"value": "",
"type": "string"
}
]
}