Skip to content

Commit c3254c6

Browse files
authored
Merge pull request #76 from divya-r3/master
Adding collection file for Postman version 2
2 parents a6e5d61 + 470323b commit c3254c6

File tree

1 file changed

+93
-0
lines changed

1 file changed

+93
-0
lines changed
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"info": {
3+
"_postman_id": "381497f6-9903-47b2-9d74-7f1578532895",
4+
"name": "Queryable State",
5+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6+
},
7+
"item": [
8+
{
9+
"name": "Vehicle Insurance",
10+
"request": {
11+
"method": "POST",
12+
"header": [
13+
{
14+
"key": "Content-Type",
15+
"name": "Content-Type",
16+
"type": "text",
17+
"value": "application/json"
18+
}
19+
],
20+
"body": {
21+
"mode": "raw",
22+
"raw": "{\n\t\"vehicleInfo\": {\n\t\t\"registrationNumber\": \"MH014343\",\n\t\t\"chasisNumber\": \"C232ND832\",\n\t\t\"make\": \"Hyundai\",\n\t\t\"model\": \"Elantra\",\n\t\t\"variant\": \"SX\",\n\t\t\"color\": \"Black\",\n\t\t\"fuelType\": \"Petrol\"\n\t},\n\t\"policyNumber\": \"8190\",\n\t\"insuredValue\": \"20000\",\n\t\"duration\": 1,\n\t\"premium\": \"3000\"\n}"
23+
},
24+
"url": {
25+
"raw": "http://localhost:8080/vehicleInsurance/Insuree",
26+
"protocol": "http",
27+
"host": [
28+
"localhost"
29+
],
30+
"port": "8080",
31+
"path": [
32+
"vehicleInsurance",
33+
"Insuree"
34+
]
35+
}
36+
},
37+
"response": []
38+
},
39+
{
40+
"name": "Claim",
41+
"request": {
42+
"method": "POST",
43+
"header": [
44+
{
45+
"key": "Content-Type",
46+
"name": "Content-Type",
47+
"value": "application/json",
48+
"type": "text"
49+
}
50+
],
51+
"body": {
52+
"mode": "raw",
53+
"raw": "{\n\t\"claimNumber\":\"C001\",\n\t\"claimDescription\": \"Minor Accident, Bumper Damaged\",\n\t\"claimAmount\": 1000\n}"
54+
},
55+
"url": {
56+
"raw": "http://localhost:8080//vehicleInsurance/claim/8190",
57+
"protocol": "http",
58+
"host": [
59+
"localhost"
60+
],
61+
"port": "8080",
62+
"path": [
63+
"",
64+
"vehicleInsurance",
65+
"claim",
66+
"8190"
67+
]
68+
}
69+
},
70+
"response": []
71+
}
72+
],
73+
"event": [
74+
{
75+
"listen": "prerequest",
76+
"script": {
77+
"type": "text/javascript",
78+
"exec": [
79+
""
80+
]
81+
}
82+
},
83+
{
84+
"listen": "test",
85+
"script": {
86+
"type": "text/javascript",
87+
"exec": [
88+
""
89+
]
90+
}
91+
}
92+
]
93+
}

0 commit comments

Comments
 (0)