 | UpstreamHdsiServiceBehaviorGet Method |
Retrieves the current version of the specified resource
Namespace: SanteDB.Messaging.HDSI.WcfAssembly: SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntaxpublic override IdentifiedData Get(
string resourceType,
string id
)
Public Overrides Function Get (
resourceType As String,
id As String
) As IdentifiedData
public:
virtual IdentifiedData^ Get(
String^ resourceType,
String^ id
) override
abstract Get :
resourceType : string *
id : string -> IdentifiedData
override 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/
idImplements
IHdsiServiceContractGet(String, String)
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