|
1 | 1 | { |
2 | 2 | "info": { |
3 | | - "_postman_id": "9c6dfa73-ac4f-4497-bca6-c2c4048f7c10", |
4 | | - "name": "Validated Relationship Service Sandbox 29/09/25", |
| 3 | + "_postman_id": "5c759d0a-d924-44ab-8668-3587dcaf27e1", |
| 4 | + "name": "Validated Relationship Service Sandbox 14/10/25", |
5 | 5 | "description": "This Postman collection includes example scenarios for each of the Validated Relationship Service (VRS) API endpoints, covering both valid and invalid request scenarios.\n\nThe collection is pointed towards the VRS sandbox environment, which will return a specific example response based on the request sent. All data shown in the requests or responses is test data.\n\nOur sandbox environment only covers the scenarios listed in the Postman collection and is open access. It does not allow you to test authorisation or any scenarios beyond the ones documented.\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)", |
6 | 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", |
7 | | - "_exporter_id": "48873809", |
8 | | - "_collection_link": "https://www.postman.com/christopher-bacon1-3957569/workspace/validated-relationship-service-sandbox-29-09-2025/collection/48873809-9c6dfa73-ac4f-4497-bca6-c2c4048f7c10?action=share&source=collection_link&creator=48873809" |
| 7 | + "_exporter_id": "18067099", |
| 8 | + "_collection_link": "https://www.postman.com/lunar-crescent-672573/workspace/validated-relationship-service-14-10-2025/collection/18067099-5c759d0a-d924-44ab-8668-3587dcaf27e1?action=share&source=collection_link&creator=18067099" |
9 | 9 | }, |
10 | 10 | "item": [ |
11 | 11 | { |
|
235 | 235 | } |
236 | 236 | ], |
237 | 237 | "url": { |
238 | | - "raw": "{{api_base_url}}/QuestionnaireResponse?ID=156e1560-e532-4e2a-85ad-5aeff03dc43e", |
| 238 | + "raw": "{{api_base_url}}/QuestionnaireResponse/156e1560-e532-4e2a-85ad-5aeff03dc43e", |
239 | 239 | "host": [ |
240 | 240 | "{{api_base_url}}" |
241 | 241 | ], |
242 | 242 | "path": [ |
243 | | - "QuestionnaireResponse" |
244 | | - ], |
245 | | - "query": [ |
246 | | - { |
247 | | - "key": "ID", |
248 | | - "value": "156e1560-e532-4e2a-85ad-5aeff03dc43e" |
249 | | - } |
| 243 | + "QuestionnaireResponse", |
| 244 | + "156e1560-e532-4e2a-85ad-5aeff03dc43e" |
250 | 245 | ] |
251 | 246 | }, |
252 | 247 | "description": "Example of Questionnaire Response that will be returned" |
|
261 | 256 | "script": { |
262 | 257 | "exec": [ |
263 | 258 | "const expectedResponseBody = {", |
264 | | - " \"resourceType\": \"OperationOutcome\",", |
265 | 259 | " \"issue\": [", |
266 | 260 | " {", |
267 | | - " \"severity\": \"error\",", |
268 | | - " \"code\": \"required\",", |
| 261 | + " \"code\": \"not-supported\",", |
269 | 262 | " \"details\": {", |
270 | 263 | " \"coding\": [", |
271 | 264 | " {", |
272 | | - " \"system\": \"https://fhir.nhs.uk/STU3/CodeSystem/Spine-ErrorOrWarningCode-1\",", |
273 | | - " \"code\": \"BAD_REQUEST\",", |
274 | | - " \"display\": \"Bad request\"", |
| 265 | + " \"code\": \"METHOD_NOT_ALLOWED\",", |
| 266 | + " \"display\": \"The method is not allowed.\",", |
| 267 | + " \"system\": \"https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode\",", |
| 268 | + " \"version\": \"1\"", |
275 | 269 | " }", |
276 | 270 | " ]", |
277 | 271 | " },", |
278 | | - " \"diagnostics\": \"The access request ID parameter is required but was not provided.\"", |
| 272 | + " \"diagnostics\": \"The method is not allowed for the requested resource.\",", |
| 273 | + " \"severity\": \"error\"", |
279 | 274 | " }", |
280 | | - " ]", |
| 275 | + " ],", |
| 276 | + " \"resourceType\": \"OperationOutcome\"", |
281 | 277 | "};", |
282 | 278 | "", |
283 | | - "pm.test(\"Status code is 400\", function () {", |
284 | | - " pm.response.to.have.status(400);", |
| 279 | + "pm.test(\"Status code is 405\", function () {", |
| 280 | + " pm.response.to.have.status(405);", |
285 | 281 | "});", |
286 | 282 | "", |
287 | 283 | "pm.test(\"Should have correct response body\", () => {", |
|
309 | 305 | } |
310 | 306 | ], |
311 | 307 | "url": { |
312 | | - "raw": "{{api_base_url}}/QuestionnaireResponse", |
| 308 | + "raw": "{{api_base_url}}/QuestionnaireResponse/", |
313 | 309 | "host": [ |
314 | 310 | "{{api_base_url}}" |
315 | 311 | ], |
316 | 312 | "path": [ |
317 | | - "QuestionnaireResponse" |
| 313 | + "QuestionnaireResponse", |
| 314 | + "" |
318 | 315 | ] |
319 | 316 | }, |
320 | 317 | "description": "Example of an error response when reference code is missing from request" |
|
377 | 374 | } |
378 | 375 | ], |
379 | 376 | "url": { |
380 | | - "raw": "{{api_base_url}}/QuestionnaireResponse?ID=INVALID", |
| 377 | + "raw": "{{api_base_url}}/QuestionnaireResponse/INVALID", |
381 | 378 | "host": [ |
382 | 379 | "{{api_base_url}}" |
383 | 380 | ], |
384 | 381 | "path": [ |
385 | | - "QuestionnaireResponse" |
386 | | - ], |
387 | | - "query": [ |
388 | | - { |
389 | | - "key": "ID", |
390 | | - "value": "INVALID" |
391 | | - } |
| 382 | + "QuestionnaireResponse", |
| 383 | + "INVALID" |
392 | 384 | ] |
393 | 385 | }, |
394 | 386 | "description": "Example of an error response when reference code is invalid" |
|
451 | 443 | } |
452 | 444 | ], |
453 | 445 | "url": { |
454 | | - "raw": "{{api_base_url}}/QuestionnaireResponse?ID=60d09b82-f4bb-41f9-b41e-767999b4ac9b", |
| 446 | + "raw": "{{api_base_url}}/QuestionnaireResponse/60d09b82-f4bb-41f9-b41e-767999b4ac9b", |
455 | 447 | "host": [ |
456 | 448 | "{{api_base_url}}" |
457 | 449 | ], |
458 | 450 | "path": [ |
459 | | - "QuestionnaireResponse" |
460 | | - ], |
461 | | - "query": [ |
462 | | - { |
463 | | - "key": "ID", |
464 | | - "value": "60d09b82-f4bb-41f9-b41e-767999b4ac9b" |
465 | | - } |
| 451 | + "QuestionnaireResponse", |
| 452 | + "60d09b82-f4bb-41f9-b41e-767999b4ac9b" |
466 | 453 | ] |
467 | 454 | }, |
468 | 455 | "description": "Example of an error response when reference code is not found in database" |
|
2126 | 2113 | " \"meta\": {", |
2127 | 2114 | " \"security\": [", |
2128 | 2115 | " {", |
2129 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 2116 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
2130 | 2117 | " \"code\": \"P9\",", |
2131 | 2118 | " \"display\": \"High level verification (P9)\"", |
2132 | 2119 | " }", |
|
2300 | 2287 | " \"meta\": {", |
2301 | 2288 | " \"security\": [", |
2302 | 2289 | " {", |
2303 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 2290 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
2304 | 2291 | " \"code\": \"P9\",", |
2305 | 2292 | " \"display\": \"High level verification (P9)\"", |
2306 | 2293 | " }", |
|
3438 | 3425 | " \"meta\": {", |
3439 | 3426 | " \"security\": [", |
3440 | 3427 | " {", |
3441 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 3428 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
3442 | 3429 | " \"code\": \"P9\",", |
3443 | 3430 | " \"display\": \"High level verification (P9)\"", |
3444 | 3431 | " }", |
|
3575 | 3562 | " \"meta\": {", |
3576 | 3563 | " \"security\": [", |
3577 | 3564 | " {", |
3578 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 3565 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
3579 | 3566 | " \"code\": \"P9\",", |
3580 | 3567 | " \"display\": \"High level verification (P9)\"", |
3581 | 3568 | " }", |
|
3708 | 3695 | " \"meta\": {", |
3709 | 3696 | " \"security\": [", |
3710 | 3697 | " {", |
3711 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 3698 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
3712 | 3699 | " \"code\": \"P9\",", |
3713 | 3700 | " \"display\": \"High level verification (P9)\"", |
3714 | 3701 | " }", |
|
4368 | 4355 | " \"meta\": {", |
4369 | 4356 | " \"security\": [", |
4370 | 4357 | " {", |
4371 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 4358 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
4372 | 4359 | " \"code\": \"P9\",", |
4373 | 4360 | " \"display\": \"High level verification (P9)\"", |
4374 | 4361 | " }", |
|
4542 | 4529 | " \"meta\": {", |
4543 | 4530 | " \"security\": [", |
4544 | 4531 | " {", |
4545 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 4532 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
4546 | 4533 | " \"code\": \"P9\",", |
4547 | 4534 | " \"display\": \"High level verification (P9)\"", |
4548 | 4535 | " }", |
|
4712 | 4699 | " \"meta\": {", |
4713 | 4700 | " \"security\": [", |
4714 | 4701 | " {", |
4715 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 4702 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
4716 | 4703 | " \"code\": \"P9\",", |
4717 | 4704 | " \"display\": \"High level verification (P9)\"", |
4718 | 4705 | " }", |
|
5206 | 5193 | " \"meta\": {", |
5207 | 5194 | " \"security\": [", |
5208 | 5195 | " {", |
5209 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 5196 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
5210 | 5197 | " \"code\": \"P9\",", |
5211 | 5198 | " \"display\": \"High level verification (P9)\"", |
5212 | 5199 | " }", |
|
6101 | 6088 | " \"meta\": {", |
6102 | 6089 | " \"security\": [", |
6103 | 6090 | " {", |
6104 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 6091 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
6105 | 6092 | " \"code\": \"P9\",", |
6106 | 6093 | " \"display\": \"High level verification (P9)\"", |
6107 | 6094 | " }", |
|
6684 | 6671 | " \"meta\": {", |
6685 | 6672 | " \"security\": [", |
6686 | 6673 | " {", |
6687 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 6674 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
6688 | 6675 | " \"code\": \"P9\",", |
6689 | 6676 | " \"display\": \"High level verification (P9)\"", |
6690 | 6677 | " }", |
|
7066 | 7053 | " \"meta\": {", |
7067 | 7054 | " \"security\": [", |
7068 | 7055 | " {", |
7069 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 7056 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
7070 | 7057 | " \"code\": \"P9\",", |
7071 | 7058 | " \"display\": \"High level verification (P9)\"", |
7072 | 7059 | " }", |
|
8140 | 8127 | " \"meta\": {", |
8141 | 8128 | " \"security\": [", |
8142 | 8129 | " {", |
8143 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 8130 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
8144 | 8131 | " \"code\": \"P9\",", |
8145 | 8132 | " \"display\": \"High level verification (P9)\"", |
8146 | 8133 | " }", |
|
8494 | 8481 | " \"meta\": {", |
8495 | 8482 | " \"security\": [", |
8496 | 8483 | " {", |
8497 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 8484 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
8498 | 8485 | " \"code\": \"P9\",", |
8499 | 8486 | " \"display\": \"High level verification (P9)\"", |
8500 | 8487 | " }", |
|
8821 | 8808 | " \"meta\": {", |
8822 | 8809 | " \"security\": [", |
8823 | 8810 | " {", |
8824 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 8811 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
8825 | 8812 | " \"code\": \"P9\",", |
8826 | 8813 | " \"display\": \"High level verification (P9)\"", |
8827 | 8814 | " }", |
|
9191 | 9178 | " \"meta\": {", |
9192 | 9179 | " \"security\": [", |
9193 | 9180 | " {", |
9194 | | - " \"system\": \"https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel\",", |
| 9181 | + " \"system\": \"https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel\",", |
9195 | 9182 | " \"code\": \"P9\",", |
9196 | 9183 | " \"display\": \"High level verification (P9)\"", |
9197 | 9184 | " }", |
|
0 commit comments