· 5 years ago · Sep 15, 2020, 02:40 PM
1{
2 "info": {
3 "_postman_id": "53640995-e7fb-4bf4-95db-dd7532a6bff3",
4 "name": "QA Test",
5 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6 },
7 "item": [
8 {
9 "name": "Successful update",
10 "event": [
11 {
12 "listen": "test",
13 "script": {
14 "id": "d9baf686-10a6-4245-bbd3-cbdfec854226",
15 "exec": [
16 "pm.test(\"Status code is 200\", function () {\r",
17 " pm.response.to.have.status(200);\r",
18 "});"
19 ],
20 "type": "text/javascript"
21 }
22 }
23 ],
24 "request": {
25 "method": "PUT",
26 "header": [],
27 "body": {
28 "mode": "raw",
29 "raw": "[\r\n {\r\n \"id\": 1,\r\n \"value\": \"Call member\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"value\": \"Update member info\"\r\n },\r\n {\r\n \"id\": 3,\r\n \"value\": \"Follow up with member\"\r\n }\r\n]",
30 "options": {
31 "raw": {
32 "language": "json"
33 }
34 }
35 },
36 "url": {
37 "raw": "https://dev-hub.ezra.com/api/v2/appointments/2f797f18-318d-41bf-a77c-813f2f5bb3dd/items",
38 "protocol": "https",
39 "host": [
40 "dev-hub",
41 "ezra",
42 "com"
43 ],
44 "path": [
45 "api",
46 "v2",
47 "appointments",
48 "2f797f18-318d-41bf-a77c-813f2f5bb3dd",
49 "items"
50 ]
51 },
52 "description": "Make sure the happy path works"
53 },
54 "response": []
55 }
56 ],
57 "auth": {
58 "type": "bearer",
59 "bearer": [
60 {
61 "key": "token",
62 "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
63 "type": "string"
64 }
65 ]
66 },
67 "protocolProfileBehavior": {}
68}