cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Digital Manufacturing - REST API

ChoiKyuchan
Explorer
0 Kudos
1,014

Hi Community,

I want to import data get DM REST API.

I'd like to know how I can get the full data with characters by entering only some of the GET CALL REQUEST parameter strings.

For example, when you get the tools information, toolNumber wants to get a full list with "PRT".

Accepted Solutions (1)

Accepted Solutions (1)

MarcelWolf
Product and Topic Expert
Product and Topic Expert

Hi,

 

another option to look at is using the Tool MDO: https://help.sap.com/docs/sap-digital-manufacturing/insights/tool-mdo

For each MDO an OData V2 and V4 API exists: https://help.sap.com/docs/sap-digital-manufacturing/insights/apis

Please note the remark / hint on the limitations of MDOs in the second link.

 

Regards,

Marcel

Answers (1)

Answers (1)

RogerGiuliano
Advisor
Advisor

Hi ChoiKyuchan,

usually I start looking up the details of the API I plan to use in the API hub, e.g.: Overview | Tool | SAP Business Accelerator Hub

To get a list of the PRTs I used an API client where I filled the mandatory plant-parameter in "Query" and of course the "Auth" information to get this result: 

RogerGiuliano_0-1735801353034.png

Hope it helps!

BR Roger

 

ChoiKyuchan
Explorer
0 Kudos
Hi BR Roger, I know API Hub and I can also get results through API's plant-parameter in "Query". But there are too many results. I want to filter by the string of parameters to get results. Thanks.
RogerGiuliano
Advisor
Advisor
Hi ChoiKyuchan, there are some optional parameters to support filtering like e.g. tool type, origin or status. Additionally paging could be helpful in combination with the sorting - so you have control of the page size and number. So far I don't see an SQL like query option, just parameters and paging.