Click or drag to resize

HdsiServiceBehaviorCreate Method

Creates the resource. If the resource already exists, then a 409 is thrown

Namespace: SanteDB.Rest.HDSI
Assembly: SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
public virtual IdentifiedData Create(
	string resourceType,
	IdentifiedData body
)

Parameters

resourceType  String
The type of resource to create
body  IdentifiedData
The body of the request

Return Value

IdentifiedData

[Missing <returns> documentation for "M:SanteDB.Rest.HDSI.HdsiServiceBehavior.Create(System.String,SanteDB.Core.Model.IdentifiedData)"]

Implements

IHdsiServiceContractCreate(String, IdentifiedData)
Remarks
This operation is a CREATE ONLY operation, and will throw an error if the operation results in a duplicate. If you are looking for a CREATE OR UPDATE method use the POST with identifier operation
See Also