@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultAppointmentActivityService") public class DefaultAppointmentActivityService extends Object implements AppointmentActivityService
The service contains header, attendee, person responsible, and text entities. The information is sent in the request as a payload. All information is used when creating, updating or deleting an appointment activity data, including appropriate checks for restricted values and authorizations. Once the appointment activity has been created or updated, the appointment activity number is sent in the response. If there are any issues when the appointment activity is created or updated, the system returns error messages. In each API call, you can use the following operations: - Retrieve appointment activities. - Create appointment activities. Note: You must use “deep insert” requests (a header plus the following entities: person responsible, text, and attendee). - Create new attendee, person responsible, text for existing appointment activities. - Update the header, person responsible, text, and attendee for existing appointment activities. - Delete the person responsible, text, and attendee for existing appointment activities. .
Reference: SAP API Business Hub
OData Service: | OP_API_ACTIVITY_APPOINTMENT_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Appointment Activity |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultAppointmentActivityService()
Creates a service using
AppointmentActivityService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultAppointmentActivityService()
AppointmentActivityService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultAppointmentActivityService withServicePath(@Nonnull String servicePath)
AppointmentActivityService
withServicePath
in interface AppointmentActivityService
servicePath
- Service path that will override the default.@Nonnull public DefaultAppointmentActivityServiceBatch batch()
batch
in interface BatchService<AppointmentActivityServiceBatch>
@Nonnull public AppointmentActivityFluentHelper getAllAppointmentActivity()
AppointmentActivityService
AppointmentActivity
entities.getAllAppointmentActivity
in interface AppointmentActivityService
AppointmentActivity
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActivityByKeyFluentHelper getAppointmentActivityByKey(String appointmentActivity)
AppointmentActivityService
AppointmentActivity
entity using key fields.getAppointmentActivityByKey
in interface AppointmentActivityService
appointmentActivity
- Transaction ID
Constraints: Not nullable, Maximum length: 10
AppointmentActivity
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActivityCreateFluentHelper createAppointmentActivity(@Nonnull AppointmentActivity appointmentActivity)
AppointmentActivityService
AppointmentActivity
entity and save it to the S/4HANA system.createAppointmentActivity
in interface AppointmentActivityService
appointmentActivity
- AppointmentActivity
entity object that will be created in the S/4HANA system.AppointmentActivity
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActivityUpdateFluentHelper updateAppointmentActivity(@Nonnull AppointmentActivity appointmentActivity)
AppointmentActivityService
AppointmentActivity
entity and save it to the S/4HANA system.updateAppointmentActivity
in interface AppointmentActivityService
appointmentActivity
- AppointmentActivity
entity object that will be updated in the S/4HANA system.AppointmentActivity
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActivityTextFluentHelper getAllAppointmentActivityText()
AppointmentActivityService
AppointmentActivityText
entities.getAllAppointmentActivityText
in interface AppointmentActivityService
AppointmentActivityText
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActivityTextByKeyFluentHelper getAppointmentActivityTextByKey(String appointmentActivity, String textObjectType)
AppointmentActivityService
AppointmentActivityText
entity using key fields.getAppointmentActivityTextByKey
in interface AppointmentActivityService
appointmentActivity
- Transaction ID
Constraints: Not nullable, Maximum length: 10
textObjectType
- Text ID
Constraints: Not nullable, Maximum length: 4
AppointmentActivityText
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActivityTextCreateFluentHelper createAppointmentActivityText(@Nonnull AppointmentActivityText appointmentActivityText)
AppointmentActivityService
AppointmentActivityText
entity and save it to the S/4HANA system.createAppointmentActivityText
in interface AppointmentActivityService
appointmentActivityText
- AppointmentActivityText
entity object that will be created in the S/4HANA system.AppointmentActivityText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActivityTextUpdateFluentHelper updateAppointmentActivityText(@Nonnull AppointmentActivityText appointmentActivityText)
AppointmentActivityService
AppointmentActivityText
entity and save it to the S/4HANA system.updateAppointmentActivityText
in interface AppointmentActivityService
appointmentActivityText
- AppointmentActivityText
entity object that will be updated in the S/4HANA system.AppointmentActivityText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActivityTextDeleteFluentHelper deleteAppointmentActivityText(@Nonnull AppointmentActivityText appointmentActivityText)
AppointmentActivityService
AppointmentActivityText
entity in the S/4HANA system.deleteAppointmentActivityText
in interface AppointmentActivityService
appointmentActivityText
- AppointmentActivityText
entity object that will be deleted in the S/4HANA system.AppointmentActivityText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActyAttendeeFluentHelper getAllAppointmentActyAttendee()
AppointmentActivityService
AppointmentActyAttendee
entities.getAllAppointmentActyAttendee
in interface AppointmentActivityService
AppointmentActyAttendee
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActyAttendeeByKeyFluentHelper getAppointmentActyAttendeeByKey(String appointmentActivity, String appointmentActivityAttendee)
AppointmentActivityService
AppointmentActyAttendee
entity using key fields.getAppointmentActyAttendeeByKey
in interface AppointmentActivityService
appointmentActivity
- Transaction ID
Constraints: Not nullable, Maximum length: 10
appointmentActivityAttendee
- Business Partner Number
Constraints: Not nullable, Maximum length: 10
AppointmentActyAttendee
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActyAttendeeCreateFluentHelper createAppointmentActyAttendee(@Nonnull AppointmentActyAttendee appointmentActyAttendee)
AppointmentActivityService
AppointmentActyAttendee
entity and save it to the S/4HANA system.createAppointmentActyAttendee
in interface AppointmentActivityService
appointmentActyAttendee
- AppointmentActyAttendee
entity object that will be created in the S/4HANA system.AppointmentActyAttendee
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActyAttendeeUpdateFluentHelper updateAppointmentActyAttendee(@Nonnull AppointmentActyAttendee appointmentActyAttendee)
AppointmentActivityService
AppointmentActyAttendee
entity and save it to the S/4HANA system.updateAppointmentActyAttendee
in interface AppointmentActivityService
appointmentActyAttendee
- AppointmentActyAttendee
entity object that will be updated in the S/4HANA system.AppointmentActyAttendee
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActyAttendeeDeleteFluentHelper deleteAppointmentActyAttendee(@Nonnull AppointmentActyAttendee appointmentActyAttendee)
AppointmentActivityService
AppointmentActyAttendee
entity in the S/4HANA system.deleteAppointmentActyAttendee
in interface AppointmentActivityService
appointmentActyAttendee
- AppointmentActyAttendee
entity object that will be deleted in the S/4HANA system.AppointmentActyAttendee
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActyPersonRespFluentHelper getAllAppointmentActyPersonResp()
AppointmentActivityService
AppointmentActyPersonResp
entities.getAllAppointmentActyPersonResp
in interface AppointmentActivityService
AppointmentActyPersonResp
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActyPersonRespByKeyFluentHelper getAppointmentActyPersonRespByKey(String appointmentActivity, String responsibleEmployee)
AppointmentActivityService
AppointmentActyPersonResp
entity using key fields.getAppointmentActyPersonRespByKey
in interface AppointmentActivityService
appointmentActivity
- Transaction ID
Constraints: Not nullable, Maximum length: 10
responsibleEmployee
- Business Partner Number
Constraints: Not nullable, Maximum length: 10
AppointmentActyPersonResp
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActyPersonRespCreateFluentHelper createAppointmentActyPersonResp(@Nonnull AppointmentActyPersonResp appointmentActyPersonResp)
AppointmentActivityService
AppointmentActyPersonResp
entity and save it to the S/4HANA system.createAppointmentActyPersonResp
in interface AppointmentActivityService
appointmentActyPersonResp
- AppointmentActyPersonResp
entity object that will be created in the S/4HANA system.AppointmentActyPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActyPersonRespUpdateFluentHelper updateAppointmentActyPersonResp(@Nonnull AppointmentActyPersonResp appointmentActyPersonResp)
AppointmentActivityService
AppointmentActyPersonResp
entity and save it to the S/4HANA system.updateAppointmentActyPersonResp
in interface AppointmentActivityService
appointmentActyPersonResp
- AppointmentActyPersonResp
entity object that will be updated in the S/4HANA system.AppointmentActyPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public AppointmentActyPersonRespDeleteFluentHelper deleteAppointmentActyPersonResp(@Nonnull AppointmentActyPersonResp appointmentActyPersonResp)
AppointmentActivityService
AppointmentActyPersonResp
entity in the S/4HANA system.deleteAppointmentActyPersonResp
in interface AppointmentActivityService
appointmentActyPersonResp
- AppointmentActyPersonResp
entity object that will be deleted in the S/4HANA system.AppointmentActyPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.