Sources
This is a Lookup API to retrieve all the Source information for the Reviews in PressGaney’s Reputation platform. In the Reputation product, the Sources are represented hierarchically.
However, this API returns the Sources as a flat list. If needed, use the parentId
to create the hierarchical representation.
- All Sources
- Social Media
- Survey
- Survey1
- Social Media
Endpoint
GEThttps://api1.consumerism.pressganey.com/api/reputation/v1/sources
Header Parameters
Property | Type | Description | Required/Optional |
---|---|---|---|
accessToken | String | Access token for authentication. | Required |
JSON Response
A JSON object contains all source details along with parentId which is mapped to.
[
{
"id": 105600,
"name": "All Sources",
"parentId": 0
}
]
JSON Response Tags
Property | Type | Description |
---|---|---|
id | Integer | Unique id of a source |
name | String | Name of the source |
parentId | Integer | Parent source Id. Mostly, this is for grouping certain sources |