createClis

Request Method: POST

Description: Create a new CLI(s)

URL: https://api.iovox.com:444/Clis?v=3&method=createClis

The following parameters can be sent in the querystring

ParameterDescriptionDefault ValueData TypeMandatory
vAPI version to use INTEGER

YES

methodName of the methodcreateClisSTRINGYES

Payload

The following XML payload must be sent with an createClis request:

<?xml version="1.0" encoding="utf-8"?>
<request>
    <cli>4412345678</cli>
    <cli>4412345679</cli>
    </request>

Payload Description

The following parameters can be sent in the querystring

Node NameDescriptionDefault ValueData TypeMandatory
cliAn interational format Cli to import INTEGERYES

Result

Error Result

HTTP CodeError StringResolution
400API Version EmptyAdd a value for the v parameter in the query string
400API Version InvalidCorrect v parameter
400Request Method must be POST. x attemptedSwitch request method x to POST
400XML EmptyAdd xml to the request body
400XML parse error. x at line y, column zCorrect XML at point x on line y, column z
400Request Empty

Add at least one cli to the request

400Cli x of y EmptyCorrect cli x (item) of y (total)
400

Cli x of y not an integer

Correct cli x (item) of y (total)

400

Cli x of y already exists

Remove cli x (item) of y (total) from request

Success Result

HTTP/1.1 201 Created