on 2023 Nov 29 2:04 PM
Hi Together, I want to use
SAP Digital Manufacturing for insights OData Service Functionalities
What do I have?
1) I use Postman
2) I have the service URL created like described here:
https://help.sap.com/docs/sap-digital-manufacturing/insights/apis
3) I have Token by using [System]/oauth/token
What do I want to do:
1) I want to access [public-api-endpoint]/dmci/v1/extractor/Plant('1000')/Material?$format=json&$select=Plant,Material,MaterialVersion&$filter=Plant eq '1000' and Type eq 'SEMIFINISHED_PRODUCT'
but here I always get 404 not found.
I tried to use
https://help.sap.com/docs/sap-digital-manufacturing/operations-guide/prepare-for-api-integration
and do the creation of Service Instance because maybe the endpoint I use is wrong:
Go to your subaccount.
Choose Services Service Marketplace and then select the Digital Manufacturing Cloud Services tile for the production plan.
Choose a service plan to create an instance of the service.
Choose Create.
Create an instance:
insights (for consumption of SAP Digital Manufacturing for insights APIs)
But in step 5 I have no service plan "insights" available
Maybe someone here knows the problem and can help?
Request clarification before answering.
Hi Christian,
I just test this on my side and it worked without issue using this URL https://api.test.eu20.dmc.cloud.sap/dmci/v1/extractor/Plant('KEVH')/Material?$format=json&$select=Plant,Material,MaterialVersion&$filter=Plant eq 'KEVH' and Type eq 'SEMIFINISHED_PRODUCT'
404 suggests the issue is with the URL so can you share the URL you used ?
Thanks
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin thx for your answer.
I think it works now.
I used the wrong adress I think.
https://api.eu20.dmc.cloud.sap/dmci/v1/extractor/$metadata
--> thats my one
Yours works for me, so I tried to figure out why 🙂
From
https://help.sap.com/docs/sap-digital-manufacturing/insights/apis
I read again and I found:
"in the above examples, https://api.eu20.dmc.cloud.sap is the base URL indicating the production tenant in EU20 landscape.
To access the SAP Digital Manufacturing for insights public APIs, you must use the public-api-endpoint from the service key."
This information is important in the help document, so I checked this and have seen I need to use the URL like you have.
https://api.test.eu20.dmc.cloud.sap/dmci/v1/extractor/Plant('1000')/Material?$format=json&$select=Plant,Material,MaterialVersion&$filter=Plant eq '1000' and Type eq 'SEMIFINISHED_PRODUCT'
Thx again for the fast answer 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.