Adobe Target API issues - InvalidProperty.Json/Unrecognized property name
Issue 1: Tried to do a POST via postman to confirm the error we see in AEM: https://mc.adobe.io/<<tenant ID>>/target/activities/xt?includeMarketingCloudMetadata=true
with request body as mentioned in api doc https://developers.adobetarget.com/api/#create-xt-activity
Method: POST
Headers: [{"key":"Content-Type","value":"application/vnd.adobe.target.v3+json","description":"","type":"text","enabled":true}]
X-Api-Key
Authorization
Body: Contains the following as per documentation
"dataCollectionHost":"test"
Response:
On debugging further it was noted that when you search for the activity by the ID , it contains the "reportSuite" propertyname/ key.
Issue 2: we see that the response for getting an XT activity by an ID gives us "offerLocations", in the response but the same key/parameter name is not accepted when one tries to create an activity, The parameter or key name accepted is "