 | RestClientBasePatchTPatch(String, String, String, TPatch) Method |
Patches the specified resource at url with patch when ifMatch is true
Namespace: SanteDB.Core.HttpAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic string Patch<TPatch>(
string url,
string contentType,
string ifMatch,
TPatch patch
)
Public Function Patch(Of TPatch) (
url As String,
contentType As String,
ifMatch As String,
patch As TPatch
) As String
public:
generic<typename TPatch>
virtual String^ Patch(
String^ url,
String^ contentType,
String^ ifMatch,
TPatch patch
) sealed
abstract Patch :
url : string *
contentType : string *
ifMatch : string *
patch : 'TPatch -> string
override Patch :
url : string *
contentType : string *
ifMatch : string *
patch : 'TPatch -> string 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
StringThe new ETAG of the patched resource
Implements
IRestClientPatchTPatch(String, String, String, TPatch)
See Also