Click or drag to resize

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
)

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: Object
The updated or created resource
See Also