@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultPhoneCallActivityService") public class DefaultPhoneCallActivityService extends Object implements PhoneCallActivityService
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 a phone call activity data, including appropriate checks for restricted values and authorizations. Once the phone call activity has been created or updated, the phone call activity information is sent in the response. If there are any issues when the phone call activity is created or updated, the system returns error messages. In each API call, you can use the following operations: - Retrieve phone call activities. - Create phone call 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 phone call activities. - Update the header, person responsible, text, and attendee for existing phone call activities. - Delete the person responsible, text, and attendee for existing phone call activities. .
Reference: SAP API Business Hub
OData Service: | OP_API_ACTIVITY_PHONECALL_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Phone Call Activity |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPhoneCallActivityService()
Creates a service using
PhoneCallActivityService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultPhoneCallActivityService()
PhoneCallActivityService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPhoneCallActivityService withServicePath(@Nonnull String servicePath)
PhoneCallActivityService
withServicePath
in interface PhoneCallActivityService
servicePath
- Service path that will override the default.@Nonnull public DefaultPhoneCallActivityServiceBatch batch()
batch
in interface BatchService<PhoneCallActivityServiceBatch>
@Nonnull public PhoneCallActivityFluentHelper getAllPhoneCallActivity()
PhoneCallActivityService
PhoneCallActivity
entities.getAllPhoneCallActivity
in interface PhoneCallActivityService
PhoneCallActivity
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 PhoneCallActivityByKeyFluentHelper getPhoneCallActivityByKey(String phoneCallActivity)
PhoneCallActivityService
PhoneCallActivity
entity using key fields.getPhoneCallActivityByKey
in interface PhoneCallActivityService
phoneCallActivity
- Transaction ID
Constraints: Not nullable, Maximum length: 10
PhoneCallActivity
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 PhoneCallActivityCreateFluentHelper createPhoneCallActivity(@Nonnull PhoneCallActivity phoneCallActivity)
PhoneCallActivityService
PhoneCallActivity
entity and save it to the S/4HANA system.createPhoneCallActivity
in interface PhoneCallActivityService
phoneCallActivity
- PhoneCallActivity
entity object that will be created in the S/4HANA system.PhoneCallActivity
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhoneCallActivityUpdateFluentHelper updatePhoneCallActivity(@Nonnull PhoneCallActivity phoneCallActivity)
PhoneCallActivityService
PhoneCallActivity
entity and save it to the S/4HANA system.updatePhoneCallActivity
in interface PhoneCallActivityService
phoneCallActivity
- PhoneCallActivity
entity object that will be updated in the S/4HANA system.PhoneCallActivity
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhoneCallActivityAttendeeFluentHelper getAllPhoneCallActivityAttendee()
PhoneCallActivityService
PhoneCallActivityAttendee
entities.getAllPhoneCallActivityAttendee
in interface PhoneCallActivityService
PhoneCallActivityAttendee
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 PhoneCallActivityAttendeeByKeyFluentHelper getPhoneCallActivityAttendeeByKey(String phoneCallActivity, String phoneCallActivityAttendee)
PhoneCallActivityService
PhoneCallActivityAttendee
entity using key fields.getPhoneCallActivityAttendeeByKey
in interface PhoneCallActivityService
phoneCallActivity
- Transaction ID
Constraints: Not nullable, Maximum length: 10
phoneCallActivityAttendee
- Business Partner Number
Constraints: Not nullable, Maximum length: 10
PhoneCallActivityAttendee
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 PhoneCallActivityAttendeeCreateFluentHelper createPhoneCallActivityAttendee(@Nonnull PhoneCallActivityAttendee phoneCallActivityAttendee)
PhoneCallActivityService
PhoneCallActivityAttendee
entity and save it to the S/4HANA system.createPhoneCallActivityAttendee
in interface PhoneCallActivityService
phoneCallActivityAttendee
- PhoneCallActivityAttendee
entity object that will be created in the S/4HANA system.PhoneCallActivityAttendee
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhoneCallActivityAttendeeUpdateFluentHelper updatePhoneCallActivityAttendee(@Nonnull PhoneCallActivityAttendee phoneCallActivityAttendee)
PhoneCallActivityService
PhoneCallActivityAttendee
entity and save it to the S/4HANA system.updatePhoneCallActivityAttendee
in interface PhoneCallActivityService
phoneCallActivityAttendee
- PhoneCallActivityAttendee
entity object that will be updated in the S/4HANA system.PhoneCallActivityAttendee
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhoneCallActivityAttendeeDeleteFluentHelper deletePhoneCallActivityAttendee(@Nonnull PhoneCallActivityAttendee phoneCallActivityAttendee)
PhoneCallActivityService
PhoneCallActivityAttendee
entity in the S/4HANA system.deletePhoneCallActivityAttendee
in interface PhoneCallActivityService
phoneCallActivityAttendee
- PhoneCallActivityAttendee
entity object that will be deleted in the S/4HANA system.PhoneCallActivityAttendee
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhoneCallActivityPersonRespFluentHelper getAllPhoneCallActivityPersonResp()
PhoneCallActivityService
PhoneCallActivityPersonResp
entities.getAllPhoneCallActivityPersonResp
in interface PhoneCallActivityService
PhoneCallActivityPersonResp
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 PhoneCallActivityPersonRespByKeyFluentHelper getPhoneCallActivityPersonRespByKey(String phoneCallActivity, String responsibleEmployee)
PhoneCallActivityService
PhoneCallActivityPersonResp
entity using key fields.getPhoneCallActivityPersonRespByKey
in interface PhoneCallActivityService
phoneCallActivity
- Transaction ID
Constraints: Not nullable, Maximum length: 10
responsibleEmployee
- Business Partner Number
Constraints: Not nullable, Maximum length: 10
PhoneCallActivityPersonResp
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 PhoneCallActivityPersonRespCreateFluentHelper createPhoneCallActivityPersonResp(@Nonnull PhoneCallActivityPersonResp phoneCallActivityPersonResp)
PhoneCallActivityService
PhoneCallActivityPersonResp
entity and save it to the S/4HANA system.createPhoneCallActivityPersonResp
in interface PhoneCallActivityService
phoneCallActivityPersonResp
- PhoneCallActivityPersonResp
entity object that will be created in the S/4HANA system.PhoneCallActivityPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhoneCallActivityPersonRespUpdateFluentHelper updatePhoneCallActivityPersonResp(@Nonnull PhoneCallActivityPersonResp phoneCallActivityPersonResp)
PhoneCallActivityService
PhoneCallActivityPersonResp
entity and save it to the S/4HANA system.updatePhoneCallActivityPersonResp
in interface PhoneCallActivityService
phoneCallActivityPersonResp
- PhoneCallActivityPersonResp
entity object that will be updated in the S/4HANA system.PhoneCallActivityPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhoneCallActivityPersonRespDeleteFluentHelper deletePhoneCallActivityPersonResp(@Nonnull PhoneCallActivityPersonResp phoneCallActivityPersonResp)
PhoneCallActivityService
PhoneCallActivityPersonResp
entity in the S/4HANA system.deletePhoneCallActivityPersonResp
in interface PhoneCallActivityService
phoneCallActivityPersonResp
- PhoneCallActivityPersonResp
entity object that will be deleted in the S/4HANA system.PhoneCallActivityPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhoneCallActivityTextFluentHelper getAllPhoneCallActivityText()
PhoneCallActivityService
PhoneCallActivityText
entities.getAllPhoneCallActivityText
in interface PhoneCallActivityService
PhoneCallActivityText
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 PhoneCallActivityTextByKeyFluentHelper getPhoneCallActivityTextByKey(String phoneCallActivity, String textObjectType, String language)
PhoneCallActivityService
PhoneCallActivityText
entity using key fields.getPhoneCallActivityTextByKey
in interface PhoneCallActivityService
phoneCallActivity
- Transaction ID
Constraints: Not nullable, Maximum length: 10
textObjectType
- Text ID
Constraints: Not nullable, Maximum length: 4
language
- Language Key
Constraints: Not nullable, Maximum length: 2
PhoneCallActivityText
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 PhoneCallActivityTextCreateFluentHelper createPhoneCallActivityText(@Nonnull PhoneCallActivityText phoneCallActivityText)
PhoneCallActivityService
PhoneCallActivityText
entity and save it to the S/4HANA system.createPhoneCallActivityText
in interface PhoneCallActivityService
phoneCallActivityText
- PhoneCallActivityText
entity object that will be created in the S/4HANA system.PhoneCallActivityText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhoneCallActivityTextUpdateFluentHelper updatePhoneCallActivityText(@Nonnull PhoneCallActivityText phoneCallActivityText)
PhoneCallActivityService
PhoneCallActivityText
entity and save it to the S/4HANA system.updatePhoneCallActivityText
in interface PhoneCallActivityService
phoneCallActivityText
- PhoneCallActivityText
entity object that will be updated in the S/4HANA system.PhoneCallActivityText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhoneCallActivityTextDeleteFluentHelper deletePhoneCallActivityText(@Nonnull PhoneCallActivityText phoneCallActivityText)
PhoneCallActivityService
PhoneCallActivityText
entity in the S/4HANA system.deletePhoneCallActivityText
in interface PhoneCallActivityService
phoneCallActivityText
- PhoneCallActivityText
entity object that will be deleted in the S/4HANA system.PhoneCallActivityText
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.