 | IHdsiServiceContractGet Method |
Retrieves the current version of the specified resource
Namespace: SanteDB.Rest.HDSIAssembly: SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
SyntaxIdentifiedData Get(
string resourceType,
string id
)
Function Get (
resourceType As String,
id As String
) As IdentifiedData
IdentifiedData^ Get(
String^ resourceType,
String^ id
)
abstract Get :
resourceType : string *
id : string -> IdentifiedData Parameters
- resourceType String
- The type of resource which should be retrieved
- id String
- The identifier of the object which should be retrieved
Return Value
IdentifiedDataThe current version of
resourceType/
id
RemarksThis 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