forked from ONDC-Official/ondc-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nsdl_postman.collection
420 lines (420 loc) · 32 KB
/
nsdl_postman.collection
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
{
"info": {
"_postman_id": "dcb1f41f-daf3-48c1-afc6-b3adb5874068",
"name": "beckn-api",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "search",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"context\": {\r\n\t\t\"domain\": \"MOBILITY\",\r\n\t\t\"country\": \"IND\",\r\n\t\t\"city\": \"Pune\",\r\n\t\t\"action\": \"search\",\r\n\t\t\"core_version\": \"0.9.2\",\r\n\t\t\"bap_id\": \"\",\r\n\t\t\"bap_uri\": \"\",\r\n\t\t\"bpp_id\": \"\",\r\n\t\t\"bpp_uri\": \"http://localhost:8081/seller/adaptor/search\",\r\n\t\t\"transaction_id\": \"12387917398173\",\r\n\t\t\"message_id\": \"string\",\r\n\t\t\"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\"key\": \"string\",\r\n\t\t\"ttl\": \"string\"\r\n\t},\r\n\t\"message\": {\r\n\t\t\"intent\": {\r\n\t\t\t\"provider\": {\r\n\t\t\t\t\"id\": \"string\",\r\n\t\t\t\t\"descriptor\": {\r\n\t\t\t\t\t\"name\": \"string\",\r\n\t\t\t\t\t\"code\": \"string\",\r\n\t\t\t\t\t\"symbol\": \"string\",\r\n\t\t\t\t\t\"short_desc\": \"string\",\r\n\t\t\t\t\t\"long_desc\": \"string\",\r\n\t\t\t\t\t\"images\": [\r\n\t\t\t\t\t\t\"string\"\r\n\t\t\t\t\t],\r\n\t\t\t\t\t\"audio\": \"string\",\r\n\t\t\t\t\t\"3d_render\": \"string\"\r\n\t\t\t\t},\r\n\t\t\t\t\"locations\": [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"id\": \"string\"\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t},\r\n\t\t\t\"fulfillment\": {\r\n\t\t\t\t\"id\": \"string\",\r\n\t\t\t\t\"start\": {\r\n\t\t\t\t\t\"location\": {\r\n\t\t\t\t\t\t\"id\": \"string\",\r\n\t\t\t\t\t\t\"descriptor\": {\r\n\t\t\t\t\t\t\t\"name\": \"string\",\r\n\t\t\t\t\t\t\t\"code\": \"string\",\r\n\t\t\t\t\t\t\t\"symbol\": \"string\",\r\n\t\t\t\t\t\t\t\"short_desc\": \"string\",\r\n\t\t\t\t\t\t\t\"long_desc\": \"string\",\r\n\t\t\t\t\t\t\t\"images\": [\r\n\t\t\t\t\t\t\t\t\"string\"\r\n\t\t\t\t\t\t\t],\r\n\t\t\t\t\t\t\t\"audio\": \"string\",\r\n\t\t\t\t\t\t\t\"3d_render\": \"string\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"gps\": \"string\",\r\n\t\t\t\t\t\t\"address\": {\r\n\t\t\t\t\t\t\t\"door\": \"string\",\r\n\t\t\t\t\t\t\t\"name\": \"string\",\r\n\t\t\t\t\t\t\t\"building\": \"string\",\r\n\t\t\t\t\t\t\t\"street\": \"string\",\r\n\t\t\t\t\t\t\t\"locality\": \"string\",\r\n\t\t\t\t\t\t\t\"ward\": \"string\",\r\n\t\t\t\t\t\t\t\"city\": \"string\",\r\n\t\t\t\t\t\t\t\"state\": \"string\",\r\n\t\t\t\t\t\t\t\"country\": \"string\",\r\n\t\t\t\t\t\t\t\"area_code\": \"string\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"station_code\": \"string\",\r\n\t\t\t\t\t\t\"city\": {\r\n\t\t\t\t\t\t\t\"name\": \"string\",\r\n\t\t\t\t\t\t\t\"code\": \"string\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"country\": {\r\n\t\t\t\t\t\t\t\"name\": \"string\",\r\n\t\t\t\t\t\t\t\"code\": \"string\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"circle\": \"string\",\r\n\t\t\t\t\t\t\"polygon\": \"string\",\r\n\t\t\t\t\t\t\"3dspace\": \"string\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"time\": {\r\n\t\t\t\t\t\t\"label\": \"string\",\r\n\t\t\t\t\t\t\"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\t\t\t\t\"duration\": \"string\",\r\n\t\t\t\t\t\t\"range\": {\r\n\t\t\t\t\t\t\t\"start\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\t\t\t\t\t\"end\": \"2021-03-22T05:48:04.938Z\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"days\": \"string\"\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t\"end\": {\r\n\t\t\t\t\t\"location\": {\r\n\t\t\t\t\t\t\"id\": \"string\",\r\n\t\t\t\t\t\t\"descriptor\": {\r\n\t\t\t\t\t\t\t\"name\": \"string\",\r\n\t\t\t\t\t\t\t\"code\": \"string\",\r\n\t\t\t\t\t\t\t\"symbol\": \"string\",\r\n\t\t\t\t\t\t\t\"short_desc\": \"string\",\r\n\t\t\t\t\t\t\t\"long_desc\": \"string\",\r\n\t\t\t\t\t\t\t\"images\": [\r\n\t\t\t\t\t\t\t\t\"string\"\r\n\t\t\t\t\t\t\t],\r\n\t\t\t\t\t\t\t\"audio\": \"string\",\r\n\t\t\t\t\t\t\t\"3d_render\": \"string\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"gps\": \"string\",\r\n\t\t\t\t\t\t\"address\": {\r\n\t\t\t\t\t\t\t\"door\": \"string\",\r\n\t\t\t\t\t\t\t\"name\": \"string\",\r\n\t\t\t\t\t\t\t\"building\": \"string\",\r\n\t\t\t\t\t\t\t\"street\": \"string\",\r\n\t\t\t\t\t\t\t\"locality\": \"string\",\r\n\t\t\t\t\t\t\t\"ward\": \"string\",\r\n\t\t\t\t\t\t\t\"city\": \"string\",\r\n\t\t\t\t\t\t\t\"state\": \"string\",\r\n\t\t\t\t\t\t\t\"country\": \"string\",\r\n\t\t\t\t\t\t\t\"area_code\": \"string\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"station_code\": \"string\",\r\n\t\t\t\t\t\t\"city\": {\r\n\t\t\t\t\t\t\t\"name\": \"string\",\r\n\t\t\t\t\t\t\t\"code\": \"string\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"country\": {\r\n\t\t\t\t\t\t\t\"name\": \"string\",\r\n\t\t\t\t\t\t\t\"code\": \"string\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"circle\": \"string\",\r\n\t\t\t\t\t\t\"polygon\": \"string\",\r\n\t\t\t\t\t\t\"3dspace\": \"string\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"time\": {\r\n\t\t\t\t\t\t\"label\": \"string\",\r\n\t\t\t\t\t\t\"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\t\t\t\t\"duration\": \"string\",\r\n\t\t\t\t\t\t\"range\": {\r\n\t\t\t\t\t\t\t\"start\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\t\t\t\t\t\"end\": \"2021-03-22T05:48:04.938Z\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"days\": \"string\"\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t\"tags\": {\r\n\t\t\t\t\t\"additionalProp1\": \"string\",\r\n\t\t\t\t\t\"additionalProp2\": \"string\",\r\n\t\t\t\t\t\"additionalProp3\": \"string\"\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t\"payment\": {\r\n\t\t\t\t\"uri\": \"string\",\r\n\t\t\t\t\"tl_method\": \"http/get\",\r\n\t\t\t\t\"params\": {\r\n\t\t\t\t\t\"transaction_id\": \"string\",\r\n\t\t\t\t\t\"amount\": \"string\",\r\n\t\t\t\t\t\"additionalProp1\": \"string\",\r\n\t\t\t\t\t\"additionalProp2\": \"string\",\r\n\t\t\t\t\t\"additionalProp3\": \"string\"\r\n\t\t\t\t},\r\n\t\t\t\t\"type\": \"ON-ORDER\",\r\n\t\t\t\t\"status\": \"PAID\",\r\n\t\t\t\t\"time\": {\r\n\t\t\t\t\t\"label\": \"string\",\r\n\t\t\t\t\t\"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\t\t\t\"duration\": \"string\",\r\n\t\t\t\t\t\"range\": {\r\n\t\t\t\t\t\t\"start\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\t\t\t\t\"end\": \"2021-03-22T05:48:04.938Z\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"days\": \"string\"\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t\"category\": {\r\n\t\t\t\t\"id\": \"string\",\r\n\t\t\t\t\"descriptor\": {\r\n\t\t\t\t\t\"name\": \"string\",\r\n\t\t\t\t\t\"code\": \"string\",\r\n\t\t\t\t\t\"symbol\": \"string\",\r\n\t\t\t\t\t\"short_desc\": \"string\",\r\n\t\t\t\t\t\"long_desc\": \"string\",\r\n\t\t\t\t\t\"images\": [\r\n\t\t\t\t\t\t\"string\"\r\n\t\t\t\t\t],\r\n\t\t\t\t\t\"audio\": \"string\",\r\n\t\t\t\t\t\"3d_render\": \"string\"\r\n\t\t\t\t},\r\n\t\t\t\t\"time\": {\r\n\t\t\t\t\t\"label\": \"string\",\r\n\t\t\t\t\t\"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\t\t\t\"duration\": \"string\",\r\n\t\t\t\t\t\"range\": {\r\n\t\t\t\t\t\t\"start\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\t\t\t\t\"end\": \"2021-03-22T05:48:04.938Z\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"days\": \"string\"\r\n\t\t\t\t},\r\n\t\t\t\t\"tags\": [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"additionalProp1\": \"string\",\r\n\t\t\t\t\t\t\"additionalProp2\": \"string\",\r\n\t\t\t\t\t\t\"additionalProp3\": \"string\"\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t},\r\n\t\t\t\"offer\": {\r\n\t\t\t\t\"id\": \"string\",\r\n\t\t\t\t\"descriptor\": {\r\n\t\t\t\t\t\"name\": \"string\"\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t\"item\": {\r\n\t\t\t\t\"id\": \"string\",\r\n\t\t\t\t\"descriptor\": {\r\n\t\t\t\t\t\"name\": \"string\"\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t\"tags\": {\r\n\t\t\t\t\"additionalProp1\": \"string\",\r\n\t\t\t\t\"additionalProp2\": \"string\",\r\n\t\t\t\t\"additionalProp3\": \"string\"\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}"
},
"url": {
"raw": "http://localhost:8080/buyer/adaptor/search",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"buyer",
"adaptor",
"search"
]
}
},
"response": []
},
{
"name": "select",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"context\": {\r\n \"domain\": \"MOBILITY\",\r\n\t \"country\": \"IND\",\r\n\t \"city\": \"Pune\",\r\n \"action\": \"select\",\r\n \"core_version\": \"0.9.2\",\r\n \"bap_id\": \"\",\r\n \"bap_uri\": \"\",\r\n \"bpp_id\": \"\",\r\n \"bpp_uri\": \"http://localhost:8081/seller/adaptor/select\",\r\n \"transaction_id\": \"12387917398173\",\r\n \"message_id\": \"string\",\r\n \"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n \"key\": \"string\",\r\n \"ttl\": \"string\"\r\n },\r\n \"message\": {\r\n \"order\": {\r\n \"items\":[\r\n {\r\n \"id\": \"item_1\",\r\n \"quantity\": {\r\n \"count\": 2\r\n }\r\n },\r\n {\r\n \"id\": \"item_2\",\r\n \"quantity\": {\r\n \"count\": 1\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n}\r\n",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/buyer/adaptor/select",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"buyer",
"adaptor",
"select"
]
}
},
"response": []
},
{
"name": "init",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"context\": {\r\n \"domain\": \"MOBILITY\",\r\n\t \"country\": \"IND\",\r\n\t \"city\": \"Pune\",\r\n \"action\": \"INIT\",\r\n \"core_version\": \"0.9.2\",\r\n \"bap_id\": \"\",\r\n \"bap_uri\": \"\",\r\n \"bpp_id\": \"\",\r\n \"bpp_uri\": \"http://localhost:8081/seller/adaptor/init\",\r\n \"transaction_id\": \"12387917398173\",\r\n \"message_id\": \"string\",\r\n \"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n \"key\": \"string\",\r\n \"ttl\": \"string\"\r\n },\r\n \"message\": {\r\n \"order\": {\r\n \"items\":[\r\n {\r\n \"id\": \"item_1\",\r\n \"quantity\": {\r\n \"count\": 2\r\n }\r\n },\r\n {\r\n \"id\": \"item_2\",\r\n \"quantity\": {\r\n \"count\": 1\r\n }\r\n }\r\n ],\r\n \"billing\": {\r\n \"name\": \"John Doe\",\r\n \"address\": {\r\n \"door\": \"21A\",\r\n \"name\": \"ABC Appartments\",\r\n \"locality\": \"HSR Layout\",\r\n \"city\": \"Bengaluru\",\r\n \"state\": \"Karnataka\",\r\n \"country\": \"India\",\r\n \"area_code\": \"560102\"\r\n },\r\n \"email\": \"[email protected]\",\r\n \"phone\": \"+919876543210\"\r\n },\r\n \"fulfillment\": {\r\n \"type\": \"home-delivery\",\r\n \"tracking\": false,\r\n \"start\": {\r\n \"location\": {\r\n \"id\": \"koramangala-4th-block-location\",\r\n \"descriptor\": {\r\n \"name\": \"Pooja Stores\"\r\n },\r\n \"gps\": \"12.9349377,77.6055586\"\r\n },\r\n \"time\": {\r\n \"range\": {\r\n \"start\": \"2021-06-15T07:09:30.000Z\",\r\n \"end\": \"2021-06-15T07:10:30.000Z\"\r\n }\r\n },\r\n \"instructions\": {\r\n \"name\": \"pick up instructions\",\r\n \"short_desc\": \"Provide the order id\"\r\n },\r\n \"contact\": {\r\n \"phone\": \"+919999999999\",\r\n \"email\": \"[email protected]\"\r\n }\r\n },\r\n \"end\": {\r\n \"location\": {\r\n \"gps\": \"12.914028, 77.638698\",\r\n \"address\": {\r\n \"door\": \"21A\",\r\n \"name\": \"ABC Appartments\",\r\n \"locality\": \"HSR Layout\",\r\n \"city\": \"Bengaluru\",\r\n \"state\": \"Karnataka\",\r\n \"country\": \"India\",\r\n \"area_code\": \"560102\"\r\n }\r\n },\r\n \"time\": {\r\n \"range\": {\r\n \"start\": \"2021-06-15T07:11:36.212Z\",\r\n \"end\": \"2021-06-15T07:12:36.212Z\"\r\n }\r\n },\r\n \"instructions\": {\r\n \"name\": \"drop off instructions\",\r\n \"short_desc\": \"Leave at door step\"\r\n },\r\n \"contact\": {\r\n \"phone\": \"+919876543210\",\r\n \"email\": \"[email protected]\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n"
},
"url": {
"raw": "http://localhost:8080/buyer/adaptor/init",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"buyer",
"adaptor",
"init"
]
}
},
"response": []
},
{
"name": "confirm",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"context\": {\r\n\t\t\"domain\": \"MOBILITY\",\r\n\t\t\"country\": \"IND\",\r\n\t\t\"city\": \"Pune\",\r\n\t\t\"action\": \"confirm\",\r\n\t\t\"core_version\": \"0.9.2\",\r\n\t\t\"bap_id\": \"\",\r\n\t\t\"bap_uri\": \"\",\r\n\t\t\"bpp_id\": \"\",\r\n\t\t\"bpp_uri\": \"http://localhost:8081/seller/adaptor/confirm\",\r\n\t\t\"transaction_id\": \"12387917398173\",\r\n\t\t\"message_id\": \"string\",\r\n\t\t\"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\"key\": \"string\",\r\n\t\t\"ttl\": \"string\"\r\n\t},\r\n \"message\": {\r\n \"order\": {\r\n \"items\":[\r\n {\r\n \"id\": \"item_1\",\r\n \"quantity\": {\r\n \"count\": 2\r\n }\r\n },\r\n {\r\n \"id\": \"item_2\",\r\n \"quantity\": {\r\n \"count\": 1\r\n }\r\n }\r\n ],\r\n \"billing\": {\r\n \"name\": \"John Doe\",\r\n \"address\": {\r\n \"door\": \"21A\",\r\n \"name\": \"ABC Appartments\",\r\n \"locality\": \"HSR Layout\",\r\n \"city\": \"Bengaluru\",\r\n \"state\": \"Karnataka\",\r\n \"country\": \"India\",\r\n \"area_code\": \"560102\"\r\n },\r\n \"email\": \"[email protected]\",\r\n \"phone\": \"+919876543210\"\r\n },\r\n \"fulfillment\": {\r\n \"type\": \"home-delivery\",\r\n \"tracking\": false,\r\n \"start\": {\r\n \"location\": {\r\n \"id\": \"koramangala-4th-block-location\",\r\n \"descriptor\": {\r\n \"name\": \"Pooja Stores\"\r\n },\r\n \"gps\": \"12.9349377,77.6055586\"\r\n },\r\n \"time\": {\r\n \"range\": {\r\n \"start\": \"2021-06-15T07:09:30.000Z\",\r\n \"end\": \"2021-06-15T07:10:30.000Z\"\r\n }\r\n },\r\n \"instructions\": {\r\n \"name\": \"pick up instructions\",\r\n \"short_desc\": \"Provide the order id\"\r\n },\r\n \"contact\": {\r\n \"phone\": \"+919999999999\",\r\n \"email\": \"[email protected]\"\r\n }\r\n },\r\n \"end\": {\r\n \"location\": {\r\n \"gps\": \"12.914028, 77.638698\",\r\n \"address\": {\r\n \"door\": \"21A\",\r\n \"name\": \"ABC Appartments\",\r\n \"locality\": \"HSR Layout\",\r\n \"city\": \"Bengaluru\",\r\n \"state\": \"Karnataka\",\r\n \"country\": \"India\",\r\n \"area_code\": \"560102\"\r\n }\r\n },\r\n \"time\": {\r\n \"range\": {\r\n \"start\": \"2021-06-15T07:11:36.212Z\",\r\n \"end\": \"2021-06-15T07:12:36.212Z\"\r\n }\r\n },\r\n \"instructions\": {\r\n \"name\": \"drop off instructions\",\r\n \"short_desc\": \"Leave at door step\"\r\n },\r\n \"contact\": {\r\n \"phone\": \"+919876543210\",\r\n \"email\": \"[email protected]\"\r\n }\r\n }\r\n },\r\n \"quote\": {\r\n \"price\": {\r\n \"currency\": \"INR\",\r\n \"value\": \"370\"\r\n },\r\n \"breakup\": [\r\n {\r\n \"title\": \"Red Apples\",\r\n \"price\": {\r\n \"currency\": \"INR\",\r\n \"value\": \"180\"\r\n }\r\n },\r\n {\r\n \"title\": \"Green Apples Organic\",\r\n \"price\": {\r\n \"currency\": \"INR\",\r\n \"value\": \"170\"\r\n }\r\n },\r\n {\r\n \"title\": \"Delivery Charges\",\r\n \"price\": {\r\n \"currency\": \"INR\",\r\n \"value\": \"20\"\r\n }\r\n }\r\n ]\r\n },\r\n \"payment\": {\r\n \"uri\": \"https://api.bpp.com/pay?amt=$640&mode=upi&vpa=bpp@upi\",\r\n \"tl_method\": \"http/get\",\r\n \"params\": {\r\n \"amount\": \"640\",\r\n \"mode\": \"upi\",\r\n \"vpa\": \"bpp@upi\"\r\n },\r\n \"type\": \"ON-FULFILMENT\",\r\n \"status\": \"NOT-PAID\"\r\n }\r\n }\r\n }\r\n}\r\n"
},
"url": {
"raw": "http://localhost:8080/buyer/adaptor/confirm",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"buyer",
"adaptor",
"confirm"
]
}
},
"response": []
},
{
"name": "cancel",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"context\": {\r\n\t\t\"domain\": \"MOBILITY\",\r\n\t\t\"country\": \"IND\",\r\n\t\t\"city\": \"Pune\",\r\n\t\t\"action\": \"cancel\",\r\n\t\t\"core_version\": \"0.9.2\",\r\n\t\t\"bap_id\": \"\",\r\n\t\t\"bap_uri\": \"http://localhost:8080/buyer/adaptor/on_cancel\",\r\n\t\t\"bpp_id\": \"nsdl.co.in.bp|nsdl_bpp1\",\r\n\t\t\"bpp_uri\": \"http://localhost:8081/seller/adaptor/cancel\",\r\n\t\t\"transaction_id\": \"12387917398173\",\r\n\t\t\"message_id\": \"string\",\r\n\t\t\"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\"key\": \"string\",\r\n\t\t\"ttl\": \"string\"\r\n\t},\r\n\t\"message\": {\r\n\t\t\"order_id\": \"order_1\",\r\n\t\t\"cancellation_reason_id\": \"reason_3\"\r\n\t}\r\n}"
},
"url": {
"raw": "http://localhost:8080/buyer/adaptor/cancel",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"buyer",
"adaptor",
"cancel"
]
}
},
"response": []
},
{
"name": "track",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"context\": {\r\n \"domain\": \"MOBILITY\",\r\n \"country\": \"IND\",\r\n \"city\": \"Pune\",\r\n \"action\": \"track\",\r\n \"core_version\": \"0.9.2\",\r\n \"bap_id\": \"\",\r\n \"bap_uri\": \"\",\r\n \"bpp_id\": \"\",\r\n \"bpp_uri\": \"http://localhost:8081/seller/adaptor/track\",\r\n \"transaction_id\": \"12387917398173\",\r\n \"message_id\": \"string\",\r\n \"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n \"key\": \"string\",\r\n \"ttl\": \"string\"\r\n },\r\n \"message\": {\r\n \"order_id\": \"order_1\",\r\n \"callback_url\": \"https://mock_bap.com/order_track?orderId=order_1\"\r\n }\r\n}\r\n"
},
"url": {
"raw": "http://localhost:8080/buyer/adaptor/track",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"buyer",
"adaptor",
"track"
]
}
},
"response": []
},
{
"name": "status",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"context\": {\r\n\t\t\"domain\": \"MOBILITY\",\r\n\t\t\"country\": \"IND\",\r\n\t\t\"city\": \"Pune\",\r\n\t\t\"action\": \"status\",\r\n\t\t\"core_version\": \"0.9.2\",\r\n\t\t\"bap_id\": \"\",\r\n\t\t\"bap_uri\": \"\",\r\n\t\t\"bpp_id\": \"\",\r\n\t\t\"bpp_uri\": \"http://localhost:8081/seller/adaptor/status\",\r\n\t\t\"transaction_id\": \"12387917398173\",\r\n\t\t\"message_id\": \"string\",\r\n\t\t\"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\"key\": \"string\",\r\n\t\t\"ttl\": \"string\"\r\n\t},\r\n\t\"message\": {\r\n\t\t\"order_id\": \"order_1\"\r\n\t}\r\n}"
},
"url": {
"raw": "http://localhost:8080/buyer/adaptor/status",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"buyer",
"adaptor",
"status"
]
}
},
"response": []
},
{
"name": "update",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"context\": {\r\n\t\t\"domain\": \"MOBILITY\",\r\n\t\t\"country\": \"IND\",\r\n\t\t\"city\": \"Pune\",\r\n\t\t\"action\": \"update\",\r\n\t\t\"core_version\": \"0.9.2\",\r\n\t\t\"bap_id\": \"\",\r\n\t\t\"bap_uri\": \"\",\r\n\t\t\"bpp_id\": \"\",\r\n\t\t\"bpp_uri\": \"http://localhost:8081/seller/adaptor/update\",\r\n\t\t\"transaction_id\": \"12387917398173\",\r\n\t\t\"message_id\": \"string\",\r\n\t\t\"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\"key\": \"string\",\r\n\t\t\"ttl\": \"string\"\r\n\t},\r\n\t\"message\": {\r\n\t\t\"update_target\": \"payment\",\r\n\t\t\"order\": {\r\n\t\t\t\"id\": \"order_1\",\r\n\t\t\t\"state\": \"Fulfilment complete\",\r\n\t\t\t\"items\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": \"item_1\",\r\n\t\t\t\t\t\"quantity\": {\r\n\t\t\t\t\t\t\"count\": 2\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": \"item_2\",\r\n\t\t\t\t\t\"quantity\": {\r\n\t\t\t\t\t\t\"count\": 1\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\t\"billing\": {\r\n\t\t\t\t\"name\": \"John Doe\",\r\n\t\t\t\t\"address\": {\r\n\t\t\t\t\t\"door\": \"21A\",\r\n\t\t\t\t\t\"name\": \"ABC Appartments\",\r\n\t\t\t\t\t\"locality\": \"HSR Layout\",\r\n\t\t\t\t\t\"city\": \"Bengaluru\",\r\n\t\t\t\t\t\"state\": \"Karnataka\",\r\n\t\t\t\t\t\"country\": \"India\",\r\n\t\t\t\t\t\"area_code\": \"560102\"\r\n\t\t\t\t},\r\n\t\t\t\t\"email\": \"[email protected]\",\r\n\t\t\t\t\"phone\": \"+919876543210\"\r\n\t\t\t},\r\n\t\t\t\"fulfillment\": {\r\n\t\t\t\t\"type\": \"home-delivery\",\r\n\t\t\t\t\"tracking\": false,\r\n\t\t\t\t\"start\": {\r\n\t\t\t\t\t\"location\": {\r\n\t\t\t\t\t\t\"id\": \"koramangala-4th-block-location\",\r\n\t\t\t\t\t\t\"descriptor\": {\r\n\t\t\t\t\t\t\t\"name\": \"Pooja Stores\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"gps\": \"12.9349377,77.6055586\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"time\": {\r\n\t\t\t\t\t\t\"range\": {\r\n\t\t\t\t\t\t\t\"start\": \"2021-06-15T07:09:30.000Z\",\r\n\t\t\t\t\t\t\t\"end\": \"2021-06-15T07:10:30.000Z\"\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"instructions\": {\r\n\t\t\t\t\t\t\"name\": \"pick up instructions\",\r\n\t\t\t\t\t\t\"short_desc\": \"Provide the order id\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"contact\": {\r\n\t\t\t\t\t\t\"phone\": \"+919999999999\",\r\n\t\t\t\t\t\t\"email\": \"[email protected]\"\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t\"end\": {\r\n\t\t\t\t\t\"location\": {\r\n\t\t\t\t\t\t\"gps\": \"12.914028, 77.638698\",\r\n\t\t\t\t\t\t\"address\": {\r\n\t\t\t\t\t\t\t\"door\": \"21A\",\r\n\t\t\t\t\t\t\t\"name\": \"ABC Appartments\",\r\n\t\t\t\t\t\t\t\"locality\": \"HSR Layout\",\r\n\t\t\t\t\t\t\t\"city\": \"Bengaluru\",\r\n\t\t\t\t\t\t\t\"state\": \"Karnataka\",\r\n\t\t\t\t\t\t\t\"country\": \"India\",\r\n\t\t\t\t\t\t\t\"area_code\": \"560102\"\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"time\": {\r\n\t\t\t\t\t\t\"range\": {\r\n\t\t\t\t\t\t\t\"start\": \"2021-06-15T07:11:36.212Z\",\r\n\t\t\t\t\t\t\t\"end\": \"2021-06-15T07:12:36.212Z\"\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"instructions\": {\r\n\t\t\t\t\t\t\"name\": \"drop off instructions\",\r\n\t\t\t\t\t\t\"short_desc\": \"Leave at door step\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"contact\": {\r\n\t\t\t\t\t\t\"phone\": \"+919876543210\",\r\n\t\t\t\t\t\t\"email\": \"[email protected]\"\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t\"quote\": {\r\n\t\t\t\t\"price\": {\r\n\t\t\t\t\t\"currency\": \"INR\",\r\n\t\t\t\t\t\"value\": \"370\"\r\n\t\t\t\t},\r\n\t\t\t\t\"breakup\": [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"title\": \"Red Apples\",\r\n\t\t\t\t\t\t\"price\": {\r\n\t\t\t\t\t\t\t\"currency\": \"INR\",\r\n\t\t\t\t\t\t\t\"value\": \"180\"\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"title\": \"Green Apples Organic\",\r\n\t\t\t\t\t\t\"price\": {\r\n\t\t\t\t\t\t\t\"currency\": \"INR\",\r\n\t\t\t\t\t\t\t\"value\": \"170\"\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"title\": \"Delivery Charges\",\r\n\t\t\t\t\t\t\"price\": {\r\n\t\t\t\t\t\t\t\"currency\": \"INR\",\r\n\t\t\t\t\t\t\t\"value\": \"20\"\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t},\r\n\t\t\t\"payment\": {\r\n\t\t\t\t\"uri\": \"https://api.bpp.com/pay?amt=$640&mode=upi&vpa=bpp@upi\",\r\n\t\t\t\t\"tl_method\": \"http/get\",\r\n\t\t\t\t\"params\": {\r\n\t\t\t\t\t\"transaction_id\": \"transaction_453\",\r\n\t\t\t\t\t\"amount\": \"640\",\r\n\t\t\t\t\t\"mode\": \"upi\",\r\n\t\t\t\t\t\"vpa\": \"bpp@upi\"\r\n\t\t\t\t},\r\n\t\t\t\t\"type\": \"ON-FULFILMENT\",\r\n\t\t\t\t\"status\": \"PAID\"\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/buyer/adaptor/update",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"buyer",
"adaptor",
"update"
]
}
},
"response": []
},
{
"name": "support",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"context\": {\r\n\t\t\"domain\": \"MOBILITY\",\r\n\t\t\"country\": \"IND\",\r\n\t\t\"city\": \"Pune\",\r\n\t\t\"action\": \"support\",\r\n\t\t\"core_version\": \"0.9.2\",\r\n\t\t\"bap_id\": \"\",\r\n\t\t\"bap_uri\": \"\",\r\n\t\t\"bpp_id\": \"\",\r\n\t\t\"bpp_uri\": \"http://localhost:8081/seller/adaptor/support\",\r\n\t\t\"transaction_id\": \"12387917398173\",\r\n\t\t\"message_id\": \"string\",\r\n\t\t\"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\"key\": \"string\",\r\n\t\t\"ttl\": \"string\"\r\n\t},\r\n\t\"message\": {\r\n\t\t\"ref_id\": \"order_1\"\r\n\t}\r\n}"
},
"url": {
"raw": "http://localhost:8080/buyer/adaptor/support",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"buyer",
"adaptor",
"support"
]
}
},
"response": []
},
{
"name": "rating",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"context\": {\r\n\t\t\"domain\": \"MOBILITY\",\r\n\t\t\"country\": \"IND\",\r\n\t\t\"city\": \"Pune\",\r\n\t\t\"action\": \"rating\",\r\n\t\t\"core_version\": \"0.9.2\",\r\n\t\t\"bap_id\": \"\",\r\n\t\t\"bap_uri\": \"\",\r\n\t\t\"bpp_id\": \"\",\r\n\t\t\"bpp_uri\": \"http://localhost:8081/seller/adaptor/rating\",\r\n\t\t\"transaction_id\": \"12387917398173\",\r\n\t\t\"message_id\": \"string\",\r\n\t\t\"timestamp\": \"2021-03-22T05:48:04.938Z\",\r\n\t\t\"key\": \"string\",\r\n\t\t\"ttl\": \"string\"\r\n\t},\r\n \"message\": {\r\n \"id\": \"order_1\",\r\n \"value\": \"4\"\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/buyer/adaptor/rating",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"buyer",
"adaptor",
"rating"
]
}
},
"response": []
},
{
"name": "lookup",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\"type\": \"BAP\", \"domain\": \"MOBILITY\", \"country\": \"IND\", \"city\": \"Pune\"}"
},
"url": {
"raw": "http://localhost:8080/bap/adaptor/lookup",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"bap",
"adaptor",
"lookup"
]
}
},
"response": []
}
]
}