 | UpstreamHdsiServiceBehaviorCreate Method |
Creates the resource. If the resource already exists, then a 409 is thrown
Namespace: SanteDB.Messaging.HDSI.WcfAssembly: SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntaxpublic override IdentifiedData Create(
string resourceType,
IdentifiedData body
)
Public Overrides Function Create (
resourceType As String,
body As IdentifiedData
) As IdentifiedData
public:
virtual IdentifiedData^ Create(
String^ resourceType,
IdentifiedData^ body
) override
abstract Create :
resourceType : string *
body : IdentifiedData -> IdentifiedData
override 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.Messaging.HDSI.Wcf.UpstreamHdsiServiceBehavior.Create(System.String,SanteDB.Core.Model.IdentifiedData)"]
Implements
IHdsiServiceContractCreate(String, 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