{"info":{"_postman_id":"d8b4e13f-2fa9-436b-aad2-4968ada53186","name":"Reseller API V2","description":"<html><head></head><body><p>This is a Resller API for VoIP and numbering related API calls. With this API you can resel VoIP services and DDIs. </p>\n<p>All the list supports pagination. Pagination related parameters:</p>\n<ul>\n<li>page: defines page number to show. Default <code>1</code>.</li>\n<li>per_page: defines how many entities will be retunrn per page. Default <code>15</code>.</li>\n<li>sort_by: allows to show to sort results by <code>id</code>, or other fields. Not all fields could be sortable. Mostly ordered by id but in some case it can be ordered by other fields such as <code>name</code> or <code>ddi</code>.</li>\n<li>order: Sets ordering use <code>asc</code> for ascending and <code>desc</code> for descending. Default <code>asc</code>.</li>\n</ul>\n<p>Don't use empty parameters with get. If you not need them remove them unless you are looking for field with emopty value.</p>\n<p>If you not set parameter with put it's value will not be changed unless it's specified differently with the request itself.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6732195","collectionId":"d8b4e13f-2fa9-436b-aad2-4968ada53186","publishedId":"S11Ex1dd","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-02-21T14:52:26.000Z"},"item":[{"name":"Accounts Related","item":[{"name":"Get voice account list","id":"afa88a6b-9770-473c-907f-50372a1730f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"{{Bearer}}"}],"advancedConfig":[{"key":"tokenType","value":"<token-type>"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/accounts?accountnumber&prepaid=&status&client_id&from&to","description":"<p>Getting list of Voice accounts. Filters and pagination are availbe.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","accounts"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Accountnumber to filter. % is valid.</p>\n","type":"text/plain"},"key":"accountnumber","value":null},{"description":{"content":"<p>Defines is the  accpimt prepaid or not</p>\n","type":"text/plain"},"key":"prepaid","value":""},{"description":{"content":"<p>Status of the service. Valid statuses: active, canceled, susepended.</p>\n","type":"text/plain"},"key":"status","value":null},{"description":{"content":"<p>Client ID for filtering.</p>\n","type":"text/plain"},"key":"client_id","value":null},{"description":{"content":"<p>Begin of the period to get accounts in that period. Fornat <code>yyyy-mm-dd</code></p>\n","type":"text/plain"},"key":"from","value":null},{"description":{"content":"<p>End of the period to get accounts in that period. Fromat <code>yyyy-mm-dd</code></p>\n","type":"text/plain"},"key":"to","value":null}],"variable":[]}},"response":[{"id":"24741bef-fb2a-42b3-8537-52107e9b5d47","name":"Get voice account list","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/accounts?per_page=1","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","accounts"],"query":[{"key":"accountnumber","value":null,"description":"Accountnumber to filter. % is valid.","disabled":true},{"key":"prepaid","value":"","description":"Defines is the  accpimt prepaid or not","disabled":true},{"key":"status","value":null,"description":"Status of the service. Valid statuses: active, canceled, susepended.","disabled":true},{"key":"client_id","value":null,"description":"Client ID for filtering.","disabled":true},{"key":"from","value":null,"description":"Begin of the period to get accounts in that period. Fornat `yyyy-mm-dd`","disabled":true},{"key":"to","value":null,"description":"End of the period to get accounts in that period. Fromat `yyyy-mm-dd`","disabled":true},{"key":"per_page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 13:40:39 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"787"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"accountnumber\": \"00001\",\n            \"status\": \"active\",\n            \"client_id\": 2,\n            \"type\": \"postpaid\",\n            \"address\": \"\",\n            \"city\": \"\",\n            \"country\": \"IE\",\n            \"currency\": \"EUR\",\n            \"email\": \"email@address.net\",\n            \"firstname\": \"Firstname\",\n            \"lastname\": \"Lastname\",\n            \"rating_handle\": \"rate_card\",\n            \"rating_type\": \"card\",\n            \"state\": \"D\",\n            \"created_at\": \"2019-01-20 12:28:44\"\n        }\n    ],\n    \"first_page_url\": \"http://vapi2-dev.telinsta.net/api/voice/v2/accounts?per_page=1&page=1\",\n    \"from\": 1,\n    \"last_page\": 9,\n    \"last_page_url\": \"http://vapi2-dev.telinsta.net/api/voice/v2/accounts?per_page=1&page=9\",\n    \"next_page_url\": \"http://vapi2-dev.telinsta.net/api/voice/v2/accounts?per_page=1&page=2\",\n    \"path\": \"http://vapi2-dev.telinsta.net/api/voice/v2/accounts\",\n    \"per_page\": \"1\",\n    \"prev_page_url\": null,\n    \"to\": 1,\n    \"total\": 9\n}"}],"_postman_id":"afa88a6b-9770-473c-907f-50372a1730f7"},{"name":"Create voice account","id":"9b34c98e-2774-4d12-8440-093621a62a37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://{{domain}}/api/voice/v2/accounts","urlObject":{"protocol":"https","path":["api","voice","v2","accounts"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b34c98e-2774-4d12-8440-093621a62a37"},{"name":"Get voice account by id","id":"0f96e0cf-10f2-475c-aefb-d5bab4a0ba7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/accounts/:id","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"ab72bd14-732e-4c84-9789-747e7f91c905","name":"Get voice account by id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/accounts/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","accounts",":id"],"variable":[{"key":"id","value":"1","description":"The resource ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 13:42:08 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"342"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"accountnumber\": \"00001\",\n        \"status\": \"active\",\n        \"client_id\": 2,\n        \"type\": \"postpaid\",\n        \"address\": \"\",\n        \"city\": \"\",\n        \"country\": \"IE\",\n        \"currency\": \"EUR\",\n        \"email\": \"email@address.net\",\n        \"firstname\": \"Firstname\",\n        \"lastname\": \"Lastname\",\n        \"rating_handle\": \"rate_card\",\n        \"rating_type\": \"card\",\n        \"state\": \"D\",\n        \"created_at\": \"2019-01-20 12:28:44\"\n    }\n}"}],"_postman_id":"0f96e0cf-10f2-475c-aefb-d5bab4a0ba7d"},{"name":"Update voice account by id","id":"5bb9e72b-933e-47d2-b6ea-df3bc808710b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"rating_handle\":\"rp_5e6oS32wsAyfkbjv6P7L\"}"},"url":"https://{{domain}}/api/voice/v2/accounts/:id","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"10","key":"id"}]}},"response":[],"_postman_id":"5bb9e72b-933e-47d2-b6ea-df3bc808710b"},{"name":"Get the account call limits.","id":"f963968c-2efb-47a7-8f08-182bc51896f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/accounts/:id/calllimits","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id","calllimits"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"f963968c-2efb-47a7-8f08-182bc51896f0"},{"name":"Update the account call limits.","id":"88c268cb-28fa-45d3-b70a-1815b4d98497","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":"{\"concurrent_max\":\"12\"}"},"url":"https://{{domain}}/api/voice/v2/accounts/:id/calllimits","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id","calllimits"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[],"_postman_id":"88c268cb-28fa-45d3-b70a-1815b4d98497"},{"name":"Get the account Balance.","id":"f5fdba20-8b4c-464a-ae9d-aaad45487197","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/accounts/:id/balance","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id","balance"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"f5fdba20-8b4c-464a-ae9d-aaad45487197"},{"name":"Update the account Balance.","id":"92f5c7a7-682c-48e9-8c89-eb19c5818ff6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":"{\"cash\":\"100\",\"free_time\":\"30\"}"},"url":"https://{{domain}}/api/voice/v2/accounts/:id/balance","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id","balance"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[],"_postman_id":"92f5c7a7-682c-48e9-8c89-eb19c5818ff6"},{"name":"Get call history","id":"c45ce3cd-7a28-4745-bea8-03ccad20cce4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/accounts/:id/callhistory?start_date=&end_date\n=&status=&call_type=&rating_status=&destination=&direction=&min_price=&max_price=&free_time=","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id","callhistory"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Call history begin interval.</p>\n<ul>\n<li>day - The \"day of month\". If unset, “1” will be used for \"start_date\", and the last day of month for \"end_date\".</li>\n<li>month - The \"month of year\". If unset, current montnt will be used.</li>\n<li>year - Specifies the year. If unset, current year will be used.</li>\n</ul>\n","type":"text/plain"},"key":"start_date","value":""},{"description":{"content":"<p>Call history end interval.</p>\n<ul>\n<li>day - The \"day of month\". If unset, “1” will be used for \"start_date\", and the last day of month for \"end_date\".</li>\n<li>month - The \"month of year\". If unset, current montnt will be used.</li>\n<li>year - Specifies the year. If unset, current year will be used.</li>\n</ul>\n","type":"text/plain"},"key":"end_date\n","value":""},{"description":{"content":"<p>Call status one of the following: ok, busy, noanswer, timeout, cancel, offline, other</p>\n","type":"text/plain"},"key":"status","value":""},{"description":{"content":"<p>Call type one of the following: call, cfu, cft, cfb, cfna.</p>\n","type":"text/plain"},"key":"call_type","value":""},{"description":{"content":"<p>Rating status one of the following: ok, unrated, failed</p>\n","type":"text/plain"},"key":"rating_status","value":""},{"description":{"content":"<p>Source or destination CLID. % charater is allowed for exaple destination = 353% means all irish destinations</p>\n","type":"text/plain"},"key":"destination","value":""},{"description":{"content":"<p>Call direction one of the following: inbound, outbound</p>\n","type":"text/plain"},"key":"direction","value":""},{"description":{"content":"<p>Minimum call price in cents. For example 1 means 0.01 Eur</p>\n","type":"text/plain"},"key":"min_price","value":""},{"description":{"content":"<p>Maximum call price in cents. For example 1 means 0.01 Eur</p>\n","type":"text/plain"},"key":"max_price","value":""},{"description":{"content":"<p>Calls with free time used</p>\n","type":"text/plain"},"key":"free_time","value":""}],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"c45ce3cd-7a28-4745-bea8-03ccad20cce4"},{"name":"Get cdrs","id":"c4cbeaaa-34f9-4240-85af-2281cc2b138e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/accounts/:id/cdr?start_date&end_date&status&call_type&rating_status&destination\n&direction&min_price&max_price&free_time","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id","cdr"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Call history begin interval.</p>\n<ul>\n<li>day - The \"day of month\". If unset, “1” will be used for \"start_date\", and the last day of month for \"end_date\".</li>\n<li>month - The \"month of year\". If unset, current montnt will be used.</li>\n<li>year - Specifies the year. If unset, current year will be used.</li>\n</ul>\n","type":"text/plain"},"key":"start_date","value":""},{"description":{"content":"<p>Call history end interval.</p>\n<ul>\n<li>day - The \"day of month\". If unset, “1” will be used for \"start_date\", and the last day of month for \"end_date\".</li>\n<li>month - The \"month of year\". If unset, current montnt will be used.</li>\n<li>year - Specifies the year. If unset, current year will be used.</li>\n</ul>\n","type":"text/plain"},"key":"end_date","value":""},{"description":{"content":"<p>Call status one of the following: ok, busy, noanswer, timeout, cancel, offline, other.</p>\n","type":"text/plain"},"key":"status","value":""},{"description":{"content":"<p>Call type one of the following: call, cfu, cft, cfb, cfna.</p>\n","type":"text/plain"},"key":"call_type","value":""},{"description":{"content":"<p>Rating status one of the following: ok, unrated, failed.</p>\n","type":"text/plain"},"key":"rating_status","value":""},{"description":{"content":"<p>Source or destination CLID. % charater is allowed for exaple destination = 353% means all irish destinations.</p>\n","type":"text/plain"},"key":"destination\n","value":""},{"description":{"content":"<p>Call direction one of the following: inbound, outbound.</p>\n","type":"text/plain"},"key":"direction","value":""},{"description":{"content":"<p>Minimum call price in cents. For example 1 means 0.01 Eur</p>\n","type":"text/plain"},"key":"min_price","value":""},{"description":{"content":"<p>Maximum call price in cents. For example 1 means 0.01 Eur</p>\n","type":"text/plain"},"key":"max_price","value":""},{"description":{"content":"<p>Calls with free time used</p>\n","type":"text/plain"},"key":"free_time","value":""}],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"c4cbeaaa-34f9-4240-85af-2281cc2b138e"},{"name":"Get status","id":"98224a09-cb6d-4a5c-9580-cd24abbbbd66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/accounts/:id/status","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id","status"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"98224a09-cb6d-4a5c-9580-cd24abbbbd66"},{"name":"Set status","id":"fa77f0fd-9d40-4fd2-8b32-35c09d6e035f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/accounts/:id/status","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id","status"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"10","key":"id"}]}},"response":[],"_postman_id":"fa77f0fd-9d40-4fd2-8b32-35c09d6e035f"},{"name":"Top up the account","id":"26794c23-9e22-4cc2-8a7d-b6275b504d58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"cash\":10,\"currency\":\"EUR\",\"free_time\":\"12\"}"},"url":"https://{{domain}}/api/voice/v2/accounts/:id/topup","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id","topup"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"10","key":"id"}]}},"response":[],"_postman_id":"26794c23-9e22-4cc2-8a7d-b6275b504d58"}],"id":"4b4647fb-96db-4c53-a913-57b7e7c0e301","description":"<p>This API call group related with client accounts. which stores servies allocated to the client. Keep in mind thet one client can have more then one account. Clients ar not implemented in this API it may refer to your own billing paltform but you will need to pass client ID in order to create an account and allocate a services.</p>\n","event":[{"listen":"prerequest","script":{"id":"f992b04a-a837-48e5-8ba3-6ac655f5941d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b47b58df-cbfd-4cce-97ff-a1473264df9c","type":"text/javascript","exec":[""]}}],"_postman_id":"4b4647fb-96db-4c53-a913-57b7e7c0e301"},{"name":"Call Barring Related","item":[{"name":"Get call barrings","id":"67928417-19bc-40fd-95eb-2a6e38439fe2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/callbarring?name=&label&pattern","urlObject":{"protocol":"https","path":["api","voice","v2","callbarring"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Name of the call barring.</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>Label of the call barring.</p>\n","type":"text/plain"},"key":"label","value":null},{"description":{"content":"<p>Call barring pattern. Supports % as a wildcard.</p>\n","type":"text/plain"},"key":"pattern","value":null},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"67928417-19bc-40fd-95eb-2a6e38439fe2"},{"name":"Create call barring","id":"94b747eb-d988-4825-9c30-2c2081241d59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"<p>Name of the call barring</p>\n","type":"text"},{"key":"label ","value":"","description":"<p>Code of the call barring</p>\n","type":"text"},{"key":"description","value":"","description":"<p>Description of the barring</p>\n","type":"text"},{"key":"barringPatterns","value":"","description":"<p>Array of pattern ids to relate to this barring.</p>\n","type":"text"},{"key":"domains","value":"","description":"<p>Contain an array of domains and settings. Array structure:\ndomain - domain name to uodate. Required without id.\nid - ID of the domain to update. Required without domain.\nvisual - This is tag which allows you to filter call barrings from subscribers option list.\ndefault - If this is set then all new subiscribers of the domain will be populated with default callbarring.</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/callbarring","urlObject":{"protocol":"https","path":["api","voice","v2","callbarring"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"94b747eb-d988-4825-9c30-2c2081241d59"},{"name":"Get call barring by ID","id":"2790b8fe-5189-44d8-a289-26d508016737","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/callbarring/:id","urlObject":{"protocol":"https","path":["api","voice","v2","callbarring",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"2790b8fe-5189-44d8-a289-26d508016737"},{"name":"Update call barring by ID","id":"bc706e77-968b-445a-82ae-2a05d6269bc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"label\":\"api_v2_tmp\",\"name\":\"API v2 UPDATED\",\"patterns\":[18,90,101]}"},"url":"https://{{domain}}/api/voice/v2/callbarring/:id","urlObject":{"protocol":"https","path":["api","voice","v2","callbarring",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"10","key":"id"}]}},"response":[],"_postman_id":"bc706e77-968b-445a-82ae-2a05d6269bc9"},{"name":"Delete call barring by ID","id":"f996f595-dde0-4bee-96b8-dacb8b982928","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/callbarring/:id","urlObject":{"protocol":"https","path":["api","voice","v2","callbarring",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"f996f595-dde0-4bee-96b8-dacb8b982928"},{"name":"Get barring patterns","id":"c716037d-cd12-485a-a3ef-a89a30123a20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/barringpatterns?call_barring_id=&call_barring_label=&pattern=&description=","urlObject":{"protocol":"https","path":["api","voice","v2","barringpatterns"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Patterns which belongs to given barring.</p>\n","type":"text/plain"},"key":"call_barring_id","value":""},{"description":{"content":"<p>Patterns which belongs to given barring</p>\n","type":"text/plain"},"key":"call_barring_label","value":""},{"description":{"content":"<p>Pattern supports % as wildcard.</p>\n","type":"text/plain"},"key":"pattern","value":""},{"description":{"content":"<p>Description supports % as wildcard.</p>\n","type":"text/plain"},"key":"description","value":""}],"variable":[]}},"response":[],"_postman_id":"c716037d-cd12-485a-a3ef-a89a30123a20"},{"name":"Create barring patterns","id":"a4ecf943-671c-4793-8aff-643c8e074f59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://{{domain}}/api/voice/v2/barringpatterns","urlObject":{"protocol":"https","path":["api","voice","v2","barringpatterns"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4ecf943-671c-4793-8aff-643c8e074f59"},{"name":"Create bulk barring patterns","id":"62393574-758d-40e7-8b40-ee3f03e40e77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"patterns\":[{\"pattern\":\"37052\",\"description\":\"Vilnius\"},{\"pattern\":\"37041\",\"description\":\"Siauliai\"}]}"},"url":"https://{{domain}}/api/voice/v2/barringpatterns","urlObject":{"protocol":"https","path":["api","voice","v2","barringpatterns"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"62393574-758d-40e7-8b40-ee3f03e40e77"},{"name":"Get barring pattern by ID","id":"de6f9b33-0573-4a13-b7bc-cd1b62a19e40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/barringpatterns/:id","urlObject":{"protocol":"https","path":["api","voice","v2","barringpatterns",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"de6f9b33-0573-4a13-b7bc-cd1b62a19e40"},{"name":"Update barring pattern by ID","id":"aaf5f40d-dfcf-4643-822c-2d9695ec31e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"pattern\":\"3705*\",\"description\":\"Vilnius Co.\"}"},"url":"https://{{domain}}/api/voice/v2/barringpatterns/:id","urlObject":{"protocol":"https","path":["api","voice","v2","barringpatterns",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"168","key":"id"}]}},"response":[],"_postman_id":"aaf5f40d-dfcf-4643-822c-2d9695ec31e4"},{"name":"Delete barring pattern by ID","id":"b7a1f702-49bf-49db-8bab-10b45e8f47c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/barringpatterns/:id","urlObject":{"protocol":"https","path":["api","voice","v2","barringpatterns",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"b7a1f702-49bf-49db-8bab-10b45e8f47c5"}],"id":"63142053-3f70-4926-82a9-50e97fecf2ac","_postman_id":"63142053-3f70-4926-82a9-50e97fecf2ac","description":""},{"name":"Call Director Related","item":[{"name":"Get LIst","id":"3b4b909b-ff99-423e-9c64-91f6532462cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/calldirectors?account_id&domain_id&domain&username&status&client_id&from&to","urlObject":{"protocol":"https","path":["api","voice","v2","calldirectors"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Voice account ID</p>\n","type":"text/plain"},"key":"account_id","value":""},{"description":{"content":"<p>SIP domain ID</p>\n","type":"text/plain"},"key":"domain_id","value":""},{"description":{"content":"<p>SIP domain name</p>\n","type":"text/plain"},"key":"domain","value":""},{"description":{"content":"<p>SIP Username</p>\n","type":"text/plain"},"key":"username","value":""},{"description":{"content":"<p>Status of the service. Valid statuses: active, canceled, susepended.</p>\n","type":"text/plain"},"key":"status","value":""},{"description":{"content":"<p>Client ID for filtering.</p>\n","type":"text/plain"},"key":"client_id","value":""},{"description":{"content":"<p>Begin of the period to get accounts in that period.</p>\n","type":"text/plain"},"key":"from","value":""},{"description":{"content":"<p>End of the period to get accounts in that period.</p>\n","type":"text/plain"},"key":"to","value":""}],"variable":[]}},"response":[],"_postman_id":"3b4b909b-ff99-423e-9c64-91f6532462cd"},{"name":"Create Call Director","id":"75db54b1-5b22-4745-ac12-4a1db9f36fc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"accountnumber\n","value":"","description":"<p>Accountnumber is identifier of voice account which will store the SIP Trunk. Required if account_id is not set.</p>\n","type":"text"},{"key":"account_id","value":"","description":"<p>Account ID is identifier of voice account which will store the SIP Trunk. Required if accountnumber is not set.</p>\n","type":"text"},{"key":"domain","value":"","description":"<p>SIP Domian name. Required if domain_id is not set.</p>\n","type":"text"},{"key":"domain_id","value":"","description":"<p>SIP domain ID. Required if domain is not set</p>\n","type":"text"},{"key":"username","value":"","description":"<p>SIP trunk username</p>\n","type":"text"},{"key":"destination","value":"","description":"<p>Destination where call should be transfered. E.164 number format.</p>\n","type":"text"},{"key":"plain_uri","value":"","description":"<p>If this is set as true then destination should contain full uri. E.g. sip:<a href=\"mailto:123456789@example.org\">123456789@example.org</a> or sip:<a href=\"mailto:123456789@123.123.123.123\">123456789@123.123.123.123</a>.</p>\n","type":"text"},{"key":"max_channels","value":"","description":"<p>Number of max active channels. Default is 2.</p>\n","type":"text"},{"key":"ddi_profile_id","value":"","description":"<p>DDI profile for alias numbers. May be used instead of ddis.</p>\n","type":"text"},{"key":"ddis","value":"","description":"<p>Contain multiple arrays of alias number. Can elements must be DDI IDs or structure:\ncc - Country Code.\nac - Area Code.\nsn - Subscriber Number.</p>\n","type":"text"},{"key":"rewrite_rule_set","value":"","description":"<p>Rewrite rule set name.</p>\n","type":"text"},{"key":"notify","value":"","description":"<p>Flag to send or not service E-Mail.</p>\n","type":"text"},{"key":"inovice_method","value":"","description":"<p>Flag to create an invoice.</p>\n","type":"text"},{"key":"package_code","value":"","description":"<p>Package code default by Default</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/calldirectors","urlObject":{"protocol":"https","path":["api","voice","v2","calldirectors"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"75db54b1-5b22-4745-ac12-4a1db9f36fc6"},{"name":"Get By ID","id":"e4f6d7d4-bd7b-4db9-8d66-6a8b90e4584f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/calldirectors/:id","urlObject":{"protocol":"https","path":["api","voice","v2","calldirectors",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"e4f6d7d4-bd7b-4db9-8d66-6a8b90e4584f"},{"name":"Update by Id","id":"a2fa63da-18d5-47dd-bee7-c26ceb2894fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"max_channels\":\"6\"}"},"url":"https://{{domain}}/api/voice/v2/calldirectors/:id","urlObject":{"protocol":"https","path":["api","voice","v2","calldirectors",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"62","key":"id"}]}},"response":[],"_postman_id":"a2fa63da-18d5-47dd-bee7-c26ceb2894fd"}],"id":"186a7c53-bd27-4328-8801-1fa7a9fa13d2","_postman_id":"186a7c53-bd27-4328-8801-1fa7a9fa13d2","description":""},{"name":"CLIs Related","item":[{"name":"Get CLI Profiles","event":[{"listen":"test","script":{"id":"eb72db44-237d-4d75-b03f-8d17ca1dc382","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});",""],"type":"text/javascript"}}],"id":"2c2e9673-8862-4f09-8435-40452dfdf208","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/cliprofiles?client_id=&emergency_id=&alloc_service_id=&code=&name=&empty=&alloc_type=","urlObject":{"protocol":"https","path":["api","voice","v2","cliprofiles"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Client ID for filtering. Important then service is allocated.</p>\n","type":"text/plain"},"key":"client_id","value":""},{"description":{"content":"<p>Emergency address ID</p>\n","type":"text/plain"},"key":"emergency_id","value":""},{"description":{"content":"<p>Allocated service ID. Important then service is allocated.</p>\n","type":"text/plain"},"key":"alloc_service_id","value":""},{"description":{"content":"<p>CLI profile code</p>\n","type":"text/plain"},"key":"code","value":""},{"description":{"content":"<p>CLI profile name</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>Returnes only empty pools if set to 1. Only full if set to 0</p>\n","type":"text/plain"},"key":"empty","value":""},{"description":{"content":"<p>Allocation type. One of:</p>\n<ul>\n<li>new - CLI profile is new and ready to allocate</li>\n<li>free - CLI profile is not allocated</li>\n<li>alloc - CLI profile is allocated to the sercvice. Allocated service ID is alloc_service_id.</li>\n</ul>\n","type":"text/plain"},"key":"alloc_type","value":""}],"variable":[]}},"response":[],"_postman_id":"2c2e9673-8862-4f09-8435-40452dfdf208"},{"name":"Create CLI Profile","id":"602b031a-6373-4277-b3da-3e89def02288","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"<p>Name of the CLI profile</p>\n","type":"text"},{"key":"code ","value":"","description":"<p>Code of the CLI profile</p>\n","type":"text"},{"key":"description","value":"","description":"<p>Description of the DDI profile</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/cliprofiles","urlObject":{"protocol":"https","path":["api","voice","v2","cliprofiles"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"602b031a-6373-4277-b3da-3e89def02288"},{"name":"Get CLI Profile by ID","id":"32114622-3af6-4a07-ace2-3d3e4130f9aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/cliprofiles/:id","urlObject":{"protocol":"https","path":["api","voice","v2","cliprofiles",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"32114622-3af6-4a07-ace2-3d3e4130f9aa"},{"name":"Update CLI profile","id":"11356299-6e9b-43b1-acaa-82a61e283457","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"API V2 Test\", \"description\":\"This is the testing off API V2\"}"},"url":"https://{{domain}}/api/voice/v2/cliprofiles/:id","urlObject":{"protocol":"https","path":["api","voice","v2","cliprofiles",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"5","key":"id"}]}},"response":[],"_postman_id":"11356299-6e9b-43b1-acaa-82a61e283457"},{"name":"Delete CLI profile by ID","id":"ba22d99c-6bf9-40e2-8147-663709da8547","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/cliprofiles/:id","urlObject":{"protocol":"https","path":["api","voice","v2","cliprofiles",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"ba22d99c-6bf9-40e2-8147-663709da8547"},{"name":"Get CLIs","id":"1211f396-48fd-4829-82db-be5d3cd52bf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/clis?cc&ac&sn&reusable\n&client_id&emergency_id\n&ccode&alloc_service_id&alloc_type","urlObject":{"protocol":"https","path":["api","voice","v2","clis"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Country code.</p>\n","type":"text/plain"},"key":"cc","value":""},{"description":{"content":"<p>Area code</p>\n","type":"text/plain"},"key":"ac","value":""},{"description":{"content":"<p>Subscriber number. Suports % as wild card.</p>\n","type":"text/plain"},"key":"sn","value":""},{"description":{"content":"<p>Filter reusable numbers. if not set all will be returend.</p>\n","type":"text/plain"},"key":"reusable\n","value":""},{"description":{"content":"<p>Client ID for filtering. Important then service is allocated</p>\n","type":"text/plain"},"key":"client_id","value":""},{"description":{"content":"<p>Emergency address ID.</p>\n","type":"text/plain"},"key":"emergency_id\n","value":""},{"description":{"content":"<p>Get all distinct country codes.</p>\n","type":"text/plain"},"key":"ccode","value":""},{"description":{"content":"<p>Allocated service ID. Important then service is allocated.</p>\n","type":"text/plain"},"key":"alloc_service_id","value":""},{"description":{"content":"<p>Allocation type. One of:</p>\n<ul>\n<li>free - CLI number is not allocated</li>\n<li>dirty - CLI number which is in quarantine</li>\n<li>alloc - CLI number is allocated to the sercvice. Allocated service ID is alloc_service_id.</li>\n</ul>\n","type":"text/plain"},"key":"alloc_type","value":""}],"variable":[]}},"response":[],"_postman_id":"1211f396-48fd-4829-82db-be5d3cd52bf6"},{"name":"Create CLI","id":"e896775c-c238-46a8-92f7-2b3ea3a00152","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"cc ","value":"","description":"<p>Country code.</p>\n","type":"text"},{"key":"ac","value":"","description":"<p>Area code.</p>\n","type":"text"},{"key":"sn","value":"","description":"<p>Subscriber Number</p>\n","type":"text"},{"key":"cli_profile_code","value":"","description":"<p>Sets CLI profile for the CLI. Required if cli_profile_id is not set.</p>\n","type":"text"},{"key":"cli_profile_id","value":"","description":"<p>Sets CLI profile for the CLI. Required if cli_profile_code is not set.</p>\n","type":"text"},{"key":"description ","value":"","description":"<p>CLI description</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/clis","urlObject":{"protocol":"https","path":["api","voice","v2","clis"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e896775c-c238-46a8-92f7-2b3ea3a00152"},{"name":"Bulk Create CLIs","id":"37f76fef-dba0-4a9f-a3d6-52442e9b9c71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"clis\":[{\"cc\":\"370\",\"ac\":\"45\",\"sn\":\"123456\",\"cli_profile_id\":\"5\"},{\"cc\":\"370\",\"ac\":\"45\",\"sn\":\"123457\",\"cli_profile_id\":\"2\"}]}"},"url":"https://{{domain}}/api/voice/v2/clis","urlObject":{"protocol":"https","path":["api","voice","v2","clis"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"37f76fef-dba0-4a9f-a3d6-52442e9b9c71"},{"name":"Get CLI by id","id":"7c416525-3624-43ce-9d3e-e2da8b475694","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/clis/:id","urlObject":{"protocol":"https","path":["api","voice","v2","clis",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"7c416525-3624-43ce-9d3e-e2da8b475694"},{"name":"Update CLI by id","id":"bed4eda9-4ae9-4e88-9daf-01d91ce79ba1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"cli_profile_id\":1}"},"url":"https://{{domain}}/api/voice/v2/clis/:id","urlObject":{"protocol":"https","path":["api","voice","v2","clis",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"23","key":"id"}]}},"response":[],"_postman_id":"bed4eda9-4ae9-4e88-9daf-01d91ce79ba1"},{"name":"Delete CLI by id","id":"37b019c0-c70a-4d44-b9e2-841b0a89c23d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/clis/:id","urlObject":{"protocol":"https","path":["api","voice","v2","clis",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"37b019c0-c70a-4d44-b9e2-841b0a89c23d"}],"id":"bac5adff-732c-4fc3-abc6-8c4ca882e7e1","_postman_id":"bac5adff-732c-4fc3-abc6-8c4ca882e7e1","description":""},{"name":"Conference Related","item":[{"name":"Get Conferences list","id":"f039d809-42e8-4fc7-ae70-1a54bbcad3d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/conf","urlObject":{"protocol":"https","path":["api","voice","v2","conf"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"f75d1669-b953-415c-adaf-e9db1ef6b40e","name":"Get Conferences list","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/conf"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 27 May 2019 13:59:47 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"903"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": 3,\n            \"account_id\": 1,\n            \"accountnumber\": \"00001\",\n            \"username\": \"confa-conf\",\n            \"domain_id\": 6,\n            \"domain\": \"cloud.example.net\",\n            \"status\": \"active\",\n            \"client_id\": 2,\n            \"type\": \"conf\",\n            \"private_ddi_ids\": [\n                26\n            ],\n            \"shared_ddi_ids\": [\n                65,\n                66,\n                67\n            ],\n            \"admin_domain\": \"confadmin.example.net\",\n            \"admin_username\": \"confa_admin\",\n            \"city\": \"Dublin\",\n            \"company\": \"Confa\",\n            \"country\": \"IE\",\n            \"email\": \"nerijus+confa@ngntc.com\",\n            \"firstname\": \"Name\",\n            \"lastname\": \"Surname\",\n            \"max_channels\": \"4\",\n            \"max_conferences\": \"-1\",\n            \"state\": \"D\",\n            \"created_at\": \"2019-04-18 14:55:22\"\n        }\n    ],\n    \"first_page_url\": \"http://vapi2-dev.telinsta.net/api/voice/v2/conf?page=1\",\n    \"from\": 1,\n    \"last_page\": 1,\n    \"last_page_url\": \"http://vapi2-dev.telinsta.net/api/voice/v2/conf?page=1\",\n    \"next_page_url\": null,\n    \"path\": \"http://vapi2-dev.telinsta.net/api/voice/v2/conf\",\n    \"per_page\": 15,\n    \"prev_page_url\": null,\n    \"to\": 1,\n    \"total\": 1\n}"}],"_postman_id":"f039d809-42e8-4fc7-ae70-1a54bbcad3d6"},{"name":"Create Conference","id":"f5e153fd-2316-4483-bfb7-d40446034163","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"username","type":"text","value":"vapi2_api_slvs"},{"key":"account_id","type":"text","value":"10"},{"key":"domain_id","type":"text","value":"1"},{"key":"email","type":"text","value":"nerijus_slvs@ngntc.com"},{"key":"ddi_profile_id","type":"text","value":"8"}]},"url":"https://{{domain}}/api/voice/v2/conf","urlObject":{"protocol":"https","path":["api","voice","v2","conf"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5e153fd-2316-4483-bfb7-d40446034163"},{"name":"Get Conference by ID","id":"a2ac4eeb-b3e7-4680-a07b-f08f4b8bf258","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/conf/:id","urlObject":{"protocol":"https","path":["api","voice","v2","conf",":id"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"include_counts","value":"1"}],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"17510938-46c8-41c6-b10e-53a0edcc1f3c","name":"Get Conference by ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/conf/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","conf",":id"],"query":[{"key":"include_counts","value":"1","disabled":true}],"variable":[{"description":"Resource ID","key":"id","value":"15"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 27 May 2019 13:56:24 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"566"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 3,\n        \"account_id\": 1,\n        \"accountnumber\": \"00001\",\n        \"username\": \"confa-conf\",\n        \"domain_id\": 6,\n        \"domain\": \"cloud.example.net\",\n        \"status\": \"active\",\n        \"client_id\": 1,\n        \"type\": \"conf\",\n        \"private_ddi_ids\": [\n            26\n        ],\n        \"shared_ddi_ids\": [\n            65,\n            66,\n            67\n        ],\n        \"admin_domain\": \"confadmin.example.net\",\n        \"admin_username\": \"confa_admin\",\n        \"city\": \"Dublin\",\n        \"company\": \"Confa\",\n        \"country\": \"IE\",\n        \"email\": \"address@domain.net\",\n        \"firstname\": \"Name\",\n        \"lastname\": \"Surname\",\n        \"max_channels\": \"4\",\n        \"max_conferences\": \"-1\",\n        \"state\": \"D\",\n        \"created_at\": \"2019-04-18 14:55:22\"\n    }\n}"}],"_postman_id":"a2ac4eeb-b3e7-4680-a07b-f08f4b8bf258"},{"name":"Update Conference by ID","id":"9bfa5c6b-4845-4c41-b6bb-c91eb5e007e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}"},"url":"https://{{domain}}/api/voice/v2/conf/:id","description":"<p>Updates resource by ID.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","conf",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"9bfa5c6b-4845-4c41-b6bb-c91eb5e007e2"},{"name":"Conference CDRs","id":"ddc0b0d4-c2b7-44f8-a2c5-7050b0596768","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/confcdr","description":"<p>Get conferencing CDRs</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","confcdr"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ddc0b0d4-c2b7-44f8-a2c5-7050b0596768"},{"name":"Reset Conf Administartor","id":"6594e951-e0a1-4aef-b23f-c23aaca4fab9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/conf/main/resetadmin","description":"<p>Reset IVR Administartor and send an email.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","conf","main","resetadmin"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6594e951-e0a1-4aef-b23f-c23aaca4fab9"}],"id":"2fd511f6-f847-4c05-b54a-7274a87c6476","description":"<p>Cloud IVR subscribers</p>\n","event":[{"listen":"prerequest","script":{"id":"59af4692-0dda-4f7b-b8f1-f2f855f55fb0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"19f8da12-24ed-44f2-8581-dc2c01bf7514","type":"text/javascript","exec":[""]}}],"_postman_id":"2fd511f6-f847-4c05-b54a-7274a87c6476"},{"name":"CPS Related","item":[{"name":"Get List","id":"5a406de5-922d-4327-8e83-9d8ae065ea8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/cps?account_id&domain_id&domain&username&status&client_id&from&to","urlObject":{"protocol":"https","path":["api","voice","v2","cps"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Voice account ID</p>\n","type":"text/plain"},"key":"account_id","value":""},{"description":{"content":"<p>SIP domain ID</p>\n","type":"text/plain"},"key":"domain_id","value":""},{"description":{"content":"<p>SIP domain name</p>\n","type":"text/plain"},"key":"domain","value":""},{"description":{"content":"<p>SIP Username</p>\n","type":"text/plain"},"key":"username","value":""},{"description":{"content":"<p>Status of the service. Valid statuses: active, canceled, susepended.</p>\n","type":"text/plain"},"key":"status","value":""},{"description":{"content":"<p>Client ID for filtering.</p>\n","type":"text/plain"},"key":"client_id","value":""},{"description":{"content":"<p>Begin of the period to get accounts in that period.</p>\n","type":"text/plain"},"key":"from","value":""},{"description":{"content":"<p>End of the period to get accounts in that period.</p>\n","type":"text/plain"},"key":"to","value":""}],"variable":[]}},"response":[],"_postman_id":"5a406de5-922d-4327-8e83-9d8ae065ea8b"},{"name":"Create CPS","id":"78e222b6-54ca-4c9a-b2c2-9cd9e0950f11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"accountnumber","value":"","description":"<p>Accountnumber is identifier of voice account which will store the SIP Trunk. Required if account_id is not set</p>\n","type":"text"},{"key":"account_id","value":"","description":"<p>Account ID is identifier of voice account which will store the SIP Trunk. Required if accountnumber is not set</p>\n","type":"text"},{"key":"domain","value":"","description":"<p>SIP Domian name. Required if domain_id is not set.</p>\n","type":"text"},{"key":"domain_id","value":"","description":"<p>SIP domain ID. Required if domain is not set</p>\n","type":"text"},{"key":"username","value":"","description":"<p>SIP trunk username.</p>\n","type":"text"},{"key":"destination","value":"","description":"<p>Destination where call should be transfered. E.164 number format</p>\n","type":"text"},{"key":"max_channels","value":"","description":"<p>Number of max active channels. Default is 2.</p>\n","type":"text"},{"key":"lcr_profile_id","value":"","description":"<p>LCR profile for alias numbers. May be used instead of ddis.</p>\n","type":"text"},{"key":"lcrs","value":"","description":"<p>Contain multiple arrays of alias number. Can elements must LCRs IDs or structure:\ncc - Country Code.\nac - Area Code.\nsn - Subscriber Number.</p>\n","type":"text"},{"key":"email","value":"","description":"<p>Contact email address</p>\n","type":"text"},{"key":"firstname","value":"","description":"<p>first name of the account holder</p>\n","type":"text"},{"key":"lastname","value":"","description":"<p>last name of the account holder</p>\n","type":"text"},{"key":"country","value":"","description":"<p>two letter code of country of teh account holder</p>\n","type":"text"},{"key":"address","value":"","description":"<p>address of the account holder</p>\n","type":"text"},{"key":"city","value":"","description":"<p>city of the acccunt holder</p>\n","type":"text"},{"key":"state","value":"","description":"<p>state/county of the accout holder</p>\n","type":"text"},{"key":"notify","value":"","description":"<p>Flag to send or not service E-Mail.</p>\n","type":"text"},{"key":"inovice_method","value":"","description":"<p>Flag to create an invoice.</p>\n","type":"text"},{"key":"package_code","value":"","description":"<p>Package code default by Default</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/cps","urlObject":{"protocol":"https","path":["api","voice","v2","cps"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"f06978c0-ac66-4e82-a19c-bec3aaf1437d","name":"Create CPS","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"accountnumber","value":"","description":"Accountnumber is identifier of voice account which will store the SIP Trunk. Required if account_id is not set","type":"text"},{"key":"account_id","value":"","description":"Account ID is identifier of voice account which will store the SIP Trunk. Required if accountnumber is not set","type":"text"},{"key":"domain","value":"","description":"SIP Domian name. Required if domain_id is not set.","type":"text"},{"key":"domain_id","value":"","description":"SIP domain ID. Required if domain is not set","type":"text"},{"key":"username","value":"","description":"SIP trunk username.","type":"text"},{"key":"destination","value":"","description":"Destination where call should be transfered. E.164 number format","type":"text"},{"key":"max_channels","value":"","description":"Number of max active channels. Default is 2.","type":"text"},{"key":"lcr_profile_id","value":"","description":"LCR profile for alias numbers. May be used instead of ddis.","type":"text"},{"key":"lcrs","value":"","description":"Contain multiple arrays of alias number. Can elements must LCRs IDs or structure:\ncc - Country Code.\nac - Area Code.\nsn - Subscriber Number.","type":"text"},{"key":"email","value":"","description":"Contact email address","type":"text"},{"key":"firstname","value":"","description":"first name of the account holder","type":"text"},{"key":"lastname","value":"","description":"last name of the account holder","type":"text"},{"key":"country","value":"","description":"two letter code of country of teh account holder","type":"text"},{"key":"address","value":"","description":"address of the account holder","type":"text"},{"key":"city","value":"","description":"city of the acccunt holder","type":"text"},{"key":"state","value":"","description":"state/county of the accout holder","type":"text"},{"key":"notify","value":"","description":"Flag to send or not service E-Mail.","type":"text"},{"key":"inovice_method","value":"","description":"Flag to create an invoice.","type":"text"},{"key":"package_code","value":"","description":"Package code default by Default","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/cps"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 6,\n        \"account_id\": 1,\n        \"accountnumber\": \"000001\",\n        \"username\": \"user_cps\",\n        \"domain_id\": 1,\n        \"domain\": \"sip.example.net\",\n        \"status\": \"active\",\n        \"lcr_profile_id\": 7,\n        \"client_id\": 2,\n        \"type\": \"cps\",\n        \"address\": \"\",\n        \"city\": \"\",\n        \"country\": \"IE\",\n        \"email\": \"email@address.net\",\n        \"firstname\": \"Firstname\",\n        \"lastname\": \"Lastname\",\n        \"max_channels\": \"8\",\n        \"package_code\": \"default\",\n        \"state\": \"CW\",\n        \"created_at\": \"2019-05-09 14:57:59\"\n    }\n}"}],"_postman_id":"78e222b6-54ca-4c9a-b2c2-9cd9e0950f11"},{"name":"Get By ID","event":[{"listen":"test","script":{"id":"6631e1f2-c602-46d8-97b8-03c4702304bd","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"ID is equal to 16\", function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.data.id).to.eql(16);","});"],"type":"text/javascript"}}],"id":"8e11db52-5293-40eb-81c8-9bfcba1cdc08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/cps/:id","urlObject":{"protocol":"https","path":["api","voice","v2","cps",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"083616ec-c407-4dea-abba-a30aa146922f","name":"Get By ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/cps/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","cps",":id"],"variable":[{"key":"id","value":"16","description":"The resource ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 13:48:14 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"405"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 6,\n        \"account_id\": 1,\n        \"accountnumber\": \"000001\",\n        \"username\": \"user_cps\",\n        \"domain_id\": 1,\n        \"domain\": \"sip.example.net\",\n        \"status\": \"active\",\n        \"lcr_profile_id\": 7,\n        \"client_id\": 2,\n        \"type\": \"cps\",\n        \"address\": \"\",\n        \"city\": \"\",\n        \"country\": \"IE\",\n        \"email\": \"email@address.net\",\n        \"firstname\": \"Firstname\",\n        \"lastname\": \"Lastname\",\n        \"max_channels\": \"8\",\n        \"package_code\": \"default\",\n        \"state\": \"CW\",\n        \"created_at\": \"2019-05-09 14:57:59\"\n    }\n}"}],"_postman_id":"8e11db52-5293-40eb-81c8-9bfcba1cdc08"},{"name":"Update By ID","event":[{"listen":"test","script":{"id":"6631e1f2-c602-46d8-97b8-03c4702304bd","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});",""],"type":"text/javascript"}}],"id":"a625e63f-292a-493d-9796-83c40799e7f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"lcr_profile_id\":\"43\"}"},"url":"https://{{domain}}/api/voice/v2/cps/:id","urlObject":{"protocol":"https","path":["api","voice","v2","cps",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"66","key":"id"}]}},"response":[],"_postman_id":"a625e63f-292a-493d-9796-83c40799e7f8"}],"id":"e05ec839-90de-471a-a8fd-ddef72ab47e5","_postman_id":"e05ec839-90de-471a-a8fd-ddef72ab47e5","description":""},{"name":"DDIs Related","item":[{"name":"Get DDI Profiles","id":"96448b4b-4311-4162-9695-361165bdbb1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ddiprofiles?client_id&emergency_id&alloc_service_id&code&name&empty&status","urlObject":{"protocol":"https","path":["api","voice","v2","ddiprofiles"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Client ID for filtering. Important then service is allocated.</p>\n","type":"text/plain"},"key":"client_id","value":""},{"description":{"content":"<p>Emergency address ID.</p>\n","type":"text/plain"},"key":"emergency_id","value":""},{"description":{"content":"<p>Allocated service ID. Important then service is allocated.</p>\n","type":"text/plain"},"key":"alloc_service_id","value":""},{"description":{"content":"<p>DDI profile code</p>\n","type":"text/plain"},"key":"code","value":""},{"description":{"content":"<p>DDI profile name</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>Returnes only empty pools if set to 1. Only full if set to 0.</p>\n","type":"text/plain"},"key":"empty","value":""},{"description":{"content":"<p>Allocation type. One of:</p>\n<ul>\n<li>new - DDI profile is new and ready to allocate</li>\n<li>free - DDI profile is not allocated</li>\n<li>alloc - DDI profile is allocated to the sercvice. Allocated service ID is alloc_service_id.</li>\n</ul>\n","type":"text/plain"},"key":"status","value":""}],"variable":[]}},"response":[],"_postman_id":"96448b4b-4311-4162-9695-361165bdbb1c"},{"name":"Create DDI Profile","id":"98360c70-700e-41eb-b8c3-e9c213019e00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"<p>Name of the DDI profile</p>\n","type":"text"},{"key":"code","value":"","description":"<p>Code of the DDI profile</p>\n","type":"text"},{"key":"description","value":"","description":"<p>Description of the DDI profile</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/ddiprofiles","urlObject":{"protocol":"https","path":["api","voice","v2","ddiprofiles"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"98360c70-700e-41eb-b8c3-e9c213019e00"},{"name":"Get DDI Profile by ID","id":"3dbcc5f8-41ac-4f26-b386-649bd979a1f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ddiprofiles/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ddiprofiles",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"3dbcc5f8-41ac-4f26-b386-649bd979a1f5"},{"name":"Update DDI profile","id":"5a30e1bf-cf8b-4b19-9b89-f6cb4fe84388","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/ddiprofiles/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ddiprofiles",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"54","key":"id"}]}},"response":[],"_postman_id":"5a30e1bf-cf8b-4b19-9b89-f6cb4fe84388"},{"name":"Delete DDI profile by ID","id":"f4fe0974-4655-4c42-b491-8a6d0f985f02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/ddiprofiles/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ddiprofiles",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"f4fe0974-4655-4c42-b491-8a6d0f985f02"},{"name":"Get DDI History","id":"6163d4eb-d1f6-48fd-8c92-d2f75993e4f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ddihistory?cc=&ac=&sn=","urlObject":{"protocol":"https","path":["api","voice","v2","ddihistory"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Country code.</p>\n","type":"text/plain"},"key":"cc","value":""},{"description":{"content":"<p>Area code.</p>\n","type":"text/plain"},"key":"ac","value":""},{"description":{"content":"<p>Subscriber number</p>\n","type":"text/plain"},"key":"sn","value":""}],"variable":[]}},"response":[],"_postman_id":"6163d4eb-d1f6-48fd-8c92-d2f75993e4f4"},{"name":"Get DDI Pricing","id":"0dbd1d90-e940-4bea-8a77-b614f079ebfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ddipricing?name&invoice_name&setup&price\n&currency","urlObject":{"protocol":"https","path":["api","voice","v2","ddipricing"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>DDI prcing name.</p>\n","type":"text/plain"},"key":"name","value":""},{"description":{"content":"<p>DDI prcing invoice name</p>\n","type":"text/plain"},"key":"invoice_name","value":""},{"description":{"content":"<p>Setup fee</p>\n","type":"text/plain"},"key":"setup","value":""},{"description":{"content":"<p>Recurring fee.</p>\n","type":"text/plain"},"key":"price\n","value":""},{"description":{"content":"<p>Pricing currency.</p>\n","type":"text/plain"},"key":"currency","value":""}],"variable":[]}},"response":[],"_postman_id":"0dbd1d90-e940-4bea-8a77-b614f079ebfd"},{"name":"Get DDI Pricing by ID","id":"4a0a6bea-0094-4b50-8e15-49a4bb556c2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ddipricing/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ddipricing",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"4a0a6bea-0094-4b50-8e15-49a4bb556c2b"},{"name":"Create DDI Pricing","id":"e9410963-6e57-4f05-82f3-dd187eeca812","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"<p>DDI prcing name</p>\n","type":"text"},{"key":"invoice_name","value":"","description":"<p>DDI prcing invoice name</p>\n","type":"text"},{"key":"setup","value":"","description":"<p>Setup fee. Default 0.</p>\n","type":"text"},{"key":"price","value":"","description":"<p>Recurring fee. Default 0.</p>\n","type":"text"},{"key":"call_fee","value":"","description":"<p>Call setup fee. Default 0.</p>\n","type":"text"},{"key":"minute_fee","value":"","description":"<p>Call per minute fee in cu. Default 0.</p>\n","type":"text"},{"key":"currency\n","value":"","description":"<p>Pricing currency. Default EUR</p>\n","type":"text"},{"key":"description","value":"","description":"<p>Description of the DDI pricing</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/ddipricing","urlObject":{"protocol":"https","path":["api","voice","v2","ddipricing"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e9410963-6e57-4f05-82f3-dd187eeca812"},{"name":"Update DDI Pricing by ID","id":"ea670b07-b175-4f57-80bb-a3c353463c11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"description\":\"Testing API V2 API Calls\",\"name\":\"API V2 Test Price\",\"setup\":\"0.75\"}"},"url":"https://{{domain}}/api/voice/v2/ddipricing/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ddipricing",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"22","key":"id"}]}},"response":[],"_postman_id":"ea670b07-b175-4f57-80bb-a3c353463c11"},{"name":"Get DDIs","id":"08297aa0-3d2b-4a8b-b33c-d48f3db18c25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ddis?cc&ac&sn&resereved&reusable&client_id&ddi_pricing_id&emergency_id&ccode&alloc_service_id&status","urlObject":{"protocol":"https","path":["api","voice","v2","ddis"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Country code.</p>\n","type":"text/plain"},"key":"cc","value":null},{"description":{"content":"<p>Area code</p>\n","type":"text/plain"},"key":"ac","value":null},{"description":{"content":"<p>Subscriber number. Suports % as wild card.</p>\n","type":"text/plain"},"key":"sn","value":null},{"description":{"content":"<p>Filter reserved numbers. if not set all will be returend.</p>\n","type":"text/plain"},"key":"resereved","value":null},{"description":{"content":"<p>Filter reusable numbers. if not set all will be returend.</p>\n","type":"text/plain"},"key":"reusable","value":null},{"description":{"content":"<p>Client ID for filtering. Important then service is allocated</p>\n","type":"text/plain"},"key":"client_id","value":null},{"description":{"content":"<p>DDI pricing ID. Pass 0 to get all without price.</p>\n","type":"text/plain"},"key":"ddi_pricing_id","value":null},{"description":{"content":"<p>Emergency address ID</p>\n","type":"text/plain"},"key":"emergency_id","value":null},{"description":{"content":"<p>Get all distinct country codes.</p>\n","type":"text/plain"},"key":"ccode","value":null},{"description":{"content":"<p>Allocated service ID. Important then service is allocated</p>\n","type":"text/plain"},"key":"alloc_service_id","value":null},{"description":{"content":"<p>Allocation type. One of:</p>\n<ul>\n<li>free - DDI number is not allocated</li>\n<li>dirty - DDI number which is in quarantine</li>\n<li>alloc - DDI number is allocated to the sercvice. Allocated service ID is alloc_service_id.</li>\n</ul>\n","type":"text/plain"},"key":"status","value":null}],"variable":[]}},"response":[],"_postman_id":"08297aa0-3d2b-4a8b-b33c-d48f3db18c25"},{"name":"Create DDI","id":"99642051-127d-4ded-a379-03a2e35a9170","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"cc","value":"370","description":"<p>Country code.</p>\n","type":"text"},{"key":"ac","value":"15","description":"<p>Area code</p>\n","type":"text"},{"key":"sn","value":"151515","description":"<p>Subscriber Number</p>\n","type":"text"},{"key":"ddi_profile_code","value":"default","description":"<p>Sets DDI profile for the DDI. Required if ddi_profile_id is not set.</p>\n","type":"text"},{"key":"ddi_profile_id","value":"","description":"<p>Sets DDI profile for the DDI. Required if ddi_profile_code is not set.</p>\n","type":"text","disabled":true},{"key":"description","value":"Testing a callback","description":"<p>DDI description.</p>\n","type":"text"},{"key":"reserved","value":"","description":"<p>Set to true if number is reserved and it wouldn’t be used for auto allocations.</p>\n","type":"text","disabled":true},{"key":"ddi_pricing_id","value":"","description":"<p>Sets DDI pricingd for the DDI</p>\n","type":"text","disabled":true}]},"url":"https://{{domain}}/api/voice/v2/ddis","urlObject":{"protocol":"https","path":["api","voice","v2","ddis"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"99642051-127d-4ded-a379-03a2e35a9170"},{"name":"Bulk Create DDIs","id":"70572356-bb7c-4daf-a2eb-4959c3a53149","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"ddis\":[{\"cc\":\"370\",\"ac\":\"45\",\"sn\":\"\",\"ddi_profile_id\":\"8\"},{\"cc\":\"370\",\"ac\":\"45\",\"sn\":\"\",\"ddi_profile_id\":\"6\",\"ddi_pricing_id\":\"2\"}]}"},"url":"https://{{domain}}/api/voice/v2/ddis","urlObject":{"protocol":"https","path":["api","voice","v2","ddis"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"70572356-bb7c-4daf-a2eb-4959c3a53149"},{"name":"Get DDI by id","id":"35b2db04-395b-48bd-9059-a502b8a9ca09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/ddis/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ddis",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"35b2db04-395b-48bd-9059-a502b8a9ca09"},{"name":"Update DDI by id","id":"7717b585-d52f-4b1e-889d-c71eae8c6560","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"emergency_id\":0}"},"url":"https://{{domain}}/api/voice/v2/ddis/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ddis",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"d91b9972-c423-4441-b270-71323a00da27","name":"Update DDI by id","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"ddi_profile_id\":13}"},"url":{"raw":"https://{{domain}}/api/voice/v2/ddis/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","ddis",":id"],"variable":[{"key":"id","value":"23","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 30 May 2019 13:19:33 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"460"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 23,\n        \"cc\": \"353\",\n        \"ac\": \"12\",\n        \"sn\": \"12345678\",\n        \"description\": \"\",\n        \"reserved\": 0,\n        \"reusable\": 1,\n        \"status\": \"free\",\n        \"alloc_service_id\": null,\n        \"client_id\": null,\n        \"status_changed_at\": \"2019-05-29 15:30:46\",\n        \"ddi_profile_id\": 13,\n        \"ddi_profile_code\": \"example_pool\",\n        \"ddi_profile_name\": \"Example Pool\",\n        \"ddi_profile_emergency_id\": null,\n        \"ddi_pricing_id\": null,\n        \"ddi_pricing_name\": null,\n        \"ddi_invoice_name\": null,\n        \"ddi_price\": 0,\n        \"ddi_setup\": 0,\n        \"ddi_currency\": 0,\n        \"emergency_id\": null\n    }\n}"}],"_postman_id":"7717b585-d52f-4b1e-889d-c71eae8c6560"},{"name":"Delete DDI by id","id":"2e58532a-2f76-4913-9c32-0ac2343f9f1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/ddis/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ddis",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"2e58532a-2f76-4913-9c32-0ac2343f9f1b"},{"name":"Get Emegency Contacts","id":"e240bfe4-0080-43ea-857d-a3502a8708cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/emergencycontacts?country&city&state&client_id","urlObject":{"protocol":"https","path":["api","voice","v2","emergencycontacts"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Two letter country code. To filtere the emergency contacts.</p>\n","type":"text/plain"},"key":"country","value":""},{"description":{"content":"<p>City to filter the emergency contacts. Suports % as wild card</p>\n","type":"text/plain"},"key":"city","value":""},{"description":{"content":"<p>State/County to filter the emergency contacts. Suports % as wild card.</p>\n","type":"text/plain"},"key":"state","value":""},{"description":{"content":"<p>Client ID for filtering</p>\n","type":"text/plain"},"key":"client_id","value":""}],"variable":[]}},"response":[],"_postman_id":"e240bfe4-0080-43ea-857d-a3502a8708cf"},{"name":"Create Emegency Contact","id":"0e3d8d53-0cc5-4c40-a261-b848062439be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"<p>Name of the address. E.g. Comapny HQ, Company branch</p>\n","type":"text"},{"key":"contact_name","value":"","description":"<p>Contact name of the address. Person related to the number</p>\n","type":"text"},{"key":"address1","value":"","description":"<p>1st address line.</p>\n","type":"text"},{"key":"address2","value":"","description":"<p>2nd address line.</p>\n","type":"text"},{"key":"address3","value":"","description":"<p>3rd Address line.</p>\n","type":"text"},{"key":"country","value":"","description":"<p>Two letter country code</p>\n","type":"text"},{"key":"city","value":"","description":"<p>City.</p>\n","type":"text"},{"key":"state","value":"","description":"<p>State/County.</p>\n","type":"text"},{"key":"postcode","value":"","description":"<p>Post code of the address.</p>\n","type":"text"},{"key":"client_id","value":"","description":"<p>Client ID for filtering. Restricted to clients.</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/emergencycontacts","urlObject":{"protocol":"https","path":["api","voice","v2","emergencycontacts"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e3d8d53-0cc5-4c40-a261-b848062439be"},{"name":"Get Emegency Contact by ID","id":"4cfcfde9-1be1-451b-a952-de3e110c47a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/emergencycontacts/:id","urlObject":{"protocol":"https","path":["api","voice","v2","emergencycontacts",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"4cfcfde9-1be1-451b-a952-de3e110c47a3"},{"name":"Update Emegency Contact by ID","id":"4e4190e8-4486-4932-a02f-befb1f74e91e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\": \"Lithuania\",\"contact_name\": \"Api Lithuania\",\"address1\": \"Tilzes g. 156-9\",\"address2\": \"\",\"address3\":\"\",\"city\": \"Siauliai\",\"country\": \"LTU\"}"},"url":"https://{{domain}}/api/voice/v2/emergencycontacts/:id","urlObject":{"protocol":"https","path":["api","voice","v2","emergencycontacts",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"5","key":"id"}]}},"response":[],"_postman_id":"4e4190e8-4486-4932-a02f-befb1f74e91e"},{"name":"Delete Emegency Contact by ID","id":"5bbcaa4a-4a22-4506-bc93-f173fd35d9ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\": \"Lithuania\",\"contact_name\": \"Api Lithuania\",\"address1\": \"Tilzes g. 156-9\",\"address2\": \"\",\"address3\":\"\",\"city\": \"Siauliai\",\"country\": \"LTU\"}"},"url":"https://{{domain}}/api/voice/v2/emergencycontacts/:id","urlObject":{"protocol":"https","path":["api","voice","v2","emergencycontacts",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"5bbcaa4a-4a22-4506-bc93-f173fd35d9ab"},{"name":"Create/Update DDI Limits","id":"adb18408-74cc-4de8-a30b-026c1ecb8450","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"text/plain","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"ddi","value":"","description":"<p>DDI number to limit. E.164 format.</p>\n","type":"text"},{"key":"in","value":"","description":"<p>Set DDI limitation for inbound minutes.</p>\n","type":"text"},{"key":"out","value":"","description":"<p>Set DDI limitation for outbound minutes.</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/ddilimits","urlObject":{"protocol":"https","path":["api","voice","v2","ddilimits"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"53f615a5-3d94-4822-b0f9-cc037e2c827e","name":"Create DDI Limits","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"text/plain","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"ddi","value":"124519875","description":"DDI number to limit. E.164 format.","type":"text"},{"key":"in","value":"2","description":"Set DDI limitation for inbound minutes.","type":"text"},{"key":"out","value":"4","description":"Set DDI limitation for outbound minutes.","type":"text"}],"options":{"raw":{"language":"text"}}},"url":"https://{{domain}}/api/voice/v2/ddilimits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Oct 2019 10:58:42 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"50"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ddi\": \"12451987525\",\n        \"in\": \"2\",\n        \"out\": \"4\"\n    }\n}"}],"_postman_id":"adb18408-74cc-4de8-a30b-026c1ecb8450"},{"name":"Create/Update Bulk DDI Limits","id":"d4855463-3692-4da9-baab-9816aee84cea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"ddis\":[{\"ddi\":\"353766010951\",\"in\":6,\"out\":2},{\"ddi\":\"353766010954\",\"in\":10,\"out\":1}]}"},"url":"https://{{domain}}/api/voice/v2/ddilimits","urlObject":{"protocol":"https","path":["api","voice","v2","ddilimits"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"bb0c2ffd-d550-483d-8b0f-72df91ad3a65","name":"Create DDI Limits","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"text/plain","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"ddi","value":"124519875","description":"DDI number to limit. E.164 format.","type":"text"},{"key":"in","value":"2","description":"Set DDI limitation for inbound minutes.","type":"text"},{"key":"out","value":"4","description":"Set DDI limitation for outbound minutes.","type":"text"}],"options":{"raw":{"language":"text"}}},"url":"https://{{domain}}/api/voice/v2/ddilimits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Oct 2019 10:58:42 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"50"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ddi\": \"12451987525\",\n        \"in\": \"2\",\n        \"out\": \"4\"\n    }\n}"}],"_postman_id":"d4855463-3692-4da9-baab-9816aee84cea"},{"name":"Get DDI limit by ddi","id":"f121905f-ca63-4b0d-b9fe-1e991b08bce1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/ddilimits/:ddi","urlObject":{"protocol":"https","path":["api","voice","v2","ddilimits",":ddi"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>DDI number to limit. E.164 format.</p>\n","type":"text/plain"},"type":"string","value":"","key":"ddi"}]}},"response":[{"id":"f2b15a1c-e9fa-4d8b-886f-01c8ce5e26a2","name":"Get DDI limit by ddi","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://{{domain}}/api/voice/v2/ddilimits/:ddi","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","ddilimits",":ddi"],"variable":[{"key":"ddi","value":"151161662342","description":"DDI number to limit. E.164 format."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Oct 2019 11:42:45 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"597"},{"key":"Content-Length","value":"26"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"in\": 10,\n        \"out\": 1\n    }\n}"}],"_postman_id":"f121905f-ca63-4b0d-b9fe-1e991b08bce1"},{"name":"Delete DDI Limit by ddi","id":"ee90d765-95c9-4757-a3a1-18bbf6be75ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/ddilimits/:ddi","urlObject":{"protocol":"https","path":["api","voice","v2","ddilimits",":ddi"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Delete DDI by ddis</p>\n","type":"text/plain"},"type":"string","value":"","key":"ddi"}]}},"response":[{"id":"c7908a66-6eb0-43e9-938c-b644326a6291","name":"Delete DDI Limit by ddi","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{domain}}/api/voice/v2/ddilimits/:ddi","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","ddilimits",":ddi"],"variable":[{"key":"ddi","value":"151251251642","description":"Delete DDI by ddis"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Oct 2019 11:51:26 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"26"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"in\": 10,\n        \"out\": 1\n    }\n}"}],"_postman_id":"ee90d765-95c9-4757-a3a1-18bbf6be75ee"},{"name":"Update DDI limits within DDI profile.","id":"c916aa36-c377-4b50-ba8b-7c3082e140df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"text/plain","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"in","value":"","description":"<p>Set DDI limitation for inbound minutes.</p>\n","type":"text"},{"key":"out","value":"","description":"<p>Set DDI limitation for outbound minutes.</p>\n","type":"text"},{"key":"overwrite","value":"","description":"<p>If this is set to true all ddis within profile will have same limits. If this is set to false then only limitless entires will get new values.</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/ddilimits/:profile_id","urlObject":{"protocol":"https","path":["api","voice","v2","ddilimits",":profile_id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>DDI profile IDnumber</p>\n","type":"text/plain"},"type":"string","value":"","key":"profile_id"}]}},"response":[{"id":"e3e9c844-6806-487f-b82b-afa1ff937abb","name":"Create DDI Limits","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"text/plain","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"ddi","value":"124519875","description":"DDI number to limit. E.164 format.","type":"text"},{"key":"in","value":"2","description":"Set DDI limitation for inbound minutes.","type":"text"},{"key":"out","value":"4","description":"Set DDI limitation for outbound minutes.","type":"text"}],"options":{"raw":{"language":"text"}}},"url":"https://{{domain}}/api/voice/v2/ddilimits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Oct 2019 10:58:42 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"50"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ddi\": \"12451987525\",\n        \"in\": \"2\",\n        \"out\": \"4\"\n    }\n}"}],"_postman_id":"c916aa36-c377-4b50-ba8b-7c3082e140df"}],"id":"8d420774-6830-4901-9c67-b4b29a7695f9","_postman_id":"8d420774-6830-4901-9c67-b4b29a7695f9","description":""},{"name":"Domains Related","item":[{"name":"Get Domains","id":"76bcbaaf-5f87-4558-91f3-9b1718fe0a00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/domains?type&domain\n&default&verified","urlObject":{"protocol":"https","path":["api","voice","v2","domains"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Type of domain. Supports % as wildchar</p>\n","type":"text/plain"},"key":"type","value":""},{"description":{"content":"<p>Domain name. Supports % as wildchar.</p>\n","type":"text/plain"},"key":"domain\n","value":""},{"description":{"content":"<p>Filters domains which are default if ture is passed. Returns all if not set.</p>\n","type":"text/plain"},"key":"default","value":""},{"description":{"content":"<p>Filters domains which are verified if ture is passed. Returns all if not set.</p>\n","type":"text/plain"},"key":"verified","value":""}],"variable":[]}},"response":[],"_postman_id":"76bcbaaf-5f87-4558-91f3-9b1718fe0a00"},{"name":"Create Domain","id":"8b5369ab-a272-4708-83e7-08bb17f58cde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"type","value":"sip_sip","description":"<p>Type of domain. Possible types: sip_sip, pbx_sip, ivr_sip, conf_sip</p>\n","type":"text"},{"key":"domain","value":"test2.domain.eg","description":"<p>Domain name.</p>\n","type":"text"},{"key":"description","value":"","description":"<p>Description of the domain.</p>\n","type":"text","disabled":true}]},"url":"https://{{domain}}/api/voice/v2/domains?=","urlObject":{"protocol":"https","path":["api","voice","v2","domains"],"host":["{{domain}}"],"query":[{"key":null,"value":""}],"variable":[]}},"response":[],"_postman_id":"8b5369ab-a272-4708-83e7-08bb17f58cde"},{"name":"Get Domain by ID","id":"7c814f6d-1555-407e-8bf4-f2b30d929487","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/domains/:id","urlObject":{"protocol":"https","path":["api","voice","v2","domains",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"7c814f6d-1555-407e-8bf4-f2b30d929487"},{"name":"Update Domain by ID","id":"285532f7-0fcc-4cf3-abab-fedb3be6dc93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/domains/:id","urlObject":{"protocol":"https","path":["api","voice","v2","domains",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"9","key":"id"}]}},"response":[],"_postman_id":"285532f7-0fcc-4cf3-abab-fedb3be6dc93"},{"name":"Domain Credit Check","id":"08d35094-3427-4517-884d-98cdffa2166b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/domains/:id/creditcheck","description":"<p>Search account where balance is less then specified. You need to\npass domain and threshold ( amount of money in cents ) to look for.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","domains",":id","creditcheck"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"08d35094-3427-4517-884d-98cdffa2166b"},{"name":"Get call barring","id":"eb05d6d4-49ad-47f7-b9ce-0895ef875226","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/domains/:id/callbarring","urlObject":{"protocol":"https","path":["api","voice","v2","domains",":id","callbarring"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"eb05d6d4-49ad-47f7-b9ce-0895ef875226"},{"name":"Get Domain Preferences","id":"498c4216-bfd4-47ea-ba54-414c58cb8cd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/domains/:id/preferences","urlObject":{"protocol":"https","path":["api","voice","v2","domains",":id","preferences"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>The resource ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"498c4216-bfd4-47ea-ba54-414c58cb8cd0"},{"name":"set Domain Preferences","id":"2ce75fd3-2f0f-4cbc-8eb7-720b0ccd2ecf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"concurrent_max\":15}"},"url":"https://{{domain}}/api/voice/v2/domains/:id/preferences","urlObject":{"protocol":"https","path":["api","voice","v2","domains",":id","preferences"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[],"_postman_id":"2ce75fd3-2f0f-4cbc-8eb7-720b0ccd2ecf"}],"id":"1d3ee9f1-012b-49b3-ad42-7eb23bd0acb9","_postman_id":"1d3ee9f1-012b-49b3-ad42-7eb23bd0acb9","description":""},{"name":"General","item":[{"name":"Banned IPs list","id":"a2909701-aaea-429e-8f29-93a069ed8bfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/bannedips","urlObject":{"protocol":"https","path":["api","voice","v2","bannedips"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2909701-aaea-429e-8f29-93a069ed8bfc"},{"name":"Remove banned IP","id":"12c57cdb-9f49-432a-a817-806395aebd3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/operator/v2/bannedips/:id","urlObject":{"protocol":"https","path":["api","operator","v2","bannedips",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"12c57cdb-9f49-432a-a817-806395aebd3f"},{"name":"Banned users list","id":"94ef5ea4-b099-452e-8da1-bc265f3471ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/bannedusers","urlObject":{"protocol":"https","path":["api","voice","v2","bannedusers"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"9a97187b-ebbe-4f1a-91a3-e089e31b8df8","name":"Banned users list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/bannedusers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:32:29 GMT"},{"key":"Server","value":"Apache"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"6887"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n\n            \"auth_count\": \"3\",\n            \"id\": \"5**9@18.194.138.132\",\n            \"last_auth\": \"2019-05-28 14:31:13\",\n            \"username\": \"5**9@18.194.138.132\"\n        },\n        {\n            \"auth_count\": \"3\",\n            \"id\": \"9**5@18.194.138.132\",\n            \"last_auth\": \"2019-05-28 14:16:00\",\n            \"username\": \"9**5@18.194.138.132\"\n        },\n        {\n            \"auth_count\": \"3\",\n            \"id\": \"06*@18.194.138.132\",\n            \"last_auth\": \"2019-05-28 13:41:46\",\n            \"username\": \"06*@18.194.138.132\"\n        },\n        {\n\n            \"auth_count\": \"3\",\n            \"id\": \"9**7@18.194.138.132\",\n            \"last_auth\": \"2019-05-28 14:19:52\",\n            \"username\": \"9**7@18.194.138.132\"\n        },\n        {\n            \"auth_count\": \"3\",\n            \"id\": \"9259@18.194.138.132\",\n            \"last_auth\": \"2019-05-28 13:56:37\",\n            \"username\": \"9259@18.194.138.132\"\n        }\n    ]\n}"}],"_postman_id":"94ef5ea4-b099-452e-8da1-bc265f3471ec"},{"name":"Remove banned user","id":"07cff258-7e3b-4fdf-a2b2-de94877d17b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/bannedusers/:id","urlObject":{"protocol":"https","path":["api","voice","v2","bannedusers",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"9186a063-6068-440c-9678-ca14c5af0629","name":"Remove banned user","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{domain}}/api/voice/v2/bannedusers/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","bannedusers",":id"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:43:57 GMT"},{"key":"Server","value":"Apache"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"13"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": true\n}"}],"_postman_id":"07cff258-7e3b-4fdf-a2b2-de94877d17b8"},{"name":"Get call history","id":"25468cb9-b57d-4957-9afa-57265166fb05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/callhistory","urlObject":{"protocol":"https","path":["api","voice","v2","callhistory"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"25468cb9-b57d-4957-9afa-57265166fb05"},{"name":"Get call flow by CDR ID","id":"b148e353-0178-4a7a-980d-414df884b6e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/callflow/:id?type=png","urlObject":{"protocol":"https","path":["api","voice","v2","callflow",":id"],"host":["{{domain}}"],"query":[{"key":"type","value":"png"}],"variable":[{"type":"any","value":"1722","key":"id"}]}},"response":[],"_postman_id":"b148e353-0178-4a7a-980d-414df884b6e4"},{"name":"Get CDRs","id":"5caa5b38-2e62-4a3b-99f8-29f3e028f6ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/cdr","urlObject":{"protocol":"https","path":["api","voice","v2","cdr"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5caa5b38-2e62-4a3b-99f8-29f3e028f6ff"},{"name":"Get Company Preferences","id":"d1c02aa5-34fe-43a8-9cc0-da9832c4ea0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/preferences?key=reseller","urlObject":{"protocol":"https","path":["api","voice","v2","preferences"],"host":["{{domain}}"],"query":[{"key":"key","value":"reseller"}],"variable":[]}},"response":[],"_postman_id":"d1c02aa5-34fe-43a8-9cc0-da9832c4ea0c"},{"name":"Set Company Preferences","id":"dd8c2f5b-80cd-4702-8182-dde49641c8f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/preferences","urlObject":{"protocol":"https","path":["api","voice","v2","preferences"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd8c2f5b-80cd-4702-8182-dde49641c8f7"},{"name":"Get Revenue","id":"3d040d03-a2c0-4ff1-aa82-7937f12d53b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/revenue","urlObject":{"protocol":"https","path":["api","voice","v2","revenue"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d040d03-a2c0-4ff1-aa82-7937f12d53b6"},{"name":"Get Registrations","id":"07dccd1f-d25c-46d8-95a4-28a6217f7eb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/registrations?sort_by=q&order=asc&username[0]=nerijus-sip&username[1]=nerijus-trunk","urlObject":{"protocol":"https","path":["api","voice","v2","registrations"],"host":["{{domain}}"],"query":[{"key":"sort_by","value":"q"},{"key":"order","value":"asc"},{"key":"username[0]","value":"nerijus-sip"},{"key":"username[1]","value":"nerijus-trunk"}],"variable":[]}},"response":[{"id":"467b2ec4-3a0d-4bef-9c6a-1a41aaef2433","name":"Get Registrations","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/registrations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:29:53 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"730"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": \"82\",\n            \"username\": \"user-ivr\",\n            \"domain\": \"ivr.example.net\",\n            \"contact\": \"sip:user-ivr@ivr-proxy.example.net\",\n            \"received\": null,\n            \"expires\": \"Never\",\n            \"user_agent\": \"Permenant Registration\",\n            \"last_modified\": \"1970-01-01 01:00:00\",\n            \"socket\": null,\n            \"q\": \"0.00\"\n        }\n    ],\n    \"first_page_url\": \"https://vapi2-dev.telinsta.net/api/voice/v2/registrations?page=1\",\n    \"from\": 1,\n    \"last_page\": 12,\n    \"last_page_url\": \"https://vapi2-dev.telinsta.net/api/voice/v2/registrations?page=12\",\n    \"next_page_url\": \"https://vapi2-dev.telinsta.net/api/voice/v2/registrations?page=2\",\n    \"path\": \"https://vapi2-dev.telinsta.net/api/voice/v2/registrations\",\n    \"per_page\": \"1\",\n    \"prev_page_url\": null,\n    \"to\": 1,\n    \"total\": \"12\"\n}"}],"_postman_id":"07dccd1f-d25c-46d8-95a4-28a6217f7eb0"},{"name":"Get Enabled Services","id":"19403c5b-0604-4c63-a395-3b12361dd344","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/enabledservices","urlObject":{"protocol":"https","path":["api","voice","v2","enabledservices"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19403c5b-0604-4c63-a395-3b12361dd344"},{"name":"Get Contact List","id":"458be17f-9f7a-4235-b8a0-b1f82824991b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/contacts","urlObject":{"protocol":"https","path":["api","voice","v2","contacts"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"458be17f-9f7a-4235-b8a0-b1f82824991b"},{"name":"Create Contact","id":"52783066-e34d-4c9c-89bc-29c25df77bf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"firstname","value":"Api","type":"text"},{"key":"lastname","value":"Test","type":"text"},{"key":"email","value":"nerijus+api@ngntc.com","type":"text"},{"key":"phone","value":"+35314373834","type":"text"},{"key":"type","value":"general","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/contacts","urlObject":{"protocol":"https","path":["api","voice","v2","contacts"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"52783066-e34d-4c9c-89bc-29c25df77bf6"},{"name":"Get Contact By ID","id":"341febfc-bd8e-40e5-b5aa-76a0110ff144","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/contacts/:id","urlObject":{"protocol":"https","path":["api","voice","v2","contacts",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"6","key":"id"}]}},"response":[],"_postman_id":"341febfc-bd8e-40e5-b5aa-76a0110ff144"},{"name":"Update Contact","id":"a46b9174-49c5-4e18-8fe0-ca76d8c1b79b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":"{\"firstname\":\"API\"}"},"url":"https://{{domain}}/api/voice/v2/contacts/:id","urlObject":{"protocol":"https","path":["api","voice","v2","contacts",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"6","key":"id"}]}},"response":[],"_postman_id":"a46b9174-49c5-4e18-8fe0-ca76d8c1b79b"},{"name":"Delete Contact By ID","id":"c6d3b786-e4e2-47b0-80cf-d7d2d0f3e227","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/contacts/:id","urlObject":{"protocol":"https","path":["api","voice","v2","contacts",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"3","key":"id"}]}},"response":[],"_postman_id":"c6d3b786-e4e2-47b0-80cf-d7d2d0f3e227"},{"name":"Get Company information","id":"cf99a25f-f3f1-4d77-bf4d-9c63015e80bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/companyinfo","urlObject":{"protocol":"https","path":["api","voice","v2","companyinfo"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf99a25f-f3f1-4d77-bf4d-9c63015e80bf"}],"id":"3c713cfd-9398-4d1b-961f-885198341eda","_postman_id":"3c713cfd-9398-4d1b-961f-885198341eda","description":""},{"name":"IVRs Related","item":[{"name":"Get IVRs list","id":"35ebc6b8-6f79-40ee-b5ae-59706909ae46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ivr","urlObject":{"protocol":"https","path":["api","voice","v2","ivr"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"18802ceb-d53b-4a6a-9ab4-0ffe645669bd","name":"Get IVRs list","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ivr"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 20 May 2019 13:24:56 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"584"},{"key":"Content-Length","value":"761"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": 2,\n            \"account_id\": 1,\n            \"accountnumber\": \"ivr_acc\",\n            \"username\": \"subscriber-ivr\",\n            \"domain_id\": 13,\n            \"domain\": \"ivr.example.net\",\n            \"status\": \"active\",\n            \"ddi_profile_id\": \"4\",\n            \"client_id\": 4,\n            \"type\": \"ivr\",\n            \"address\": \"\",\n            \"city\": \"\",\n            \"country\": \"IE\",\n            \"email\": \"email@address.io\",\n            \"firstname\": \"Name\",\n            \"lastname\": \"Surname\",\n            \"max_channels\": \"5\",\n            \"max_ivrs\": \"-1\",\n            \"rewrite_rule_set\": \"\",\n            \"state\": \"D\",\n            \"created_at\": \"2019-05-17 11:30:45\"\n        }\n    ],\n    \"first_page_url\": \"http://vapi2-dev.telinsta.net/api/voice/v2/ivr?page=1\",\n    \"from\": 1,\n    \"last_page\": 1,\n    \"last_page_url\": \"http://vapi2-dev.telinsta.net/api/voice/v2/ivr?page=1\",\n    \"next_page_url\": null,\n    \"path\": \"http://vapi2-dev.telinsta.net/api/voice/v2/ivr\",\n    \"per_page\": 15,\n    \"prev_page_url\": null,\n    \"to\": 1,\n    \"total\": 1\n}"}],"_postman_id":"35ebc6b8-6f79-40ee-b5ae-59706909ae46"},{"name":"Create IVR","id":"9c99f0d2-0ff3-4cf2-bc49-b270ab6e806f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"username","type":"text","value":"vapi2_api_slvs"},{"key":"account_id","type":"text","value":"10"},{"key":"domain_id","type":"text","value":"1"},{"key":"email","type":"text","value":"nerijus_slvs@ngntc.com"},{"key":"ddi_profile_id","type":"text","value":"8"}]},"url":"https://{{domain}}/api/voice/v2/ivr","urlObject":{"protocol":"https","path":["api","voice","v2","ivr"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c99f0d2-0ff3-4cf2-bc49-b270ab6e806f"},{"name":"Get IVR by ID","id":"3a515cc2-6aa3-4820-8883-326326740ce5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ivr/:id?include_counts=1","urlObject":{"protocol":"https","path":["api","voice","v2","ivr",":id"],"host":["{{domain}}"],"query":[{"key":"include_counts","value":"1"}],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"60812f75-456b-4113-9361-7c22e8ec66b4","name":"Get IVR by ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/ivr/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","ivr",":id"],"variable":[{"key":"id","value":"2","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 20 May 2019 13:14:40 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"427"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 2,\n        \"account_id\": 1,\n        \"accountnumber\": \"ivr_acc\",\n        \"username\": \"subsriber-ivr\",\n        \"domain_id\": 1,\n        \"domain\": \"ivr.example.net\",\n        \"status\": \"active\",\n        \"ddi_profile_id\": \"4\",\n        \"client_id\": 4,\n        \"type\": \"ivr\",\n        \"address\": \"\",\n        \"city\": \"\",\n        \"country\": \"IE\",\n        \"email\": \"email@address.io\",\n        \"firstname\": \"Name\",\n        \"lastname\": \"Surname\",\n        \"max_channels\": \"5\",\n        \"max_ivrs\": \"-1\",\n        \"rewrite_rule_set\": \"\",\n        \"state\": \"D\",\n        \"created_at\": \"2019-05-17 11:30:45\"\n    }\n}"}],"_postman_id":"3a515cc2-6aa3-4820-8883-326326740ce5"},{"name":"Update IVR by ID","id":"f9ce1e76-be1e-4391-b0b0-da59be9d618d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"ddi_profile_id\":8}"},"url":"https://{{domain}}/api/voice/v2/ivr/:id","description":"<p>Updates resource by ID.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","ivr",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"6ccce23a-7271-40d6-8b8d-837059097555","name":"Update IVR by ID","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"ddi_profile_id\":8}"},"url":{"raw":"https://{{domain}}/api/voice/v2/ivr/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","ivr",":id"],"variable":[{"key":"id","value":"2","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 20 May 2019 15:01:56 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"1421"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 2,\n        \"account_id\": 1,\n        \"accountnumber\": \"ivr_acc\",\n        \"username\": \"subsriber-ivr\",\n        \"domain_id\": 1,\n        \"domain\": \"ivr.example.net\",\n        \"status\": \"active\",\n        \"ddi_profile_id\": \"8\",\n        \"client_id\": 4,\n        \"type\": \"ivr\",\n        \"address\": \"\",\n        \"city\": \"\",\n        \"country\": \"IE\",\n        \"email\": \"email@address.io\",\n        \"firstname\": \"Name\",\n        \"lastname\": \"Surname\",\n        \"max_channels\": \"5\",\n        \"max_ivrs\": \"-1\",\n        \"rewrite_rule_set\": \"\",\n        \"state\": \"D\",\n        \"created_at\": \"2019-05-17 11:30:45\"\n    }\n}"}],"_postman_id":"f9ce1e76-be1e-4391-b0b0-da59be9d618d"},{"name":"Reset IVR Administartor","id":"5c22fe0e-daf1-4655-8e9b-3b375b341f16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ivr/main/resetadmin?domain=&domain_id=","description":"<p>Reset IVR Administartor and send an email.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","ivr","main","resetadmin"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Domain admin details to be reseted.</p>\n","type":"text/plain"},"key":"domain","value":""},{"description":{"content":"<p>Domain ID of admin to be reseted.</p>\n","type":"text/plain"},"key":"domain_id","value":""}],"variable":[]}},"response":[{"id":"4ba48dbc-9cc9-4649-ab43-7514e9178e81","name":"Reset IVR Administartor","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/ivr/main/resetadmin?domain=ivr.example.domain","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","ivr","main","resetadmin"],"query":[{"key":"domain","value":"ivr.example.domain","description":"Domain admin details to be reseted."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2019 14:10:11 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"13"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": true\n}"}],"_postman_id":"5c22fe0e-daf1-4655-8e9b-3b375b341f16"}],"id":"66f8c70b-fd0f-44da-a8f0-f8001aef8fe9","description":"<p>Cloud IVR subscribers</p>\n","event":[{"listen":"prerequest","script":{"id":"59af4692-0dda-4f7b-b8f1-f2f855f55fb0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"19f8da12-24ed-44f2-8581-dc2c01bf7514","type":"text/javascript","exec":[""]}}],"_postman_id":"66f8c70b-fd0f-44da-a8f0-f8001aef8fe9"},{"name":"LCRs Related","item":[{"name":"Get Profile List","id":"422ed93e-d665-45e7-9876-5515f5a7a5d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/lcrprofiles","urlObject":{"protocol":"https","path":["api","voice","v2","lcrprofiles"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"422ed93e-d665-45e7-9876-5515f5a7a5d1"},{"name":"Create LCR profile","id":"d09e9361-78f0-455f-8fc2-8a33f0f49ea9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"code","value":"vapi_2","type":"text"},{"key":"name","value":"API Test","type":"text"},{"key":"description","value":"Simple Test","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/lcrprofiles","urlObject":{"protocol":"https","path":["api","voice","v2","lcrprofiles"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d09e9361-78f0-455f-8fc2-8a33f0f49ea9"},{"name":"Get Profile by ID","id":"a031603a-75aa-421e-b87d-d4fcdeac728e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/lcrprofiles/:id","urlObject":{"protocol":"https","path":["api","voice","v2","lcrprofiles",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"35","key":"id"}]}},"response":[],"_postman_id":"a031603a-75aa-421e-b87d-d4fcdeac728e"},{"name":"Update Profile By ID","id":"35b444c3-5949-4c31-bd8b-7591f43b0dc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"name\":\"OMG 2019 deal\",\"description\":\"It's 2019 baby\"}"},"url":"https://{{domain}}/api/voice/v2/lcrprofiles/:id","urlObject":{"protocol":"https","path":["api","voice","v2","lcrprofiles",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"35","key":"id"}]}},"response":[],"_postman_id":"35b444c3-5949-4c31-bd8b-7591f43b0dc4"},{"name":"Delete Profile by ID","id":"ffc25835-81f0-4fa8-8349-e012cb64c938","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/lcrprofiles/:id","urlObject":{"protocol":"https","path":["api","voice","v2","lcrprofiles",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"35","key":"id"}]}},"response":[],"_postman_id":"ffc25835-81f0-4fa8-8349-e012cb64c938"},{"name":"Get LCRs","id":"1087ea17-4ddc-45d1-b898-6472ea8ef3c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/lcrs?","urlObject":{"protocol":"https","path":["api","voice","v2","lcrs"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"status","value":"dirty"}],"variable":[]}},"response":[],"_postman_id":"1087ea17-4ddc-45d1-b898-6472ea8ef3c3"},{"name":"Create LCR","id":"9b80f393-6c86-4d81-b717-5c3efe2d500d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"cc","value":"370","type":"text"},{"key":"ac","value":"41","type":"text"},{"key":"sn","value":"513022","type":"text"},{"key":"lcr_profile_Id","value":"7","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/lcrs","urlObject":{"protocol":"https","path":["api","voice","v2","lcrs"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b80f393-6c86-4d81-b717-5c3efe2d500d"},{"name":"Create bulk LCRs","id":"36d8ee60-f6ac-4fbd-ad92-c84a8de8d9bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"lcrs\":[{\"cc\":\"370\",\"ac\":\"41\",\"sn\":\"513023\",\"lcr_profile_id\":\"37\"}]}"},"url":"https://{{domain}}/api/voice/v2/lcrs","urlObject":{"protocol":"https","path":["api","voice","v2","lcrs"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"36d8ee60-f6ac-4fbd-ad92-c84a8de8d9bd"},{"name":"Get LCR by ID","id":"50f96626-ea56-42d8-a6b3-bda55c98f91e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/lcrs/:id","urlObject":{"protocol":"https","path":["api","voice","v2","lcrs",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"102","key":"id"}]}},"response":[],"_postman_id":"50f96626-ea56-42d8-a6b3-bda55c98f91e"},{"name":"Update LCR by ID","id":"93119d45-abd3-4857-91ea-d7d734437b3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"lcr_profile_id\":\"37\",\"description\":\"removed\"}"},"url":"https://{{domain}}/api/voice/v2/lcrs/:id","urlObject":{"protocol":"https","path":["api","voice","v2","lcrs",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"101","key":"id"}]}},"response":[],"_postman_id":"93119d45-abd3-4857-91ea-d7d734437b3f"},{"name":"Delete LCR by ID","id":"1959a5d5-1b5b-480e-ae2b-760b478e28b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/lcrs/:id","urlObject":{"protocol":"https","path":["api","voice","v2","lcrs",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"101","key":"id"}]}},"response":[],"_postman_id":"1959a5d5-1b5b-480e-ae2b-760b478e28b9"}],"id":"8ea3fdc4-8acb-4b0a-8e9e-194f255497a4","description":"<p>API call related wit LCR numbers</p>\n","_postman_id":"8ea3fdc4-8acb-4b0a-8e9e-194f255497a4"},{"name":"PBX Related","item":[{"name":"Get list","id":"3b5ef26a-9958-4da7-a3a3-a381ba599a45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/pbx?account_id&domain_id&usenrmae&domain&status&client_id","description":"<p>Returns the list of PBX services.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","pbx"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Voice account ID</p>\n","type":"text/plain"},"key":"account_id","value":null},{"description":{"content":"<p>SIP domain ID</p>\n","type":"text/plain"},"key":"domain_id","value":null},{"description":{"content":"<p>SIP Username. Supports <code>%</code>.</p>\n","type":"text/plain"},"key":"usenrmae","value":null},{"description":{"content":"<p>SIP domain name</p>\n","type":"text/plain"},"key":"domain","value":null},{"description":{"content":"<p>Status of the service. Valid statuses: active, canceled, susepended.</p>\n","type":"text/plain"},"key":"status","value":null},{"description":{"content":"<p>Client ID for filtering.</p>\n","type":"text/plain"},"key":"client_id","value":null}],"variable":[]}},"response":[],"_postman_id":"3b5ef26a-9958-4da7-a3a3-a381ba599a45"},{"name":"Create service","id":"f2b45453-14c0-4c6c-aec7-bfdc48001f9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"company","value":"Cool PBX","type":"text"},{"key":"account_id","value":"","type":"text","disabled":true},{"key":"accountnumber","value":"v2_00004","type":"text"},{"key":"domain_id","value":"1","type":"text"},{"key":"domain","value":"","type":"text","disabled":true}]},"url":"https://{{domain}}/api/voice/v2/pbx","description":"<p>Create PBX service</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","pbx"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2b45453-14c0-4c6c-aec7-bfdc48001f9b"},{"name":"Get by ID","id":"8adc72df-1798-474a-b31a-e5ee01126db8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/pbx/:id?include_counts=","description":"<p>Returns PBX servce by provided ID.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","pbx",":id"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Include used resource counts form PBX platform</p>\n","type":"text/plain"},"key":"include_counts","value":""}],"variable":[{"description":{"content":"<p>PBX Service ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"8adc72df-1798-474a-b31a-e5ee01126db8"},{"name":"Update PBX by ID","id":"7a6d3093-f48e-4315-9771-444c9fcd354e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"https://{{domain}}/api/voice/v2/pbx/:id","urlObject":{"protocol":"https","path":["api","voice","v2","pbx",":id"],"host":["{{domain}}"],"query":[{"disabled":true,"description":{"content":"<p>Include used resource counts form PBX platform</p>\n","type":"text/plain"},"key":"include_counts","value":"1"}],"variable":[{"description":{"content":"<p>PBX Service ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"7a6d3093-f48e-4315-9771-444c9fcd354e"},{"name":"Get Extension List","id":"ffe776c4-7333-4229-b8b0-0b2efd198bc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/pbx/:id/extensions","urlObject":{"protocol":"https","path":["api","voice","v2","pbx",":id","extensions"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>PBX Service ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"ffe776c4-7333-4229-b8b0-0b2efd198bc3"},{"name":"Create Extensions","id":"5737c5c8-764a-43e4-92bc-ac6d2c1e7c58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"extensions\":[{\"number\":\"103\",\"name\":\"New One\"},{\"number\":\"104\",\"name\":\"New Two\"}]}"},"url":"https://{{domain}}/api/voice/v2/pbx/:id/extensions","urlObject":{"protocol":"https","path":["api","voice","v2","pbx",":id","extensions"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>PBX Service ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"5737c5c8-764a-43e4-92bc-ac6d2c1e7c58"},{"name":"Get Phones List","id":"8a6128f1-f3b1-4761-a0d4-618971df116a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/pbx/:id/phones","urlObject":{"protocol":"https","path":["api","voice","v2","pbx",":id","phones"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>PBX Service ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"8a6128f1-f3b1-4761-a0d4-618971df116a"},{"name":"Create Phones","id":"ea84c14f-7758-4fb7-9c27-45cd629e8372","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"phones\":[{\"mac\":\"10:a5:c2:11:a3:b6\",\"name\":\"Phone One\",\"model_id\":\"1\",\"extensions\":{\"2\":\"9\"}},{\"mac\":\"10:a5:c2:11:a3:b8\",\"name\":\"Phone Two\",\"model_id\":\"3\"}]}"},"url":"https://{{domain}}/api/voice/v2/pbx/:id/phones","urlObject":{"protocol":"https","path":["api","voice","v2","pbx",":id","phones"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>PBX Service ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"ea84c14f-7758-4fb7-9c27-45cd629e8372"},{"name":"Get Phone Models list","id":"4b054bea-ae01-494d-aaa7-aa4df522e3a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/pbx/main/phonemodels","urlObject":{"protocol":"https","path":["api","voice","v2","pbx","main","phonemodels"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b054bea-ae01-494d-aaa7-aa4df522e3a5"},{"name":"Get registrations","id":"1389ac79-85f0-4708-af54-55ead9440a50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/pbx/main/registrations","urlObject":{"protocol":"https","path":["api","voice","v2","pbx","main","registrations"],"host":["{{domain}}"],"query":[{"disabled":true,"description":{"content":"<p>Username to filter</p>\n","type":"text/plain"},"key":"username","value":"n"},{"disabled":true,"description":{"content":"<p>Domain to filter</p>\n","type":"text/plain"},"key":"domain","value":""}],"variable":[]}},"response":[],"_postman_id":"1389ac79-85f0-4708-af54-55ead9440a50"},{"name":"Reset PBX Administrator","id":"6fd65ff8-ab44-4c02-95e7-8a6a7f88ec5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/pbx/main/resetadmin?domain=&domain_id=","description":"<p>Reset PBX Admin and send an emai.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","pbx","main","resetadmin"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Domain admin details to be reseted.</p>\n","type":"text/plain"},"key":"domain","value":""},{"description":{"content":"<p>Domain ID of admin to be reseted.</p>\n","type":"text/plain"},"key":"domain_id","value":""}],"variable":[]}},"response":[{"id":"87d438a0-046d-4b0a-922f-d385a2e09df5","name":"Reset PBX Administrator","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/pbx/main/resetadmin?domain=test.domain","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","pbx","main","resetadmin"],"query":[{"key":"domain","value":"test.domain","description":"Domain admin details to be reseted."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 25 Jun 2019 11:28:41 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"13"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": true\n}"}],"_postman_id":"6fd65ff8-ab44-4c02-95e7-8a6a7f88ec5f"}],"id":"02d53bf8-bff3-49cf-8ca0-51709d85e038","_postman_id":"02d53bf8-bff3-49cf-8ca0-51709d85e038","description":""},{"name":"Rates Related","item":[{"name":"Get rate card list","id":"647488bc-cd29-4692-894f-3ec8b7a6cbb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ratecards?page=1","urlObject":{"protocol":"https","path":["api","voice","v2","ratecards"],"host":["{{domain}}"],"query":[{"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"647488bc-cd29-4692-894f-3ec8b7a6cbb6"},{"name":"Create rate card ","id":"967e839a-ea1e-4fd3-b80b-1a342a5501db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"handle","value":"api_v2","type":"text"},{"key":"name","value":"API V2 Test","type":"text"},{"key":"time_unit","value":"","type":"text","disabled":true}]},"url":"https://{{domain}}/api/voice/v2/ratecards","urlObject":{"protocol":"https","path":["api","voice","v2","ratecards"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"967e839a-ea1e-4fd3-b80b-1a342a5501db"},{"name":"Get rate card by id","id":"edf691ba-d1fd-4b7f-a6a7-4f92994a96e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ratecards/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ratecards",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"17","key":"id"}]}},"response":[],"_postman_id":"edf691ba-d1fd-4b7f-a6a7-4f92994a96e8"},{"name":"Update rate card by id","id":"2f2bba2a-ddcd-4a2c-8a5d-7e14be3942d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"API V2 Name test\",\"source\":\"353\",\"time_unit\":\"1\",\"price_unit\":\"1\",\"init_interval\":\"1\",\"follow_interval\":\"1\"}"},"url":"https://{{domain}}/api/voice/v2/ratecards/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ratecards",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"17","key":"id"}]}},"response":[],"_postman_id":"2f2bba2a-ddcd-4a2c-8a5d-7e14be3942d8"},{"name":"Get rate card settings by id","id":"2ffe0ddc-f252-4add-b064-db185984873c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/ratecards/:id/settings","urlObject":{"protocol":"https","path":["api","voice","v2","ratecards",":id","settings"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"17","key":"id"}]}},"response":[],"_postman_id":"2ffe0ddc-f252-4add-b064-db185984873c"},{"name":"Update rate card settings by id","id":"a9ee4dd4-4ae5-4014-9a22-4ee86c5bdc3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"fraud_daily_lock\":\"none\", \"fraud_daily_limit\":0,\"fraud_daily_notify\":[]}"},"url":"https://{{domain}}/api/voice/v2/ratecards/:id/settings","urlObject":{"protocol":"https","path":["api","voice","v2","ratecards",":id","settings"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"17","key":"id"}]}},"response":[],"_postman_id":"a9ee4dd4-4ae5-4014-9a22-4ee86c5bdc3e"},{"name":"Get rate card offpeak by id","id":"eb1a6362-2841-4234-8f56-f4c945117def","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/ratecards/:id/offpeak","urlObject":{"protocol":"https","path":["api","voice","v2","ratecards",":id","offpeak"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"17","key":"id"}]}},"response":[],"_postman_id":"eb1a6362-2841-4234-8f56-f4c945117def"},{"name":"Update rate card offpeak by id","id":"71e2d4df-e6fe-43a3-ba9c-e645ba05150e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"weekdays\":[{\"day\":0,\"ranges\":[{\"start\":\"00:00:00\",\"end\":\"07:59:59\"},{\"start\":\"16:00:00\",\"end\":\"23:59:59\"}]},{\"day\":1,\"ranges\":[{\"start\":\"00:00:00\",\"end\":\"07:59:59\"},{\"start\":\"16:00:00\",\"end\":\"23:59:59\"}]}],\"special\":[{\"date\":\"2018-09-17\",\"ranges\":[{\"start\":\"00:00:00\",\"end\":\"23:59:59\"}]},{\"date\":\"2018-09-23\",\"ranges\":[{\"start\":\"00:00:00\",\"end\":\"23:59:59\"}]}]}"},"url":"https://{{domain}}/api/voice/v2/ratecards/:id/offpeak","urlObject":{"protocol":"https","path":["api","voice","v2","ratecards",":id","offpeak"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"17","key":"id"}]}},"response":[],"_postman_id":"71e2d4df-e6fe-43a3-ba9c-e645ba05150e"},{"name":"Clone Rate card","id":"91b06ae6-e84f-48cd-aedf-e53d49f9f438","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"handle\":\"api_v2_clone\",\"name\":\"API V2 Clone\",\"currency\":\"GBP\",\"multiplier\":\"0.874\"}"},"url":"https://{{domain}}/api/voice/v2/ratecards/:id/clone","urlObject":{"protocol":"https","path":["api","voice","v2","ratecards",":id","clone"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"17","key":"id"}]}},"response":[],"_postman_id":"91b06ae6-e84f-48cd-aedf-e53d49f9f438"},{"name":"Get rating zones","id":"39665f35-c3f7-48e8-8d11-0cf3b0306e30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/ratingzones","urlObject":{"protocol":"https","path":["api","voice","v2","ratingzones"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"39665f35-c3f7-48e8-8d11-0cf3b0306e30"},{"name":"Create rating zone","id":"31011766-ab40-4ee4-b7f8-973ceb6a3286","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/ratingzones","urlObject":{"protocol":"https","path":["api","voice","v2","ratingzones"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"31011766-ab40-4ee4-b7f8-973ceb6a3286"},{"name":"Bulk create rating zones","id":"0f2c49b6-d209-4669-a6c3-71f64d98aa74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"zones\":[{\"zone\":\"Nerijus API V2\",\"detail\":\"API V2\",\"destinations\":[\"353873584750\",\"353873584751\"]},{\"zone\":\"Nerijus API V2\",\"detail\":\"API V2 45\",\"destinations\":[\"353873584752\",\"353873584753\"]}]}"},"url":"https://{{domain}}/api/voice/v2/ratingzones","urlObject":{"protocol":"https","path":["api","voice","v2","ratingzones"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f2c49b6-d209-4669-a6c3-71f64d98aa74"},{"name":"Get rating zone by id","id":"bf8b2523-d7f1-4d75-b935-2e46a47f0f49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/ratingzones/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ratingzones",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"683","key":"id"}]}},"response":[],"_postman_id":"bf8b2523-d7f1-4d75-b935-2e46a47f0f49"},{"name":"Update rating zone by id","id":"d642826f-81a5-4ff8-ab80-cd8da6bd9a55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"zones\":[{\"zone\":\"Nerijus API V2\",\"detail\":\"API V2\",\"destinations\":[\"353873584750\",\"353873584751\"]},{\"zone\":\"Nerijus API V2\",\"detail\":\"API V2 45\",\"destinations\":[\"353873584752\",\"353873584753\"]}]}"},"url":"https://{{domain}}/api/voice/v2/ratingzones/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ratingzones",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"d642826f-81a5-4ff8-ab80-cd8da6bd9a55"},{"name":"Delete rating zone by id","id":"806b6d59-22bd-4519-850b-77b434773af2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/ratingzones/:id","urlObject":{"protocol":"https","path":["api","voice","v2","ratingzones",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"682","key":"id"}]}},"response":[],"_postman_id":"806b6d59-22bd-4519-850b-77b434773af2"},{"name":"Get rates","id":"a527d864-c664-4596-8841-1d96f7499382","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/rates?rate_card_id=4","urlObject":{"protocol":"https","path":["api","voice","v2","rates"],"host":["{{domain}}"],"query":[{"key":"rate_card_id","value":"4"}],"variable":[]}},"response":[],"_postman_id":"a527d864-c664-4596-8841-1d96f7499382"},{"name":"Create rate","id":"e17627aa-06c2-4410-bae9-48a8472433ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/rates","urlObject":{"protocol":"https","path":["api","voice","v2","rates"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e17627aa-06c2-4410-bae9-48a8472433ef"},{"name":"Bulk create  rates","id":"c91b56a7-ad95-4c9c-8c7b-06703ff8668c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"rate_card_id\":\"17\",\"purge\":\"0\",\"rates\":[{\"rating_zone_id\":\"684\",\"peak\":\"0.5\",\"usefreetime\":\"1\",\"percall_peak\":\"0.2\"},{\"zone\":\"Far Europe\",\"detail\":\"Lithuania\",\"source\":\"353\",\"peak\":\"0.3\",\"usefreetime\":\"0\",\"percall_peak\":\"0.1\"}]}"},"url":"https://{{domain}}/api/voice/v2/rates","urlObject":{"protocol":"https","path":["api","voice","v2","rates"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c91b56a7-ad95-4c9c-8c7b-06703ff8668c"},{"name":"Get rate by ID","id":"701419c5-bf50-4e6d-a5f6-ab475fca54e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/rates/:id","urlObject":{"protocol":"https","path":["api","voice","v2","rates",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"701419c5-bf50-4e6d-a5f6-ab475fca54e8"},{"name":"Update rate by ID","id":"832489eb-0b31-47d4-8d4e-089bc98d22b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"source\":\"353\"}"},"url":"https://{{domain}}/api/voice/v2/rates/:id","urlObject":{"protocol":"https","path":["api","voice","v2","rates",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"5492","key":"id"}]}},"response":[],"_postman_id":"832489eb-0b31-47d4-8d4e-089bc98d22b4"},{"name":"Delete rate by ID","id":"76624297-b737-43f9-a60b-1a438d9a7c38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/rates/:id","urlObject":{"protocol":"https","path":["api","voice","v2","rates",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"1317","key":"id"}]}},"response":[],"_postman_id":"76624297-b737-43f9-a60b-1a438d9a7c38"},{"name":"Get rate plan list","id":"1518ec76-8f8c-46a6-aa13-4d7bdf71f9b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/rateplans","urlObject":{"protocol":"https","path":["api","voice","v2","rateplans"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1518ec76-8f8c-46a6-aa13-4d7bdf71f9b1"},{"name":"Create rate plan","id":"1c1325ec-20ea-47f7-9eaf-c199d3286cba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"API V2 Plan\",\"base_id\":\"9\",\"override\":[{\"handle\":\"override_1\",\"start\":\"2018-04-19 13:30:00\",\"end\":\"2018-04-20 00:25:00\"}]}"},"url":"https://{{domain}}/api/voice/v2/rateplans","urlObject":{"protocol":"https","path":["api","voice","v2","rateplans"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c1325ec-20ea-47f7-9eaf-c199d3286cba"},{"name":"Get rate plan by id","id":"1b2c2d77-a651-43ee-9dbb-6268569e6991","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/rateplans/:id","urlObject":{"protocol":"https","path":["api","voice","v2","rateplans",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"10","key":"id"}]}},"response":[],"_postman_id":"1b2c2d77-a651-43ee-9dbb-6268569e6991"},{"name":"Update rate plan by id","id":"f34d42ab-c189-472c-a0a4-2b20ab70a259","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"API V2 Rate Plan\",\"schedule_changes\":{\"0\":{\"action\":\"reschedule_action\",\"at\":\"2018-04-19 15:00:00\" }}}"},"url":"https://{{domain}}/api/voice/v2/rateplans/:id","urlObject":{"protocol":"https","path":["api","voice","v2","rateplans",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"10","key":"id"}]}},"response":[],"_postman_id":"f34d42ab-c189-472c-a0a4-2b20ab70a259"},{"name":"Get rate plan settings by id","id":"00548392-db9a-40c0-ae5f-73a713c8c076","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/rateplans/:id/settings","urlObject":{"protocol":"https","path":["api","voice","v2","rateplans",":id","settings"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"8","key":"id"}]}},"response":[],"_postman_id":"00548392-db9a-40c0-ae5f-73a713c8c076"},{"name":"Update rate plan settings by id","id":"e6f035aa-9ff3-49f5-ad38-794460235289","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"fraud_daily_lock\":\"none\", \"fraud_daily_limit\":0,\"fraud_daily_notify\":[]}"},"url":"https://{{domain}}/api/voice/v2/rateplans/:id/settings","urlObject":{"protocol":"https","path":["api","voice","v2","rateplans",":id","settings"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"17","key":"id"}]}},"response":[],"_postman_id":"e6f035aa-9ff3-49f5-ad38-794460235289"},{"name":"Get rate plan offpeak by id","id":"08ef8e7d-8764-4d07-ac2c-17921114b88d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/rateplans/:id/offpeak","urlObject":{"protocol":"https","path":["api","voice","v2","rateplans",":id","offpeak"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[],"_postman_id":"08ef8e7d-8764-4d07-ac2c-17921114b88d"},{"name":"Update rate plan offpeak by id","id":"7b0dcc74-dab6-4867-a099-d1bb21c6ef45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"weekdays\":[{\"day\":0,\"ranges\":[{\"start\":\"00:00:00\",\"end\":\"07:59:59\"},{\"start\":\"16:00:00\",\"end\":\"23:59:59\"}]},{\"day\":1,\"ranges\":[{\"start\":\"00:00:00\",\"end\":\"07:59:59\"},{\"start\":\"16:00:00\",\"end\":\"23:59:59\"}]}],\"special\":[{\"date\":\"2018-09-17\",\"ranges\":[{\"start\":\"00:00:00\",\"end\":\"23:59:59\"}]},{\"date\":\"2018-09-23\",\"ranges\":[{\"start\":\"00:00:00\",\"end\":\"23:59:59\"}]}]}"},"url":"https://{{domain}}/api/voice/v2/rateplans/:id/offpeak","urlObject":{"protocol":"https","path":["api","voice","v2","rateplans",":id","offpeak"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"17","key":"id"}]}},"response":[],"_postman_id":"7b0dcc74-dab6-4867-a099-d1bb21c6ef45"},{"name":"Get rate plan rates","id":"230c9535-d0f6-4098-a64a-de667ccf6636","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/planrates?rate_plan_id=1","urlObject":{"protocol":"https","path":["api","voice","v2","planrates"],"host":["{{domain}}"],"query":[{"key":"rate_plan_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"230c9535-d0f6-4098-a64a-de667ccf6636"},{"name":"Get billing fees","id":"6c41da28-3261-4cff-9b53-11ff5f262b09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://{{domain}}/api/voice/v2/billingfees/:handle?per_page=5","urlObject":{"protocol":"https","path":["api","voice","v2","billingfees",":handle"],"host":["{{domain}}"],"query":[{"key":"per_page","value":"5"}],"variable":[{"type":"any","value":"dev_res_rate_card","key":"handle"}]}},"response":[],"_postman_id":"6c41da28-3261-4cff-9b53-11ff5f262b09"},{"name":"Get rate card rates diff by id","id":"a788f2d3-cd9d-4021-8455-1b0833938176","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/ratediff?rating_handle=rp_49dU23rpB779M5yL637K&diff_rating_handle=not_use","urlObject":{"protocol":"https","path":["api","voice","v2","ratediff"],"host":["{{domain}}"],"query":[{"key":"rating_handle","value":"rp_49dU23rpB779M5yL637K"},{"key":"diff_rating_handle","value":"not_use"},{"disabled":true,"key":"missing","value":"opposite"}],"variable":[]}},"response":[],"_postman_id":"a788f2d3-cd9d-4021-8455-1b0833938176"}],"id":"6734a10f-a3f0-4f75-b523-faec57b06393","_postman_id":"6734a10f-a3f0-4f75-b523-faec57b06393","description":""},{"name":"Rewrite Rules","item":[{"name":"Get rewrite rules set list","id":"04cce9f3-e4ae-4aa2-9b30-d77e4a5026fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/rewriterulesets?","urlObject":{"protocol":"https","path":["api","voice","v2","rewriterulesets"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"name","value":"Blesta V2 Test"},{"disabled":true,"key":"per_page","value":"0"},{"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"04cce9f3-e4ae-4aa2-9b30-d77e4a5026fa"},{"name":"Create rewrite rules set","id":"fe0db36b-733f-4b24-b6b4-043ca1e1880e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/rewriterulesets","urlObject":{"protocol":"https","path":["api","voice","v2","rewriterulesets"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe0db36b-733f-4b24-b6b4-043ca1e1880e"},{"name":"Get rewrite rules set by ID","id":"9ba817be-b017-4f93-af6a-869ebab74149","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/rewriterulesets/:id","urlObject":{"protocol":"https","path":["api","voice","v2","rewriterulesets",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"28","key":"id"}]}},"response":[],"_postman_id":"9ba817be-b017-4f93-af6a-869ebab74149"},{"name":"Update rewrite rules set by ID","id":"20051d66-6401-43d1-b9b2-6c6e4d95eadc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"API_V2 Tests\",\"description\":\"Testing purpose only\"}"},"url":"https://{{domain}}/api/voice/v2/rewriterulesets/:id","urlObject":{"protocol":"https","path":["api","voice","v2","rewriterulesets",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"28","key":"id"}]}},"response":[],"_postman_id":"20051d66-6401-43d1-b9b2-6c6e4d95eadc"},{"name":"Delete rewrite rules set by ID","id":"516da51d-f697-4a92-9c64-fef504878e5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"API_V2 Tests\",\"description\":\"Testing purpose only\"}"},"url":"https://{{domain}}/api/voice/v2/rewriterulesets/:id","urlObject":{"protocol":"https","path":["api","voice","v2","rewriterulesets",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"33","key":"id"}]}},"response":[],"_postman_id":"516da51d-f697-4a92-9c64-fef504878e5a"},{"name":"Clone rewrite rules set by ID","id":"be348a48-4909-4697-882a-90abe1942bd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"name\":\"20180514 testing stuff\",\"description\":\"Testing API V2 Capabilities BBZ\"}"},"url":"https://{{domain}}/api/voice/v2/rewriterulesets/:id/clone","urlObject":{"protocol":"https","path":["api","voice","v2","rewriterulesets",":id","clone"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"16","key":"id"}]}},"response":[],"_postman_id":"be348a48-4909-4697-882a-90abe1942bd2"},{"name":"Get rewrite rules list","id":"a3454434-12ad-42b7-8f74-f9f5a23bab21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/rewriterules?set_id=28","urlObject":{"protocol":"https","path":["api","voice","v2","rewriterules"],"host":["{{domain}}"],"query":[{"key":"set_id","value":"28"}],"variable":[]}},"response":[],"_postman_id":"a3454434-12ad-42b7-8f74-f9f5a23bab21"},{"name":"Create rewrite rules","id":"38f215f6-a930-4030-82db-175dd2a0f1d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"set_id","value":"28","type":"text"},{"key":"direction","value":"in","type":"text"},{"key":"field","value":"caller","type":"text"},{"key":"match_pattern","value":"^333([1-9][0-9]+)$","type":"text"},{"key":"replace_pattern","value":"^353\\\\1","type":"text"},{"key":"description","value":"Fixing area code","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/rewriterules","urlObject":{"protocol":"https","path":["api","voice","v2","rewriterules"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"38f215f6-a930-4030-82db-175dd2a0f1d5"},{"name":"Get rewrite rule by ID","id":"c5c3681f-f5f4-4384-9b31-db77f79a943d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/rewriterules/:id","urlObject":{"protocol":"https","path":["api","voice","v2","rewriterules",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"186","key":"id"}]}},"response":[],"_postman_id":"c5c3681f-f5f4-4384-9b31-db77f79a943d"},{"name":"Update rewrite rule by ID","id":"f02bd69e-9d2d-4df4-8395-beaf150b5b62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"enabled\":false,\"field\":\"callee\",\"direction\":\"out\"}"},"url":"https://{{domain}}/api/voice/v2/rewriterules/:id","urlObject":{"protocol":"https","path":["api","voice","v2","rewriterules",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"186","key":"id"}]}},"response":[],"_postman_id":"f02bd69e-9d2d-4df4-8395-beaf150b5b62"},{"name":"Delete rewrite rule by ID","id":"9f78dacd-3213-4813-8bff-4c3b47f483fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/rewriterules/:id","urlObject":{"protocol":"https","path":["api","voice","v2","rewriterules",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"186","key":"id"}]}},"response":[],"_postman_id":"9f78dacd-3213-4813-8bff-4c3b47f483fb"}],"id":"a9719fbf-642e-492c-9017-be98a8ab381a","_postman_id":"a9719fbf-642e-492c-9017-be98a8ab381a","description":""},{"name":"Service Related","item":[{"name":"Get Service List","event":[{"listen":"test","script":{"id":"3501d9a2-2519-430b-bdeb-2931b3606b24","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"f80a82c0-2473-4db3-a78c-3d3bf23b2e73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":"https://{{domain}}/api/voice/v2/services","description":"<p>Returns list of the services.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","services"],"host":["{{domain}}"],"query":[{"disabled":true,"description":{"content":"<p>Page</p>\n","type":"text/plain"},"key":"page","value":null},{"disabled":true,"description":{"content":"<p>Rows per page</p>\n","type":"text/plain"},"key":"per_page","value":null},{"disabled":true,"description":{"content":"<p>Client ID to filter</p>\n","type":"text/plain"},"key":"client_id","value":null},{"disabled":true,"description":{"content":"<p>Label to filter</p>\n","type":"text/plain"},"key":"label","value":""},{"disabled":true,"description":{"content":"<p>Status to filter</p>\n","type":"text/plain"},"key":"status","value":null},{"disabled":true,"description":{"content":"<p>Type of services to filter</p>\n","type":"text/plain"},"key":"service_type","value":""},{"disabled":true,"description":{"content":"<p>Sort be filed</p>\n","type":"text/plain"},"key":"sort_by","value":null},{"disabled":true,"description":{"content":"<p>Order</p>\n","type":"text/plain"},"key":"order","value":null}],"variable":[]}},"response":[{"id":"294b3b99-eee6-41f6-8bee-063077d6a926","name":"Get Service List","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":"https://{{domain}}/api/voice/v2/services"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Sep 2021 09:40:28 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"4523"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"parent_id\": null,\n            \"client_id\": 1,\n            \"domain_id\": null,\n            \"label\": \"ACC_0001\",\n            \"status\": \"active\",\n            \"type\": \"voice_account\",\n            \"service_type_id\": 2,\n            \"created_at\": \"2017-01-20 10:27:52\",\n            \"updated_at\": null,\n            \"deleted_at\": null\n        }\n    ],\n    \"first_page_url\": \"https://vapi2-dev.res.telinsta.net/api/voice/v2/services?page=1\",\n    \"from\": 1,\n    \"last_page\": 1,\n    \"last_page_url\": \"https://vapi2-dev.op.telinsta.net/api/voice/v2/services?page=1\",\n    \"next_page_url\": null,\n    \"path\": \"https://vapi2-dev.op.telinsta.net/api/voice/v2/services\",\n    \"per_page\": 1,\n    \"prev_page_url\": null,\n    \"to\": 1,\n    \"total\": 1\n}"}],"_postman_id":"f80a82c0-2473-4db3-a78c-3d3bf23b2e73"},{"name":"Create Service","event":[{"listen":"test","script":{"id":"648fae63-bf4c-49b0-81e5-f80d80a04752","exec":["pm.test(\"Status code is 412\", function () {","    pm.response.to.have.status(412);","});"],"type":"text/javascript"}}],"id":"a5ea6344-0097-4d79-b470-0cd46c50d132","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"service_type","value":"","description":"<p>One of the service types</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/services","description":"<p>Creating service requires some <b>extra logic</b>. In order to receive list of valid service types a request must be sent to an API call <b><i>Get Service Type List</i></b>. When appropriate service type is selected then a request must be sent to an API call <b><i>Get Service Type</i></b> to get list of parameters required.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","services"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5ea6344-0097-4d79-b470-0cd46c50d132"},{"name":"Get Service","event":[{"listen":"test","script":{"id":"93f9f82c-3ef1-4b40-a39f-59fa53d389a5","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"4810da73-14d4-4dc0-8937-36c2af251ed9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":"https://{{domain}}/api/voice/v2/services/:id","description":"<p>Returns list of the services.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","services",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Service ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"977c94e0-5225-446e-909a-757c83a2d68d","name":"Get Service","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":{"raw":"https://{{domain}}/api/voice/v2/services/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","services",":id"],"variable":[{"key":"id","value":"1","description":"Service ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Sep 2021 10:46:56 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"174"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"accountnumber\": \"ACC_00001\",\n        \"status\": \"active\",\n        \"client_id\": 1,\n        \"type\": \"voice_account\",\n        \"label\": \"ACC_00001\",\n        \"created_at\": \"2017-01-20 10:27:52\"\n    }\n}"}],"_postman_id":"4810da73-14d4-4dc0-8937-36c2af251ed9"},{"name":"Update Service","event":[{"listen":"test","script":{"id":"705554e2-c200-4cb3-bdc5-819a90e0a5c6","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"d7217f55-bcc7-4883-b880-2cfca865c81a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"body":{"mode":"raw","raw":"{\"status\":\"active\"}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/api/voice/v2/services/:id","description":"<p>Updating service requires some <b>extra logic</b>. In order to receive list of valid service types a request must be sent to an API call <b><i>Get Service Type List</i></b>. When appropriate service type is selected then a request must be sent to an API call <b><i>Get Service Type</i></b> to get list of parameters required.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","services",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Service ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"7ecd412d-6ed4-4076-a4e5-fd2ce6173d63","name":"Update Service","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":{"raw":"https://{{domain}}/api/voice/v2/services/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","services",":id"],"variable":[{"key":"id","value":"1","description":"Service ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Sep 2021 10:46:56 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"174"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"accountnumber\": \"ACC_00001\",\n        \"status\": \"active\",\n        \"client_id\": 1,\n        \"type\": \"voice_account\",\n        \"label\": \"ACC_00001\",\n        \"created_at\": \"2017-01-20 10:27:52\"\n    }\n}"}],"_postman_id":"d7217f55-bcc7-4883-b880-2cfca865c81a"},{"name":"Cancel Service","event":[{"listen":"test","script":{"id":"2c546507-13a9-4d7b-b921-ed978f30a74f","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"70c7e89c-04f6-48fb-863e-89b3f3637989","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":"https://{{domain}}/api/voice/v2/services/:id","description":"<p>This API Call not preform delete on an object. Same effect could be reached if API call <b><i>Update Service</i></b> would be call with parameters <code>{\"status\":\"canceled\"}</code></p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","services",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Service ID.</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"601f13d6-8bf8-49b5-9b30-9359fb61d553","name":"Cancel Service","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":{"raw":"https://{{domain}}/api/voice/v2/services/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","services",":id"],"variable":[{"key":"id","value":"1","description":"Service ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Sep 2021 10:46:56 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"174"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"accountnumber\": \"ACC_00001\",\n        \"status\": \"active\",\n        \"client_id\": 1,\n        \"type\": \"voice_account\",\n        \"label\": \"ACC_00001\",\n        \"created_at\": \"2017-01-20 10:27:52\"\n    }\n}"}],"_postman_id":"70c7e89c-04f6-48fb-863e-89b3f3637989"},{"name":"Get Service Type List","event":[{"listen":"test","script":{"id":"5bfaf147-ee97-482e-9220-09323cca854f","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"1f2180f4-5462-4785-9801-e0c812562d58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":"https://{{domain}}/api/voice/v2/servicetypes","description":"<p>Returns list of the service types.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","servicetypes"],"host":["{{domain}}"],"query":[{"disabled":true,"description":{"content":"<p>Page</p>\n","type":"text/plain"},"key":"page","value":null},{"disabled":true,"description":{"content":"<p>Rows per page</p>\n","type":"text/plain"},"key":"per_page","value":null},{"disabled":true,"description":{"content":"<p>Sort be filed</p>\n","type":"text/plain"},"key":"sort_by","value":null},{"disabled":true,"description":{"content":"<p>Order</p>\n","type":"text/plain"},"key":"order","value":null}],"variable":[]}},"response":[{"id":"907df218-d854-4e87-a39e-2723f06033d2","name":"Get Service Type List","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":{"raw":"https://{{domain}}/api/voice/v2/servicetypes","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","servicetypes"],"query":[{"key":"page","value":null,"description":"Page","disabled":true},{"key":"per_page","value":null,"description":"Rows per page","disabled":true},{"key":"sort_by","value":null,"description":"Sort be filed","type":"text","disabled":true},{"key":"order","value":null,"description":"Order","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Sep 2021 10:05:52 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"1262"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"SIP Trunk\",\n            \"type\": \"siptrunk\",\n            \"description\": \"SIP Trunk\",\n            \"service_type_id\": 2\n        },\n    ],\n    \"first_page_url\": \"https://vapi2-dev.res.telinsta.net/api/voice/v2/servicetypes?page=1\",\n    \"from\": 1,\n    \"last_page\": 1,\n    \"last_page_url\": \"https://vapi2-dev.res.telinsta.net/api/voice/v2/servicetypes?page=1\",\n    \"next_page_url\": null,\n    \"path\": \"https://vapi2-dev.res.telinsta.net/api/voice/v2/servicetypes\",\n    \"per_page\": 15,\n    \"prev_page_url\": null,\n    \"to\": 2,\n    \"total\": 2\n}"}],"_postman_id":"1f2180f4-5462-4785-9801-e0c812562d58"},{"name":"Get Service Type","event":[{"listen":"test","script":{"id":"3ef30040-d3ef-42fb-ae25-912180d4181f","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Response time is less than 200ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(200);","});"],"type":"text/javascript"}}],"id":"d641a5f6-cfb6-42f8-a863-f936bd987e3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":"https://{{domain}}/api/voice/v2/servicetypes/:service_type","description":"<p>Returns service type information.</p>\n<p>This includes required parameters for <b>create / update</b> service. And additional related API calls related with specific service. See response example.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","servicetypes",":service_type"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>ID or service type code.</p>\n","type":"text/plain"},"type":"any","value":"general","key":"service_type"}]}},"response":[{"id":"bd7e9e10-74fa-46dc-bfe0-507787681f20","name":"Get Service Type","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":{"raw":"https://{{domain}}/api/voice/v2/servicetypes/:service_type","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","servicetypes",":service_type"],"variable":[{"key":"service_type","value":"general","description":"ID or service type code."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Sep 2021 11:02:24 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"682"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 0,\n        \"name\": \"General\",\n        \"type\": \"general\",\n        \"description\": \"General Type\",\n        \"service_type_id\": 0,\n        \"create_service\": {\n            \"reseller_id\": [\n                \"nullable\",\n                \"integer\"\n            ],\n            \"label\": [\n                \"required\",\n                \"string\",\n                \"min:3\",\n                \"max:64\"\n            ],\n            \"domain_id\": [\n                \"nullable\",\n                \"integer\"\n            ],\n            \"parent_id\": [\n                \"nullable\",\n                \"integer\"\n            ],\n            \"status\": [\n                \"nullable\",\n                \"in:active,suspended\"\n            ],\n            \"client_id\": [\n                \"nullable\",\n                \"integer\"\n            ]\n        },\n        \"update_service\": {\n            \"reseller_id\": [\n                \"nullable\",\n                \"integer\"\n            ],\n            \"label\": [\n                \"nullable\",\n                \"min:3\",\n                \"max:64\"\n            ],\n            \"domain_id\": [\n                \"nullable\",\n                \"integer\"\n            ],\n            \"parent_id\": [\n                \"nullable\",\n                \"integer\"\n            ],\n            \"status\": [\n                \"nullable\",\n                \"in:active,suspended,canceled\"\n            ],\n            \"client_id\": [\n                \"nullable\",\n                \"integer\"\n            ]\n        },\n        \"actions\": {\n            \"demo\": {\n                \"method\": \"GET\",\n                \"id\": \"general\"\n            },\n            \"demo_post\": {\n                \"method\": \"POST\",\n                \"id\": \"general\",\n                \"params\": {\n                    \"param1\": [\n                        \"required\",\n                        \"integer\"\n                    ],\n                    \"param2\": [\n                        \"nullable\",\n                        \"string\",\n                        \"max:4\"\n                    ]\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"d641a5f6-cfb6-42f8-a863-f936bd987e3b"},{"name":"Service Action GET","event":[{"listen":"test","script":{"id":"06e11caa-5c92-45fa-92cc-546f5f58956b","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"59554bef-9f98-4ba2-b842-1a83b69f763e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":"https://{{domain}}/api/voice/v2/services/action/:id/:action","description":"<p>This API Call is related with specific service type support / information calls. List of available actions could be retrieved using <b><i>Get Service Type</i></b> API call.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","services","action",":id",":action"],"host":["{{domain}}"],"query":[{"disabled":true,"description":{"content":"<p>Parameter defined by service type.</p>\n","type":"text/plain"},"key":"param_x","value":null}],"variable":[{"description":{"content":"<p>Service ID.</p>\n","type":"text/plain"},"type":"any","value":"general","key":"id"},{"description":{"content":"<p>Name of ation</p>\n","type":"text/plain"},"type":"any","value":"demo","key":"action"}]}},"response":[{"id":"aca656f7-9d4e-432f-912b-d80ccb808ef6","name":"Service Action GET","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":{"raw":"https://{{domain}}/api/voice/v2/services/action/:id/:action","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","services","action",":id",":action"],"query":[{"key":"param_x","value":null,"description":"Parameter defined by service type.","type":"text","disabled":true}],"variable":[{"key":"id","value":"general","description":"Service ID."},{"key":"action","value":"demo","description":"Name of ation"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Sep 2021 11:13:01 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"597"},{"key":"Content-Length","value":"44"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    \"This demo request finnished successfuly!\"\n]"}],"_postman_id":"59554bef-9f98-4ba2-b842-1a83b69f763e"},{"name":"Service Action POST","event":[{"listen":"test","script":{"id":"9541eea4-710c-4da8-b2d2-9e91f7279d01","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"abcb53f3-2e39-4841-9062-9c3c3d43d156","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":"https://{{domain}}/api/voice/v2/services/action/:id/:action","description":"<p>This API Call is related with specific service type support / information calls. List of available actions could be retrieved using <b><i>Get Service Type</i></b> API call.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","services","action",":id",":action"],"host":["{{domain}}"],"query":[{"disabled":true,"description":{"content":"<p>Parameter defined by service type.</p>\n","type":"text/plain"},"key":"param_x","value":null}],"variable":[{"description":{"content":"<p>Service ID.</p>\n","type":"text/plain"},"type":"any","value":"general","key":"id"},{"description":{"content":"<p>Name of action.</p>\n","type":"text/plain"},"type":"any","value":"demo_post","key":"action"}]}},"response":[{"id":"fd4f6b0b-f1e5-4ebd-b5c8-b9da3b3c3367","name":"Service Action POST","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":{"raw":"https://{{domain}}/api/voice/v2/services/action/:id/:action?param1=2&param2=test","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","services","action",":id",":action"],"query":[{"key":"param1","value":"2"},{"key":"param2","value":"test"}],"variable":[{"key":"id","value":"general","description":"Service ID."},{"key":"action","value":"demo_post"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Sep 2021 11:16:30 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"592"},{"key":"Content-Length","value":"100"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    \"This demo request finnished successfuly! received params: {\\\"param1\\\":\\\"2\\\",\\\"param2\\\":\\\"test\\\"}\"\n]"}],"_postman_id":"abcb53f3-2e39-4841-9062-9c3c3d43d156"},{"name":"Service Action PUT","event":[{"listen":"test","script":{"id":"597bc0da-6f97-4127-857d-c6d17d8bd609","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"5d9e9d91-9485-48dd-acb0-f2121b3b31ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"url":"https://{{domain}}/api/voice/v2/services/action/:id/:action","description":"<p>This API Call is related with specific service type support / information calls. List of available actions could be retrieved using <b><i>Get Service Type</i></b> API call.</p>\n","urlObject":{"protocol":"https","path":["api","voice","v2","services","action",":id",":action"],"host":["{{domain}}"],"query":[{"disabled":true,"description":{"content":"<p>Parameter defined by service type.</p>\n","type":"text/plain"},"key":"param_x","value":null}],"variable":[{"description":{"content":"<p>Service ID.</p>\n","type":"text/plain"},"type":"any","value":"general","key":"id"},{"description":{"content":"<p>Name of action.</p>\n","type":"text/plain"},"type":"any","value":"demo_post","key":"action"}]}},"response":[{"id":"aa803f4a-e616-4c14-ac21-734e0eec4d7c","name":"Service Action PUT","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{domain}}/api/voice/v2/services/action/:id/:action?param1=2&param2=test","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","services","action",":id",":action"],"query":[{"key":"param1","value":"2"},{"key":"param2","value":"test"}],"variable":[{"key":"id","value":"general","description":"Service ID."},{"key":"action","value":"demo_post"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 16 Sep 2021 11:16:30 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"592"},{"key":"Content-Length","value":"100"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    \"This demo request finnished successfuly! received params: {\\\"param1\\\":\\\"2\\\",\\\"param2\\\":\\\"test\\\"}\"\n]"}],"_postman_id":"5d9e9d91-9485-48dd-acb0-f2121b3b31ab"}],"id":"7949db81-803a-465e-88aa-e7a29722833d","_postman_id":"7949db81-803a-465e-88aa-e7a29722833d","description":""},{"name":"SIP Trunks","item":[{"name":"Get SIP trunk list","id":"70a5d008-b466-4275-a344-c2ffdec40ae4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/siptrunks","urlObject":{"protocol":"https","path":["api","voice","v2","siptrunks"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"70a5d008-b466-4275-a344-c2ffdec40ae4"},{"name":"Create SIP trunk","id":"8abed39a-7bf2-4953-9825-8ae7575ccab5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"domain","value":"sip-dev.telinsta.net","type":"text"},{"key":"username","value":"vapi2_api_call","type":"text"},{"key":"account_id","value":"10","type":"text"},{"key":"email","value":"nerijus@ngntc.com","type":"text"},{"key":"ip","value":"87.232.52.54","type":"text"},{"key":"cc","value":"353","type":"text"},{"key":"ac","value":"404","type":"text"},{"key":"sn","value":"123457","type":"text"},{"key":"ddi_profile_id","value":"57","type":"text","disabled":true},{"key":"alias_numbers[0][cc]","value":"353","type":"text"},{"key":"alias_numbers[0][ac]","value":"96","type":"text"},{"key":"alias_numbers[0][sn]","value":"6010957","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/siptrunks","urlObject":{"protocol":"https","path":["api","voice","v2","siptrunks"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8abed39a-7bf2-4953-9825-8ae7575ccab5"},{"name":"Get SIP trunk by ID","id":"f0db07ba-933c-48cc-b32f-1e139cb22499","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/siptrunks/:id","urlObject":{"protocol":"https","path":["api","voice","v2","siptrunks",":id"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"20","key":"id"}]}},"response":[],"_postman_id":"f0db07ba-933c-48cc-b32f-1e139cb22499"},{"name":"Update SIP trunk by id","id":"006e980c-1fb1-4fd2-a982-366d5fb5d3e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"max_channels\":4}"},"url":"https://{{domain}}/api/voice/v2/siptrunks/:id","urlObject":{"protocol":"https","path":["api","voice","v2","siptrunks",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"006e980c-1fb1-4fd2-a982-366d5fb5d3e3"}],"id":"7e6e9950-cab8-4d9d-93cd-d4b7dcb94021","_postman_id":"7e6e9950-cab8-4d9d-93cd-d4b7dcb94021","description":""},{"name":"SLVS","item":[{"name":"Get SLVS list","id":"3ddc4a1a-5cf7-46a9-a705-a2795d4eee34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/slvs","urlObject":{"protocol":"https","path":["api","voice","v2","slvs"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ddc4a1a-5cf7-46a9-a705-a2795d4eee34"},{"name":"Create SLVS ","id":"1869c4c4-9e6a-456b-a883-e4001c60a1e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"vapi2_api_slvs","type":"text"},{"key":"account_id","value":"10","type":"text"},{"key":"domain_id","value":"1","type":"text"},{"key":"email","value":"nerijus_slvs@ngntc.com","type":"text"},{"key":"ddi_profile_id","value":"8","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/slvs","urlObject":{"protocol":"https","path":["api","voice","v2","slvs"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1869c4c4-9e6a-456b-a883-e4001c60a1e5"},{"name":"Get SLVS by ID","id":"66fcb3e8-e86a-4ad7-bc4b-1891f09628f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/slvs/:id","urlObject":{"protocol":"https","path":["api","voice","v2","slvs",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"ee04e93b-87d6-4eca-b9e6-030c55132ccd","name":"Get SLVS by ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/slvs/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","slvs",":id"],"variable":[{"key":"id","value":"11","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 13:45:18 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"597"},{"key":"Content-Length","value":"453"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 3,\n        \"account_id\": 1,\n        \"accountnumber\": \"00001\",\n        \"username\": \"user-sip\",\n        \"domain_id\": 1,\n        \"domain\": \"sip.example.net\",\n        \"status\": \"active\",\n        \"client_id\": 2,\n        \"type\": \"subscriber\",\n        \"ddi_number_id\": \"1\",\n        \"cc\": \"12\",\n        \"ac\": \"12\",\n        \"sn\": \"1234567\",\n        \"alias_numbers\": [],\n        \"address\": \"\",\n        \"city\": \"\",\n        \"clir\": \"0\",\n        \"country\": \"IE\",\n        \"email\": \"email@address.net\",\n        \"firstname\": \"Firstname\",\n        \"lastname\": \"Lastname\",\n        \"state\": \"D\",\n        \"voicemail_enabled\": \"1\",\n        \"created_at\": \"2019-01-20 13:52:21\"\n    }\n}"}],"_postman_id":"66fcb3e8-e86a-4ad7-bc4b-1891f09628f5"},{"name":"Update SLVS by ID","id":"4ec22c5b-d281-477a-b65d-f1c8bfc5128f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"ddi_profile_id\":8}"},"url":"https://{{domain}}/api/voice/v2/slvs/:id","urlObject":{"protocol":"https","path":["api","voice","v2","slvs",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"4ec22c5b-d281-477a-b65d-f1c8bfc5128f"}],"id":"627785ec-bf69-4e87-b288-23abb8925923","description":"<p>Single Line Voice subscribers</p>\n","_postman_id":"627785ec-bf69-4e87-b288-23abb8925923"},{"name":"Subscribers Related","item":[{"name":"Get Balance","id":"036b9652-3195-40f1-bf69-872ac58a09b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/balance?start_date[year]=2018&start_date[month]=01","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","balance"],"host":["{{domain}}"],"query":[{"key":"start_date[year]","value":"2018"},{"key":"start_date[month]","value":"01"}],"variable":[{"type":"any","value":"11","key":"id"}]}},"response":[],"_postman_id":"036b9652-3195-40f1-bf69-872ac58a09b9"},{"name":"Get buddies list","id":"0c17cd1d-7a06-4434-bd06-53d0d4497136","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/buddies","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","buddies"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"11","key":"id"}]}},"response":[],"_postman_id":"0c17cd1d-7a06-4434-bd06-53d0d4497136"},{"name":"Get call barring","id":"88636842-5871-40f9-98f4-838e9d115c66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/callbarring","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","callbarring"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"7db4be58-0dbe-4d95-92d5-a7e2afe19e85","name":"Get call barring","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/callbarring","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","callbarring"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:06:56 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"816"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        \"1284*\",\n        \"1345*\",\n        \"1670*\",\n        \"1671*\",\n        \"1684*\",\n        \"1721*\",\n        \"18[024]9*\",\n        \"1876*\",\n        \"20*\",\n        \"211*\",\n        \"212528[89]*\",\n        \"216*\",\n        \"218*\",\n        \"220*\",\n        \"221*\",\n        \"222*\",\n        \"223*\",\n        \"224*\",\n        \"225*\",\n        \"226*\",\n        \"227*\",\n        \"228*\",\n        \"229*\",\n        \"230*\",\n        \"231*\",\n        \"232*\",\n        \"233*\",\n        \"234*\",\n        \"235*\",\n        \"236*\",\n        \"237*\",\n        \"238*\",\n        \"239*\",\n        \"240*\",\n        \"241*\",\n        \"242*\",\n        \"243*\",\n        \"244*\",\n        \"245*\",\n        \"247*\",\n        \"248*\",\n        \"249*\",\n        \"250*\",\n        \"251*\",\n        \"252*\",\n        \"253*\",\n        \"254*\",\n        \"255*\",\n        \"256*\",\n        \"257*\",\n        \"258*\",\n        \"260*\",\n        \"261*\",\n        \"262269*\",\n        \"262639*\",\n        \"263*\",\n        \"264*\",\n        \"265*\",\n        \"266*\",\n        \"267*\",\n        \"268*\",\n        \"269*\",\n        \"290*\",\n        \"2908*\",\n        \"291*\",\n        \"297*\",\n        \"502*\",\n        \"504*\",\n        \"505*\",\n        \"506*\",\n        \"507*\",\n        \"509*\",\n        \"53*\",\n        \"56*\",\n        \"57*\",\n        \"591*\",\n        \"593*\",\n        \"596*\",\n        \"597*\",\n        \"599[347]*\",\n        \"5995*\",\n        \"5999*\",\n        \"6189162*\",\n        \"6189164*\",\n        \"64*\",\n        \"671*\",\n        \"6723*\",\n        \"673*\",\n        \"674*\",\n        \"675*\",\n        \"676*\",\n        \"677*\",\n        \"678*\",\n        \"679*\",\n        \"680*\",\n        \"681*\",\n        \"682*\",\n        \"683*\",\n        \"684*\",\n        \"685*\",\n        \"686*\",\n        \"687*\",\n        \"688*\",\n        \"689*\",\n        \"690*\",\n        \"691*\",\n        \"692*\",\n        \"99544*\",\n        \"1670457*\"\n    ]\n}"}],"_postman_id":"88636842-5871-40f9-98f4-838e9d115c66"},{"name":"Set call barring","id":"39656df6-9cf6-4fe1-9836-90630bcdcacd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"barring\":[\"highrisk\"],\"exclude_patterns\":[\"1264*\",\"1268*\"],\"patterns\":[\"1670457*\",\"1264*\"]}"},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/callbarring","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","callbarring"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"a631a635-8eb9-46c9-97c9-1124568099ab","name":"Set call barring","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"barring\":[\"highrisk\"],\"exclude_patterns\":[\"1264*\",\"1268*\"],\"patterns\":[\"1670457*\",\"1264*\"]}"},"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/callbarring","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","callbarring"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:05:25 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"816"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        \"1284*\",\n        \"1345*\",\n        \"1670*\",\n        \"1671*\",\n        \"1684*\",\n        \"1721*\",\n        \"18[024]9*\",\n        \"1876*\",\n        \"20*\",\n        \"211*\",\n        \"212528[89]*\",\n        \"216*\",\n        \"218*\",\n        \"220*\",\n        \"221*\",\n        \"222*\",\n        \"223*\",\n        \"224*\",\n        \"225*\",\n        \"226*\",\n        \"227*\",\n        \"228*\",\n        \"229*\",\n        \"230*\",\n        \"231*\",\n        \"232*\",\n        \"233*\",\n        \"234*\",\n        \"235*\",\n        \"236*\",\n        \"237*\",\n        \"238*\",\n        \"239*\",\n        \"240*\",\n        \"241*\",\n        \"242*\",\n        \"243*\",\n        \"244*\",\n        \"245*\",\n        \"247*\",\n        \"248*\",\n        \"249*\",\n        \"250*\",\n        \"251*\",\n        \"252*\",\n        \"253*\",\n        \"254*\",\n        \"255*\",\n        \"256*\",\n        \"257*\",\n        \"258*\",\n        \"260*\",\n        \"261*\",\n        \"262269*\",\n        \"262639*\",\n        \"263*\",\n        \"264*\",\n        \"265*\",\n        \"266*\",\n        \"267*\",\n        \"268*\",\n        \"269*\",\n        \"290*\",\n        \"2908*\",\n        \"291*\",\n        \"297*\",\n        \"502*\",\n        \"504*\",\n        \"505*\",\n        \"506*\",\n        \"507*\",\n        \"509*\",\n        \"53*\",\n        \"56*\",\n        \"57*\",\n        \"591*\",\n        \"593*\",\n        \"596*\",\n        \"597*\",\n        \"599[347]*\",\n        \"5995*\",\n        \"5999*\",\n        \"6189162*\",\n        \"6189164*\",\n        \"64*\",\n        \"671*\",\n        \"6723*\",\n        \"673*\",\n        \"674*\",\n        \"675*\",\n        \"676*\",\n        \"677*\",\n        \"678*\",\n        \"679*\",\n        \"680*\",\n        \"681*\",\n        \"682*\",\n        \"683*\",\n        \"684*\",\n        \"685*\",\n        \"686*\",\n        \"687*\",\n        \"688*\",\n        \"689*\",\n        \"690*\",\n        \"691*\",\n        \"692*\",\n        \"99544*\",\n        \"1670457*\"\n    ]\n}"}],"_postman_id":"39656df6-9cf6-4fe1-9836-90630bcdcacd"},{"name":"Get caller ID","id":"994aa936-116e-4d0d-9943-959b7b6364fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/callerid","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","callerid"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resoruce ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"3ca3468a-6616-4bc7-abde-be51cce8a858","name":"Get caller ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/callerid","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","callerid"],"variable":[{"key":"id","value":"","description":"Resoruce ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:02:19 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"597"},{"key":"Content-Length","value":"23"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": \"12121234567\"\n}"}],"_postman_id":"994aa936-116e-4d0d-9943-959b7b6364fd"},{"name":"Set caller ID","id":"5b24cbd9-b8c7-4233-9dba-4af5f8b5f41b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"cc\":\"12\",\"ac\":\"12\",\"sn\":\"1234567\"}"},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/callerid","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","callerid"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"7a139075-a4a1-4ff8-819c-29af639b215c","name":"Set caller ID","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"cc\":\"353\",\"ac\":\"76\",\"sn\":\"6010950\"}"},"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/callerid","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","callerid"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:02:25 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"596"},{"key":"Content-Length","value":"23"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": \"12121234567\"\n}"}],"_postman_id":"5b24cbd9-b8c7-4233-9dba-4af5f8b5f41b"},{"name":"Get service change log","id":"0b42d0c2-52ef-485f-980e-aadfa554eaf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/changelog?end_date[year]=2018&end_date[month]=01&end_date[day]=01&start_date[year]=2017&start_date[month]=03&start_date[day]=07","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers","changelog"],"host":["{{domain}}"],"query":[{"key":"end_date[year]","value":"2018"},{"key":"end_date[month]","value":"01"},{"key":"end_date[day]","value":"01"},{"key":"start_date[year]","value":"2017"},{"key":"start_date[month]","value":"03"},{"key":"start_date[day]","value":"07"}],"variable":[]}},"response":[],"_postman_id":"0b42d0c2-52ef-485f-980e-aadfa554eaf9"},{"name":"Get call forward settings","id":"dbf4151f-7174-4f7b-93e1-33c1315a1f77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/callforward","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","callforward"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"a52281d0-db8b-4ba5-86d9-7f4c64f47213","name":"Get call forward settings","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/callforward","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","callforward"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:07:44 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"597"},{"key":"Content-Length","value":"85"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"cfb\": \"voicemail\",\n        \"cfna\": \"voicemail\",\n        \"cft\": \"voicemail\",\n        \"cfttime\": 15,\n        \"cfu\": \"\"\n    }\n}"}],"_postman_id":"dbf4151f-7174-4f7b-93e1-33c1315a1f77"},{"name":"Set call forward settings","id":"f883a691-7bfa-4605-9882-87815764a202","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"destinations\":{\"cft\":\"voicemail\"}}"},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/callforward","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","callforward"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"bf4a6a54-b727-48a4-93c4-0bce3310dbd4","name":"Set call forward settings","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"destinations\":{\"cft\":\"voicemail\"}}"},"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/callforward","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","callforward"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:08:20 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"87"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"cfb\": \"voicemail\",\n        \"cfna\": \"voicemail\",\n        \"cft\": \"voicemail\",\n        \"cfttime\": 15,\n        \"cfu\": \"\"\n    }\n}"}],"_postman_id":"f883a691-7bfa-4605-9882-87815764a202"},{"name":"Get call history","id":"1fe5667f-5ca5-46c8-915b-934fc39d8d88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/callhistory?start_date[year]=2017&start_date[month]=4&start_date[day]=25","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","callhistory"],"host":["{{domain}}"],"query":[{"key":"start_date[year]","value":"2017"},{"key":"start_date[month]","value":"4"},{"key":"start_date[day]","value":"25"}],"variable":[{"type":"any","value":"11","key":"id"}]}},"response":[],"_postman_id":"1fe5667f-5ca5-46c8-915b-934fc39d8d88"},{"name":"Get CDRs","id":"4a9f3c0a-4a3a-4302-81b2-8bc50ddc5a28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/cdr?start_date[year]=2017&start_date[month]=4&start_date[day]=25","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","cdr"],"host":["{{domain}}"],"query":[{"key":"start_date[year]","value":"2017"},{"key":"start_date[month]","value":"4"},{"key":"start_date[day]","value":"25"}],"variable":[{"type":"any","value":"11","key":"id"}]}},"response":[],"_postman_id":"4a9f3c0a-4a3a-4302-81b2-8bc50ddc5a28"},{"name":"Get calling presentation settings","id":"e5d4d48a-e4ee-40dd-855b-a40c2bac2234","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/callingpres","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","callingpres"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"11","key":"id"}]}},"response":[],"_postman_id":"e5d4d48a-e4ee-40dd-855b-a40c2bac2234"},{"name":"Set calling presentation settings","id":"e9e9b099-fa6e-4d42-be8c-87809b7e6ebe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"callingpres\":\"allow\"}"},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/callingpres","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","callingpres"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"11","key":"id"}]}},"response":[],"_postman_id":"e9e9b099-fa6e-4d42-be8c-87809b7e6ebe"},{"name":"Get devices","id":"5695fdf0-6460-4259-a0a6-0d469651b38a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/devices","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","devices"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"5695fdf0-6460-4259-a0a6-0d469651b38a"},{"name":"Get fax settings","id":"d8fd0d1d-7a80-44ee-8d14-eb0855576002","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/faxprefs","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","faxprefs"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"29","key":"id"}]}},"response":[],"_postman_id":"d8fd0d1d-7a80-44ee-8d14-eb0855576002"},{"name":"Set fax settings","id":"57c3bd7e-6fa9-4698-ab3a-4b23f2342aa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"dedicated\":false,\"destinations\":[{\"destination\":\"nerijus@ngntc.com\",\"filetype\":\"PDF\"}]}"},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/faxprefs","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","faxprefs"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"29","key":"id"}]}},"response":[],"_postman_id":"57c3bd7e-6fa9-4698-ab3a-4b23f2342aa3"},{"name":"Get follow me destinations","id":"a7d17abb-c202-4aad-9789-505a2937a790","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/followme","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","followme"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"0a3e963a-4caf-4538-8e72-7e301508b779","name":"Get follow me destinations","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/followme","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","followme"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:22:14 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"157"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"destination\": \"353XXXXXXXX\",\n            \"priority\": 0,\n            \"simple_destination\": \"353XXXXXXXX\",\n            \"timeout\": 5\n        },\n        {\n            \"destination\": \"voicemail\",\n            \"priority\": 1,\n            \"timeout\": 300\n        }\n    ]\n}"}],"_postman_id":"a7d17abb-c202-4aad-9789-505a2937a790"},{"name":"Set follow me destinations","id":"a243c1ca-299d-421b-a4c8-708973726db8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"destinations\":[{\"destination\":\"voicemail\"},{\"destination\":\"014373834\",\"timeout\":\"5\"}]}"},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/followme","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","followme"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"09a1f5f6-c94e-49c2-aa10-92856013b27d","name":"Set follow me destinations","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"destinations\":[{\"destination\":\"voicemail\"},{\"destination\":\"014373834\",\"timeout\":\"5\"}]}"},"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/followme","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","followme"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"destination\": \"353XXXXXXXX\",\n            \"priority\": 0,\n            \"simple_destination\": \"353XXXXXXXX\",\n            \"timeout\": 5\n        },\n        {\n            \"destination\": \"voicemail\",\n            \"priority\": 1,\n            \"timeout\": 300\n        }\n    ]\n}"}],"_postman_id":"a243c1ca-299d-421b-a4c8-708973726db8"},{"name":"Get preferences","id":"001c9f72-5438-4142-9e93-2b86e50ebec8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/preferences","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","preferences"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"1f33d656-cd0c-4f4e-b35f-10b5715ce617","name":"Get preferences","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/preferences","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","preferences"],"variable":[{"key":"id","value":"11","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 13:57:46 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"538"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ac\": \"12\",\n        \"block_in_clir\": false,\n        \"block_out_mode\": false,\n        \"cc\": \"12\",\n        \"cli\": \"12121234567\",\n        \"clir\": false,\n        \"concurrent_max\": 2,\n        \"e164_to_ruri\": false,\n        \"user_cli\": \"12121234567\",\n        \"block_in_mode\": 0,\n        \"block_in_list\": [],\n        \"block_out_list\": [],\n        \"adm_block_in_mode\": 0,\n        \"adm_block_in_list\": [],\n        \"adm_block_in_clir\": 0,\n        \"adm_block_out_mode\": 0,\n        \"adm_block_out_list\": [],\n        \"block_out_override_pin\": \"\",\n        \"adm_block_out_override_pin\": \"\",\n        \"concurrent_max_out\": null,\n        \"rewrite_rule_set\": \"\",\n        \"reject_emergency\": 0,\n        \"emergency_cli\": \"\",\n        \"mobile_push_enable\": null,\n        \"allowed_ips\": []\n    }\n}"}],"_postman_id":"001c9f72-5438-4142-9e93-2b86e50ebec8"},{"name":"Set preferences","id":"b5df0128-a8c3-424e-ad86-069984424029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"clir\":false,\"allowed_ips\":[]}"},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/preferences","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","preferences"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"b5df0128-a8c3-424e-ad86-069984424029"},{"name":"Get reminder","id":"59ea18e3-8158-4742-86c8-4ed291647c68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/reminder","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","reminder"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"01958d8e-f2c6-4f8a-b138-271b76403ccd","name":"Get reminder","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/reminder","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","reminder"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:27:53 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"52"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"recur\": \"always\",\n        \"time\": \"12:42:00\"\n    }\n}"}],"_postman_id":"59ea18e3-8158-4742-86c8-4ed291647c68"},{"name":"Set reminder","id":"d2513987-46b9-4f1a-a532-7244f39a91d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"recur\":\"always\",\"time\":\"12:42\"}"},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/reminder","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","reminder"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"172e9aad-19c7-4119-a3f7-ba31485a5927","name":"Set reminder","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"recur\":\"always\",\"time\":\"12:42\"}"},"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/reminder","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","reminder"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:27:03 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"52"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"recur\": \"always\",\n        \"time\": \"12:42:00\"\n    }\n}"}],"_postman_id":"d2513987-46b9-4f1a-a532-7244f39a91d2"},{"name":"Delete reminder","id":"705ad79c-7940-4730-b35b-79b15cb35f25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/reminder","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","reminder"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"6c83bb27-0f91-41e6-beb8-b0ad8da356c6","name":"Delete reminder","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/reminder","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","reminder"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:28:17 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"11"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": []\n}"}],"_postman_id":"705ad79c-7940-4730-b35b-79b15cb35f25"},{"name":"Subscriber search","id":"de3f9459-b086-4054-a88c-07726ecd741b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/search?","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers","search"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"domain","value":"sip-dev.telinsta.net"},{"disabled":true,"key":"id","value":"63"},{"disabled":true,"key":"ngcp","value":"1"},{"disabled":true,"key":"pattern","value":"nerijus"},{"disabled":true,"key":"password","value":"1"}],"variable":[]}},"response":[{"id":"f61d90b5-7d97-440d-9cdc-162f974d5d88","name":"Subscriber search","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/search?per_page=1","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers","search"],"query":[{"key":"domain","value":"sip-dev.telinsta.net","disabled":true},{"key":"id","value":"11","disabled":true},{"key":"ngcp","value":"1","disabled":true},{"key":"pattern","value":"nerijus","disabled":true},{"key":"password","value":"1","disabled":true},{"key":"per_page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 13:52:23 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"596"},{"key":"Content-Length","value":"912"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"id\": 3,\n            \"account_id\": 1,\n            \"accountnumber\": \"00001\",\n            \"username\": \"user-sip\",\n            \"domain_id\": 1,\n            \"domain\": \"sip.example.net\",\n            \"status\": \"active\",\n            \"ddi_profile_id\": null,\n            \"ddi_number_id\": \"1\",\n            \"client_id\": 2,\n            \"type\": \"subscriber\",\n            \"address\": \"\",\n            \"city\": \"\",\n            \"clir\": \"0\",\n            \"country\": \"IE\",\n            \"email\": \"email@address.net\",\n            \"firstname\": \"Firstname\",\n            \"lastname\": \"Lastname\",\n            \"state\": \"D\",\n            \"voicemail_enabled\": \"1\",\n            \"created_at\": \"2019-01-20 13:52:21\"\n        }\n    ],\n    \"first_page_url\": \"http://vapi2-dev.telinsta.net/api/voice/v2/subscribers/search?page=1\",\n    \"from\": 1,\n    \"last_page\": 20,\n    \"last_page_url\": \"http://vapi2-dev.telinsta.net/api/voice/v2/subscribers/search?page=20\",\n    \"next_page_url\": \"http://vapi2-dev.telinsta.net/api/voice/v2/subscribers/search?page=2\",\n    \"path\": \"http://vapi2-dev.telinsta.net/api/voice/v2/subscribers/search\",\n    \"per_page\": \"1\",\n    \"prev_page_url\": null,\n    \"to\": 1,\n    \"total\": 20\n}"}],"_postman_id":"de3f9459-b086-4054-a88c-07726ecd741b"},{"name":"Get speed dials","id":"091dd16a-865c-43c6-b0f7-c7008ebb29f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/speeddials","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","speeddials"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"f51b54fb-4ecb-44ad-911a-53ede1b34970","name":"Get speed dials","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/speeddials","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","speeddials"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:14:06 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"145"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"destination\": \"sip:353XXXXXXXX@sip.example.net\",\n            \"slot\": \"*0\"\n        },\n        {\n            \"destination\": \"sip:353XXXXXYYX@sip.example.net\",\n            \"slot\": \"*1\"\n        }\n    ]\n}"}],"_postman_id":"091dd16a-865c-43c6-b0f7-c7008ebb29f1"},{"name":"Set speed dials","id":"08918a11-fc5f-45ca-b141-1e18be15e150","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"speeddials\":{\"*0\":\"353873584750\",\"*1\":\"35314373834\"}}"},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/speeddials","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","speeddials"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"cfbb5ea8-5d61-4eab-b989-78bf15c0590b","name":"Set speed dials","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"speeddials\":{\"*0\":\"35314373834\",\"*1\":\"353873584750\"}}"},"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/speeddials","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","speeddials"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"destination\": \"sip:353XXXXXXXX@sip.example.net\",\n            \"slot\": \"*0\"\n        },\n        {\n            \"destination\": \"sip:353XXXXXYYX@sip.example.net\",\n            \"slot\": \"*1\"\n        }\n    ]\n}"}],"_postman_id":"08918a11-fc5f-45ca-b141-1e18be15e150"},{"name":"Clear speed dials","id":"725bbf1e-ef9a-4c6d-a3ce-35cdcdc007bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/speeddials","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","speeddials"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"2cc7b202-762a-41b9-9e50-7f0fa037e9b6","name":"Clear speed dials","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/speeddials","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","speeddials"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:17:06 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"11"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": []\n}"}],"_postman_id":"725bbf1e-ef9a-4c6d-a3ce-35cdcdc007bb"},{"name":"Get status","id":"faa2604b-05da-4c13-ba54-ac3c871ff0ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/status","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","status"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"7206e9a9-962a-4326-9285-9975311685bc","name":"Get status","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/status","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","status"],"variable":[{"key":"id","value":"11","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 13:56:32 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"28"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": \"active\"\n    }\n}"}],"_postman_id":"faa2604b-05da-4c13-ba54-ac3c871ff0ce"},{"name":"Set status","id":"69d066c2-7c27-4434-9951-04f5c257f41e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"status\":\"active\",\"lock_type\":\"global\"}"},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/status","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","status"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"69d066c2-7c27-4434-9951-04f5c257f41e"},{"name":"Set status in bulk","id":"480122f6-fc2a-4a63-84f8-7fddb1e9ac5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"statuses\":[{\"lock\":false,\"subscriber_id\":11},{\"lock\":false,\"lock_type\":\"global\",\"username\":\"nerijus-trunk\",\"domain\":\"sip-dev.telinsta.net\"}]}"},"url":"https://{{domain}}/api/voice/v2/subscribers/status","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers","status"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"480122f6-fc2a-4a63-84f8-7fddb1e9ac5b"},{"name":"Get voicemail preferences","id":"2e502199-331c-4692-a166-fc96e1522a3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/voicemail","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","voicemail"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"c6f38d7e-557a-4cd2-9585-7ed68c939423","name":"Get voicemail preferences","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/voicemail","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","voicemail"],"variable":[{"key":"id","value":"","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:11:18 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"109"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"vm_prefs\": {\n            \"attach\": true,\n            \"delete\": false,\n            \"email\": \"email@address.net\",\n            \"pin\": \"0000\"\n        },\n        \"vm_messages\": []\n    }\n}"}],"_postman_id":"2e502199-331c-4692-a166-fc96e1522a3e"},{"name":"Set voicemail preferences","id":"cb83bac0-b62d-435e-a365-812fa1dcd694","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"email\":\"nerijus@ngnc.com\",\"pin\":\"0854\"}"},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/voicemail","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","voicemail"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resoruce ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"db0df052-623c-4ae1-abf8-7d8ca150d3d9","name":"Set voicemail preferences","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"email\":\"nerijus@ngnc.com\",\"pin\":\"0854\"}"},"url":{"raw":"https://{{domain}}/api/voice/v2/subscribers/:id/voicemail","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","subscribers",":id","voicemail"],"variable":[{"key":"id","value":"","description":"Resoruce ID"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"vm_prefs\": {\n            \"attach\": true,\n            \"delete\": false,\n            \"email\": \"email@address.net\",\n            \"pin\": \"0000\"\n        },\n        \"vm_messages\": []\n    }\n}"}],"_postman_id":"cb83bac0-b62d-435e-a365-812fa1dcd694"},{"name":"Get voicemail message","id":"46e04c92-cc8f-4dde-9bd0-38fed5828260","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/voicemailmessage/:mid","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","voicemailmessage",":mid"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"29","key":"id"},{"type":"any","value":"135","key":"mid"}]}},"response":[],"_postman_id":"46e04c92-cc8f-4dde-9bd0-38fed5828260"},{"name":"Set call barring","id":"8c53e923-7863-4e07-9210-91f418513fa1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"barring\":[{\"label\":\"highrisk2\",\"default\":0,\"visable\":0}]}"},"url":"https://{{domain}}/api/voice/v2/domains/:id/callbarring","urlObject":{"protocol":"https","path":["api","voice","v2","domains",":id","callbarring"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[],"_postman_id":"8c53e923-7863-4e07-9210-91f418513fa1"},{"name":"Delete voicemail message","id":"7f0ae1de-5030-40ab-a611-8f815743c25c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{domain}}/api/voice/v2/subscribers/:id/voicemailmessage/:mid","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","voicemailmessage",":mid"],"host":["{{domain}}"],"query":[],"variable":[{"type":"any","value":"29","key":"id"},{"type":"any","value":"135","key":"mid"}]}},"response":[],"_postman_id":"7f0ae1de-5030-40ab-a611-8f815743c25c"}],"id":"48eee4a0-1486-457a-bbf3-ca12100ee470","description":"<p>\u0001Subscirbers related API Calls. (SIP trunks, SVLS, PBX, IVR, Conference, CPS)</p>\n","_postman_id":"48eee4a0-1486-457a-bbf3-ca12100ee470"},{"name":"Summary Related","item":[{"name":"Get summary","id":"303ff532-0871-4452-b4f9-28e7ae8bed30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/summary?start_date=1514764800&reseller=true","urlObject":{"protocol":"https","path":["api","voice","v2","summary"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"start_date[year]","value":"2018"},{"disabled":true,"key":"start_date[month]","value":"01"},{"disabled":true,"key":"start_date[day]","value":"01"},{"disabled":true,"key":"direction","value":"in"},{"key":"start_date","value":"1514764800"},{"key":"reseller","value":"true"}],"variable":[]}},"response":[],"_postman_id":"303ff532-0871-4452-b4f9-28e7ae8bed30"},{"name":"Get subscriber summary","id":"cdb787ae-c27a-4542-a9b5-4aef482d29fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/subscribers/:id/summary?start_date[year]=2018&start_date[month]=05&start_date[day]=01","urlObject":{"protocol":"https","path":["api","voice","v2","subscribers",":id","summary"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"direction","value":"out"},{"key":"start_date[year]","value":"2018"},{"key":"start_date[month]","value":"05"},{"key":"start_date[day]","value":"01"},{"disabled":true,"key":"by_ddi","value":"false"},{"disabled":true,"key":"altered","value":"true"},{"disabled":true,"key":"uuid","value":"true"}],"variable":[{"type":"any","value":"11","key":"id"}]}},"response":[],"_postman_id":"cdb787ae-c27a-4542-a9b5-4aef482d29fb"},{"name":"Get Account summary","id":"ad58451c-2ae8-4d3e-8821-239a7126bd02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/accounts/:id/summary?start_date[year]=2018&start_date[month]=05&start_date[day]=01","urlObject":{"protocol":"https","path":["api","voice","v2","accounts",":id","summary"],"host":["{{domain}}"],"query":[{"disabled":true,"key":"direction","value":"out"},{"key":"start_date[year]","value":"2018"},{"key":"start_date[month]","value":"05"},{"key":"start_date[day]","value":"01"},{"disabled":true,"key":"by_ddi","value":"true"},{"disabled":true,"key":"altered","value":"false"}],"variable":[{"type":"any","value":"1","key":"id"}]}},"response":[],"_postman_id":"ad58451c-2ae8-4d3e-8821-239a7126bd02"}],"id":"ee754b28-ef70-4673-b0d3-3dc377fd7d75","_postman_id":"ee754b28-ef70-4673-b0d3-3dc377fd7d75","description":""},{"name":"ENUM Related","item":[{"name":"Get ENUM Records","id":"8cbfceac-7a7a-4daa-9e12-c128c9faaf75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/enum?prefix&ddi=&domain&range&lookup=","urlObject":{"protocol":"https","path":["api","voice","v2","enum"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Prefix to filter. (wildcards possible)</p>\n","type":"text/plain"},"key":"prefix","value":null},{"description":{"content":"<p>DDI number to filter. (wildcards possible)</p>\n","type":"text/plain"},"key":"ddi","value":""},{"description":{"content":"<p>Domain to filter. (wildcards possible)</p>\n","type":"text/plain"},"key":"domain","value":null},{"description":{"content":"<p>If set to 1, DDI ranges will be returned.\nIf set to 0, DDI numbers will be returned.\nIf not set all types will be returned. (Default: not set)</p>\n","type":"text/plain"},"key":"range","value":null},{"description":{"content":"<p>If this is set to 1 then it will look for the number if it not found it will look for the closest range which could store the number. (Default: 0 )</p>\n","type":"text/plain"},"key":"lookup","value":""}],"variable":[]}},"response":[{"id":"51a15049-b016-4592-8825-a95542b50da3","name":"Get ENUM Records","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/enum?ddi=353%&per_page=3","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","enum"],"query":[{"key":"prefix","value":null,"description":"Prefix to filter. (wildcards possible)","disabled":true},{"key":"ddi","value":"353%","description":"DDI number to filter. (wildcards possible)"},{"key":"domain","value":null,"description":"Domain to filter. (wildcards possible)","disabled":true},{"key":"range","value":null,"description":"If set to 1, DDI ranges will be returned.\nIf set to 0, DDI numbers will be returned.\nIf not set all types will be returned. (Default: not set)","disabled":true},{"key":"lookup","value":"1","description":"If this is set to 1 then it will look for the number if it not found it will look for the closest range which could store the number. (Default: 0 )","disabled":true},{"key":"per_page","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:48:50 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"756"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"ddi\": \"353\",\n            \"prefix\": \"88888\",\n            \"range\": true,\n            \"domain\": \"enum.example.net\"\n        },\n        {\n            \"ddi\": \"353XXXXXXXXX\",\n            \"prefix\": \"770991759000\",\n            \"range\": false,\n            \"domain\": \"enum.example.net\"\n        },\n        {\n            \"ddi\": \"353XXXXXXXXY\",\n            \"prefix\": \"770991759000\",\n            \"range\": false,\n            \"domain\": \"enum.example.net\"\n        }\n    ],\n    \"first_page_url\": \"https://vapi2-dev.op.telinsta.net/api/operator/v2/enum?ddi=353%25&per_page=3&page=1\",\n    \"from\": 1,\n    \"last_page\": 2707,\n    \"last_page_url\": \"https://vapi2-dev.op.telinsta.net/api/operator/v2/enum?ddi=353%25&per_page=3&page=2707\",\n    \"next_page_url\": \"https://vapi2-dev.op.telinsta.net/api/operator/v2/enum?ddi=353%25&per_page=3&page=2\",\n    \"path\": \"https://vapi2-dev.op.telinsta.net/api/operator/v2/enum\",\n    \"per_page\": \"3\",\n    \"prev_page_url\": null,\n    \"to\": 3,\n    \"total\": \"8119\"\n}"}],"_postman_id":"8cbfceac-7a7a-4daa-9e12-c128c9faaf75"},{"name":"Create/Update ENUM Record","id":"adbec754-1413-48aa-b883-9ad85d0953f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"ddi","value":"","description":"<p>DDI number of the record.</p>\n","type":"text"},{"key":"prefix","value":"","description":"<p>Prefix related to DDI.</p>\n","type":"text"},{"key":"range","value":"","description":"<p>Set to false if DDI is single DDI or true if ddi is a range.</p>\n","type":"text"},{"key":"domain","value":"","description":"<p>Domain name.</p>\n","type":"text"},{"key":"prefix_name","value":"","description":"<p>Prefix name if prefix is not known to the system. (optional)</p>\n","type":"text"},{"key":"prefix_description","value":"","description":"<p>Prefix domain if prefix is not known to the system. (optional)</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/enum","urlObject":{"protocol":"https","path":["api","voice","v2","enum"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"92081baa-7f61-488e-a120-ba35dde405c0","name":"Create/Update ENUM Record","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"ddi","value":"35311111111111","description":"DDI number of the record.","type":"text"},{"key":"prefix","value":"prefix1","description":"Prefix related to DDI.","type":"text"},{"key":"range","value":"0","description":"Set to false if DDI is single DDI or true if ddi is a range.","type":"text"},{"key":"domain","value":"enum.example.com","description":"Domain name.","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/enum"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:51:14 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"62"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ddi\": \"35311111111111\",\n        \"prefix\": \"prefix1\",\n        \"range\": 0\n    }\n}"}],"_postman_id":"adbec754-1413-48aa-b883-9ad85d0953f8"},{"name":"Create/Update Bulk ENUM Record","id":"6be01123-d98a-4aab-9fb3-ab178caa762d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"enum\":[{\"ddi\": \"\",\"prefix\": \"\", \"range\": 1},{\"ddi\": \"\",\"prefix\": \"\", \"range\": 0}]}"},"url":"https://{{domain}}/api/voice/v2/enum","urlObject":{"protocol":"https","path":["api","voice","v2","enum"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ea7b79c2-3424-478c-870e-cb31c620b134","name":"Create/Update Bulk ENUM Record","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"enum\":[{\"ddi\": \"353111111\",\"prefix\": \"p1\", \"range\": 1},{\"ddi\": \"35322222222\",\"prefix\": \"p2\", \"range\": 0}]}"},"url":"https://{{domain}}/api/voice/v2/enum"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:54:55 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"128"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"ddi\": \"353111111*\",\n            \"prefix\": \"p1\",\n            \"range\": 1\n        },\n        {\n            \"ddi\": \"35322222222\",\n            \"prefix\": \"p2\",\n            \"range\": 0,\n            \"domain\": \"enum.imagine.ie\"\n        }\n    ]\n}"}],"_postman_id":"6be01123-d98a-4aab-9fb3-ab178caa762d"},{"name":"Delete ENUM Record","id":"bc521697-87ca-4b3a-9045-ace232cc5fe8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/enum?ddi=&domain&range=","urlObject":{"protocol":"https","path":["api","voice","v2","enum"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>DDI number of the record.</p>\n","type":"text/plain"},"key":"ddi","value":""},{"description":{"content":"<p>Domain name.</p>\n","type":"text/plain"},"key":"domain","value":null},{"description":{"content":"<p>Set to false if DDI is single DDI or true if ddi is a range.</p>\n","type":"text/plain"},"key":"range","value":""}],"variable":[]}},"response":[{"id":"1f63aa93-a297-4485-bda9-168477b8ac7c","name":"Delete ENUM Record","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/enum?ddi=35311111111111&domain=example.imagine.net&range=0","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","enum"],"query":[{"key":"ddi","value":"35311111111111","description":"DDI number of the record."},{"key":"domain","value":"example.imagine.net","description":"Domain name."},{"key":"range","value":"0","description":"Set to false if DDI is single DDI or true if ddi is a range."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 May 2019 14:52:55 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"93"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ddi\": \"35311111111111\",\n        \"prefix\": \"prefix1\",\n        \"range\": false,\n        \"domain\": \"enum.example.net\"\n    }\n}"}],"_postman_id":"bc521697-87ca-4b3a-9045-ace232cc5fe8"},{"name":"Get ENUM Domains","id":"7a6c6a90-b60d-4bae-9b48-098b7986f649","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/enum/domains?domain&include_counts=","urlObject":{"protocol":"https","path":["api","voice","v2","enum","domains"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Domain to filter. (wildcards possible)</p>\n","type":"text/plain"},"key":"domain","value":null},{"description":{"content":"<p>Include count of records.</p>\n","type":"text/plain"},"key":"include_counts","value":""}],"variable":[]}},"response":[],"_postman_id":"7a6c6a90-b60d-4bae-9b48-098b7986f649"},{"name":"Create ENUM Domain","id":"d1d21f96-552b-4536-9df4-806b2a0613c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"domain","value":"","description":"<p>Domain name.</p>\n","type":"text"},{"key":"prefix","value":"","description":"<p>Default doman prefix.</p>\n","type":"text"}]},"url":"https://{{domain}}/api/voice/v2/enum/domains","urlObject":{"protocol":"https","path":["api","voice","v2","enum","domains"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1d21f96-552b-4536-9df4-806b2a0613c2"},{"name":"Get Enum Domain","id":"2f072d2f-1257-419c-8473-68544af975fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/enum/domains/:id","urlObject":{"protocol":"https","path":["api","voice","v2","enum","domains",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"733171c1-20cf-422d-851e-9f4b8495a95d","name":"Get Enum Domain","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/enum/domains/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","enum","domains",":id"],"variable":[{"key":"id","value":"1","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Jul 2019 13:56:26 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"46"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"domain\": \"test.domain.io\",\n        \"prefix\": \"1234\"\n    }\n}"}],"_postman_id":"2f072d2f-1257-419c-8473-68544af975fd"},{"name":"Update ENUM Domain","id":"8b3312e6-65e1-4c73-88bf-4f51a84a8e29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"domain\":\"\",\"prefix\":\"\"}"},"url":"https://{{domain}}/api/voice/v2/enum/domains/:id","urlObject":{"protocol":"https","path":["api","voice","v2","enum","domains",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"de950c2a-b1c6-4493-8a5a-1eb44171ffdb","name":"Update ENUM Domain","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"domain\":\"test.domain.io\",\"prefix\":\"1287\"}"},"url":{"raw":"https://{{domain}}/api/voice/v2/enum/domains/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","enum","domains",":id"],"variable":[{"key":"id","value":"1","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Jul 2019 15:00:12 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"60"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"domain\": \"test.domain.io\",\n        \"prefix\": \"1287\"\n    }\n}"}],"_postman_id":"8b3312e6-65e1-4c73-88bf-4f51a84a8e29"},{"name":"Delete ENUM Domain","id":"73a3f004-c6ad-4f32-9471-3d1bdec77ab3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/enum/domains/:id","urlObject":{"protocol":"https","path":["api","voice","v2","enum","domains",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"73a3f004-c6ad-4f32-9471-3d1bdec77ab3"},{"name":"Get ENUM Prefixes","id":"b5720604-f725-49fd-bd35-36eabf87df35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/enum/prefixes?prefix&name&id","urlObject":{"protocol":"https","path":["api","voice","v2","enum","prefixes"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Filter for ENUM prefixes with a specific prefix (wildcards possible)</p>\n","type":"text/plain"},"key":"prefix","value":null},{"description":{"content":"<p>Filter for ENUM prefixes with a specific name (wildcards possible)</p>\n","type":"text/plain"},"key":"name","value":null},{"description":{"content":"<p>Filter for ENUM prefixes with a specific id</p>\n","type":"text/plain"},"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"b5720604-f725-49fd-bd35-36eabf87df35"},{"name":"Create Enum Prefix","id":"81ea7a9d-bbc1-498f-88a0-a63a2766a54f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"<p>A human readable name of the ENUM prefix.</p>\n","type":"text"},{"key":"prefix","value":"","description":"<p>The routing prefix.</p>\n","type":"text"},{"key":"description","value":"","equals":false,"description":"<p>An ENUM prefix description.</p>\n"}]},"url":"https://{{domain}}/api/voice/v2/enum/prefixes","urlObject":{"protocol":"https","path":["api","voice","v2","enum","prefixes"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"df846781-58e6-442b-9be5-eaf9a5a39a6f","name":"Create Enum Prefix","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Emergency calls from pbx users","description":"A human readable name of the ENUM prefix.","type":"text"},{"key":"prefix","value":"emergency_","description":"The routing prefix.","type":"text"},{"key":"description","value":"Emergency calls from pbx users","equals":false,"description":"An ENUM prefix description."}]},"url":"https://{{domain}}/api/voice/v2/enum/prefixes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 03 Jul 2019 14:47:29 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"127"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"prefix\": \"emergency_\",\n        \"name\": \"Emergency calls from pbx users\",\n        \"description\": \"Emergency calls from pbx users\"\n    }\n}"}],"_postman_id":"81ea7a9d-bbc1-498f-88a0-a63a2766a54f"},{"name":"Get ENUM prefix by ID","id":"4bb2b0de-5c8f-4b83-b45e-0b82b6c0ef7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/enum/prefixes/:id","urlObject":{"protocol":"https","path":["api","voice","v2","enum","prefixes",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"dd39acb3-2b18-4da3-b54e-bb0c89c02876","name":"Get ENUM prefix by ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/enum/prefixes/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","enum","prefixes",":id"],"variable":[{"key":"id","value":"1","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 03 Jul 2019 14:52:45 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"127"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"prefix\": \"emergency_\",\n        \"name\": \"Emergency calls from pbx users\",\n        \"description\": \"Emergency calls from pbx users\"\n    }\n}"}],"_postman_id":"4bb2b0de-5c8f-4b83-b45e-0b82b6c0ef7f"},{"name":"Update ENUM Prefix","id":"925e114d-50fa-42f0-830c-143ec925d47b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"name\":\"Test Prefix\",\"desciption\":\"Don't use this Prefix this is test only\"}"},"url":"https://{{domain}}/api/voice/v2/enum/prefixes/:id","urlObject":{"protocol":"https","path":["api","voice","v2","enum","prefixes",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"1fcd08ea-8f0f-46cc-ae11-bf3640c48c11","name":"Update ENUM Prefix","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"name\":\"Test Prefix\",\"desciption\":\"Don't use this Prefix this is test only\"}"},"url":{"raw":"https://{{domain}}/api/voice/v2/enum/prefixes/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","enum","prefixes",":id"],"variable":[{"key":"id","value":"2","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 03 Jul 2019 14:59:52 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"598"},{"key":"Content-Length","value":"101"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 2,\n        \"prefix\": \"atest_\",\n        \"name\": \"Test Prefix\",\n        \"description\": \"This is only testing prefix\"\n    }\n}"}],"_postman_id":"925e114d-50fa-42f0-830c-143ec925d47b"},{"name":"DeleteENUM prefix","id":"1afd426b-a493-4aca-9849-f7cd93af553b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":"https://{{domain}}/api/voice/v2/enum/prefixes/:id","urlObject":{"protocol":"https","path":["api","voice","v2","enum","prefixes",":id"],"host":["{{domain}}"],"query":[],"variable":[{"description":{"content":"<p>Resource ID</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[{"id":"3b03b08e-3aa7-4862-bc94-55ad54072e59","name":"DeleteENUM prefix","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{Bearer}}"}],"url":{"raw":"https://{{domain}}/api/voice/v2/enum/prefixes/:id","protocol":"https","host":["{{domain}}"],"path":["api","voice","v2","enum","prefixes",":id"],"variable":[{"key":"id","value":"4","description":"Resource ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 04 Jul 2019 10:23:47 GMT"},{"key":"Server","value":"Apache/2.4.25 (Debian)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"600"},{"key":"X-RateLimit-Remaining","value":"599"},{"key":"Content-Length","value":"92"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 4,\n        \"prefix\": \"1234\",\n        \"name\": \"Carrier\",\n        \"description\": \"Outbound to Carrier\"\n    }\n}"}],"_postman_id":"1afd426b-a493-4aca-9849-f7cd93af553b"}],"id":"398da204-0e3a-4266-951d-36da3a7fee7e","event":[{"listen":"prerequest","script":{"id":"42a6ec76-ce37-4d7f-860a-ae95927ff91c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b5953471-f7c8-4f1c-bc16-f134a2a3b174","type":"text/javascript","exec":[""]}}],"_postman_id":"398da204-0e3a-4266-951d-36da3a7fee7e","description":""}],"event":[{"listen":"prerequest","script":{"id":"77f2b4ae-3943-4a0e-9367-7ab4bd123275","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a6e1516e-5597-442b-a7bf-5e93c995ae06","type":"text/javascript","exec":[""]}}]}