Click or drag to resize

IHdsiServiceContractPatch Method

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

Namespace:  SanteDB.Rest.HDSI
Assembly:  SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 2.2.1
Syntax
void Patch(
	string resourceType,
	string id,
	Patch body
)

Parameters

resourceType
Type: SystemString

[Missing <param name="resourceType"/> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.Patch(System.String,System.String,SanteDB.Core.Model.Patch.Patch)"]

id
Type: SystemString

[Missing <param name="id"/> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.Patch(System.String,System.String,SanteDB.Core.Model.Patch.Patch)"]

body
Type: SanteDB.Core.Model.PatchPatch

[Missing <param name="body"/> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.Patch(System.String,System.String,SanteDB.Core.Model.Patch.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