{"info":{"_postman_id":"2c85a207-8282-4a71-aea3-684f0a90f597","name":"Documentation API PBXware Bicom","description":"<html><head></head><body><p>Cette documentation est conçue pour aider les développeurs à comprendre et à utiliser les APIs sur nos systèmes PBXware, un système de gestion de la téléphonie. Les APIs permettent aux développeurs d'écrire des logiciels tiers qui peuvent interagir avec nos PBXware, ouvrant ainsi la voie à de nombreuses possibilités de personnalisation et d'intégration.</p>\n<h2 id=\"--protocole-de-communication\"><strong>- Protocole de Communication</strong></h2>\n<p>Les APIs de PBXware fonctionnent via le protocole HTTP (Hypertext Transfer Protocol). Elle utilise les méthodes GET et POST seulement pour envoyer et recevoir des données entre les applications tierces et PBXware.</p>\n<h2 id=\"--authentification\">- Authentification</h2>\n<p>Pour garantir la sécurité, les APIs utilisent une clé API unique pour chaque utilisateur ou application tierce. Cette clé est essentielle pour authentifier les requêtes envoyées à PBXware.</p>\n<p>Pour les requêtes POST et GET l'authentification se fait en \"API Key\" :</p>\n<p>le champs \"Key\" aura la mention \"apikey\"</p>\n<p>la clé au format \"6vs6gwd6fv6x84...\" sera dans le champ \"Value\".</p>\n<p>Par défaut, la clé API n'est pas définie. Cependant, vous pouvez en créer une dans les paramètres d'administration de PBXware.</p>\n<img src=\"https://content.pstmn.io/c9325eb7-d97b-4989-8e2a-d783b40cad9c/QVBJa2V5LnBuZw==\" width=\"480\" height=\"366\">\n\n<p>La clé API doit avoir une taille minimale de 32 caractères aléatoires. Il est également possible de générer une clé aléatoire directement depuis l'interface de PBXware.</p>\n<p>Sur le PBXware il est possible de mettre des restrictions (ACL) aux fonctionnalités auxquelles les APIs peuvent accéder.</p>\n<p>Il est crucial de garder la clé API secrète, car elle donne accès à des fonctionnalités sensibles, telles que la suppression de données, à des tiers.</p>\n<h2 id=\"--requêtes\">- Requêtes</h2>\n<p>Les requêtes vers les APIs de PBXware contiennent plusieurs éléments, dont la clé API et l'action souhaitée. Par exemple, pour récupérer la liste des numéros SDA (Sélection directe à l'Arrivée) ou DID, la requête ressemblerait à ceci :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">GET /?apikey=my.secret.apikey&amp;action=pbxware.did.list HTTP/1.0\nHost: pbxware.local\nUser-Agent: Mozilla/5.0\n\n</code></pre>\n<p>GET https://[PBXware name].bicomsystems.fr/?action=pbxware.did.list&amp;server=2&amp;ext=100&amp;apikey=[clé API secrète]</p>\n<p>Dans cet exemple, \"pbxware.did.list\" est l'action demandée, qui récupère la liste des numéros DID à partir de PBXware.</p>\n<p>GET = c'est la requête pour récupérer les informations souhaitées.</p>\n<p>https://[PBX name].bicomsystems.fr/ = en https on met l'ip ou l'URL du PBX</p>\n<p>?action= on commence par dire que l'on va faire une action</p>\n<p>pbxware. = début de chaque commande avant de spécifier l'action.</p>\n<p>.did.list = did pour SDA et list pour avoir la liste des SDA disponible sur ce PBXware.</p>\n<p>&amp; = c'est pour ajouter des information nécessaires à votre recherche, comme ici le PBX est un multi-tenant et du coup il faut indiquer le numéro du tenant ou server = 2 car \"le 1 est réservé pour le master\".</p>\n<p>On peut ensuite affiner la recherche en fonction de l'extension ou du trunk etc... Voir les arguments possibles par actions dans la liste ci-dessous.</p>\n<p>apikey= et enfin on finit par la Key (clé API).</p>\n<p>Le sens de l'action et de l'apikey n'est pas immuable, vous pouvez mettre la clé api avant l'action et vice versa.</p>\n<p>donc en résumé on fait une requête sur le server 2 et pour l'extension 100 de la liste des SDA qui lui sont attribués.</p>\n<h2 id=\"--réponses\">- Réponses</h2>\n<p>Les réponses de l'API de PBXware sont généralement renvoyées au format JSON (JavaScript Object Notation), un format de données léger et facilement lisible. Voici un exemple de réponse JSON :</p>\n<p>json :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">  {\n    \"7\": {\n        \"number\": \"12345\",\n        \"number2\": \"\",\n        \"server\": \"7\",\n        \"trunk\": \"6099\",\n        \"type\": \"Extension\",\n        \"ext\": \"530\",\n        \"status\": \"enabled\"\n           },\n    \"8\": {\n        \"number\": \"12346\",\n        \"number2\": \"\",\n        \"server\": \"7\",\n        \"trunk\": \"6099\",\n        \"type\": \"Extension\",\n        \"ext\": \"100\",\n        \"status\": \"enabled\"\n           }\n       }\n\n</code></pre>\n<p>Cette réponse contient des informations sur les numéros SDA disponibles dans le système PBXware.</p>\n<h2 id=\"--formats-de-réponse\">- Formats de Réponse</h2>\n<p>L'API de PBXware prend en charge plusieurs formats de réponse, y compris JSON et PHP (sérialisé).</p>\n<p>Pour tester l'API, plusieurs outils en ligne de commande sont disponibles, tels que curl (<a href=\"https://curl.se/\">https://curl.se/</a>), httpie (<a href=\"https://httpie.io/docs/cli/scripting\">https://httpie.io/docs/cli/scripting</a>) et curlish (<a href=\"https://pythonhosted.org/curlish/\">https://pythonhosted.org/curlish/</a>). Voici un exemple d'utilisation de httpie pour interroger l'API :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">http -b \"http://[PBXware URL]/?apikey=[Clé API Secrète]&amp;action=pbxware.ext.list\"\n\n</code></pre>\n<h2 id=\"--gestion-des-erreurs\">- Gestion des Erreurs</h2>\n<p>En cas d'erreur, la réponse de l'API contiendra une clé \"error\" indiquant la nature de l'erreur. Toute opération ultérieure doit être interrompue si une erreur est détectée.</p>\n<p>voir une liste exhaustive ici : <a href=\"https://restfulapi.net/http-status-codes/\">https://restfulapi.net/http-status-codes/</a></p>\n<p>sinon les plus commun sont :</p>\n<p><strong>200 OK; 302 Found; 400 Bad Request; 401 Unauthorized; 403 Forbidden…etc…</strong></p>\n<h2 id=\"--actions-api\">- Actions API</h2>\n<p>L'argument principal qui contrôle l'API est l'argument \"action\". Il est structuré en trois parties : application.objet.méthode</p>\n<p>Dans le cas de PBXware, l'application est toujours \"pbxware\".</p>\n<p>application = pbxware (et rien d'autres)</p>\n<p>.objet = voir liste exhaustives des objets ci contre</p>\n<p>.méthode = voir sous les objets les méthodes possible</p>\n<p>argument obligatoire = selon la méthode et le type de PBXware. (ie : &amp;server=2)</p>\n<p>En comprenant ces principes fondamentaux, les développeurs peuvent commencer à créer des applications et des intégrations personnalisées qui tirent pleinement parti des fonctionnalités de PBXware.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"28510742","collectionId":"2c85a207-8282-4a71-aea3-684f0a90f597","publishedId":"2sA2xfZDv6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-03-07T16:26:50.000Z"},"item":[{"name":"Tableau de Bord","item":[{"name":"ext_online","event":[{"listen":"test","script":{"id":"67fc73e8-9a8d-4992-910e-7e228b48ae92","exec":["pm.test(\"Response status code is 200\", function () {","    pm.expect(pm.response.code).to.equal(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains the expected fields","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('type', 'Extensions Online');","        pm.expect(responseBody).to.have.property('count');","","        // Print the number of online extensions","        console.log(\"Number of online extensions is \" + responseBody.count);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"526e0b97-8531-40e1-bbc9-1a36a8808619","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.dashboard.ext_online&server=1","description":"<p>Cette requête vous renverra le nombre des extensions en ligne à ce moment là.<br />Lien vers la documentation wiki sur le Dashboard / Extensions :<br /><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#extensions-apps\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#extensions-apps</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.dashboard.ext_online"},{"description":{"content":"<p>Filtrage des extensions par tenant ou server selon le mode du PBXware</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"526e0b97-8531-40e1-bbc9-1a36a8808619"},{"name":"services","event":[{"listen":"test","script":{"id":"0b019c3d-15d4-4200-926a-18402aca8e15","exec":["","pm.test(\"Response status code is 200\", function () {","    pm.expect(pm.response.code).to.equal(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    var failedServices = [];","    var allRunning = true;","","    // Check each service status in the response","    for (var serviceName in responseBody) {","        if (responseBody.hasOwnProperty(serviceName)) {","            var serviceStatus = responseBody[serviceName];","            if (serviceStatus !== \"running\") {","                failedServices.push(serviceName);","                allRunning = false;","            }","        }","    }","","    if (allRunning) {","        console.log(\"All services are in running state\");","        pm.test('All Services Running', function () {","            pm.expect(true).to.be.true; // Mark the request as pass","        });","    } else {","        console.error(\"Test Failed: Some services are not in running state\");","        console.error(\"Failed Services:\", failedServices);","        pm.test('Services Status', function () {","            pm.expect.fail(\"Some services are not in running state\");","        });","    }","}",""],"type":"text/javascript","packages":{}}}],"id":"1e6e3e05-acd8-4253-8818-b1335565ce62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.dashboard.services","description":"<p>Cette action permet de remonter l'état des services du PBXware.<br />6 services au total sont sus surveillance :</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#services-pbxware\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#services-pbxware</a></p>\n","urlObject":{"path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.dashboard.services"}],"variable":[]}},"response":[],"_postman_id":"1e6e3e05-acd8-4253-8818-b1335565ce62"},{"name":"sip_registrations","event":[{"listen":"test","script":{"id":"7e1f4acd-2dc4-478f-9b3d-5f2691e052c3","exec":["pm.test(\"Response status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Validate the 'SIP Registrations' object\", function () {","    const responseData = pm.response.json();","","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData[\"SIP Registrations\"]).to.exist.and.to.be.an('object');","});","","pm.test(\"Check the value of success in SIP Registrations\", function () {","    const responseData = pm.response.json();","","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData['SIP Registrations']).to.exist;","    const { success } = responseData['SIP Registrations'];","    console.log({success});","    const { failed } = responseData['SIP Registrations'];","    console.log({failed});","    const { lagged } = responseData['SIP Registrations'];","    console.log({lagged});","});"],"type":"text/javascript","packages":{}}}],"id":"a04c92c8-0c0f-4533-89c6-ef33fec66ca4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.dashboard.sip_registrations&server=1","description":"<p>cette action vous donnera les états des trunks sip, réussi, échoué et si il y a du lag :</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#enregistrements-sip\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#enregistrements-sip</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.dashboard.sip_registrations"},{"description":{"content":"<p>Filtrage des extensions par tenant ou server selon le mode du PBXware</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"a04c92c8-0c0f-4533-89c6-ef33fec66ca4"},{"name":"calls","event":[{"listen":"test","script":{"id":"dc570674-aed2-4b5e-88f0-19cbc8d4c4b2","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains the expected fields","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('now');","        pm.expect(responseBody).to.have.property('last hour');","        pm.expect(responseBody).to.have.property('today');","        pm.expect(responseBody).to.have.property('answared calls');","        pm.expect(responseBody.now).to.be.a('number');","        pm.expect(responseBody['last hour']).to.be.a('number');","        pm.expect(responseBody.today).to.be.a('number');","        pm.expect(responseBody['answared calls']).to.be.a('number');","    });","","    // Print the names and values of all fields in the response","    console.log(\"Response Details:\");","    for (var key in responseBody) {","        if (responseBody.hasOwnProperty(key)) {","            console.log(key + \": \" + responseBody[key]);","        }","    }","}"],"type":"text/javascript","packages":{}}}],"id":"e9daf8c7-a1c9-424d-914f-198feb7987ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.dashboard.calls&server=1","description":"<p>Cette action vous retourner les status des appels pour trois période :</p>\n<p>Maintenant, la dernière heure, et pour la journée en cours.</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#aper%C3%A7u-des-appels\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#aperçu-des-appels</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.dashboard.calls"},{"description":{"content":"<p>Filtrage des extensions par tenant ou server selon le mode du PBXware</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"e9daf8c7-a1c9-424d-914f-198feb7987ab"},{"name":"glocom_editions","event":[{"listen":"test","script":{"id":"ec5775a2-6b49-412f-bed4-cabeb5a5b234","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains the expected fields","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('office');","        pm.expect(responseBody).to.have.property('business');","        pm.expect(responseBody).to.have.property('agent');","        pm.expect(responseBody).to.have.property('supervisor');","        pm.expect(responseBody).to.have.property('ios');","        pm.expect(responseBody).to.have.property('android');","        pm.expect(responseBody.office).to.be.a('number');","        pm.expect(responseBody.business).to.be.a('number');","        pm.expect(responseBody.agent).to.be.a('number');","        pm.expect(responseBody.supervisor).to.be.a('number');","        pm.expect(responseBody.ios).to.be.a('number');","        pm.expect(responseBody.android).to.be.a('number');","    });","","    // Print the names and values of all fields in the response","    console.log(\"Response Details:\");","    for (var key in responseBody) {","        if (responseBody.hasOwnProperty(key)) {","            console.log(key + \": \" + responseBody[key]);","        }","    }","}"],"type":"text/javascript","packages":{}}}],"id":"093597dd-caf1-488f-9901-6bde99635daa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.dashboard.glocom_editions&server=1","description":"<p>Cette action vous renvoi le nombre de Communicator inscrit et par type d'éditions :</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#extensions-apps\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#extensions-apps</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.dashboard.glocom_editions"},{"description":{"content":"<p>Filtrage des extensions par tenant ou server selon le mode du PBXware</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"093597dd-caf1-488f-9901-6bde99635daa"},{"name":"glocom_users","event":[{"listen":"test","script":{"id":"66cabe26-6e25-42b9-b26b-a68a91483690","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains the expected field","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('glocom_users');","        pm.expect(responseBody.glocom_users).to.be.a('number');","    });","","    // Print the name and value of the field in the response","    console.log(\"Response Details:\");","    console.log(\"glocom_users: \" + responseBody.glocom_users);","}",""],"type":"text/javascript","packages":{}}}],"id":"85c70b28-b3ce-48a0-b10c-8405e0187dae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.dashboard.glocom_users&server=1","description":"<p>Cette action renvoi le nombre de Communicator en ligne à ce moment là.</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#extensions-apps\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#extensions-apps</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.dashboard.glocom_users"},{"description":{"content":"<p>Filtrage des extensions par tenant ou server selon le mode du PBXware</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"85c70b28-b3ce-48a0-b10c-8405e0187dae"},{"name":"licensing","event":[{"listen":"test","script":{"id":"78527b24-7372-4fb0-a23d-37148a982348","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains the expected fields","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('ext');","        pm.expect(responseBody).to.have.property('ivr');","        pm.expect(responseBody).to.have.property('queue');","        pm.expect(responseBody).to.have.property('conference');","        pm.expect(responseBody.ext).to.have.property('inuse');","        pm.expect(responseBody.ext).to.have.property('max');","        pm.expect(responseBody.ivr).to.have.property('inuse');","        pm.expect(responseBody.ivr).to.have.property('max');","        pm.expect(responseBody.queue).to.have.property('inuse');","        pm.expect(responseBody.queue).to.have.property('max');","        pm.expect(responseBody.conference).to.have.property('inuse');","        pm.expect(responseBody.conference).to.have.property('max');","","        // Additional validation (optional)","        pm.expect(responseBody.ext.inuse).to.be.a('number');","        pm.expect(responseBody.ext.max).to.be.a('number');","        pm.expect(responseBody.ivr.inuse).to.be.a('number');","        pm.expect(responseBody.ivr.max).to.be.a('number');","        pm.expect(responseBody.queue.inuse).to.be.a('number');","        pm.expect(responseBody.queue.max).to.be.a('number');","        pm.expect(responseBody.conference.inuse).to.be.a('number');","        pm.expect(responseBody.conference.max).to.be.a('number');","    });","","    // Print the names and values of all fields in the response","    console.log(\"Response Details:\");","    for (var key in responseBody) {","        if (responseBody.hasOwnProperty(key)) {","            console.log(key + \":\", responseBody[key]);","        }","    }","}",""],"type":"text/javascript","packages":{}}}],"id":"0d38b8df-e1dd-44eb-a922-b5e3af02e950","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.dashboard.licensing&server=1","description":"<p>Cette action renvoi les valeurs utilisé contre le total disponible pour les extensions, les SVI, les files d'attentes et les conférences.</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#licence\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#licence</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.dashboard.licensing"},{"description":{"content":"<p>Filtrage des extensions par tenant ou server selon le mode du PBXware</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"0d38b8df-e1dd-44eb-a922-b5e3af02e950"},{"name":"disk_usage","event":[{"listen":"test","script":{"id":"f6402d61-a830-431b-9526-f5ef575d293f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains the expected field","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('inuse');","        pm.expect(responseBody.inuse).to.be.a('string');","","        // Check if the disk usage percentage is within a valid range (0-100%)","        var diskUsagePercentage = parseInt(responseBody.inuse);","        pm.expect(diskUsagePercentage).to.be.within(0, 100);","    });","","    // Print the disk usage percentage value from the response","    console.log(\"Disk Usage: \" + responseBody.inuse);","}",""],"type":"text/javascript","packages":{}}}],"id":"b76f96a7-6f74-4c40-a0c4-cf6a0e38a9ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.dashboard.disk_usage","description":"<p>Cette action renvoie l'information sur l'espace disque disponible sur PBXware :</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#utilisation-des-ressources-mat%C3%A9rielles\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#utilisation-des-ressources-matérielles</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.dashboard.disk_usage"}],"variable":[]}},"response":[],"_postman_id":"b76f96a7-6f74-4c40-a0c4-cf6a0e38a9ae"},{"name":"cpu","event":[{"listen":"test","script":{"id":"8d715fe2-15bb-4206-9fee-c59007ea21d5","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains the expected field","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('inuse');","        pm.expect(responseBody.inuse).to.be.a('string');","","        // Check if the CPU usage percentage is within a valid range (0-100%)","        var cpuUsagePercentage = parseInt(responseBody.inuse);","        pm.expect(cpuUsagePercentage).to.be.within(0, 100);","    });","","    // Print the CPU usage percentage value from the response","    console.log(\"CPU Usage: \" + responseBody.inuse);","}",""],"type":"text/javascript","packages":{}}}],"id":"5ac4d781-29c6-4649-9a19-6fb753e60ec7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.dashboard.cpu","description":"<p>Cette action renvoie l'information sur l'utilisation du CPU sur PBXware :</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#utilisation-des-ressources-mat%C3%A9rielles\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#utilisation-des-ressources-matérielles</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.dashboard.cpu"}],"variable":[]}},"response":[],"_postman_id":"5ac4d781-29c6-4649-9a19-6fb753e60ec7"},{"name":"memory","event":[{"listen":"test","script":{"id":"8286aaef-ae3c-4ccd-89c7-839d5dc52046","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains the expected field","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('inuse');","        pm.expect(responseBody.inuse).to.be.a('string');","","        // Check if the memory usage percentage is within a valid range (0-100%)","        var memoryUsagePercentage = parseInt(responseBody.inuse);","        pm.expect(memoryUsagePercentage).to.be.within(0, 100);","    });","","    // Print the memory usage percentage value from the response","    console.log(\"Memory Usage: \" + responseBody.inuse);","}",""],"type":"text/javascript","packages":{}}}],"id":"30106db4-b6fe-454a-b3d7-88bbaa8e87ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.dashboard.memory","description":"<p>Cette action renvoie l'information sur la mémoire utilisée sur PBXware :</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#utilisation-des-ressources-mat%C3%A9rielles\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/#utilisation-des-ressources-matérielles</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.dashboard.memory"}],"variable":[]}},"response":[],"_postman_id":"30106db4-b6fe-454a-b3d7-88bbaa8e87ad"}],"id":"e16bfde9-491e-49ef-8f9c-035431c941c6","description":"<p>Ce set d'API vous permet de renvoyer les informations du Tableau de Bord. voir lien :</p>\n<p>Méthodes supportées :<br /><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tableau-de-bord/</a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ext_online</code></td>\n<td>- Retourne le nombre des extensions en ligne</td>\n</tr>\n<tr>\n<td><code>services</code></td>\n<td>- Retourne l'état des services du PBXware</td>\n</tr>\n<tr>\n<td><code>sip_registrations</code></td>\n<td>- Retourne l'état des trunks</td>\n</tr>\n<tr>\n<td><code>calls</code></td>\n<td>- Retourne le compte des appels</td>\n</tr>\n<tr>\n<td><code>glocom_editions</code></td>\n<td>- Retourne la liste des éditions installé sur PBXware</td>\n</tr>\n<tr>\n<td><code>glocom_users</code></td>\n<td>- Retourne le nombre de communicator connecté</td>\n</tr>\n<tr>\n<td><code>licensing</code></td>\n<td>- Retourne le nombre licence disponible</td>\n</tr>\n<tr>\n<td><code>disk_usage</code></td>\n<td>- Retourne l'espace disque utilisé</td>\n</tr>\n<tr>\n<td><code>cpu</code></td>\n<td>- Retourne la quantité de CPU utilisé</td>\n</tr>\n<tr>\n<td><code>memory</code></td>\n<td>- Retourne la quantitée de mémoire utilisé</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"e16bfde9-491e-49ef-8f9c-035431c941c6"},{"name":"Tenant Packages","item":[{"name":"package.list","event":[{"listen":"test","script":{"id":"61a9f67b-2143-4767-aa58-c41f8e2fbcc4","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Iterate through the keys (IDs) in the response","        for (var id in responseBody) {","            var packageName = responseBody[id];","","            // Validate specific properties for each package","            pm.expect(packageName).to.be.a('string');","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"10566aa4-665e-44c1-a101-f3d15021277d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.package.list","description":"<p>Cet action vous permet de lister la totalité des packages.</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/\">https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.package.list"}],"variable":[]}},"response":[],"_postman_id":"10566aa4-665e-44c1-a101-f3d15021277d"},{"name":"package.configuration","event":[{"listen":"test","script":{"id":"fbe47234-8222-4fc8-bf21-b4dfc0cd285b","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Iterate through the keys (IDs) in the response","        for (var id in responseBody) {","            var packageConfig = responseBody[id];","","            // Validate specific properties for each package configuration","            pm.expect(packageConfig).to.have.property('name').that.is.a('string');","            pm.expect(packageConfig).to.have.property('service_plan').that.is.a('string');","            pm.expect(packageConfig).to.have.property('allowed_service_plans').that.is.a('string');","            pm.expect(packageConfig).to.have.property('ext').that.is.a('string');","            pm.expect(packageConfig).to.have.property('voicemail').that.is.a('string');","            pm.expect(packageConfig).to.have.property('queues').that.is.a('string');","            pm.expect(packageConfig).to.have.property('ivr').that.is.a('string');","            pm.expect(packageConfig).to.have.property('cf').that.is.a('string');","            pm.expect(packageConfig).to.have.property('rgroups').that.is.a('string');","            pm.expect(packageConfig).to.have.property('hot_desking').that.is.a('string');","            pm.expect(packageConfig).to.have.property('restrict_splans').that.is.a('string');","            pm.expect(packageConfig).to.have.property('call_recordings').that.is.a('string');","            pm.expect(packageConfig).to.have.property('monitoring').that.is.a('string');","            pm.expect(packageConfig).to.have.property('call_screening').that.is.a('string');","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"d91b607b-bf16-4a38-b258-8e48cd8399e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.package.configuration&id=2","description":"<p>Cet action vous permet de récupérer la configuration d'un package en particulier via son id.</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/\">https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.package.configuration"},{"key":"id","value":"2"}],"variable":[]}},"response":[],"_postman_id":"d91b607b-bf16-4a38-b258-8e48cd8399e5"},{"name":"package.add","event":[{"listen":"test","script":{"id":"0866ff67-aea5-4830-b78e-03110ee5cb93","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('Package ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"a6255d21-674c-447b-81b8-529f58be8461","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.package.add&name=&restrict_splans=0&allowed_service_plans=1&service_plan=1&call_recordings=1&monitoring=1&call_screening=1&extensions=100&voicemails=100&queues=100&cfs=100&rgroups=100&hot_desking=100&ivrs=100","description":"<p>Cet action vous permet de créer un package.</p>\n<p>Ici il y a beaucoup de valeur requise pour pouvoir créer correctement son package.</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/\">https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables en haut de page (votre clé API sur le PBXware)ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.package.add"},{"description":{"content":"<p>(Valeur Requise) Nom attribué au package</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>(Valeur Requise si l'options billing est activé) Gérer les restrictions du Service plans. (Regex : /^(1|0)$/)</p>\n","type":"text/plain"},"key":"restrict_splans","value":"0"},{"description":{"content":"<p>(Valeur Requise si la valeur restrict_splans est activé {1}) Authorisé le service plans (Regex : /^\\d{1,9}+(,\\d{1,9}+)*$/)</p>\n","type":"text/plain"},"key":"allowed_service_plans","value":"1"},{"description":{"content":"<p>Indiquer les service plans à utilisé par défaut. (Regex : /^\\d{1,9}$/)</p>\n","type":"text/plain"},"key":"service_plan","value":"1"},{"description":{"content":"<p>(Valeur Requise) active l'option d'enregistrement d'appels dans les extensions évolués. (Regex: /^(1|0)$/)</p>\n","type":"text/plain"},"key":"call_recordings","value":"1"},{"description":{"content":"<p>(Valeur Requise) active l'option de surveillance dans les extensions évoluées. (Regex: /^(1|0)$/)</p>\n","type":"text/plain"},"key":"monitoring","value":"1"},{"description":{"content":"<p>(Valeur Requise) active l'option de filtrage des appels dans les extensions évoluées. (Regex: /^(1|0)$/)</p>\n","type":"text/plain"},"key":"call_screening","value":"1"},{"description":{"content":"<p>(Valeur Requise) Nombre max d'extensions. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"extensions","value":"100"},{"description":{"content":"<p>(Valeur Requise) Nombre max de Voicemail. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"voicemails","value":"100"},{"description":{"content":"<p>(Valeur Requise) Nombre max de file d'attente. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"queues","value":"100"},{"description":{"content":"<p>(Valeur Requise) Nombre max de Conférences. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"cfs","value":"100"},{"description":{"content":"<p>(Valeur Requise) Nombre max de groupes d'extensions. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"rgroups","value":"100"},{"description":{"content":"<p>(Valeur Requise) Nombre max d'Apps. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"hot_desking","value":"100"},{"description":{"content":"<p>(Valeur Requise) Nombre max de SVI. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"ivrs","value":"100"}],"variable":[]}},"response":[],"_postman_id":"a6255d21-674c-447b-81b8-529f58be8461"},{"name":"package.edit","event":[{"listen":"test","script":{"id":"4e3dff83-6ecf-4737-89ad-5b91feb388fc","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('Package ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"c7180dd6-48e3-4020-93e0-055b5f0b2c2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.package.edit&server=1&id=","description":"<p>Cette action vous permete de modifier un package en fonction de son id.</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/\">https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.package.edit"},{"description":{"content":"<p>(Valeur Requise) Filtrage des extensions par tenant ou server selon le mode du PBXware</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>(Valeur Requise) La valeur de l'ID du package à modifier.</p>\n","type":"text/plain"},"key":"id","value":""},{"disabled":true,"description":{"content":"<p>Le nom attribué au package</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>(Valeur Requise si Billing est activé)Restreindre le Service Plans. (Regex: /^(1|0)$/)</p>\n","type":"text/plain"},"key":"restrict_splans","value":""},{"disabled":true,"description":{"content":"<p>(Valeur Requise si restrict_spalns est (1)) les Service Plans permit. (Regex: /^\\d{1,9}+(,\\d{1,9}+)*$/)</p>\n","type":"text/plain"},"key":"allowed_service_plans","value":""},{"disabled":true,"description":{"content":"<p>Le service plan par défaut. (Regex: /^\\d{1,9}$/)</p>\n","type":"text/plain"},"key":"service_plan","value":""},{"disabled":true,"description":{"content":"<p>Activé l'enregistrement des appels. (Regex: /^(1|0)$/)</p>\n","type":"text/plain"},"key":"call_recordings","value":""},{"disabled":true,"description":{"content":"<p>Activé l'options monitoring. (Regex: /^(1|0)$/)</p>\n","type":"text/plain"},"key":"monitoring","value":""},{"disabled":true,"description":{"content":"<p>Activé le filtrage d'appels. (Regex: /^(1|0)$/)</p>\n","type":"text/plain"},"key":"call_screening","value":""},{"disabled":true,"description":{"content":"<p>Nombre max d'extensions. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"extensions","value":""},{"disabled":true,"description":{"content":"<p>Nombre max de Voicemails. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"voicemails","value":""},{"disabled":true,"description":{"content":"<p>Nombre max de file d'attente. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"queues","value":""},{"disabled":true,"description":{"content":"<p>Nombre max de Conferences. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"cfs","value":""},{"disabled":true,"description":{"content":"<p>Nombre max de Groups d'Extensions. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"rgroups","value":""},{"disabled":true,"description":{"content":"<p>Nombre max d'Apps. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"hot_desking","value":""},{"disabled":true,"description":{"content":"<p>Nombre max de SVI. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"ivrs","value":""}],"variable":[]}},"response":[],"_postman_id":"c7180dd6-48e3-4020-93e0-055b5f0b2c2f"},{"name":"package.delete","event":[{"listen":"test","script":{"id":"c8abb25a-248f-4b82-a68b-63a4891ae342","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('Package ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"5b6d9d57-1705-458c-914e-d7dba89a5f9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.package.delete&server=1&id=","description":"<p>Cet action vous permet de supprimer un package en focntion de son Id.</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/\">https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.package.delete"},{"description":{"content":"<p>(Valeur Requise) La Valeur doit être à 1</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>(Valeur Requise) Valeur de l'ID du package a supprimer.</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"5b6d9d57-1705-458c-914e-d7dba89a5f9f"}],"id":"b8ce980a-ede8-4aaf-99e0-fd956ac42a60","description":"<p>Ce set d'API vous permet de gérer les packs sur le PBX. voir lien :</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/\">https://wiki.bicomsystems.fr/documentation/premiers-pas/packs/</a></p>\n<p>Méthodes supportées :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>list</code></td>\n<td>- Retourne la list de tous les packages existants</td>\n</tr>\n<tr>\n<td><code>configuration</code></td>\n<td>- Retourne la configuration d'un package existant</td>\n</tr>\n<tr>\n<td><code>add</code></td>\n<td>- Permet d'ajouter un package</td>\n</tr>\n<tr>\n<td><code>edit</code></td>\n<td>- Permet de modifier un package existant</td>\n</tr>\n<tr>\n<td><code>delete</code></td>\n<td>- Permet de supprimer un package existant</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"b8ce980a-ede8-4aaf-99e0-fd956ac42a60"},{"name":"Tenants","item":[{"name":"Listing Tenants","event":[{"listen":"test","script":{"id":"6e8c5168-ffca-45c4-afe8-8af64009c0ad","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response body is an empty array","    if (Array.isArray(responseBody) && responseBody.length === 0) {","        console.error(\"Test Failed: There is no Tenant created on this system!\");","        pm.test('Empty Response', function () {","            pm.expect.fail(\"There is no Tenant created on this system!\");","        });","    } else {","        // Validate the response structure","        pm.test('Response Validation', function () {","            // Iterate through each object in the response","            for (var key in responseBody) {","                if (responseBody.hasOwnProperty(key)) {","                    var tenant = responseBody[key];","","                    pm.test('Tenant ' + tenant.name + ' Validation', function () {","                        pm.expect(tenant).to.be.an('object');","                        pm.expect(tenant).to.have.property('name').that.is.a('string');","                        pm.expect(tenant).to.have.property('tenantcode').that.is.a('string');","                        pm.expect(tenant).to.have.property('package_id').that.is.a('number');","                        pm.expect(tenant).to.have.property('package').that.is.a('string');","                        pm.expect(tenant).to.have.property('ext_length').that.is.a('number');","                        pm.expect(tenant).to.have.property('country_id').that.is.a('number');","                        pm.expect(tenant).to.have.property('country_code').that.is.a('number');","                    });","                }","            }","        });","    }","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"ee847db3-9cc3-47c1-855c-a2e1698e193d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.list","description":"<p>Cet action vous permet de lister tous les tenants / clients du PBXware :</p>\n<p><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tenants/\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tenants/</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.tenant.list"}],"variable":[]}},"response":[],"_postman_id":"ee847db3-9cc3-47c1-855c-a2e1698e193d"},{"name":"Tenant Configuration","event":[{"listen":"test","script":{"id":"9f4dc630-780a-45c0-81b1-56ca10d2953f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if the response is an object","        pm.expect(responseBody).to.be.an('object');","","        // Validate specific properties","        pm.expect(responseBody).to.have.property('server_name').that.is.a('string');","        pm.expect(responseBody).to.have.property('tenantcode').that.is.a('string');","        pm.expect(responseBody).to.have.property('package_id').that.is.a('string');","        pm.expect(responseBody.glocom_dns_srv_lookup).to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('glocomproxy').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('absolutetimeout').that.is.a('string');","        pm.expect(responseBody).to.have.property('cdrvoicemail').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('faxformat').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('faxfiletype').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('status').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('default_location').that.is.a('string');","        pm.expect(responseBody).to.have.property('recordbeep').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('recordformat').that.is.a('string');","        pm.expect(responseBody).to.have.property('ringtonelocal').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('didsaveupdatecid').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('enabletcalls').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('tenantcid').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('tenant_faxcid').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('recordlimit').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('country').that.is.a('string');","        pm.expect(responseBody).to.have.property('area_code').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('national').that.is.a('string');","        pm.expect(responseBody).to.have.property('international').that.is.a('string');","        pm.expect(responseBody).to.have.property('es_ambulance').that.is.a('string');","        pm.expect(responseBody).to.have.property('es_fire').that.is.a('string');","        pm.expect(responseBody).to.have.property('es_police').that.is.a('string');","        pm.expect(responseBody).to.have.property('es_notification_email').that.is.a('string');","        pm.expect(responseBody).to.have.property('emergency_callerid_tenant').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('audiolang').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('apusername').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('appassword').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('incominglimit').that.is.a('string');","        pm.expect(responseBody).to.have.property('outgoinglimit').that.is.a('string');","        pm.expect(responseBody).to.have.property('conch').that.is.a('string');","        pm.expect(responseBody).to.have.property('quech').that.is.a('string');","        pm.expect(responseBody).to.have.property('ergch').that.is.a('string');","        pm.expect(responseBody).to.have.property('aach').that.is.a('string');","        pm.expect(responseBody).to.have.property('zapch').that.is.a('string');","        pm.expect(responseBody).to.have.property('notifyemail').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('cpark_timeout').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('cpark_dial').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('cpark_goto').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('hdlockext').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('hdlockdevice').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('hdlogoutinactive').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('custompresencetime').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('dialed_num_minimum_length').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('announcetrunks').that.is.a('string');","        pm.expect(responseBody).to.have.property('recordglobal').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('recordsilent').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('hidecallerid').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('allowescallerid').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('enablecnamlookup').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('setcidforgrouphunt').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('cidmatchdid').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('dropanonymous').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('forceunknown').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('hideextnodir').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('usedynfeatures').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('nobillingfwd').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('cf_call_rating_disable').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('allowextipauth').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('voiceskippin').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('usedefaultcid').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('usedidcid').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('finde164').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('showdirosc').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('leavenational').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('limitsound').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('limitemail').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('pstn_mode').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('hdcheck').to.be.oneOf(['string', null]);","        pm.expect(responseBody).to.have.property('hdautologout').to.be.oneOf(['string', null]);","        pm.expect(responseBody.local_codecs).to.be.an('array');","        pm.expect(responseBody.remote_codecs).to.be.an('array');","        pm.expect(responseBody.network_codecs).to.be.an('array');","","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"d83278ef-7246-41f3-b496-8526b9f15c58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.configuration&id=1","description":"<p>Cet action vous permet de configurer les Tenants / clients sur le PBX :<br /><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tenants/#cr%C3%A9er-un-tenant\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tenants/#créer-un-tenant</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.tenant.configuration"},{"description":{"content":"<p>Le numéro ID du Tenant. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"d83278ef-7246-41f3-b496-8526b9f15c58"},{"name":"Editing Tenants","event":[{"listen":"test","script":{"id":"f5e271ca-b3a8-45b5-a622-bdb13c4c9d77","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('Package ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"f6c63b68-6124-4659-abcc-4141d5a6ae54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.edit&server=1&id=19&conferences=103","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.tenant.edit"},{"description":{"content":"<p>Server ID which must be set to 1</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Tenant ID. For editing more tenants use CSV filr Add&amp;Edit-Tenants.csv</p>\n","type":"text/plain"},"key":"id","value":"19"},{"disabled":true,"description":{"content":"<p>Status (Not Active=0, Active=1, Suspended=2)</p>\n","type":"text/plain"},"key":"status","value":""},{"disabled":true,"description":{"content":"<p>Tenant Name (Required). Should be a valid FQDN (Fully Qualified Domain Name). (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"tenant_name","value":"TestAPI"},{"disabled":true,"description":{"content":"<p>Unique 3-digit Tenant Code (Required). (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"tenant_code","value":"555"},{"disabled":true,"description":{"content":"<p>Tenant Package ID (Required). Can be obtained with package object. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"package","value":""},{"disabled":true,"description":{"content":"<p>Extensions length (Required). Can be in range 2-16 ONLY. (Regex: /^([2-9]|(1[0-6]))$/)</p>\n","type":"text/plain"},"key":"ext_length","value":""},{"disabled":true,"description":{"content":"<p>Country ID (Required).Can be obtained with route object. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"country","value":""},{"disabled":true,"description":{"content":"<p>Area Code. (Regex: /^\\d{1,50}$/)</p>\n","type":"text/plain"},"key":"area_code","value":""},{"disabled":true,"description":{"content":"<p>National Code (Required). (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"national","value":""},{"disabled":true,"description":{"content":"<p>International Code (Required). (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"international","value":""},{"disabled":true,"description":{"content":"<p>gloCOM Use DNS SRV Lookup. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"glocom_dns_srv_lookup","value":""},{"disabled":true,"description":{"content":"<p>gloCOM SIP Proxy. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"glocomproxy","value":""},{"disabled":true,"description":{"content":"<p>HTTP username. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"apusername","value":""},{"disabled":true,"description":{"content":"<p>HTTP password. (Regex: /^\\S.+\\S$/)</p>\n","type":"text/plain"},"key":"appassword","value":""},{"disabled":true,"description":{"content":"<p>Default Server. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"defaultserver","value":""},{"disabled":true,"description":{"content":"<p>Announce Trunks. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"announcetrunks","value":""},{"disabled":true,"description":{"content":"<p>Absolute Timeout in sec. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"absolutetimeout","value":""},{"disabled":true,"description":{"content":"<p>Voicemail in CDRs\n2: As Voicemail\n1: As Not Answered calls\n0: As Answered calls\n(Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"cdrvoicemail","value":""},{"disabled":true,"description":{"content":"<p>FAX page format\n-letter\n-legal\n-A4\n-auto</p>\n","type":"text/plain"},"key":"faxformat","value":""},{"disabled":true,"description":{"content":"<p>FAX file type\n1: Both PDF and TIFF\n2: Only PDF\n3: Only TIFF</p>\n","type":"text/plain"},"key":"faxfiletype","value":""},{"disabled":true,"description":{"content":"<p>Default Extension Location (Local=1, Remote=2)</p>\n","type":"text/plain"},"key":"default_location","value":""},{"disabled":true,"description":{"content":"<p>Enable Tenant to Tenant calls. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"enabletcalls","value":""},{"disabled":true,"description":{"content":"<p>Disable CallerID rewrite for tenant to tenant calls. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"disabletcid","value":""},{"disabled":true,"description":{"content":"<p>Default CallerID. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"tenantcid","value":""},{"disabled":true,"description":{"content":"<p>Default Fax CallerID. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"tenant_faxcid","value":""},{"disabled":true,"description":{"content":"<p>Use Default CallerID for tenant to tenant calls. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"usedefaultcid","value":""},{"disabled":true,"description":{"content":"<p>Use DIDs as CallerID for tenant to tenant calls. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"usedidcid","value":""},{"disabled":true,"description":{"content":"<p>Find E.164 numbers in DIDs. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"finde164","value":""},{"disabled":true,"description":{"content":"<p>Number of objects per page (Default: 10). (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"recordlimit","value":""},{"disabled":true,"description":{"content":"<p>Show Directory in OSC. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"showdirosc","value":""},{"disabled":true,"description":{"content":"<p>Record calls by default. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"recordglobal","value":""},{"disabled":true,"description":{"content":"<p>Silent recording by default. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"recordsilent","value":""},{"disabled":true,"description":{"content":"<p>Convert recordings to mp3 on generation. (Regex: /^(yes|keep|no)$/)</p>\n","type":"text/plain"},"key":"mp3_auto_conv","value":""},{"disabled":true,"description":{"content":"<p>Play Periodic Beep in sec. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"recordbeep","value":""},{"disabled":true,"description":{"content":"<p>Recordings format\n-gsm: GSM\n-wav: WAV\n-wav49: WAV49\n-g729: G729 native → GSM\n-ogg: OGG</p>\n","type":"text/plain"},"key":"recordformat","value":""},{"disabled":true,"description":{"content":"<p>Audio Language. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"audiolang","value":""},{"disabled":true,"description":{"content":"<p>Enhanced Call Parking Timeout (sec). (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"cpark_timeout","value":""},{"disabled":true,"description":{"content":"<p>Enhanced Call Parking Announce Extension. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"cpark_dial","value":""},{"disabled":true,"description":{"content":"<p>Enhanced Call Parking Timeout Extension. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"cpark_goto","value":""},{"disabled":true,"description":{"content":"<p>Play Sound. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"limitsound","value":""},{"disabled":true,"description":{"content":"<p>Enable send email option. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"limitemail","value":""},{"disabled":true,"description":{"content":"<p>Notification email. (Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"notifyemail","value":""},{"disabled":true,"description":{"content":"<p>Leave National Code. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"leavenational","value":""},{"disabled":true,"description":{"content":"<p>Currency symbol/ISO code. (Regex: /^.{1,3}$/)</p>\n","type":"text/plain"},"key":"currency","value":""},{"disabled":true,"description":{"content":"<p>Currency writing convention\nleft: Symbol before amount\nright: Symbol after amount.\n(Regex: /^(left|right)$/)</p>\n","type":"text/plain"},"key":"currencypos","value":""},{"disabled":true,"description":{"content":"<p>Dialed number minimum length. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"dialed_num_minimum_length","value":""},{"disabled":true,"description":{"content":"<p>PSTN numbering mode. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"pstn_mode","value":""},{"disabled":true,"description":{"content":"<p>Call groups/Pickup Groups (comma separated). (Regex: /^[0-9]+(,[0-9]+)*$/)</p>\n","type":"text/plain"},"key":"callgroups","value":""},{"disabled":true,"description":{"content":"<p>Local Codecs. (Regex: /^(:|ulaw|alaw|g722|opus|g723.1|g726|g726aal2|g729|gsm|ilbc|speex|speex16|speex32|lpc10|h261|h263|h263p|h264)+$/)</p>\n","type":"text/plain"},"key":"localcodecs","value":""},{"disabled":true,"description":{"content":"<p>Remote Codecs. (Regex: /^(:|ulaw|alaw|g722|opus|g723.1|g726|g726aal2|g729|gsm|ilbc|speex|speex16|speex32|lpc10|h261|h263|h263p|h264)+$/).\"</p>\n","type":"text/plain"},"key":"remotecodecs","value":""},{"disabled":true,"description":{"content":"<p>Network Codecs. (Regex: /^(:|ulaw|alaw|g722|opus|g723.1|g726|g726aal2|g729|gsm|ilbc|speex|speex16|speex32|lpc10|h261|h263|h263p|h264)+$/).\"</p>\n","type":"text/plain"},"key":"networkcodecs","value":""},{"disabled":true,"description":{"content":"<p>Login Attempts Check. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"hdcheck","value":""},{"disabled":true,"description":{"content":"<p>Lock Extension After X Failed Attempts.  (Regex: /^\\d{1}$/)</p>\n","type":"text/plain"},"key":"hdlockext","value":""},{"disabled":true,"description":{"content":"<p>Lock Phone After X Locked Extensions.  (Regex: /^\\d{1}$/)</p>\n","type":"text/plain"},"key":"hdlockdevice","value":""},{"disabled":true,"description":{"content":"<p>Automatic Log Out. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"hdautologout","value":""},{"disabled":true,"description":{"content":"<p>Log Out After X Hours of Inactivity. (Regex: /^\\d{1}$/)</p>\n","type":"text/plain"},"key":"hdlogoutinactive","value":""},{"disabled":true,"description":{"content":"<p>Ringtone for Local calls. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"ringtonelocal","value":""},{"disabled":true,"description":{"content":"<p>Hide CallerID in OSC. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"hidecallerid","value":""},{"disabled":true,"description":{"content":"<p>Allow ES CallerID\" for Call Forwarding. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"allowescallerid","value":""},{"disabled":true,"description":{"content":"<p>Enable CallerID CNAM lookup. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"enablecnamlookup","value":""},{"disabled":true,"description":{"content":"<p>Set CallerID for Group Hunt calls. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"setcidforgrouphunt","value":""},{"disabled":true,"description":{"content":"<p>Only Allow Trunk CallerID within DID range. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"cidmatchdid","value":""},{"disabled":true,"description":{"content":"<p>Drop Anonymous calls. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"dropanonymous","value":""},{"disabled":true,"description":{"content":"<p>On DID save update ES/CID/Trunks. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"didsaveupdatecid","value":""},{"disabled":true,"description":{"content":"<p>Do not allow users sending any CallerID. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"forceunknown","value":""},{"disabled":true,"description":{"content":"<p>Hide Extensions with no department (gloCOM). (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"hideextnodir","value":""},{"disabled":true,"description":{"content":"<p>gloCOM presence offline delay (min). (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"custompresencetime","value":""},{"disabled":true,"description":{"content":"<p>Use Dynamic Features. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"usedynfeatures","value":""},{"disabled":true,"description":{"content":"<p>Disable Billing for Call Forwarding. (deprecated and will be soon replaced with cf_call_rating_disable). (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"nobillingfwd","value":""},{"disabled":true,"description":{"content":"<p>Disable Call Rating for Call Forwarding. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"cf_call_rating_disable","value":""},{"disabled":true,"description":{"content":"<p>Jitter Buffer (inherit, disabled, fixed, adaptive)</p>\n","type":"text/plain"},"key":"jbimpl","value":""},{"disabled":true,"description":{"content":"<p>Max length (ms). (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"jbmaxsize","value":""},{"disabled":true,"description":{"content":"<p>Re-sync threshold. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"jbresyncthreshold","value":""},{"disabled":true,"description":{"content":"<p>Target extra. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"jbtargetextra","value":""},{"disabled":true,"description":{"content":"<p>Allow IP Address Authentication for Extensions (Yes=1, No=0). (Regex: /^(1|0|2)$/).</p>\n","type":"text/plain"},"key":"allowextipauth","value":""},{"disabled":true,"description":{"content":"<p>Skip Voicemail PIN Prompt (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"voiceskippin","value":""},{"disabled":true,"description":{"content":"<p>From E-mail. (Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"email_from","value":""},{"disabled":true,"description":{"content":"<p>Voicemail From E-mail. (Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"vm_email_from","value":""},{"disabled":true,"description":{"content":"<p>Local Channels. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"local_channels","value":""},{"disabled":true,"description":{"content":"<p>Remote Channels. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"remote_channels","value":""},{"description":{"content":"<p>Conferences. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"conferences","value":"103"},{"disabled":true,"description":{"content":"<p>Queues. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"queues","value":""},{"disabled":true,"description":{"content":"<p>Auto Attendants. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"auto_attendants","value":""},{"disabled":true,"description":{"content":"<p>DAHDI. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"dahdi","value":""},{"disabled":true,"description":{"content":"<p>Notification E-mail. (Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"dids_notify_email","value":""},{"disabled":true,"description":{"content":"<p>Order By. (Regex: /^(did|date)$/)</p>\n","type":"text/plain"},"key":"dids_notify_order","value":""},{"disabled":true,"description":{"content":"<p>Ambulance. (Regex: /^\\d{3,16}$/)</p>\n","type":"text/plain"},"key":"es_ambulance","value":""},{"disabled":true,"description":{"content":"<p>Fire. (Regex: /^\\d{3,16}$/)</p>\n","type":"text/plain"},"key":"es_fire","value":""},{"disabled":true,"description":{"content":"<p>Police. (Regex: /^\\d{3,16}$/)</p>\n","type":"text/plain"},"key":"es_police","value":""},{"disabled":true,"description":{"content":"<p>Notification E-mail. (Regex: /^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,30};?)+$/)</p>\n","type":"text/plain"},"key":"es_notification_email","value":""},{"disabled":true,"description":{"content":"<p>Enable LDAP (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"ldap_enabled","value":""},{"disabled":true,"description":{"content":"<p>Include System Extensions:(Yes=1, No=0, Not set='')</p>\n","type":"text/plain"},"key":"ldap_local_exts","value":""},{"disabled":true,"description":{"content":"<p>Enable LDAP For Hot Desking Devices:(Yes=1, No=0, Not set='')</p>\n","type":"text/plain"},"key":"ldap_hotdesking","value":""},{"disabled":true,"description":{"content":"<p>LDAP password. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"ldap_password","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\S.+\\S$/)</p>\n","type":"text/plain"},"key":"appasword","value":""},{"disabled":true,"description":{"content":"<p>Emergency Location Header. (Regex: /^[\\w\\-,]{1,100}$/)</p>\n","type":"text/plain"},"key":"emerg_location_header","value":""}],"variable":[]}},"response":[],"_postman_id":"f6c63b68-6124-4659-abcc-4141d5a6ae54"},{"name":"Adding Tenants","event":[{"listen":"test","script":{"id":"191ab4e1-b26f-4939-8fc9-17d062f5e59d","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('Package ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"91a748d5-8d90-446c-8b13-adb04538a5ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.add&tenant_name=TestAPI&tenant_code=555&package=&ext_length=&country=&national=&international=","description":"<p>Cet action vous permet de rajouter les Tenants / client sur le PBX :<br /><a href=\"https://wiki.bicomsystems.fr/documentation/premiers-pas/tenants/#cr%C3%A9er-un-tenant\">https://wiki.bicomsystems.fr/documentation/premiers-pas/tenants/#créer-un-tenant</a></p>\n","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.tenant.add"},{"description":{"content":"<p>(Valeur Requise) Nom du Tenant. Doit être un FQDN valide. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"tenant_name","value":"TestAPI"},{"description":{"content":"<p>(Valeur Requise) Code de Tenant unique à 3 chiffres. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"tenant_code","value":"555"},{"description":{"content":"<p>(Valeur Requise) ID du package. Voir API package. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"package","value":""},{"description":{"content":"<p>(Valeur Requise) Longueur de l'extensions. entre 2 et 16 chiffres seulement. (Regex: /^([2-9]|(1[0-6]))$/)</p>\n","type":"text/plain"},"key":"ext_length","value":""},{"description":{"content":"<p>(Valeur Requise) ID de pays. Voir les APIs Routes. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"country","value":""},{"disabled":true,"description":{"content":"<p>Indicatif régional. (Regex: /^\\d{1,50}$/)</p>\n","type":"text/plain"},"key":"area_code","value":""},{"description":{"content":"<p>(Valeur Requise) Indicatif National. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"national","value":""},{"description":{"content":"<p>(Valeur Requise) Indicatif international. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"international","value":""},{"disabled":true,"description":{"content":"<p>gloCOM Utiliser la recherche DNS SRV. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"glocom_dns_srv_lookup","value":""},{"disabled":true,"description":{"content":"<p>gloCOM SIP Proxy. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"glocomproxy","value":""},{"disabled":true,"description":{"content":"<p>HTTP username pour autoprovisionnement. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"apusername","value":""},{"disabled":true,"description":{"content":"<p>HTTP password pour autoprovisionnement. (Regex: /^\\S.+\\S$/)</p>\n","type":"text/plain"},"key":"appassword","value":""},{"disabled":true,"description":{"content":"<p>Default Server. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"defaultserver","value":""},{"disabled":true,"description":{"content":"<p>Announce de Trunk. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"announcetrunks","value":""},{"disabled":true,"description":{"content":"<p>Délai absolut en sec. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"absolutetimeout","value":""},{"disabled":true,"description":{"content":"<p>Messages vocaux dans les CDRs / 2: comme mevo / 1: Comme non répondu / 0: Comme répondu.(Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"cdrvoicemail","value":""},{"disabled":true,"description":{"content":"<p>FAX page format : -letter / -legal / -A4 / -auto</p>\n","type":"text/plain"},"key":"faxformat","value":""},{"disabled":true,"description":{"content":"<p>FAX type de fichier / 1: Both PDF and TIFF / 2: Only PDF / 3: Only TIFF</p>\n","type":"text/plain"},"key":"faxfiletype","value":""},{"disabled":true,"description":{"content":"<p>Emplacement de l'extension par défaut (Locale=1, Distant=2)</p>\n","type":"text/plain"},"key":"default_location","value":""},{"disabled":true,"description":{"content":"<p>Permettre les appels inter Tenants. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"enabletcalls","value":""},{"disabled":true,"description":{"content":"<p>Désactiver la réécriture de l'identifiant de l'appelant pour les appels entre locataires. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"disabletcid","value":""},{"disabled":true,"description":{"content":"<p>Default CallerID. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"tenantcid","value":""},{"disabled":true,"description":{"content":"<p>Default Fax CallerID. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"tenant_faxcid","value":""},{"disabled":true,"description":{"content":"<p>Use Default CallerID for tenant to tenant calls. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"usedefaultcid","value":""},{"disabled":true,"description":{"content":"<p>Use DIDs as CallerID for tenant to tenant calls. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"usedidcid","value":""},{"disabled":true,"description":{"content":"<p>Find E.164 numbers in DIDs. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"finde164","value":""},{"disabled":true,"description":{"content":"<p>Number of objects per page (Default: 10). (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"recordlimit","value":""},{"disabled":true,"description":{"content":"<p>Show Directory in OSC. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"showdirosc","value":""},{"disabled":true,"description":{"content":"<p>Record calls by default. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"recordglobal","value":""},{"disabled":true,"description":{"content":"<p>Silent recording by default. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"recordsilent","value":""},{"disabled":true,"description":{"content":"<p>Convert recordings to mp3 on generation. (Regex: /^(yes|keep|no)$/)</p>\n","type":"text/plain"},"key":"mp3_auto_conv","value":""},{"disabled":true,"description":{"content":"<p>Play Periodic Beep in sec. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"recordbeep","value":""},{"disabled":true,"description":{"content":"<p>Recordings format\n-gsm: GSM\n-wav: WAV\n-wav49: WAV49\n-g729: G729 native → GSM\n-ogg: OGG</p>\n","type":"text/plain"},"key":"recordformat","value":""},{"disabled":true,"description":{"content":"<p>Audio Language. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"audiolang","value":""},{"disabled":true,"description":{"content":"<p>Enhanced Call Parking Timeout (sec). (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"cpark_timeout","value":""},{"disabled":true,"description":{"content":"<p>Enhanced Call Parking Announce Extension. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"cpark_dial","value":""},{"disabled":true,"description":{"content":"<p>Enhanced Call Parking Timeout Extension. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"cpark_goto","value":""},{"disabled":true,"description":{"content":"<p>Play Sound. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"limitsound","value":""},{"disabled":true,"description":{"content":"<p>Enable send email option. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"limitemail","value":""},{"disabled":true,"description":{"content":"<p>Notification email. (Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"notifyemail","value":""},{"disabled":true,"description":{"content":"<p>Leave National Code. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"leavenational","value":""},{"disabled":true,"description":{"content":"<p>Currency symbol/ISO code. (Regex: /^.{1,3}$/)</p>\n","type":"text/plain"},"key":"currency","value":""},{"disabled":true,"description":{"content":"<p>Currency writing convention\nleft: Symbol before amount\nright: Symbol after amount.\n(Regex: /^(left|right)$/)</p>\n","type":"text/plain"},"key":"currencypos","value":""},{"disabled":true,"description":{"content":"<p>Dialed number minimum length. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"dialed_num_minimum_length","value":""},{"disabled":true,"description":{"content":"<p>PSTN numbering mode. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"pstn_mode","value":""},{"disabled":true,"description":{"content":"<p>Call groups/Pickup Groups (comma separated). (Regex: /^[0-9]+(,[0-9]+)*$/)</p>\n","type":"text/plain"},"key":"callgroups","value":""},{"disabled":true,"description":{"content":"<p>Local Codecs. (Regex: /^(:|ulaw|alaw|g722|opus|g723.1|g726|g726aal2|g729|gsm|ilbc|speex|speex16|speex32|lpc10|h261|h263|h263p|h264)+$/)</p>\n","type":"text/plain"},"key":"localcodecs","value":""},{"disabled":true,"description":{"content":"<p>Remote Codecs. (Regex: /^(:|ulaw|alaw|g722|opus|g723.1|g726|g726aal2|g729|gsm|ilbc|speex|speex16|speex32|lpc10|h261|h263|h263p|h264)+$/).\"</p>\n","type":"text/plain"},"key":"remotecodecs","value":""},{"disabled":true,"description":{"content":"<p>Network Codecs. (Regex: /^(:|ulaw|alaw|g722|opus|g723.1|g726|g726aal2|g729|gsm|ilbc|speex|speex16|speex32|lpc10|h261|h263|h263p|h264)+$/).\"</p>\n","type":"text/plain"},"key":"networkcodecs","value":""},{"disabled":true,"description":{"content":"<p>Login Attempts Check. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"hdcheck","value":""},{"disabled":true,"description":{"content":"<p>Lock Extension After X Failed Attempts.  (Regex: /^\\d{1}$/)</p>\n","type":"text/plain"},"key":"hdlockext","value":""},{"disabled":true,"description":{"content":"<p>Lock Phone After X Locked Extensions.  (Regex: /^\\d{1}$/)</p>\n","type":"text/plain"},"key":"hdlockdevice","value":""},{"disabled":true,"description":{"content":"<p>Automatic Log Out. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"hdautologout","value":""},{"disabled":true,"description":{"content":"<p>Log Out After X Hours of Inactivity. (Regex: /^\\d{1}$/)</p>\n","type":"text/plain"},"key":"hdlogoutinactive","value":""},{"disabled":true,"description":{"content":"<p>Ringtone for Local calls. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"ringtonelocal","value":""},{"disabled":true,"description":{"content":"<p>Hide CallerID in OSC. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"hidecallerid","value":""},{"disabled":true,"description":{"content":"<p>Allow ES CallerID\" for Call Forwarding. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"allowescallerid","value":""},{"disabled":true,"description":{"content":"<p>Enable CallerID CNAM lookup. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"enablecnamlookup","value":""},{"disabled":true,"description":{"content":"<p>Set CallerID for Group Hunt calls. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"setcidforgrouphunt","value":""},{"disabled":true,"description":{"content":"<p>Only Allow Trunk CallerID within DID range. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"cidmatchdid","value":""},{"disabled":true,"description":{"content":"<p>Drop Anonymous calls. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"dropanonymous","value":""},{"disabled":true,"description":{"content":"<p>On DID save update ES/CID/Trunks. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"didsaveupdatecid","value":""},{"disabled":true,"description":{"content":"<p>Do not allow users sending any CallerID. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"forceunknown","value":""},{"disabled":true,"description":{"content":"<p>Hide Extensions with no department (gloCOM). (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"hideextnodir","value":""},{"disabled":true,"description":{"content":"<p>gloCOM presence offline delay (min). (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"custompresencetime","value":""},{"disabled":true,"description":{"content":"<p>Use Dynamic Features. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"usedynfeatures","value":""},{"disabled":true,"description":{"content":"<p>Disable Billing for Call Forwarding. (deprecated and will be soon replaced with cf_call_rating_disable). (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"nobillingfwd","value":""},{"disabled":true,"description":{"content":"<p>Disable Call Rating for Call Forwarding. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"cf_call_rating_disable","value":""},{"disabled":true,"description":{"content":"<p>Jitter Buffer (inherit, disabled, fixed, adaptive)</p>\n","type":"text/plain"},"key":"jbimpl","value":""},{"disabled":true,"description":{"content":"<p>Max length (ms). (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"jbmaxsize","value":""},{"disabled":true,"description":{"content":"<p>Re-sync threshold. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"jbresyncthreshold","value":""},{"disabled":true,"description":{"content":"<p>Target extra. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"jbtargetextra","value":""},{"disabled":true,"description":{"content":"<p>Allow IP Address Authentication for Extensions (Yes=1, No=0). (Regex: /^(1|0|2)$/).</p>\n","type":"text/plain"},"key":"allowextipauth","value":""},{"disabled":true,"description":{"content":"<p>Skip Voicemail PIN Prompt (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"voiceskippin","value":""},{"disabled":true,"description":{"content":"<p>From E-mail. (Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"email_from","value":""},{"disabled":true,"description":{"content":"<p>Voicemail From E-mail. (Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"vm_email_from","value":""},{"disabled":true,"description":{"content":"<p>Local Channels. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"local_channels","value":""},{"disabled":true,"description":{"content":"<p>Remote Channels. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"remote_channels","value":""},{"disabled":true,"description":{"content":"<p>Conferences. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"conferences","value":""},{"disabled":true,"description":{"content":"<p>Queues. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"queues","value":""},{"disabled":true,"description":{"content":"<p>Auto Attendants. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"auto_attendants","value":""},{"disabled":true,"description":{"content":"<p>DAHDI. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"dahdi","value":""},{"disabled":true,"description":{"content":"<p>Notification E-mail. (Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"dids_notify_email","value":""},{"disabled":true,"description":{"content":"<p>Order By. (Regex: /^(did|date)$/)</p>\n","type":"text/plain"},"key":"dids_notify_order","value":""},{"disabled":true,"description":{"content":"<p>Ambulance. (Regex: /^\\d{3,16}$/)</p>\n","type":"text/plain"},"key":"es_ambulance","value":""},{"disabled":true,"description":{"content":"<p>Fire. (Regex: /^\\d{3,16}$/)</p>\n","type":"text/plain"},"key":"es_fire","value":""},{"disabled":true,"description":{"content":"<p>Police. (Regex: /^\\d{3,16}$/)</p>\n","type":"text/plain"},"key":"es_police","value":""},{"disabled":true,"description":{"content":"<p>Notification E-mail. (Regex: /^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,30};?)+$/)</p>\n","type":"text/plain"},"key":"es_notification_email","value":""},{"disabled":true,"description":{"content":"<p>Enable LDAP (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"ldap_enabled","value":""},{"disabled":true,"description":{"content":"<p>Include System Extensions:(Yes=1, No=0, Not set='')</p>\n","type":"text/plain"},"key":"ldap_local_exts","value":""},{"disabled":true,"description":{"content":"<p>Enable LDAP For Hot Desking Devices:(Yes=1, No=0, Not set='')</p>\n","type":"text/plain"},"key":"ldap_hotdesking","value":""},{"disabled":true,"description":{"content":"<p>LDAP password. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"ldap_password","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\S.+\\S$/)</p>\n","type":"text/plain"},"key":"appasword","value":""},{"disabled":true,"description":{"content":"<p>Emergency Location Header. (Regex: /^[\\w\\-,]{1,100}$/)</p>\n","type":"text/plain"},"key":"emerg_location_header","value":""}],"variable":[]}},"response":[],"_postman_id":"91a748d5-8d90-446c-8b13-adb04538a5ca"},{"name":"Deleting Tenants","event":[{"listen":"test","script":{"id":"ac1da572-4652-4c0c-b76e-14d9ff744b0a","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","","        // Print the success message","        //console.log('Success:', responseBody.success);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"dd4dbe35-ac9c-4abc-afc7-c4c47f2bbb49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.delete&server=1&id=19","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.tenant.delete"},{"description":{"content":"<p>Server ID which must be set to 1</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Tenant ID. For deletenig more tenants use Add&amp;Edit-Tenant.csv</p>\n","type":"text/plain"},"key":"id","value":"19"}],"variable":[]}},"response":[],"_postman_id":"dd4dbe35-ac9c-4abc-afc7-c4c47f2bbb49"},{"name":"Listing Trunks&Tenants","event":[{"listen":"test","script":{"id":"86a7f8d2-f009-4f2a-90ea-3fc47c130a48","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseData = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseData) {","    console.error(\"Test Failed: \" + responseData.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseData.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseData).to.be.an('object');","        pm.expect(responseData).to.have.property('primary_trunk').that.is.a('string');","        pm.expect(responseData).to.have.property('secondary_trunk').that.is.a('string');","        pm.expect(responseData).to.have.property('tertiary_trunk').that.is.a('string');","        pm.expect(responseData).to.have.property('trunks').that.is.a('string');","        pm.expect(responseData).to.have.property('primary_emerg_trunk').that.is.a('string');","        pm.expect(responseData).to.have.property('secondary_emerg_trunk').that.is.a('string');","        pm.expect(responseData).to.have.property('tertiary_emerg_trunk').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"52190885-e1d5-4976-959c-848cb35a6227","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.trunks.list&tenant=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.tenant.trunks.list"},{"description":{"content":"<p>Tenant ID</p>\n","type":"text/plain"},"key":"tenant","value":"1"}],"variable":[]}},"response":[],"_postman_id":"52190885-e1d5-4976-959c-848cb35a6227"},{"name":"Setting Trunks&Tenants","event":[{"listen":"test","script":{"id":"b2ddd7b0-92a1-4c39-900c-a47500a7a6d4","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success message","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"dc5def92-01a8-4e5c-bc1f-14b760f14ab7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.trunks.set&tenant=1&trunks={{TrunkIDs}}&primary_trunk=&primary_emerg_trunk=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.tenant.trunks.set"},{"description":{"content":"<p>Tenant ID</p>\n","type":"text/plain"},"key":"tenant","value":"1"},{"description":{"content":"<p>List of trunk ID’s (comma separated). (Regex: /^[0-9,]+$/)</p>\n","type":"text/plain"},"key":"trunks","value":"{{TrunkIDs}}"},{"description":{"content":"<p>Primary trunk. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"primary_trunk","value":""},{"disabled":true,"description":{"content":"<p>Secondary trunk. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"secondary_trunk","value":""},{"disabled":true,"description":{"content":"<p>Tertiary trunk. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"tertiary_trunk","value":""},{"description":{"content":"<p>Primary emergency trunk. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"primary_emerg_trunk","value":""},{"disabled":true,"description":{"content":"<p>Secondary emergency trunk. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"secondary_emerg_trunk","value":""},{"disabled":true,"description":{"content":"<p>Tertiary emergency trunk. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"tertiary_emerg_trunk","value":""}],"variable":[]}},"response":[],"_postman_id":"dc5def92-01a8-4e5c-bc1f-14b760f14ab7"},{"name":"Listing CLI Routing","event":[{"listen":"test","script":{"id":"b0bcac08-b868-4e1c-beab-255961b570d1","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if \"success\" field is an empty array","if (Array.isArray(responseBody.success) && responseBody.success.length === 0) {","    console.error(\"Test Failed: There is no CLI routing created for selected Tenant!\");","    pm.test('No CLI Routing Found', function () {","        pm.expect.fail(\"There is no CLI routing created for selected Tenant!\");","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Iterate through each CLI routing entry","        for (var cliroutingId in responseBody.success) {","            var clirouting = responseBody.success[cliroutingId];","            pm.expect(clirouting).to.be.an('object');","","            pm.test(`CLI Routing ${cliroutingId} Validation`, function () {","                pm.expect(clirouting).to.have.property('callerid').that.is.a('string');","                pm.expect(clirouting).to.have.property('ext').that.is.a('string');","                pm.expect(clirouting).to.have.property('type').that.is.a('string');","                pm.expect(clirouting).to.have.property('matchtype').that.is.a('string');","            });","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"68ec8c8b-ff43-4f22-9d80-e91e1bfc59fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.clirouting.list&tenant=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.tenant.clirouting.list"},{"description":{"content":"<p>Tenant ID (Required). If PBXware is not running in Tenant Mode, Tenant ID should be set to 1.</p>\n","type":"text/plain"},"key":"tenant","value":"1"}],"variable":[]}},"response":[],"_postman_id":"68ec8c8b-ff43-4f22-9d80-e91e1bfc59fc"},{"name":"Adding CLI Routing","event":[{"listen":"test","script":{"id":"56fa36c7-9474-48ee-98f6-b445cca493d3","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success message","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"17af1fa1-4f7c-46bc-9eb3-2bafb51cb6a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.clirouting.add&tenant=1&callerid=&dest_type=&destination=&matchexplicitly=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.tenant.clirouting.add"},{"description":{"content":"<p>Tenant ID (Required).If PBXware is not running in Tenant Mode, Tenant ID should be set to 1. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"tenant","value":"1"},{"description":{"content":"<p>Caller ID (Required). (Regex: /^\\d+$/).</p>\n","type":"text/plain"},"key":"callerid","value":""},{"description":{"content":"<p>Destination type (Required)\n0: Extension\n1: Multi User\n2: Ring Group\n3: IVR\n4: Queues\n5: Voicemail\n6: Remote Access\n7: Conferences\n8: Trunk\n9: Fax to E-mail\n10: Deny Access (No value)\n11: CRM Routing</p>\n","type":"text/plain"},"key":"dest_type","value":""},{"description":{"content":"<p>Destination value (Required)\nIf Destination type is Trunk, enter ID of Trunk for Destination value\nIf Destination type is CRM Routing, enter ID of CRM Routing rule for Destination value</p>\n","type":"text/plain"},"key":"destination","value":""},{"description":{"content":"<p>Match explicitly (0 or 1) (Required)</p>\n","type":"text/plain"},"key":"matchexplicitly","value":""}],"variable":[]}},"response":[],"_postman_id":"17af1fa1-4f7c-46bc-9eb3-2bafb51cb6a9"},{"name":"Editing CLI Routing","event":[{"listen":"test","script":{"id":"16464fb9-4fdd-4be1-8faa-d3399b6bad62","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success message","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"dde4bb29-e768-4023-8bcd-f1f0b9f6ce46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.clirouting.edit&tenant=1&cliroutingid=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.tenant.clirouting.edit"},{"description":{"content":"<p>Tenant ID. (Required). If PBXware is not running in Tenant Mode, Tenant ID should be set to 1. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"tenant","value":"1"},{"description":{"content":"<p>CLI Routing ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"cliroutingid","value":""},{"disabled":true,"description":{"content":"<p>Caller ID. (Regex: /^\\d+$/).</p>\n","type":"text/plain"},"key":"callerid","value":""},{"disabled":true,"description":{"content":"<p>Destination type\n0: Extension\n1: Multi User\n2: Ring Group\n3: IVR\n4: Queues\n5: Voicemail\n6: Remote Access\n7: Conferences\n8: Trunk\n9: Fax to E-mail\n10: Deny Access (No value)\n11: CRM Routing</p>\n","type":"text/plain"},"key":"dest_type","value":""},{"disabled":true,"description":{"content":"<p>Destination value\nIf Destination type is Trunk, enter ID of Trunk for Destination value\nIf Destination type is CRM Routing, enter ID of CRM Routing rule for Destination value</p>\n","type":"text/plain"},"key":"destination","value":""},{"disabled":true,"description":{"content":"<p>Match explicitly (0 or 1)</p>\n","type":"text/plain"},"key":"matchexplicitly","value":""}],"variable":[]}},"response":[],"_postman_id":"dde4bb29-e768-4023-8bcd-f1f0b9f6ce46"},{"name":"Deleting CLI Routing","event":[{"listen":"test","script":{"id":"f310e206-36fa-4c81-9e71-1e6ff9ac8a72","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success message","    pm.test('CLI Routing Deletion Success', function () {","        pm.expect(responseBody.success).to.be.a('string');","        pm.expect(responseBody.success).to.include('CLI Routing successfully deleted!');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"e06f1740-f913-4f94-ad9a-301b2421f0fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.clirouting.delete&tenant=1&cliroutingid=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action avec méthodes pour récupérer la ou les valeurs demandées</p>\n","type":"text/plain"},"key":"action","value":"pbxware.tenant.clirouting.delete"},{"description":{"content":"<p>Tenant ID (Required). If PBXware is not running in Tenant Mode, Tenant ID should be set to 1.</p>\n","type":"text/plain"},"key":"tenant","value":"1"},{"description":{"content":"<p>CLI Routing ID (Required)</p>\n","type":"text/plain"},"key":"cliroutingid","value":""}],"variable":[]}},"response":[],"_postman_id":"e06f1740-f913-4f94-ad9a-301b2421f0fe"}],"id":"1c8ceb3e-8f53-459a-adc0-22e918940ed4","description":"<p>Méthodes supportées :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>list</code></td>\n<td>- Retourne la list des tenants présent sur le PBXware</td>\n</tr>\n<tr>\n<td><code>configuration</code></td>\n<td>- Retourne la configuration du tenant sélectionner</td>\n</tr>\n<tr>\n<td><code>add</code></td>\n<td>- Permet d'ajouter un Tenant au PBXware</td>\n</tr>\n<tr>\n<td><code>edit</code></td>\n<td>- Permet d'éditer le Tenant sélectionner par ID.</td>\n</tr>\n<tr>\n<td><code>delete</code></td>\n<td>- Permet de supprimer le Tenant sélectionner par ID.</td>\n</tr>\n<tr>\n<td><code>trunks.list</code></td>\n<td>- Retourne la liste des trunks disponible pour le Tenant sélectionner par ID.</td>\n</tr>\n<tr>\n<td><code>trunks.set</code></td>\n<td>- Permet de modifier les trunks attribués au Tenant sélectionner par ID.</td>\n</tr>\n<tr>\n<td><code>clirouting.list</code></td>\n<td>- Retourne la liste des routes CLI du Tenant sélectionner par ID.</td>\n</tr>\n<tr>\n<td><code>clirouting.add</code></td>\n<td>- Permet d'ajouter une route CLI au Tenant</td>\n</tr>\n<tr>\n<td><code>clirouting.edit</code></td>\n<td>- Permet de modifier unoute CLI du Tenant</td>\n</tr>\n<tr>\n<td><code>clirouting.delete</code></td>\n<td>- Permet de supprimer une route CLI du Tenant.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"1c8ceb3e-8f53-459a-adc0-22e918940ed4"},{"name":"Trunks","item":[{"name":"Listing Trunks","event":[{"listen":"test","script":{"id":"023cc1d4-449d-47bf-93bc-a87dcdf626c3","exec":["pm.collectionVariables.unset(\"TrunkIDs\");","// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        ","        // Get the existing TrunkIDs array from the collection variable","        var trunkIDs = pm.collectionVariables.get('TrunkIDs') || [];","","        // Loop through trunk data","        for (var trunkID in responseBody) {","            var trunkData = responseBody[trunkID];","            ","            // Validate specific properties for each trunk","            pm.test('Trunk ' + trunkID + ' Data Validation', function () {","                pm.expect(trunkData).to.be.an('object');","                pm.expect(trunkData).to.have.property('name').that.is.a('string');","                pm.expect(trunkData).to.have.property('protocol').that.is.a('string');","                pm.expect(trunkData).to.have.property('provider_id').that.is.a('string');","                pm.expect(trunkData).to.have.property('provider_name').that.is.a('string');","                pm.expect(trunkData).to.have.property('status').that.is.oneOf(['enabled', 'disabled']);","                ","                // Push the trunk ID to the TrunkIDs array","                trunkIDs.push(trunkID);","                ","                // Print the result for each trunk","                console.log('Trunk ID:', trunkID);","                console.log('Trunk Name:', trunkData.name);","                console.log('Protocol:', trunkData.protocol);","                console.log('Provider ID:', trunkData.provider_id);","                console.log('Provider Name:', trunkData.provider_name);","                console.log('Status:', trunkData.status);","            });","        }","","        // Update the TrunkIDs array in the collection variable","        pm.collectionVariables.set('TrunkIDs', trunkIDs);","        pm.environment.set(\"TrunkIDs\", trunkIDs);","    });","}",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"a94c27db-f334-4098-9ecc-d897c8b2b795","exec":[""],"type":"text/javascript","packages":{}}}],"id":"3ebe2e18-db6f-4bf7-a994-68eb14ddbc09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.trunk.list","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>command pour l'action de listing des trunnks</p>\n","type":"text/plain"},"key":"action","value":"pbxware.trunk.list"},{"disabled":true,"description":{"content":"<p>Filtrer les trunks par serveur (ne s'applique pas en mode Multi-tenant mettre server sur 1).</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"3ebe2e18-db6f-4bf7-a994-68eb14ddbc09"},{"name":"Trunk Configuration","event":[{"listen":"test","script":{"id":"39939850-f5e0-4aef-9489-b0b93a0cdd38","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else if (Array.isArray(responseBody) && responseBody.length === 0) {","    console.error(\"Test Failed: No result found for given parameters, check your input again!\");","    pm.test('No Result Found', function () {","        pm.expect.fail(\"No result for given parameters, check your input again!\");","    });","} else {","    // Continue with the rest of the checks","    // Validate the response structure and other fields as needed","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        ","        const objectKey = Object.keys(responseBody)[0];","        const trunkConfiguration = responseBody[objectKey];","","        pm.test('Extension Name Validation', function () {","            pm.expect(trunkConfiguration.name).to.be.a('string');","        });","","        pm.test('Provider ID Validation', function () {","            pm.expect(trunkConfiguration.provider_id).to.be.a('string');","        });","","        pm.test('Provider Name Validation', function () {","            pm.expect(trunkConfiguration.provider_name).to.be.a('string');","        });","","        pm.test('Status Validation', function () {","            pm.expect(trunkConfiguration.status).to.be.a('string');","        });","","        pm.test('Protocol Validation', function () {","            pm.expect(trunkConfiguration.protocol).to.be.a('string');","        });","","        pm.test('Options Validation', function () {","            pm.expect(trunkConfiguration.options).to.be.an('object');","        });","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"7b4cf941-d83f-467e-af4c-114f6e97c697","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/?action=pbxware.trunk.configuration&apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&server=1&trunkid={{TrunkIDs}}","urlObject":{"protocol":"http","path":[""],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"action","value":"pbxware.trunk.configuration"},{"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>ID of a tenant (Required)</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>ID of a trunk (Required). (Regex: /^[a-zA-Z0-9_-]+$/)</p>\n","type":"text/plain"},"key":"trunkid","value":"{{TrunkIDs}}"}],"variable":[]}},"response":[],"_postman_id":"7b4cf941-d83f-467e-af4c-114f6e97c697"},{"name":"Adding Trunks","event":[{"listen":"test","script":{"id":"e1d0aa9b-43a5-44d9-bbcc-9e2d93febed6","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","        ","        console.log('Success:', responseBody.success);","        console.log('ID:', responseBody.id);","","        // Get the existing TrunkIDs array from the collection variable","        var trunkIDs = pm.collectionVariables.get('TrunkIDs') || [];","","        // Push the new ID to the TrunkIDs array","        var id = responseBody.id;","        trunkIDs.push(id);","        console.log('Trunk IDs:', trunkIDs);","","        // Update the TrunkIDs array in the collection variable","        pm.collectionVariables.set('TrunkIDs', trunkIDs);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"60d9867b-a092-46ed-86b8-59a39118afa2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&server=1&provider_id=20&name=Test_ComMeeTT&user_language=fr&type=user&dtmfmode=rfc2833&status=active&qualify=1600&country=279&national=0&international=00&e164a=yes&passthru_mode=yes&national_leave=yes&area_code=yes&dialed_num_minimum_legnth=10&prefix=1&prefix_emerg=yes&testnum=77728&additionalheaders=\"dstrser\"&nodidresponse=21&emerg_location_header=rmrkrrv&send_history_info=yes&host=entreprise.fr&username=lxdjfrvnlmqksjenv&authname=erhsrtb1961tg65s1&auth=qergser4srth68&secret=qegqe6rg1651&from_ipaddr=77.37.8.37&insecure=invite&register=2&register_suffix=rrer&register_expiration=15&register_max_retries=10&fromuser=segserg&fromdomain=seghse&phoneuri=yes&outboundproxy=sip:waext.mmtt.fr&looserouting=yes&transport=tcp&encryption=offer&direct_media=nonat&directrtpsetup=yes&defaultip=77.37.8.37&incominglimit=100&outgoinglimit=100&ringtime=10&email_on _limit=yes&o_dialoptions=Ttr&trustip=yes&sendrpid=pai&trust_id_outbound=yes&rpid_connectedline=yes&rpid_update=yes&sendpai=tbsert&privacy=anonymous_id&callerid=0000758465&allow_es_callerid=yes&codecs=alaw,ulaw,g722,opus&codecs_ptime=10,10,10,&videosupport=yes&autoframing=yes&addconfig_sipheader=[registration]\\nexpiration=120\\nauth_rejection_permanent=no\\nmax_retries=1000\\nretry_interval=60\\nfatal_retry_interval=60\\nforbidden_retry_interval=120\\n&emerg_trunk=no&busylevel=100&call_recording=start&t_sendpci=ergserg&action=pbxware.trunk.add&additional_config={[registration]\\nexpiration=120\\nauth_rejection_permanent=no\\nmax_retries=1000\\nretry_interval=60\\nfatal_retry_interval=60\\nforbidden_retry_interval=120\\n}","urlObject":{"protocol":"http","path":["index.php"],"host":["certification","bicomsystems","fr"],"query":[{"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"server","value":"1"},{"key":"provider_id","value":"20"},{"key":"name","value":"Test_ComMeeTT"},{"key":"user_language","value":"fr"},{"key":"type","value":"user"},{"key":"dtmfmode","value":"rfc2833"},{"key":"status","value":"active"},{"key":"qualify","value":"1600"},{"key":"country","value":"279"},{"key":"national","value":"0"},{"key":"international","value":"00"},{"key":"e164a","value":"yes"},{"key":"passthru_mode","value":"yes"},{"key":"national_leave","value":"yes"},{"key":"area_code","value":"yes"},{"key":"dialed_num_minimum_legnth","value":"10"},{"key":"prefix","value":"1"},{"key":"prefix_emerg","value":"yes"},{"key":"testnum","value":"77728"},{"key":"additionalheaders","value":"\"dstrser\""},{"key":"nodidresponse","value":"21"},{"key":"emerg_location_header","value":"rmrkrrv"},{"key":"send_history_info","value":"yes"},{"key":"host","value":"entreprise.fr"},{"key":"username","value":"lxdjfrvnlmqksjenv"},{"key":"authname","value":"erhsrtb1961tg65s1"},{"key":"auth","value":"qergser4srth68"},{"key":"secret","value":"qegqe6rg1651"},{"key":"from_ipaddr","value":"77.37.8.37"},{"key":"insecure","value":"invite"},{"key":"register","value":"2"},{"key":"register_suffix","value":"rrer"},{"key":"register_expiration","value":"15"},{"key":"register_max_retries","value":"10"},{"key":"fromuser","value":"segserg"},{"key":"fromdomain","value":"seghse"},{"key":"phoneuri","value":"yes"},{"key":"outboundproxy","value":"sip:waext.mmtt.fr"},{"key":"looserouting","value":"yes"},{"key":"transport","value":"tcp"},{"key":"encryption","value":"offer"},{"key":"direct_media","value":"nonat"},{"key":"directrtpsetup","value":"yes"},{"key":"defaultip","value":"77.37.8.37"},{"key":"incominglimit","value":"100"},{"key":"outgoinglimit","value":"100"},{"key":"ringtime","value":"10"},{"key":"email_on _limit","value":"yes"},{"key":"o_dialoptions","value":"Ttr"},{"key":"trustip","value":"yes"},{"key":"sendrpid","value":"pai"},{"description":{"content":"<p>Send Caller ID in RPID for Anonymous calls. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"trust_id_outbound","value":"yes"},{"description":{"content":"<p>Connected Line Updates. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"rpid_connectedline","value":"yes"},{"description":{"content":"<p>RPID with SIP UPDATE. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"rpid_update","value":"yes"},{"key":"sendpai","value":"tbsert"},{"key":"privacy","value":"anonymous_id"},{"key":"callerid","value":"0000758465"},{"description":{"content":"<p>Allow enhanced services callerid.  (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"allow_es_callerid","value":"yes"},{"key":"codecs","value":"alaw,ulaw,g722,opus"},{"key":"codecs_ptime","value":"10,10,10,"},{"key":"videosupport","value":"yes"},{"key":"autoframing","value":"yes"},{"key":"addconfig_sipheader","value":"[registration]\\nexpiration=120\\nauth_rejection_permanent=no\\nmax_retries=1000\\nretry_interval=60\\nfatal_retry_interval=60\\nforbidden_retry_interval=120\\n"},{"key":"emerg_trunk","value":"no"},{"key":"busylevel","value":"100"},{"key":"call_recording","value":"start"},{"key":"t_sendpci","value":"ergserg"},{"disabled":true,"description":{"content":"<p>Peer host (Required)</p>\n","type":"text/plain"},"key":"peer_host","value":""},{"disabled":true,"description":{"content":"<p>Peer username (Required)</p>\n","type":"text/plain"},"key":"peer_username","value":""},{"disabled":true,"description":{"content":"<p>Peer secret (Required)</p>\n","type":"text/plain"},"key":"peer_secret","value":""},{"disabled":true,"description":{"content":"<p>User=phone in URI. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"phoneinuri","value":""},{"disabled":true,"description":{"content":"<p>Trust RPID. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"trustrpid","value":""},{"disabled":true,"description":{"content":"<p>Dialed number minimum length. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"dialed_num_minimum_length","value":""},{"disabled":true,"description":{"content":"<p>Email on limit. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"email_on_limit","value":""},{"disabled":true,"description":{"content":"<p>Outgoing dial options. (Regex: /^[tTr]+$/)</p>\n","type":"text/plain"},"key":"outgoing_dialoptions","value":""},{"key":"action","value":"pbxware.trunk.add"},{"key":"additional_config","value":"{[registration]\\nexpiration=120\\nauth_rejection_permanent=no\\nmax_retries=1000\\nretry_interval=60\\nfatal_retry_interval=60\\nforbidden_retry_interval=120\\n}"}],"variable":[]}},"response":[],"_postman_id":"60d9867b-a092-46ed-86b8-59a39118afa2"},{"name":"Editing Trunks","event":[{"listen":"test","script":{"id":"77cb7307-3ddf-4a47-93ca-0e92a35daa32","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Print the success message and the ID","    console.log('Success:', responseBody.success);","    console.log('ID:', responseBody.id);","}",""],"type":"text/javascript","packages":{}}}],"id":"9a21d92b-60b6-4bae-9f45-f055974e88bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.trunk.edit&id=224&server=1&additionalheaders=\"test\"&addconfig_sipheader=test","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Edit trunks</p>\n","type":"text/plain"},"key":"action","value":"pbxware.trunk.edit"},{"disabled":true,"description":{"content":"<p>Full Name. (Regex: /^.+$/).</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>Provider ID (SIP only). (Regex: /^[0-9]+$/)</p>\n","type":"text/plain"},"key":"provider_id","value":""},{"disabled":true,"description":{"content":"<p>Trunk type (user, friend, peer)</p>\n","type":"text/plain"},"key":"type","value":""},{"disabled":true,"description":{"content":"<p>DTMF mode (auto, inband, rfc2833, info, shortinfo)</p>\n","type":"text/plain"},"key":"dtmfmode","value":""},{"disabled":true,"description":{"content":"<p>Status (active, not active, suspended)</p>\n","type":"text/plain"},"key":"status","value":""},{"disabled":true,"description":{"content":"<p>Country code. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"country","value":""},{"disabled":true,"description":{"content":"<p>National. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"national","value":""},{"disabled":true,"description":{"content":"<p>International . (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"international","value":""},{"disabled":true,"description":{"content":"<p>Emergency trunk. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"emerg_trunk","value":""},{"disabled":true,"description":{"content":"<p>Host</p>\n","type":"text/plain"},"key":"host","value":""},{"disabled":true,"description":{"content":"<p>Username</p>\n","type":"text/plain"},"key":"username","value":""},{"disabled":true,"description":{"content":"<p>Secret</p>\n","type":"text/plain"},"key":"secret","value":""},{"disabled":true,"description":{"content":"<p>Peer host</p>\n","type":"text/plain"},"key":"peer_host","value":""},{"disabled":true,"description":{"content":"<p>Peer username</p>\n","type":"text/plain"},"key":"peer_username","value":""},{"disabled":true,"description":{"content":"<p>Peer secret.</p>\n","type":"text/plain"},"key":"peer_secret","value":""},{"disabled":true,"description":{"content":"<p>Insecure (port|invite|port,invite|very)</p>\n","type":"text/plain"},"key":"insecure","value":""},{"disabled":true,"description":{"content":"<p>Loose routing (yes|no|1|0)</p>\n","type":"text/plain"},"key":"looserouting","value":""},{"disabled":true,"description":{"content":"<p>Incoming limit. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"incominglimit","value":""},{"disabled":true,"description":{"content":"<p>Outgoing limit. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"outgoinglimit","value":""},{"disabled":true,"description":{"content":"<p>Busy level. (Regex: /^\\d{1,10}$/)</p>\n","type":"text/plain"},"key":"busylevel","value":""},{"disabled":true,"description":{"content":"<p>Allowed codecs separated with ',': ulaw:alaw:g723.1:g726:g729:gsm:ilbc:speex:lpc10:h261:h263:h263p</p>\n","type":"text/plain"},"key":"codecs","value":""},{"disabled":true,"description":{"content":"<p>Ptime (10, 20, 30 …​ 300)</p>\n","type":"text/plain"},"key":"codecs_ptime","value":""},{"disabled":true,"description":{"content":"<p>Qualify. (Regex: /^\\d{0,4}$/)</p>\n","type":"text/plain"},"key":"qualify","value":""},{"disabled":true,"description":{"content":"<p>E164 Accepted. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"e164a","value":""},{"disabled":true,"description":{"content":"<p>Pass-thru mode. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"passthru_mode","value":""},{"disabled":true,"description":{"content":"<p>Leave national. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"national_leave","value":""},{"disabled":true,"description":{"content":"<p>Area Code. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"area_code","value":""},{"disabled":true,"description":{"content":"<p>Prefix. (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"prefix","value":""},{"disabled":true,"description":{"content":"<p>Test number. (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"testnum","value":""},{"disabled":true,"description":{"content":"<p>Authname. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"authname","value":""},{"disabled":true,"description":{"content":"<p>Auth. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"auth","value":""},{"disabled":true,"description":{"content":"<p>Register. (Regex: /^([0-5])$/)</p>\n","type":"text/plain"},"key":"register","value":""},{"disabled":true,"description":{"content":"<p>Register Suffix. (Regex: /^\\w+$/)</p>\n","type":"text/plain"},"key":"register_suffix","value":""},{"disabled":true,"description":{"content":"<p>Register expiration time in sec. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"register_expiration","value":""},{"disabled":true,"description":{"content":"<p>From user. (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"fromuser","value":""},{"disabled":true,"description":{"content":"<p>From domain. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"fromdomain","value":""},{"disabled":true,"description":{"content":"<p>User=phone in URI. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"phoneinuri","value":"no"},{"disabled":true,"description":{"content":"<p>Outbound proxy. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"outboundproxy","value":""},{"disabled":true,"description":{"content":"<p>Incoming IP addresses separated by comma (,). (Regex: /^[a-zA-Z0-9.,]+$/)</p>\n","type":"text/plain"},"key":"from_ipaddr","value":""},{"disabled":true,"description":{"content":"<p>Transport (udp, tcp, tls). (Regex: /\\w+$/)</p>\n","type":"text/plain"},"key":"transport","value":""},{"disabled":true,"description":{"content":"<p>Encryption. (Regex: /^(yes|offer)$/)</p>\n","type":"text/plain"},"key":"encryption","value":""},{"disabled":true,"description":{"content":"<p>Direct media (no|yes|nonat|update|nonat,update)</p>\n","type":"text/plain"},"key":"direct_media","value":""},{"disabled":true,"description":{"content":"<p>Direct RTP setup (yes, no)</p>\n","type":"text/plain"},"key":"directrtpsetup","value":""},{"disabled":true,"description":{"content":"<p>Default IP. (Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"defaultip","value":""},{"disabled":true,"description":{"content":"<p>Trust RPID. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"trustrpid","value":"yes"},{"disabled":true,"description":{"content":"<p>Send RPID. (Regex: /^(rpid|pai)$/)</p>\n","type":"text/plain"},"key":"sendrpid","value":""},{"disabled":true,"description":{"content":"<p>Send Caller ID in RPID for Anonymous calls. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"trust_id_outbound","value":""},{"disabled":true,"description":{"content":"<p>Connected Line Updates. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"rpid_connectedline","value":""},{"disabled":true,"description":{"content":"<p>RPID with SIP UPDATE. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"rpid_update","value":""},{"disabled":true,"description":{"content":"<p>Send PAI header. (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"sendpai","value":""},{"disabled":true,"description":{"content":"<p>Specify privacy (none, anonymous, anonymous_id, anonymous_number, anonymous_number_id)</p>\n","type":"text/plain"},"key":"privacy","value":""},{"disabled":true,"description":{"content":"<p>Outbound Caller ID. (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"callerid","value":""},{"disabled":true,"description":{"content":"<p>Dialed number minimum length. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"dialed_num_minimum_length","value":"2"},{"disabled":true,"description":{"content":"<p>Allow enhanced services callerid. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"allow_es_callerid","value":""},{"disabled":true,"description":{"content":"<p>Email on limit. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"email_on_limit","value":"no"},{"disabled":true,"description":{"content":"<p>Outgoing dial options. (Regex: /^[tTr]+$/)</p>\n","type":"text/plain"},"key":"outgoing_dialoptions","value":""},{"disabled":true,"description":{"content":"<p>Video support. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"videosupport","value":""},{"disabled":true,"description":{"content":"<p>Auto framing. (Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"autoframing","value":""},{"disabled":true,"description":{"content":"<p>Set Prefix for Emergency Calls. Regex: /^(yes|no)$/</p>\n","type":"text/plain"},"key":"prefix_emerg","value":""},{"disabled":true,"description":{"content":"<p>Emergency Location Header. (Regex: /^[\\w\\-,]{1,100}$/)</p>\n","type":"text/plain"},"key":"emerg_location_header","value":""},{"disabled":true,"key":"user_language","value":"279"},{"disabled":true,"key":"ringtime","value":"5"},{"key":"id","value":"224"},{"key":"server","value":"1"},{"disabled":true,"key":"callrecording","value":"1"},{"key":"additionalheaders","value":"\"test\""},{"disabled":true,"key":"send_history_info","value":"1"},{"disabled":true,"key":"register_max_retries","value":"2"},{"disabled":true,"key":"o_dialoptions","value":"test"},{"disabled":true,"key":"userlanguage","value":"fr"},{"key":"addconfig_sipheader","value":"test"}],"variable":[]}},"response":[],"_postman_id":"9a21d92b-60b6-4bae-9f45-f055974e88bf"},{"name":"Delete Trunks","event":[{"listen":"test","script":{"id":"78f84daa-f519-465a-93df-f6d45dcaad63","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseJson = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseJson) {","    console.error(\"Test Failed: \" + responseJson.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseJson.error);","    });","} else {","    // Validate the success response structure","    pm.test('Success Response Validation', function () {","        pm.expect(responseJson).to.be.an('object');","","        // Check if success is a string","        pm.expect(responseJson.success).to.be.a('string');","","        // Check if id is a string","        pm.expect(responseJson.id).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"f78b965d-326b-4def-92c8-3249ece32b4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.trunk.delete&id={{TrunkIDs}}","urlObject":{"protocol":"http","path":[""],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.trunk.delete"},{"key":"id","value":"{{TrunkIDs}}"}],"variable":[]}},"response":[],"_postman_id":"f78b965d-326b-4def-92c8-3249ece32b4a"},{"name":"Listing Providers","event":[{"listen":"test","script":{"id":"17a7e342-219c-44db-bc9e-5ad92a74f6a3","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        ","        // Loop through provider data","        for (var providerName in responseBody) {","            var providerData = responseBody[providerName];","            ","            // Validate provider data","            pm.test('Provider ' + providerName + ' Data Validation', function () {","                pm.expect(providerData).to.be.an('array');","                pm.expect(providerData[0]).to.be.a('string');","                pm.expect(providerData[1]).to.be.a('string');","                ","                // Print the result for each provider","                console.log('Provider Name:', providerName);","                console.log('Provider ID:', providerData[0]);","                console.log('Provider Type:', providerData[1]);","            });","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"5d141777-bef2-480c-ac7b-bc5bcdbbed58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.trunk.providers&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Listing trunk providers</p>\n","type":"text/plain"},"key":"action","value":"pbxware.trunk.providers"},{"description":{"content":"<p>Server or Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"5d141777-bef2-480c-ac7b-bc5bcdbbed58"}],"id":"8f8c20e2-37f3-42d2-9904-14d4bf26b3e5","description":"<p>Méthodes supportées :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>list</code></td>\n<td>- Retourne la liste des trunks disponible sur le PBXware</td>\n</tr>\n<tr>\n<td><code>configuration</code></td>\n<td>- Permet de lister la configuration des trunks</td>\n</tr>\n<tr>\n<td><code>add</code></td>\n<td>- Permet d'ajouter un nouveau trunk</td>\n</tr>\n<tr>\n<td><code>edit</code></td>\n<td>- Permet d'éditer un trunk</td>\n</tr>\n<tr>\n<td><code>providers</code></td>\n<td>retourne la liste des opérateurs disponibles</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"8f8c20e2-37f3-42d2-9904-14d4bf26b3e5"},{"name":"SDAs","item":[{"name":"Listing DIDs","event":[{"listen":"test","script":{"id":"350ebee6-3fe1-42a8-8c69-49abcc0de879","exec":["pm.environment.unset(\"DID-IDs\");","pm.collectionVariables.unset(\"DID-IDs\");","","// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response is an empty array","    if (Array.isArray(responseBody) && responseBody.length === 0) {","        console.log(\"No DID found. Try with different values for Server or Ext field!\");","        pm.test('No found error', function () {","            pm.expect.fail(\"No DID found for given inputs.Try with different values for Server or Ext field!\");","        });","    } else {","        // Validate the response structure and loop through DIDs data","        pm.test('Response Validation', function () {","            pm.expect(responseBody).to.be.an('object');","","            // Get the existing DIDs array from the environment","            var didIDs = pm.collectionVariables.get('DID-IDs') || [];","            ","            for (var didID in responseBody) {","                var didData = responseBody[didID];","                ","                // Validate specific properties for each DID","                pm.test('DID ' + didID + ' Data Validation', function () {","                    pm.expect(didData).to.be.an('object');","                    pm.expect(didData).to.have.property('number').that.is.a('string');","                    pm.expect(didData).to.have.property('number2').that.is.oneOf([null, 'string']);","                    pm.expect(didData).to.have.property('server').that.is.a('string');","                    pm.expect(didData).to.have.property('trunk').that.is.a('string');","                    pm.expect(didData).to.have.property('type').that.is.a('string');","                    pm.expect(didData).to.have.property('ext').that.is.a('string');","                    pm.expect(didData).to.have.property('status').that.is.oneOf(['enabled', 'disabled']);","                    pm.expect(didData).to.have.property('sms_enabled').that.is.oneOf([null,'1', '0']);","","                    // Validate e164 field","                    if (didData.e164 !== null) {","                        pm.expect(didData.e164).to.be.a('string').and.match(/^\\d+$/);","                    }","","                     // Validate e164_2 field","                     if (didData.e164_2 !== null) {","                        pm.expect(didData.e164_2).to.be.a('string').and.match(/^\\d+$/);","                    }","                    ","                    // Print the result for each DID","                    console.log('DID ID:', didID);","                    console.log('DID Number:', didData.number);","                    console.log('DID Number2:', didData.number2);","                    console.log('Server ID:', didData.server);","                    console.log('Trunk ID:', didData.trunk);","                    console.log('DID Type:', didData.type);","                    console.log('Extension:', didData.ext);","                    console.log('E.164 Number:', didData.e164);","                    console.log('E.164 Number2:', didData.e164_2);","                    console.log('Status:', didData.status);","                    console.log('SMS Enabled:', didData.sms_enabled);","                    console.log();","","                    // Push the new DID ID to the DIDs array","                    didIDs.push(didID);","                });","            }","            // Update the DIDs array in the environment","            pm.collectionVariables.set('DID-IDs', didIDs);","            pm.environment.set('DID-IDs', didIDs);","        });","    }","}",""],"type":"text/javascript","packages":{}}}],"id":"9943887a-c7d7-4b3e-933c-55fe761bae6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.did.list&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Listing of DIDs, by default, will include all DIDs.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.did.list"},{"description":{"content":"<p>Filter DID list by Tenant ID. If PBXware is running in Tenant Mode this is a required field and must contain a valid Tenant ID. ID 1 is always assigned to Master tenant and cannot be used. You can use CSV file \"SrvTenantIDs.csv\" to get all DIDs of tenants.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"disabled":true,"description":{"content":"<p>Filter DID list by Destination Number. (Regex: /^[\\d,]+$/)</p>\n","type":"text/plain"},"key":"ext","value":""}],"variable":[]}},"response":[],"_postman_id":"9943887a-c7d7-4b3e-933c-55fe761bae6e"},{"name":"Adding DIDs","event":[{"listen":"test","script":{"id":"fd71a775-757e-4735-a518-2ce4a7afa46c","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","","// Parse the response JSON","var responseBody = pm.response.json();","","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","        ","        // Print the result for each DID","        console.log('Success:', responseBody.success);","        console.log('DID ID:', responseBody.id);","        ","    });","}",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"bbfb12d3-4c42-496d-a4e0-6c0dcfdfb0cb","exec":[""],"type":"text/javascript","packages":{}}}],"id":"71505c6f-377b-4dcc-a1a0-228bc5d11b43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://10.1.165.94/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.did.add&server=1&trunk={{TrunkIDs}}&did=&dest_type=&destination=&disabled=&e164=","urlObject":{"protocol":"http","path":["index.php"],"host":["10","1","165","94"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>If want to add more DID in one move use CSV file AddDIDs.csv.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.did.add"},{"description":{"content":"<p>Tenant or Server ID (Required)   If PBXware is running in Tenant Mode this is a required field and must contain a valid Tenant ID.   ID 1 is always assigned to Master tenant and cannot be used.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"disabled":true,"key":"name","value":""},{"description":{"content":"<p>Trunk ID to which DID is mapped. (Required) (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"trunk","value":"{{TrunkIDs}}"},{"description":{"content":"<p>Actual DID number. (Required) (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"did","value":""},{"description":{"content":"<p>Destination Type for DID. (Required) (Regex: /^\\d{1}$/)\n0: Extension\n1: Forward DID to Extension (Multi User)\n2: Ring Group\n3: IVR\n4: Queues\n5: External Number\n6. IVR Tree</p>\n","type":"text/plain"},"key":"dest_type","value":""},{"description":{"content":"<p>DID destination. (Required) (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"destination","value":""},{"description":{"content":"<p>Disable DID by default (Required)  1: Disabled  0: Enabled</p>\n","type":"text/plain"},"key":"disabled","value":""},{"disabled":true,"description":{"content":"<p>DID number (end)</p>\n","type":"text/plain"},"key":"did2","value":""},{"disabled":true,"description":{"content":"<p>DID Group ID</p>\n","type":"text/plain"},"key":"groupid","value":""},{"description":{"content":"<p>E.164 Number (start) (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"e164","value":""},{"disabled":true,"description":{"content":"<p>E.164 Number (end) (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"e164_2","value":""},{"disabled":true,"description":{"content":"<p>Replace Caller ID. (Regex: /^[\\+\\w\\s%]+(\\s*&lt;[\\+\\w%]+&gt;)?$/)</p>\n","type":"text/plain"},"key":"callerid","value":""},{"disabled":true,"description":{"content":"<p>Service Plan. (Regex: /^(0|-1|2147483647)$/)</p>\n","type":"text/plain"},"key":"splan","value":""},{"disabled":true,"description":{"content":"<p>Billing Extension. (deprecated and will be soon replaced with call_rating_ext) (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"billingext","value":""},{"disabled":true,"description":{"content":"<p>Call Rating Extension (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"call_rating_ext","value":""},{"disabled":true,"description":{"content":"<p>Greeting. (Regex: /^greeting\\-did\\-([\\w\\-]+)$/)</p>\n","type":"text/plain"},"key":"greeting","value":""},{"disabled":true,"description":{"content":"<p>Strip N digits. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"stripn","value":""},{"disabled":true,"description":{"content":"<p>Queue Priority. (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"qprio","value":""},{"disabled":true,"description":{"content":"<p>Force Codec. (Regex: /^(ulaw|alaw|g722|opus|g723|g726|g726aal2|g729|gsm|ilbc|speex|speex16|speex32|lpc10|h261|h263|h263p|h264)+$/)</p>\n","type":"text/plain"},"key":"codec","value":""},{"disabled":true,"description":{"content":"<p>Custom Ringtone. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"ringtone","value":""},{"disabled":true,"description":{"content":"<p>Record Call. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"recordcall","value":""},{"disabled":true,"description":{"content":"<p>County. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"state_text","value":""},{"disabled":true,"description":{"content":"<p>City. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"city","value":""},{"disabled":true,"description":{"content":"<p>Area Code. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"areacode","value":""},{"disabled":true,"description":{"content":"<p>Use DID as SMS number. (Regex: /^(1|0)$/)</p>\n","type":"text/plain"},"key":"sms_enabled","value":""},{"disabled":true,"description":{"content":"<p>Preserve Orginal Caller ID. (Regex: /^(1|0)$/)</p>\n","type":"text/plain"},"key":"preserve_callerid","value":""}],"variable":[]}},"response":[],"_postman_id":"71505c6f-377b-4dcc-a1a0-228bc5d11b43"},{"name":"Editing DIDs","event":[{"listen":"test","script":{"id":"e8517240-b170-4ba5-af70-a384bea23ffc","exec":["","// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success response","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","","        // Print the result for each edited DID","        console.log('Edited DID ID:', responseBody.id);","    });","}"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"73d8b97a-e6c8-4d63-b737-bca493a08069","exec":[""],"type":"text/javascript","packages":{}}}],"id":"b0873b99-88c0-4663-bd0c-96ee6116de78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.did.edit&server=1&id=15&dest_type=5&destination=103","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>If want to edit more DID in one move use CSV file Add&amp;EditDIDs.csv. In CSV file just populate field for Srv/Tenant-ID and DID-IDs.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.did.edit"},{"description":{"content":"<p>Tenant or Server ID (Required)   If PBXware is running in Tenant Mode this is a required field and must contain a valid Tenant ID.   ID 1 is always assigned to Master tenant and cannot be used.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>DID ID (Required)</p>\n","type":"text/plain"},"key":"id","value":"15"},{"disabled":true,"key":"name","value":""},{"disabled":true,"description":{"content":"<p>Trunk ID to which DID is mapped. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"trunk","value":""},{"disabled":true,"description":{"content":"<p>Actual DID number. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"did","value":""},{"description":{"content":"<p>Destination Type for DID. (Regex: /^\\d{1}$/)\n0: Extension\n1: Forward DID to Extension (Multi User)\n2: Ring Group\n3: IVR\n4: Queues\n5: External Number</p>\n","type":"text/plain"},"key":"dest_type","value":"5"},{"description":{"content":"<p>DID destination. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"destination","value":"103"},{"disabled":true,"description":{"content":"<p>Disable DID by default.  1: Disabled  0: Enabled</p>\n","type":"text/plain"},"key":"disabled","value":""},{"disabled":true,"description":{"content":"<p>DID number (end)</p>\n","type":"text/plain"},"key":"did2","value":""},{"disabled":true,"description":{"content":"<p>DID Group ID</p>\n","type":"text/plain"},"key":"groupid","value":""},{"disabled":true,"description":{"content":"<p>E.164 Number (start) (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"e164","value":""},{"disabled":true,"description":{"content":"<p>E.164 Number (end). (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"e164_2","value":""},{"disabled":true,"description":{"content":"<p>Replace Caller ID. (Regex: /^[\\+\\w\\s%]+(\\s*&lt;[\\+\\w%]+&gt;)?$/)</p>\n","type":"text/plain"},"key":"callerid","value":""},{"disabled":true,"description":{"content":"<p>Service Plan. (Regex: /^(0|-1|2147483647)$/)</p>\n","type":"text/plain"},"key":"splan","value":""},{"disabled":true,"description":{"content":"<p>Billing Extension. (deprecated and will be soon replaced with call_rating_ext) (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"billingext","value":""},{"disabled":true,"description":{"content":"<p>Call Rating Extension. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"call_rating_ext","value":""},{"disabled":true,"description":{"content":"<p>Greeting. (Regex: /^greeting\\-did\\-([\\w\\-]+)$/)</p>\n","type":"text/plain"},"key":"greeting","value":""},{"disabled":true,"description":{"content":"<p>Strip N digits. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"stripn","value":""},{"disabled":true,"description":{"content":"<p>Queue Priority. (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"qprio","value":""},{"disabled":true,"description":{"content":"<p>Force Codec. (Regex: /^(ulaw|alaw|g722|opus|g723|g726|g726aal2|g729|gsm|ilbc|speex|speex16|speex32|lpc10|h261|h263|h263p|h264)+$/)</p>\n","type":"text/plain"},"key":"codec","value":""},{"disabled":true,"description":{"content":"<p>Custom Ringtone. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"ringtone","value":""},{"disabled":true,"description":{"content":"<p>Record Call. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"recordcall","value":""},{"disabled":true,"description":{"content":"<p>County. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"state_text","value":""},{"disabled":true,"description":{"content":"<p>City. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"city","value":""},{"disabled":true,"description":{"content":"<p>Area Code. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"areacode","value":""},{"disabled":true,"description":{"content":"<p>Use DID as SMS number. (Regex: /^(1|0)$/)</p>\n","type":"text/plain"},"key":"sms_enabled","value":""},{"disabled":true,"description":{"content":"<p>Preserve Orginal Caller ID. (Regex: /^(1|0)$/)</p>\n","type":"text/plain"},"key":"preserve_callerid","value":""}],"variable":[]}},"response":[],"_postman_id":"b0873b99-88c0-4663-bd0c-96ee6116de78"},{"name":"Deleting DIDs","event":[{"listen":"test","script":{"id":"b8f66a53-dd1a-49e2-aebb-250a14e16687","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success response","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","","        // Print the result for each deleted DID","        console.log('Deleted DID:', responseBody.success);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"3d6b782c-eaf5-49e2-9f97-dc1499b2210c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.did.delete&server=1&id=15","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Use CSV file Add&amp;EditDIDs.csv and populate only Srv/TenantDIDs and DID-IDs column to delete more DIDs at one time.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.did.delete"},{"description":{"content":"<p>Server/Tenant ID. In Tenant Mode make sure this is always set to 1.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>DID ID</p>\n","type":"text/plain"},"key":"id","value":"15"}],"variable":[]}},"response":[],"_postman_id":"3d6b782c-eaf5-49e2-9f97-dc1499b2210c"}],"id":"c03b08c1-d463-4b5c-8ce2-dbc6c05927f8","description":"<p>Méthodes supportées :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>list</code></td>\n<td>- List des SDA</td>\n</tr>\n<tr>\n<td><code>add</code></td>\n<td>- Ajouter une nouvelle SDA</td>\n</tr>\n<tr>\n<td><code>edit</code></td>\n<td>- Editer une SDA existante</td>\n</tr>\n<tr>\n<td><code>delete</code></td>\n<td>- Supprimer une SDA existante</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"c03b08c1-d463-4b5c-8ce2-dbc6c05927f8"},{"name":"SMS","item":[{"name":"SMS Trunks","item":[{"name":"Adding SMS trunks","item":[{"name":"Telnyx","item":[{"name":"Adding SMS trunk","event":[{"listen":"test","script":{"id":"0dce75f4-74c6-4729-90b6-59eaad5697ad","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the result for the SMS trunk add request","        console.log('Success:', responseBody.success);","        console.log('SMS Trunk ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"0e923ac1-10ce-4b96-9581-cd1b0f9b78fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.add&enabled=&name=&provider=&api_key=&public_key=&messaging_profile_id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>For adding more trunks use CSV file TelnyxSMSTrunk.csv</p>\n","type":"text/plain"},"key":"action","value":"pbxware.sms.trunks.add"},{"description":{"content":"<p>Enabled (On=1, Off=0) (Required)</p>\n","type":"text/plain"},"key":"enabled","value":""},{"description":{"content":"<p>SMS Trunk Name (Required)</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>SMS Trunk Provider (telnyx, bandwidth, twilio, vi, ozsms) (Required)</p>\n","type":"text/plain"},"key":"provider","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Description</p>\n","type":"text/plain"},"key":"description","value":""},{"description":{"content":"<p>Telnyx API Key (Required for Telnyx)</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>Telnyx Public Key (Required for Telnyx)</p>\n","type":"text/plain"},"key":"public_key","value":""},{"description":{"content":"<p>Telnyx Messaging Profile ID (Required for Telnyx)</p>\n","type":"text/plain"},"key":"messaging_profile_id","value":""}],"variable":[]}},"response":[],"_postman_id":"0e923ac1-10ce-4b96-9581-cd1b0f9b78fd"}],"id":"15ede891-3d87-46b1-ba7f-6061628ab8d7","description":"<p>Telnyx SMS provider</p>\n","_postman_id":"15ede891-3d87-46b1-ba7f-6061628ab8d7"},{"name":"Bandwith","item":[{"name":"Adding SMS trunk","event":[{"listen":"test","script":{"id":"b1093b24-df08-4d03-9194-e334d8e7a3a2","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the result for the SMS trunk add request","        console.log('Success:', responseBody.success);","        console.log('SMS Trunk ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"1b23ea98-da83-45c1-8352-30c7aaad7ce2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.add&enabled=&name=&provider=&username=&password=&user_id=&app_id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.add"},{"description":{"content":"<p>Enabled (On=1, Off=0) (Required)</p>\n","type":"text/plain"},"key":"enabled","value":""},{"description":{"content":"<p>SMS Trunk Name (Required)</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>SMS Trunk Provider (telnyx, bandwidth, twilio, vi, ozsms) (Required)</p>\n","type":"text/plain"},"key":"provider","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Description</p>\n","type":"text/plain"},"key":"description","value":""},{"description":{"content":"<p>Bandwidth Username (Required for Bandwidth)</p>\n","type":"text/plain"},"key":"username","value":""},{"description":{"content":"<p>Bandwidth Password (Required for Bandwidth)</p>\n","type":"text/plain"},"key":"password","value":""},{"description":{"content":"<p>Bandwidth User ID (Required for Bandwidth)</p>\n","type":"text/plain"},"key":"user_id","value":""},{"description":{"content":"<p>Bandwidth APP ID (Required for Bandwidth)</p>\n","type":"text/plain"},"key":"app_id","value":""}],"variable":[]}},"response":[],"_postman_id":"1b23ea98-da83-45c1-8352-30c7aaad7ce2"}],"id":"a812925a-6ac7-47f9-9b11-f2670dd39666","description":"<p>Bandwith SMS provider</p>\n","_postman_id":"a812925a-6ac7-47f9-9b11-f2670dd39666"},{"name":"Twilio","item":[{"name":"Adding SMS trunk","event":[{"listen":"test","script":{"id":"9bf374d6-6690-46e0-a49d-1536c8a55b09","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the result for the SMS trunk add request","        console.log('Success:', responseBody.success);","        console.log('SMS Trunk ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"1e26c443-7638-4c5d-8b75-a0239046e422","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.add&enabled=&name=&provider=&account_sid=&auth_token=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.add"},{"description":{"content":"<p>Enabled (On=1, Off=0) (Required)</p>\n","type":"text/plain"},"key":"enabled","value":""},{"description":{"content":"<p>SMS Trunk Name (Required)</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>SMS Trunk Provider (telnyx, bandwidth, twilio, vi, ozsms) (Required)</p>\n","type":"text/plain"},"key":"provider","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Description</p>\n","type":"text/plain"},"key":"description","value":""},{"description":{"content":"<p>Twilio Account SID (Required for Twilio)</p>\n","type":"text/plain"},"key":"account_sid","value":""},{"description":{"content":"<p>Twilio authorization token (Required for Twilio)</p>\n","type":"text/plain"},"key":"auth_token","value":""}],"variable":[]}},"response":[],"_postman_id":"1e26c443-7638-4c5d-8b75-a0239046e422"}],"id":"71bd25d0-59c5-4df2-993a-a93c2800df59","description":"<p>Twilio SMS provider</p>\n","_postman_id":"71bd25d0-59c5-4df2-993a-a93c2800df59"},{"name":"Voip Innovations","item":[{"name":"Adding SMS trunk","event":[{"listen":"test","script":{"id":"fddb53ac-5261-4713-9c46-11e2aa7d8f2c","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the result for the SMS trunk add request","        console.log('Success:', responseBody.success);","        console.log('SMS Trunk ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"a30babe5-2354-4545-abee-e1f2665c0298","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.add&enabled=&name=&provider=&secret=&login=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.add"},{"description":{"content":"<p>Enabled (On=1, Off=0) (Required)</p>\n","type":"text/plain"},"key":"enabled","value":""},{"description":{"content":"<p>SMS Trunk Name (Required)</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>SMS Trunk Provider (telnyx, bandwidth, twilio, vi, ozsms) (Required)</p>\n","type":"text/plain"},"key":"provider","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Description</p>\n","type":"text/plain"},"key":"description","value":""},{"description":{"content":"<p>Voip Innovations secret (Required for Voip Innovations)</p>\n","type":"text/plain"},"key":"secret","value":""},{"description":{"content":"<p>Voip Innovations login (Required for Voip Innovations)</p>\n","type":"text/plain"},"key":"login","value":""}],"variable":[]}},"response":[],"_postman_id":"a30babe5-2354-4545-abee-e1f2665c0298"}],"id":"a219a0a3-2d60-463f-a62a-4bc3a4973b91","description":"<p>Voip Innovations SMS provider</p>\n","_postman_id":"a219a0a3-2d60-463f-a62a-4bc3a4973b91"},{"name":"OZ SMS","item":[{"name":"Adding SMS trunk","event":[{"listen":"test","script":{"id":"dbd6a182-18b3-41d2-b2d7-59af15d8fda8","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the result for the SMS trunk add request","        console.log('Success:', responseBody.success);","        console.log('SMS Trunk ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"e2510eb0-f474-4452-b0e0-29ee973a1f1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.add&enabled=&name=&provider=&api_key=&username=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.add"},{"description":{"content":"<p>Enabled (On=1, Off=0) (Required)</p>\n","type":"text/plain"},"key":"enabled","value":""},{"description":{"content":"<p>SMS Trunk Name (Required)</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>SMS Trunk Provider (telnyx, bandwidth, twilio, vi, ozsms) (Required)</p>\n","type":"text/plain"},"key":"provider","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Description</p>\n","type":"text/plain"},"key":"description","value":""},{"description":{"content":"<p>OZ SMS Api Key</p>\n","type":"text/plain"},"key":"api_key","value":""},{"description":{"content":"<p>OZ SMS username</p>\n","type":"text/plain"},"key":"username","value":""}],"variable":[]}},"response":[],"_postman_id":"e2510eb0-f474-4452-b0e0-29ee973a1f1f"}],"id":"f262041a-a313-4ba8-9cc6-cde15abb81cf","_postman_id":"f262041a-a313-4ba8-9cc6-cde15abb81cf","description":""}],"id":"e16992ca-abf4-4055-bdbf-3edce4373ef6","_postman_id":"e16992ca-abf4-4055-bdbf-3edce4373ef6","description":""},{"name":"Editing SMS trunks","item":[{"name":"Telnyx","item":[{"name":"Editing SMS trunk","event":[{"listen":"test","script":{"exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the result for the SMS trunk add request","        console.log('Success:', responseBody.success);","        console.log('SMS Trunk ID:', responseBody.id);","    });","}",""],"type":"text/javascript","id":"f9690b80-2ce6-458f-80d2-d1277d5e75af"}}],"id":"bc68bf85-b6ca-493e-bb0f-408a91ac51eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.edit&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>For editing more trunks use CSV file SMSTrunkIDs.csv</p>\n","type":"text/plain"},"key":"action","value":"pbxware.sms.trunks.edit"},{"description":{"content":"<p>SMS Trunk ID (use csv file SMSTrunkIDs.csv)</p>\n","type":"text/plain"},"key":"id","value":""},{"disabled":true,"description":{"content":"<p>Enabled (On=1, Off=0) (Required)</p>\n","type":"text/plain"},"key":"enabled","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Name (Required)</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Provider (telnyx, bandwidth, twilio, vi, ozsms) (Required)</p>\n","type":"text/plain"},"key":"provider","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Description</p>\n","type":"text/plain"},"key":"description","value":""},{"disabled":true,"description":{"content":"<p>Telnyx API Key (Required for Telnyx)</p>\n","type":"text/plain"},"key":"api_key","value":""},{"disabled":true,"description":{"content":"<p>Telnyx Public Key (Required for Telnyx)</p>\n","type":"text/plain"},"key":"public_key","value":""},{"disabled":true,"description":{"content":"<p>Telnyx Messaging Profile ID (Required for Telnyx)</p>\n","type":"text/plain"},"key":"messaging_profile_id","value":""}],"variable":[]}},"response":[],"_postman_id":"bc68bf85-b6ca-493e-bb0f-408a91ac51eb"}],"id":"6f129a38-6186-4c06-b296-e60f62fefd5d","description":"<p>Telnyx SMS provider</p>\n","_postman_id":"6f129a38-6186-4c06-b296-e60f62fefd5d"},{"name":"Bandwith","item":[{"name":"Editing SMS trunk","event":[{"listen":"test","script":{"exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the result for the SMS trunk add request","        console.log('Success:', responseBody.success);","        console.log('SMS Trunk ID:', responseBody.id);","    });","}",""],"type":"text/javascript","id":"760199ad-e6af-4035-b39a-e22082c9e8b0"}}],"id":"e79197a7-1d58-484a-8286-abc0ca50afce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.edit&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.edit"},{"description":{"content":"<p>Use CSV file to edit more Bandwith Trunks at once (SMSTrunkIDs.csv)</p>\n","type":"text/plain"},"key":"id","value":""},{"disabled":true,"description":{"content":"<p>Enabled (On=1, Off=0) (Required)</p>\n","type":"text/plain"},"key":"enabled","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Name (Required)</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Provider (telnyx, bandwidth, twilio, vi, ozsms) (Required)</p>\n","type":"text/plain"},"key":"provider","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Description</p>\n","type":"text/plain"},"key":"description","value":""},{"disabled":true,"description":{"content":"<p>Bandwidth Username (Required for Bandwidth)</p>\n","type":"text/plain"},"key":"username","value":""},{"disabled":true,"description":{"content":"<p>Bandwidth Password (Required for Bandwidth)</p>\n","type":"text/plain"},"key":"password","value":""},{"disabled":true,"description":{"content":"<p>Bandwidth User ID (Required for Bandwidth)</p>\n","type":"text/plain"},"key":"user_id","value":""},{"disabled":true,"description":{"content":"<p>Bandwidth APP ID (Required for Bandwidth)</p>\n","type":"text/plain"},"key":"app_id","value":""}],"variable":[]}},"response":[],"_postman_id":"e79197a7-1d58-484a-8286-abc0ca50afce"}],"id":"8c25a1b1-3cc5-4307-a76e-839c74ad8f54","description":"<p>Bandwith SMS provider</p>\n","_postman_id":"8c25a1b1-3cc5-4307-a76e-839c74ad8f54"},{"name":"Twilio","item":[{"name":"Editing SMS trunk","event":[{"listen":"test","script":{"exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the result for the SMS trunk add request","        console.log('Success:', responseBody.success);","        console.log('SMS Trunk ID:', responseBody.id);","    });","}",""],"type":"text/javascript","id":"e66f4588-11ab-4a91-893c-61f1323defc8"}}],"id":"50035389-f98f-405e-8fd9-2f3c2f1c94c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.edit&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.edit"},{"description":{"content":"<p>Use CSV file to edit more Twilio trunks at once (SMSTrunkIDs.csv)</p>\n","type":"text/plain"},"key":"id","value":""},{"disabled":true,"description":{"content":"<p>Enabled (On=1, Off=0) (Required)</p>\n","type":"text/plain"},"key":"enabled","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Name (Required)</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Provider (telnyx, bandwidth, twilio, vi, ozsms) (Required)</p>\n","type":"text/plain"},"key":"provider","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Description</p>\n","type":"text/plain"},"key":"description","value":""},{"disabled":true,"description":{"content":"<p>Twilio Account SID (Required for Twilio)</p>\n","type":"text/plain"},"key":"account_sid","value":""},{"disabled":true,"description":{"content":"<p>Twilio authorization token (Required for Twilio)</p>\n","type":"text/plain"},"key":"auth_token","value":""}],"variable":[]}},"response":[],"_postman_id":"50035389-f98f-405e-8fd9-2f3c2f1c94c3"}],"id":"766026cc-b2a8-45c3-8060-924bde14baf9","description":"<p>Twilio SMS provider</p>\n","_postman_id":"766026cc-b2a8-45c3-8060-924bde14baf9"},{"name":"Voip Innovations","item":[{"name":"Editing SMS trunk","event":[{"listen":"test","script":{"exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the result for the SMS trunk add request","        console.log('Success:', responseBody.success);","        console.log('SMS Trunk ID:', responseBody.id);","    });","}",""],"type":"text/javascript","id":"3f7fade5-0390-47c2-a287-d5cc5fa7c33d"}}],"id":"cd3a512d-c559-4deb-a7b4-10c5638fe274","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.edit&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.edit"},{"description":{"content":"<p>Use CSV file to edit more Twilio trunks at once (SMSTrunkIDs.csv)</p>\n","type":"text/plain"},"key":"id","value":""},{"disabled":true,"description":{"content":"<p>Enabled (On=1, Off=0) (Required)</p>\n","type":"text/plain"},"key":"enabled","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Name (Required)</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Provider (telnyx, bandwidth, twilio, vi, ozsms) (Required)</p>\n","type":"text/plain"},"key":"provider","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Description</p>\n","type":"text/plain"},"key":"description","value":""},{"disabled":true,"description":{"content":"<p>Voip Innovations secret (Required for Voip Innovations)</p>\n","type":"text/plain"},"key":"secret","value":""},{"disabled":true,"description":{"content":"<p>Voip Innovations login (Required for Voip Innovations)</p>\n","type":"text/plain"},"key":"login","value":""}],"variable":[]}},"response":[],"_postman_id":"cd3a512d-c559-4deb-a7b4-10c5638fe274"}],"id":"642495ae-81f1-43fd-8bf9-9770d2ed51bd","description":"<p>Voip Innovations SMS provider</p>\n","_postman_id":"642495ae-81f1-43fd-8bf9-9770d2ed51bd"},{"name":"OZ SMS","item":[{"name":"Editing SMS trunk","event":[{"listen":"test","script":{"exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the result for the SMS trunk add request","        console.log('Success:', responseBody.success);","        console.log('SMS Trunk ID:', responseBody.id);","    });","}",""],"type":"text/javascript","id":"876b0380-0ee2-46f2-acb1-5274d3e7e465"}}],"id":"f7b76c75-35a8-4df1-bc7c-3c327987acc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.edit&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.edit"},{"description":{"content":"<p>Use CSV file to edit more Oz SMS trunks at once (SMSTrunkIDs.csv)</p>\n","type":"text/plain"},"key":"id","value":""},{"disabled":true,"description":{"content":"<p>Enabled (On=1, Off=0) (Required)</p>\n","type":"text/plain"},"key":"enabled","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Name (Required)</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Provider (telnyx, bandwidth, twilio, vi, ozsms) (Required)</p>\n","type":"text/plain"},"key":"provider","value":""},{"disabled":true,"description":{"content":"<p>SMS Trunk Description</p>\n","type":"text/plain"},"key":"description","value":""},{"disabled":true,"description":{"content":"<p>OZ SMS Api Key</p>\n","type":"text/plain"},"key":"api_key","value":""},{"disabled":true,"description":{"content":"<p>OZ SMS username</p>\n","type":"text/plain"},"key":"username","value":""}],"variable":[]}},"response":[],"_postman_id":"f7b76c75-35a8-4df1-bc7c-3c327987acc2"}],"id":"c1c8d034-f44a-4773-9d2c-a882f3a384fb","_postman_id":"c1c8d034-f44a-4773-9d2c-a882f3a384fb","description":""}],"id":"ded8cd02-f44d-489f-b081-f76449e32fdf","_postman_id":"ded8cd02-f44d-489f-b081-f76449e32fdf","description":""},{"name":"SMS Trunks List","event":[{"listen":"test","script":{"id":"46bab629-ef8c-44fd-875a-a6829ed7a3c7","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        ","        // Initialize an array to store SMS trunk IDs","        var smsTrunkIDs = [];","        ","        // Loop through SMS trunk data","        for (var trunkID in responseBody) {","            var trunkData = responseBody[trunkID];","            ","            // Validate specific properties for each SMS trunk","            pm.test('SMS Trunk ' + trunkID + ' Data Validation', function () {","                pm.expect(trunkData).to.be.an('object');","                pm.expect(trunkData).to.have.property('name').that.is.a('string');","                pm.expect(trunkData).to.have.property('provider').that.is.a('string');","                ","                // Print the result for each SMS trunk","                console.log('Trunk ID:', trunkID);","                console.log('SMS Trunk Name:', trunkData.name);","                console.log('SMS Provider:', trunkData.provider);","                ","                // Push the SMS trunk ID to the array","                smsTrunkIDs.push(trunkID);","            });","        }","        ","        // Set the SMS trunk IDs array to collection and environment variables","        pm.collectionVariables.set('SMSTrunkIDs', smsTrunkIDs);","        pm.environment.set('SMSTrunkIDs', smsTrunkIDs);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"1ff12352-f87a-4f70-9289-2ea6795bc68a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.list","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.list"}],"variable":[]}},"response":[],"_postman_id":"1ff12352-f87a-4f70-9289-2ea6795bc68a"},{"name":"SMS Trunk Configuration","event":[{"listen":"test","script":{"id":"628290ff-38b7-4c08-981c-048cfc116ab1","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","        pm.expect(responseBody).to.have.property('enabled').that.is.a('number');","        pm.expect(responseBody).to.have.property('name').that.is.a('string');","        pm.expect(responseBody).to.have.property('provider').that.is.a('string');","        pm.expect(responseBody).to.have.property('description').that.is.a('string');","","        // Commented out validation for provider-specific fields","        /*","        if (responseBody.provider === 'telnyx') {","            pm.expect(responseBody).to.have.property('api_key').that.is.a('string');","            pm.expect(responseBody).to.have.property('public_key').that.is.a('string');","            pm.expect(responseBody).to.have.property('messaging_profile_id').that.is.a('string');","        } else {","            // Add validation for other providers if needed","        }","        */","","        // Print the result for the SMS trunk configuration","        console.log('SMS Trunk ID:', responseBody.id);","        console.log('Enabled:', responseBody.enabled);","        console.log('SMS Trunk Name:', responseBody.name);","        console.log('SMS Trunk Provider:', responseBody.provider);","        console.log('Description:', responseBody.description);","","        // Commented out printing of provider-specific fields","        /*","        if (responseBody.provider === 'telnyx') {","            console.log('API Key:', responseBody.api_key);","            console.log('Public Key:', responseBody.public_key);","            console.log('Messaging Profile ID:', responseBody.messaging_profile_id);","        }","        */","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"1014c4ee-0bcb-48b1-abc8-3fe17d54ee74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.configuration&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Configuration of specific SMS Trunk</p>\n","type":"text/plain"},"key":"action","value":"pbxware.sms.trunks.configuration"},{"description":{"content":"<p>If we want configurations of all trunks, we should use CSV file with list of all SMSM trunks IDs.</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"1014c4ee-0bcb-48b1-abc8-3fe17d54ee74"},{"name":"Deleting SMS Trunks","event":[{"listen":"test","script":{"id":"36990333-884e-48f8-b60f-9646714f0fb5","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success response","    pm.test('Successful Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        console.log('Success:', responseBody.success);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"cda12737-f6f6-4757-9c5e-289eac7d9c21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.delete&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.delete"},{"description":{"content":"<p>ID of trunk we want to delete. (Use SMSTrunkIDs.csv if want to delete more trunks at once)</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"cda12737-f6f6-4757-9c5e-289eac7d9c21"}],"id":"b885c0a6-235a-46da-95ba-c90a65395d68","_postman_id":"b885c0a6-235a-46da-95ba-c90a65395d68","description":""},{"name":"SMS Trunks&Tenants","item":[{"name":"List","event":[{"listen":"test","script":{"id":"21e75b8e-fc9a-4bd7-8e26-8d94a916a94f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Loop through tenant SMS trunk data","        for (var tenantID in responseBody) {","            var tenantData = responseBody[tenantID];","","            // Validate specific properties for each tenant SMS trunk","            pm.test('Tenant ' + tenantID + ' SMS Trunk Data Validation', function () {","                pm.expect(tenantData).to.be.an('object');","","                // Print the result for each tenant SMS trunk","                console.log('Tenant ID:', tenantID);","                console.log('ID:', tenantData.id);","                console.log('Enabled:', tenantData.enabled);","                console.log('Name:', tenantData.name);","                console.log('Provider:', tenantData.provider);","            });","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"00e3815b-055f-4fce-9b08-f3fa1b410608","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.tenants.list","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>List SMS Trunks per Tenant</p>\n","type":"text/plain"},"key":"action","value":"pbxware.sms.trunks.tenants.list"}],"variable":[]}},"response":[],"_postman_id":"00e3815b-055f-4fce-9b08-f3fa1b410608"},{"name":"Get Tenants SMS trunk","event":[{"listen":"test","script":{"id":"21dc14ce-f5ef-4930-9137-7c5c061ce8ce","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Validate specific properties for the SMS trunk tenant","        pm.test('SMS Trunk per Tenant Data Validation', function () {","            pm.expect(responseBody).to.have.property('id').that.is.a('string');","            pm.expect(responseBody).to.have.property('enabled').that.is.a('string');","            pm.expect(responseBody).to.have.property('name').that.is.a('string');","            pm.expect(responseBody).to.have.property('provider').that.is.a('string');","        });","","        // Print the result for the SMS trunk tenant","        console.log('Tenant ID:', responseBody.id);","        console.log('Enabled:', responseBody.enabled);","        console.log('Name:', responseBody.name);","        console.log('Provider:', responseBody.provider);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"de9bfaa1-d280-432f-8639-503bb78ceda1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.tenants.get&tenant=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.tenants.get"},{"description":{"content":"<p>Tenant ID (Required) (Use SrvTenantIDs.csv file to get trunks of more tenants at once)</p>\n","type":"text/plain"},"key":"tenant","value":"1"}],"variable":[]}},"response":[],"_postman_id":"de9bfaa1-d280-432f-8639-503bb78ceda1"},{"name":"Set Tenants SMS trunk","event":[{"listen":"test","script":{"id":"57f1f9b6-ec49-4df8-b917-ec02309cc259","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the successful response","    pm.test('Successful Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        console.log('Success:', responseBody.success);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"91b1ef1f-bff1-43f0-bfed-0feedbe3aaf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.trunks.tenants.set&tenant=1&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.trunks.tenants.set"},{"description":{"content":"<p>Tenant ID (Required)</p>\n","type":"text/plain"},"key":"tenant","value":"1"},{"description":{"content":"<p>SMS Trunk ID. (Use CSV file SMSTrunk&amp;TenantIDs.csv for setting list of trunks)</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"91b1ef1f-bff1-43f0-bfed-0feedbe3aaf2"}],"id":"1f6f1316-a33b-4f64-98a7-6eb2603f0003","_postman_id":"1f6f1316-a33b-4f64-98a7-6eb2603f0003","description":""},{"name":"SMS reports list","event":[{"listen":"test","script":{"id":"c3215218-2b2f-46c5-8448-7075be06efbe","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else if (Array.isArray(responseBody) && responseBody.length === 0) {","    console.error(\"Test Failed: There is no reports for selected Date/Time range!\");","    pm.test('No Reports Found', function () {","        pm.expect.fail(\"There is no reports for selected Date/Time range!\");","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Iterate through each SMS report entry","        for (var reportId in responseBody) {","            var smsReport = responseBody[reportId];","","            pm.test('SMS Report ' + reportId + ' Validation', function () {","                pm.expect(smsReport).to.be.an('object');","                pm.expect(smsReport).to.have.property('server').that.is.a('string');","                pm.expect(smsReport).to.have.property('provider').that.is.a('string');","                pm.expect(smsReport).to.have.property('from').that.is.a('string');","                pm.expect(smsReport).to.have.property('to').that.is.a('string');","                pm.expect(smsReport).to.have.property('direction').that.is.a('string');","                pm.expect(smsReport).to.have.property('date/time').that.is.a('string');","                pm.expect(smsReport).to.have.property('status').that.is.a('string');","                pm.expect(smsReport).to.have.property('error').that.is.a('string');","                pm.expect(smsReport).to.have.property('type').that.is.a('string');","            });","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"50915f54-79b3-41fe-b2fb-5aad0c318928","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.reports.list&start_date=Oct-19-2023&end_date=Oct-19-2023","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.reports.list"},{"description":{"content":"<p>Start Date (Required). Format is: mmm-dd-YYYY (e.g., Feb-01-2009). (Regex: /^(?i:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-([0-2][0-9]|3[01])-\\d{4}$/)</p>\n","type":"text/plain"},"key":"start_date","value":"Oct-19-2023"},{"description":{"content":"<p>End Date (Required). Format is: mmm-dd-YYYY (e.g., Feb-01-2009). Regex: /^(?i:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-([0-2][0-9]|3[01])-\\d{4}$/)</p>\n","type":"text/plain"},"key":"end_date","value":"Oct-19-2023"},{"disabled":true,"description":{"content":"<p>Start Time. Format is: hh:mm:ss (e.g., 23:59:59). Default value is 00:00:00. (Regex: /^((2[0-3])|([0-1][0-9])):[0-5][0-9]:[0-5][0-9]$/)</p>\n","type":"text/plain"},"key":"start_time","value":"09:25:00"},{"disabled":true,"description":{"content":"<p>End Time. Format is: hh:mm:ss (e.g., 23:59:59). Default value is 23:59:59. (Regex: /^((2[0-3])|([0-1][0-9])):[0-5][0-9]:[0-5][0-9]$/)</p>\n","type":"text/plain"},"key":"end_time","value":"09:26:00"},{"disabled":true,"description":{"content":"<p>Direction. Filter by two available directions (Inbound, Outbound)</p>\n","type":"text/plain"},"key":"direction","value":"Outbound"},{"disabled":true,"description":{"content":"<p>From Filter by number from which SMS was sent. (Regex: /^\\d{1,16}$/)</p>\n","type":"text/plain"},"key":"from_number","value":""},{"disabled":true,"description":{"content":"<p>To. Filter by number to which SMS was sent. (Regex: /^\\d{1,16}$/)</p>\n","type":"text/plain"},"key":"to_number","value":""},{"disabled":true,"description":{"content":"<p>Type - Filter by two available types (SMS, MMS). (Regex: /^(?i)(SMS|MMS)$/)</p>\n","type":"text/plain"},"key":"type","value":""},{"disabled":true,"description":{"content":"<p>Server ID. Filter by Server ID</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"50915f54-79b3-41fe-b2fb-5aad0c318928"},{"name":"Bulk SMS reports list","event":[{"listen":"test","script":{"id":"cf9f924c-fc65-4902-b0c3-615fdac85b10","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else if (Array.isArray(responseBody) && responseBody.length === 0) {","    console.error(\"Test Failed: There are no bulk SMS reports for the selected Date/Time range!\");","    pm.test('No Bulk SMS Reports Found', function () {","        pm.expect.fail(\"There are no bulk SMS reports for the selected Date/Time range!\");","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Iterate through each bulk SMS report entry","        for (var reportId in responseBody) {","            var bulkSMSReport = responseBody[reportId];","","            pm.test('Bulk SMS Report ' + reportId + ' Validation', function () {","                pm.expect(bulkSMSReport).to.be.an('object');","                pm.expect(bulkSMSReport).to.have.property('name').that.is.a('string');","                pm.expect(bulkSMSReport).to.have.property('sent').that.is.a('string');","                pm.expect(bulkSMSReport).to.have.property('failed').that.is.a('string');","                pm.expect(bulkSMSReport).to.have.property('time_start').that.is.a('string');","                pm.expect(bulkSMSReport).to.have.property('time_end').that.is.a('string');","                pm.expect(bulkSMSReport).to.have.property('from').that.is.a('string');","                pm.expect(bulkSMSReport).to.have.property('csv_file').that.is.a('string');","                pm.expect(bulkSMSReport).to.have.property('status').that.is.a('string');","                pm.expect(bulkSMSReport).to.have.property('message').that.is.a('string');","            });","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"025e89cf-bb94-43c5-8020-e495e2992ad8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.sms.reports.bulk_list&start_date=Oct-19-2023&end_date=Oct-19-2023&start_time=09:21:00&end_time=09:26:00","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.sms.reports.bulk_list"},{"description":{"content":"<p>Start Date (Required). Format is: mmm-dd-YYYY (e.g., Feb-01-2009). (Regex: /^(?i:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-([0-2][0-9]|3[01])-\\d{4}$/)</p>\n","type":"text/plain"},"key":"start_date","value":"Oct-19-2023"},{"description":{"content":"<p>End Date (Required). Format is: mmm-dd-YYYY (e.g., Feb-01-2009). Regex: /^(?i:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-([0-2][0-9]|3[01])-\\d{4}$/)</p>\n","type":"text/plain"},"key":"end_date","value":"Oct-19-2023"},{"description":{"content":"<p>Start Time. Format is: hh:mm:ss (e.g., 23:59:59). Default value is 00:00:00. (Regex: /^((2[0-3])|([0-1][0-9])):[0-5][0-9]:[0-5][0-9]$/)</p>\n","type":"text/plain"},"key":"start_time","value":"09:21:00"},{"description":{"content":"<p>End Time. Format is: hh:mm:ss (e.g., 23:59:59). Default value is 23:59:59. (Regex: /^((2[0-3])|([0-1][0-9])):[0-5][0-9]:[0-5][0-9]$/)</p>\n","type":"text/plain"},"key":"end_time","value":"09:26:00"},{"disabled":true,"description":{"content":"<p>Status-Filter by available statuses (Active, Paused, Stopped, Completed). (Regex: /^(?i)(Active|Paused|Stopped|Completed)$/)</p>\n","type":"text/plain"},"key":"status","value":"Completed"},{"disabled":true,"description":{"content":"<p>Name-Filter by name of campaign. (Regex: /^.{1,100}$/)</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>Server ID. Filter by Server ID</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"025e89cf-bb94-43c5-8020-e495e2992ad8"}],"id":"88e5f663-1384-415d-b45f-a1223842518f","description":"<h1 id=\"sms\">SMS</h1>\n<p>Supported Methods:</p>\n<p><code>reports</code>- SMS and Bulk SMS reports</p>\n<p><code>trunks</code> - SMS Trunks management</p>\n<p><code>trunks.tenants</code> - SMS Trunks &amp; Tenants management</p>\n<h1 id=\"sms-and-bulk-sms-reports\">SMS and Bulk SMS reports</h1>\n<p>Supported Methods:<br /><code>list</code> - List SMS</p>\n<p><code>bulk_list</code> - List Bulk SMS</p>\n<h1 id=\"sms-trunks\">SMS Trunks</h1>\n<p>Supported Methods:</p>\n<p><code>list</code> - List SMS Trunks</p>\n<p><code>configuration</code> - Configuration of specific SMS Trunk</p>\n<p><code>add</code> - Add SMS Trunk</p>\n<p><code>edit</code> - Edit SMS Trunk</p>\n<p><code>delete</code> - Delete SMS Trunk</p>\n<h1 id=\"sms-trunks--tenants\">SMS Trunks &amp; Tenants</h1>\n<p>Supported Methods:</p>\n<p><code>list</code> - List SMS Trunks &amp; Tenants</p>\n<p><code>get</code> - Get Tenant’s SMS Trunk</p>\n<p><code>set</code> - Set Tenant’s SMS Trunk</p>\n","_postman_id":"88e5f663-1384-415d-b45f-a1223842518f"},{"name":"UADs","item":[{"name":"Listing UADs","event":[{"listen":"test","script":{"id":"60468f18-821d-4cd1-a601-1080ba9e39a4","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Iterate through each UAD in the response","        for (var uadId in responseBody) {","            if (responseBody.hasOwnProperty(uadId)) {","                var uad = responseBody[uadId];","","                pm.test('UAD ' + uadId + ' Validation', function () {","                    pm.expect(uad).to.be.an('object');","                    pm.expect(uad).to.have.property('name').that.is.a('string');","                    pm.expect(uad).to.have.property('fullname').that.is.a('string');","                    pm.expect(uad).to.have.property('enabled').that.is.a('boolean');","                });","            }","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"90a248d1-43d1-4e0d-90e4-65bfc86069df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.uads.list&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.uads.list"},{"description":{"content":"<p>Tenant ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"90a248d1-43d1-4e0d-90e4-65bfc86069df"},{"name":"Activating UADs","event":[{"listen":"test","script":{"id":"c775e1ab-db81-4f4d-8af6-f20198055a3f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('UAD ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"ccc34ec6-1dfb-48d2-ab59-68a0b2f2b0fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.uads.activate&server=1&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.uads.activate"},{"description":{"content":"<p>Server/Tenant ID. (Regex: /^\\d+$/</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>UAD ID. (Regex: /^\\d+$/</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"ccc34ec6-1dfb-48d2-ab59-68a0b2f2b0fe"},{"name":"Deactivating UADs","event":[{"listen":"test","script":{"id":"6b20e41a-0280-421d-bb20-5ef18febce89","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('UAD ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"f1011392-c5f8-449a-829c-88a961a2c775","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.uads.deactivate&server=1&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.uads.deactivate"},{"description":{"content":"<p>Server/Tenant ID. (Regex: /^\\d+$/</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>UAD ID. (Regex: /^\\d+$/</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"f1011392-c5f8-449a-829c-88a961a2c775"}],"id":"ab73f004-88ac-4787-a6fa-5ffaaab6eb73","description":"<p>Supported Methods</p>\n<p><code>list</code></p>\n<p>List UADs</p>\n<p><code>activate</code></p>\n<p>Activate UAD</p>\n<p><code>deactivate</code></p>\n<p>Deactivate UAD</p>\n","_postman_id":"ab73f004-88ac-4787-a6fa-5ffaaab6eb73"},{"name":"Groupes de SDAs","item":[{"name":"Listing DID groups","event":[{"listen":"test","script":{"id":"686f677f-0e88-4197-9bcf-cd4faaaa6009","exec":["pm.collectionVariables.unset(\"DIDGroupID\");","pm.environment.unset(\"DIDGroupID\");","","// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response is an empty array","    if (Array.isArray(responseBody) && responseBody.length === 0) {","        console.log(\"There is no DID groups to show!\");","        pm.test('No DID Groups Found', function () {","            pm.expect.fail(\"No DID groups found\");","        });","    } else {","        // Validate the response structure","        pm.test('Response Validation', function () {","            pm.expect(responseBody).to.be.an('object');","","            // Get the existing DID group IDs array from the environment","            var didGroupIDs = pm.collectionVariables.get('DIDGroupID') || [];","","            // Loop through DID group data","            for (var groupID in responseBody) {","                var groupData = responseBody[groupID];","","                // Save the group ID to the DID group IDs array","                didGroupIDs.push(groupID);","","                // Validate specific properties for each DID group","                pm.test('DID Group ' + groupID + ' Data Validation', function () {","                    pm.expect(groupData).to.be.an('object');","                    pm.expect(groupData).to.have.property('group_name').that.is.a('string');","                    pm.expect(groupData).to.have.property('max_did').that.is.a('string');","                    pm.expect(groupData).to.have.property('min_did').that.is.a('string');","                    pm.expect(groupData).to.have.property('tenant').that.is.a('string');","","                    // Print the result for each DID group","                    console.log('Group ID:', groupID);","                    console.log('Group Name:', groupData.group_name);","                    console.log('Max DID:', groupData.max_did);","                    console.log('Min DID:', groupData.min_did);","                    console.log('Tenant:', groupData.tenant);","                });","            }","","            // Update the DID group IDs array in the environment","            pm.collectionVariables.set('DIDGroupID', didGroupIDs);","            pm.environment.set('DIDGroupID', didGroupIDs);","        });","    }","}"],"type":"text/javascript","packages":{}}}],"id":"7e2b75d6-f9bf-41a9-8806-420f2091eae0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.didgroup.list","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Listing of DID groups, by default, will include all DID groups.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.didgroup.list"}],"variable":[]}},"response":[],"_postman_id":"7e2b75d6-f9bf-41a9-8806-420f2091eae0"},{"name":"Adding DID Groups","event":[{"listen":"test","script":{"id":"5e2f0346-e78b-4827-8dbd-14b9fa670b7d","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('DID Group ID:', responseBody.id);","","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"6b820cc8-a04b-4e71-8a1a-3c125ccace66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.didgroup.add&server=1&group_name=&tenantid=1&min_did=&max_did=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>For Add few DID groups use CSV file DIDGroup.csv</p>\n","type":"text/plain"},"key":"action","value":"pbxware.didgroup.add"},{"description":{"content":"<p>Always must be set to 1. (Required)</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>DID Group Name (Required). (Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"group_name","value":""},{"description":{"content":"<p>Tenant ID that DID group is mapped to. (Required). (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"tenantid","value":"1"},{"description":{"content":"<p>DID Group range start (Required) (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"min_did","value":""},{"description":{"content":"<p>DID Group range end (Required) (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"max_did","value":""}],"variable":[]}},"response":[],"_postman_id":"6b820cc8-a04b-4e71-8a1a-3c125ccace66"},{"name":"Editing DID Groups","event":[{"listen":"test","script":{"id":"957e1658-353a-4e95-aa9c-2b32672e3968","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('DID Group ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"690812a3-c451-4351-8f9c-2f31f92a4228","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.didgroup.edit&server=1&id={{DIDGroupID}}&group_name=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>For Editing few DID groups use CSV file DIDGroup.csv</p>\n","type":"text/plain"},"key":"action","value":"pbxware.didgroup.edit"},{"description":{"content":"<p>Always must be set to 1.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>DID Group ID</p>\n","type":"text/plain"},"key":"id","value":"{{DIDGroupID}}"},{"description":{"content":"<p>DID Group Name. (Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"group_name","value":""},{"disabled":true,"description":{"content":"<p>Tenant ID that DID group is mapped to. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"tenantid","value":""},{"disabled":true,"description":{"content":"<p>DID Group range start. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"min_did","value":""},{"disabled":true,"description":{"content":"<p>DID Group range end. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"max_did","value":""}],"variable":[]}},"response":[],"_postman_id":"690812a3-c451-4351-8f9c-2f31f92a4228"},{"name":"Deleting DID Groups","event":[{"listen":"test","script":{"id":"fe57a498-287b-4cad-9d16-e884615f5c4e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success message","    pm.test('Success Message Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        console.log('Success:', responseBody.success);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"9017a663-830d-40d5-b8fb-5423e22b5d20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.didgroup.delete&server=1&id={{DIDGroupID}}","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>For Deleting few DID groups use CSV file DIDGroup.csv</p>\n","type":"text/plain"},"key":"action","value":"pbxware.didgroup.delete"},{"description":{"content":"<p>Always must be set to 1.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>DID Group ID</p>\n","type":"text/plain"},"key":"id","value":"{{DIDGroupID}}"}],"variable":[]}},"response":[],"_postman_id":"9017a663-830d-40d5-b8fb-5423e22b5d20"}],"id":"b79dc444-4f65-4097-9fce-acd4daff8de9","description":"<p>Méthodes supportées :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>list</code></td>\n<td>- List des Group de SDA</td>\n</tr>\n<tr>\n<td><code>add</code></td>\n<td>- Ajouter un nouveau Group de SDA</td>\n</tr>\n<tr>\n<td><code>edit</code></td>\n<td>- Editer un Group de SDA existant</td>\n</tr>\n<tr>\n<td><code>delete</code></td>\n<td>- Supprimer un group de SDA existant</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"b79dc444-4f65-4097-9fce-acd4daff8de9"},{"name":"Service Plans","item":[{"name":"Listing Service Plans","event":[{"listen":"test","script":{"id":"3dfcbfe3-95be-48b1-846a-ca2e17dcf84c","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response is an empty array","    if (Array.isArray(responseBody) && responseBody.length === 0) {","        console.error(\"Test Failed: There is no service plan created on Server!\");","        pm.test('Empty Response', function () {","            pm.expect.fail(\"There is no service plan created on this Server!\");","        });","    } else {","        // Validate the response structure","        pm.test('Response Validation', function () {","            pm.expect(responseBody).to.be.an('object');","","            // Iterate through each Service Plan","            for (var key in responseBody) {","                if (responseBody.hasOwnProperty(key)) {","                    var servicePlan = responseBody[key];","","                    pm.test('Service Plan ' + servicePlan.name + ' Validation', function () {","                        pm.expect(servicePlan).to.be.an('object');","                        pm.expect(servicePlan).to.have.property('name').that.is.a('string');","                        pm.expect(servicePlan).to.have.property('tbd').that.is.a('string');","                        pm.expect(servicePlan).to.have.property('min_charge').that.is.a('string');","                        pm.expect(servicePlan).to.have.property('connection_charge').that.is.a('string');","                        pm.expect(servicePlan).to.have.property('inclusive').that.is.a('string');","                        pm.expect(servicePlan).to.have.property('grace_period').that.is.a('string');","                        pm.expect(servicePlan).to.have.property('billing').that.is.a('string');","                        pm.expect(servicePlan).to.have.property('call_rating').that.is.a('string');","                    });","                }","            }","        });","    }","}",""],"type":"text/javascript","packages":{}}}],"id":"34f6f96a-4698-4507-ab18-62085b85a0aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.splan.list","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.splan.list"}],"variable":[]}},"response":[],"_postman_id":"34f6f96a-4698-4507-ab18-62085b85a0aa"},{"name":"Service Plans Rates","event":[{"listen":"test","script":{"id":"0b3ed629-687b-4884-b8ed-eb1983efd32d","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Define a flag to check if the element exists","    var elementExists = false;","","    // Loop through the response and find the element with numeric keys","    for (var key in responseBody) {","        if (typeof responseBody[key] === 'object') {","            for (var innerKey in responseBody[key]) {","                if (!isNaN(innerKey)) {","                    elementExists = true;","                    validateFields(responseBody[key][innerKey], key);","                    break;","                }","            }","        }","    }","","    // If the element doesn't exist, perform checks for all routes","    if (!elementExists) {","        for (var route in responseBody) {","            if (typeof responseBody[route] === 'object') {","                validateFields(responseBody[route], route);","            }","        }","    }","}","","// Function to perform field validations with notes","function validateFields(element, route) {","    // Function to validate whether a value is null or a string","    function validateNullOrString(value) {","        pm.expect(value === null || typeof value === 'string').to.be.true;","    }","","    pm.test(`Inbound Rate Validation for rate ${route}`, function () {","        validateNullOrString(element.inbound);","    });","","    pm.test(`Outbound Rate Validation for rate ${route}`, function () {","        validateNullOrString(element.outbound);","    });","","    pm.test(`Inclusives Rate Validation for rate ${route}`, function () {","        validateNullOrString(element.inclusives);","    });","","    pm.test(`Billing Rate Validation for rate ${route}`, function () {","        validateNullOrString(element.billing);","    });","","    pm.test(`Call Rating Rate Validation for rate ${route}`, function () {","        validateNullOrString(element.call_rating);","    });","","    pm.test(`Minimum Charge Rate Validation for rate ${route}`, function () {","        validateNullOrString(element.min_charge);","    });","","    pm.test(`Connection Charge Rate Validation for rate ${route}`, function () {","        validateNullOrString(element.connection_charge);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"4d589c92-45db-4576-a10a-845f7b2f87b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.splan.rates&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Use ServicePlansRates.csv file for multiple list of SPs.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.splan.rates"},{"description":{"content":"<p>Service Plan ID (Required). (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":""},{"disabled":true,"description":{"content":"<p>Route ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"route","value":"1"},{"disabled":true,"description":{"content":"<p>Destination Group ID. Note: Only if route is supplied. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"dgroup","value":""}],"variable":[]}},"response":[],"_postman_id":"4d589c92-45db-4576-a10a-845f7b2f87b4"}],"id":"f2e3692a-9efc-4829-a2ce-16d5812929f6","description":"<p>Supported Methods</p>\n<p><code>list</code></p>\n<p>List Service Plans</p>\n<p><code>rates</code></p>\n<p>List Service Plan Rates</p>\n","_postman_id":"f2e3692a-9efc-4829-a2ce-16d5812929f6"},{"name":"Departments","item":[{"name":"Listing Departments","event":[{"listen":"test","script":{"id":"46b205a2-1fb7-4d11-af94-1627c15868d8","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Check if the response contains at least one department","        pm.expect(Object.keys(responseBody).length).to.be.above(0);","","        // Loop through each department and validate its properties","        for (var departmentId in responseBody) {","            if (responseBody.hasOwnProperty(departmentId)) {","                pm.test('Department ' + departmentId + ' Validation', function () {","                    var department = responseBody[departmentId];","                    pm.expect(department).to.be.an('object');","                    pm.expect(department).to.have.property('name').that.is.a('string');","                });","            }","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"ba7480e7-23c3-4a8e-bb82-0e7f18d93d48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.department.list&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.department.list"},{"description":{"content":"<p>Filter departments by tenant/server</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"ba7480e7-23c3-4a8e-bb82-0e7f18d93d48"}],"id":"6dd038e5-acb4-493f-8205-78903252dcf4","description":"<p>Supported Methods</p>\n<p><code>list</code></p>\n<p>List Destinations</p>\n","_postman_id":"6dd038e5-acb4-493f-8205-78903252dcf4"},{"name":"Extensions","item":[{"name":"Extension Configuration","event":[{"listen":"test","script":{"id":"516977fc-ae44-4f99-bdf8-2b45e5958cc7","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains the expected fields","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        for (var extId in responseBody) {","            if (responseBody.hasOwnProperty(extId)) {","                var extension = responseBody[extId];","                pm.test('Extension ' + extId + ' Fields Validation', function () {","                    pm.expect(extension).to.have.property('name').that.is.a('string');","                    pm.expect(extension).to.have.property('email').that.is.a('string');","                    pm.expect(extension).to.have.property('pin').that.is.a('string');","                    pm.expect(extension).to.have.property('protocol').that.is.a('string');","                    pm.expect(extension).to.have.property('ext').that.is.a('string');","                    pm.expect(extension).to.have.property('location').that.is.a('string');","                    pm.expect(extension).to.have.property('user_language').that.is.a('string');","                    pm.expect(extension).to.have.property('ua_id').that.is.a('string');","                    pm.expect(extension).to.have.property('ua_name').that.is.a('string');","                    pm.expect(extension).to.have.property('ua_fullname').that.is.a('string');","                    pm.expect(extension).to.have.property('status').that.is.a('string');","                    pm.expect(extension).to.have.property('smuser').that.is.a('string');","                    pm.expect(extension).to.have.property('options').that.is.an('object');","                    pm.expect(extension.options).to.have.property('type').that.is.a('string');","                    pm.expect(extension.options).to.have.property('dtmfmode').that.is.a('string');","                    // Add more checks for other fields in the 'options' object if needed","                    // ...","","                    // 'options_raw', 'ua_autoprov', 'additional_macaddress', 'additional_config', and other fields are optional,","                    // so we will not perform type checks for them.","                });","            }","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"596a2483-f9e8-4e1c-85cb-249d532c2dbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.configuration"},{"description":{"content":"<p>Server or tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID of which we want to get configuration.</p>\n","type":"text/plain"},"key":"id","value":"11"},{"disabled":true,"description":{"content":"<p>Note: You cannot supply id and ext at the same time!</p>\n","type":"text/plain"},"key":"ext","value":""}],"variable":[]}},"response":[],"_postman_id":"596a2483-f9e8-4e1c-85cb-249d532c2dbd"},{"name":"Add Extensions","event":[{"listen":"test","script":{"id":"a808c4b1-158d-4af9-b433-b33368037f57","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains the expected fields","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","        pm.expect(responseBody).to.have.property('ext').that.is.a('number');","    });","","    // Print the success message and extension ID from the response","    console.log(responseBody.success);","    console.log(\"Extension ID:\", responseBody.id);","","}"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"c26dadcd-4cc1-48b3-b35b-7d250fc5988d","exec":[""],"type":"text/javascript","packages":{}}}],"id":"55d7582f-3529-43d4-be79-0344b88d6c0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.add&server=19&name=&email=&ext=111&location=2&ua=224&secret=&pin=&prot=sip&status=1&incominglimit=2&outgoinglimit=2&voicemail=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Action</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.add"},{"description":{"content":"<p>Tenant/Server ID (Required)</p>\n","type":"text/plain"},"key":"server","value":"19"},{"description":{"content":"<p>Full Name (Required) (Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>E-mail (Required) (Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"email","value":""},{"description":{"content":"<p>Extension number. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"ext","value":"111"},{"description":{"content":"<p>Location (Local=1, Remote=2) (Required)</p>\n","type":"text/plain"},"key":"location","value":"2"},{"description":{"content":"<p>User Agent Device ID (number only) (Required) (50 is for Generic SIP)</p>\n","type":"text/plain"},"key":"ua","value":"224"},{"description":{"content":"<p>Password (Required). (Regex: /^[a-zA-Z0-9%\\$\\*!@\\_\\-]+$/)</p>\n","type":"text/plain"},"key":"secret","value":""},{"description":{"content":"<p>PIN (Required). (Regex: /^\\d{4,4}$/)</p>\n","type":"text/plain"},"key":"pin","value":""},{"description":{"content":"<p>Protocol ('sip' and 'iax' only!) (Required)</p>\n","type":"text/plain"},"key":"prot","value":"sip"},{"description":{"content":"<p>Status (Active=1, Not Active=0, Suspended=2) (Required)</p>\n","type":"text/plain"},"key":"status","value":"1"},{"description":{"content":"<p>Incoming limit (Required). (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"incominglimit","value":"2"},{"description":{"content":"<p>Outgoing limit (Required). (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"outgoinglimit","value":"2"},{"description":{"content":"<p>Voicemail (Yes=1, No=0) (Required)</p>\n","type":"text/plain"},"key":"voicemail","value":"1"},{"disabled":true,"description":{"content":"<p>Title. (Regex: /^.{1,60}$/)</p>\n","type":"text/plain"},"key":"title","value":""},{"disabled":true,"description":{"content":"<p>Check for UAD SIP Headers. (Regex: /[\\w\\-,]+/)</p>\n","type":"text/plain"},"key":"uad_sipheaders","value":""},{"disabled":true,"description":{"content":"<p>Label. (Regex: /^.{1,60}$/)</p>\n","type":"text/plain"},"key":"label","value":""},{"disabled":true,"description":{"content":"<p>User Location. (Regex: /^.{1,60}$/)</p>\n","type":"text/plain"},"key":"user_location","value":""},{"disabled":true,"description":{"content":"<p>User lenguage. (Regex: /^.{1,60}$/)</p>\n","type":"text/plain"},"key":"user_language","value":""},{"disabled":true,"description":{"content":"<p>Authentification name. (Regex: /^\\w+$/)</p>\n","type":"text/plain"},"key":"authname","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^(\\S+)(:\\S+)?@\\S+$/)</p>\n","type":"text/plain"},"key":"auth","value":""},{"disabled":true,"description":{"content":"<p>Call Rating (Yes=1, No=0) (deprecated and will be soon replaced with call_rating)</p>\n","type":"text/plain"},"key":"billing","value":""},{"disabled":true,"description":{"content":"<p>Call Rating (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"call_rating","value":""},{"disabled":true,"description":{"content":"<p>Credit limit (number, 12 digits max, required if Billing=1)</p>\n","type":"text/plain"},"key":"creditlimit","value":""},{"disabled":true,"description":{"content":"<p>Reminder balance (number, 5 digits max, required if Billing=1)</p>\n","type":"text/plain"},"key":"reminderbalance","value":""},{"disabled":true,"description":{"content":"<p>Service Plan ID (required if Billing=1)</p>\n","type":"text/plain"},"key":"service_plan","value":""},{"disabled":true,"description":{"content":"<p>NAT (Yes=1, No=0, Never=2)</p>\n","type":"text/plain"},"key":"nat","value":""},{"disabled":true,"description":{"content":"<p>SIP Re-INVITE support (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"canreinvite","value":""},{"disabled":true,"description":{"content":"<p>Qualify (4 digits max)</p>\n","type":"text/plain"},"key":"qualify","value":""},{"disabled":true,"description":{"content":"<p>Ring time seconds (2 digits max). (Regex: /^\\d{0,2}$/)</p>\n","type":"text/plain"},"key":"ringtime","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[0tTr]+$/)</p>\n","type":"text/plain"},"key":"incoming_dialoptions","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[tTr]+$/)</p>\n","type":"text/plain"},"key":"outgoing_dialoptions","value":""},{"disabled":true,"description":{"content":"<p>Auto provisioning (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"autoprovisiong","value":""},{"disabled":true,"description":{"content":"<p>DHCP (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"dhcp","value":""},{"disabled":true,"description":{"content":"<p>Provisioning Static IP address. (Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"staticip","value":""},{"disabled":true,"description":{"content":"<p>Provisioning netmask. (Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"netmask","value":""},{"disabled":true,"description":{"content":"<p>Provisioning gateway. (Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"gateway","value":""},{"disabled":true,"description":{"content":"<p>Provisioning DNS 1. (Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"dns1","value":""},{"disabled":true,"description":{"content":"<p>Provisioning DNS 2. (Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"dns2","value":""},{"disabled":true,"description":{"content":"<p>User Agent device MAC address. (Regex: /^[0-9a-fA-F]{12}$/)</p>\n","type":"text/plain"},"key":"macaddress","value":""},{"disabled":true,"description":{"content":"<p>Voicemail timezone (Germany, USA…​). (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"voicemail_timezone","value":""},{"disabled":true,"description":{"content":"<p>Voicemail Greeting Message (Unavailable=0, Busy=1, None=2)</p>\n","type":"text/plain"},"key":"vm_greeting_message","value":""},{"disabled":true,"description":{"content":"<p>Set CallerID (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"setcallerid","value":""},{"disabled":true,"description":{"content":"<p>Allowed codecs separated with :: ulaw:alaw:g723.1:g726:g729:gsm:ilbc:speex:lpc10:h261:h263:h263p</p>\n","type":"text/plain"},"key":"acodecs","value":""},{"disabled":true,"description":{"content":"<p>Speakerphone paging header, one of following values are valid:\n(empty) - Custom Header\n2 - Aastra 480i 9112i 9133i\n4 - Polycom’s Default\n5 - Sipura\n6 - Snom phones</p>\n","type":"text/plain"},"key":"page","value":""},{"disabled":true,"description":{"content":"<p>Custom page header (text). (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"page_custom","value":""},{"disabled":true,"description":{"content":"<p>Record calls (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"recordcalls","value":""},{"disabled":true,"description":{"content":"<p>Silent recording (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"recordsilent","value":""},{"disabled":true,"description":{"content":"<p>Send E-mail (hints) (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"vmailsend","value":""},{"disabled":true,"description":{"content":"<p>Attach (hints) (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"vmailattach","value":""},{"disabled":true,"description":{"content":"<p>Delete After E-mailing (hints) (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"vmaildelete","value":""},{"disabled":true,"description":{"content":"<p>Slave (hints) (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"acc_slave","value":"1"},{"disabled":true,"description":{"content":"<p>Master Account Code. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"slave_accountcode","value":""},{"disabled":true,"description":{"content":"<p>Send E-mail with account details (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"send_email","value":""},{"disabled":true,"description":{"content":"<p>Service Plan Date (dd-mm-YYYY)</p>\n","type":"text/plain"},"key":"service_plan_date","value":""},{"disabled":true,"description":{"content":"<p>Enable Limits (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"limitenable","value":""},{"disabled":true,"description":{"content":"<p>Limit Type (Daily, Monthly)</p>\n","type":"text/plain"},"key":"limittype","value":""},{"disabled":true,"description":{"content":"<p>Soft Limit (number, 5 digits max)</p>\n","type":"text/plain"},"key":"softlimit","value":""},{"disabled":true,"description":{"content":"<p>Hard Limit (number, 5 digits max)</p>\n","type":"text/plain"},"key":"hardlimit","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"notification_email","value":""},{"disabled":true,"description":{"content":"<p>(deprecated and will be soon replaced with cf_call_rating_disable)</p>\n","type":"text/plain"},"key":"cf_billing_disable","value":""},{"disabled":true,"description":{"content":"<p>Disable Call Rating for Call Forwarding. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"cf_call_rating_disable","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"webrtc","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"defaultip","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"max_contacts","value":""},{"disabled":true,"description":{"content":"<p>Encryption (yes,offer)</p>\n","type":"text/plain"},"key":"encryption","value":""},{"disabled":true,"description":{"content":"<p>Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"directrtpsetup","value":""},{"disabled":true,"description":{"content":"<p>CallerID Presentation. (Regex: /^(allowed_not_screened|allowed_passed_screen|allowed_failed_screen|allowed|prohib_not_screened|prohib_passed_screen|prohib_failed_screen|prohib|unavailable)$/)</p>\n","type":"text/plain"},"key":"callingpres","value":""},{"disabled":true,"description":{"content":"<p>Hide CallerID for Anonymous calls. Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"cid_anon","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[a-zA-Z0-9._-]+$/)</p>\n","type":"text/plain"},"key":"ringtoneforlocalcalls","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[a-zA-Z0-9._-]+$/)</p>\n","type":"text/plain"},"key":"ringtonefortransferredcalls","value":""},{"disabled":true,"description":{"content":"<p>Only Allow Trunk CallerID within DID range. Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"cidmatchdid","value":""},{"disabled":true,"description":{"content":"<p>Drop Anonymous calls: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"dropanonymous","value":""},{"disabled":true,"description":{"content":"<p>Trust Remote-Party-ID: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"trustrpid","value":""},{"disabled":true,"description":{"content":"<p>Send Remote-Party-ID. (Regex: /^(rpid|pai)$/)</p>\n","type":"text/plain"},"key":"sendrpid","value":""},{"disabled":true,"description":{"content":"<p>Send Caller ID in RPID for Anonymous calls: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"trust_id_outbound","value":""},{"disabled":true,"description":{"content":"<p>Connected Line Updates: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"rpid_connectedline","value":""},{"disabled":true,"description":{"content":"<p>RPID with SIP UPDATE: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"rpid_update","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\w{1,64}$/)</p>\n","type":"text/plain"},"key":"pai_header","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^([0-9]|[1-5][0-9]|6[0-3])(,([0-9]|[1-5][0-9]|6[0-3]))*$/)</p>\n","type":"text/plain"},"key":"callgroup","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^([0-9]|[1-5][0-9]|6[0-3])(,([0-9]|[1-5][0-9]|6[0-3]))*$/)</p>\n","type":"text/plain"},"key":"pickupgroup","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"primary_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"secondary_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"tertiary_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"primary_emerg_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"secondary_emerg_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"tertiary_emerg_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"busylevel","value":""},{"disabled":true,"description":{"content":"<p>Play sound on exceeded limit: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"limit_notify_play_sound","value":""},{"disabled":true,"description":{"content":"<p>Send e-mail on exceeded limit: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"limit_notify_send_email","value":""},{"disabled":true,"description":{"content":"<p>Greeting-Mode: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"busyvoicemail","value":""},{"disabled":true,"description":{"content":"<p>MWI extensions (comma separated). (Regex: /^[0-9,]+$/)</p>\n","type":"text/plain"},"key":"mailboxes","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"vmailpager","value":""},{"disabled":true,"description":{"content":"<p>Skip Instructions: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailskipinst","value":""},{"disabled":true,"description":{"content":"<p>Say CallerID: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailsaycid","value":""},{"disabled":true,"description":{"content":"<p>Allow Review mode: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailreview","value":""},{"disabled":true,"description":{"content":"<p>Allow Operator: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailoperator","value":""},{"disabled":true,"description":{"content":"<p>Play Envelope message: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailenvelope","value":""},{"disabled":true,"description":{"content":"<p>Hide from directory: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailhidefromdir","value":""},{"disabled":true,"description":{"content":"<p>Video Support: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"videosupport","value":""},{"disabled":true,"description":{"content":"<p>Auto-Framing (RTP Packetization): Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"autoframing","value":""},{"disabled":true,"description":{"content":"<p>Voicemail Delay in sec. (Regex: /^[0-9]+$/)</p>\n","type":"text/plain"},"key":"vmaildelay","value":""},{"disabled":true,"description":{"content":"<p>Operator Extension. (Regex: /^[0-9]+$/)</p>\n","type":"text/plain"},"key":"vmailopext","value":""},{"disabled":true,"description":{"content":"<p>Rings to answer. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"vmailnrings","value":""},{"disabled":true,"description":{"content":"<p>Force codec on outbound trunk channel (ulaw, alaw, g722, opus, g723.1, g726, g726aal2, g729, gsm, ilbc, speex, speex16, speex32)</p>\n","type":"text/plain"},"key":"force_codec","value":""},{"disabled":true,"description":{"content":"<p>Automatic Logout (Hot Desking). (Regex: /^\\d$/)</p>\n","type":"text/plain"},"key":"hd_logout_time","value":""},{"disabled":true,"description":{"content":"<p>Play Periodic Beep in sec. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"record_beep_ext","value":""},{"disabled":true,"description":{"content":"<p>Pin Based Dialing Pin (Must be enabled in license). (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"pbd_pin","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"areacode","value":""},{"disabled":true,"description":{"content":"<p>Apply Busy Level for Incoming Calls (Yes=1, No=0, Not Set=2)</p>\n","type":"text/plain"},"key":"busylevel_incoming","value":""},{"disabled":true,"description":{"content":"<p>Jitter Buffer (inherit, disabled, fixed, adaptive)</p>\n","type":"text/plain"},"key":"jbimpl","value":""},{"disabled":true,"description":{"content":"<p>Max length (ms). (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"jbmaxsize","value":""},{"disabled":true,"description":{"content":"<p>Re-sync threshold. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"jbresyncthreshold","value":""},{"disabled":true,"description":{"content":"<p>Target extra: (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"jbtargetextra","value":""},{"disabled":true,"description":{"content":"<p>Show In Directory (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"show_in_dir","value":""},{"disabled":true,"description":{"content":"<p>Show in Desktop/Mobile App (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"show_in_app","value":""},{"disabled":true,"description":{"content":"<p>Additional config. (Regex: /[\\s\\S]/)</p>\n","type":"text/plain"},"key":"additional_config","value":"s"},{"disabled":true,"description":{"content":"<p>UAD Auto Provisioning Template. (Regex: /[\\s\\S]/)</p>\n","type":"text/plain"},"key":"ua_autoprov","value":""},{"disabled":true,"description":{"content":"<p>(Yes=1, No=0, Not Set=2)</p>\n","type":"text/plain"},"key":"vmailskippin","value":""},{"disabled":true,"description":{"content":"<p>Show Call Rating Info in OSC. (Yes=1, No=0).</p>\n","type":"text/plain"},"key":"rating_info_osc","value":""},{"disabled":true,"description":{"content":"<p>Single Sign-On enabled (Yes=1, No=0).</p>\n","type":"text/plain"},"key":"sso_enabled","value":""},{"disabled":true,"description":{"content":"<p>Disable FAX for gloCOM (Yes=1, No=0, NotSet = 2)</p>\n","type":"text/plain"},"key":"disable_fax_for_app","value":""},{"disabled":true,"description":{"content":"<p>Disable Personal Dialer for gloCOM (Yes=1, No =0, NotSet = 2)</p>\n","type":"text/plain"},"key":"disable_my_dialer_for_app","value":""},{"disabled":true,"description":{"content":"<p>Default Client Phone. (Regex: ^(|softphone|deskphone)$/)</p>\n","type":"text/plain"},"key":"app_default_client_phone","value":""}],"variable":[]}},"response":[],"_postman_id":"55d7582f-3529-43d4-be79-0344b88d6c0e"},{"name":"Listing Extensions","event":[{"listen":"test","script":{"id":"69db3407-a6c1-4488-a2fd-69902c47395e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains an array of extensions","    pm.test('Response Validation', function () {","        var extensionKeys = Object.keys(responseBody);","        pm.expect(extensionKeys).to.have.length.above(0);","","        // Store extension IDs in an array","        var extensionIDs = [];","        for (var extId in responseBody) {","            if (responseBody.hasOwnProperty(extId)) {","                var extension = responseBody[extId];","                pm.test('Extension ' + extId + ' Validation', function () {","                    pm.expect(extension).to.have.property('name').that.is.a('string');","                    pm.expect(extension).to.have.property('email').that.is.a('string');","                    pm.expect(extension).to.have.property('protocol').that.is.a('string');","                    pm.expect(extension).to.have.property('ext').that.is.a('string');","                    pm.expect(extension).to.have.property('location').that.is.a('string');","                    pm.expect(extension).to.have.property('ua_id').that.is.a('string');","                    pm.expect(extension).to.have.property('ua_name').that.is.a('string');","                    pm.expect(extension).to.have.property('ua_fullname').that.is.a('string');","                    pm.expect(extension).to.have.property('status').that.is.a('string');","                    pm.expect(extension).to.have.property('linenum').that.is.a('string');","                    pm.expect(extension).to.have.property('user_location').that.is.a('string');","                    // 'macaddress' and 'department' are optional fields, so we will not perform type checks for them.","                });","","                // Add the new extension ID to the array","                extensionIDs.push(parseInt(extId));","            }","        }","","        // Save the extension IDs to the Postman environment variable","        pm.environment.set('ExtensionIDs', JSON.stringify(extensionIDs));","    });","}"],"type":"text/javascript","packages":{}}}],"id":"2ea1bb5e-f59f-4bed-b1a8-645f635c7e24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.list&server=1&id=106","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.list"},{"description":{"content":"<p>Server or tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"key":"id","value":"106"}],"variable":[]}},"response":[],"_postman_id":"2ea1bb5e-f59f-4bed-b1a8-645f635c7e24"},{"name":"Editing Extensions","event":[{"listen":"test","script":{"id":"b0f506e8-ea17-428e-8ff1-bda895b54503","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response contains the expected fields","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","        pm.expect(responseBody).to.have.property('ext').that.is.a('number');","    });","","    // Print the success message and extension ID from the response","    console.log(responseBody.success);","    console.log(\"Extension ID:\", responseBody.id);","","}",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"d1542418-373d-4cbb-aca1-5baaa76e6bab","exec":[""],"type":"text/javascript","packages":{}}}],"id":"0cf6cefb-1a8e-4574-b634-ab9da30006fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n\"4\": \"72714D1A36F1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.edit&server=1&id=11&ringtime=&additional_macaddress","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.edit"},{"description":{"content":"<p>Tenant/Server ID (Required)</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension IDs (Required) (Use CSV file ExtensionIDs.csv to edit multiple extensions)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"disabled":true,"description":{"content":"<p>Full Name (Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>E-mail (Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"email","value":""},{"disabled":true,"description":{"content":"<p>Extension number. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"ext","value":"101"},{"disabled":true,"description":{"content":"<p>Location (Local=1, Remote=2)</p>\n","type":"text/plain"},"key":"location","value":"2"},{"disabled":true,"description":{"content":"<p>User Agent Device ID (number only) (50 is for Generic SIP)</p>\n","type":"text/plain"},"key":"ua","value":"224"},{"disabled":true,"description":{"content":"<p>Password. (Regex: /^[a-zA-Z0-9%\\$\\*!@\\_\\-]+$/)</p>\n","type":"text/plain"},"key":"secret","value":""},{"disabled":true,"description":{"content":"<p>PIN. (Regex: /^\\d{4,4}$/)</p>\n","type":"text/plain"},"key":"pin","value":""},{"disabled":true,"description":{"content":"<p>Protocol ('sip' and 'iax' only!)</p>\n","type":"text/plain"},"key":"prot","value":""},{"disabled":true,"description":{"content":"<p>Status (Active=1, Not Active=0, Suspended=2)</p>\n","type":"text/plain"},"key":"status","value":""},{"disabled":true,"description":{"content":"<p>Incoming limit. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"incominglimit","value":""},{"disabled":true,"description":{"content":"<p>Outgoing limit. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"outgoinglimit","value":""},{"disabled":true,"description":{"content":"<p>Voicemail (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"voicemail","value":""},{"disabled":true,"description":{"content":"<p>Title. (Regex: /^.{1,60}$/)</p>\n","type":"text/plain"},"key":"title","value":""},{"disabled":true,"description":{"content":"<p>Check for UAD SIP Headers. (Regex: /[\\w\\-,]+/)</p>\n","type":"text/plain"},"key":"uad_sipheaders","value":""},{"disabled":true,"description":{"content":"<p>Label. (Regex: /^.{1,60}$/)</p>\n","type":"text/plain"},"key":"label","value":""},{"disabled":true,"description":{"content":"<p>User Location. (Regex: /^.{1,60}$/)</p>\n","type":"text/plain"},"key":"user_location","value":""},{"disabled":true,"description":{"content":"<p>User lenguage. (Regex: /^.{1,60}$/)</p>\n","type":"text/plain"},"key":"user_language","value":""},{"disabled":true,"description":{"content":"<p>Authentification name. (Regex: /^\\w+$/)</p>\n","type":"text/plain"},"key":"authname","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^(\\S+)(:\\S+)?@\\S+$/)</p>\n","type":"text/plain"},"key":"auth","value":""},{"disabled":true,"description":{"content":"<p>Call Rating (Yes=1, No=0) (deprecated and will be soon replaced with call_rating)</p>\n","type":"text/plain"},"key":"billing","value":""},{"disabled":true,"description":{"content":"<p>Call Rating (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"call_rating","value":""},{"disabled":true,"description":{"content":"<p>Credit limit (number, 12 digits max, required if Billing/Call_Rating=1)</p>\n","type":"text/plain"},"key":"creditlimit","value":""},{"disabled":true,"description":{"content":"<p>Reminder balance (number, 5 digits max, required if Billing/Call_Rating=1)</p>\n","type":"text/plain"},"key":"reminderbalance","value":""},{"disabled":true,"description":{"content":"<p>Service Plan ID (required if Billing/Call_Rating=1)</p>\n","type":"text/plain"},"key":"service_plan","value":""},{"disabled":true,"description":{"content":"<p>NAT (Yes=1, No=0, Never=2)</p>\n","type":"text/plain"},"key":"nat","value":""},{"disabled":true,"description":{"content":"<p>SIP Re-INVITE support (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"canreinvite","value":""},{"disabled":true,"description":{"content":"<p>Qualify (4 digits max)</p>\n","type":"text/plain"},"key":"qualify","value":""},{"description":{"content":"<p>Ring time seconds (2 digits max). (Regex: /^\\d{0,2}$/)</p>\n","type":"text/plain"},"key":"ringtime","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[0tTr]+$/)</p>\n","type":"text/plain"},"key":"incoming_dialoptions","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[tTr]+$/)</p>\n","type":"text/plain"},"key":"outgoing_dialoptions","value":""},{"disabled":true,"description":{"content":"<p>Auto provisioning (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"autoprovisiong","value":"1"},{"disabled":true,"description":{"content":"<p>DHCP (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"dhcp","value":"1"},{"disabled":true,"description":{"content":"<p>Provisioning Static IP address. (Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"staticip","value":""},{"disabled":true,"description":{"content":"<p>Provisioning netmask. (Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"netmask","value":""},{"disabled":true,"description":{"content":"<p>Provisioning gateway. (Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"gateway","value":""},{"disabled":true,"description":{"content":"<p>Provisioning DNS 1. (Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"dns1","value":""},{"disabled":true,"description":{"content":"<p>Provisioning DNS 2. (Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"dns2","value":""},{"disabled":true,"description":{"content":"<p>User Agent device MAC address. (Regex: /^[0-9a-fA-F]{12}$/)</p>\n","type":"text/plain"},"key":"macaddress","value":"B21E05B256FB"},{"disabled":true,"description":{"content":"<p>Voicemail timezone (Germany, USA…​). (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"voicemail_timezone","value":""},{"disabled":true,"description":{"content":"<p>Voicemail Greeting Message (Unavailable=0, Busy=1, None=2)</p>\n","type":"text/plain"},"key":"vm_greeting_message","value":""},{"disabled":true,"description":{"content":"<p>Set CallerID (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"setcallerid","value":""},{"disabled":true,"description":{"content":"<p>Allowed codecs separated with :: ulaw:alaw:g723.1:g726:g729:gsm:ilbc:speex:lpc10:h261:h263:h263p</p>\n","type":"text/plain"},"key":"acodecs","value":""},{"disabled":true,"description":{"content":"<p>Speakerphone paging header, one of following values are valid:\n(empty) - Custom Header\n2 - Aastra 480i 9112i 9133i\n4 - Polycom’s Default\n5 - Sipura\n6 - Snom phones</p>\n","type":"text/plain"},"key":"page","value":""},{"disabled":true,"description":{"content":"<p>Custom page header (text). (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"page_custom","value":""},{"disabled":true,"description":{"content":"<p>Record calls (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"recordcalls","value":""},{"disabled":true,"description":{"content":"<p>Silent recording (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"recordsilent","value":""},{"disabled":true,"description":{"content":"<p>Send E-mail (hints) (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"vmailsend","value":""},{"disabled":true,"description":{"content":"<p>Attach (hints) (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"vmailattach","value":""},{"disabled":true,"description":{"content":"<p>Delete After E-mailing (hints) (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"vmaildelete","value":""},{"disabled":true,"description":{"content":"<p>Slave (hints) (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"acc_slave","value":""},{"disabled":true,"description":{"content":"<p>Master Account Code. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"slave_accountcode","value":""},{"disabled":true,"description":{"content":"<p>Send E-mail with account details (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"send_email","value":""},{"disabled":true,"description":{"content":"<p>Service Plan Date (dd-mm-YYYY)</p>\n","type":"text/plain"},"key":"service_plan_date","value":""},{"disabled":true,"description":{"content":"<p>Enable Limits (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"limitenable","value":""},{"disabled":true,"description":{"content":"<p>Limit Type (Daily, Monthly)</p>\n","type":"text/plain"},"key":"limittype","value":""},{"disabled":true,"description":{"content":"<p>Soft Limit (number, 5 digits max)</p>\n","type":"text/plain"},"key":"softlimit","value":""},{"disabled":true,"description":{"content":"<p>Hard Limit (number, 5 digits max)</p>\n","type":"text/plain"},"key":"hardlimit","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"notification_email","value":""},{"disabled":true,"description":{"content":"<p>(deprecated and will be soon replaced with cf_call_rating_disable)</p>\n","type":"text/plain"},"key":"cf_billing_disable","value":""},{"disabled":true,"description":{"content":"<p>Disable Call Rating for Call Forwarding. (Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"cf_call_rating_disable","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^(1|0|2)$/)</p>\n","type":"text/plain"},"key":"webrtc","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\d{1,3}.\\d{1,3}.\\d{1,3}.\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"defaultip","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"max_contacts","value":""},{"disabled":true,"description":{"content":"<p>Encryption (yes,offer)</p>\n","type":"text/plain"},"key":"encryption","value":""},{"disabled":true,"description":{"content":"<p>Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"directrtpsetup","value":""},{"disabled":true,"description":{"content":"<p>CallerID Presentation. (Regex: /^(allowed_not_screened|allowed_passed_screen|allowed_failed_screen|allowed|prohib_not_screened|prohib_passed_screen|prohib_failed_screen|prohib|unavailable)$/)</p>\n","type":"text/plain"},"key":"callingpres","value":""},{"disabled":true,"description":{"content":"<p>Hide CallerID for Anonymous calls. Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"cid_anon","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[a-zA-Z0-9._-]+$/)</p>\n","type":"text/plain"},"key":"ringtoneforlocalcalls","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[a-zA-Z0-9._-]+$/)</p>\n","type":"text/plain"},"key":"ringtonefortransferredcalls","value":""},{"disabled":true,"description":{"content":"<p>Only Allow Trunk CallerID within DID range. Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"cidmatchdid","value":""},{"disabled":true,"description":{"content":"<p>Drop Anonymous calls: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"dropanonymous","value":""},{"disabled":true,"description":{"content":"<p>Trust Remote-Party-ID: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"trustrpid","value":""},{"disabled":true,"description":{"content":"<p>Send Remote-Party-ID. (Regex: /^(rpid|pai)$/)</p>\n","type":"text/plain"},"key":"sendrpid","value":""},{"disabled":true,"description":{"content":"<p>Send Caller ID in RPID for Anonymous calls: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"trust_id_outbound","value":""},{"disabled":true,"description":{"content":"<p>Connected Line Updates: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"rpid_connectedline","value":""},{"disabled":true,"description":{"content":"<p>RPID with SIP UPDATE: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"rpid_update","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\w{1,64}$/)</p>\n","type":"text/plain"},"key":"pai_header","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^([0-9]|[1-5][0-9]|6[0-3])(,([0-9]|[1-5][0-9]|6[0-3]))*$/)</p>\n","type":"text/plain"},"key":"callgroup","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^([0-9]|[1-5][0-9]|6[0-3])(,([0-9]|[1-5][0-9]|6[0-3]))*$/)</p>\n","type":"text/plain"},"key":"pickupgroup","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"primary_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"secondary_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"tertiary_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"primary_emerg_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"secondary_emerg_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[[:alnum:][:punct:][:space:]]+$/)</p>\n","type":"text/plain"},"key":"tertiary_emerg_trunk","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"busylevel","value":""},{"disabled":true,"description":{"content":"<p>Play sound on exceeded limit: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"limit_notify_play_sound","value":""},{"disabled":true,"description":{"content":"<p>Send e-mail on exceeded limit: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"limit_notify_send_email","value":""},{"disabled":true,"description":{"content":"<p>Greeting-Mode: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"busyvoicemail","value":""},{"disabled":true,"description":{"content":"<p>MWI extensions (comma separated). (Regex: /^[0-9,]+$/)</p>\n","type":"text/plain"},"key":"mailboxes","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"vmailpager","value":""},{"disabled":true,"description":{"content":"<p>Skip Instructions: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailskipinst","value":""},{"disabled":true,"description":{"content":"<p>Say CallerID: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailsaycid","value":""},{"disabled":true,"description":{"content":"<p>Allow Review mode: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailreview","value":""},{"disabled":true,"description":{"content":"<p>Allow Operator: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailoperator","value":""},{"disabled":true,"description":{"content":"<p>Play Envelope message: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailenvelope","value":""},{"disabled":true,"description":{"content":"<p>Hide from directory: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"vmailhidefromdir","value":""},{"disabled":true,"description":{"content":"<p>Video Support: Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"videosupport","value":""},{"disabled":true,"description":{"content":"<p>Auto-Framing (RTP Packetization): Yes=1, No=0, Not Set=2</p>\n","type":"text/plain"},"key":"autoframing","value":""},{"disabled":true,"description":{"content":"<p>Voicemail Delay in sec. (Regex: /^[0-9]+$/)</p>\n","type":"text/plain"},"key":"vmaildelay","value":""},{"disabled":true,"description":{"content":"<p>Operator Extension. (Regex: /^[0-9]+$/)</p>\n","type":"text/plain"},"key":"vmailopext","value":""},{"disabled":true,"description":{"content":"<p>Rings to answer. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"vmailnrings","value":""},{"disabled":true,"description":{"content":"<p>Force codec on outbound trunk channel (ulaw, alaw, g722, opus, g723.1, g726, g726aal2, g729, gsm, ilbc, speex, speex16, speex32)</p>\n","type":"text/plain"},"key":"force_codec","value":""},{"disabled":true,"description":{"content":"<p>Automatic Logout (Hot Desking). (Regex: /^\\d$/)</p>\n","type":"text/plain"},"key":"hd_logout_time","value":""},{"disabled":true,"description":{"content":"<p>Play Periodic Beep in sec. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"record_beep_ext","value":""},{"disabled":true,"description":{"content":"<p>Pin Based Dialing Pin (Must be enabled in license) (number, 5 digits)</p>\n","type":"text/plain"},"key":"pbd_pin","value":""},{"disabled":true,"description":{"content":"<p>(Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"areacode","value":""},{"disabled":true,"description":{"content":"<p>Apply Busy Level for Incoming Calls (Yes=1, No=0, Not Set=2)</p>\n","type":"text/plain"},"key":"busylevel_incoming","value":""},{"disabled":true,"description":{"content":"<p>Jitter Buffer (inherit, disabled, fixed, adaptive)</p>\n","type":"text/plain"},"key":"jbimpl","value":""},{"disabled":true,"description":{"content":"<p>Max length (ms). (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"jbmaxsize","value":""},{"disabled":true,"description":{"content":"<p>Re-sync threshold. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"jbresyncthreshold","value":""},{"disabled":true,"description":{"content":"<p>Target extra: (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"jbtargetextra","value":""},{"disabled":true,"description":{"content":"<p>Show In Directory (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"show_in_dir","value":""},{"disabled":true,"description":{"content":"<p>Show in Desktop/Mobile App (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"show_in_app","value":""},{"disabled":true,"description":{"content":"<p>Additional config. (Regex: /[\\s\\S]/)</p>\n","type":"text/plain"},"key":"additional_config","value":"macaddress:72714D1A36F8"},{"disabled":true,"description":{"content":"<p>UAD Auto Provisioning Template. (Regex: /[\\s\\S]/)</p>\n","type":"text/plain"},"key":"ua_autoprov","value":"macaddress:72714D1A36F8"},{"disabled":true,"description":{"content":"<p>(Yes=1, No=0, Not Set=2)</p>\n","type":"text/plain"},"key":"vmailskippin","value":""},{"disabled":true,"description":{"content":"<p>Show Call Rating Info in OSC. (Yes=1, No=0).</p>\n","type":"text/plain"},"key":"rating_info_osc","value":""},{"disabled":true,"description":{"content":"<p>Single Sign-On enabled (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"sso_enabled","value":""},{"disabled":true,"description":{"content":"<p>Disable FAX for gloCOM (Yes=1, No=0, NotSet = 2)</p>\n","type":"text/plain"},"key":"disable_fax_for_app","value":""},{"disabled":true,"description":{"content":"<p>Disable Personal Dialer for gloCOM (Yes=1, No =0, NotSet = 2)</p>\n","type":"text/plain"},"key":"disable_my_dialer_for_app","value":""},{"disabled":true,"description":{"content":"<p>Default Client Phone. (Regex: /^(|softphone|deskphone)$/)add_</p>\n","type":"text/plain"},"key":"app_default_client_phone","value":""},{"key":"additional_macaddress","value":null}],"variable":[]}},"response":[],"_postman_id":"0cf6cefb-1a8e-4574-b634-ab9da30006fc"},{"name":"Deleting Extensions","event":[{"listen":"test","script":{"id":"145284c4-8ba3-42c7-bd78-d559139f9c0e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate success response","    pm.test('Success Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","    });","","    // Print the success message","    console.log(\"Success: \" + responseBody.success);","}",""],"type":"text/javascript","packages":{}}}],"id":"3c313cbc-9ea7-47be-94c1-22d468d4e83a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.delete&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.delete"},{"description":{"content":"<p>Server or Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>IDs of extension that we want to delete. For more extensions just run folder wirh CSV file.</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"3c313cbc-9ea7-47be-94c1-22d468d4e83a"},{"name":"Credit/Debit Balance","event":[{"listen":"test","script":{"id":"2dd073d7-d355-40fa-a837-75c7894a5162","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate success response","    pm.test('Success Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","    });","","    // Print the success message","    console.log(\"Success: \" + responseBody.success);","}",""],"type":"text/javascript","packages":{}}}],"id":"78054752-4dbf-482b-90c0-e9895801564c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.balance&server=1&id=11&mode=&amount=&notes=&refno=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.balance"},{"description":{"content":"<p>Tenant or server ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID, or list of IDs from CSV file</p>\n","type":"text/plain"},"key":"id","value":"11"},{"disabled":true,"description":{"content":"<p>Note: You cannot supply id and ext at the same time!</p>\n","type":"text/plain"},"key":"ext","value":"101"},{"description":{"content":"<p>Either \"credit\" or \"debit\"</p>\n","type":"text/plain"},"key":"mode","value":""},{"description":{"content":"<p>Amount to credit/debit onto balance (Regex: /^([0-9]+|[0-9]+\\.[0-9]+)$/)</p>\n","type":"text/plain"},"key":"amount","value":""},{"description":{"content":"<p>Notes in regards to this update. (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"notes","value":""},{"description":{"content":"<p>Reference Number (Regex: /^.+$/)</p>\n","type":"text/plain"},"key":"refno","value":""}],"variable":[]}},"response":[],"_postman_id":"78054752-4dbf-482b-90c0-e9895801564c"},{"name":"Reset Inclusive Minutes","event":[{"listen":"test","script":{"id":"d2f4bfbb-85e8-4d7d-b11e-c0e19ffa658a","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success response","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        // Print the success message","        console.log('Success:', responseBody.success);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"fb4bdead-0e8d-4864-95c8-4a22b3cbbd27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.reset_inclusive_minutes&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Reset Inclusive Minutes</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.reset_inclusive_minutes"},{"description":{"content":"<p>Server/Tenant ID (Required). If PBXware is not running in Tenant Mode, Tenant ID should be set to 1.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. Use CSV files for list of extensions.</p>\n","type":"text/plain"},"key":"id","value":"11"},{"disabled":true,"description":{"content":"<p>Extension number. Note: You cannot supply id and ext at the same time!</p>\n","type":"text/plain"},"key":"ext","value":"101"}],"variable":[]}},"response":[],"_postman_id":"fb4bdead-0e8d-4864-95c8-4a22b3cbbd27"},{"name":"Voicemail Delete","event":[{"listen":"test","script":{"id":"be628ce5-c58a-448b-93fa-bb78ceb9cddd","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success response","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        // Print the success message","        console.log('Success:', responseBody.success);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"f01fdf72-3942-47e9-b6fd-35f3825ec56a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.voicemail.delete&server=1&ext=101","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Delete extensions voicemail.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.voicemail.delete"},{"description":{"content":"<p>Server/Tenant ID (Required). If PBXware is not running in Tenant Mode, Tenant ID should be set to 1.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension number (Required)</p>\n","type":"text/plain"},"key":"ext","value":"101"}],"variable":[]}},"response":[],"_postman_id":"f01fdf72-3942-47e9-b6fd-35f3825ec56a"},{"name":"Extensions Billing (Deprecated)","event":[{"listen":"test","script":{"id":"59f48d26-9b6c-4066-8261-eaaa69f34397","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        ","        // Loop through extension billing data","        for (var extensionID in responseBody) {","            var extensionData = responseBody[extensionID];","            ","           // Validate specific properties for each extension","pm.test('Extension ' + extensionID + ' Data Validation', function () {","    pm.expect(extensionData).to.have.property('splan').that.is.a('string');","    pm.expect(extensionData).to.have.property('slave').that.is.oneOf(['yes', 'no']);","    ","    // Validate master_code: can be null or a number","    pm.expect(extensionData.master_code).to.satisfy((value) => value === null || !isNaN(value));","    ","    // Validate properties after master_code: can be null or specific data types","    pm.expect(extensionData).to.have.property('reminder_balance').that.satisfies(value => value === null || typeof value === 'string');","    pm.expect(extensionData).to.have.property('credit_limit').that.satisfies(value => value === null || typeof value === 'string');","    pm.expect(extensionData).to.have.property('splan_date').that.satisfies(value => value === null || /^\\d{2}-\\d{2}-\\d{4}$/.test(value));","    pm.expect(extensionData).to.have.property('limits').that.satisfies(value => value === null || ['yes', 'no'].includes(value));","    pm.expect(extensionData).to.have.property('limit_type').that.satisfies(value => value === null || typeof value === 'string');","    pm.expect(extensionData).to.have.property('soft_limit').that.satisfies(value => value === null || typeof value === 'string');","    pm.expect(extensionData).to.have.property('hard_limit').that.satisfies(value => value === null || typeof value === 'string');","    pm.expect(extensionData).to.have.property('email').that.satisfies(value => value === null || typeof value === 'string');","    ","});","        }","    });","}"],"type":"text/javascript","packages":{}}}],"id":"7891fe95-3f9d-4d78-b9c3-89f471838889","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.billing&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Extension Billing (deprecated and will be soon replaced with call_rating)</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.billing"},{"description":{"content":"<p>Server or Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension IDs (Use CSV file for geting info from more Extensions)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"disabled":true,"description":{"content":"<p>Note: You cannot supply id and ext at the same time!</p>\n","type":"text/plain"},"key":"ext","value":"101"}],"variable":[]}},"response":[],"_postman_id":"7891fe95-3f9d-4d78-b9c3-89f471838889"},{"name":"Extension Call Rating","event":[{"listen":"test","script":{"id":"c4905c4b-8c1f-4b72-9367-17b3c52fb4c1","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        ","        // Loop through extension billing data","        for (var extensionID in responseBody) {","            var extensionData = responseBody[extensionID];","            ","           // Validate specific properties for each extension","pm.test('Extension ' + extensionID + ' Data Validation', function () {","    pm.expect(extensionData).to.have.property('splan').that.is.a('string');","    pm.expect(extensionData).to.have.property('slave').that.is.oneOf(['yes', 'no']);","    ","    // Validate master_code: can be null or a number","    pm.expect(extensionData.master_code).to.satisfy((value) => value === null || !isNaN(value));","    ","    // Validate properties after master_code: can be null or specific data types","    pm.expect(extensionData).to.have.property('reminder_balance').that.satisfies(value => value === null || typeof value === 'string');","    pm.expect(extensionData).to.have.property('credit_limit').that.satisfies(value => value === null || typeof value === 'string');","    pm.expect(extensionData).to.have.property('splan_date').that.satisfies(value => value === null || /^\\d{2}-\\d{2}-\\d{4}$/.test(value));","    pm.expect(extensionData).to.have.property('limits').that.satisfies(value => value === null || ['yes', 'no'].includes(value));","    pm.expect(extensionData).to.have.property('limit_type').that.satisfies(value => value === null || typeof value === 'string');","    pm.expect(extensionData).to.have.property('soft_limit').that.satisfies(value => value === null || typeof value === 'string');","    pm.expect(extensionData).to.have.property('hard_limit').that.satisfies(value => value === null || typeof value === 'string');","    pm.expect(extensionData).to.have.property('email').that.satisfies(value => value === null || typeof value === 'string');","    ","});","        }","    });","}"],"type":"text/javascript","packages":{}}}],"id":"dab62e98-693b-47f6-a38d-a0ba112b0f4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.call_rating&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Extension Billing</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.call_rating"},{"description":{"content":"<p>Server or Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension IDs (Use CSV file for geting info from more Extensions)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"disabled":true,"description":{"content":"<p>Note: You cannot supply id and ext at the same time!</p>\n","type":"text/plain"},"key":"ext","value":"101"}],"variable":[]}},"response":[],"_postman_id":"dab62e98-693b-47f6-a38d-a0ba112b0f4d"},{"name":"Extension Billing Info (Deprecated)","event":[{"listen":"test","script":{"id":"4f0af64f-3585-4146-8d35-78bc70257470","exec":["pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        ","        // Loop through extension billing info data","        for (var extensionID in responseBody) {","            var extensionData = responseBody[extensionID];","            ","            // Validate specific properties for each extension","            pm.test('Extension ' + extensionID + ' Billing Info Validation', function () {","                pm.expect(extensionData).to.have.property('account_balance').that.is.a('string');","                pm.expect(extensionData).to.have.property('available_funds').that.is.a('string');","                pm.expect(extensionData).to.have.property('inclusive_minutes').that.is.a('string');","                ","                // Print the result for each extension","                console.log('Extension ID:', extensionID);","                console.log('Account Balance:', extensionData.account_balance);","                console.log('Available Funds:', extensionData.available_funds);","                console.log('Inclusive Minutes:', extensionData.inclusive_minutes);","            });","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"6fafafe0-b012-4d54-a914-7a4874be07d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.billing_info&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Extension Billing Info (deprecated and will be soon replaced with call_rating_info)</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.billing_info"},{"description":{"content":"<p>Server or Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension IDs (Use CSV file for geting info from more Extensions)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"disabled":true,"description":{"content":"<p>Note: You cannot supply id and ext at the same time!</p>\n","type":"text/plain"},"key":"ext","value":"101"}],"variable":[]}},"response":[],"_postman_id":"6fafafe0-b012-4d54-a914-7a4874be07d5"},{"name":"Extension Call Rating Info","event":[{"listen":"test","script":{"id":"a799c27b-f68d-4839-bf14-df8add769dac","exec":["pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        ","        // Loop through extension billing info data","        for (var extensionID in responseBody) {","            var extensionData = responseBody[extensionID];","            ","            // Validate specific properties for each extension","            pm.test('Extension ' + extensionID + ' Billing Info Validation', function () {","                pm.expect(extensionData).to.have.property('account_balance').that.is.a('string');","                pm.expect(extensionData).to.have.property('available_funds').that.is.a('string');","                pm.expect(extensionData).to.have.property('inclusive_minutes').that.is.a('string');","                ","                // Print the result for each extension","                console.log('Extension ID:', extensionID);","                console.log('Account Balance:', extensionData.account_balance);","                console.log('Available Funds:', extensionData.available_funds);","                console.log('Inclusive Minutes:', extensionData.inclusive_minutes);","            });","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"38ff4616-1ecb-40db-84bc-8582c32d4e26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.call_rating_info&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Extension Billing Info.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.call_rating_info"},{"description":{"content":"<p>Server or Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension IDs (Use CSV file for geting info from more Extensions)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"disabled":true,"description":{"content":"<p>Note: You cannot supply id and ext at the same time!</p>\n","type":"text/plain"},"key":"ext","value":"101"}],"variable":[]}},"response":[],"_postman_id":"38ff4616-1ecb-40db-84bc-8582c32d4e26"},{"name":"Slaves","event":[{"listen":"test","script":{"id":"510967a8-1c62-455b-bafe-88d1a5d1cca9","exec":["pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        ","        // Loop through extension info data","        for (var extensionID in responseBody) {","            var extensionData = responseBody[extensionID];","            ","            // Validate specific properties for each extension","            pm.test('Extension ' + extensionID + ' Info Validation', function () {","                pm.expect(extensionData).to.have.property('name').that.is.a('string');","                pm.expect(extensionData).to.have.property('protocol').that.is.a('string');","                pm.expect(extensionData).to.have.property('ext').that.is.a('string');","                pm.expect(extensionData).to.have.property('location').that.is.a('string');","                pm.expect(extensionData).to.have.property('ua_id').that.is.a('string');","                pm.expect(extensionData).to.have.property('ua_name').that.is.a('string');","                pm.expect(extensionData).to.have.property('ua_fullname').that.is.a('string');","                pm.expect(extensionData).to.have.property('status').that.is.a('string');","                ","                // Print the result for each extension","                console.log('Extension ID:', extensionID);","                console.log('Name:', extensionData.name);","                console.log('Protocol:', extensionData.protocol);","                console.log('Extension:', extensionData.ext);","                console.log('Location:', extensionData.location);","                console.log('UA ID:', extensionData.ua_id);","                console.log('UA Name:', extensionData.ua_name);","                console.log('UA Fullname:', extensionData.ua_fullname);","                console.log('Status:', extensionData.status);","            });","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"11fb112a-f202-4c59-8f1c-50e3c9bbca74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.slaves&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.slaves"},{"description":{"content":"<p>Server or Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>IDs from Master Extensions.</p>\n","type":"text/plain"},"key":"id","value":"11"},{"disabled":true,"description":{"content":"<p>Extension Number.Note: You cannot supply id and ext at the same time!</p>\n","type":"text/plain"},"key":"ext","value":"101"}],"variable":[]}},"response":[],"_postman_id":"11fb112a-f202-4c59-8f1c-50e3c9bbca74"},{"name":"Billing History (Deprecated)","event":[{"listen":"test","script":{"id":"edc16b36-4348-4f7a-95a1-04e131865e6e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the 'sum' parameter is present in the URL variables","    var sumParam = pm.request.url.query.get('sum');","    if (sumParam === '1') {","        // This is the case where 'sum' parameter is 1","        pm.test('Response Validation for Sum=1', function () {","            pm.expect(responseBody).to.be.an('array');","            ","            // Loop through the response entries","            for (var entry of responseBody) {","                pm.test('Entry Validation', function () {","                    pm.expect(entry).to.have.property('sum_credit').that.is.a('string');","                    pm.expect(entry).to.have.property('sum_debit').that.is.a('string');","                    ","                    // Print the result for each entry","                    console.log('Sum Credit:', entry.sum_credit);","                    console.log('Sum Debit:', entry.sum_debit);","                });","            }","        });","    } else {","        // This is the case where 'sum' parameter is not provided or is 0","        pm.test('Response Validation for Sum=0 or Not Specified', function () {","            if (Array.isArray(responseBody)) {","                // Check if the array is empty","                if (responseBody.length === 0) {","                    console.log(\"You entered data that does not give any results. Please recheck the data you enter and try with different inputs.\");","                } else {","                    // Loop through billing history entries","                    for (var entry of responseBody) {","                        pm.test('Billing History Entry Validation', function () {","                            pm.expect(entry).to.have.property('entry_date').that.is.a('string');","                            pm.expect(entry).to.have.property('refno').that.is.a('string');","                            pm.expect(entry).to.have.property('notes').that.is.a('string');","                            pm.expect(entry).to.have.property('amount').that.is.a('string');","                            pm.expect(entry).to.have.property('type').that.is.a('string');","                            ","                            // Print the result for each billing history entry","                            console.log('Entry Date:', entry.entry_date);","                            console.log('Ref No:', entry.refno);","                            console.log('Notes:', entry.notes);","                            console.log('Amount:', entry.amount);","                            console.log('Type:', entry.type);","                        });","                    }","                }","            } else {","                // Handle other unexpected response structures","                console.log(\"Response structure is not as expected. Please review the response data.\");","            }","        });","    }","}",""],"type":"text/javascript","packages":{}}}],"id":"76a994fc-1c66-4988-bed7-83ace58f5fc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.billing_history&server=1&id=11&start=&end=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Billing History (deprecated and will be soon replaced with call_rating_history)</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.billing_history"},{"description":{"content":"<p>ID of Server or Tenant.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>ID of extension we want to get info (or for list of IDs use CSV file)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Start Date (Required) - Format is: mmm-dd-YYYY (eg: Feb-01-2009)</p>\n","type":"text/plain"},"key":"start","value":""},{"description":{"content":"<p>End Date (Required) - Format is: mmm-dd-YYYY (eg: Feb-28-2009)</p>\n","type":"text/plain"},"key":"end","value":""},{"disabled":true,"description":{"content":"<p>Start Time. Format is: hh:mm:ss (eg:23:59:59) Default value is 00:00:00</p>\n","type":"text/plain"},"key":"starttime","value":""},{"disabled":true,"description":{"content":"<p>End Time. Format is: hh:mm:ss (eg:23:59:59) Default value is 00:00:00</p>\n","type":"text/plain"},"key":"endtime","value":""},{"disabled":true,"description":{"content":"<p>Type (eg: credit|debit)</p>\n","type":"text/plain"},"key":"type","value":""},{"disabled":true,"description":{"content":"<p>Reference Number</p>\n","type":"text/plain"},"key":"refno","value":""},{"disabled":true,"description":{"content":"<p>Filtering Reference Number using regular expressions</p>\n","type":"text/plain"},"key":"rrefno","value":""},{"disabled":true,"description":{"content":"<p>Summarize amount by type (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"sum","value":""},{"disabled":true,"description":{"content":"<p>Time Zone to apply when searching history. (Ex: \"America/New_York\")</p>\n","type":"text/plain"},"key":"timezone","value":""}],"variable":[]}},"response":[],"_postman_id":"76a994fc-1c66-4988-bed7-83ace58f5fc3"},{"name":"Call Rating History","event":[{"listen":"test","script":{"id":"de70df1a-c018-479e-b7f1-050dfaae5536","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the 'sum' parameter is present in the URL variables","    var sumParam = pm.request.url.query.get('sum');","    if (sumParam === '1') {","        // This is the case where 'sum' parameter is 1","        pm.test('Response Validation for Sum=1', function () {","            pm.expect(responseBody).to.be.an('array');","            ","            // Loop through the response entries","            for (var entry of responseBody) {","                pm.test('Entry Validation', function () {","                    pm.expect(entry).to.have.property('sum_credit').that.is.a('string');","                    pm.expect(entry).to.have.property('sum_debit').that.is.a('string');","                    ","                    // Print the result for each entry","                    console.log('Sum Credit:', entry.sum_credit);","                    console.log('Sum Debit:', entry.sum_debit);","                });","            }","        });","    } else {","        // This is the case where 'sum' parameter is not provided or is 0","        pm.test('Response Validation for Sum=0 or Not Specified', function () {","            if (Array.isArray(responseBody)) {","                // Check if the array is empty","                if (responseBody.length === 0) {","                    console.log(\"You entered data that does not give any results. Please recheck the data you enter and try with different inputs.\");","                } else {","                    // Loop through billing history entries","                    for (var entry of responseBody) {","                        pm.test('Billing History Entry Validation', function () {","                            pm.expect(entry).to.have.property('entry_date').that.is.a('string');","                            pm.expect(entry).to.have.property('refno').that.is.a('string');","                            pm.expect(entry).to.have.property('notes').that.is.a('string');","                            pm.expect(entry).to.have.property('amount').that.is.a('string');","                            pm.expect(entry).to.have.property('type').that.is.a('string');","                            ","                            // Print the result for each billing history entry","                            console.log('Entry Date:', entry.entry_date);","                            console.log('Ref No:', entry.refno);","                            console.log('Notes:', entry.notes);","                            console.log('Amount:', entry.amount);","                            console.log('Type:', entry.type);","                        });","                    }","                }","            } else {","                // Handle other unexpected response structures","                console.log(\"Response structure is not as expected. Please review the response data.\");","            }","        });","    }","}",""],"type":"text/javascript","packages":{}}}],"id":"ce2ef430-d550-4b06-81ab-5786bfa7760d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.call_rating_history&server=1&id=11&start=&end=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.call_rating_history"},{"description":{"content":"<p>ID of Server or Tenant.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>ID of extension we want to get info (or for list of IDs use CSV file)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Start Date (Required) - Format is: mmm-dd-YYYY (eg: Feb-01-2009)</p>\n","type":"text/plain"},"key":"start","value":""},{"description":{"content":"<p>End Date (Required) - Format is: mmm-dd-YYYY (eg: Feb-28-2009)</p>\n","type":"text/plain"},"key":"end","value":""},{"disabled":true,"description":{"content":"<p>Start Time. Format is: hh:mm:ss (eg:23:59:59) Default value is 00:00:00</p>\n","type":"text/plain"},"key":"starttime","value":""},{"disabled":true,"description":{"content":"<p>End Time. Format is: hh:mm:ss (eg:23:59:59) Default value is 00:00:00</p>\n","type":"text/plain"},"key":"endtime","value":""},{"disabled":true,"description":{"content":"<p>Type (eg: credit|debit)</p>\n","type":"text/plain"},"key":"type","value":""},{"disabled":true,"description":{"content":"<p>Reference Number</p>\n","type":"text/plain"},"key":"refno","value":""},{"disabled":true,"description":{"content":"<p>Filtering Reference Number using regular expressions</p>\n","type":"text/plain"},"key":"rrefno","value":""},{"disabled":true,"description":{"content":"<p>Summarize amount by type (Yes=1, No=0)</p>\n","type":"text/plain"},"key":"sum","value":""},{"disabled":true,"description":{"content":"<p>Time Zone to apply when searching history. (Ex: \"America/New_York\")</p>\n","type":"text/plain"},"key":"timezone","value":""}],"variable":[]}},"response":[],"_postman_id":"ce2ef430-d550-4b06-81ab-5786bfa7760d"}],"id":"b2fa3595-ffa6-4669-8d7b-69d1f09e4d22","description":"<p>Méthodes supportées :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>es</code></td>\n<td>- Sous Méthodes pour les services d'extensions évolués</td>\n</tr>\n<tr>\n<td><code>list</code></td>\n<td>- Retourne la list des extensions</td>\n</tr>\n<tr>\n<td><code>configuration</code></td>\n<td>- Affiche la configuration d'une extension</td>\n</tr>\n<tr>\n<td><code>add</code></td>\n<td>- Permet de rajouter une extension</td>\n</tr>\n<tr>\n<td><code>edit</code></td>\n<td>- Permet de mofifier une extension</td>\n</tr>\n<tr>\n<td><code>delete</code></td>\n<td>- Permet de supprimer une extension</td>\n</tr>\n<tr>\n<td><code>balance</code></td>\n<td>- Credit/Debit Balance</td>\n</tr>\n<tr>\n<td><code>reset_inclusive_minutes</code></td>\n<td>- Reset Inclusive Minutes</td>\n</tr>\n<tr>\n<td><code>voicemail.delete</code></td>\n<td>- Delete Extension Voicemails</td>\n</tr>\n<tr>\n<td><code>billing</code></td>\n<td>- Extension Billing (deprecated and will be soon replaced with call_rating)</td>\n</tr>\n<tr>\n<td><code>call_rating</code></td>\n<td>- Extension Call Rating</td>\n</tr>\n<tr>\n<td><code>billing_info</code></td>\n<td>- Extension Billing Info (deprecated and will be soon replaced with call_rating_info)</td>\n</tr>\n<tr>\n<td><code>call_rating_info</code></td>\n<td>- Extension Call Rating Info</td>\n</tr>\n<tr>\n<td><code>slaves</code></td>\n<td>- Returns all slaves extension for supplied master extension</td>\n</tr>\n<tr>\n<td><code>billing_history</code></td>\n<td>- Billing History (deprecated and will be soon replaced with call_rating_history)</td>\n</tr>\n<tr>\n<td><code>call_rating_history</code></td>\n<td>- Call Rating History</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"b2fa3595-ffa6-4669-8d7b-69d1f09e4d22"},{"name":"Enhanced Services","item":[{"name":"Caller ID","item":[{"name":"Caller ID set","event":[{"listen":"test","script":{"id":"258a916a-3d79-4078-80bb-ec52d8d97fc6","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"c89e3c8c-400c-475d-9f72-95201716e8c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callerid.set&server=1&id=11&state=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callerid.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":""}],"variable":[]}},"response":[],"_postman_id":"c89e3c8c-400c-475d-9f72-95201716e8c3"},{"name":"Caller ID get","event":[{"listen":"test","script":{"id":"f23438e6-9a42-400c-a41b-dad2da78701a","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"654a515d-e341-40ef-a6a4-2ee123f62f85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callerid.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callerid.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"654a515d-e341-40ef-a6a4-2ee123f62f85"},{"name":"Caller ID set OSC","event":[{"listen":"test","script":{"id":"83976ef3-e2e8-4d69-800e-89f8df8ac64f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"920442df-8c85-4ffb-9c87-cfeb92a28508","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callerid.set_osc&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callerid.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"920442df-8c85-4ffb-9c87-cfeb92a28508"},{"name":"Caller ID get OSC","event":[{"listen":"test","script":{"id":"3ee58799-4af4-407e-999d-733844e63982","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"17b4f8b4-05de-4d64-baa4-7cc46c5d31e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callerid.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callerid.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"17b4f8b4-05de-4d64-baa4-7cc46c5d31e6"},{"name":"Caller ID configuration","event":[{"listen":"test","script":{"id":"054ae414-2f68-4909-830b-cf346e74bec1","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Validate the \"callerid\" field","        pm.test('CallerID Field Validation', function () {","            pm.expect(responseBody).to.have.property('callerid').that.is.a('string');","        });","    });","}"],"type":"text/javascript","packages":{}}}],"id":"80587ac4-d80e-490d-9a70-c3f6565b0079","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callerid.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callerid.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"80587ac4-d80e-490d-9a70-c3f6565b0079"},{"name":"Caller ID Edit","event":[{"listen":"test","script":{"id":"37423854-8004-48c6-a2d0-08e32c9cba3a","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the \"success\" field","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody.success).to.include('Caller ID: ');","    });","","}",""],"type":"text/javascript","packages":{}}}],"id":"d45e2004-b9e6-41ac-bab9-6f51ae86f8b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callerid.edit&server=1&id=11&callerid=&emergencycid=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callerid.edit"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Specify caller ID to be set. (Required)</p>\n","type":"text/plain"},"key":"callerid","value":""},{"description":{"content":"<p>Emergency CallerID.</p>\n","type":"text/plain"},"key":"emergencycid","value":""},{"disabled":true,"description":{"content":"<p>Allowed list of CallerIDs. (Regex: /^(:|(([\\+]?[\\d\\s])+))+$/)</p>\n","type":"text/plain"},"key":"anums","value":""},{"disabled":true,"description":{"content":"<p>Labels for Allowed list of CallerIDs. (Regex: /^(:|([\\+\\w\\s]+(\\s*&lt;[\\+\\d]+&gt;)?))+$/)</p>\n","type":"text/plain"},"key":"alabels","value":""},{"disabled":true,"description":{"content":"<p>Short Codes for Allowed list of CallerIDs. (Regex: /^(([\\d]?(:([\\d])?)+)|[\\d])$/)</p>\n","type":"text/plain"},"key":"acodes","value":""},{"disabled":true,"description":{"content":"<p>Specify list of trunk names separated by colon :. (Regex: /^(:|[a-zA-Z0-9_.-]+)+$/)</p>\n","type":"text/plain"},"key":"trunks","value":""},{"disabled":true,"description":{"content":"<p>Specify list of caller ids for specified trunks.. (Regex: /^(:|([\\+\\w\\s]+(\\s*&lt;[\\+\\d]+&gt;)?))+$/)</p>\n","type":"text/plain"},"key":"tcallerids","value":""},{"disabled":true,"description":{"content":"<p>Specify list of privacies separated by colon : (0 ⇒ anonymous, 1 ⇒ anonymous_id, 2 ⇒ anonymous_number, 3 ⇒ anonymous_number_id, 4 ⇒ none).</p>\n","type":"text/plain"},"key":"tprivacies","value":""}],"variable":[]}},"response":[],"_postman_id":"d45e2004-b9e6-41ac-bab9-6f51ae86f8b6"}],"id":"3d910480-8879-4f22-a722-1a792ba4bf30","_postman_id":"3d910480-8879-4f22-a722-1a792ba4bf30","description":""},{"name":"Call Filters & Blocking","item":[{"name":"Call Filters & Blocking set","event":[{"listen":"test","script":{"id":"309b2cea-b40e-4aca-b0d4-3e4f8bdc5235","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"4dee0fdc-0435-42e7-b33a-1f321c5edd31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callfilters.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callfilters.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"4dee0fdc-0435-42e7-b33a-1f321c5edd31"},{"name":"Call Filters & Blocking get","event":[{"listen":"test","script":{"id":"490b5fd0-7f77-4d16-b989-834c6deef85b","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"b4b40547-860f-4c91-9a54-f7306bf60130","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callfilters.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>ligne de commande de votre action</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.callfilters.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"b4b40547-860f-4c91-9a54-f7306bf60130"},{"name":"Call Filters & Blocking set OSC","event":[{"listen":"test","script":{"id":"b8d76564-b0d1-4cf2-848a-69441c192fd1","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"61963c91-c0de-487b-aab2-69feccc8a515","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callfilters.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callfilters.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"61963c91-c0de-487b-aab2-69feccc8a515"},{"name":"Call Filters & Blocking get OSC","event":[{"listen":"test","script":{"id":"6583b482-1d6b-4994-be05-c5af05746c1c","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"0f4f5af9-5f04-4878-8e77-8e0e7666a668","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callerid.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callerid.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"0f4f5af9-5f04-4878-8e77-8e0e7666a668"},{"name":"Call Filters & Blocking configuration","event":[{"listen":"test","script":{"id":"4657b6e5-504f-47bc-885c-0a0cee0fc28c","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the \"callers,\" \"dtypes,\" and \"destinations\" fields","    pm.test('Callers Field Validation', function () {","        pm.expect(responseBody).to.have.property('callers').that.is.an('array');","        responseBody.callers.forEach(function (caller) {","            pm.expect(caller).to.be.a('string');","        });","    });","","    pm.test('Dtypes Field Validation', function () {","        pm.expect(responseBody).to.have.property('dtypes').that.is.an('array');","        responseBody.dtypes.forEach(function (dtype) {","            pm.expect(dtype).to.be.a('string');","        });","    });","","    pm.test('Destinations Field Validation', function () {","        pm.expect(responseBody).to.have.property('destinations').that.is.an('array');","        responseBody.destinations.forEach(function (destination) {","            pm.expect(destination).to.be.a('string');","        });","    });","}"],"type":"text/javascript","packages":{}}}],"id":"685c207c-bff6-4edd-af13-61adbff68994","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callfilters.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callfilters.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"685c207c-bff6-4edd-af13-61adbff68994"},{"name":"Call Filters & Blocking Edit","event":[{"listen":"test","script":{"id":"7a5f0b9c-7ac5-4f77-9cb1-b710161b7fdb","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the \"success\" and \"callfilters\" fields","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody.success).to.equal('Call Filters & Blocking.'); // Adjust expected value if needed","    });","","    pm.test('Call Filters Field Validation', function () {","        pm.expect(responseBody).to.have.property('callfilters').that.is.a('string');","        pm.expect(responseBody.callfilters).to.equal('OK'); // Adjust expected value if needed","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"d90f32db-1176-476e-a26d-ba6241c87dee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callfilters.edit&server=1&id=11&callers=anonymous,&dtypes=not in service,&destinations=0,&telemarketer=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p><code>callers</code>, <code>dtypes</code> and <code>destinations</code> lists must be same size or error will be returned, cause they define list of records required.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.callfilters.edit"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>List of caller numbers separated with comma ,. This list must start with anonymous value for anonymous callers. (Required) </p>\n","type":"text/plain"},"key":"callers","value":"anonymous,"},{"description":{"content":"<p>Destination types list separated with comma ,. Following values are possible: call forward number|no answer|busy|voicemail|not in service (Required)</p>\n","type":"text/plain"},"key":"dtypes","value":"not in service,"},{"description":{"content":"<p>List of destinations separated with comma ,. (numbers only) (Required)</p>\n","type":"text/plain"},"key":"destinations","value":"0,"},{"description":{"content":"<p>Telemarketer block yes or no (1 or 0)</p>\n","type":"text/plain"},"key":"telemarketer","value":"1"}],"variable":[]}},"response":[],"_postman_id":"d90f32db-1176-476e-a26d-ba6241c87dee"}],"id":"2208f621-91d3-4056-bc33-b4b9709df26c","_postman_id":"2208f621-91d3-4056-bc33-b4b9709df26c","description":""},{"name":"Call Screening","item":[{"name":"Call Screening set","event":[{"listen":"test","script":{"id":"c1ffdc6b-8116-4c3d-8e56-26944a865200","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"8e1ebc1c-2d3b-4bd8-97e5-20989659608d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callscreening.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callscreening.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"8e1ebc1c-2d3b-4bd8-97e5-20989659608d"},{"name":"Call Screening get","event":[{"listen":"test","script":{"id":"6447510b-cff6-41f0-89f4-abb35555960e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"33687f36-a2ce-45c1-a13c-c9aa560cd712","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callscreening.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callscreening.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"33687f36-a2ce-45c1-a13c-c9aa560cd712"},{"name":"Call Screening set OSC","event":[{"listen":"test","script":{"id":"13a30942-5eeb-4821-8c15-07e238264757","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"d4fe57f9-39d0-4bec-a6c2-15615ba00718","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callscreening.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callscreening.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"d4fe57f9-39d0-4bec-a6c2-15615ba00718"},{"name":"Call Screening get OSC","event":[{"listen":"test","script":{"id":"314221c1-14c2-4b22-80f5-e59515a29dd4","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"09bca1b6-e892-48a1-9ad4-baf00aab0a87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callscreening.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callscreening.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"09bca1b6-e892-48a1-9ad4-baf00aab0a87"},{"name":"Call Screening configuration","event":[{"listen":"test","script":{"id":"59ed0a48-be80-4ac6-abae-dbbdbfe17204","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if timeout is a number","        pm.expect(responseBody.timeout).to.be.a('string');","        ","        // Check if dopts, dtype, replacecid, preamble, greeting, pausebeforerec, recordlen, greetingwithname, lastd, and voicemail are strings","        pm.expect(responseBody.dopts).to.be.a('string');","        pm.expect(responseBody.dtype).to.be.a('string');","        pm.expect(responseBody.replacecid).to.be.a('string');","        pm.expect(responseBody.preamble).to.be.a('string');","        pm.expect(responseBody.greeting).to.be.a('string');","        pm.expect(responseBody.pausebeforerec).to.be.a('string');","        pm.expect(responseBody.recordlen).to.be.a('string');","        pm.expect(responseBody.greetingwithname).to.be.a('string');","        pm.expect(responseBody.lastd).to.be.a('string');","        pm.expect(responseBody.voicemail).to.be.a('string');","","        // Check if destionations and delays are arrays with the same length","        pm.expect(responseBody.destinations).to.be.an('array');","        pm.expect(responseBody.delays).to.be.an('array');","        pm.expect(responseBody.destinations.length).to.eql(responseBody.delays.length);","","        // Check if suspends is either an empty string, an array, or an object","        pm.expect(responseBody.suspends).to.satisfy((suspends) => {","            return typeof suspends === 'string' || Array.isArray(suspends) || typeof suspends === 'object';","        });","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"cb280330-fdd2-4d26-a3ab-2189c2f40054","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callscreening.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callscreening.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"cb280330-fdd2-4d26-a3ab-2189c2f40054"},{"name":"Call Screening Edit","event":[{"listen":"test","script":{"id":"a9500070-3b90-480e-bae8-aac03bd50899","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if success is a string","        pm.expect(responseBody.success).to.be.a('string');","        ","        // Check if callscreening is a string","        pm.expect(responseBody.callscreening).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"ad5021bf-47b0-4156-a042-250357471a65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callscreening.edit&server=1&id=11&destinations=422&delays=0&suspends=0&recordlen=30","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p><code>callers</code>, <code>dtypes</code> and <code>destinations</code> lists must be same size or error will be returned, cause they define list of records required.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.callscreening.edit"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>List of destinations separated with comma ,. (Required). (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"destinations","value":"422"},{"description":{"content":"<p>List of delays separated with comma ,. (Required). (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"delays","value":"0"},{"description":{"content":"<p>List of suspend values (0 or 1) separated with comma ,. (Required). (Regex: /^(,|0|1)+$/)</p>\n","type":"text/plain"},"key":"suspends","value":"0"},{"description":{"content":"<p>Max recording length (sec). (Required). (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"recordlen","value":"30"},{"disabled":true,"description":{"content":"<p>Timeout in seconds.</p>\n","type":"text/plain"},"key":"timeout","value":"15"},{"disabled":true,"description":{"content":"<p>Dial options (trT).</p>\n","type":"text/plain"},"key":"dopts","value":"Tr"},{"disabled":true,"description":{"content":"<p>Dial type, 0 or 1 (simultaneous or sequential).</p>\n","type":"text/plain"},"key":"dtypes","value":"1"},{"disabled":true,"description":{"content":"<p>Replace Caller ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"replacecid","value":"888999"},{"disabled":true,"description":{"content":"<p>Preamble. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"preamble","value":"1"},{"disabled":true,"description":{"content":"<p>Greeting. (Regex: /^.+$/).</p>\n","type":"text/plain"},"key":"greeting","value":"Test"},{"disabled":true,"description":{"content":"<p>Pause before recording (sec). (Regex: /^([0-9]|10)$/)</p>\n","type":"text/plain"},"key":"pausebeforerec","value":"5"},{"disabled":true,"description":{"content":"<p>Greeting with name. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"greetingwithname","value":"no"},{"disabled":true,"description":{"content":"<p>Last destination. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"lastd","value":"425"},{"disabled":true,"description":{"content":"<p>Last destination is voicemail. (Regex: /^(0|1)$/)</p>\n","type":"text/plain"},"key":"voicemail","value":"1"}],"variable":[]}},"response":[],"_postman_id":"ad5021bf-47b0-4156-a042-250357471a65"}],"id":"41e5850f-2f89-49ee-8669-aa77f957c2c3","_postman_id":"41e5850f-2f89-49ee-8669-aa77f957c2c3","description":""},{"name":"Do Not Disturbe","item":[{"name":"Do Not Disturb set","event":[{"listen":"test","script":{"id":"d40465bf-68e5-42c9-9632-1fbe5394bf07","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"f770e451-5684-49b8-8cf9-79e249af66b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.dnd.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.dnd.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"f770e451-5684-49b8-8cf9-79e249af66b8"},{"name":"Do Not Disturb get","event":[{"listen":"test","script":{"id":"b01fbb75-370d-4aa0-831b-f21118e10edf","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"b16a1a1e-2697-4940-81ec-2be1e9182b88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.dnd.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.dnd.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"b16a1a1e-2697-4940-81ec-2be1e9182b88"},{"name":"Do Not Disturb set OSC","event":[{"listen":"test","script":{"id":"b3f0e009-b26e-43b1-a37b-1374a6af363a","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"9013caf3-8b9d-4a45-a7ba-f9c77b604170","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.dnd.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.dnd.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"9013caf3-8b9d-4a45-a7ba-f9c77b604170"},{"name":"Do Not Disturb get OSC","event":[{"listen":"test","script":{"id":"43f4ea73-5b6d-4a14-a4a9-eb3a92befdd3","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"bad03a06-347a-421f-85e4-455c1a041c85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.dnd.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.dnd.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"bad03a06-347a-421f-85e4-455c1a041c85"},{"name":"Do Not Disturb configuration","event":[{"listen":"test","script":{"id":"6b337a94-0eda-4d69-a377-30e87dd84454","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if dnd is a number","        pm.expect(responseBody.dnd).to.be.a('string');","        ","        // Check if dst is a string","        pm.expect(responseBody.dst).to.be.a('string');","        ","        // Check if dsttype is a string","        pm.expect(responseBody.dsttype).to.be.a('string');","        ","        // Check if duration is either null or a number","        pm.expect(responseBody.duration).to.satisfy(function (value) {","            return value === null || typeof value === 'string';","        });","    });","}"],"type":"text/javascript","packages":{}}}],"id":"ee4f4bf9-bcbd-4bbe-8f74-57e52b477b60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.dnd.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.dnd.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"ee4f4bf9-bcbd-4bbe-8f74-57e52b477b60"},{"name":"Do Not Disturb Edit","event":[{"listen":"test","script":{"id":"3ba25c70-ad1e-4fad-a7dd-15ef268e66e7","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if success is a string","        pm.expect(responseBody.success).to.be.a('string');","        ","        // Check if dnd is a string","        pm.expect(responseBody.dnd).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"10326207-2266-4f7e-bd0e-5e72324aa0b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.dnd.edit&server=1&id=11&dnd=2&dst=425&dsttype=voicemail&duration=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p><code>callers</code>, <code>dtypes</code> and <code>destinations</code> lists must be same size or error will be returned, cause they define list of records required.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.dnd.edit"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Set dnd temporary or not active (0, 1 or 2 for Not Active, Temporary and Permanent). (Regex: /^(0|1|2)$/)</p>\n","type":"text/plain"},"key":"dnd","value":"2"},{"description":{"content":"<p>Destination value (numbers only). (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"dst","value":"425"},{"description":{"content":"<p>Destination type voicemail or call forward. (Regex: /^(voicemail|call forward)$/)</p>\n","type":"text/plain"},"key":"dsttype","value":"voicemail"},{"description":{"content":"<p>Duration in hours (numbers only)</p>\n","type":"text/plain"},"key":"duration","value":"1"}],"variable":[]}},"response":[],"_postman_id":"10326207-2266-4f7e-bd0e-5e72324aa0b2"}],"id":"9794e330-b618-4c44-947b-1cd70ae34db3","_postman_id":"9794e330-b618-4c44-947b-1cd70ae34db3","description":""},{"name":"Call Pickup","item":[{"name":"Call Pickup set","event":[{"listen":"test","script":{"id":"72fa4765-689e-456b-91f1-121a27c4425e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"5efbea92-57fa-43a3-9d37-32c203c26ad9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callpickup.set&server=1&id=11&state=pin","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callpickup.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes, no or pin.</p>\n","type":"text/plain"},"key":"state","value":"pin"}],"variable":[]}},"response":[],"_postman_id":"5efbea92-57fa-43a3-9d37-32c203c26ad9"},{"name":"Call Pickup get","event":[{"listen":"test","script":{"id":"a54f5c62-d69c-4253-a11c-f51c9d882d70","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"bb756828-b8a3-485b-87a5-502ecf03fc0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callpickup.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callpickup.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"bb756828-b8a3-485b-87a5-502ecf03fc0e"},{"name":"Call Pickup set OSC","event":[{"listen":"test","script":{"id":"0124fe2f-8bf2-4d5b-bfa6-a640ceb554c1","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"48fecadd-cb81-458b-801d-d71b4ba81ac4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callpickup.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callpickup.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"48fecadd-cb81-458b-801d-d71b4ba81ac4"},{"name":"Call Pickup get OSC","event":[{"listen":"test","script":{"id":"ef23e29e-3a03-444e-8e0d-dca9be907d6e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"d869a939-7aed-441f-a3bf-bad10d825e8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callpickup.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callpickup.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"d869a939-7aed-441f-a3bf-bad10d825e8f"}],"id":"1582e24d-e3a2-42b9-a1fa-751778216d3d","_postman_id":"1582e24d-e3a2-42b9-a1fa-751778216d3d","description":""},{"name":"Last Caller","item":[{"name":"Last Caller set","event":[{"listen":"test","script":{"id":"3e669f0f-db08-47a1-bc54-7597f1b4c3b4","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"c8ce4d3c-c41c-40ec-aeea-8fd2916f394a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.lastcaller.set&server=1&id=11&state=pin","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.lastcaller.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes, no or pin.</p>\n","type":"text/plain"},"key":"state","value":"pin"}],"variable":[]}},"response":[],"_postman_id":"c8ce4d3c-c41c-40ec-aeea-8fd2916f394a"},{"name":"Last Caller get","event":[{"listen":"test","script":{"id":"1d5ac724-acbb-45f2-9fdb-e880c77a6e23","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"6c5aecea-28a2-42a7-985c-43ba037d1c01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.lastcaller.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.lastcaller.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"6c5aecea-28a2-42a7-985c-43ba037d1c01"},{"name":"Last Caller set OSC","event":[{"listen":"test","script":{"id":"c3a07ca8-cf95-4b0f-bab4-2129a2418a75","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"b6ebdb1b-6414-4291-bfa4-814bf63c4746","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.lastcaller.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.lastcaller.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"b6ebdb1b-6414-4291-bfa4-814bf63c4746"},{"name":"Last Caller get OSC","event":[{"listen":"test","script":{"id":"264d3d09-b83d-48b0-8a19-5f1e91fb28b5","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"85569049-5659-4c2b-831f-cb862d0b8b54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.lastcaller.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.lastcaller.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"85569049-5659-4c2b-831f-cb862d0b8b54"}],"id":"8653a6d2-ac55-47b6-838c-5f96d5a17853","_postman_id":"8653a6d2-ac55-47b6-838c-5f96d5a17853","description":""},{"name":"Call Forwarding","item":[{"name":"Call Forwarding set","event":[{"listen":"test","script":{"id":"96e0d983-9b59-43c3-9546-9dcbd760bbd8","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"0fc649e4-3704-4ce6-bab4-fbd954546046","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callfwd.set&server=1&id=11&state=pin","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callfwd.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes, no or pin</p>\n","type":"text/plain"},"key":"state","value":"pin"}],"variable":[]}},"response":[],"_postman_id":"0fc649e4-3704-4ce6-bab4-fbd954546046"},{"name":"Call Forwarding get","event":[{"listen":"test","script":{"id":"64fd29c3-50c2-4ac0-a149-256d2274f36f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"6981302f-937a-4b32-b11f-e415b3548602","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callfwd.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callfwd.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"6981302f-937a-4b32-b11f-e415b3548602"},{"name":"Call Forwarding set OSC","event":[{"listen":"test","script":{"id":"b885fcb4-3d57-4e14-9894-86c65aeff20b","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"46a4b47e-3100-4f13-83c1-4c4fd90ce5f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callfwd.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callfwd.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"46a4b47e-3100-4f13-83c1-4c4fd90ce5f6"},{"name":"Call Forwarding get OSC","event":[{"listen":"test","script":{"id":"0e8e9f21-4bb9-4001-bf9b-3ea606c776ea","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"ff73191f-26ff-4a88-a9e6-df3bfdb5ffb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callfwd.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callfwd.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"ff73191f-26ff-4a88-a9e6-df3bfdb5ffb6"},{"name":"Call Forwarding configuration","event":[{"listen":"test","script":{"id":"bb37bb92-0ce1-467e-abf2-c32d4210a9db","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if enabled is a string","        pm.expect(responseBody.enabled).to.be.a('string');","        ","        // Check if destinations is a string","        pm.expect(responseBody.destinations).to.be.a('string');","        ","        // Check if timeouts is a string","        pm.expect(responseBody.timeouts).to.be.a('string');","        ","        // Check if play is a number","        pm.expect(responseBody.play).to.be.a('number');","        ","        // Check if cid is a number","        pm.expect(responseBody.cid).to.be.a('number');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"c4a58a61-7f41-4ad6-b160-41bfb3d5e85a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callfwd.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callfwd.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"c4a58a61-7f41-4ad6-b160-41bfb3d5e85a"},{"name":"Call Forwarding Edit","event":[{"listen":"test","script":{"id":"36f17312-0977-4d6c-8468-4b4ac90827e5","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if success is a string","        pm.expect(responseBody.success).to.be.a('string');","        ","        // Check if callfwd is a string","        pm.expect(responseBody.callfwd).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"05e8e739-2929-4106-b3e6-904b25accb8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callfwd.edit&server=1&id=11&enabled=unconditional,busy,no answer&uncond_dests=422,423,424&busy_dests=424,425&noansw_dests=423&unavail_dests=424&uncond_timeouts=15&busy_timeouts=15&noansw_timeouts=15&unavail_timeouts=20&play=0&cid=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p><code>callers</code>, <code>dtypes</code> and <code>destinations</code> lists must be same size or error will be returned, cause they define list of records required.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.callfwd.edit"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Comma , separated list of enabled call forward conditions, Following values are accepted: unconditional|busy|no answer|line unavailable. (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"enabled","value":"unconditional,busy,no answer"},{"description":{"content":"<p>Comma , separated list of unconditional destinations. (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"uncond_dests","value":"422,423,424"},{"description":{"content":"<p>Comma , separated list of busy destinations. (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"busy_dests","value":"424,425"},{"description":{"content":"<p>Comma , separated list of no answer destinations. (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"noansw_dests","value":"423"},{"description":{"content":"<p>Comma , separated list of unavailable destinations. (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"unavail_dests","value":"424"},{"description":{"content":"<p>Comma , separated list of unconditional timeouts. (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"uncond_timeouts","value":"15"},{"description":{"content":"<p>Comma , separated list of busy timeouts. (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"busy_timeouts","value":"15"},{"description":{"content":"<p>Comma , separated list of no answer timeouts. (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"noansw_timeouts","value":"15"},{"description":{"content":"<p>Comma , separated list of unavailable timeouts. (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"unavail_timeouts","value":"20"},{"description":{"content":"<p>Play enable disable 1 or 0. (Regex: /^(0|1)$/)</p>\n","type":"text/plain"},"key":"play","value":"0"},{"description":{"content":"<p>Caller ID enable disable 1 or 0. (Regex: /^(0|1)$/)</p>\n","type":"text/plain"},"key":"cid","value":"1"}],"variable":[]}},"response":[],"_postman_id":"05e8e739-2929-4106-b3e6-904b25accb8d"}],"id":"c81a534d-774c-48ef-9a14-e7a7dc5df8db","_postman_id":"c81a534d-774c-48ef-9a14-e7a7dc5df8db","description":""},{"name":"Follow Me","item":[{"name":"Follow Me set","event":[{"listen":"test","script":{"id":"bd50f1ea-15d4-4f3b-ab6d-91d56197626f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"59462647-69fe-40b2-a210-8a30ffc919a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.followme.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.followme.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes, no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"59462647-69fe-40b2-a210-8a30ffc919a5"},{"name":"Follow Me get","event":[{"listen":"test","script":{"id":"bdf12ed2-4858-48c4-8655-449bf4291dc7","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"3561a125-a682-4d11-a450-8428edda9a90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.followme.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.followme.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"3561a125-a682-4d11-a450-8428edda9a90"},{"name":"Follow Me set OSC","event":[{"listen":"test","script":{"id":"8dd96383-0311-427e-8ef1-d5f28923c697","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"745a172c-5d04-41c1-a630-702927e44fce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.followme.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.followme.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"745a172c-5d04-41c1-a630-702927e44fce"},{"name":"Follow Me get OSC","event":[{"listen":"test","script":{"id":"627802da-7d80-4539-910e-81f22911cd3c","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"e22cb87a-c69b-477a-ae33-951343dbc4e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.followme.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.followme.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"e22cb87a-c69b-477a-ae33-951343dbc4e0"},{"name":"Follow Me configuration","event":[{"listen":"test","script":{"id":"288f2b09-339d-4481-8fee-292ed6e043e9","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if destinations is an array","        pm.expect(responseBody.destinations).to.be.an('array');","        // Check if timeouts is an array","        pm.expect(responseBody.timeouts).to.be.an('array');","        // Check if dopts is a string","        pm.expect(responseBody.dopts).to.be.a('string');","        // Check if lastd is a string","        pm.expect(responseBody.lastd).to.be.a('string');","        // Check if voicemail is a string","        pm.expect(responseBody.voicemail).to.be.a('string');","        // Check if confirm_calls is a string","        pm.expect(responseBody.confirm_calls).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"f95da3ae-4af7-4cb5-b920-e3bbab39be02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.followme.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.followme.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"f95da3ae-4af7-4cb5-b920-e3bbab39be02"},{"name":"Follow Me Edit","event":[{"listen":"test","script":{"id":"c72d84ba-14a2-48b8-b50f-92c47243887f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if success is a string","        pm.expect(responseBody.success).to.be.a('string');","        ","        // Check if followme is a string","        pm.expect(responseBody.followme).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"d53ce293-a1d8-4a33-b63a-e1923b9a208c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.followme.edit&server=1&id=11&destinations=422,423&timeouts=10,15&dopts=Tr&lastd=425&voicemail=1&confirm_calls=0","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p><code>callers</code>, <code>dtypes</code> and <code>destinations</code> lists must be same size or error will be returned, cause they define list of records required.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.followme.edit"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Comma separated , list of destinations (Required). Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"destinations","value":"422,423"},{"description":{"content":"<p>Comma separated , list of timeouts (Required). (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"timeouts","value":"10,15"},{"description":{"content":"<p>Dial options (trT). (Regex: /^[tTr]+$/)</p>\n","type":"text/plain"},"key":"dopts","value":"Tr"},{"description":{"content":"<p>Last destination. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"lastd","value":"425"},{"description":{"content":"<p>Voicemail yes or no (1 or 0). (Regex: /^(0|1)$/)</p>\n","type":"text/plain"},"key":"voicemail","value":"1"},{"description":{"content":"<p>Voicemail yes or no (1 or 0). (Regex: /^(0|1)$/)</p>\n","type":"text/plain"},"key":"confirm_calls","value":"0"}],"variable":[]}},"response":[],"_postman_id":"d53ce293-a1d8-4a33-b63a-e1923b9a208c"}],"id":"8715414a-cad4-4157-9704-08556dad736e","_postman_id":"8715414a-cad4-4157-9704-08556dad736e","description":""},{"name":"Instant Recording","item":[{"name":"Instant Recording set","event":[{"listen":"test","script":{"id":"5c469514-2cd0-4d40-a4b0-970ac7bc153c","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"3d2dde49-e5a9-48cb-b786-d0ab7870b320","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.instrecord.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.instrecord.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes, no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"3d2dde49-e5a9-48cb-b786-d0ab7870b320"},{"name":"Instant Recording get","event":[{"listen":"test","script":{"id":"4de2dbd9-359a-4e5a-9462-d56c94e13e5d","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"66c49928-7435-4cb5-88af-6db3e5183663","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.instrecord.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.instrecord.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"66c49928-7435-4cb5-88af-6db3e5183663"},{"name":"Instant Recording set OSC","event":[{"listen":"test","script":{"id":"19fdbfee-0001-4cf0-aee7-eb9e75f61931","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"7fc446f8-eb97-4baa-a1f9-438793aa01fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.instrecord.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.instrecord.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"7fc446f8-eb97-4baa-a1f9-438793aa01fe"},{"name":"Instant Recording get OSC","event":[{"listen":"test","script":{"id":"c3bc33b8-4a96-4a9e-88c3-b286f5914815","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"0cd5c453-f60e-4497-b10c-205414a6bc0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.instrecord.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.instrecord.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"0cd5c453-f60e-4497-b10c-205414a6bc0b"},{"name":"Instant Recording configuration","event":[{"listen":"test","script":{"id":"ac78c6bb-1b31-49a5-9abf-fc0a48044cd2","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if silent is a string","        pm.expect(responseBody.silent).to.be.a('string');","        // Check if emailrec is a string","        pm.expect(responseBody.emailrec).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"0e052314-a734-421f-ab42-00f0bb2f2e75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.instrecord.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.instrecord.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"0e052314-a734-421f-ab42-00f0bb2f2e75"},{"name":"Instant Recording Edit","event":[{"listen":"test","script":{"id":"48b80a13-90de-4875-aeb5-52507acd2fe6","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if success is a string","        pm.expect(responseBody.success).to.be.a('string');","        // Check if instrecord is a string","        pm.expect(responseBody.instrecord).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"79da5f1c-72b4-406f-b345-b60577afe373","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.instrecord.edit&server=1&id=11&silent=0&emailrec=0","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p><code>callers</code>, <code>dtypes</code> and <code>destinations</code> lists must be same size or error will be returned, cause they define list of records required.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.instrecord.edit"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Silent (0,1) (Required). (Regex: /^(0|1)$/)</p>\n","type":"text/plain"},"key":"silent","value":"0"},{"description":{"content":"<p>E-mail recording (0,1) (Required). (Regex: /^(0|1)$/)</p>\n","type":"text/plain"},"key":"emailrec","value":"0"}],"variable":[]}},"response":[],"_postman_id":"79da5f1c-72b4-406f-b345-b60577afe373"}],"id":"200a9ff1-18ab-4342-bef1-d613c4c5ee4a","_postman_id":"200a9ff1-18ab-4342-bef1-d613c4c5ee4a","description":""},{"name":"Remote Access","item":[{"name":"Remote Access set","event":[{"listen":"test","script":{"id":"76383dee-fafd-4d38-9676-8e03b97c9dee","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"fe3a0ee6-32af-4519-8939-43b13227c2b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.remoteaccess.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.remoteaccess.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"fe3a0ee6-32af-4519-8939-43b13227c2b4"},{"name":"Remote Access get","event":[{"listen":"test","script":{"id":"30744920-fc0e-4686-a0cc-35f8f9d93bff","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"5a70876d-1d51-46f0-a31e-e833a482cbaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.remoteaccess.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.remoteaccess.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"5a70876d-1d51-46f0-a31e-e833a482cbaf"},{"name":"Remote Access set OSC","event":[{"listen":"test","script":{"id":"a19a7756-187e-4059-8ac2-8ced75df4a3b","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"fd578810-e05a-4bfd-9de7-22688149081d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.remoteaccess.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.remoteaccess.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"fd578810-e05a-4bfd-9de7-22688149081d"},{"name":"Remote Access get OSC","event":[{"listen":"test","script":{"id":"38246526-bc2e-4a80-a59d-f55c14387497","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"a5d7d970-1055-4f90-b71f-960010e62dfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.remoteaccess.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.remoteaccess.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"a5d7d970-1055-4f90-b71f-960010e62dfe"},{"name":"Remote Access configuration","event":[{"listen":"test","script":{"id":"96c3527e-c78c-47b0-9c8a-bd9ddb69221d","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('callerids').that.is.an('array');","        pm.expect(responseBody).to.have.property('pins').that.is.an('array');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"42b4d7b3-abae-422e-9dc6-8bf6a9e17edf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.remoteaccess.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.remoteaccess.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"42b4d7b3-abae-422e-9dc6-8bf6a9e17edf"},{"name":"Remote Access Edit","event":[{"listen":"test","script":{"id":"f2ef8ad3-2cc9-44c4-8525-22edd0fcb410","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('remoteaccess').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"403a0269-408a-4da5-8973-3d7b13fa8df7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.remoteaccess.edit&server=1&id=11&callerids=123456,789654&pins=0,1&requirepin=1&timeout=99999999&dopts=t","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Fields callerids names and pins not correspond to each other.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.remoteaccess.edit"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Comma separated , list of Caller ID’s (Required). (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"callerids","value":"123456,789654"},{"description":{"content":"<p>Comma separated , list of PIN’s - yes or no 1 or 0 (Required). (Regex: /^(,|0|1)+$/)</p>\n","type":"text/plain"},"key":"pins","value":"0,1"},{"description":{"content":"<p>Require Extension PIN 1 or 0 (Required). (Regex: /^(0|1)$/)</p>\n","type":"text/plain"},"key":"requirepin","value":"1"},{"description":{"content":"<p>Timeout in seconds (Optional). (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"timeout","value":"99999999"},{"description":{"content":"<p>Dial options (tTr) (Optional). (Regex: /^[tTr]+$/)</p>\n","type":"text/plain"},"key":"dopts","value":"t"}],"variable":[]}},"response":[],"_postman_id":"403a0269-408a-4da5-8973-3d7b13fa8df7"}],"id":"d7cc4ef5-bc79-4155-bcad-4ea546b3e3fd","_postman_id":"d7cc4ef5-bc79-4155-bcad-4ea546b3e3fd","description":""},{"name":"Phone Callback","item":[{"name":"Phone Callback set","event":[{"listen":"test","script":{"id":"cd8f1291-8028-4136-afda-11b493d7c50d","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"4a4ab741-0c51-4464-a13d-299e47505620","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.phonecallback.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.phonecallback.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes, no or pin.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"4a4ab741-0c51-4464-a13d-299e47505620"},{"name":"Phone Callback get","event":[{"listen":"test","script":{"id":"f6f1fb9c-f21b-436f-861c-386f5bb85ce7","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"f79116e5-75ea-4cda-8069-cf93d64310fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.phonecallback.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.phonecallback.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"f79116e5-75ea-4cda-8069-cf93d64310fb"},{"name":"Phone Callback set OSC","event":[{"listen":"test","script":{"id":"b88ad88a-583c-4ab4-9f87-d5b19f2c57c7","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"6aad33ea-4fb5-41d8-adcd-4d4a5283eab8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.phonecallback.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.phonecallback.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"6aad33ea-4fb5-41d8-adcd-4d4a5283eab8"},{"name":"Phone Callback get OSC","event":[{"listen":"test","script":{"id":"03297fc4-e48e-4374-a480-cd2ef1b7f9ca","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"6e7f25a4-e971-477e-8312-954eea86168c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.phonecallback.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.phonecallback.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"6e7f25a4-e971-477e-8312-954eea86168c"},{"name":"Phone Callback configuration","event":[{"listen":"test","script":{"id":"b03dc598-22f9-446f-bf9c-97bafabd61b2","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('callerids').that.is.an('array');","        pm.expect(responseBody).to.have.property('numbers').that.is.an('array');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"90bedaf3-6681-4a4b-aeb9-dc1e53299a6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.phonecallback.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.phonecallback.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"90bedaf3-6681-4a4b-aeb9-dc1e53299a6a"},{"name":"Phone Callback Edit","event":[{"listen":"test","script":{"id":"7416f6c1-7d99-4d3c-9078-922bbaa1d474","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if success is a string","        pm.expect(responseBody.success).to.be.a('string');","        // Check if instrecord is a string","        pm.expect(responseBody.instrecord).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"286d8c16-f96d-4d03-981b-883e5fdddba1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.phonecallback.edit&server=1&id=11&callerids=&numbers=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.phonecallback.edit"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Comma separated , list of Caller ID’s (Required)</p>\n","type":"text/plain"},"key":"callerids","value":""},{"description":{"content":"<p>Comma separated , list of numbers (Required)</p>\n","type":"text/plain"},"key":"numbers","value":""}],"variable":[]}},"response":[],"_postman_id":"286d8c16-f96d-4d03-981b-883e5fdddba1"}],"id":"27608d0a-4933-435d-bdf6-eb42b0b35d9c","_postman_id":"27608d0a-4933-435d-bdf6-eb42b0b35d9c","description":""},{"name":"Group Hunt","item":[{"name":"Group Hunt set","event":[{"listen":"test","script":{"id":"171e0833-349c-4ca7-b8f4-1d1272d78dbc","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"74a7970c-3cce-4e94-84d6-60f1772bbb1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.grouphunt.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.grouphunt.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"74a7970c-3cce-4e94-84d6-60f1772bbb1b"},{"name":"Group Hunt get","event":[{"listen":"test","script":{"id":"ff58b436-e25c-48c2-9b24-69918cbd95e4","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"982818cc-9163-494d-a3da-47a8574c7f33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.grouphunt.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.grouphunt.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"982818cc-9163-494d-a3da-47a8574c7f33"},{"name":"Group Hunt set OSC","event":[{"listen":"test","script":{"id":"1f37d86a-e10d-4866-8651-a1adb82327f8","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"883473cf-403f-4669-952e-fa40db6dca25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.grouphunt.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.grouphunt.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"883473cf-403f-4669-952e-fa40db6dca25"},{"name":"Group Hunt get OSC","event":[{"listen":"test","script":{"id":"53423abe-f01f-4b77-a02f-6fa26eed522b","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"49387df0-c6b7-4c4e-ac28-ce4e2ae806de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.grouphunt.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.grouphunt.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"49387df0-c6b7-4c4e-ac28-ce4e2ae806de"},{"name":"Group Hunt configuration","event":[{"listen":"test","script":{"id":"6b55607d-903e-4a22-97bd-4f93bc8375d6","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('destinations').that.is.an('array');","        pm.expect(responseBody).to.have.property('delays').that.is.an('array');","        pm.expect(responseBody).to.have.property('suspends').that.satisfy(function(value) {","            return Array.isArray(value) || typeof value === 'string';","        });","        pm.expect(responseBody).to.have.property('dopts').that.is.a('string');","        pm.expect(responseBody).to.have.property('lastd').that.is.a('string');","        pm.expect(responseBody).to.have.property('timeout').that.is.a('string');","        pm.expect(responseBody).to.have.property('voicemail').that.is.a('string');","        pm.expect(responseBody).to.have.property('confirmcalls').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"ecb80560-394b-46ed-8e0c-906390d353cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.grouphunt.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.grouphunt.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"ecb80560-394b-46ed-8e0c-906390d353cf"},{"name":"Group Hunt Edit","event":[{"listen":"test","script":{"id":"b546f6a4-37d1-4c93-ae1c-f1d44e78a293","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('grouphunt').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"08d8fc4a-0848-48ec-bdd5-0288745c9f82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.grouphunt.edit&server=1&id=11&destinations=424,425&delays=10,20&suspends=1,0&timeout=20&dopts=t&lastd=425&voicemail=1&confirmcalls=0","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Fields destinations, delays and suspends lists must match in size</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.grouphunt.edit"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Comma separated , list of destinations (Required). (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"destinations","value":"424,425"},{"description":{"content":"<p>Comma separated , list of delays (Required). (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"delays","value":"10,20"},{"description":{"content":"<p>Comma separated , list of suspends (Required). (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"suspends","value":"1,0"},{"description":{"content":"<p>Timeout in seconds. (Regex: /^\\d+$/).</p>\n","type":"text/plain"},"key":"timeout","value":"20"},{"description":{"content":"<p>Dial options (tTr). (Regex: /^[tTr]+$/)</p>\n","type":"text/plain"},"key":"dopts","value":"t"},{"description":{"content":"<p>Last destination. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"lastd","value":"425"},{"description":{"content":"<p>Voicemail 1 or 0</p>\n","type":"text/plain"},"key":"voicemail","value":"1"},{"description":{"content":"<p>Confirm calls 1 or 0</p>\n","type":"text/plain"},"key":"confirmcalls","value":"0"}],"variable":[]}},"response":[],"_postman_id":"08d8fc4a-0848-48ec-bdd5-0288745c9f82"}],"id":"87f22803-c505-492c-bf2a-2cf6584fd6d7","_postman_id":"87f22803-c505-492c-bf2a-2cf6584fd6d7","description":""},{"name":"Mobile Numbers","item":[{"name":"Mobile Numbers set","event":[{"listen":"test","script":{"id":"92a12d70-dd1a-47f9-b3c2-7384b4c6749a","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"2b6192dc-aebb-4ad9-9322-1b8ac7e06efb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.mobilenumbers.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.mobilenumbers.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"2b6192dc-aebb-4ad9-9322-1b8ac7e06efb"},{"name":"Mobile Numbers get","event":[{"listen":"test","script":{"id":"1b9a550b-1da2-49a0-9c64-66af0f8858e7","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"8121b86f-fef3-454c-8820-ca89eb9d42b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.mobilenumbers.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.mobilenumbers.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"8121b86f-fef3-454c-8820-ca89eb9d42b6"},{"name":"Mobile Numbers set OSC","event":[{"listen":"test","script":{"id":"d98f16ce-ca44-4e2d-a39e-bf872bc0e51e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"f22c3283-d47f-4837-96b8-0ec7d94e5e60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.mobilenumbers.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.mobilenumbers.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"f22c3283-d47f-4837-96b8-0ec7d94e5e60"},{"name":"Mobile Numbers get OSC","event":[{"listen":"test","script":{"id":"ea97da3c-9f20-4aac-b5fe-ca09f47824ca","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"5d2b3ec7-69e1-4557-8568-6d65556e5a35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.mobilenumbers.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.mobilenumbers.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"5d2b3ec7-69e1-4557-8568-6d65556e5a35"},{"name":"Mobile Numbers configuration","event":[{"listen":"test","script":{"id":"27761d3d-6bf1-432e-b8a4-d0c42ad7788e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Check if the response is an array or an object","        pm.expect(responseBody).to.satisfy(function (body) {","            return Array.isArray(body) || (typeof body === 'object' && 'mobiles' in body && 'labels' in body);","        }, 'Response body should be an array or an object with \"mobiles\" and \"labels\" fields.');","","        // If the response is an object, check specific fields","        if (typeof responseBody === 'object' && 'mobiles' in responseBody && 'labels' in responseBody) {","            pm.expect(responseBody.mobiles).to.be.an('array'); // Check if numbers is an array","            pm.expect(responseBody.labels).to.be.an('array'); // Check if labels is an array","            // Add more property checks as needed","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"eac21df5-c4af-4c56-8ea6-b7d46325dcfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.mobilenumbers.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.mobilenumbers.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"eac21df5-c4af-4c56-8ea6-b7d46325dcfb"},{"name":"Mobile Numbers Edit","event":[{"listen":"test","script":{"id":"c1c490c2-4526-486e-a083-55154c37f806","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('mobilenumbers').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"e43b6f9b-5a05-4b90-bd66-24b2ac9e6b3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.mobilenumbers.edit&server=1&id=11&mobiles=21312312443345,12312323123&labels=Test,Test2","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>\"Fields mobiles, labels and suspends lists must match in size.\"</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.mobilenumbers.edit"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Comma separated , list of mobile numbers (Required). (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"mobiles","value":"21312312443345,12312323123"},{"description":{"content":"<p>Comma separated , list of labels (Required). (Regex: /^(,|([\\+\\w\\s]+(\\s*&lt;[\\+\\d]+&gt;)?))+$/).</p>\n","type":"text/plain"},"key":"labels","value":"Test,Test2"}],"variable":[]}},"response":[],"_postman_id":"e43b6f9b-5a05-4b90-bd66-24b2ac9e6b3e"}],"id":"79c49190-524c-4a96-9ec1-da1e02b23869","_postman_id":"79c49190-524c-4a96-9ec1-da1e02b23869","description":""},{"name":"Speakerphone Page","item":[{"name":"Speakerphone Page set","event":[{"listen":"test","script":{"id":"7c37be92-286c-4fd4-9b26-f21ccfdc19b1","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"d7a3814f-5847-4409-86cf-e76ee49b6f91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.sppage.set&server=1&id=11&state=pin","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.sppage.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes, no or pin.</p>\n","type":"text/plain"},"key":"state","value":"pin"}],"variable":[]}},"response":[],"_postman_id":"d7a3814f-5847-4409-86cf-e76ee49b6f91"},{"name":"Speakerphone Page get","event":[{"listen":"test","script":{"id":"04b53742-06d0-45a5-9029-7be7af5f8d92","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"43111ac1-a641-4361-b1ce-472f09c52758","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.sppage.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.sppage.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"43111ac1-a641-4361-b1ce-472f09c52758"},{"name":"Speakerphone Page set OSC","event":[{"listen":"test","script":{"id":"745970c5-ad0e-40d6-a124-104de40e0c49","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"affa2850-7781-4a51-b2bf-112182fd1533","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.sppage.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.sppage.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"affa2850-7781-4a51-b2bf-112182fd1533"},{"name":"Speakerphone Page get OSC","event":[{"listen":"test","script":{"id":"4a561a36-4071-446f-a75a-ad7cc41e71f1","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"8bf2de6c-ec01-4c2a-859f-ac880e120e7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.sppage.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.sppage.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"8bf2de6c-ec01-4c2a-859f-ac880e120e7d"},{"name":"Speakerphone Page configuration","event":[{"listen":"test","script":{"id":"d48944b2-cc01-4d49-8d63-9e4ab7236785","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('extensions').that.is.an('array');","        pm.expect(responseBody.extensions).to.have.length.above(0);","        pm.expect(responseBody).to.have.property('quiet').that.is.a('number');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"c0463785-ea3f-4be4-be25-4ad13999eb03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.sppage.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.sppage.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"c0463785-ea3f-4be4-be25-4ad13999eb03"},{"name":"Speakerphone Page Edit","event":[{"listen":"test","script":{"id":"92e97a2a-688c-4efe-8a65-602ea6e314a4","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('sppage').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"a9062367-f3d5-47da-8946-f5bb44478ac0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.sppage.edit&server=1&id=11&extensions=422,423&quiet=0","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>\"Fields mobiles, labels and suspends lists must match in size.\"</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.sppage.edit"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Comma separated , list of extensions. (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"extensions","value":"422,423"},{"description":{"content":"<p>Quiet mode (1 or 0). (Regex: /^(0|1)$/</p>\n","type":"text/plain"},"key":"quiet","value":"0"}],"variable":[]}},"response":[],"_postman_id":"a9062367-f3d5-47da-8946-f5bb44478ac0"}],"id":"eae13403-ae1c-4963-b68b-82c8b6448a2f","_postman_id":"eae13403-ae1c-4963-b68b-82c8b6448a2f","description":""},{"name":"BLF List","item":[{"name":"BLF List set","event":[{"listen":"test","script":{"id":"c7357aee-6cb2-408d-963d-76ee943b56f6","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"f47e44cb-be8c-407c-9ef2-390240e60ce9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.blflist.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.blflist.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"f47e44cb-be8c-407c-9ef2-390240e60ce9"},{"name":"BLF List get","event":[{"listen":"test","script":{"id":"82aa0231-5a06-4307-ae95-be750edaa642","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"f5898cfc-0543-4b70-9524-bbda7f0fd4f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.blflist.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.blflist.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"f5898cfc-0543-4b70-9524-bbda7f0fd4f7"},{"name":"BLF List set OSC","event":[{"listen":"test","script":{"id":"54f3c8c4-1eda-4c7a-89d7-a299679c6933","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"500075c1-3f97-45eb-8de3-b4bfa8737989","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.blflist.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.blflist.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"500075c1-3f97-45eb-8de3-b4bfa8737989"},{"name":"BLF List get OSC","event":[{"listen":"test","script":{"id":"085c29ff-7f2b-49c9-a6aa-612689dafa78","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"f88341d3-2211-4fea-ba40-820eab3c7aa4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.blflist.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.blflist.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"f88341d3-2211-4fea-ba40-820eab3c7aa4"},{"name":"BLF List configuration","event":[{"listen":"test","script":{"id":"dd265b8e-e759-4612-97a2-5b2659e3cc80","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('exts').that.is.an('array');","        pm.expect(responseBody).to.have.property('labels').that.is.an('array');","        pm.expect(responseBody).to.have.property('functions').that.is.an('array');","        pm.expect(responseBody).to.have.property('blfs').that.is.an('array');","        pm.expect(responseBody).to.have.property('blf_start').that.is.a('number');","        pm.expect(responseBody).to.have.property('blf_cleanup').that.is.a('number');","        pm.expect(responseBody).to.have.property('cart_only').that.is.a('number');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"c223ba1d-5294-4f7d-b4f9-ebaa3666b7ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.blflist.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.blflist.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"c223ba1d-5294-4f7d-b4f9-ebaa3666b7ee"},{"name":"BLF List Edit","event":[{"listen":"test","script":{"id":"fb74ece8-227d-48db-9267-d8b255fc409c","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('blflist').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"fb6e137f-1013-4856-ae6a-edc524d198f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.blflist.edit&server=1&id=11&exts=421,423,424&labels=Ext421,&blfs=1,0,1&blf_start=1&blf_cleanup=0&cart_only=0&functions=1,0,1,2,3","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>\"Fields mobiles, labels and suspends lists must match in size.\"</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.blflist.edit"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Comma separated , list of extensions. (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"exts","value":"421,423,424"},{"description":{"content":"<p>Comma separated , list of labels. (Regex: /^(,|([\\+\\w\\s]+(\\s*&lt;[\\+\\d]+&gt;)?))+$/)</p>\n","type":"text/plain"},"key":"labels","value":"Ext421,"},{"description":{"content":"<p>Comma separated , list of BLFs. (Regex: /^<a href=\",%5B0-1%5D\">0-1</a>+$/)</p>\n","type":"text/plain"},"key":"blfs","value":"1,0,1"},{"description":{"content":"<p>BLF start (number, 2 digits max). (Regex: /^\\d{1,2}$/</p>\n","type":"text/plain"},"key":"blf_start","value":"1"},{"description":{"content":"<p>Clear unused (1 or 0). (Regex: /^[0-1]$/)</p>\n","type":"text/plain"},"key":"blf_cleanup","value":"0"},{"description":{"content":"<p>Cart Only (1 or 0). (Regex: /^[0-1]$/</p>\n","type":"text/plain"},"key":"cart_only","value":"0"},{"key":"functions","value":"1,0,1,2,3"}],"variable":[]}},"response":[],"_postman_id":"fb6e137f-1013-4856-ae6a-edc524d198f9"}],"id":"306fea3d-d3ed-454f-b5ce-8eb486a6c215","_postman_id":"306fea3d-d3ed-454f-b5ce-8eb486a6c215","description":""},{"name":"Speed Dial","item":[{"name":"Speed Dial set","event":[{"listen":"test","script":{"id":"b96cfabb-6d79-4b45-8711-37b173143f6d","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"5b998c43-8c17-443d-a497-442735325381","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.speeddial.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.speeddial.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"5b998c43-8c17-443d-a497-442735325381"},{"name":"Speed Dial get","event":[{"listen":"test","script":{"id":"0be20603-f087-4fd6-b68e-a054beb77361","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"fcd29c5c-3a01-4f1a-b648-9c14b0116581","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.speeddial.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.speeddial.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"fcd29c5c-3a01-4f1a-b648-9c14b0116581"},{"name":"Speed Dial set OSC","event":[{"listen":"test","script":{"id":"ec0e18c4-a639-42ac-b2cf-787517246231","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"3d1ee0c0-84d1-411b-85ee-1034bb3c193f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.speeddial.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.speeddial.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"3d1ee0c0-84d1-411b-85ee-1034bb3c193f"},{"name":"Speed Dial get OSC","event":[{"listen":"test","script":{"id":"353cca1f-7452-4042-8f34-f4ba03c16aca","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"337de224-616d-401f-813b-a65f0bd5d280","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.speeddial.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.speeddial.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"337de224-616d-401f-813b-a65f0bd5d280"},{"name":"Speed Dial configuration","event":[{"listen":"test","script":{"id":"765dc389-cda1-4d92-9f12-97fd7ee2d7f4","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('codes').that.is.an('array');","        pm.expect(responseBody).to.have.property('names').that.is.an('array');","        pm.expect(responseBody).to.have.property('destinations').that.is.an('array');","","        // Assuming all arrays have the same length","        var arrayLength = responseBody.codes.length;","","        // Iterate through each item in the arrays","        for (var i = 0; i < arrayLength; i++) {","            pm.test(`Speed Dial Configuration ${i + 1}`, function () {","                pm.expect(responseBody.codes[i]).to.be.a('string');","                pm.expect(responseBody.names[i]).to.be.a('string');","                pm.expect(responseBody.destinations[i]).to.be.a('string');","            });","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"c1827491-69e8-40e5-89c8-3be20e9a49c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.speeddial.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.speeddial.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"c1827491-69e8-40e5-89c8-3be20e9a49c8"},{"name":"Speed Dial Edit","event":[{"listen":"test","script":{"id":"f7f11584-6597-4d49-9903-a8df2919fa17","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('speeddial').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"834840a2-a816-47da-a379-b02cc4ead55f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.speeddial.edit&server=1&id=11&codes=1,2,99999999&names=Ext451,Ext452,Ext453&destinations=38735450451,38735450452,38735450453","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Fields destinations, delays and suspends lists must match in size</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ext.es.speeddial.edit"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Comma separated , list of codes (Required). (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"codes","value":"1,2,99999999"},{"description":{"content":"<p>Comma separated , list of names (Required). (Regex: /^(,|[\\w\\s]+)+$/)</p>\n","type":"text/plain"},"key":"names","value":"Ext451,Ext452,Ext453"},{"description":{"content":"<p>Comma separated , list of destinations (Required). (Regex: /^(,|\\d+)+$/)</p>\n","type":"text/plain"},"key":"destinations","value":"38735450451,38735450452,38735450453"}],"variable":[]}},"response":[],"_postman_id":"834840a2-a816-47da-a379-b02cc4ead55f"}],"id":"19172c6b-fbd8-4830-b402-145dd2fb7875","_postman_id":"19172c6b-fbd8-4830-b402-145dd2fb7875","description":""},{"name":"Delete Recordings","item":[{"name":"Delete Recordings set","event":[{"listen":"test","script":{"id":"ce0fe0d3-cddd-429f-b6f2-442887270fb0","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"58ec5f82-a820-4787-9b7f-3d6eb28743c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.delrecordings.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.delrecordings.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"58ec5f82-a820-4787-9b7f-3d6eb28743c3"},{"name":"Delete Recordings get","event":[{"listen":"test","script":{"id":"cb898210-f96f-49e1-9134-cbc4e261231e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"8b8eee69-ac58-4790-95ca-bc293c6c940a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.delrecordings.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.delrecordings.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"8b8eee69-ac58-4790-95ca-bc293c6c940a"},{"name":"Delete Recordings set OSC","event":[{"listen":"test","script":{"id":"9d429600-8ee8-4579-bfa4-c3815c632c9c","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"7cd1b53c-a119-4d45-a6f7-6291b9d48412","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.delrecordings.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.delrecordings.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"7cd1b53c-a119-4d45-a6f7-6291b9d48412"},{"name":"Delete Recordings get OSC","event":[{"listen":"test","script":{"id":"9b4fd94d-68a4-4a6b-8ca1-4a6895f45c21","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"a24ee9a0-c075-475f-8b11-5a4d4f030d10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.delrecordings.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.delrecordings.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"a24ee9a0-c075-475f-8b11-5a4d4f030d10"}],"id":"5d3fc751-0817-4668-81fe-df473f81f00a","_postman_id":"5d3fc751-0817-4668-81fe-df473f81f00a","description":""},{"name":"Listen to Recordings","item":[{"name":"Listen to Recordings set","event":[{"listen":"test","script":{"id":"fb417ae5-22e4-4fab-bf83-5829d76ae13f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"e4e5250e-fa5d-48c3-95f5-56e336a59eb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.listenrecordings.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.listenrecordings.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"e4e5250e-fa5d-48c3-95f5-56e336a59eb2"},{"name":"Listen to Recordings get","event":[{"listen":"test","script":{"id":"6b460ddd-4cbf-4e05-8659-67e79f90fd8b","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"07b0efdc-db61-42fd-a459-90995d81a040","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.listenrecordings.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.listenrecordings.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"07b0efdc-db61-42fd-a459-90995d81a040"},{"name":"Listen to Recordings set OSC","event":[{"listen":"test","script":{"id":"3b08e724-8bbc-42f0-a28b-876eb26ee4b3","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"73729ad1-acdd-4afa-bd6b-6239e1d8d179","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.listenrecordings.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.listenrecordings.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"73729ad1-acdd-4afa-bd6b-6239e1d8d179"},{"name":"Listen to Recordings get OSC","event":[{"listen":"test","script":{"id":"241b8b98-6de7-49c4-ae2e-c4ee6b2dac70","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"dab4b187-3f2e-4d65-b96f-371db793403c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.listenrecordings.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.listenrecordings.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"dab4b187-3f2e-4d65-b96f-371db793403c"}],"id":"02da1b2f-e3eb-4a6e-b3f1-1d916d0ab7b5","_postman_id":"02da1b2f-e3eb-4a6e-b3f1-1d916d0ab7b5","description":""},{"name":"System Operation Times","item":[{"name":"System Operation Times set","event":[{"listen":"test","script":{"id":"bfa4c18f-80a5-47ba-98a2-d62b6ccb3cc1","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"9a0bc315-14d1-4bd9-aac9-ca9fe011bbef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.operationtimes.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.operationtimes.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"9a0bc315-14d1-4bd9-aac9-ca9fe011bbef"},{"name":"System Operation Times get","event":[{"listen":"test","script":{"id":"c5dfb395-e38a-4420-8c7d-469bf04160e0","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"442d9476-7eb1-4659-b979-ca0c9429b180","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.operationtimes.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.operationtimes.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"442d9476-7eb1-4659-b979-ca0c9429b180"},{"name":"System Operation Times set OSC","event":[{"listen":"test","script":{"id":"2d8cda41-8ec4-4fdf-b700-195633c4fc99","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"1c530d3d-4511-4359-b959-fc646fe97b81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.operationtimes.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.operationtimes.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"1c530d3d-4511-4359-b959-fc646fe97b81"},{"name":"System Operation Times get OSC","event":[{"listen":"test","script":{"id":"0f679512-bae8-4fb1-8b20-a1e274176b0f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"22b0bc42-a2d0-496b-9851-b1fee738da82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.operationtimes.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.operationtimes.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"22b0bc42-a2d0-496b-9851-b1fee738da82"}],"id":"1ee308fb-7bc3-456f-9514-8768fe55efe1","_postman_id":"1ee308fb-7bc3-456f-9514-8768fe55efe1","description":""},{"name":"Extension Operation Times","item":[{"name":"Extension Operation Times set","event":[{"listen":"test","script":{"id":"16084a8f-919b-4ad7-bf10-503908c176bf","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"41456d15-286e-4ed0-8f18-10aec6a1edf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.extoperationtimes.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.extoperationtimes.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"41456d15-286e-4ed0-8f18-10aec6a1edf1"},{"name":"Extension Operation Times get","event":[{"listen":"test","script":{"id":"8460bf84-815a-4f09-bb2e-3db2ad2ff660","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"a7ad0c3b-d83a-4bf8-b817-a0ec31481387","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.extoperationtimes.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.extoperationtimes.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"a7ad0c3b-d83a-4bf8-b817-a0ec31481387"},{"name":"Extension Operation Times set OSC","event":[{"listen":"test","script":{"id":"d2bdf71c-1a24-404f-ae81-484f34bf4c2b","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"fc9d0b38-4234-4ca9-a458-669cd17afa81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.extoperationtimes.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.extoperationtimes.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"fc9d0b38-4234-4ca9-a458-669cd17afa81"},{"name":"Extension Operation Times get OSC","event":[{"listen":"test","script":{"id":"60dc53d6-15e1-4aaf-ae3b-4716f8fd45e9","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"398a5860-020f-4512-bb4b-ce0c90ef6021","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.extoperationtimes.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.extoperationtimes.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"398a5860-020f-4512-bb4b-ce0c90ef6021"},{"name":"Extension Operation Times Configuration","event":[{"listen":"test","script":{"id":"877b3f15-431c-4e15-bc00-9d02ab504112","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        // Define a function to check if a value is a non-empty string","        function isNonEmptyString(value) {","            return typeof value === 'string' && value !== '';","        }","","        // Validate each property based on whether it's expected to be a non-empty string or an array","        pm.expect(responseBody).to.have.property('timeout').that.satisfies((value) => value === '' || isNonEmptyString(value));","        pm.expect(responseBody).to.have.property('dial_opts').that.satisfies((value) => value === '' || isNonEmptyString(value));","        pm.expect(responseBody).to.have.property('sequential').that.satisfies((value) => value === '' || isNonEmptyString(value));","        pm.expect(responseBody).to.have.property('last_dest').that.satisfies((value) => value === '' || isNonEmptyString(value));","","        // Check if destinations, ot_time_from, ot_time_to, and ot_days_array are arrays if they exist","        if ('destinations' in responseBody) {","            pm.expect(responseBody.destinations).to.be.an('array');","        }","","        if ('ot_time_from' in responseBody) {","            pm.expect(responseBody.ot_time_from).to.be.an('array');","        }","","        if ('ot_time_to' in responseBody) {","            pm.expect(responseBody.ot_time_to).to.be.an('array');","        }","","        if ('ot_days_array' in responseBody) {","            pm.expect(responseBody.ot_days_array).to.be.an('array');","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"1df8ca06-f67d-49cc-9f41-375391088285","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.extoperationtimes.configuration&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.extoperationtimes.configuration"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"1df8ca06-f67d-49cc-9f41-375391088285"}],"id":"81074a19-b432-49c4-ae1a-7e99ac540909","_postman_id":"81074a19-b432-49c4-ae1a-7e99ac540909","description":""},{"name":"Call Monitoring","item":[{"name":"Call Monitoring set","event":[{"listen":"test","script":{"id":"6125322e-c751-4dc1-ba70-51ab7fb2bb3f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"a403733e-6504-479e-a51a-1447b884f2cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callmonitoring.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callmonitoring.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"a403733e-6504-479e-a51a-1447b884f2cf"},{"name":"Call Monitoring get","event":[{"listen":"test","script":{"id":"2bf8b721-d1f6-4734-bdaa-bdafda3114b2","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"b0efbdc7-1a07-4512-bdcf-4de5a0d84f1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callmonitoring.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callmonitoring.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"b0efbdc7-1a07-4512-bdcf-4de5a0d84f1b"},{"name":"Call Monitoring set OSC","event":[{"listen":"test","script":{"id":"b1580daf-c780-4205-9a2f-cab303a1ac71","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"6c5d9ece-57de-40d6-b90d-36130c99afc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callmonitoring.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callmonitoring.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"6c5d9ece-57de-40d6-b90d-36130c99afc4"},{"name":"Call Monitoring get OSC","event":[{"listen":"test","script":{"id":"87275c43-f190-4831-933e-ee6584aaddec","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"9c00e875-cc17-4518-b572-d4e4972c9303","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.callmonitoring.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.callmonitoring.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"9c00e875-cc17-4518-b572-d4e4972c9303"}],"id":"f3745c36-1964-4b4f-b14a-6ba197b3bdd8","_postman_id":"f3745c36-1964-4b4f-b14a-6ba197b3bdd8","description":""},{"name":"Wake-up Call","item":[{"name":"Wake-up Call set","event":[{"listen":"test","script":{"id":"59e2e29a-c4ef-4b4f-aabc-a95cf1906481","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"640b75d3-2109-4781-98f6-98ff782b1978","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.wakeupcall.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.wakeupcall.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"640b75d3-2109-4781-98f6-98ff782b1978"},{"name":"Wake-up Call get","event":[{"listen":"test","script":{"id":"c1ea5cf4-762a-46cb-89f3-193fc3562c17","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"41bc12e8-2ca7-43d6-91de-19ae3abf5875","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.wakeupcall.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.wakeupcall.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"41bc12e8-2ca7-43d6-91de-19ae3abf5875"},{"name":"Wake-up Call set OSC","event":[{"listen":"test","script":{"id":"c59f81b0-bd2f-44d0-b1bf-b870443f259e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"24b313c7-19af-437f-b9ab-e51520443c51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.wakeupcall.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.wakeupcall.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"24b313c7-19af-437f-b9ab-e51520443c51"},{"name":"Wake-up Call get OSC","event":[{"listen":"test","script":{"id":"4ae13e47-6a4a-4c77-809a-d0a769289f00","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"96d8eaa2-d80e-414c-88e2-f315bccc4748","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.wakeupcall.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.wakeupcall.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"96d8eaa2-d80e-414c-88e2-f315bccc4748"}],"id":"c64e6bca-24a3-472a-a5d8-c9f4233bfdd6","_postman_id":"c64e6bca-24a3-472a-a5d8-c9f4233bfdd6","description":""},{"name":"Operator Wake-up Call","item":[{"name":"Operator Wake-up Call set","event":[{"listen":"test","script":{"id":"24b02ab9-e47b-4a15-a9b5-eaa3b2a9b2fd","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"7341cd5f-c3bd-4092-ad77-c3d8a320b681","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.opwakeupcall.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.opwakeupcall.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"7341cd5f-c3bd-4092-ad77-c3d8a320b681"},{"name":"Operator Wake-up Call get","event":[{"listen":"test","script":{"id":"db6f1ff7-e503-4996-b45a-89e543bde4a5","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"535c19f2-8f85-4818-b343-bef2127443ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.opwakeupcall.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.opwakeupcall.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"535c19f2-8f85-4818-b343-bef2127443ef"},{"name":"Operator Wake-up Call set OSC","event":[{"listen":"test","script":{"id":"426ef0f8-7a86-49e8-be13-d482cf76e43b","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"bb6e4da1-ad11-473c-81c6-5f464fe715c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.opwakeupcall.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.opwakeupcall.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"bb6e4da1-ad11-473c-81c6-5f464fe715c6"},{"name":"Operator Wake-up Call get OSC","event":[{"listen":"test","script":{"id":"97dc3492-11d5-4c3f-9bce-41280cf76cbe","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"9d6e0ddf-33e5-4f10-87fc-0bd86592cbce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.opwakeupcall.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.opwakeupcall.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"9d6e0ddf-33e5-4f10-87fc-0bd86592cbce"}],"id":"be99a11e-c940-4cb9-8dde-2163259c1f25","_postman_id":"be99a11e-c940-4cb9-8dde-2163259c1f25","description":""},{"name":"Speakerphone Page Groups","item":[{"name":"Speakerphone Page Groups set","event":[{"listen":"test","script":{"id":"0ef385f5-5a12-481c-9b01-528a324b4fc5","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"e4d17ce9-4aa2-4d5a-bf78-52f2b4d437f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.sppagegroups.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.sppagegroups.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes, no or pin.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"e4d17ce9-4aa2-4d5a-bf78-52f2b4d437f8"},{"name":"Speakerphone Page Groups get","event":[{"listen":"test","script":{"id":"d41d215b-0bca-4251-b4fd-999023aa96f8","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"44f2ae73-c779-438d-bcb6-1f6ec5ce46d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.sppagegroups.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.sppagegroups.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"44f2ae73-c779-438d-bcb6-1f6ec5ce46d1"},{"name":"Speakerphone Page Groups set OSC","event":[{"listen":"test","script":{"id":"67e9aec7-f4f8-41e9-a74e-70ac764fd7b0","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"84d55ad5-c92a-48d5-9b3f-cef3b88726f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.sppagegroups.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.sppagegroups.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"84d55ad5-c92a-48d5-9b3f-cef3b88726f3"},{"name":"Speakerphone Page Groups get OSC","event":[{"listen":"test","script":{"id":"23b6a91c-9fb4-41a5-b1cb-2b2e1f117c47","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"df570306-cc32-4774-9874-b483e9216924","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.sppagegroups.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.sppagegroups.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"df570306-cc32-4774-9874-b483e9216924"}],"id":"7fc15b04-3b19-4b37-af2e-fae1b0ad1844","_postman_id":"7fc15b04-3b19-4b37-af2e-fae1b0ad1844","description":""},{"name":"SMS Notification","item":[{"name":"SMS Notifications set","event":[{"listen":"test","script":{"id":"9cbb67ea-1e27-4086-b2cd-5c533af7ccee","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"95f95bf3-9ebc-4f04-8245-0008f8c550b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.smsnotifications.set&server=1&id=11&state=yes","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.smsnotifications.set"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes, no.</p>\n","type":"text/plain"},"key":"state","value":"yes"}],"variable":[]}},"response":[],"_postman_id":"95f95bf3-9ebc-4f04-8245-0008f8c550b7"},{"name":"SMS Notifications get","event":[{"listen":"test","script":{"id":"98ea07dd-04c1-4a5f-b030-6a3b7f025fbe","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no', 'pin']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"767443cf-2fb1-4b95-b8cf-9a9622ddcec4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.smsnotifications.get&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.smsnotifications.get"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"767443cf-2fb1-4b95-b8cf-9a9622ddcec4"},{"name":"SMS Notifications set OSC","event":[{"listen":"test","script":{"id":"08756467-4d3f-4886-ad02-27dd431f0a98","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","        pm.expect(responseBody.state).to.be.a('string');","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","    // Check if \"success\" field exists","    pm.test('Success Field Validation', function () {","        pm.expect(responseBody).to.have.property('success');","        pm.expect(responseBody.success).to.be.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"bab25d00-9502-43ee-8bee-8309a48672ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.smsnotifications.set_osc&server=1&id=11&state=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.smsnotifications.set_osc"},{"description":{"content":"<p>Server/Tenant ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"},{"description":{"content":"<p>Argument state can have one of these: yes or no. Regex: /^(yes|no|1|0)$/)</p>\n","type":"text/plain"},"key":"state","value":"1"}],"variable":[]}},"response":[],"_postman_id":"bab25d00-9502-43ee-8bee-8309a48672ad"},{"name":"SMS Notifications get OSC","event":[{"listen":"test","script":{"id":"7020b4de-a52c-46fd-9aad-11bf3959e414","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if \"state\" field exists","    pm.test('State Field Validation', function () {","        pm.expect(responseBody).to.have.property('state');","","        // Check if \"state\" is one of the valid values","        pm.expect(['yes', 'no']).to.include(responseBody.state);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"e48c6f16-5c3c-4c8a-ab53-2d3752db81d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ext.es.smsnotifications.get_osc&server=1&id=11","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ext.es.smsnotifications.get_osc"},{"description":{"content":"<p>Server/Tenant ID.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Extension ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"id","value":"11"}],"variable":[]}},"response":[],"_postman_id":"e48c6f16-5c3c-4c8a-ab53-2d3752db81d1"}],"id":"2786f9cf-d16c-4134-8d24-854c1d974ebb","_postman_id":"2786f9cf-d16c-4134-8d24-854c1d974ebb","description":""}],"id":"1dfde900-8a8f-49df-8691-f461565cd3c0","description":"<p>Sous Méthodes supportées :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th><strong>Sous Méthodes</strong></th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>callerid</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>callfilters</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>callscreening</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>dnd</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>callpickup</code></td>\n<td><code>.set .get .set_osc .get_osc</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>lastcaller</code></td>\n<td><code>.set .get .set_osc .get_osc</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>callfwd</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>followme</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>instrecord</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>remoteaccess</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>phonecallback</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>grouphunt</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>mobilenumbers</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>sppage</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>blflist</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>speeddial</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration .edit</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>delrecordings</code></td>\n<td><code>.set .get .set_osc .get_osc</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>listenrecordings</code></td>\n<td><code>.set .get .set_osc .get_osc</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>operationtimes</code></td>\n<td><code>.set .get .set_osc .get_osc</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>extoperationtimes</code></td>\n<td><code>.set .get .set_osc .get_osc .configuration</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>callmonitoring</code></td>\n<td><code>.set .get .set_osc .get_osc</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>wakeupcall</code></td>\n<td><code>.set .get .set_osc .get_osc</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>opwakeupcall</code></td>\n<td><code>.set .get .set_osc .get_osc</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>sppagegroups</code></td>\n<td><code>.set .get .set_osc .get_osc</code></td>\n<td>-</td>\n</tr>\n<tr>\n<td><code>smsnotifications</code></td>\n<td><code>.set .get .set_osc .get_osc</code></td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"1dfde900-8a8f-49df-8691-f461565cd3c0"},{"name":"Conference","item":[{"name":"Listing Conference","event":[{"listen":"test","script":{"id":"60468f18-821d-4cd1-a601-1080ba9e39a4","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Iterate through each UAD in the response","        for (var uadId in responseBody) {","            if (responseBody.hasOwnProperty(uadId)) {","                var uad = responseBody[uadId];","","                pm.test('UAD ' + uadId + ' Validation', function () {","                    pm.expect(uad).to.be.an('object');","                    pm.expect(uad).to.have.property('name').that.is.a('string');","                    pm.expect(uad).to.have.property('fullname').that.is.a('string');","                    pm.expect(uad).to.have.property('enabled').that.is.a('boolean');","                });","            }","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"3bfe19b9-9923-4175-85fe-ca844c6cf080","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.conch.list&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.conch.list"},{"description":{"content":"<p>Tenant ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"3bfe19b9-9923-4175-85fe-ca844c6cf080"},{"name":"Listing Conference Copy","event":[{"listen":"test","script":{"id":"60468f18-821d-4cd1-a601-1080ba9e39a4","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Iterate through each UAD in the response","        for (var uadId in responseBody) {","            if (responseBody.hasOwnProperty(uadId)) {","                var uad = responseBody[uadId];","","                pm.test('UAD ' + uadId + ' Validation', function () {","                    pm.expect(uad).to.be.an('object');","                    pm.expect(uad).to.have.property('name').that.is.a('string');","                    pm.expect(uad).to.have.property('fullname').that.is.a('string');","                    pm.expect(uad).to.have.property('enabled').that.is.a('boolean');","                });","            }","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"22a9c7a5-e04d-4793-80cf-adff1f5cf7d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.configuration.conch.list&id=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.tenant.configuration.conch.list"},{"key":"id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"22a9c7a5-e04d-4793-80cf-adff1f5cf7d2"}],"id":"24d4d120-81ea-4a63-ad09-ef9454e16306","_postman_id":"24d4d120-81ea-4a63-ad09-ef9454e16306","description":""},{"name":"Groupes d'extensions","item":[{"name":"Listing Ring Groups","event":[{"listen":"test","script":{"id":"f7d8e60a-a1d2-4179-acc7-edf8499716f2","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else if (Object.keys(responseBody).length === 0) {","    console.log(\"There is no Ring Groups for this Server/Tenant!\");","    pm.test('No Ring Groups!', function () {","        pm.expect.fail(\"No Ring Groups for this Server/Tenant!\");","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        ","        // Initialize array to store Ring Group IDs","        var rgIDs = [];","        ","        // Loop through Ring Group data","        for (var ringGroupID in responseBody) {","            var ringGroupData = responseBody[ringGroupID];","            ","            // Validate specific properties for each Ring Group","            pm.test('Ring Group ' + ringGroupID + ' Data Validation', function () {","                pm.expect(ringGroupData).to.be.an('object');","                pm.expect(ringGroupData).to.have.property('name').that.is.a('string');","                pm.expect(ringGroupData).to.have.property('ext').that.is.a('string');","                pm.expect(ringGroupData).to.have.property('destinations').that.is.a('string');","                pm.expect(ringGroupData).to.have.property('last_dest').that.is.a('string');","                pm.expect(ringGroupData).to.have.property('last_dest_vm').that.is.oneOf(['yes', 'no']);","                ","                // Print the result for each Ring Group","                console.log('Ring Group ID:', ringGroupID);","                console.log('Ring Group Name:', ringGroupData.name);","                console.log('Ring Group Extension:', ringGroupData.ext);","                console.log('Ring Group Destinations:', ringGroupData.destinations);","                console.log('Ring Group Last Destination:', ringGroupData.last_dest);","                console.log('Ring Group Last Destination is Voicemail:', ringGroupData.last_dest_vm);","                ","                // Push the Ring Group ID to the array","                rgIDs.push(ringGroupID);","            });","        }","        ","        // Save the Ring Group IDs to variables","        pm.collectionVariables.set('RGsID', rgIDs);","        pm.environment.set('RGsID', rgIDs);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"bc109303-fa80-4088-b956-27a31d6705df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ring_group.list&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ring_group.list"},{"description":{"content":"<p>Filter Ring Group list by Server/Tenant ID. If PBXware is running in Tenant Mode this is a required field and must contain a valid Tenant ID. ID 1 is always assigned to Master tenant and cannot be used.</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"bc109303-fa80-4088-b956-27a31d6705df"},{"name":"Adding Ring Groups","event":[{"listen":"test","script":{"id":"a409aed7-6e0d-4828-918b-29f332808623","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('Ring Group ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"0bb97e62-1f3a-4f65-923d-787b0a6f93c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ring_group.add&server=1&name=&ext=&extensions=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>To add multiple RGs use RGs.csv file.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ring_group.add"},{"description":{"content":"<p>Tenant or Server ID (Required). If PBXware is running in Tenant Mode this is a required field and must contain a valid Tenant ID. ID 1 is always assigned to Master tenant and cannot be used.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Ring Group name. (Required)</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>Ring Group extension. (Required)</p>\n","type":"text/plain"},"key":"ext","value":""},{"description":{"content":"<p>List of all ring group extensions separated by ,</p>\n","type":"text/plain"},"key":"extensions","value":""},{"disabled":true,"description":{"content":"<p>Number of concurrent calls allowed into Ring Group (default is 1). (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"max_limit","value":""},{"disabled":true,"description":{"content":"<p>Ring Group Greeting All greetings must begin with greeting-. (Regex: /^greeting\\-([\\w\\-]+)$/)</p>\n","type":"text/plain"},"key":"greeting","value":""},{"disabled":true,"description":{"content":"<p>Perform Answer on undefined greeting (Specify yes or no)</p>\n","type":"text/plain"},"key":"ganswer","value":""},{"disabled":true,"description":{"content":"<p>Timeout message. All timeout messages begin with announce-. (Regex: /^announce\\-([\\w\\-]+)$/)</p>\n","type":"text/plain"},"key":"timeout_msg","value":""},{"disabled":true,"description":{"content":"<p>Number of Ring loops (default is 1). (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"loops","value":""},{"disabled":true,"description":{"content":"<p>Timeout for Ring Group (default is 30 seconds). (Regex: /^\\d{1,8}$/)</p>\n","type":"text/plain"},"key":"timeout","value":""},{"disabled":true,"description":{"content":"<p>Force Ring Group Timeout (Specify yes or no)</p>\n","type":"text/plain"},"key":"overwrite_timeout","value":""},{"disabled":true,"description":{"content":"<p>Dial options (default is r). (Regex: /^\\w+$/)</p>\n","type":"text/plain"},"key":"dial_options","value":""},{"disabled":true,"description":{"content":"<p>Store Unanswered CDRs (Specify yes or no)</p>\n","type":"text/plain"},"key":"store_cdr","value":""},{"disabled":true,"description":{"content":"<p>Last Destination. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"last_dest","value":""},{"disabled":true,"description":{"content":"<p>Last Destination is Voicemail (Specify yes or no)</p>\n","type":"text/plain"},"key":"last_dest_vm","value":""},{"disabled":true,"description":{"content":"<p>Ring Strategy. List of available strategies:\n   all (Default)\n   leastrecent\n   round\n   round_memory</p>\n","type":"text/plain"},"key":"ring_strategy","value":""},{"disabled":true,"description":{"content":"<p>Custom Ringtone for SIP devices. (Regex: /^\\w+$/)</p>\n","type":"text/plain"},"key":"custom_ringtone","value":""},{"disabled":true,"description":{"content":"<p>Replace Caller ID. (Regex: /^[\\+\\w\\s%]+(\\s*&lt;[\\+%\\w]+&gt;)?$/)</p>\n","type":"text/plain"},"key":"callerid","value":""},{"disabled":true,"description":{"content":"<p>Record calls (Specify yes or no)</p>\n","type":"text/plain"},"key":"record","value":""},{"disabled":true,"description":{"content":"<p>Silent Recordings (Specify yes or no)</p>\n","type":"text/plain"},"key":"record_silent","value":""},{"disabled":true,"description":{"content":"<p>Exit Digit. (Regex: /^\\d{1}$/)</p>\n","type":"text/plain"},"key":"exit_digit","value":""},{"disabled":true,"description":{"content":"<p>Exit Extension. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"exit_ext","value":""},{"disabled":true,"description":{"content":"<p>Confirm Calls. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"confirm_calls","value":""},{"disabled":true,"description":{"content":"<p>Confirmation Message. All confirmation messages begin with rg-announce-.</p>\n","type":"text/plain"},"key":"confirm_msg","value":""},{"disabled":true,"description":{"content":"<p>Call Answered Message. All call answered messages begin with rg-late-announce-.</p>\n","type":"text/plain"},"key":"confirm_answered_msg","value":""},{"disabled":true,"description":{"content":"<p>Call Rating Extension. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"call_rating_ext","value":""}],"variable":[]}},"response":[],"_postman_id":"0bb97e62-1f3a-4f65-923d-787b0a6f93c0"},{"name":"Editing Ring Groups","event":[{"listen":"test","script":{"id":"f2939532-7cb7-45f2-89a4-181522ec5889","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Successfully edited Ring Group!', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('Ring Group ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"31ad5624-9957-4d98-8ab3-8581b0bb5425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ring_group.edit&server=1&id=&name=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>To edit multiple RGs use RGs.csv file.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ring_group.edit"},{"description":{"content":"<p>Tenant or Server ID (Required). If PBXware is running in Tenant Mode this is a required field and must contain a valid Tenant ID. ID 1 is always assigned to Master tenant and cannot be used.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Ring Group ID. (Required)</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>Ring Group name.</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>Ring Group extension.</p>\n","type":"text/plain"},"key":"ext","value":""},{"disabled":true,"description":{"content":"<p>List of all ring group extensions separated by ,</p>\n","type":"text/plain"},"key":"extensions","value":""},{"disabled":true,"description":{"content":"<p>Number of concurrent calls allowed into Ring Group (default is 1). (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"max_limit","value":""},{"disabled":true,"description":{"content":"<p>Ring Group Greeting All greetings must begin with greeting-. (Regex: /^greeting\\-([\\w\\-]+)$/)</p>\n","type":"text/plain"},"key":"greeting","value":""},{"disabled":true,"description":{"content":"<p>Perform Answer on undefined greeting (Specify yes or no)</p>\n","type":"text/plain"},"key":"ganswer","value":""},{"disabled":true,"description":{"content":"<p>Timeout message. All timeout messages begin with announce-. (Regex: /^announce\\-([\\w\\-]+)$/)</p>\n","type":"text/plain"},"key":"timeout_msg","value":""},{"disabled":true,"description":{"content":"<p>Number of Ring loops (default is 1). (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"loops","value":""},{"disabled":true,"description":{"content":"<p>Timeout for Ring Group (default is 30 seconds). (Regex: /^\\d{1,8}$/)</p>\n","type":"text/plain"},"key":"timeout","value":""},{"disabled":true,"description":{"content":"<p>Force Ring Group Timeout (Specify yes or no)</p>\n","type":"text/plain"},"key":"overwrite_timeout","value":""},{"disabled":true,"description":{"content":"<p>Dial options (default is r). (Regex: /^\\w+$/)</p>\n","type":"text/plain"},"key":"dial_options","value":""},{"disabled":true,"description":{"content":"<p>Store Unanswered CDRs (Specify yes or no)</p>\n","type":"text/plain"},"key":"store_cdr","value":""},{"disabled":true,"description":{"content":"<p>Last Destination. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"last_dest","value":""},{"disabled":true,"description":{"content":"<p>Last Destination is Voicemail (Specify yes or no)</p>\n","type":"text/plain"},"key":"last_dest_vm","value":""},{"disabled":true,"description":{"content":"<p>Ring Strategy. List of available strategies:\n   all (Default)\n   leastrecent\n   round\n   round_memory</p>\n","type":"text/plain"},"key":"ring_strategy","value":""},{"disabled":true,"description":{"content":"<p>Custom Ringtone for SIP devices. (Regex: /^\\w+$/)</p>\n","type":"text/plain"},"key":"custom_ringtone","value":""},{"disabled":true,"description":{"content":"<p>Replace Caller ID. (Regex: /^[\\+\\w\\s%]+(\\s*&lt;[\\+%\\w]+&gt;)?$/)</p>\n","type":"text/plain"},"key":"callerid","value":""},{"disabled":true,"description":{"content":"<p>Record calls (Specify yes or no)</p>\n","type":"text/plain"},"key":"record","value":""},{"disabled":true,"description":{"content":"<p>Silent Recordings (Specify yes or no)</p>\n","type":"text/plain"},"key":"record_silent","value":""},{"disabled":true,"description":{"content":"<p>Exit Digit. (Regex: /^\\d{1}$/)</p>\n","type":"text/plain"},"key":"exit_digit","value":""},{"disabled":true,"description":{"content":"<p>Exit Extension. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"exit_ext","value":""},{"disabled":true,"description":{"content":"<p>Confirm Calls. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"confirm_calls","value":""},{"disabled":true,"description":{"content":"<p>Confirmation Message. All confirmation messages begin with rg-announce-.</p>\n","type":"text/plain"},"key":"confirm_msg","value":""},{"disabled":true,"description":{"content":"<p>Call Answered Message. All call answered messages begin with rg-late-announce-.</p>\n","type":"text/plain"},"key":"confirm_answered_msg","value":""},{"disabled":true,"description":{"content":"<p>Call Rating Extension. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"call_rating_ext","value":""}],"variable":[]}},"response":[],"_postman_id":"31ad5624-9957-4d98-8ab3-8581b0bb5425"},{"name":"Configuration Ring Groups","event":[{"listen":"test","script":{"id":"5f3cd5be-4f2f-4b59-b95c-3fb93c598713","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Iterate through each ring group in the response","        for (var ringGroupId in responseBody) {","            if (responseBody.hasOwnProperty(ringGroupId)) {","                var ringGroup = responseBody[ringGroupId];","","                pm.test('Ring Group ID ' + ringGroupId + ' Configuration Validation', function () {","                    pm.expect(ringGroup).to.have.property('name').that.is.a('string');","                    pm.expect(ringGroup).to.have.property('ext').that.is.a('string');","                    pm.expect(ringGroup).to.have.property('destinations').that.is.a('string');","                    ","                    pm.expect(ringGroup).to.have.property('options').that.is.an('object');","                    var options = ringGroup.options;","                    pm.expect(options).to.have.property('timeout').that.is.a('string');","                    pm.expect(options).to.have.property('last_dest').that.is.a('string');","                    pm.expect(options).to.have.property('greeting').that.is.a('string');","                    pm.expect(options).to.have.property('loops').that.is.a('string');","                    pm.expect(options).to.have.property('exit_digit').that.is.a('string');","                    pm.expect(options).to.have.property('exit_ext').that.is.a('string');","                    pm.expect(options).to.have.property('record').that.is.a('string');","                    pm.expect(options).to.have.property('record_silent').that.is.a('string');","                    pm.expect(options).to.have.property('ganswer').that.is.a('string');","                    pm.expect(options).to.have.property('max_limit').that.is.a('string');","                    pm.expect(options).to.have.property('store_cdr').that.is.a('string');","                    pm.expect(options).to.have.property('overwrite_timeout').that.is.a('string');","                    pm.expect(options).to.have.property('call_rating_ext').that.is.a('string');","                    pm.expect(options).to.have.property('looping_mode').that.is.a('string');","                    pm.expect(options).to.have.property('skip_pbd_local').that.is.a('string');","                    pm.expect(options).to.have.property('preserve_callerid').that.is.a('string');","                    pm.expect(options).to.have.property('member_es_disable').that.is.a('string');","                    pm.expect(options).to.have.property('last_dest_vm').that.is.a('string');","                    pm.expect(options).to.have.property('confirm_calls').that.is.a('string');","                    pm.expect(options).to.have.property('timeout_msg').that.is.a('string');","                    pm.expect(options).to.have.property('dial_options').that.is.a('string');","                    pm.expect(options).to.have.property('ring_strategy').that.is.a('string');","                    pm.expect(options).to.have.property('custom_ringtone').that.is.a('string');","                    pm.expect(options).to.have.property('callerid').that.is.a('string');","                    pm.expect(options).to.have.property('confirm_msg').that.is.a('string');","                    pm.expect(options).to.have.property('confirm_answered_msg').that.is.a('string');","                });","            }","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"ead11718-4409-4dfc-a62b-1066234da6d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ring_group.configuration&server=1&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.ring_group.configuration"},{"description":{"content":"<p>Server/Tenant ID. (Required). If running in Tenant Mode, make sure this is always greater than 1.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Ring Group ID. (Required)</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"ead11718-4409-4dfc-a62b-1066234da6d5"},{"name":"Deleting Ring Groups","event":[{"listen":"test","script":{"id":"605a3cca-dcb0-4f0d-bce0-e87014c4cb65","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success message","    pm.test('Successfully deleted Ring Group!', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","","        // Print the success message","        console.log('Success:', responseBody.success);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"1ef36d65-3771-4740-8a02-f040eea515f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ring_group.delete&server=1&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>For deleting multiple Ring groups use RGs.csv file, just populate filds for Srv/Tenant-ID and RGsID.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ring_group.delete"},{"description":{"content":"<p>Server/Tenant ID. If running in Tenant Mode, make sure this is always greater than 1.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Ring Group ID</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"1ef36d65-3771-4740-8a02-f040eea515f8"}],"id":"74ba9af2-76a0-4288-ac15-ab6aef809301","description":"<p>Méthodes supportées :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>list</code></td>\n<td>- List des groupes d'extensions</td>\n</tr>\n<tr>\n<td><code>configuration</code></td>\n<td>- configuration un groupe d'extensions</td>\n</tr>\n<tr>\n<td><code>add</code></td>\n<td>- Ajouter un nouveau groupe d'extensions</td>\n</tr>\n<tr>\n<td><code>edit</code></td>\n<td>- Editer un groupe d'extensions</td>\n</tr>\n<tr>\n<td><code>delete</code></td>\n<td>- Supprimer un groupe d'extensions</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"74ba9af2-76a0-4288-ac15-ab6aef809301"},{"name":"Groupes d'extensions évolués","item":[{"name":"List ERGs","event":[{"listen":"test","script":{"id":"07c332f6-d3cf-4f01-8812-69d411021fa3","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if response is empty array","    if (Object.keys(responseBody).length === 0) {","        console.log(\"No created Enhanced Ring Groups for this Server/Tenant!\");","        pm.test('No ERG Error', function () {","            pm.expect.fail(\"No ERG created\");","        });","    } else {","        // Validate the response structure","        pm.test('Response Validation', function () {","            pm.expect(responseBody).to.be.an('object');","","            // Loop through ERG data","            for (var ergID in responseBody) {","                var ergData = responseBody[ergID];","","                // Validate specific properties for each ERG","                pm.test('ERG ' + ergID + ' Data Validation', function () {","                    pm.expect(ergData).to.be.an('object');","                    pm.expect(ergData).to.have.property('name').that.is.a('string');","                    pm.expect(ergData).to.have.property('number').that.is.a('string');","                    pm.expect(ergData).to.have.property('strategy').that.is.a('string');","                    pm.expect(ergData).to.have.property('members').that.is.an('array');","","                    // Print the result for each ERG","                    console.log('ERG ID:', ergID);","                    console.log('ERG Name:', ergData.name);","                    console.log('ERG Number:', ergData.number);","                    console.log('ERG Strategy:', ergData.strategy);","                    console.log('ERG Members:', ergData.members);","                });","            }","        });","        ","        // Save ERG IDs to variable","        var ergIDs = Object.keys(responseBody);","        pm.collectionVariables.set('ERGsID', ergIDs);","        pm.environment.set('ERGsID', ergIDs);","    }","}",""],"type":"text/javascript","packages":{}}}],"id":"547cb686-62b9-42ea-9408-f19ea7169da0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.erg.list&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.erg.list"},{"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"547cb686-62b9-42ea-9408-f19ea7169da0"},{"name":"Add ERGs","event":[{"listen":"prerequest","script":{"id":"7248200a-fa58-4d48-9d3c-32961d2e9f1e","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"13606d5d-9f9b-4989-a05c-8d7da28b4d93","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('ERG Created Successfully', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Extract ERG ID and set it as a collection variable for later use","        pm.collectionVariables.set(\"ERGsID\", responseBody.id);","    });","}"],"type":"text/javascript","packages":{}}}],"id":"df9ae57d-a358-4055-aa32-98d9298f6ee5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.erg.add&server=1&name=&ext=&max_wait_callers=10&rings_answer=0","urlObject":{"protocol":"https","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Add a new ERG.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.erg.add"},{"description":{"content":"<p>Tenant/Server ID (Required)</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Name of a new ERG. (Required). (Regex: /^[a-zA-Z0-9-_]+$/)</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>Extension number that will be used for ERG. (Required). (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"ext","value":""},{"description":{"content":"<p>Maximum number of callers allowed to wait in a ERG at the same time. (Required). (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"max_wait_callers","value":"10"},{"description":{"content":"<p>Number of rings that will be played to a caller before call enters the ERG. (Required). (Regex: /^\\d{1}$/).</p>\n","type":"text/plain"},"key":"rings_answer","value":"0"},{"disabled":true,"description":{"content":"<p>Set whether to record ERG calls or not. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"record","value":"no"},{"disabled":true,"description":{"content":"<p>Select whether ERG should wake up mobile devices that are asleep. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"wake_mobile","value":"no"},{"disabled":true,"description":{"content":"<p>Replace the caller id with the custom value. (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"replace_cid","value":"ERG_CID"},{"disabled":true,"description":{"content":"<p>Send the following URL to Member's softphone, if it supports that option, and the softphone can open that URL so the Member can see callers additional info if available. (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"queue_url","value":"http://domain-name.com"},{"disabled":true,"description":{"content":"<p>ERG full redirect extension number. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"redirect_dest","value":"888"},{"disabled":true,"description":{"content":"<p>Choose whether the redirect extension is a voicemail. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"redirect_vm","value":"yes"},{"disabled":true,"description":{"content":"<p>Set whether to prioritize ERG timeout or not. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"prioritize_timeout","value":"yes"},{"disabled":true,"description":{"content":"<p>Maximum time a caller can wait in an ERG. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"max_wait_seconds","value":"10"},{"disabled":true,"description":{"content":"<p>Set the extension to which caller will be redirected once time set under 'Max Wait Seconds' exceeds. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"max_wait_dest","value":"999"},{"disabled":true,"description":{"content":"<p>Set whether the max wait destination is pointing to voicemail. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"max_wait_dest_vm","value":"yes"},{"disabled":true,"description":{"content":"<p>When there are no members inside a queue, callers will leave it depending on the setting. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"leave_when_empty","value":"yes"},{"disabled":true,"description":{"content":"<p>When queue doesn\"t have any agent logged in, redirect callers to following destination. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"empty_dest","value":"666"},{"disabled":true,"description":{"content":"<p>Set whether the empty destination extension is pointing to voicemail. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"empty_dest_vm","value":"yes"},{"disabled":true,"description":{"content":"<p>Select a greeting file that will be played to all callers waiting in this ERG. (Regex: /^queue-greeting\\-([\\w\\-]+)$/)</p>\n","type":"text/plain"},"key":"greeting","value":"queue-greeting-empty"},{"disabled":true,"description":{"content":"<p>Enable callers waiting in an ERG to hear the hold-time announcements. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"announce_holdtime","value":"yes"},{"disabled":true,"description":{"content":"<p>Enable callers waiting in an ERG to hear the position announcements. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"announce_position","value":"yes"},{"disabled":true,"description":{"content":"<p>How often to play the hold-time announcement message (time in seconds). (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"announce_frequency","value":"30"},{"disabled":true,"description":{"content":"<p>Specifies the minimum amount of time that must pass before we announce the caller’s position in an ERG again. (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"min_announce_frequency","value":"5"},{"disabled":true,"description":{"content":"<p>Rounding level for hold-time announcements. (Regex: /^(0|5|10|15|20|30)$/)</p>\n","type":"text/plain"},"key":"announce_r_seconds","value":"20"},{"disabled":true,"description":{"content":"<p>Select whether to enable Static Members Login. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"static_login","value":"yes"},{"disabled":true,"description":{"content":"<p>If set to 'Yes', Enhanced Enhanced that are enabled on the Extension (that are ERG members) will possibly not be applied if an ERG call is passed to them. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"member_es_disable","value":"yes"},{"disabled":true,"description":{"content":"<p>Set the way calls are transferred to ERG members answering the calls. (Regex: /^(ringall|linear|leastrecent|fewestcalls|random|rrmemory|rrordered|wrandom)$/)</p>\n","type":"text/plain"},"key":"ring_strategy","value":"ringall"},{"disabled":true,"description":{"content":"<p>Set the Member's ring timeout. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"member_ring_timeout","value":"1234"},{"disabled":true,"description":{"content":"<p>Should callers be served one by one or in parallel fashion. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"autofill","value":"no"},{"disabled":true,"description":{"content":"<p>Set whether Members in use should be called when a new caller comes into the ERG. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"ring_inuse","value":"yes"},{"disabled":true,"description":{"content":"<p>Time interval in seconds, for how long to wait before trying the ERG member again. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"retry_timeout","value":"123"},{"disabled":true,"description":{"content":"<p>If this option is set to yes and a BUSY or CONGESTION signal is received on the line, the Member's timeout for answering will be reset. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"timeout_restart","value":"yes"},{"disabled":true,"description":{"content":"<p>After a successful call, this will determine how long to wait (time interval in seconds) before sending a new call to a potentially free member. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"wrapup_time","value":"321"},{"disabled":true,"description":{"content":"<p>Select the sound file that is played periodically to callers waiting in an ERG (has to be in the following format 'periodic-announce-$NAME.gsm' or 'default')\n(Regex: /^(default|periodic-announce\\-([\\w\\-]+))$/)</p>\n","type":"text/plain"},"key":"periodic_announce","value":"default"},{"disabled":true,"description":{"content":"<p>Time interval in seconds at which the periodic message is to be played. (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"periodic_announce_frequency","value":"69"},{"disabled":true,"description":{"content":"<p>The minimum number of seconds between position announcements. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"first_periodic_announce","value":"456"},{"disabled":true,"description":{"content":"<p>Set the advanced ERG call options. \nt   allow the called user transfer the calling user\nT   to allow the calling user to transfer the call.\nH   allow caller to hang up by hitting *.\nn   no retries on the timeout will exit this application and go to the next step.\nr   ring instead of playing MOH\nC   avoid missed calls in ringall strategy</p>\n","type":"text/plain"},"key":"incoming_options","value":"tT"},{"disabled":true,"description":{"content":"<p>When 'r' is selected as Incoming Options and this timeout is used, ERG will first ring entered number of seconds after which MOH will start. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"ring_timeout","value":"4321"},{"disabled":true,"description":{"content":"<p>Should users be able to exit the ERG by dialing a single digit and be automatically redirected to a preset PBXware destination. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"use_exit_digit","value":"yes"},{"disabled":true,"description":{"content":"<p>Define the exit digit. (Regex: /^\\d{1}$/)</p>\n","type":"text/plain"},"key":"exit_digit","value":"9"},{"disabled":true,"description":{"content":"<p>Local PBXware destination number that is dialed once the 'Exit Digit' is dialed. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"exit_dest","value":"777"},{"disabled":true,"description":{"content":"<p>Set whether the exit digit destination is pointing to voicemail. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"exit_vm","value":"yes"},{"disabled":true,"description":{"content":"<p>Enable or disable Abandoned Calls Notification feature. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"enable_notification","value":"yes"},{"disabled":true,"description":{"content":"<p>The e-mail address which will receive notifications of abandoned calls, where an abandoned call is one where the caller hangs up the call while waiting to be answered. (Regex: /^[^@]+@[^@]+\\.[^@]+$/)</p>\n","type":"text/plain"},"key":"notification_email","value":"not_email@mali.com"}],"variable":[]}},"response":[],"_postman_id":"df9ae57d-a358-4055-aa32-98d9298f6ee5"},{"name":"Edit ERGs","event":[{"listen":"prerequest","script":{"id":"a42ff04c-cf92-4bfe-9ea2-ab630f82a08b","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"1c5b1b78-f902-4b60-bad2-c34d9686e31a","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('ERG Created Successfully', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","    });","}"],"type":"text/javascript","packages":{}}}],"id":"28d3735b-3edd-4e54-9f4c-a9e5f96cc93c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.erg.edit&server=1&id=","urlObject":{"protocol":"https","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Edit already created ERGs.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.erg.edit"},{"description":{"content":"<p>Tenant/Server ID (Required)</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Enhanced Ring Group ID</p>\n","type":"text/plain"},"key":"id","value":""},{"disabled":true,"description":{"content":"<p>Name of a new ERG. (Required). (Regex: /^[a-zA-Z0-9-_]+$/)</p>\n","type":"text/plain"},"key":"name","value":"NewName"},{"disabled":true,"description":{"content":"<p>Extension number that will be used for ERG. (Required). (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"ext","value":"999"},{"disabled":true,"description":{"content":"<p>Maximum number of callers allowed to wait in a ERG at the same time. (Required). (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"max_wait_callers","value":"10"},{"disabled":true,"description":{"content":"<p>Number of rings that will be played to a caller before call enters the ERG. (Required). (Regex: /^\\d{1}$/).</p>\n","type":"text/plain"},"key":"rings_answer","value":"0"},{"disabled":true,"description":{"content":"<p>Set whether to record ERG calls or not. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"record","value":"yes"},{"disabled":true,"description":{"content":"<p>Select whether ERG should wake up mobile devices that are asleep. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"wake_mobile","value":"yes"},{"disabled":true,"description":{"content":"<p>Replace the caller id with the custom value. (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"replace_cid","value":"NewERG_CID"},{"disabled":true,"description":{"content":"<p>Send the following URL to Member's softphone, if it supports that option, and the softphone can open that URL so the Member can see callers additional info if available. (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"queue_url","value":"http://test name.com"},{"disabled":true,"description":{"content":"<p>ERG full redirect extension number. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"redirect_dest","value":"425"},{"disabled":true,"description":{"content":"<p>Choose whether the redirect extension is a voicemail. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"redirect_vm","value":"no"},{"disabled":true,"description":{"content":"<p>Set whether to prioritize ERG timeout or not. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"prioritize_timeout","value":"no"},{"disabled":true,"description":{"content":"<p>Maximum time a caller can wait in an ERG. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"max_wait_seconds","value":"2233"},{"disabled":true,"description":{"content":"<p>Set the extension to which caller will be redirected once time set under 'Max Wait Seconds' exceeds. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"max_wait_dest","value":"425"},{"disabled":true,"description":{"content":"<p>Set whether the max wait destination is pointing to voicemail. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"max_wait_dest_vm","value":"no"},{"disabled":true,"description":{"content":"<p>When there are no members inside a queue, callers will leave it depending on the setting. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"leave_when_empty","value":"no"},{"disabled":true,"description":{"content":"<p>When queue doesn\"t have any agent logged in, redirect callers to following destination. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"empty_dest","value":"425"},{"disabled":true,"description":{"content":"<p>Set whether the empty destination extension is pointing to voicemail. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"empty_dest_vm","value":"no"},{"disabled":true,"description":{"content":"<p>Select a greeting file that will be played to all callers waiting in this ERG. (Regex: /^queue-greeting\\-([\\w\\-]+)$/)</p>\n","type":"text/plain"},"key":"greeting","value":"queue-greeting-erg"},{"disabled":true,"description":{"content":"<p>Enable callers waiting in an ERG to hear the hold-time announcements. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"announce_holdtime","value":"no"},{"disabled":true,"description":{"content":"<p>Enable callers waiting in an ERG to hear the position announcements. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"announce_position","value":"no"},{"disabled":true,"description":{"content":"<p>How often to play the hold-time announcement message (time in seconds). (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"announce_frequency","value":"60"},{"disabled":true,"description":{"content":"<p>Specifies the minimum amount of time that must pass before we announce the caller’s position in an ERG again. (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"min_announce_frequency","value":"2"},{"disabled":true,"description":{"content":"<p>Rounding level for hold-time announcements. (Regex: /^(0|5|10|15|20|30)$/)</p>\n","type":"text/plain"},"key":"announce_r_seconds","value":"10"},{"disabled":true,"description":{"content":"<p>Select whether to enable Static Members Login. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"static_login","value":"no"},{"disabled":true,"description":{"content":"<p>If set to 'Yes', Enhanced Enhanced that are enabled on the Extension (that are ERG members) will possibly not be applied if an ERG call is passed to them. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"member_es_disable","value":"no"},{"disabled":true,"description":{"content":"<p>Set the way calls are transferred to ERG members answering the calls. (Regex: /^(ringall|linear|leastrecent|fewestcalls|random|rrmemory|rrordered|wrandom)$/)</p>\n","type":"text/plain"},"key":"ring_strategy","value":"linear"},{"disabled":true,"description":{"content":"<p>Set the Member's ring timeout. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"member_ring_timeout","value":"20"},{"disabled":true,"description":{"content":"<p>Should callers be served one by one or in parallel fashion. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"autofill","value":"yes"},{"disabled":true,"description":{"content":"<p>Set whether Members in use should be called when a new caller comes into the ERG. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"ring_inuse","value":"no"},{"disabled":true,"description":{"content":"<p>Time interval in seconds, for how long to wait before trying the ERG member again. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"retry_timeout","value":"30"},{"disabled":true,"description":{"content":"<p>If this option is set to yes and a BUSY or CONGESTION signal is received on the line, the Member's timeout for answering will be reset. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"timeout_restart","value":"no"},{"disabled":true,"description":{"content":"<p>After a successful call, this will determine how long to wait (time interval in seconds) before sending a new call to a potentially free member. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"wrapup_time","value":"15"},{"disabled":true,"description":{"content":"<p>Select the sound file that is played periodically to callers waiting in an ERG (has to be in the following format 'periodic-announce-$NAME.gsm' or 'default')\n(Regex: /^(default|periodic-announce\\-([\\w\\-]+))$/)</p>\n","type":"text/plain"},"key":"periodic_announce","value":"periodic-announce-erg"},{"disabled":true,"description":{"content":"<p>Time interval in seconds at which the periodic message is to be played. (Regex: /^\\d{1,2}$/)</p>\n","type":"text/plain"},"key":"periodic_announce_frequency","value":"30"},{"disabled":true,"description":{"content":"<p>The minimum number of seconds between position announcements. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"first_periodic_announce","value":"15"},{"disabled":true,"description":{"content":"<p>Set the advanced ERG call options. \nt   allow the called user transfer the calling user\nT   to allow the calling user to transfer the call.\nH   allow caller to hang up by hitting *.\nn   no retries on the timeout will exit this application and go to the next step.\nr   ring instead of playing MOH\nC   avoid missed calls in ringall strategy</p>\n","type":"text/plain"},"key":"incoming_options","value":"r"},{"disabled":true,"description":{"content":"<p>When 'r' is selected as Incoming Options and this timeout is used, ERG will first ring entered number of seconds after which MOH will start. (Regex: /^\\d{1,4}$/)</p>\n","type":"text/plain"},"key":"ring_timeout","value":"30"},{"disabled":true,"description":{"content":"<p>Should users be able to exit the ERG by dialing a single digit and be automatically redirected to a preset PBXware destination. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"use_exit_digit","value":"no"},{"disabled":true,"description":{"content":"<p>Define the exit digit. (Regex: /^\\d{1}$/)</p>\n","type":"text/plain"},"key":"exit_digit","value":"6"},{"disabled":true,"description":{"content":"<p>Local PBXware destination number that is dialed once the 'Exit Digit' is dialed. (Regex: /^\\d{3}$/)</p>\n","type":"text/plain"},"key":"exit_dest","value":"425"},{"disabled":true,"description":{"content":"<p>Set whether the exit digit destination is pointing to voicemail. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"exit_vm","value":"no"},{"disabled":true,"description":{"content":"<p>Enable or disable Abandoned Calls Notification feature. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"enable_notification","value":"no"},{"disabled":true,"description":{"content":"<p>The e-mail address which will receive notifications of abandoned calls, where an abandoned call is one where the caller hangs up the call while waiting to be answered. (Regex: /^[^@]+@[^@]+\\.[^@]+$/)</p>\n","type":"text/plain"},"key":"notification_email","value":"new_not@email.com"}],"variable":[]}},"response":[],"_postman_id":"28d3735b-3edd-4e54-9f4c-a9e5f96cc93c"},{"name":"Adding Members","event":[{"listen":"test","script":{"id":"1d6b7bda-468f-4239-9248-3576b9a93fa9","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the success response structure","    pm.test('Success Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('ERG ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"3dd3557a-9856-492d-8010-109e7c00ee98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.erg.members&server=1&id=&numbers=&penalties=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Adding members to an Enhanced Ring Group. If need to add members in multiple ERGs use ERGs.csv file.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.erg.members"},{"description":{"content":"<p>Tenant/Server ID (Required)</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>ID of an Enhanced Ring Group (Required)</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>List of extension numbers separated with , (Required)</p>\n","type":"text/plain"},"key":"numbers","value":""},{"description":{"content":"<p>List of penalties separated with , (Required)</p>\n","type":"text/plain"},"key":"penalties","value":""}],"variable":[]}},"response":[],"_postman_id":"3dd3557a-9856-492d-8010-109e7c00ee98"},{"name":"Delete ERGs","event":[{"listen":"test","script":{"id":"ce728519-15c3-4382-99d7-45881392f739","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Deleted ERG successfully!', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"49c20396-82e3-4dea-9f48-0817bfc513f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.erg.delete&server=1&id=","urlObject":{"protocol":"https","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Deleting Enhanced Ring Groups</p>\n","type":"text/plain"},"key":"action","value":"pbxware.erg.delete"},{"description":{"content":"<p>Tenant/Server ID</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>Enhanced Ring Group IDs</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"49c20396-82e3-4dea-9f48-0817bfc513f9"}],"id":"719fcc41-9432-4078-9d6a-ec15181dd1c6","description":"<p>Méthodes supportées :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>list</code></td>\n<td>- List des groupes d'extensions évolués</td>\n</tr>\n<tr>\n<td><code>configuration</code></td>\n<td>- configuration un groupe d'extensions évolués</td>\n</tr>\n<tr>\n<td><code>add</code></td>\n<td>- Ajouter un nouveau groupe d'extensions évolués</td>\n</tr>\n<tr>\n<td><code>edit</code></td>\n<td>- Editer un groupe d'extensions évolués</td>\n</tr>\n<tr>\n<td><code>members</code></td>\n<td>Ajouter unnouveau membre au groupe d'extensions évolués</td>\n</tr>\n<tr>\n<td><code>delete</code></td>\n<td>- Supprimer un groupe d'extensions évolués</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"719fcc41-9432-4078-9d6a-ec15181dd1c6"},{"name":"SVIs","item":[{"name":"Listing IVRs","event":[{"listen":"test","script":{"id":"245543c2-ebd3-45b5-a4ca-a741f76e8d12","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else if (Object.keys(responseBody).length === 0) {","    console.log(\"There are no IVRs to show!\");","    pm.test('Empty Response Validation', function () {","        pm.expect.fail(\"There are no IVRs to show!\");","    });","} else {","    // Get the existing IVR IDs array from the environment","    var ivrIDs = pm.collectionVariables.get('IVR-ID') || [];","    ","    // Loop through IVR data","    for (var ivrID in responseBody) {","        var ivrData = responseBody[ivrID];","        ","        // Validate specific properties for each IVR","        pm.test('IVR ' + ivrID + ' Data Validation', function () {","            pm.expect(ivrData).to.be.an('object');","            pm.expect(ivrData).to.have.property('name').that.is.a('string');","            pm.expect(ivrData).to.have.property('type').that.is.oneOf(['0', '1', '2']);","            pm.expect(ivrData).to.have.property('ext').that.is.a('string');","            pm.expect(ivrData).to.have.property('keymap').that.is.an('object');","            pm.expect(ivrData).to.have.property('status').that.is.oneOf(['enabled', 'disabled']);","            pm.expect(ivrData).to.have.property('operator').that.is.oneOf([null, 'string']);","            ","            // Print the result for each IVR","            console.log('IVR ID:', ivrID);","            console.log('IVR Name:', ivrData.name);","            console.log('IVR Type:', ivrData.type);","            console.log('IVR Extension:', ivrData.ext);","            console.log('IVR Keymap Type:', ivrData.keymap.type);","            console.log('IVR Keymap Value:', ivrData.keymap.value);","            console.log('IVR Status:', ivrData.status);","            console.log('IVR Operator:', ivrData.operator);","            ","            // Push the IVR ID to the IVR IDs array","            ivrIDs.push(ivrID);","        });","    }","    ","    // Update the IVR IDs array in the environment","    pm.collectionVariables.set('IVR-ID', ivrIDs);","}",""],"type":"text/javascript","packages":{}}}],"id":"f9f7aa0b-c7d6-42ad-abe8-e1351bc09b77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ivr.list&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Listing of IVRs, by default, will include all IVRs. If you wish to filter by server/tenant, you have to specify correct server argument. List of Tenant IDs, you can fetch from tenant object.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ivr.list"},{"description":{"content":"<p>Filter IVR list by Server/Tenant ID If PBXware is running in Tenant Mode this is a required field and must contain a valid Tenant ID. ID 1 is always assigned to Master tenant and cannot be used.</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"f9f7aa0b-c7d6-42ad-abe8-e1351bc09b77"},{"name":"Adding IVRs","event":[{"listen":"test","script":{"id":"beb0266f-3a48-4803-af73-144e8cd10383","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('number');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('IVR ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"39500b7b-d14a-482c-8e71-73a7f982dc46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ivr.add&server=1&name=IVRtest&ext=603&greeting=greeting-default-attendant&status=1&keymap[2][type]=\"Call External Number\"&keymap[2][destination]=+33777283472","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>To add multiple IVRs use IVRs.csv file.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ivr.add"},{"description":{"content":"<p>Tenant or Server ID (Required) If PBXware is running in Tenant Mode this is a required field and must contain a valid Tenant ID.ID 1 is always assigned to Master tenant and cannot be used.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>IVR name. (Required). No spaces are allowed at the moment.</p>\n","type":"text/plain"},"key":"name","value":"IVRtest"},{"description":{"content":"<p>IVR extension number. (Required)</p>\n","type":"text/plain"},"key":"ext","value":"603"},{"description":{"content":"<p>IVR Greeting (Required). All greetings must begin with greeting-.</p>\n","type":"text/plain"},"key":"greeting","value":"greeting-default-attendant"},{"description":{"content":"<p>IVR status  1: Enabled   0: Disabled</p>\n","type":"text/plain"},"key":"status","value":"1"},{"disabled":true,"description":{"content":"<p>Operator extension</p>\n","type":"text/plain"},"key":"operator","value":""},{"disabled":true,"description":{"content":"<p>Disable CallerID (PIN-based IVR only)</p>\n","type":"text/plain"},"key":"disablecid","value":""},{"disabled":true,"description":{"content":"<p>Response timeout (in seconds) Default is 4.</p>\n","type":"text/plain"},"key":"tresponse","value":""},{"disabled":true,"description":{"content":"<p>RTP Delay (in seconds)</p>\n","type":"text/plain"},"key":"rtpdelay","value":""},{"disabled":true,"description":{"content":"<p>Digit timeout (in seconds) Default is 1.</p>\n","type":"text/plain"},"key":"tdigit","value":""},{"disabled":true,"description":{"content":"<p>Rings to Answer. Default is 1.</p>\n","type":"text/plain"},"key":"rings","value":""},{"disabled":true,"description":{"content":"<p>FAX Email</p>\n","type":"text/plain"},"key":"faxemail","value":""},{"disabled":true,"description":{"content":"<p>Custom ring tone</p>\n","type":"text/plain"},"key":"customring","value":""},{"disabled":true,"description":{"content":"<p>FAX dialing</p>\n","type":"text/plain"},"key":"local2fax","value":""},{"disabled":true,"description":{"content":"<p>Enable range limit</p>\n","type":"text/plain"},"key":"rangelimit","value":""},{"disabled":true,"description":{"content":"<p>Start at</p>\n","type":"text/plain"},"key":"rangestart","value":""},{"disabled":true,"description":{"content":"<p>End at</p>\n","type":"text/plain"},"key":"rangeend","value":""},{"disabled":true,"description":{"content":"<p>Ringing Type\n   ring: Generate Ringing\n   moh: Music on Hold\n   none: None\n   Default is ring.</p>\n","type":"text/plain"},"key":"ringtype","value":""},{"disabled":true,"description":{"content":"<p>Music on Hold class. Applies only if ringtype is set to moh.</p>\n","type":"text/plain"},"key":"moh","value":""},{"disabled":true,"description":{"content":"<p>Number of loops before timoeut. Default is 3.</p>\n","type":"text/plain"},"key":"loops","value":""},{"disabled":true,"description":{"content":"<p>Timeout Extension</p>\n","type":"text/plain"},"key":"timeoutext","value":""},{"disabled":true,"description":{"content":"<p>Timeout Extension Is Voicemail</p>\n","type":"text/plain"},"key":"timeoutextvm","value":""},{"disabled":true,"description":{"content":"<p>Local/Remote dialing   1: Enabled   0: Disabled   It is disabled by default.</p>\n","type":"text/plain"},"key":"localdial","value":""},{"disabled":true,"description":{"content":"<p>Array of IVR keymaps (At least one keymap is required)\nThis argument is to be sent as keymap[key][field]=value\nSupported keys:\n   0-9\n   *\nSupported fields:\n   type: Destination Type\n   destination: Destination (can be any valid extension)\nSupported Destination Types:\n   aa: IVR\n   qu: Queue\n   cf: Conference\n   ex: Extension\n   vm: Voicemail\n   rg: Dial Groups and ERGs\nExample:  keymap[*][type]=aa&amp;keymap[*][destination]=103</p>\n","type":"text/plain"},"key":"keymap[0][type]","value":""},{"disabled":true,"key":"keymap[0][destination]","value":""},{"disabled":true,"key":"keymap[1][type]","value":"ex"},{"disabled":true,"key":"keymap[1][destination]","value":"102"},{"key":"keymap[2][type]","value":"\"Call External Number\""},{"key":"keymap[2][destination]","value":"+33777283472"},{"disabled":true,"key":"keymap[3][type]","value":""},{"disabled":true,"key":"keymap[3][destination]","value":""},{"disabled":true,"key":"keymap[4][type]","value":""},{"disabled":true,"key":"keymap[4][destination]","value":""},{"disabled":true,"key":"keymap[5][type]","value":""},{"disabled":true,"key":"keymap[5][destination]","value":""},{"disabled":true,"key":"keymap[6][type]","value":""},{"disabled":true,"key":"keymap[6][destination]","value":""},{"disabled":true,"key":"keymap[7][type]","value":""},{"disabled":true,"key":"keymap[7][destination]","value":""},{"disabled":true,"key":"keymap[8][type]","value":""},{"disabled":true,"key":"keymap[8][destination]","value":""},{"disabled":true,"key":"keymap[9][type]","value":""},{"disabled":true,"key":"keymap[9][destination]","value":""},{"disabled":true,"key":"keymap[\\*][type]","value":""},{"disabled":true,"key":"keymap[\\*][destination]","value":""},{"disabled":true,"description":{"content":"<p>1 - Enabled, 0 - Disabled</p>\n","type":"text/plain"},"key":"skip_invalid_selection","value":""}],"variable":[]}},"response":[],"_postman_id":"39500b7b-d14a-482c-8e71-73a7f982dc46"},{"name":"Editing IVRs","event":[{"listen":"test","script":{"id":"f1970577-0e8d-403e-873f-54e8a1e21b8d","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('id').that.is.a('string');","","        // Print the success message and ID","        console.log('Success:', responseBody.success);","        console.log('IVR ID:', responseBody.id);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"54ba2241-40e2-4dbf-8411-93848cd5647f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ivr.edit&server=1&id=45&keymap[1][type]=ex&keymap[1][destination]=101","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>To edit multiple IVRs use IVRs.csv file, and populate column IVRsID.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ivr.edit"},{"description":{"content":"<p>Tenant or Server ID (Required) If PBXware is running in Tenant Mode this is a required field and must contain a valid Tenant ID.ID 1 is always assigned to Master tenant and cannot be used.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>IVRs ID. (Required)</p>\n","type":"text/plain"},"key":"id","value":"45"},{"disabled":true,"description":{"content":"<p>IVR name. No spaces are allowed at the moment. (Regex: /^[\\w\\s]+$/)</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>IVR extension number. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"ext","value":""},{"disabled":true,"description":{"content":"<p>IVR Greeting. All greetings must begin with greeting-. (Regex: /^greeting\\-([\\w\\-]+)$/)</p>\n","type":"text/plain"},"key":"greeting","value":""},{"disabled":true,"description":{"content":"<p>IVR status  1: Enabled   0: Disabled</p>\n","type":"text/plain"},"key":"status","value":""},{"disabled":true,"description":{"content":"<p>Operator extension. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"operator","value":""},{"disabled":true,"description":{"content":"<p>Disable CallerID (PIN-based IVR only). Yes=1, No=0, NotSet=2</p>\n","type":"text/plain"},"key":"disablecid","value":""},{"disabled":true,"description":{"content":"<p>Response timeout (in seconds) Default is 4. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"tresponse","value":""},{"disabled":true,"description":{"content":"<p>RTP Delay (in seconds). (Regex: /^\\d{1,3}$/). Default is 1</p>\n","type":"text/plain"},"key":"rtpdelay","value":""},{"disabled":true,"description":{"content":"<p>Digit timeout (in seconds) Default is 1. (Regex: /^\\d{1,5}$/)</p>\n","type":"text/plain"},"key":"tdigit","value":""},{"disabled":true,"description":{"content":"<p>Rings to Answer. Default is 1. (Regex: /^\\d{1}$/)</p>\n","type":"text/plain"},"key":"rings","value":""},{"disabled":true,"description":{"content":"<p>FAX Email. (Regex: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]+$/)</p>\n","type":"text/plain"},"key":"faxemail","value":""},{"disabled":true,"description":{"content":"<p>Custom ring tone. (Regex: /^\\w+$/)</p>\n","type":"text/plain"},"key":"customring","value":""},{"disabled":true,"description":{"content":"<p>FAX dialing. Yes=1, No=0, NotSet=2</p>\n","type":"text/plain"},"key":"local2fax","value":""},{"disabled":true,"description":{"content":"<p>Enable range limit. Yes=1, No=0, NotSet=2</p>\n","type":"text/plain"},"key":"rangelimit","value":""},{"disabled":true,"description":{"content":"<p>Start at. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"rangestart","value":""},{"disabled":true,"description":{"content":"<p>End at. (Regex: /^\\d{1,3}$/)</p>\n","type":"text/plain"},"key":"rangeend","value":""},{"disabled":true,"description":{"content":"<p>Ringing Type\n   ring: Generate Ringing\n   moh: Music on Hold\n   none: None\n   Default is ring.</p>\n","type":"text/plain"},"key":"ringtype","value":""},{"disabled":true,"description":{"content":"<p>Music on Hold class. Applies only if ringtype is set to moh.</p>\n","type":"text/plain"},"key":"moh","value":""},{"disabled":true,"description":{"content":"<p>Number of loops before timoeut. Default is 3. (Regex: /^([1-9]|1[0-9]|20)$/)</p>\n","type":"text/plain"},"key":"loops","value":""},{"disabled":true,"description":{"content":"<p>Timeout Extension. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"timeoutext","value":""},{"disabled":true,"description":{"content":"<p>Timeout Extension Is Voicemail. Yes=1, No=0, NotSet=2</p>\n","type":"text/plain"},"key":"timeoutextvm","value":""},{"disabled":true,"description":{"content":"<p>Local/Remote dialing   1: Enabled   0: Disabled   It is disabled by default.</p>\n","type":"text/plain"},"key":"localdial","value":""},{"disabled":true,"description":{"content":"<p>Array of IVR keymaps. This argument is to be sent as keymap[key][field]=value\nSupported keys: \"0-9\" and  \"*\"\nSupported fields:\n   type: Destination Type\n   destination: Destination (can be any valid extension)\nSupported Destination Types:\n   aa: IVR\n   qu: Queue\n   cf: Conference\n   ex: Extension\n   vm: Voicemail\n   rg: Dial Groups and ERGs</p>\n","type":"text/plain"},"key":"keymap[0][type]","value":""},{"disabled":true,"key":"keymap[0][destination]","value":""},{"key":"keymap[1][type]","value":"ex"},{"key":"keymap[1][destination]","value":"101"},{"disabled":true,"key":"keymap[2][type]","value":""},{"disabled":true,"key":"keymap[2][destination]","value":""},{"disabled":true,"key":"keymap[3][type]","value":""},{"disabled":true,"key":"keymap[3][destination]","value":""},{"disabled":true,"key":"keymap[4][type]","value":""},{"disabled":true,"key":"keymap[4][destination]","value":""},{"disabled":true,"key":"keymap[5][type]","value":""},{"disabled":true,"key":"keymap[5][destination]","value":""},{"disabled":true,"key":"keymap[6][type]","value":""},{"disabled":true,"key":"keymap[6][destination]","value":""},{"disabled":true,"key":"keymap[7][type]","value":""},{"disabled":true,"key":"keymap[7][destination]","value":""},{"disabled":true,"key":"keymap[8][type]","value":""},{"disabled":true,"key":"keymap[8][destination]","value":""},{"disabled":true,"key":"keymap[9][type]","value":""},{"disabled":true,"key":"keymap[9][destination]","value":""},{"disabled":true,"key":"keymap[/*][type]","value":""},{"disabled":true,"key":"keymap[/*][destination]","value":""},{"disabled":true,"description":{"content":"<p>1 - Enabled, 0 - Disabled</p>\n","type":"text/plain"},"key":"skip_invalid_selection","value":""}],"variable":[]}},"response":[],"_postman_id":"54ba2241-40e2-4dbf-8411-93848cd5647f"},{"name":"Deleting IVRs","event":[{"listen":"test","script":{"id":"4beb5c8f-6602-4e4f-9c0f-d798308bb6aa","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","","        // Print the success message","        console.log('Success:', responseBody.success);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"835ee3f6-043d-43b1-99ad-6fb5b2bbdfca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.ivr.delete&server=1&id=45","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Use CSV IVRs.csv file for deleting more IVRs in one move. Populate Srv/Tenant-ID and IVRsID.</p>\n","type":"text/plain"},"key":"action","value":"pbxware.ivr.delete"},{"description":{"content":"<p>Server/Tenant ID. If running in Tenant Mode, make sure this is always greater than 1.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>IVRs ID</p>\n","type":"text/plain"},"key":"id","value":"45"}],"variable":[]}},"response":[],"_postman_id":"835ee3f6-043d-43b1-99ad-6fb5b2bbdfca"}],"id":"7d473521-eb88-4143-8223-25347cb2cf62","description":"<p>Méthodes supportées :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>list</code></td>\n<td>- List des SVI</td>\n</tr>\n<tr>\n<td><code>add</code></td>\n<td>- Ajouter une nouvelle SVI</td>\n</tr>\n<tr>\n<td><code>edit</code></td>\n<td>- Editer une SVI existante</td>\n</tr>\n<tr>\n<td><code>delete</code></td>\n<td>- Supprimer une SVI existante</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"7d473521-eb88-4143-8223-25347cb2cf62"},{"name":"Operation Times","item":[{"name":"DID OT","item":[{"name":"Listing Operation Times","event":[{"listen":"test","script":{"id":"c666bd5d-6769-446c-a168-5ad0915eff6e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if the response contains an \"error\" field","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","   // Check if the response body is an empty array","    if (Array.isArray(responseBody) && responseBody.length === 0) {","        // Handle the case where the response is an empty array","        pm.test('Empty Response', function () {","            pm.expect.fail('There is no Operation times defined for given parameters!');","        });","    } else {","        // Validate the response structure","        pm.test('Response Validation', function () {","            pm.expect(responseBody).to.be.an('object');","","            // Iterate through the keys (IDs) in the response","            for (var id in responseBody) {","                var operationTimes = responseBody[id];","","                // Validate specific properties for each operation time","                pm.expect(operationTimes).to.have.property('status').that.is.oneOf(['on', 'off', 'inherit']);","                pm.expect(operationTimes).to.have.property('greeting').that.is.a('string');","                pm.expect(operationTimes).to.have.property('default_dest_ext').that.is.a('string');","                pm.expect(operationTimes).to.have.property('default_dest_is_vm').that.is.oneOf(['yes', 'no']);","","                // Validate the closed dates for each operation time","                pm.expect(operationTimes).to.have.property('closed_dates').that.is.an('array');","                operationTimes.closed_dates.forEach(function (closedDate) {","                    pm.expect(closedDate).to.be.an('object');","                    pm.expect(closedDate).to.have.property('description').that.is.a('string');","                    pm.expect(closedDate).to.have.property('destination').that.is.a('string');","                    pm.expect(closedDate).to.have.property('date_from').that.is.a('string');","                    pm.expect(closedDate).to.have.property('date_to').that.is.a('string');","                    pm.expect(closedDate).to.have.property('time_from').that.is.a('string');","                    pm.expect(closedDate).to.have.property('time_to').that.is.a('string');","                });","","                // Validate the custom destinations for each operation time","                pm.expect(operationTimes).to.have.property('custom_destinations').that.is.an('array');","                operationTimes.custom_destinations.forEach(function (customDest) {","                    pm.expect(customDest).to.be.an('object');","                    pm.expect(customDest).to.have.property('destination').that.is.a('string');","                    pm.expect(customDest).to.have.property('is_open_range').that.is.oneOf(['yes', 'no']);","                    pm.expect(customDest).to.have.property('days').that.is.a('string');","                    pm.expect(customDest).to.have.property('time_from').that.is.a('string');","                    pm.expect(customDest).to.have.property('time_to').that.is.a('string');","                });","","                // Validate the open days for each operation time","                pm.expect(operationTimes).to.have.property('open_days').that.is.an('array');","                operationTimes.open_days.forEach(function (openDay) {","                    pm.expect(openDay).to.be.an('object');","                    pm.expect(openDay).to.have.property('description').that.is.a('string');","                    pm.expect(openDay).to.have.property('days').that.is.a('string');","                    pm.expect(openDay).to.have.property('time_from').that.is.a('string');","                    pm.expect(openDay).to.have.property('time_to').that.is.a('string');","                });","            }","        });","    }","}",""],"type":"text/javascript","packages":{}}}],"id":"61a4b8bf-3363-4dcd-9d27-78e27b7286e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.otimes.did.list&server=3&id=3","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.otimes.did.list"},{"description":{"content":"<p>Request the Operation Times state by destination server ID (used with MT systems in combination with other fields)</p>\n","type":"text/plain"},"key":"server","value":"3"},{"description":{"content":"<p>Request the Operation Times state by destination ID (most of destionation supports this)</p>\n","type":"text/plain"},"key":"id","value":"3"},{"disabled":true,"description":{"content":"<p>Request the Operation Times state by destination extension (used for DIDs)</p>\n","type":"text/plain"},"key":"ext","value":""}],"variable":[]}},"response":[],"_postman_id":"61a4b8bf-3363-4dcd-9d27-78e27b7286e6"},{"name":"Set Operation Times","event":[{"listen":"test","script":{"id":"6050dbed-b943-4fcd-b4ad-e96fce1e64f8","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check for the success message","    pm.test('Edited Operation Times successfuly!', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"87fe8627-262d-4733-a604-fd2397099f36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?action=pbxware.otimes.did.set&apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&server=1&id=15","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"action","value":"pbxware.otimes.did.set"},{"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Tenant ID on MT systems</p>\n","type":"text/plain"},"key":"server","value":"1"},{"description":{"content":"<p>DID ID to edit.</p>\n","type":"text/plain"},"key":"id","value":"15"},{"disabled":true,"description":{"content":"<p>Status of the Operation Times. (Regex: /^(on|off|inherit)$/))</p>\n","type":"text/plain"},"key":"status","value":""},{"disabled":true,"description":{"content":"<p>Greeting sound file. (Regex: /^greeting\\-([\\w\\-]+)$/)</p>\n","type":"text/plain"},"key":"greeting","value":""},{"disabled":true,"description":{"content":"<p>Default extension to which all calls will be redirected. ((Regex: /^\\d+$/))</p>\n","type":"text/plain"},"key":"default_dest_ext","value":""},{"disabled":true,"description":{"content":"<p>Default extension is Voicemail or not. (Regex: /^(yes|no)$/)</p>\n","type":"text/plain"},"key":"default_dest_is_vm","value":""},{"disabled":true,"description":{"content":"<p>Ordered descriptions of the closed dates settings</p>\n","type":"text/plain"},"key":"closed_dates_desc[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered extensions of the closed dates settings</p>\n","type":"text/plain"},"key":"closed_dates_dest[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered From dates of the closed dates settings. When setting up Closed Dates it is important that dates follow the yyyy-mm-dd format. For example: 2023-02-20</p>\n","type":"text/plain"},"key":"closed_dates_date_from[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered To dates. When setting up Closed Dates it is important that dates follow the yyyy-mm-dd format. For example: 2023-02-20</p>\n","type":"text/plain"},"key":"closed_dates_date_to[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered From time.</p>\n","type":"text/plain"},"key":"closed_dates_time_from[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered To time</p>\n","type":"text/plain"},"key":"closed_dates_time_to[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered destinations of the custom destinations settings</p>\n","type":"text/plain"},"key":"custom_destinations_dest[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered opened status of the custom destinations settings</p>\n","type":"text/plain"},"key":"custom_destinations_is_open[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered days in the week of the custom destinations settings</p>\n","type":"text/plain"},"key":"custom_destinations_days[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered time from of the custom destinations settings</p>\n","type":"text/plain"},"key":"custom_destinations_time_from[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered time to of the custom destinations settings</p>\n","type":"text/plain"},"key":"custom_destinations_time_to[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered description of the open days settings</p>\n","type":"text/plain"},"key":"open_days_desc[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered days in the week of the open days settings</p>\n","type":"text/plain"},"key":"open_days[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered time from of the open days settings</p>\n","type":"text/plain"},"key":"open_days_time_from[]","value":""},{"disabled":true,"description":{"content":"<p>Ordered time to of the open days settings</p>\n","type":"text/plain"},"key":"open_days_time_to[]","value":""},{"disabled":true,"description":{"content":"<p>PIN number used for Routes Operation Times only</p>\n","type":"text/plain"},"key":"pin","value":""}],"variable":[]}},"response":[],"_postman_id":"87fe8627-262d-4733-a604-fd2397099f36"}],"id":"efa1eeff-7054-4f0c-a113-4062703711b3","_postman_id":"efa1eeff-7054-4f0c-a113-4062703711b3","description":""},{"name":"IVR OT","item":[{"name":"Listing Operation Times Copy","event":[{"listen":"test","script":{"id":"981e3710-d307-4090-a85f-cc1e861c31d5","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if the response contains an \"error\" field","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","   // Check if the response body is an empty array","    if (Array.isArray(responseBody) && responseBody.length === 0) {","        // Handle the case where the response is an empty array","        pm.test('Empty Response', function () {","            pm.expect.fail('There is no Operation times defined for given parameters!');","        });","    } else {","        // Validate the response structure","        pm.test('Response Validation', function () {","            pm.expect(responseBody).to.be.an('object');","","            // Iterate through the keys (IDs) in the response","            for (var id in responseBody) {","                var operationTimes = responseBody[id];","","                // Validate specific properties for each operation time","                pm.expect(operationTimes).to.have.property('status').that.is.oneOf(['on', 'off', 'inherit']);","                pm.expect(operationTimes).to.have.property('greeting').that.is.a('string');","                pm.expect(operationTimes).to.have.property('default_dest_ext').that.is.a('string');","                pm.expect(operationTimes).to.have.property('default_dest_is_vm').that.is.oneOf(['yes', 'no']);","","                // Validate the closed dates for each operation time","                pm.expect(operationTimes).to.have.property('closed_dates').that.is.an('array');","                operationTimes.closed_dates.forEach(function (closedDate) {","                    pm.expect(closedDate).to.be.an('object');","                    pm.expect(closedDate).to.have.property('description').that.is.a('string');","                    pm.expect(closedDate).to.have.property('destination').that.is.a('string');","                    pm.expect(closedDate).to.have.property('date_from').that.is.a('string');","                    pm.expect(closedDate).to.have.property('date_to').that.is.a('string');","                    pm.expect(closedDate).to.have.property('time_from').that.is.a('string');","                    pm.expect(closedDate).to.have.property('time_to').that.is.a('string');","                });","","                // Validate the custom destinations for each operation time","                pm.expect(operationTimes).to.have.property('custom_destinations').that.is.an('array');","                operationTimes.custom_destinations.forEach(function (customDest) {","                    pm.expect(customDest).to.be.an('object');","                    pm.expect(customDest).to.have.property('destination').that.is.a('string');","                    pm.expect(customDest).to.have.property('is_open_range').that.is.oneOf(['yes', 'no']);","                    pm.expect(customDest).to.have.property('days').that.is.a('string');","                    pm.expect(customDest).to.have.property('time_from').that.is.a('string');","                    pm.expect(customDest).to.have.property('time_to').that.is.a('string');","                });","","                // Validate the open days for each operation time","                pm.expect(operationTimes).to.have.property('open_days').that.is.an('array');","                operationTimes.open_days.forEach(function (openDay) {","                    pm.expect(openDay).to.be.an('object');","                    pm.expect(openDay).to.have.property('description').that.is.a('string');","                    pm.expect(openDay).to.have.property('days').that.is.a('string');","                    pm.expect(openDay).to.have.property('time_from').that.is.a('string');","                    pm.expect(openDay).to.have.property('time_to').that.is.a('string');","                });","            }","        });","    }","}",""],"type":"text/javascript","packages":{}}}],"id":"6bc86c4b-9395-47cc-bc7f-8559f19f1ca4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.otimes.ivr.list&server=2&id=26","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.otimes.ivr.list"},{"description":{"content":"<p>Request the Operation Times state by destination server ID (used with MT systems in combination with other fields)</p>\n","type":"text/plain"},"key":"server","value":"2"},{"description":{"content":"<p>Request the Operation Times state by destination ID (most of destionation supports this)</p>\n","type":"text/plain"},"key":"id","value":"26"},{"disabled":true,"description":{"content":"<p>Request the Operation Times state by destination extension (used for DIDs)</p>\n","type":"text/plain"},"key":"ext","value":""}],"variable":[]}},"response":[],"_postman_id":"6bc86c4b-9395-47cc-bc7f-8559f19f1ca4"}],"id":"80bc68b5-9425-4663-8770-d274c07d356b","_postman_id":"80bc68b5-9425-4663-8770-d274c07d356b","description":""},{"name":"Dial Group OT","item":[{"name":"Listing Operation Times","id":"1ebdac23-eddf-45b5-a818-fc811cdc69b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.otimes.dial_group.list&server=&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.otimes.dial_group.list"},{"key":"server","value":""},{"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"1ebdac23-eddf-45b5-a818-fc811cdc69b9"}],"id":"dc3e2a96-7937-4bc1-af1e-2bdd9c17cd0d","_postman_id":"dc3e2a96-7937-4bc1-af1e-2bdd9c17cd0d","description":""},{"name":"Server OT","item":[{"name":"Listing Operation Times","id":"c7b70ec0-673d-4eae-ac42-dc5dca227eb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.otimes.servers.list","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.otimes.servers.list"}],"variable":[]}},"response":[],"_postman_id":"c7b70ec0-673d-4eae-ac42-dc5dca227eb8"}],"id":"50a25fbd-e60e-487b-a233-e289093d7711","_postman_id":"50a25fbd-e60e-487b-a233-e289093d7711","description":""},{"name":"Routes OT","item":[{"name":"Listing Operation Times","id":"9d9d3c56-26e0-41c4-969f-5cd4ae71b5b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.otimes.routes.list","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.otimes.routes.list"}],"variable":[]}},"response":[],"_postman_id":"9d9d3c56-26e0-41c4-969f-5cd4ae71b5b5"}],"id":"3e84182e-2e95-4fcc-a431-23d0e42255e6","_postman_id":"3e84182e-2e95-4fcc-a431-23d0e42255e6","description":""},{"name":"Queues OT","item":[{"name":"Listing Operation Times","id":"33f0e51b-3020-44c5-8b52-62ac351ed09c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.otimes.queues.list","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.otimes.queues.list"}],"variable":[]}},"response":[],"_postman_id":"33f0e51b-3020-44c5-8b52-62ac351ed09c"}],"id":"df7f18cf-1760-4450-9165-29c171683e79","_postman_id":"df7f18cf-1760-4450-9165-29c171683e79","description":""},{"name":"ERG OT","item":[{"name":"Listing Operation Times","id":"59aba95a-82f5-4a8c-9e36-eb6804819062","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.otimes.erg.list&id=9","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.otimes.erg.list"},{"key":"id","value":"9"}],"variable":[]}},"response":[],"_postman_id":"59aba95a-82f5-4a8c-9e36-eb6804819062"}],"id":"9430db88-cefc-412b-8381-f2f3e68ab3fc","_postman_id":"9430db88-cefc-412b-8381-f2f3e68ab3fc","description":""}],"id":"315368de-a452-4f54-9ca6-9b6d39304469","description":"<p>Operation Times exist for the following: DIDs, IVRs, Dial Groups, Server/Tenants, Routes, Queues and Enhanced Ring Groups.</p>\n<p>Actions:</p>\n<p><code>action=pbxware.otimes.did</code> - Operation Times action URL for DIDs</p>\n<p><code>action=pbxware.otimes.ivr</code> - Operation Times action URL for IVRs</p>\n<p><code>action=pbxware.otimes.dial_group</code> - Operation Times action URL for Dial Groups</p>\n<p><code>action=pbxware.otimes.servers</code> - Operation Times action URL for Server/Tenants</p>\n<p><code>action=pbxware.otimes.routes</code> - Operation Times action URL for Routes</p>\n<p><code>action=pbxware.otimes.queues</code> - Operation Times action URL for Queues</p>\n<p><code>action=pbxware.otimes.erg</code> - Operation Times action URL for Enhanced Ring Groups</p>\n<p>Each of those destinations Operation Times are a state, which means<br />that you can list the current state of the destinations or set the<br />entire state of the destination Operation Times.</p>\n<p>Supported Methods:</p>\n<p><code>list</code> - Listing the state of Operation Times</p>\n<p><code>set</code> - Set the state of Operation Times</p>\n","_postman_id":"315368de-a452-4f54-9ca6-9b6d39304469"},{"name":"Routes","item":[{"name":"Listing Routes","event":[{"listen":"test","script":{"id":"c4107695-c1e6-4ab7-a00a-ad06a9d2c8ff","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Loop through the route data","        for (var routeID in responseBody) {","            var routeData = responseBody[routeID];","","            // Validate specific properties for each route","            pm.test('Route ' + routeID + ' Data Validation', function () {","                pm.expect(routeData).to.be.an('array');","                pm.expect(routeData).to.have.lengthOf(2);","","                // Print the result for each route","                console.log('Route ID:', routeID);","                console.log('Route Code:', routeData[0]);","                console.log('Route Name:', routeData[1]);","            });","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"45a1374a-51ec-4c4d-bbd3-f9db410c65ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.route.list&SRV-Tenant=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.route.list"},{"key":"SRV-Tenant","value":"1"}],"variable":[]}},"response":[],"_postman_id":"45a1374a-51ec-4c4d-bbd3-f9db410c65ff"}],"id":"65c35fb8-3f8d-4a8e-b49f-ff383be23aef","description":"<h1 id=\"routes\">Routes</h1>\n<p>Supported Methods</p>\n<p><code>list -</code> List Routes</p>\n","_postman_id":"65c35fb8-3f8d-4a8e-b49f-ff383be23aef"},{"name":"Destinations","item":[{"name":"Listing Destinations","event":[{"listen":"test","script":{"id":"8fbdedf8-e56a-455d-b312-d3fcec1baf9c","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Check if the response body is an empty array","    if (Array.isArray(responseBody) && responseBody.length === 0) {","        console.error(\"Test Failed: There are no destinations created.\");","        pm.test('Empty Response', function () {","            pm.expect.fail(\"There are no destinations created.\");","        });","    } else {","        // Validate the response structure","        pm.test('Response Validation', function () {","            pm.expect(responseBody).to.be.an('object');","","            // Iterate through each destination in the response","            for (var key in responseBody) {","                if (responseBody.hasOwnProperty(key)) {","                    var destination = responseBody[key];","","                    pm.test('Destination ' + destination.destination + ' Validation', function () {","                        pm.expect(destination).to.be.an('object');","                        pm.expect(destination).to.have.property('route').that.is.a('string');","                        pm.expect(destination).to.have.property('destination').that.is.a('string');","                        pm.expect(destination).to.have.property('destination_group').that.is.a('string');","","                        // Check if \"codes\" is an array","                        pm.expect(destination).to.have.property('codes').that.is.an('array');","","                        // If \"codes\" is an array, validate its structure","                        if (Array.isArray(destination.codes)) {","                            destination.codes.forEach(function (code) {","                                pm.test('Code Validation', function () {","                                    pm.expect(code).to.be.an('object');","                                    pm.expect(code).to.have.property('code1').that.is.a('string');","                                    pm.expect(code).to.have.property('code2').that.is.a('string');","                                });","                            });","                        }","                    });","                }","            }","        });","    }","}",""],"type":"text/javascript","packages":{}}}],"id":"5c12bee4-467a-403f-8d77-d23d87580925","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.destination.list&route=279&dgroup=1&SRV-tenant=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.destination.list"},{"description":{"content":"<p>Route ID. (Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"route","value":"279"},{"description":{"content":"<p>Destination Group ID. Note: Only if route is supplied.(Regex: /^\\d+$/)</p>\n","type":"text/plain"},"key":"dgroup","value":"1"},{"key":"SRV-tenant","value":"1"}],"variable":[]}},"response":[],"_postman_id":"5c12bee4-467a-403f-8d77-d23d87580925"},{"name":"Destinations Groups","event":[{"listen":"test","script":{"id":"c902770f-6ab1-48d9-8581-c4c48450b9db","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Validate the response structure","pm.test('Response Validation', function () {","    pm.expect(responseBody).to.be.an('object');","","    // Iterate through each destination group in the response","    for (var key in responseBody) {","        if (responseBody.hasOwnProperty(key)) {","            var destinationGroupId = key;","            var destinationGroupName = responseBody[key];","","            pm.test('Destination Group ' + destinationGroupName + ' Validation', function () {","                pm.expect(destinationGroupId).to.be.a('string');","                pm.expect(destinationGroupName).to.be.a('string');","            });","        }","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"be1cdfb0-ec7c-4f5f-82f1-095067627f8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.destination.groups&SRV=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.destination.groups"},{"key":"SRV","value":"1"}],"variable":[]}},"response":[],"_postman_id":"be1cdfb0-ec7c-4f5f-82f1-095067627f8c"}],"id":"b32e3ddd-966d-4e50-b7bc-f1c73140f591","description":"<p>Supported Methods</p>\n<p><code>list</code></p>\n<p>List Destinations</p>\n<p><code>groups</code></p>\n<p>List Destinations Groups</p>\n","_postman_id":"b32e3ddd-966d-4e50-b7bc-f1c73140f591"},{"name":"Apps","item":[{"name":"Listing Apps","event":[{"listen":"test","script":{"id":"498927a5-c85a-4270-9407-f4a28a4a08e3","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Iterate through each edition/module in the response","        for (var editionName in responseBody) {","            if (responseBody.hasOwnProperty(editionName)) {","                var edition = responseBody[editionName];","","                pm.test(editionName + ' Validation', function () {","                    pm.expect(edition).to.be.an('object');","                    pm.expect(edition).to.have.property('total').that.is.a('number');","                    pm.expect(edition).to.have.property('in_use').that.is.a('number');","                    pm.expect(edition).to.have.property('extensions').that.is.an('array');","","                    // Validate extensions","                    pm.expect(edition.extensions).to.be.an('array');","                    pm.expect(edition.extensions).to.have.lengthOf(edition.in_use);","","                    // Print edition/module details","                    console.log(editionName + ' Total:', edition.total);","                    console.log(editionName + ' In Use:', edition.in_use);","                    console.log(editionName + ' Extensions:', edition.extensions);","                });","            }","        }","    });","}"],"type":"text/javascript","packages":{}}}],"id":"4d3aec09-a88c-4953-8501-1f844d8cedcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.apps.list&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.apps.list"},{"description":{"content":"<p>Filter DID list by Tenant ID.\nIf PBXware is running in Tenant Mode this is a required field and must contain a valid Tenant ID.\nID 1 is always assigned to Master tenant and cannot be used.</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"4d3aec09-a88c-4953-8501-1f844d8cedcf"}],"id":"bc929c2b-c098-4bdb-a922-34c2be08b921","description":"<p>Supported Methods</p>\n<p><code>list</code></p>\n<p>List Apps</p>\n","_postman_id":"bc929c2b-c098-4bdb-a922-34c2be08b921"},{"name":"License","item":[{"name":"License Refresh","event":[{"listen":"test","script":{"id":"9980f127-98cb-4feb-b113-7667f2b1eaf3","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('status').that.is.a('string');","        console.log('License Refresh Status:', responseBody.status);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"5ad72dd4-140b-4ff8-b324-712b3d52bc0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.license.refresh","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.license.refresh"}],"variable":[]}},"response":[],"_postman_id":"5ad72dd4-140b-4ff8-b324-712b3d52bc0c"},{"name":"License Last Refreshed","event":[{"listen":"test","script":{"id":"ef1dcd53-ef13-4677-a441-1435c3ed54c5","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('last_refreshed').that.is.a('string');","        console.log('Last Refreshed Timestamp:', responseBody.last_refreshed);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"a532b311-01a3-47c6-89d5-39a783d8c484","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.license.last_refreshed","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.license.last_refreshed"}],"variable":[]}},"response":[],"_postman_id":"a532b311-01a3-47c6-89d5-39a783d8c484"},{"name":"License Information","event":[{"listen":"test","script":{"id":"bb4603ae-4eb0-4df3-8dc2-0f0b9c30193c","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","        pm.expect(responseBody).to.have.property('Edition').that.is.a('string');","        pm.expect(responseBody).to.have.property('Version').that.is.a('string');","        pm.expect(responseBody).to.have.property('Channels').that.is.a('string');","","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"b95b3c11-d229-40b5-a0cc-c530cd3f487a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.license.info","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.license.info"}],"variable":[]}},"response":[],"_postman_id":"b95b3c11-d229-40b5-a0cc-c530cd3f487a"}],"id":"23357097-19aa-47ed-a57e-8bf4336e6470","description":"<p>Supported Methods</p>\n<p><code>refresh</code></p>\n<p>Refresh license</p>\n<p><code>last_refreshed</code></p>\n<p>Last time license file was modified</p>\n<p><code>info</code></p>\n<p>License information</p>\n","_postman_id":"23357097-19aa-47ed-a57e-8bf4336e6470"},{"name":"CDRs","item":[{"name":"Downloading CDRs","event":[{"listen":"test","script":{"id":"607d925e-ea59-4ccc-93bc-bce4a9e46199","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('success').that.is.a('string');","        pm.expect(responseBody).to.have.property('next_page').that.is.a('boolean');","        pm.expect(responseBody).to.have.property('limit').that.is.a('number');","        pm.expect(responseBody).to.have.property('records').that.is.a('number');","        pm.expect(responseBody).to.have.property('header');","        pm.expect(responseBody).to.have.property('csv').that.is.an('array');","","        // Check if header is null","        if (responseBody.header === null) {","            console.log('No Data available for given date/time!');","            pm.test('No Data available for given date/time!', function () {","                pm.expect(false).to.be.true; // Mark the test as Pass with a custom message","            });","        } else {","            // Header is an array, validate it","            var expectedHeader = [","                \"Tenant\",","                \"From\",","                \"To\",","                \"Date/Time\",","                \"Total Duration\",","                \"Rating Duration\",","                \"Rating Cost\",","                \"Status\",","                \"ID\",","                \"Recording Path\",","                \"Recording Available\",","                \"Location Type\"","            ];","","            pm.expect(responseBody.header).to.deep.equal(expectedHeader);","","            /*","            // Print the success message","            console.log('Success:', responseBody.success);","            console.log('Next Page:', responseBody.next_page);","            console.log('Limit:', responseBody.limit);","            console.log('Records:', responseBody.records);","","            // Loop through records","            for (var record of responseBody.csv) {","                console.log('Record:', record);","                console.log('Tenant:', record[0]);","                console.log('From:', record[1]);","                console.log('To:', record[2]);","                console.log('Date/Time:', record[3]);","                console.log('Total Duration:', record[4]);","                console.log('Rating Duration:', record[5]);","                console.log('Rating Cost:', record[6]);","                console.log('Status:', record[7]);","                console.log('ID:', record[8]);","                console.log('Recording Path:', record[9]);","            }*/","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"3f61a80d-13bc-4383-a43b-15b87f5a02f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.cdr.download&start=Apr-01-2024&end=Apr-04-2025&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Permet de télécharger les CDRs</p>\n","type":"text/plain"},"key":"action","value":"pbxware.cdr.download"},{"description":{"content":"<p>Date de début (Requis). Format : mmm-dd-YYYY (ei: Feb-01-2009)</p>\n","type":"text/plain"},"key":"start","value":"Apr-01-2024"},{"disabled":true,"description":{"content":"<p>Heure de début. Format : hh:mm:ss (ei:23:59:59). Valeur par défault : 00:00:00</p>\n","type":"text/plain"},"key":"starttime","value":"00:00:00"},{"description":{"content":"<p>Date de fin (Requis). Format : mmm-dd-YYYY (ei: Feb-28-2009)</p>\n","type":"text/plain"},"key":"end","value":"Apr-04-2025"},{"disabled":true,"description":{"content":"<p>Heure de fin. Format : hh:mm:ss (eg:23:59:59). Valeur par défault : 23:59:59</p>\n","type":"text/plain"},"key":"endtime","value":"23:59:59"},{"disabled":true,"description":{"content":"<p>Numéro de l'extension. Vous pouvez filtrer par plusieurs destinations séparées par une virgule (100,120). Par défaut, toutes les extensions/nombres sont sélectionnés.</p>\n","type":"text/plain"},"key":"ext","value":"101"},{"disabled":true,"description":{"content":"<p>Destination de l'extension.Vous pouvez filtrer par plusieurs extensions séparées par une virgule (100,120). Par défaut, toutes les extensions/nombres sont sélectionnés.</p>\n","type":"text/plain"},"key":"extdst","value":"\n"},{"disabled":true,"description":{"content":"<p>Numéro d'ID du Trunk. Remarque : Vous ne pouvez pas fournir le trunk et l'extension en même temps ! Par défaut, tous les trunks sont sélectionnés, sauf indication contraire.</p>\n","type":"text/plain"},"key":"trunk","value":""},{"disabled":true,"description":{"content":"<p>Destination du Trunk par ID. Remarque : Vous ne pouvez pas fournir trunkdst et extdst en même temps ! Par défaut, tous les trunks sont sélectionnés, sauf indication contraire.</p>\n","type":"text/plain"},"key":"trunkdst","value":""},{"disabled":true,"description":{"content":"<p>Page CDR. Téléchargez les CDR depuis la page correspondante (en fonction de l'argument limit). Par défaut, la première page est téléchargée. Le nombre total de pages n'est pas disponible, vérifiez la présence de next_page dans la réponse.</p>\n","type":"text/plain"},"key":"page","value":""},{"disabled":true,"description":{"content":"<p>Limitation du nombre d'enregistrements par page. Vous pouvez limiter le nombre de CDR à télécharger (par page, la page par défaut est 1). La valeur par défaut est 16. La valeur maximale que vous pouvez définir est : 1000.</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>Filtrage des enregistrements par serveur. Vous pouvez filtrer les CDR par ID de serveur.</p>\n","type":"text/plain"},"key":"server","value":"1"},{"disabled":true,"description":{"content":"<p>Filtrage des enregistrements par statut d'appel. Vous pouvez filtrer les CDR par statut d'appel. Valeurs de statut (8 ⇒ 'Répondu', 4 ⇒ 'Non répondu', 2 ⇒ 'Occupé', 1 ⇒ 'Échec').</p>\n","type":"text/plain"},"key":"status","value":""},{"disabled":true,"description":{"content":"<p>Filtrage des enregistrements par type de CDR. Valeurs de type (1 ⇒ 'Entrant', 2 ⇒ 'Sortant', 3 ⇒ 'Tous').</p>\n","type":"text/plain"},"key":"cdrtype","value":""},{"disabled":true,"description":{"content":"<p>Fuseau horaire à appliquer lors de la recherche des CDR. Ex : 'Europe/Paris'.</p>\n","type":"text/plain"},"key":"timezone","value":""}],"variable":[]}},"response":[],"_postman_id":"3f61a80d-13bc-4383-a43b-15b87f5a02f6"},{"name":"CDR Billamount","event":[{"listen":"test","script":{"id":"dd487e8f-107d-464a-be53-537c0d9b102e","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.have.property('billamount').that.is.a('string');","","        // Print the bill amount","        console.log('Bill Amount:', responseBody.billamount);","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"4e3149ea-c07d-45f8-a00b-43525698997e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.cdr.billamount&start=Oct-08-2024&end=Oct-08-2024","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables en haut de page (votre clé API sur le PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.cdr.billamount"},{"description":{"content":"<p>Date de début (Requis). Format : mmm-dd-YYYY (ei: Feb-01-2009)</p>\n","type":"text/plain"},"key":"start","value":"Oct-08-2024"},{"disabled":true,"description":{"content":"<p>Heure de début. Format : hh:mm:ss (ei:23:59:59). Valeur par défault : 00:00:00</p>\n","type":"text/plain"},"key":"starttime","value":"00:00:00"},{"description":{"content":"<p>Date de fin (Requis). Format : mmm-dd-YYYY (ei: Feb-28-2009)</p>\n","type":"text/plain"},"key":"end","value":"Oct-08-2024"},{"disabled":true,"description":{"content":"<p>Heure de fin. Format : hh:mm:ss (eg:23:59:59). Valeur par défault : 23:59:59</p>\n","type":"text/plain"},"key":"endtime","value":"23:59:59"},{"disabled":true,"description":{"content":"<p>Numéro de l'extension. Vous pouvez filtrer par plusieurs destinations séparées par une virgule (100,120). Par défaut, toutes les extensions/nombres sont sélectionnés.</p>\n","type":"text/plain"},"key":"ext","value":""},{"disabled":true,"description":{"content":"<p>Destination de l'extension.Vous pouvez filtrer par plusieurs extensions séparées par une virgule (100,120). Par défaut, toutes les extensions/nombres sont sélectionnés.</p>\n","type":"text/plain"},"key":"extdst","value":""},{"disabled":true,"description":{"content":"<p>Numéro d'ID du Trunk. Remarque : Vous ne pouvez pas fournir le trunk et l'extension en même temps ! Par défaut, tous les trunks sont sélectionnés, sauf indication contraire.</p>\n","type":"text/plain"},"key":"trunk","value":""},{"disabled":true,"description":{"content":"<p>Destination du Trunk par ID. Remarque : Vous ne pouvez pas fournir trunkdst et extdst en même temps ! Par défaut, tous les trunks sont sélectionnés, sauf indication contraire.</p>\n","type":"text/plain"},"key":"trunkdst","value":""},{"disabled":true,"description":{"content":"<p>Page CDR. Téléchargez les CDR depuis la page correspondante (en fonction de l'argument limit). Par défaut, la première page est téléchargée. Le nombre total de pages n'est pas disponible, vérifiez la présence de next_page dans la réponse.</p>\n","type":"text/plain"},"key":"page","value":""},{"disabled":true,"description":{"content":"<p>Limitation du nombre d'enregistrements par page. Vous pouvez limiter le nombre de CDR à télécharger (par page, la page par défaut est 1). La valeur par défaut est 16. La valeur maximale que vous pouvez définir est : 1000.</p>\n","type":"text/plain"},"key":"limit","value":""},{"disabled":true,"description":{"content":"<p>Filtrage des enregistrements par serveur. Vous pouvez filtrer les CDR par ID de serveur.</p>\n","type":"text/plain"},"key":"server","value":""},{"disabled":true,"description":{"content":"<p>Filtrage des enregistrements par statut d'appel. Vous pouvez filtrer les CDR par statut d'appel. Valeurs de statut (8 ⇒ 'Répondu', 4 ⇒ 'Non répondu', 2 ⇒ 'Occupé', 1 ⇒ 'Échec').</p>\n","type":"text/plain"},"key":"status","value":""},{"disabled":true,"description":{"content":"<p>Filtrage des enregistrements par type de CDR. Valeurs de type (1 ⇒ 'Entrant', 2 ⇒ 'Sortant', 3 ⇒ 'Tous').</p>\n","type":"text/plain"},"key":"cdrtype","value":""},{"disabled":true,"description":{"content":"<p>Fuseau horaire à appliquer lors de la recherche des CDR. Ex : 'Europe/Paris'.</p>\n","type":"text/plain"},"key":"timezone","value":""}],"variable":[]}},"response":[],"_postman_id":"4e3149ea-c07d-45f8-a00b-43525698997e"}],"id":"9c8689bd-10fa-4445-b8dc-55ef130c1dce","description":"<p>Méthodes supportées :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Méthodes</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>dowload</code></td>\n<td>- Télécharger les CDR</td>\n</tr>\n<tr>\n<td><code>billamount</code></td>\n<td>- Renvoi le total des sommes</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"9c8689bd-10fa-4445-b8dc-55ef130c1dce"},{"name":"Monitor","item":[{"name":"List Monitor Extensions","event":[{"listen":"test","script":{"id":"a4bcb56e-636e-417a-abb4-4862d75cbe2b","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check for error in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Iterate through the keys of the response object","        for (var key in responseBody) {","            if (responseBody.hasOwnProperty(key)) {","                var item = responseBody[key];","                pm.expect(item).to.be.an('object');","","                // Add checks for specific fields within each item","                pm.expect(item).to.have.property('name');","                pm.expect(item.name).to.be.a('string');","","                pm.expect(item).to.have.property('ext');","                pm.expect(item.ext).to.be.a('string');","","                pm.expect(item).to.have.property('ip');","                pm.expect(item.ip).to.be.a('string');","","                pm.expect(item).to.have.property('status');","                pm.expect(item.status).to.be.a('string');","","                pm.expect(item).to.have.property('ua');","                pm.expect(item.ua).to.be.a('string');","","                pm.expect(item).to.have.property('dnd');","                pm.expect(item.dnd).to.satisfy(function (value) {","                    return value === '' || value === true || value === false;","                });","","                pm.expect(item).to.have.property('on_call');","                pm.expect(item.on_call).to.satisfy(function (value) {","                    return value === '' || value === true || value === false;","                });","            }","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"47edff64-21ef-4a3f-991a-73af894eec6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.monitor.list&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Show Monitor extensions</p>\n","type":"text/plain"},"key":"action","value":"pbxware.monitor.list"},{"description":{"content":"<p>Filter extensions by tenant/server.</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"47edff64-21ef-4a3f-991a-73af894eec6c"},{"name":"Live Calls","event":[{"listen":"test","script":{"id":"1547f19d-f29d-4d59-be5b-ea78769992bb","exec":["// If the message is not found, proceed with checking the JSON structure","    pm.test('Status code is 200 OK', function () {","        pm.response.to.have.status(200);","    });","","// Check if the response contains the \"Live Calls: 0\" message","if (pm.response.text().includes(\"Live Calls: 0\")) {","    // If the message is found, mark the test as failed","    pm.test('Response Validation', function () {","        pm.expect.fail(\"There is no active calls on selected Server/Tenant!\");","    });","} else {","    const responseData = pm.response.json();","","    // Continue with the checks for the JSON structure","    for (let callId in responseData) {","        const call = responseData[callId];","        pm.test(`From Field Check`, function () {","            pm.expect(call).to.have.property('from').to.be.a('string');","        });","","        pm.test(`To Field Check`, function () {","            pm.expect(call).to.have.property('to').to.be.a('string');","        });","","        pm.test(`Check timestamp field`, function () {","            pm.expect(call).to.have.property('timestamp').to.be.a('number');","        });","    }","}",""],"type":"text/javascript","packages":{}}}],"id":"decce4dd-760f-44ab-84e2-f7050dbf0c1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.monitor.live_calls&server=1","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>Show Live calls</p>\n","type":"text/plain"},"key":"action","value":"pbxware.monitor.live_calls"},{"description":{"content":"<p>Filter extensions by tenant/server.</p>\n","type":"text/plain"},"key":"server","value":"1"}],"variable":[]}},"response":[],"_postman_id":"decce4dd-760f-44ab-84e2-f7050dbf0c1a"}],"id":"8d1a33fc-d697-4973-b3f2-1d4b603e9d49","description":"<p>Supported Methods</p>\n<p><code>list</code></p>\n<p>List Monitor extensions</p>\n<p><code>live_calls</code></p>\n<p>List Live calls</p>\n","_postman_id":"8d1a33fc-d697-4973-b3f2-1d4b603e9d49"},{"name":"Archiving","item":[{"name":"Listing Archivings","event":[{"listen":"test","script":{"id":"1257a199-6d85-4b5d-a73f-0181771af6a8","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if the response is not an empty array","if (Array.isArray(responseBody) && responseBody.length > 0 && 'error' in responseBody[0]) {","    console.error('Test Failed: ' + responseBody[0].error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody[0].error);","    });","} /*else if (responseBody.length === 0) {","    console.error('Test Failed: There are no archiving records for the selected Date/Time range!');","    pm.test('No Archiving Records Found', function () {","        pm.expect.fail('There are no archiving records for the selected Date/Time range!');","    });*/","    else if (responseBody.length === 0) {","    console.log('Test Passed: There are no archiving records for the selected Date/Time range!');","    pm.test('No Archiving Records Found for the selected Date/Time range!', function () {","        pm.expect(true).to.be.true; // Mark the test as passed","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('array');","","        // Iterate through each archiving record","        for (var recordKey in responseBody) {","            if (responseBody.hasOwnProperty(recordKey)) {","                var record = responseBody[recordKey];","","                pm.expect(record).to.be.an('object');","                pm.expect(record).to.have.property('tenant').that.is.a('string');","                pm.expect(record).to.have.property('date_time').that.is.a('string');","                pm.expect(record).to.have.property('status').that.is.a('string');","","                // Recording array","                var recording = record.recording;","                pm.expect(recording).to.be.an('object');","                pm.expect(recording).to.have.property('success').that.is.a('string');","                pm.expect(recording).to.have.property('failed').that.is.a('string');","","                // Fax array","                var fax = record.fax;","                pm.expect(fax).to.be.an('object');","                pm.expect(fax).to.have.property('success');","                pm.expect(fax.success).to.satisfy(val => typeof val === 'string' || val === null);","","                // Voicemail array","                var voicemail = record.voicemail;","                pm.expect(voicemail).to.be.an('object');","                pm.expect(voicemail).to.have.property('success');","                pm.expect(voicemail.success).to.satisfy(val => typeof val === 'string' || val === null);","","                if ('cdr' in record || 'chat' in record) {","                    var cdr = record.cdr;","                    pm.expect(cdr).to.be.an('object');","                    pm.expect(cdr).to.have.property('success').to.be.oneOf(['string', null]);","                    pm.expect(cdr).to.have.property('failed').to.be.oneOf(['string', null]);","","                    var chat = record.chat;","                    pm.expect(chat).to.be.an('object');","                    pm.expect(chat).to.have.property('success').to.be.oneOf(['string', null]);","                    pm.expect(chat).to.have.property('failed').to.be.oneOf(['string', null]);","                }","            }","        }","    });","}",""],"type":"text/javascript","packages":{}}}],"id":"37dc5a0a-b72d-4c09-942a-750aa1faf1d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.archiving.list&start_date=Oct-19-2022&end_date=Oct-19-2025","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"description":{"content":"<p>ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5 Valeur retourner depuis les variables de la collection (Clé API généré depuis votre PBXware)</p>\n","type":"text/plain"},"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"description":{"content":"<p>List Archivings</p>\n","type":"text/plain"},"key":"action","value":"pbxware.archiving.list"},{"description":{"content":"<p>Start Date (Required). Format is: mmm-dd-YYYY (e.g., Feb-01-2009). (Regex: /^(?i:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-([0-2][0-9]|3[01])-\\d{4}$/)</p>\n","type":"text/plain"},"key":"start_date","value":"Oct-19-2022"},{"description":{"content":"<p>End Date (Required). Format is: mmm-dd-YYYY (e.g., Feb-01-2009). (Regex: /^(?i:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-([0-2][0-9]|3[01])-\\d{4}$/)</p>\n","type":"text/plain"},"key":"end_date","value":"Oct-19-2025"},{"disabled":true,"description":{"content":"<p>Start Time. Format is: hh:mm:ss (e.g., 23:59:59). Default value is 00:00:00. (Regex: /^((2[0-3])|([0-1][0-9])):[0-5][0-9]:[0-5][0-9]$/)</p>\n","type":"text/plain"},"key":"start_time","value":""},{"disabled":true,"description":{"content":"<p>End Time. Format is: hh:mm:ss (e.g., 23:59:59). Default value is 23:59:59. (Regex: /^((2[0-3])|([0-1][0-9])):[0-5][0-9]:[0-5][0-9]$/)</p>\n","type":"text/plain"},"key":"end_time","value":""},{"disabled":true,"description":{"content":"<p>Status-Filter by three available statuses separated by a comma (SUCCESS, FAILURE, PARTIAL). (Regex: /^(?:\\b(SUCCESS|PARTIAL|FAILED)\\b,?){1,3}$/i)</p>\n","type":"text/plain"},"key":"status","value":""},{"disabled":true,"description":{"content":"<p>Tenant code - Filter reports by a specific tenant</p>\n","type":"text/plain"},"key":"tenant","value":"1"}],"variable":[]}},"response":[],"_postman_id":"37dc5a0a-b72d-4c09-942a-750aa1faf1d4"}],"id":"382484d5-b502-497e-b743-7f33bb9e2644","description":"<h1 id=\"archiving\">Archiving</h1>\n<p>Supported Methods</p>\n<p><code>list</code></p>\n<p>List Archivings</p>\n","_postman_id":"382484d5-b502-497e-b743-7f33bb9e2644"},{"name":"Servers","item":[{"name":"Server Configuration","event":[{"listen":"test","script":{"id":"43b11317-4acb-4feb-b81d-cc303505d86f","exec":["// Check for 200 OK response","pm.test('Status code is 200 OK', function () {","    pm.response.to.have.status(200);","});","","// Parse the response JSON","var responseBody = pm.response.json();","","// Check if there is an error field in the response","if ('error' in responseBody) {","    console.error(\"Test Failed: \" + responseBody.error);","    pm.test('API Response Error', function () {","        pm.expect.fail(responseBody.error);","    });","} else {","    // Validate the response structure","    pm.test('Response Validation', function () {","        pm.expect(responseBody).to.be.an('object');","","        // Validate specific fields in the response","        pm.expect(responseBody).to.have.property('server_name').that.is.a('string');","        pm.expect(responseBody).to.have.property('domainname').that.is.a('string');","        pm.expect(responseBody).to.have.property('absolutetimeout').that.is.a('string');","        pm.expect(responseBody).to.have.property('cdrvoicemail').that.is.a('string');","        pm.expect(responseBody).to.have.property('faxformat').that.is.a('string');","        pm.expect(responseBody).to.have.property('faxfiletype').that.is.a('string');","        pm.expect(responseBody).to.have.property('mp3_auto_conv').that.is.a('string');","        pm.expect(responseBody).to.have.property('recordformat').that.is.a('string');","        pm.expect(responseBody).to.have.property('didmode').that.is.a('string');","        pm.expect(responseBody).to.have.property('rpsexpiry').that.is.a('string');","        pm.expect(responseBody).to.have.property('show_advanced_opts').that.is.a('string');","        pm.expect(responseBody).to.have.property('setcidforgrouphunt').that.is.a('string');","        pm.expect(responseBody).to.have.property('tenant_calls_enabled').that.is.a('string');","        pm.expect(responseBody).to.have.property('show_dir_osc').that.is.a('string');","        pm.expect(responseBody).to.have.property('nodidresponse').that.is.a('string');","        pm.expect(responseBody).to.have.property('erg_abandoned_check_interval').that.is.a('string');","        pm.expect(responseBody).to.have.property('country').that.is.a('string');","        pm.expect(responseBody).to.have.property('zaptel_zone').that.is.a('string');","        pm.expect(responseBody).to.have.property('indications').that.is.a('string');","        pm.expect(responseBody).to.have.property('area_code').that.is.a('string');","        pm.expect(responseBody).to.have.property('national').that.is.a('string');","        pm.expect(responseBody).to.have.property('international').that.is.a('string');","        pm.expect(responseBody).to.have.property('currency_writing_convention').that.is.a('string');","        pm.expect(responseBody).to.have.property('agi_port').that.is.a('string');","        pm.expect(responseBody).to.have.property('email_from').that.is.a('string');","        pm.expect(responseBody).to.have.property('ap_lan').that.is.a('string');","        pm.expect(responseBody).to.have.property('ap_wan').that.is.a('string');","        pm.expect(responseBody).to.have.property('ap_req_num').that.is.a('string');","        pm.expect(responseBody).to.have.property('enable_tftp').that.is.a('string');","        pm.expect(responseBody).to.have.property('incominglimit').that.is.a('string');","        pm.expect(responseBody).to.have.property('outgoinglimit').that.is.a('string');","        pm.expect(responseBody).to.have.property('conch').that.is.a('string');","        pm.expect(responseBody).to.have.property('quech').that.is.a('string');","        pm.expect(responseBody).to.have.property('ergch').that.is.a('string');","        pm.expect(responseBody).to.have.property('aach').that.is.a('string');","        pm.expect(responseBody).to.have.property('zapch').that.is.a('string');","        pm.expect(responseBody).to.have.property('e2faxch').that.is.a('string');","        pm.expect(responseBody).to.have.property('pbd_pin_length').that.is.a('string');","        pm.expect(responseBody).to.have.property('mint').that.is.a('string');","        pm.expect(responseBody).to.have.property('rltype').that.is.a('string');","        pm.expect(responseBody).to.have.property('rtype').that.is.a('string');","        pm.expect(responseBody).to.have.property('emailto').that.is.a('string');","        pm.expect(responseBody).to.have.property('limit_notify_email').that.is.a('string');","","    });","}"],"type":"text/javascript","packages":{}}}],"id":"5b472d5a-fefa-4eba-ab80-285ed0dca299","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://certification.bicomsystems.fr/index.php?apikey=ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5&action=pbxware.tenant.configuration&id=","urlObject":{"protocol":"http","path":["index.php"],"host":["certification.bicomsystems.fr"],"query":[{"key":"apikey","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"action","value":"pbxware.tenant.configuration"},{"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"5b472d5a-fefa-4eba-ab80-285ed0dca299"}],"id":"2a404fe1-d2e1-4c5b-9d98-3f315cb0516b","description":"<p>Supported Methods</p>\n<p><code>configuration</code></p>\n<p>Server Configuration</p>\n","_postman_id":"2a404fe1-d2e1-4c5b-9d98-3f315cb0516b"}],"event":[{"listen":"prerequest","script":{"id":"956704af-d1e7-46a7-b7bf-81bd7bf8b72e","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"1aa2a221-28e4-4943-9c75-70857290de6d","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"API_Key","value":"ZcSXTbSZIhuW3FiU5fWIMeOHqy60RNW5"},{"key":"IP","value":"certification.bicomsystems.fr"},{"key":"Srv/Tenant-ID","value":"1"},{"key":"tenant_name","value":"TestAPI"},{"key":"tenant_code","value":"555"},{"key":"tenantPackageId","value":"19"},{"key":"tenantID","value":"19"},{"key":"name","value":""},{"key":"email","value":""},{"key":"extension","value":"101"},{"key":"secret","value":""},{"key":"pin","value":""},{"key":"trunkID","value":""},{"key":"did","value":""},{"key":"ext","value":"101"},{"key":"extdst","value":"\n"},{"key":"ExtensionID","value":""},{"key":"ExtensionIDs","value":"11"},{"key":"DateStart","value":""},{"key":"DateEnd","value":""},{"key":"StartTime","value":""},{"key":"EndTime","value":""},{"key":"TrunkName","value":""},{"key":"ProviderID","value":""},{"key":"TrunkType","value":""},{"key":"TrunkDTMFmode","value":""},{"key":"TrunkStatus","value":""},{"key":"Country","value":""},{"key":"NationalCode","value":""},{"key":"InternationalCode","value":""},{"key":"EmergTrunk","value":""},{"key":"TrunkHost","value":""},{"key":"TrunkUserName","value":""},{"key":"TrunkSecret","value":""},{"key":"TrunkPeerHost","value":""},{"key":"TrunkPeerUserName","value":""},{"key":"TrunkPeerSecret","value":""},{"key":"TrunkInsecure","value":""},{"key":"TrunkLooseRouting","value":""},{"key":"TrunkIncomingLimit","value":""},{"key":"TrunkOutgoingLimit","value":""},{"key":"TrunkBusyLevel","value":""},{"key":"TrunkCodecs","value":""},{"key":"TrunkCodecsPrimeTime","value":""},{"key":"SMSTrunkIDs","value":""},{"key":"SMSTrunkEnabled","value":""},{"key":"SMSTrunkName","value":""},{"key":"SMSTrunkProvider","value":""},{"key":"TelnyxAPI","value":""},{"key":"TelnyxPublicKey","value":""},{"key":"TelnyxProfileID","value":""},{"key":"BandwithUserName","value":""},{"key":"BandwithPassword","value":""},{"key":"BandwithUserID","value":""},{"key":"BandwithAppID","value":""},{"key":"TwilioAccSID","value":""},{"key":"TwilioAuthToken","value":""},{"key":"VoipSecret","value":""},{"key":"VoipLogin","value":""},{"key":"OzAPI","value":""},{"key":"OzUserName","value":""},{"key":"DID","value":""},{"key":"Destination","value":""},{"key":"DestType","value":""},{"key":"DID-Disabled","value":""},{"key":"DIDGroupName","value":""},{"key":"DIDMin","value":""},{"key":"DIDMax","value":""},{"key":"IVRName","value":"IVRtest"},{"key":"IVRNum","value":"603"},{"key":"IVRGreet","value":"greeting-default-attendant"},{"key":"IVRKeyMap","value":""},{"key":"IVRStatus","value":"1"},{"key":"IVRsID","value":"45"},{"key":"Key0Type","value":""},{"key":"Key0Dest","value":""},{"key":"Key1Type","value":"ex"},{"key":"Key1Dest","value":"102"},{"key":"Key2Type","value":"\"Call External Number\""},{"key":"Key2Dest","value":"+33777283472"},{"key":"Key3Type","value":""},{"key":"Key3Dest","value":""},{"key":"Key4Type","value":""},{"key":"Key4Dest","value":""},{"key":"Key5Type","value":""},{"key":"Key5Dest","value":""},{"key":"Key6Type","value":""},{"key":"Key6Dest","value":""},{"key":"Key7Type","value":""},{"key":"Key7Dest","value":""},{"key":"Key8Type","value":""},{"key":"Key8Dest","value":""},{"key":"Key9Type","value":""},{"key":"Key9Dest","value":""},{"key":"Key*Type","value":""},{"key":"Key*Dest","value":""},{"key":"RGsID","value":""},{"key":"RGName","value":""},{"key":"RGNum","value":""},{"key":"RGExt","value":""},{"key":"ERGsID","value":""},{"key":"ERGPenal","value":""},{"key":"OperationTimesID","value":""},{"key":"TenantPackageName","value":""},{"key":"TenantPackageID","value":""},{"key":"ExtLength","value":""},{"key":"TenantStatus","value":""},{"key":"UADsID","value":""},{"key":"Primary","value":""},{"key":"Secondary","value":""},{"key":"Tertiary","value":""},{"key":"PrimaryEm","value":""},{"key":"SecondaryEm","value":""},{"key":"TertiaryEm","value":""},{"key":"CallerID","value":""},{"key":"MatchEx","value":""},{"key":"CLIRoutingID","value":""},{"key":"SP-ID","value":""},{"key":"RouteID","value":"1"},{"key":"DestGrID","value":""},{"key":"IVR-ID","value":""},{"key":"ERG_Name","value":""},{"key":"ERG_Number","value":""},{"key":"ERGMaxCallers","value":""},{"key":"ERGRingToAnswer","value":""},{"key":"DID-IDs","value":"15"},{"key":"trunk","value":""},{"key":"server","value":""},{"key":"id","value":""}]}