 | UpstreamHdsiServiceBehaviorUpdate Method |
Update 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 Update(
string resourceType,
string id,
IdentifiedData body
)
Public Overrides Function Update (
resourceType As String,
id As String,
body As IdentifiedData
) As IdentifiedData
public:
virtual IdentifiedData^ Update(
String^ resourceType,
String^ id,
IdentifiedData^ body
) override
abstract Update :
resourceType : string *
id : string *
body : IdentifiedData -> IdentifiedData
override Update :
resourceType : string *
id : string *
body : IdentifiedData -> IdentifiedData Parameters
- resourceType String
- The type of resource which should be updated
- id String
- The identifier of the resource to be updated
- body IdentifiedData
- The new contents of the resource to be updated
Return Value
IdentifiedData[Missing <returns> documentation for "M:SanteDB.Messaging.HDSI.Wcf.UpstreamHdsiServiceBehavior.Update(System.String,System.String,SanteDB.Core.Model.IdentifiedData)"]
Implements
IHdsiServiceContractUpdate(String, String, IdentifiedData)
RemarksThis operation will update an existing resource on the server such that the data in the database exactly matches the data passed via the API.
Note: If you post an incomplete object (such as one missing identifiers, or addresses) then the current resource will have those attributes removed. For partial updates, use the PATCH operation instead.
See Also