From e5b5437af62fbbfe24dbc84c526c8941fdd2bb57 Mon Sep 17 00:00:00 2001 From: Tonksthebear Date: Fri, 15 Nov 2024 11:15:51 -0800 Subject: [PATCH] Replace postman collection --- .../Mobile Endpoints.postman_collection.json | 1053 +++++++++++ ...on Test Collection.postman_collection.json | 1540 ----------------- 2 files changed, 1053 insertions(+), 1540 deletions(-) create mode 100644 modules/mobile/docs/Mobile Endpoints.postman_collection.json delete mode 100644 modules/mobile/docs/MobileAPI Integration Test Collection.postman_collection.json diff --git a/modules/mobile/docs/Mobile Endpoints.postman_collection.json b/modules/mobile/docs/Mobile Endpoints.postman_collection.json new file mode 100644 index 00000000000..29d1fc891af --- /dev/null +++ b/modules/mobile/docs/Mobile Endpoints.postman_collection.json @@ -0,0 +1,1053 @@ +{ + "info": { + "_postman_id": "593c0b6e-77da-43b0-a37a-3c1fcf62227d", + "name": "Mobile Endpoints", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "22438103" + }, + "item": [ + { + "name": "/v0/letters", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/letters", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "letters" + ] + } + }, + "response": [] + }, + { + "name": "/v0/letters/beneficiary", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/letters/beneficiary", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "letters", + "beneficiary" + ] + } + }, + "response": [] + }, + { + "name": "/v0/messaging/health/folders", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/folders", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "messaging", + "health", + "folders" + ] + } + }, + "response": [] + }, + { + "name": "/v0/messaging/health/folders/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/folders/:id", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "messaging", + "health", + "folders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "{{folder_id}}" + } + ] + } + }, + "response": [] + }, + { + "name": "/v0/messaging/health/folders/{id}/messages", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/folders/:id/messages", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "messaging", + "health", + "folders", + ":id", + "messages" + ], + "variable": [ + { + "key": "id", + "value": "{{folder_id}}" + } + ] + } + }, + "response": [] + }, + { + "name": "/v0/messaging/health/messages/categories", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/messages/categories", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "messaging", + "health", + "messages", + "categories" + ] + } + }, + "response": [] + }, + { + "name": "/v0/messaging/health/messages/signature", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/messages/signature", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "messaging", + "health", + "messages", + "signature" + ] + } + }, + "response": [] + }, + { + "name": "/v0/messaging/health/messages/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/messages/:id", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "messaging", + "health", + "messages", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "{{message_id}}" + } + ] + } + }, + "response": [] + }, + { + "name": "/v0/messaging/health/messages/{id}/thread", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/messages/:id/thread", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "messaging", + "health", + "messages", + ":id", + "thread" + ], + "variable": [ + { + "key": "id", + "value": "{{message_id}}" + } + ] + } + }, + "response": [] + }, + { + "name": "/v0/messaging/health/recipients", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/recipients", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "messaging", + "health", + "recipients" + ] + } + }, + "response": [] + }, + { + "name": "/v0/health/immunizations", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/health/immunizations", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "health", + "immunizations" + ] + } + }, + "response": [] + }, + { + "name": "/v0/health/locations/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/health/locations/:id", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "health", + "locations", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "{{location_id}}" + } + ] + } + }, + "response": [] + }, + { + "name": "/v0/community-care-providers", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/community-care-providers?serviceType=primaryCare", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "community-care-providers" + ], + "query": [ + { + "key": "serviceType", + "value": "primaryCare" + } + ] + } + }, + "response": [] + }, + { + "name": "/v1/health/immunizations", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v1/health/immunizations", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v1", + "health", + "immunizations" + ] + } + }, + "response": [] + }, + { + "name": "/v0/maintenance_windows", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/maintenance_windows", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "maintenance_windows" + ] + } + }, + "response": [] + }, + { + "name": "/v0/appointments", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/appointments?include[]=pending&page[size]=900", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "appointments" + ], + "query": [ + { + "key": "include[]", + "value": "pending" + }, + { + "key": "page[size]", + "value": "900" + } + ] + } + }, + "response": [] + }, + { + "name": "/v0/claims-and-appeals-overview", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/claims-and-appeals-overview?page[size]=250", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "claims-and-appeals-overview" + ], + "query": [ + { + "key": "page[size]", + "value": "250" + } + ] + } + }, + "response": [] + }, + { + "name": "/v0/appeal/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/appeal/:id", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "appeal", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "{{appeal_id}}" + } + ] + } + }, + "response": [] + }, + { + "name": "/v0/claim/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/claim/:id", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "claim", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "{{claim_id}}" + } + ] + } + }, + "response": [] + }, + { + "name": "/v0/disability-rating", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/disability-rating", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "disability-rating" + ] + } + }, + "response": [] + }, + { + "name": "/v0/health/rx/prescriptions", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/health/rx/prescriptions", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "health", + "rx", + "prescriptions" + ] + } + }, + "response": [] + }, + { + "name": "/v0/health/rx/prescriptions/{id}/tracking", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/health/rx/prescriptions/:id/tracking", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "health", + "rx", + "prescriptions", + ":id", + "tracking" + ], + "variable": [ + { + "key": "id", + "value": "{{prescription_id}}" + } + ] + } + }, + "response": [] + }, + { + "name": "/v0/military-service-history", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/military-service-history", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "military-service-history" + ] + } + }, + "response": [] + }, + { + "name": "/v0/payment-history", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/payment-history", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "payment-history" + ] + } + }, + "response": [] + }, + { + "name": "/v0/payment-information/benefits", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/payment-information/benefits", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "payment-information", + "benefits" + ] + } + }, + "response": [] + }, + { + "name": "/v0/push/prefs/{endpointSid}", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/push/prefs/:endpointSid", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "push", + "prefs", + ":endpointSid" + ], + "variable": [ + { + "key": "endpointSid", + "value": "{{endpointSid}}" + } + ] + } + }, + "response": [] + }, + { + "name": "/v0/user", + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v0/user", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v0", + "user" + ] + } + }, + "response": [] + }, + { + "name": "/v1/user", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authentication-Method", + "value": "SIS", + "type": "text" + } + ], + "url": { + "raw": "https://staging-api.va.gov/mobile/v1/user", + "protocol": "https", + "host": [ + "staging-api", + "va", + "gov" + ], + "path": [ + "mobile", + "v1", + "user" + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "bearer" + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + } + ] +} \ No newline at end of file diff --git a/modules/mobile/docs/MobileAPI Integration Test Collection.postman_collection.json b/modules/mobile/docs/MobileAPI Integration Test Collection.postman_collection.json deleted file mode 100644 index 140d93557a8..00000000000 --- a/modules/mobile/docs/MobileAPI Integration Test Collection.postman_collection.json +++ /dev/null @@ -1,1540 +0,0 @@ -{ - "info": { - "_postman_id": "305e7b80-a110-4e11-95c0-308b565d9972", - "name": "MobileAPI Integration Test Collection", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "22438103" - }, - "item": [ - { - "name": "User 41 Tests", - "item": [ - { - "name": "/v0/letters", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var jsonData = pm.response.json()", - "pm.collectionVariables.set(\"letters_type\", jsonData.data.attributes.letters[0].letter_type)" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/letters", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "letters" - ] - } - }, - "response": [] - }, - { - "name": "/v0/letters/beneficiary", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/letters/beneficiary", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "letters", - "beneficiary" - ] - } - }, - "response": [] - }, - { - "name": "/v0/messaging/health/folders", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var jsonData = pm.response.json()", - "if(jsonData.hasOwnProperty('data') && jsonData.data.length != 0)", - "{pm.collectionVariables.set(\"folder_id\", jsonData.data[0].id)}", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/folders", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "messaging", - "health", - "folders" - ] - } - }, - "response": [] - }, - { - "name": "/v0/messaging/health/folders/{id}", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/folders/:id", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "messaging", - "health", - "folders", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "{{folder_id}}" - } - ] - } - }, - "response": [] - }, - { - "name": "/v0/messaging/health/folders/{id}/messages", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var jsonData = pm.response.json()", - "if(jsonData.hasOwnProperty('data') && jsonData.data.length != 0)", - "{pm.collectionVariables.set(\"message_id\", jsonData.data[0].id)}" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/folders/:id/messages", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "messaging", - "health", - "folders", - ":id", - "messages" - ], - "variable": [ - { - "key": "id", - "value": "{{folder_id}}" - } - ] - } - }, - "response": [] - }, - { - "name": "/v0/messaging/health/messages/categories", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/messages/categories", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "messaging", - "health", - "messages", - "categories" - ] - } - }, - "response": [] - }, - { - "name": "/v0/messaging/health/messages/signature", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/messages/signature", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "messaging", - "health", - "messages", - "signature" - ] - } - }, - "response": [] - }, - { - "name": "/v0/messaging/health/messages/{id}", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/messages/:id", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "messaging", - "health", - "messages", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "{{message_id}}" - } - ] - } - }, - "response": [] - }, - { - "name": "/v0/messaging/health/messages/{id}/thread", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/messages/:id/thread", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "messaging", - "health", - "messages", - ":id", - "thread" - ], - "variable": [ - { - "key": "id", - "value": "{{message_id}}" - } - ] - } - }, - "response": [] - }, - { - "name": "/v0/messaging/health/recipients", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/messaging/health/recipients", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "messaging", - "health", - "recipients" - ] - } - }, - "response": [] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "userToken = pm.collectionVariables.get(\"user_41_access_token\");", - "pm.collectionVariables.set(\"access_token\", userToken);" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] - }, - { - "name": "User 153 Tests", - "item": [ - { - "name": "/v0/health/immunizations", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var jsonData = pm.response.json();", - "", - "if(jsonData.data.length != 0) {", - " pm.collectionVariables.set(\"location_id\", jsonData.data[0].relationships.location.data.id);", - "};" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/health/immunizations", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "health", - "immunizations" - ] - } - }, - "response": [] - }, - { - "name": "/v0/health/locations/{id}", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/health/locations/:id", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "health", - "locations", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "{{location_id}}" - } - ] - } - }, - "response": [] - }, - { - "name": "/v0/community-care-providers", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/community-care-providers?serviceType=primaryCare", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "community-care-providers" - ], - "query": [ - { - "key": "serviceType", - "value": "primaryCare" - } - ] - } - }, - "response": [] - }, - { - "name": "/v1/health/immunizations", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v1/health/immunizations", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v1", - "health", - "immunizations" - ] - } - }, - "response": [] - }, - { - "name": "/v0/maintenance_windows", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/maintenance_windows", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "maintenance_windows" - ] - } - }, - "response": [] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "userToken = pm.collectionVariables.get(\"user_153_access_token\");", - "pm.collectionVariables.set(\"access_token\", userToken);" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] - }, - { - "name": "Judy Tests", - "item": [ - { - "name": "/v0/appointments", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var jsonData = pm.response.json()", - "if(jsonData.data.length != 0) {", - " let submittedAppointment = jsonData.data.find(appointment => { ", - " return appointment.attributes.status === \"SUBMITTED\"", - " });", - "", - " pm.collectionVariables.set(\"appointment_request_id\", submittedAppointment.id)", - " pm.collectionVariables.set(\"cancelId\", submittedAppointment.attributes.cancel_id)", - "}" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/appointments?include[]=pending&page[size]=900", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "appointments" - ], - "query": [ - { - "key": "include[]", - "value": "pending" - }, - { - "key": "page[size]", - "value": "900" - } - ] - } - }, - "response": [] - }, - { - "name": "/v0/claims-and-appeals-overview", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "var jsonData = pm.response.json();", - "", - "claim = jsonData.data.find(item => item.type === \"claim\");", - "", - "if(claim != null) {", - " pm.collectionVariables.set(\"claim_id\", claim.id)", - "};", - "", - "appeal = jsonData.data.find(item => item.type === \"appeal\");", - "", - "if(appeal != null) {", - " pm.collectionVariables.set(\"appeal_id\", appeal.id);", - "};", - "", - "pm.test(\"No Upstream errors\", () => {", - " pm.expect(jsonData.meta).to.not.have.any.keys(\"errors\");", - "})", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/claims-and-appeals-overview?page[size]=250", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "claims-and-appeals-overview" - ], - "query": [ - { - "key": "page[size]", - "value": "250" - } - ] - } - }, - "response": [] - }, - { - "name": "/v0/appeal/{id}", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/appeal/:id", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "appeal", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "{{appeal_id}}" - } - ] - } - }, - "response": [] - }, - { - "name": "/v0/claim/{id}", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/claim/:id", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "claim", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "{{claim_id}}" - } - ] - } - }, - "response": [] - }, - { - "name": "/v0/disability-rating", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/disability-rating", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "disability-rating" - ] - } - }, - "response": [] - } - ], - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{judy_access_token}}", - "type": "string" - } - ] - }, - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "userToken = pm.collectionVariables.get(\"judy_access_token\");", - "pm.collectionVariables.set(\"access_token\", userToken);" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] - }, - { - "name": "User 226 Tests", - "item": [], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "userToken = pm.collectionVariables.get(\"user_226_access_token\");", - "pm.collectionVariables.set(\"access_token\", userToken);" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] - }, - { - "name": "User 224 Tests", - "item": [], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "userToken = pm.collectionVariables.get(\"user_224_access_token\");", - "pm.collectionVariables.set(\"access_token\", userToken);" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] - }, - { - "name": "User 14 Tests", - "item": [], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "userToken = pm.collectionVariables.get(\"user_14_access_token\");", - "pm.collectionVariables.set(\"access_token\", userToken);" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] - }, - { - "name": "Cecil Tests", - "item": [], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "userToken = pm.collectionVariables.get(\"cecil_access_token\");", - "pm.collectionVariables.set(\"access_token\", userToken);" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] - }, - { - "name": "Karsyn Tests", - "item": [ - { - "name": "/v0/health/rx/prescriptions", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var jsonData = pm.response.json();", - "", - "prescription = jsonData.data[0];", - "", - "if(prescription != null) {", - " pm.collectionVariables.set(\"prescription_id\", prescription.id);", - "};" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/health/rx/prescriptions", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "health", - "rx", - "prescriptions" - ] - } - }, - "response": [] - }, - { - "name": "/v0/health/rx/prescriptions/{id}/tracking", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/health/rx/prescriptions/:id/tracking", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "health", - "rx", - "prescriptions", - ":id", - "tracking" - ], - "variable": [ - { - "key": "id", - "value": "{{prescription_id}}" - } - ] - } - }, - "response": [] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "userToken = pm.collectionVariables.get(\"karsyn_access_token\");", - "pm.collectionVariables.set(\"access_token\", userToken);" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] - }, - { - "name": "User 1 Tests", - "item": [ - { - "name": "/v0/military-service-history", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/military-service-history", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "military-service-history" - ] - } - }, - "response": [] - }, - { - "name": "/v0/payment-history", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/payment-history", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "payment-history" - ] - } - }, - "response": [] - }, - { - "name": "/v0/payment-information/benefits", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/payment-information/benefits", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "payment-information", - "benefits" - ] - } - }, - "response": [] - }, - { - "name": "/v0/push/prefs/{endpointSid}", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/push/prefs/:endpointSid", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "push", - "prefs", - ":endpointSid" - ], - "variable": [ - { - "key": "endpointSid", - "value": "{{endpointSid}}" - } - ] - } - }, - "response": [] - }, - { - "name": "/v0/user", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/user", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "user" - ] - } - }, - "response": [] - }, - { - "name": "/v1/user", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var jsonData = pm.response.json()", - "var dataProfile = jsonData.data.attributes.profile", - "", - "//Residential Data", - "if(dataProfile.residential_address != null)", - "{", - " pm.collectionVariables.set(\"user_res_address_id\", dataProfile.residential_address.id)", - " pm.collectionVariables.set(\"user_res_address_line1\", JSON.stringify(dataProfile.residential_address.address_line1))", - " pm.collectionVariables.set(\"user_res_address_line2\", JSON.stringify(dataProfile.residential_address.address_line2))", - " pm.collectionVariables.set(\"user_res_address_line3\", JSON.stringify(dataProfile.residential_address.address_line3))", - " pm.collectionVariables.set(\"user_res_address_pou\", JSON.stringify(dataProfile.residential_address.address_pou))", - " pm.collectionVariables.set(\"user_res_address_type\", JSON.stringify(dataProfile.residential_address.address_type))", - " pm.collectionVariables.set(\"user_res_address_city\", JSON.stringify(dataProfile.residential_address.city))", - " pm.collectionVariables.set(\"user_res_address_country_code\", JSON.stringify(dataProfile.residential_address.country_code_iso3))", - " pm.collectionVariables.set(\"user_res_address_inter_postal_code\", JSON.stringify(dataProfile.residential_address.international_postal_code))", - " pm.collectionVariables.set(\"user_res_address_province\", JSON.stringify(dataProfile.residential_address.province))", - " pm.collectionVariables.set(\"user_res_address_state_code\", JSON.stringify(dataProfile.residential_address.state_code))", - " pm.collectionVariables.set(\"user_res_address_zipcode\", JSON.stringify(dataProfile.residential_address.zip_code))", - " pm.collectionVariables.set(\"user_res_address_zipcode_suffix\", JSON.stringify(dataProfile.residential_address.zip_code_suffix))", - "}", - "", - "// //Mailing Data", - "// if(dataProfile.mailing_address != null && dataProfile.residential_address == null)", - "// {", - "// pm.collectionVariables.set(\"user_res_address_id\", dataProfile.mailing_address.id)", - "// pm.collectionVariables.set(\"user_res_address_line1\", JSON.stringify(dataProfile.mailing_address.address_line1))", - "// pm.collectionVariables.set(\"user_res_address_line2\", JSON.stringify(dataProfile.mailing_address.address_line2))", - "// pm.collectionVariables.set(\"user_res_address_line3\", JSON.stringify(dataProfile.mailing_address.address_line3))", - "// pm.collectionVariables.set(\"user_res_address_pou\", JSON.stringify(\"RESIDENCE/CHOICE\"))", - "// pm.collectionVariables.set(\"user_res_address_type\", JSON.stringify(dataProfile.mailing_address.address_type))", - "// pm.collectionVariables.set(\"user_res_address_city\", JSON.stringify(dataProfile.mailing_address.city))", - "// pm.collectionVariables.set(\"user_res_address_country_code\", JSON.stringify(dataProfile.mailing_address.country_code_iso3))", - "// pm.collectionVariables.set(\"user_res_address_inter_postal_code\", JSON.stringify(dataProfile.mailing_address.international_postal_code))", - "// pm.collectionVariables.set(\"user_res_address_province\", JSON.stringify(dataProfile.mailing_address.province))", - "// pm.collectionVariables.set(\"user_res_address_state_code\", JSON.stringify(dataProfile.mailing_address.state_code))", - "// pm.collectionVariables.set(\"user_res_address_zipcode\", JSON.stringify(dataProfile.mailing_address.zip_code))", - "// pm.collectionVariables.set(\"user_res_address_zipcode_suffix\", JSON.stringify(dataProfile.mailing_address.zip_code_suffix))", - "// }", - "", - "//Email Data", - "if(dataProfile.contact_email != null)", - "{", - " pm.collectionVariables.set(\"user_contact_email_id\", dataProfile.contact_email.id)", - " pm.collectionVariables.set(\"user_contact_email\", JSON.stringify(dataProfile.contact_email.email_address))", - "}", - "", - "//Phone Data", - "if(dataProfile.mobile_phone_number != null)", - "{", - " pm.collectionVariables.set(\"user_phone_id\", dataProfile.mobile_phone_number.id)", - " pm.collectionVariables.set(\"user_phone_area_code\", JSON.stringify(dataProfile.mobile_phone_number.area_code))", - " pm.collectionVariables.set(\"user_phone_country_code\", JSON.stringify(dataProfile.mobile_phone_number.country_code))", - " pm.collectionVariables.set(\"user_phone_extension\", JSON.stringify(dataProfile.mobile_phone_number.extension))", - " pm.collectionVariables.set(\"user_phone_number\", JSON.stringify(dataProfile.mobile_phone_number.phone_number))", - " pm.collectionVariables.set(\"user_phone_type\", JSON.stringify(dataProfile.mobile_phone_number.phone_type))", - "}" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v1/user", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v1", - "user" - ] - } - }, - "response": [] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "userToken = pm.collectionVariables.get(\"user_1_access_token\");", - "pm.collectionVariables.set(\"access_token\", userToken);" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] - }, - { - "name": "/", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "" - ] - } - }, - "response": [] - }, - { - "name": "/v0/user/logout", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://staging-api.va.gov/mobile/v0/user/logout", - "protocol": "https", - "host": [ - "staging-api", - "va", - "gov" - ], - "path": [ - "mobile", - "v0", - "user", - "logout" - ] - } - }, - "response": [] - } - ], - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{access_token}}", - "type": "string" - } - ] - }, - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "// function userTokenExpired(token) {", - "// let currentTime = new Date().getTime();", - "// let expirationInMilliseconds = (pm.collectionVariables.get(\"token_expiration_in_minutes\") * 60 * 1000);", - "", - "// let tokenExpiration = pm.collectionVariables.get(`${token}_expiration`);", - "// return currentTime > (tokenExpiration + expirationInMilliseconds);", - "// };", - "", - "// function getBearerToken(email, variableName) {", - "// let url = `https://va-mobile-cutter.herokuapp.com/auth/iam/token/${email}`", - "", - "// let requestOptions = {", - "// url: url,", - "// method: 'GET',", - "// header: {", - "// \"Authorization\": \"Basic QWRIb2NNb2JpbGVUZWFtOmleZ3p0dVcyKipHMkByZHQ0eW9G\",", - "// \"Cookie\": \"connect.sid=s%3AA9Q-ntN5OCLIUPb6rBIe5Zda_SrBJT5V.h1YR%2BMoykFB%2FeRmwKZIEKgosfmbRJ6%2BN0ZmBCWfm3sk\"", - "// },", - "// redirect: 'follow'", - "// };", - "", - "// pm.sendRequest(requestOptions, (error, response) => {", - "// if (error === null) {", - "// let jsonData = response.json();", - "// pm.collectionVariables.set(variableName, jsonData.access_token);", - "// pm.collectionVariables.set(`${variableName}_expiration`, new Date().getTime());", - "// }", - "// })", - "// };", - "", - "// userTokenExpired(\"judy_access_token\") && getBearerToken(\"judy.morrison@id.me\", \"judy_access_token\");", - "// userTokenExpired(\"user_41_access_token\") && getBearerToken(\"vets.gov.user+41@gmail.com\", \"user_41_access_token\");", - "// userTokenExpired(\"user_226_access_token\") && getBearerToken(\"vets.gov.user+226@gmail.com\", \"user_226_access_token\");", - "// userTokenExpired(\"user_224_access_token\") && getBearerToken(\"vets.gov.user+224@gmail.com\", \"user_224_access_token\");", - "// userTokenExpired(\"user_14_access_token\") && getBearerToken(\"vets.gov.user+14@gmail.com\", \"user_14_access_token\");", - "// userTokenExpired(\"cecil_access_token\") && getBearerToken(\"cecil.morgan@id.me\", \"cecil_access_token\");", - "// userTokenExpired(\"user_1_access_token\") && getBearerToken(\"vets.gov.user+1@gmail.com\", \"user_1_access_token\");", - "// userTokenExpired(\"user_153_access_token\") && getBearerToken(\"vets.gov.user+153@gmail.com\", \"user_153_access_token\");", - "// userTokenExpired(\"karsyn_access_token\") && getBearerToken(\"karsyn.gpsysasynctwo@id.me\", \"karsyn_access_token\");" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "pm.collectionVariables.set(\"access_token\", null);", - "", - "const jsonData = pm.response.json();", - "pm.test(\"Errors are nill\", () => {", - " pm.expect(jsonData).to.not.have.any.keys(\"errors\");", - "})" - ] - } - } - ], - "variable": [ - { - "key": "appointment_request_id", - "value": "" - }, - { - "key": "claim_id", - "value": "0" - }, - { - "key": "location_id", - "value": "", - "type": "string" - }, - { - "key": "letters_type", - "value": "" - }, - { - "key": "folder_id", - "value": "" - }, - { - "key": "message_drafts_id", - "value": "" - }, - { - "key": "message_id", - "value": "" - }, - { - "key": "endpointSid", - "value": "F1DC67487F5CE0227516037291336983", - "type": "string" - }, - { - "key": "validation_key", - "value": "" - }, - { - "key": "user_res_address_id", - "value": "" - }, - { - "key": "user_res_address_line1", - "value": "" - }, - { - "key": "user_res_address_line2", - "value": "" - }, - { - "key": "user_res_address_line3", - "value": "" - }, - { - "key": "user_res_address_pou", - "value": "" - }, - { - "key": "user_res_address_type", - "value": "" - }, - { - "key": "user_res_address_city", - "value": "" - }, - { - "key": "user_res_address_country_code", - "value": "" - }, - { - "key": "user_res_address_inter_postal_code", - "value": "" - }, - { - "key": "user_res_address_province", - "value": "" - }, - { - "key": "user_res_address_state_code", - "value": "" - }, - { - "key": "user_res_address_zipcode", - "value": "" - }, - { - "key": "user_res_address_zipcode_suffix", - "value": "" - }, - { - "key": "user_contact_email_id", - "value": "" - }, - { - "key": "user_contact_email", - "value": "" - }, - { - "key": "user_phone_id", - "value": "" - }, - { - "key": "user_phone_area_code", - "value": "" - }, - { - "key": "user_phone_country_code", - "value": "" - }, - { - "key": "user_phone_extension", - "value": "" - }, - { - "key": "user_phone_number", - "value": "" - }, - { - "key": "user_phone_type", - "value": "" - }, - { - "key": "appeal_id", - "value": "0" - }, - { - "key": "variable_key", - "value": "" - }, - { - "key": "access_token", - "value": "", - "type": "string" - }, - { - "key": "cancelId", - "value": "" - }, - { - "key": "last_token_check", - "value": "0", - "type": "string" - }, - { - "key": "judy_access_token", - "value": "" - }, - { - "key": "token_expiration_in_minutes", - "value": "40", - "type": "string" - }, - { - "key": "user_41_access_token_expiration", - "value": "0", - "type": "string" - }, - { - "key": "judy_access_token_expiration", - "value": "0", - "type": "string" - }, - { - "key": "user_226_access_token_expiration", - "value": "0", - "type": "string" - }, - { - "key": "user_224_access_token_expiration", - "value": "0", - "type": "string" - }, - { - "key": "user_14_access_token_expiration", - "value": "0", - "type": "string" - }, - { - "key": "cecil_access_token_expiration", - "value": "0", - "type": "string" - }, - { - "key": "user_41_access_token", - "value": "" - }, - { - "key": "user_226_access_token", - "value": "" - }, - { - "key": "user_224_access_token", - "value": "" - }, - { - "key": "user_14_access_token", - "value": "" - }, - { - "key": "cecil_access_token", - "value": "" - }, - { - "key": "user_1_access_token_expiration", - "value": "0", - "type": "string" - }, - { - "key": "user_1_access_token", - "value": "" - }, - { - "key": "user_153_access_token_expiration", - "value": "0", - "type": "string" - }, - { - "key": "user_153_access_token", - "value": "" - }, - { - "key": "karsyn_access_token_expiration", - "value": "0", - "type": "string" - }, - { - "key": "karsyn_access_token", - "value": "TNTZKtGgYrs7ysTOoSX1", - "type": "string" - }, - { - "key": "prescription_id", - "value": "0" - } - ] -} \ No newline at end of file