Click or drag to resize

UpstreamHdsiServiceBehaviorDelete Method

Deletes the specified resource from the server

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

Parameters

resourceType  String
The type of resource to be deleted
id  String
The identifier of the resource to be deleted

Return Value

IdentifiedData
The deleted object

Implements

IHdsiServiceContractDelete(String, String)
Remarks
This operation either logically or permanently deletes the identified resource so that it no longer appears in general searches. The method of deletion is controlled by the X-SanteDB-DeleteMode header:
LogicalDeleteCreates a null head version of the object which no longer appears in searches, however can be restored from the database
PermanentDeletePurges the record from the CDR
See Also