Config API Version 2 Channels

Introduction

A Channel is a container for triggers from a particular marketing source. Triggers can be made up of Online and Offline events, such as web site page views or calls. Each Channel is assigned a numeric ID that can be used to reference it in the APIs.

List Channels

Lists the Channels for an IGRP.

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/channels

URL Path Params

GET Params

Filter Types

Sort Types

Response:

Returns a list of Channels under the given IGRP spec.

{"channelId":"1","channelName":"Referrer","channelType":"ref","channelOrder":"1","igrp":"1","srcMode":{"vref":""},"numberAllocationMode":"sessionsh"}
{"channelId":"2","channelName":"SEO","channelType":"seo","channelOrder":"2","igrp":"1","srcMode":{"seo":""},"numberAllocationMode":"session"}

Get Channel Config

Get the properties for a particular channel.

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/channels/{channelId}

URL Path Params

Response:

Returns the details of the channel specified by the {IGRP SPECIFIER} and {channelId}

{"channelId":"2","channelName":"SEO","channelType":"seo","channelOrder":"2","igrp":"1","srcMode":{"seo":""},"numberAllocationMode":"session"}

Create Channel

Create a new channel.

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/channels

URL Path Params

POST Params

Response:

Returns the HTTP response code to reflect the request outcome.

HTTP 201 - CREATED

Update Channel Config

Update the channel configuration. Only channels of type affiliate, cust, display, email, offline, ppc, sms, social, and video can have their Source Mode and Channel Name edited.

In addition to the channels listed above, direct, ref, and seo can have their Number Allocation Mode set.

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/channels/{channelId}

URL Path Params

POST Params

Response:

Returns the HTTP response code to reflect the request outcome.

HTTP 204 - NO CONTENT

Delete Channel

Delete an existing channel. Only user-defined channels, ordered within the range 100 to 199, may be deleted.

Request:

DELETE /config/v2/igrps/{IGRP SPECIFIER}/channels/{channelId}

URL Path Params

Response:

Returns the HTTP 204 (No Content) status code if delete successful.

HTTP 204 - NO CONTENT

Set channel order

Sets the channel order order. Channels can only be ordered within the range 100 to 199 can be re-ordered and can only be re-ordered within this range

Request:

PUT /config/v2/igrps/{IGRP SPECIFIER}/channels/order

URL Path Params

POST Params

Response:

HTTP 204 - NO CONTENT