@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odatav4.services.DefaultVehicleManagementSystemVehicleCampaignService") public class DefaultVehicleManagementSystemVehicleCampaignService extends Object implements ServiceWithNavigableEntities, VehicleManagementSystemVehicleCampaignService
You can read vehicle sales campaign and vehicle sales campaign text using this service. It can be accessed from outside the SAP S/4HANA system. .
Reference: SAP API Business Hub
OData Service: | OP_VMSVEHICLECAMPAIGN_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | V M S Vehicle |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultVehicleManagementSystemVehicleCampaignService()
Creates a service using
VehicleManagementSystemVehicleCampaignService.DEFAULT_SERVICE_PATH to send the
requests. |
Modifier and Type | Method and Description |
---|---|
BatchRequestBuilder |
batch()
Creates a batch request builder object.
|
CountRequestBuilder<VMSVehicleCampaign> |
countVMSVehicleCampaign()
Fetch the number of entries from the
VMSVehicleCampaign entity collection matching the filter and search expressions. |
CountRequestBuilder<VMSVehicleCampaignText> |
countVMSVehicleCampaignText()
Fetch the number of entries from the
VMSVehicleCampaignText entity collection matching the filter and search expressions. |
GetAllRequestBuilder<VMSVehicleCampaign> |
getAllVMSVehicleCampaign()
Fetch multiple
VMSVehicleCampaign entities. |
GetAllRequestBuilder<VMSVehicleCampaignText> |
getAllVMSVehicleCampaignText()
Fetch multiple
VMSVehicleCampaignText entities. |
String |
getServicePath()
Getter for the OData service root path.
|
GetByKeyRequestBuilder<VMSVehicleCampaign> |
getVMSVehicleCampaignByKey(String vMSVehicleSalesCampaign)
Fetch a single
VMSVehicleCampaign entity using key fields. |
GetByKeyRequestBuilder<VMSVehicleCampaignText> |
getVMSVehicleCampaignTextByKey(String language,
String vMSVehicleSalesCampaign)
Fetch a single
VMSVehicleCampaignText entity using key fields. |
DefaultVehicleManagementSystemVehicleCampaignService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEntity
public DefaultVehicleManagementSystemVehicleCampaignService()
VehicleManagementSystemVehicleCampaignService.DEFAULT_SERVICE_PATH
to send the
requests.@Nonnull public DefaultVehicleManagementSystemVehicleCampaignService withServicePath(@Nonnull String servicePath)
VehicleManagementSystemVehicleCampaignService
withServicePath
in interface VehicleManagementSystemVehicleCampaignService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
VehicleManagementSystemVehicleCampaignService
batch
in interface VehicleManagementSystemVehicleCampaignService
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<VMSVehicleCampaign> getAllVMSVehicleCampaign()
VehicleManagementSystemVehicleCampaignService
VMSVehicleCampaign
entities.getAllVMSVehicleCampaign
in interface VehicleManagementSystemVehicleCampaignService
VMSVehicleCampaign
entities. This request builder allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<VMSVehicleCampaign> countVMSVehicleCampaign()
VehicleManagementSystemVehicleCampaignService
VMSVehicleCampaign
entity collection matching the filter and search expressions.countVMSVehicleCampaign
in interface VehicleManagementSystemVehicleCampaignService
VMSVehicleCampaign
entities. This request builder allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<VMSVehicleCampaign> getVMSVehicleCampaignByKey(@Nonnull String vMSVehicleSalesCampaign)
VehicleManagementSystemVehicleCampaignService
VMSVehicleCampaign
entity using key fields.getVMSVehicleCampaignByKey
in interface VehicleManagementSystemVehicleCampaignService
vMSVehicleSalesCampaign
- Sales Campaign
Constraints: Not nullable, Maximum length: 10
VMSVehicleCampaign
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<VMSVehicleCampaignText> getAllVMSVehicleCampaignText()
VehicleManagementSystemVehicleCampaignService
VMSVehicleCampaignText
entities.getAllVMSVehicleCampaignText
in interface VehicleManagementSystemVehicleCampaignService
VMSVehicleCampaignText
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<VMSVehicleCampaignText> countVMSVehicleCampaignText()
VehicleManagementSystemVehicleCampaignService
VMSVehicleCampaignText
entity collection matching the filter and search expressions.countVMSVehicleCampaignText
in interface VehicleManagementSystemVehicleCampaignService
VMSVehicleCampaignText
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<VMSVehicleCampaignText> getVMSVehicleCampaignTextByKey(@Nonnull String language, @Nonnull String vMSVehicleSalesCampaign)
VehicleManagementSystemVehicleCampaignService
VMSVehicleCampaignText
entity using key fields.getVMSVehicleCampaignTextByKey
in interface VehicleManagementSystemVehicleCampaignService
language
- Language Key
Constraints: Not nullable, Maximum length: 2
vMSVehicleSalesCampaign
- Sales Campaign
Constraints: Not nullable, Maximum length: 10
VMSVehicleCampaignText
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public String getServicePath()
ServiceWithNavigableEntities
getServicePath
in interface ServiceWithNavigableEntities
Copyright © 2021 SAP SE. All rights reserved.