Expand my Community achievements bar.

Who Me Too'd this topic

Avatar

Level 3

Dear Team

 

Iin process to use Adobe Target Delivery APIs for Mobile Personalization. Below end point i am using it

 

https://<clientCode>.tt.omtrdc.net/rest/v1/delivery?client=<clientCode>&sessionId=d359234570e04f14e1faeeba02d6ab9914e'

 

 Body Part of request 

{"id": {
"tntId": "XX"
}, "property" : {
"token": "XX"
}, "context": {
"channel": "mobile"
}, "prefetch": {
"mboxes" : [ 

{ "name" : "OfferSlot1", "index" : 1 },

{ "name" : "OfferSlot2", "index" : 2 },
{ "name" : "OfferSlot3", "index" : 3 },
{ "name" : "OfferSlot4", "index" : 4 }
] } } }'

 

Note: XX  i have used masked values. Dont consider this as actual value i used in API call.

 

I am getting below error

{
"status": 400,
"message": "Errors: field - [context] - MobilePlatform should be provided only for mobile channel;"
}

 

I am not sure what should be done in this case?

 

 

 

Who Me Too'd this topic