[HTTP GET] ~/journeys/{JourneyId}/activities/{activityId}/contacts
Description: Get a list of Contacts who participated in a specific Journey Activity
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
JourneyId |
the specific Journey Id |
integer |
Required |
activityId |
the specific Activity Id |
integer |
Required |
Body Parameters
None
Response Information
Description
Successful Response - OK (200):
A collection of Contacts
Response Content : Collection of Contact
Name | Description | Type | Additional information |
---|---|---|---|
EncContactId | string |
None. |
|
ListId | integer |
None. |
|
Values | Dictionary of string [key] and Object [value] |
None. |
Response Codes:
-
200 - OK
- The specified Journey Activity's Contacts were retrieved and returned successfully.
-
401 - Unauthorized
- Request has been denied as it lacks valid Authentication credentials.
-
403 - Forbidden
- The user does not have the relevant permissions to perform this action.
-
404 - NotFound
- The specified Journey or Activity was not found.
-
500 - InternalServerError
- An error occurred while processing this request.
Formats
application/json, text/json
Sample:
[ { "EncContactId": "sample string 2", "ListId": 3, "Values": { "sample string 1": {}, "sample string 3": {} } }, { "EncContactId": "sample string 2", "ListId": 3, "Values": { "sample string 1": {}, "sample string 3": {} } } ]
application/csp-report
Sample:
[{"EncContactId":"sample string 2","ListId":3,"Values":{"sample string 1":{},"sample string 3":{}}},{"EncContactId":"sample string 2","ListId":3,"Values":{"sample string 1":{},"sample string 3":{}}}]
application/xml, text/xml
Sample:
<ArrayOfContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/W50API.Models.DTO"> <Contact> <EncContactId xmlns="http://schemas.datacontract.org/2004/07/W50Common.Model.DTO">sample string 2</EncContactId> <Id xmlns="http://schemas.datacontract.org/2004/07/W50Common.Model.DTO">1</Id> <ListId xmlns="http://schemas.datacontract.org/2004/07/W50Common.Model.DTO">3</ListId> <Values xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/W50Common.Model.DTO"> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> </Values> </Contact> <Contact> <EncContactId xmlns="http://schemas.datacontract.org/2004/07/W50Common.Model.DTO">sample string 2</EncContactId> <Id xmlns="http://schemas.datacontract.org/2004/07/W50Common.Model.DTO">1</Id> <ListId xmlns="http://schemas.datacontract.org/2004/07/W50Common.Model.DTO">3</ListId> <Values xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/W50Common.Model.DTO"> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> </Values> </Contact> </ArrayOfContact>