 | IHdsiServiceContractCreate Method |
Creates the resource. If the resource already exists, then a 409 is thrown
Namespace: SanteDB.Rest.HDSIAssembly: SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
SyntaxIdentifiedData Create(
string resourceType,
IdentifiedData body
)
Function Create (
resourceType As String,
body As IdentifiedData
) As IdentifiedData
IdentifiedData^ Create(
String^ resourceType,
IdentifiedData^ body
)
abstract Create :
resourceType : string *
body : IdentifiedData -> IdentifiedData 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.IHdsiServiceContract.Create(System.String,SanteDB.Core.Model.IdentifiedData)"]
RemarksThis 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