Config API Version 2 IGRP Caller Blocks

Introduction

Caller blocks can be used to block incoming calls at IGRP level from specific source numbers

List caller blocks

Returns a list of IGRP caller blocks.

Request:

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

URL Path Params

GET Params

Filter Types

Sort Types

Response:

Returns a list of IGRP caller blocks under the given {IGRP SPECIFIER}.

{"callerBlockId":"1","igrp":"1","srcPhoneNumber":"+441234567890","createDatetime":"0000-00-00 00:00:00","updateDatetime":"0000-00-00 00:00:00"}
{"callerBlockId":"2","igrp":"1","srcPhoneNumber":"+441234567890","createDatetime":"0000-00-00 00:00:00","updateDatetime":"0000-00-00 00:00:00"}

Read IGRP caller block

Returns an IGRP caller block.

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/callerBlocks/{callerBlockId}

URL Path Params

Response:

{"callerBlockId":"1","igrp":"1","srcPhoneNumber":"+441234567890","createDatetime":"0000-00-00 00:00:00","updateDatetime":"0000-00-00 00:00:00"}

Create IGRP caller block

Creates an IGRP caller block.

Request:

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

URL Path Params

POST Params

Response:

HTTP 201 - CREATED

Update IGRP caller block

Updates an IGRP caller block.

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/callerBlocks/{callerBlockId}

URL Path Params

POST Params

Response:

HTTP 204 - NO CONTENT

Delete IGRP caller block

Deletes an IGRP caller block.

Request:

DELETE /config/v2/igrps/{IGRP SPECIFIER}/callerBlocks/{callerBlockId}

URL Path Params

Response:

HTTP 204 - NO CONTENT