Click or drag to resize

RestClientBasePatchTPatch(String, String, String, TPatch) Method

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.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public string Patch<TPatch>(
	string url,
	string contentType,
	string ifMatch,
	TPatch patch
)

Parameters

url  String
The resource URL to patch
contentType  String
The content/type of the patch (dictates serialization)
ifMatch  String
Identifies the If-Match header
patch  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

String
The new ETAG of the patched resource

Implements

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