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
Parameter | Description | Default Value | Data Type | Mandatory |
v | API version to use | INTEGER | YES | |
method | Name of the method | createClis | STRING | YES |
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 Name | Description | Default Value | Data Type | Mandatory |
cli | An interational format Cli to import | INTEGER | YES |
¶
Result
Error Result¶
HTTP Code | Error String | Resolution |
400 | API Version Empty | Add a value for the v parameter in the query string |
400 | API Version Invalid | Correct v parameter |
400 | Request Method must be POST. x attempted | Switch request method x to POST |
400 | XML Empty | Add xml to the request body |
400 | XML parse error. x at line y, column z | Correct XML at point x on line y, column z |
400 | Request Empty | Add at least one cli to the request |
400 | Cli x of y Empty | Correct 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 |