Click or drag to resize

IHdsiServiceContractAssociationCreate Method

Assigns the child object as a child (or link) of the parent

Namespace: SanteDB.Rest.HDSI
Assembly: SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
Object AssociationCreate(
	string resourceType,
	string id,
	string childResourceType,
	Object body
)

Parameters

resourceType  String
The type of container resource
id  String
The identiifer of the container
childResourceType  String
The property which is the association to be added
body  Object
The object to be added to the collection

Return Value

Object

[Missing <returns> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.AssociationCreate(System.String,System.String,System.String,System.Object)"]

Remarks
This method adds a new child resource instance to the container and performs the necessary linking
See Also