Channels
Last update: June 5, 2024
- Topics:
- REST API
CREATED FOR:
- Admin
Channels are a standard and required field for all program types. Each type of channel can only be used with the given applicableProgramType
and provides the list of available program statuses which are valid for program members in each program. If a channel’s program statuses are changed after a program is created, then the list of program statuses which a lead may be changed to will match the list given by the channel at that time, but it will not retroactively change the program status for any existing program membership records.
Query
Channels can be queried as standard assets, but do not have an endpoint to retrieve a channel by Id.
Browse
GET /rest/asset/v1/channels.json?offset=10
{
"success": true,
"warnings": [],
"errors": [],
"requestId": "651#1504ebbbfcf",
"result": [
{
"id": 3,
"name": "Blog",
"applicableProgramType": "program",
"progressionStatuses": [
{
"name": "Not in Program",
"step": 0,
"description": null,
"hidden": false,
"success": false
},
{
"name": "Invited",
"step": 10,
"description": null,
"hidden": false,
"success": false
},
{
"name": "Visited Booth",
"step": 20,
"description": null,
"hidden": false,
"success": false
},
{
"name": "Influenced",
"step": 30,
"description": null,
"hidden": false,
"success": true
}
],
"createdAt": "2015-07-15T11:40:57Z+0000",
"updatedAt": "2015-07-15T11:40:57Z+0000"
},
{
"id": 4,
"name": "Online Advertising",
"applicableProgramType": "program",
"progressionStatuses": [
{
"name": "Not in Program",
"step": 0,
"description": null,
"hidden": false,
"success": false
},
{
"name": "Invited",
"step": 10,
"description": null,
"hidden": false,
"success": false
},
{
"name": "Registered",
"step": 20,
"description": null,
"hidden": false,
"success": false
},
{
"name": "No Show",
"step": 30,
"description": null,
"hidden": false,
"success": false
},
{
"name": "Attended",
"step": 40,
"description": null,
"hidden": false,
"success": true
}
],
"createdAt": "2015-07-15T11:40:58Z+0000",
"updatedAt": "2015-07-15T11:40:58Z+0000"
}
]
}
By Name
GET /rest/asset/v1/channel/byName.json?name=Online Advertising
{
"success": true,
"warnings": [],
"errors": [],
"requestId": "394c#1504eb476ed",
"result": [
{
"id": 4,
"name": "Online Advertising",
"applicableProgramType": "program",
"progressionStatuses": [
{
"name": "Not in Program",
"step": 0,
"description": null,
"hidden": false,
"success": false
},
{
"name": "Invited",
"step": 10,
"description": null,
"hidden": false,
"success": false
},
{
"name": "Registered",
"step": 20,
"description": null,
"hidden": false,
"success": false
},
{
"name": "No Show",
"step": 30,
"description": null,
"hidden": false,
"success": false
},
{
"name": "Attended",
"step": 40,
"description": null,
"hidden": false,
"success": true
}
],
"createdAt": "2015-07-15T11:40:58Z+0000",
"updatedAt": "2015-07-15T11:40:58Z+0000"
}
]
}
recommendation-more-help
bb269a6d-047a-4bf7-9acd-23ad9a63dc59