nhsconnect / integration-adaptors

Adaptors which accelerate integration with national NHS systems
Apache License 2.0
18 stars 7 forks source link

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

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" } ] }

ghost commented 4 years ago

Sorry, i have created this issue in wrong place, this issue has been moved to integration-adaptor-nhais

Hence we closed this issue