| IAmiServiceContractCreateUpdate Method |
Creates the specified resource if it does not exist, otherwise updates it
Namespace:
SanteDB.Rest.AMI
Assembly:
SanteDB.Rest.AMI (in SanteDB.Rest.AMI.dll) Version: 2.2.1
Syntax Object 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
- Type: SystemString
The type of resource to be created - key
- Type: SystemString
The key of the resource - data
- Type: SystemObject
The resource itself
Return Value
Type:
ObjectThe updated or created resource
See Also