Sap Digital Manufacturing
Beta Feature
The SAP Digital Manufacturing connector (SapDigitalManufacturing) communicates with the SAP Digital Manufacturing Cloud API. It manages the OAuth2 authentication flow and lets you read data from REST endpoints or query Managed Data Objects (MDO) via OData.
This connector requires instance creation before you can manage connection states and execute data transactions.
Connection and lifecycle
create
Creates an instance configured to communicate with a specific SAP Digital Manufacturing tenant API.
Parameters
options
publicApiEndpoint
The base URL of the target digital manufacturing API, such as https://api.eu20.dmc.cloud.sap.
string
authUrl
The URL of the OAuth token endpoint.
string
clientId
The OAuth client ID.
string
clientSecret
The OAuth client secret.
string
Output
Returns the name of the created instance.
Example
canCommunicate
Checks whether communication with the cloud API is operational and authenticated.
Parameters
None.
Output
Returns true if communication succeeds, or false if it fails.
delete
Removes the instance and its connection configuration.
Parameters
None.
Output
Returns true upon removal.
Data operations
read
Executes a GET request against standard SAP Digital Manufacturing REST endpoints.
Parameters
path
The relative API path of the endpoint, such as /order/v1/orders.
string
params
Query parameters specified as key-value pairs appended to the URL.
object
Output
Returns a parsed JSON object containing the API response. Throws an error on failure.
Examples
Example 1: Read work centers
Generated URL: .../resource/v1/workcenters?plant=1710
Example 2: Read production order details
Generated URL: .../order/v1/orders?plant=1710&order=1000456
readMdo
Queries a Managed Data Object (MDO) via OData to read custom master data tables.
Parameters
entityPath
The OData entity path for the target object, such as /ToolMDOs.
string
query
An OData query string to filter, sort, or select fields, such as ?$top=10. Default empty string.
string
Output
Returns a parsed JSON object containing the OData response. Throws an error on failure.
Examples
Example 1: Read entries with a top limit
Generated URL: .../ToolMDOs?$top=5
Example 2: Read a specific entry by identifier
Generated URL: .../ToolMDOs('TOOL-001')
Example 3: Filter entries and select specific fields
Generated URL: .../ToolMDOs?$filter=toolType%20eq%20'DRILL'&$select=toolId,description,wear
Last updated
Was this helpful?