Click or drag to resize

UpstreamHdsiServiceBehaviorUpdate Method

Update the specified resource

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

Parameters

resourceType  String
The type of resource which should be updated
id  String
The identifier of the resource to be updated
body  IdentifiedData
The new contents of the resource to be updated

Return Value

IdentifiedData

[Missing <returns> documentation for "M:SanteDB.Messaging.HDSI.Wcf.UpstreamHdsiServiceBehavior.Update(System.String,System.String,SanteDB.Core.Model.IdentifiedData)"]

Implements

IHdsiServiceContractUpdate(String, String, IdentifiedData)
Remarks
This operation will update an existing resource on the server such that the data in the database exactly matches the data passed via the API. Note: If you post an incomplete object (such as one missing identifiers, or addresses) then the current resource will have those attributes removed. For partial updates, use the PATCH operation instead.
See Also