Class ODataRequestCreate

java.lang.Object
com.sap.cloud.sdk.datamodel.odata.client.request.ODataRequestGeneric
com.sap.cloud.sdk.datamodel.odata.client.request.ODataRequestCreate
All Implemented Interfaces:
ODataRequestExecutable

public class ODataRequestCreate extends ODataRequestGeneric
The executable OData create request.
  • Constructor Details

    • ODataRequestCreate

      public ODataRequestCreate(@Nonnull String servicePath, @Nonnull String entityName, @Nonnull String serializedEntity, @Nonnull ODataProtocol protocol)
      Convenience constructor for OData delete requests on entity collections directly. For operations on nested entities use ODataRequestCreate(String, ODataResourcePath, String, ODataProtocol).
      Parameters:
      servicePath - The OData service path.
      entityName - The OData entity name.
      serializedEntity - The serialized query payload.
      protocol - The OData protocol to use.
    • ODataRequestCreate

      public ODataRequestCreate(@Nonnull String servicePath, @Nonnull ODataResourcePath entityPath, @Nonnull String serializedEntity, @Nonnull ODataProtocol protocol)
      Default constructor for OData Create request.
      Parameters:
      servicePath - The OData service path.
      entityPath - The path to the OData entity.
      serializedEntity - The serialized query payload.
      protocol - The OData protocol to use.
  • Method Details