NHSDigital / integration-adaptor-nhais

Adaptors which accelerate integration with national NHS systems
Apache License 2.0
5 stars 3 forks source link

[amendment transaction] Trying to remove all the address line by giving this path "/address/0/line" we are getting 202 #197

Closed ghost closed 4 years ago

ghost commented 4 years ago

When we tried to remove all the address line by giving this path /address/0/line are getting 202 but according to YAML file the post town should not be erasable for amendment transaction, in this case could you please confirm we should get 202 or 400.

{ "nhsNumber": "9999999999", "gpCode": "2750922,295", "gpTradingPartnerCode": "TES5", "healthcarePartyCode": "XX1", "freeText": "NOW AT THE ARTHUR ANDREWS CENTRE", "patches": [ { "op": "remove", "path": "/address/0/line" } ] }

michael-kainos commented 4 years ago

This is described in the README as unsupported and an invalid scenario