Skip to content

Commit 61683ae

Browse files
committed
NPA-3545 Update Postman Collection with X-headers
1 parent 414d7dd commit 61683ae

File tree

2 files changed

+99
-11
lines changed

2 files changed

+99
-11
lines changed

postman/Validate Relationship Service Sandbox.postman_collection.json

Lines changed: 98 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info": {
3-
"_postman_id": "85ee4695-8528-4e6e-82a6-29c4bea26a6d",
3+
"_postman_id": "f29c97c0-1137-4f8e-966f-1affba55fef1",
44
"name": "Validate Relationship Service Sandbox",
55
"description": "Example usage of the Validate Relationship Service (VRS) sandbox.\n\nFull specification is available at [https://digital.nhs.uk/developer/api-catalogue/validated-relationship-service](https://digital.nhs.uk/developer/api-catalogue/validated-relationship-service)",
66
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
@@ -14,7 +14,18 @@
1414
"name": "Relationship information",
1515
"request": {
1616
"method": "GET",
17-
"header": [],
17+
"header": [
18+
{
19+
"key": "X-Request-ID",
20+
"value": "d967f4c9-8e83-4930-97ab-ae4e122d8ca5",
21+
"type": "text"
22+
},
23+
{
24+
"key": "X-Correlation-ID",
25+
"value": "8717c840-c222-4f84-a880-45bc129f8382",
26+
"type": "text"
27+
}
28+
],
1829
"url": {
1930
"raw": "{{api_base_url}}/RelatedPerson?patient:identifier=9000000009&identifier=9000000017",
2031
"host": [
@@ -42,7 +53,18 @@
4253
"name": "Relationship with additional information",
4354
"request": {
4455
"method": "GET",
45-
"header": [],
56+
"header": [
57+
{
58+
"key": "X-Request-ID",
59+
"value": "d967f4c9-8e83-4930-97ab-ae4e122d8ca5",
60+
"type": "text"
61+
},
62+
{
63+
"key": "X-Correlation-ID",
64+
"value": "8717c840-c222-4f84-a880-45bc129f8382",
65+
"type": "text"
66+
}
67+
],
4668
"url": {
4769
"raw": "{{api_base_url}}/RelatedPerson?patient:identifier=9000000025&identifier=9000000017&_include=RelatedPerson:patient",
4870
"host": [
@@ -80,7 +102,18 @@
80102
"name": "Relationship list",
81103
"request": {
82104
"method": "GET",
83-
"header": [],
105+
"header": [
106+
{
107+
"key": "X-Request-ID",
108+
"value": "d967f4c9-8e83-4930-97ab-ae4e122d8ca5",
109+
"type": "text"
110+
},
111+
{
112+
"key": "X-Correlation-ID",
113+
"value": "8717c840-c222-4f84-a880-45bc129f8382",
114+
"type": "text"
115+
}
116+
],
84117
"url": {
85118
"raw": "{{api_base_url}}/RelatedPerson?identifier=9000000017",
86119
"host": [
@@ -104,7 +137,18 @@
104137
"name": "Relationship list with additional information",
105138
"request": {
106139
"method": "GET",
107-
"header": [],
140+
"header": [
141+
{
142+
"key": "X-Request-ID",
143+
"value": "d967f4c9-8e83-4930-97ab-ae4e122d8ca5",
144+
"type": "text"
145+
},
146+
{
147+
"key": "X-Correlation-ID",
148+
"value": "8717c840-c222-4f84-a880-45bc129f8382",
149+
"type": "text"
150+
}
151+
],
108152
"url": {
109153
"raw": "{{api_base_url}}/RelatedPerson?identifier=9000000017&_include=RelatedPerson:patient",
110154
"host": [
@@ -132,7 +176,18 @@
132176
"name": "Invalid NHS number",
133177
"request": {
134178
"method": "GET",
135-
"header": [],
179+
"header": [
180+
{
181+
"key": "X-Request-ID",
182+
"value": "d967f4c9-8e83-4930-97ab-ae4e122d8ca5",
183+
"type": "text"
184+
},
185+
{
186+
"key": "X-Correlation-ID",
187+
"value": "8717c840-c222-4f84-a880-45bc129f8382",
188+
"type": "text"
189+
}
190+
],
136191
"url": {
137192
"raw": "{{api_base_url}}/RelatedPerson?identifier=12345678900",
138193
"host": [
@@ -156,7 +211,18 @@
156211
"name": "No matching record",
157212
"request": {
158213
"method": "GET",
159-
"header": [],
214+
"header": [
215+
{
216+
"key": "X-Request-ID",
217+
"value": "d967f4c9-8e83-4930-97ab-ae4e122d8ca5",
218+
"type": "text"
219+
},
220+
{
221+
"key": "X-Correlation-ID",
222+
"value": "8717c840-c222-4f84-a880-45bc129f8382",
223+
"type": "text"
224+
}
225+
],
160226
"url": {
161227
"raw": "{{api_base_url}}/RelatedPerson?identifier=9000000041",
162228
"host": [
@@ -180,7 +246,18 @@
180246
"name": "No relationships found",
181247
"request": {
182248
"method": "GET",
183-
"header": [],
249+
"header": [
250+
{
251+
"key": "X-Request-ID",
252+
"value": "d967f4c9-8e83-4930-97ab-ae4e122d8ca5",
253+
"type": "text"
254+
},
255+
{
256+
"key": "X-Correlation-ID",
257+
"value": "8717c840-c222-4f84-a880-45bc129f8382",
258+
"type": "text"
259+
}
260+
],
184261
"url": {
185262
"raw": "{{api_base_url}}/RelatedPerson?identifier=9000000033",
186263
"host": [
@@ -213,7 +290,18 @@
213290
"header": [
214291
{
215292
"key": "Content-Type",
216-
"value": "application/fhir+json"
293+
"value": "application/fhir+json",
294+
"type": "text"
295+
},
296+
{
297+
"key": "X-Request-ID",
298+
"value": "d967f4c9-8e83-4930-97ab-ae4e122d8ca5",
299+
"type": "text"
300+
},
301+
{
302+
"key": "X-Correlation-ID",
303+
"value": "8717c840-c222-4f84-a880-45bc129f8382",
304+
"type": "text"
217305
}
218306
],
219307
"body": {
@@ -268,4 +356,4 @@
268356
"type": "string"
269357
}
270358
]
271-
}
359+
}

specification/validated-relationships-service-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ info:
124124
* is open access, so does not allow you to test authorisation
125125
126126
127-
[![Run in Postman](https://run.pstmn.io/button.svg)](https://god.gw.postman.com/run-collection/34042403-2aa5ee88-38a4-4c42-b563-c2d76577d2f2?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D34042403-2aa5ee88-38a4-4c42-b563-c2d76577d2f2%26entityType%3Dcollection%26workspaceId%3D19103c6d-7e94-482c-bcc6-07d84bafd9e5)
127+
[![Run in Postman](https://run.pstmn.io/button.svg)](https://god.gw.postman.com/run-collection/34042403-f29c97c0-1137-4f8e-966f-1affba55fef1?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D34042403-f29c97c0-1137-4f8e-966f-1affba55fef1%26entityType%3Dcollection%26workspaceId%3D19a38606-58f9-4c03-ad4b-dec73a45856d)
128128
129129
### Integration testing
130130

0 commit comments

Comments
 (0)