Config API Version 2 Call Rating

List call ratings for an IGRP

Returns a list of IGRP call ratings.

Request:

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

URL Path Params

GET Params

Filter Types

Sort Types

Response:

Returns a list of call ratings under the given {IGRP SPECIFIER}.

{"callRatingId":"1","igrp":"1","callRatingName":"Test 1","sayOptions":"1","createDatetime":"2014-11-13 11:20:00","updateDatetime":"2014-11-28 12:47:15"}
{"callRatingId":"2","igrp":"1","callRatingName":"Test 2","sayOptions":"1","createDatetime":"2014-11-13 11:20:08","updateDatetime":"2014-11-28 12:47:18"}

Read IGRP call rating

Returns an IGRP call rating.

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/callRatings/{callRatingId}

URL Path Params

Response:

{"callRatingId":"1","igrp":"1","callRatingName":"Test 1","sayOptions":"1","createDatetime":"2014-11-13 11:20:00","updateDatetime":"2014-11-28 12:47:15"}

Create IGRP call rating

Creates an IGRP call rating.

Request:

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

URL Path Params

POST Params

Response:

HTTP 201 - CREATED

Update IGRP call rating

Updates an IGRP call rating.

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/callRatings/{callRatingId}

URL Path Params

POST Params

Response:

HTTP 204 - NO CONTENT

Delete IGRP call rating

Deletes an IGRP call rating.

Request:

DELETE /config/v2/igrps/{IGRP SPECIFIER}/callRatings/{callRatingId}

URL Path Params

Response:

HTTP 204 - NO CONTENT

List call rating items for an IGRP

Returns a list of IGRP call rating items.

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/callRatings/{callRatingId}/items

URL Path Params

GET Params

Filter Types

Sort Types

Response:

Returns a list of call ratings under the given {IGRP SPECIFIER}.

{"callRatingItemId":"1","callRatingId":"1","itemDigit":"1","itemText":"Existing Contact","captureTxv":"0","currency":""}
{"callRatingItemId":"2","callRatingId":"1","itemDigit":"2","itemText":"New Lead","captureTxv":"1","currency":"GBP"}

Read IGRP call rating item

Returns an IGRP call rating item.

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/callRatings/{callRatingId}/items/{callRatingItemId}

URL Path Params

Response:

{"callRatingItemId":"1","callRatingId":"1","itemDigit":"1","itemText":"Existing Contact","captureTxv":"0","currency":""}

Create IGRP call rating item

Creates an IGRP call rating item.

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/callRatings/{callRatingId}/items

URL Path Params

POST Params

Response:

HTTP 201 - CREATED

Update IGRP call rating item

Updates an IGRP call rating item.

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/callRatings/{callRatingId}/items/{callRatingItemId}

URL Path Params

POST Params

Response:

HTTP 204 - NO CONTENT

Delete IGRP call rating item

Deletes an IGRP call rating item.

Request:

DELETE /config/v2/igrps/{IGRP SPECIFIER}/callRatings/{callRatingId}/items/{callRatingItemId}

URL Path Params

Response:

HTTP 204 - NO CONTENT

Edit call rating for a trigger

Updates a call triggers callRating

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/calls/{callRef}/rating

URL Path Params

POST Params

Response:

HTTP 202 - ACCEPTED