I have used the following code to fetch Salesforce entry event Details and Fields used in Decision split. But its not working
HTTP/1.1 200
{
"Page": 1,
"PageSize": 50,
"Count": 5,
"Items": [
{
//This log shows the creation date and time for the journey. The log also includes sourceInteraction if a user created the journey as a copy of an existing journey.
"action": "Create",
"key": "some-journey-key",
"versionNumber": 2,
"id": "####-####-####-####-####",
"originalDefinitionId": "####-####-####-####-####",
"name": "Complete journey",
"description": "This journey contains a trigger, goal and activities",
"timeStamp": "2015-10-30T11:49:55.99",
"user": {
"name": "Test User 1",
"UserId": 1234
},
"executionMode": "Production",
"sourceInteraction": {
"id":"####-####-####-####-####",
"version": 3,
"key": "My journey"
}
},
{
//This log shows a record for each modification of the journey.
"action": "Modify",
"key": "some-journey-key",
"versionNumber": 2,
"id": "####-####-####-####-####",
"originalDefinitionId": "####-####-####-####-####",
"name": "Complete journey",
"description": "This journey contains a trigger, goal and activities",
"timeStamp": "2015-10-30T11:49:55.99",
"user": {
"name": "Test User 1",
"UserId": 1234
},
"executionMode": "Production"
},
{
//This log shows the publish status for the journey, in this case an error.
"action": "Publish",
"key": "some-journey-key",
"versionNumber": 2,
"id": "####-####-####-####-####",
"originalDefinitionId": "####-####-####-####-####",
"name": "Complete journey",
"description": "This journey contains a trigger, goal and activities",
"timeStamp": "2015-10-30T11:49:55.99",
"user": {
"name": "Test User 2",
"userId": 5678
},
"executionMode": "Production",
"publishStatus": "Error",
"PublishRequestId": "####-####-####-####-####",
"errors": [
{
"ErrorDetail": "An activity must be created and configured before activation can be successful",
"ErrorCode": "VALIDATE_GENERAL_EXCEPTION"
},
{
"ErrorDetail": "An entry event must be configured before activation can be successful",
"ErrorCode": "VALIDATE_GENERAL_EXCEPTION"
}
]
},
{
//This log shows the publish status for the journey (in this case, a success).
"action": "Publish",
"key": "some-journey-key",
"versionNumber": 2,
"id": "####-####-####-####-####",
"originalDefinitionId": "####-####-####-####-####",
"name": "Complete journey",
"description": "This journey contains a trigger, goal and activities",
"timeStamp": "2015-10-30T11:49:55.99",
"user": {
"name": "Test User 2",
"userId": 5678
},
"executionMode": "Production",
"publishStatus": "PublishCompleted",
"publishRequestId": "####-####-####-####-####"
},
{
//This log shows the journey ejected 20 contacts when stopped.
"action": "Stop",
"key": "some-journey-key",
"versionNumber": 2,
"id": "####-####-####-####-####",
"originalDefinitionId": "####-####-####-####-####",
"name": "Complete journey",
"description": "This journey contains a trigger, goal and activities",
"timeStamp": "2015-10-30T11:49:55.99",
"user": {
"name": "Test User 1",
"userId": 1234
},
"ContactsEjected": 20
}
]
}