Click or drag to resize

UpstreamHdsiServiceBehaviorPatch Method

Updates the specified resource according to the instructions in the PATCH file

Namespace: SanteDB.Messaging.HDSI.Wcf
Assembly: SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
public override void Patch(
	string resourceType,
	string id,
	Patch body
)

Parameters

resourceType  String
The type of resource to be patched
id  String
The identifier of the resource to be patched
body  Patch
The patch body which contains update instructions on the object referenced by id

Implements

IHdsiServiceContractPatch(String, String, Patch)
Remarks
The PATCH operation allows for partial updating of a resource. This method must be used in conjunction with an If-Match header indicating the version that you would like apply the patch against. The server will load the most recent version and compre the version code with If-Match, if the match is successful the instructions in the PATCH are applied to the loaded version.
See Also