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: 2.2.1
Syntax
IdentifiedData Get(
	string resourceType,
	string id
)

Parameters

resourceType
Type: SystemString

[Missing <param name="resourceType"/> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.Get(System.String,System.String)"]

id
Type: SystemString

[Missing <param name="id"/> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.Get(System.String,System.String)"]

Return Value

Type: IdentifiedData

[Missing <returns> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.Get(System.String,System.String)"]

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