@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultWorkforcePersonSkilltagService") public class DefaultWorkforcePersonSkilltagService extends Object implements WorkforcePersonSkilltagService
This service enables you to read,add or delete skilltag information of a person to the S/4HANA system. The skill tag information would enable to staff the employees effectively based on the skill set required. The Manage Workforce Person SkillTag service is based on the OData protocol, and can be consumed in Fiori apps and on other user interfaces. The service contains the SkillTag node. When you use the service with proper authorization, the payload information you send in the request is stored in the S/4HANA system. Once the SkillTag data has been successfully created or deleted, the relevant data is sent in the response. In case of issues, the system displays error messages in the response. .
Reference: SAP API Business Hub
OData Service: | API_MANAGE_SKILLTAGS_SRV |
API Version: | 1 |
Communication Scenario: | External HR Workforce Integration (SAP_COM_0301) |
Scope Items: | Employee Integration - SAP S/4HANA Enablement (1FD) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultWorkforcePersonSkilltagService()
Creates a service using
WorkforcePersonSkilltagService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultWorkforcePersonSkilltagServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
SkillTagCreateFluentHelper |
createSkillTag(SkillTag skillTag)
Create a new
SkillTag entity and save it to the S/4HANA system. |
SkillTagDeleteFluentHelper |
deleteSkillTag(SkillTag skillTag)
Deletes an existing
SkillTag entity in the S/4HANA system. |
SkillTagFluentHelper |
getAllSkillTag()
Fetch multiple
SkillTag entities. |
SkillTagByKeyFluentHelper |
getSkillTagByKey(String personExternalId)
Fetch a single
SkillTag entity using key fields. |
DefaultWorkforcePersonSkilltagService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultWorkforcePersonSkilltagService()
WorkforcePersonSkilltagService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultWorkforcePersonSkilltagService withServicePath(@Nonnull String servicePath)
WorkforcePersonSkilltagService
withServicePath
in interface WorkforcePersonSkilltagService
servicePath
- Service path that will override the default.@Nonnull public DefaultWorkforcePersonSkilltagServiceBatch batch()
batch
in interface BatchService<WorkforcePersonSkilltagServiceBatch>
@Nonnull public SkillTagFluentHelper getAllSkillTag()
WorkforcePersonSkilltagService
SkillTag
entities.getAllSkillTag
in interface WorkforcePersonSkilltagService
SkillTag
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 SkillTagByKeyFluentHelper getSkillTagByKey(String personExternalId)
WorkforcePersonSkilltagService
SkillTag
entity using key fields.getSkillTagByKey
in interface WorkforcePersonSkilltagService
personExternalId
- Model S: Employee Ext ID
Constraints: Not nullable, Maximum length: 60
SkillTag
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 SkillTagCreateFluentHelper createSkillTag(@Nonnull SkillTag skillTag)
WorkforcePersonSkilltagService
SkillTag
entity and save it to the S/4HANA system.createSkillTag
in interface WorkforcePersonSkilltagService
skillTag
- SkillTag
entity object that will be created in the S/4HANA system.SkillTag
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SkillTagDeleteFluentHelper deleteSkillTag(@Nonnull SkillTag skillTag)
WorkforcePersonSkilltagService
SkillTag
entity in the S/4HANA system.deleteSkillTag
in interface WorkforcePersonSkilltagService
skillTag
- SkillTag
entity object that will be deleted in the S/4HANA system.SkillTag
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.