public interface ProjectService extends BatchService<ProjectServiceBatch>
The service reads data from the project using Project Internal ID, and can retrieve project header data as well as description fields, organizational fields and planned date fields. You can use the WBS Element entity type to get details about the WBS Elements associated with this project. .
Reference: SAP API Business Hub
OData Service: | OP_API_PROJECT_V2_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Project |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
ProjectFluentHelper |
getAllProject()
Fetch multiple
Project entities. |
WBSElementFluentHelper |
getAllWBSElement()
Fetch multiple
WBSElement entities. |
ProjectByKeyFluentHelper |
getProjectByKey(String projectInternalID)
Fetch a single
Project entity using key fields. |
WBSElementByKeyFluentHelper |
getWBSElementByKey(String wBSElementInternalID)
Fetch a single
WBSElement entity using key fields. |
ProjectService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull ProjectService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ProjectFluentHelper getAllProject()
Project
entities.@Nonnull ProjectByKeyFluentHelper getProjectByKey(String projectInternalID)
Project
entity using key fields.projectInternalID
- Project (internal)
Constraints: Not nullable, Maximum length: 8
Project
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 WBSElementFluentHelper getAllWBSElement()
WBSElement
entities.WBSElement
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 WBSElementByKeyFluentHelper getWBSElementByKey(String wBSElementInternalID)
WBSElement
entity using key fields.wBSElementInternalID
- WBS Element
Constraints: Not nullable, Maximum length: 8
WBSElement
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.Copyright © 2021 SAP SE. All rights reserved.