| IHdsiServiceContractCreate 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: 2.2.1
Syntax IdentifiedData 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
- Type: SystemString
[Missing <param name="resourceType"/> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.Create(System.String,SanteDB.Core.Model.IdentifiedData)"]
- body
- Type: SanteDB.Core.ModelIdentifiedData
[Missing <param name="body"/> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.Create(System.String,SanteDB.Core.Model.IdentifiedData)"]
Return Value
Type:
IdentifiedData[Missing <returns> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.Create(System.String,SanteDB.Core.Model.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