Stream: implementers
Topic: POST Response
Bapi Behera (May 25 2021 at 16:27):
We have a requirement to return the request parameters after successful transaction. For example, the consent resource, the user sends the request Consent.identifier value . How the response can be sent with Consent.identifier with successful/failed transaction? can we send an operation outcome?
@Mona O @Kate Dech @Lynne Enright
Lloyd McKenzie (May 25 2021 at 18:48):
The body of the response to a POST can be the resource instance that was stored (and if what was stored is in any way different than what was submitted (other than id and meta.lastUpdated), it SHOULD be returned). There's no mechanism for only returning part of the resource though.
Last updated: Apr 12 2022 at 19:14 UTC