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

error when posting score value

chholzermsg
Participant
0 Kudos
329

Hi,

I create an external score as described here and the "model fits" is active. So far so good, everything seems to be ok.

When I try to upload a score value using the ScoreValues OData Service, I get the error message "<code>/IWBEP/CM_MGW_RT/021</code> <message xml:lang="en">Method 'SCOREVALUES_CREATE_ENTITY' not implemented in data provider class</message> "

What did I do wrong?

Regards

Christian

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member599277
Contributor
0 Kudos

Dear Christian,

You may encounter such errors if the payload structure is not correct.

Try as per below help document

Payload Examples for Scores

For best performance, deep insert is supported as illustrated in the payload examples.

URI -> /API_MKT_SCORE_SRV/Scores(MarketingScore='YY1_TEST')/ScoreModels

Payload: ->

{
"MarketingScore":"YY1_TEST",
"MarketingScoreModel":"25",
"ScoreValues":[
{
"MarketingScoreDateTime":"2021-04-29T11:57:00",
"MarketingScoredObjectUUID":"ffffffff-ffff-ffff-ffff-ffffffffffff",

"MarketingScoreValue":"1"
}
]
}

Please try again with this structure and check if this helps.

Regards,
Saravana.

chholzermsg
Participant
0 Kudos

Hi @saravana92

thank you for your comment.

This call returns with code 201. But unfortunately it seems that the score value is not stored. The GET ScoreValues returns an empty list and in Predictive Studio the value list is empty, too.

When I do a GET ScoreTargetObjects I get an empty list, too. Does this mean anything?

Upload via CSV file works.

Regards

Christian

former_member599277
Contributor
0 Kudos

Hi Christian,

In that case , We need to check in your system , You can reach us out via SAP Expert Chat.

Regards,
Saravana.