@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultTaskActivityService") public class DefaultTaskActivityService extends Object implements TaskActivityService
The service contains header, 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 task activity data, including appropriate checks for restricted values and authorizations. Once the task activity has been created or updated, the task activity information is sent in the response. If there are any issues when the task activity is created or updated, the system returns error messages. In each API call, you can use the following operations: - Retrieve task activities. - Create task activities. Note: You must use “deep insert” requests (a header plus the following entities: person responsible, and text). - Create new person responsible, text for existing task activities. - Update the header, person responsible, and text for existing task activities. - Delete the person responsible, and text for existing task activities. .
Reference: SAP API Business Hub
OData Service: | OP_API_TASK_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultTaskActivityService()
Creates a service using
TaskActivityService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultTaskActivityService()
TaskActivityService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultTaskActivityService withServicePath(@Nonnull String servicePath)
TaskActivityService
withServicePath
in interface TaskActivityService
servicePath
- Service path that will override the default.@Nonnull public DefaultTaskActivityServiceBatch batch()
batch
in interface BatchService<TaskActivityServiceBatch>
@Nonnull public CustMgmtTaskFluentHelper getAllCustMgmtTask()
TaskActivityService
CustMgmtTask
entities.getAllCustMgmtTask
in interface TaskActivityService
CustMgmtTask
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 CustMgmtTaskByKeyFluentHelper getCustMgmtTaskByKey(String custMgmtTask)
TaskActivityService
CustMgmtTask
entity using key fields.getCustMgmtTaskByKey
in interface TaskActivityService
custMgmtTask
- Transaction ID
Constraints: Not nullable, Maximum length: 10
CustMgmtTask
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 CustMgmtTaskCreateFluentHelper createCustMgmtTask(@Nonnull CustMgmtTask custMgmtTask)
TaskActivityService
CustMgmtTask
entity and save it to the S/4HANA system.createCustMgmtTask
in interface TaskActivityService
custMgmtTask
- CustMgmtTask
entity object that will be created in the S/4HANA system.CustMgmtTask
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CustMgmtTaskUpdateFluentHelper updateCustMgmtTask(@Nonnull CustMgmtTask custMgmtTask)
TaskActivityService
CustMgmtTask
entity and save it to the S/4HANA system.updateCustMgmtTask
in interface TaskActivityService
custMgmtTask
- CustMgmtTask
entity object that will be updated in the S/4HANA system.CustMgmtTask
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CustMgmtTaskPersonRespFluentHelper getAllCustMgmtTaskPersonResp()
TaskActivityService
CustMgmtTaskPersonResp
entities.getAllCustMgmtTaskPersonResp
in interface TaskActivityService
CustMgmtTaskPersonResp
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 CustMgmtTaskPersonRespByKeyFluentHelper getCustMgmtTaskPersonRespByKey(String custMgmtTask, String responsibleEmployee)
TaskActivityService
CustMgmtTaskPersonResp
entity using key fields.getCustMgmtTaskPersonRespByKey
in interface TaskActivityService
custMgmtTask
- Transaction ID
Constraints: Not nullable, Maximum length: 10
responsibleEmployee
- Business Partner Number
Constraints: Not nullable, Maximum length: 10
CustMgmtTaskPersonResp
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 CustMgmtTaskPersonRespCreateFluentHelper createCustMgmtTaskPersonResp(@Nonnull CustMgmtTaskPersonResp custMgmtTaskPersonResp)
TaskActivityService
CustMgmtTaskPersonResp
entity and save it to the S/4HANA system.createCustMgmtTaskPersonResp
in interface TaskActivityService
custMgmtTaskPersonResp
- CustMgmtTaskPersonResp
entity object that will be created in the S/4HANA system.CustMgmtTaskPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CustMgmtTaskPersonRespUpdateFluentHelper updateCustMgmtTaskPersonResp(@Nonnull CustMgmtTaskPersonResp custMgmtTaskPersonResp)
TaskActivityService
CustMgmtTaskPersonResp
entity and save it to the S/4HANA system.updateCustMgmtTaskPersonResp
in interface TaskActivityService
custMgmtTaskPersonResp
- CustMgmtTaskPersonResp
entity object that will be updated in the S/4HANA system.CustMgmtTaskPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CustMgmtTaskPersonRespDeleteFluentHelper deleteCustMgmtTaskPersonResp(@Nonnull CustMgmtTaskPersonResp custMgmtTaskPersonResp)
TaskActivityService
CustMgmtTaskPersonResp
entity in the S/4HANA system.deleteCustMgmtTaskPersonResp
in interface TaskActivityService
custMgmtTaskPersonResp
- CustMgmtTaskPersonResp
entity object that will be deleted in the S/4HANA system.CustMgmtTaskPersonResp
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CustMgmtTaskTextFluentHelper getAllCustMgmtTaskText()
TaskActivityService
CustMgmtTaskText
entities.getAllCustMgmtTaskText
in interface TaskActivityService
CustMgmtTaskText
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 CustMgmtTaskTextByKeyFluentHelper getCustMgmtTaskTextByKey(String custMgmtTask, String textObjectType, String language)
TaskActivityService
CustMgmtTaskText
entity using key fields.getCustMgmtTaskTextByKey
in interface TaskActivityService
custMgmtTask
- 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
CustMgmtTaskText
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 CustMgmtTaskTextCreateFluentHelper createCustMgmtTaskText(@Nonnull CustMgmtTaskText custMgmtTaskText)
TaskActivityService
CustMgmtTaskText
entity and save it to the S/4HANA system.createCustMgmtTaskText
in interface TaskActivityService
custMgmtTaskText
- CustMgmtTaskText
entity object that will be created in the S/4HANA system.CustMgmtTaskText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CustMgmtTaskTextUpdateFluentHelper updateCustMgmtTaskText(@Nonnull CustMgmtTaskText custMgmtTaskText)
TaskActivityService
CustMgmtTaskText
entity and save it to the S/4HANA system.updateCustMgmtTaskText
in interface TaskActivityService
custMgmtTaskText
- CustMgmtTaskText
entity object that will be updated in the S/4HANA system.CustMgmtTaskText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CustMgmtTaskTextDeleteFluentHelper deleteCustMgmtTaskText(@Nonnull CustMgmtTaskText custMgmtTaskText)
TaskActivityService
CustMgmtTaskText
entity in the S/4HANA system.deleteCustMgmtTaskText
in interface TaskActivityService
custMgmtTaskText
- CustMgmtTaskText
entity object that will be deleted in the S/4HANA system.CustMgmtTaskText
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.