 | IAmiServiceContractCreateUpdate Method |
Creates the specified resource if it does not exist, otherwise updates it
Namespace: SanteDB.Rest.AMIAssembly: SanteDB.Rest.AMI (in SanteDB.Rest.AMI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
SyntaxObject CreateUpdate(
string resourceType,
string key,
Object data
)
Function CreateUpdate (
resourceType As String,
key As String,
data As Object
) As Object
Object^ CreateUpdate(
String^ resourceType,
String^ key,
Object^ data
)
abstract CreateUpdate :
resourceType : string *
key : string *
data : Object -> Object Parameters
- resourceType String
- The type of resource to be created
- key String
- The key of the resource
- data Object
- The resource itself
Return Value
ObjectThe updated or created resource
See Also