Click or drag to resize

RestClientBasePatchTPatch Method (String, String, String, TPatch)

Patches the specified resource at url with patch when ifMatch is true

Namespace:  SanteDB.Core.Http
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
public string Patch<TPatch>(
	string url,
	string contentType,
	string ifMatch,
	TPatch patch
)

Parameters

url
Type: SystemString
The resource URL to patch
contentType
Type: SystemString
The content/type of the patch (dictates serialization)
ifMatch
Type: SystemString
Identifies the If-Match header
patch
Type: TPatch
The patch contents

Type Parameters

TPatch

[Missing <typeparam name="TPatch"/> documentation for "M:SanteDB.Core.Http.RestClientBase.Patch``1(System.String,System.String,System.String,``0)"]

Return Value

Type: String
The new ETAG of the patched resource

Implements

IRestClientPatchTPatch(String, String, String, TPatch)
See Also