Click or drag to resize

IHdsiServiceContractGet Method

Retrieves the current version of the specified resource

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

Parameters

resourceType  String
The type of resource which should be retrieved
id  String
The identifier of the object which should be retrieved

Return Value

IdentifiedData
The current version of resourceType/id
Remarks
This method will first use cache to locate the most recent copy before searching the database. It is recommended to use this method rather than a query to Resource?id={id}
See Also