Skip to Content
0
Apr 18 at 02:41 PM

SAP Predictive Asset Insights - Creating Measurement Data

18 Views

Hello,

The parameters are not clearly defined for me. In the API documentation "Creating Measurements Data", both the "templateid" and the "indicatorGroupid" mention the indicator group in the description. This cannot be the case.

Question: What exactly is meant by the "templateid" (as a parameter)?

templateid = Template ID of indicator group

indicatorGroupid = Indicator group ID

Request:

HTTP Method: POST

URI: Application_URL/timeseries/api/v1/measurements/equipment/<equipmentId>/template/<templateId>/indicatorGroup/<indicatorGroupId>

Response = Status 404 (Not Found):

{

"errorCode": "NOT_FOUND",

"errorId": "com.sap.dsc.iam.timeseries.liot.client.exception.SAPIoTException",

"errorMessage":"{\"args\":[\"objectId\"],\"message\":\"Invalid combination of objectId and tags\",\"messageId\":\"appiot. invalidIdTagsCombination\",\"correlationId\":\"093fcbe3-0603-4e56-4247-17ff665dfcf8\",\"causes\":[],\"status\":0}",

"correlationId": "e432a46a-f11f-472a-530e-5ade4c8edec5"

}

Many thanks in advance for a helpful answer,

Marco