{"info":{"_postman_id":"5478f769-31f2-47a5-891e-d5a548702722","name":"Constellix DNS API","description":"<html><head></head><body><p>REST endpoints for interacting with the Constellix DNS services.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2667595","collectionId":"5478f769-31f2-47a5-891e-d5a548702722","publishedId":"RW8Ap8ji","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"3E25A2","highlight":"5A6DD5"},"publishDate":"2020-04-11T13:10:46.000Z"},"item":[{"name":"Introduction","item":[{"name":"Overview","item":[],"id":"60fb2349-f014-4d6e-84a7-e57739a09f58","description":"<p>Welcome to the Constellix DNS Developer API docs for v1 and v2 of our API. We recently released version 4 of our API! To use the newest version, please go to <a href=\"https://api.dns.constellix.com/v4/docs\">https://api.dns.constellix.com/v4/docs</a></p>\n<p>Whether you’re an API pro, a beginning developer, our extensive API documentation will guide you in developing code on top of Constellix DNS REST API platform. Our API suite allows you to query for domains, DNS records and much more. The document below will allow you to browse API call options, descriptions of the available attributes, and see examples of working requests and responses. If this is your first time using our API, please check out our Getting Started guide.</p>\n","_postman_id":"60fb2349-f014-4d6e-84a7-e57739a09f58"},{"name":"Authentication and Security Headers","item":[],"id":"0995bc8a-97a0-414e-82da-2788ed30ea21","description":"<p>Authentication with the Constellix API is performed using the API and Secret keys, given on a per-user basis for each user defined in an account (assuming the permission is enabled for the user). The values for these keys can be found in the Consellix Management Portal at: \n<a href=\"https://manage.constellix.com/login\">https://manage.constellix.com/login</a></p>\n<p>You would select the upper right drop down menu and click on \"Edit my Info\".</p>\n<p>All API requests are secured via calculation of an HMAC based off of a user's API key, Secret Key, and the request timestamp. The HMAC should be base64 encoded. The security header keys are as follows:</p>\n<p><code>x-cnsdns-apiKey</code></p>\n<p><code>x-cnsdns-requestDate</code></p>\n<p><code>x-cnsdns-hmac</code></p>\n<p>For example:</p>\n<p><code>x-cnsdns-apiKey: 7a3fe9ef-de08-4c87-83a3-5034a8441f07</code></p>\n<p><code>x-cnsdns-hmac: UkHJfB5wJpAux8dq518Jfb434ks=</code></p>\n<p><code>x-cnsdns-requestDate: 1489401874402</code></p>\n<p>Alternatively, the above 3 headers can be combined and sent as 1 HTTP Header \"x-cns-security-token\", for example:</p>\n<code>\nx-cns-security-token: 7a3fe9ef-de08-4c87-83a3-5034a8441f07:UkHJfB5wJpAux8dq518Jfb434ks=:1489401874402\n</code>\n\n\n<p>Here is an example of the pre-request script that can be used to Postman.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>var apiKey = postman.getEnvironmentVariable(\"apiKey\");\nvar secretKey = postman.getEnvironmentVariable(\"secretKey\");\nfunction epochTime() {\n    return new Date().getTime() + '';\n}\npostman.clearEnvironmentVariable(\"x-cns-security-token\");\nvar time = epochTime();\nvar hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );\nvar token = apiKey + \":\" + hmac + \":\" + time;\npostman.setEnvironmentVariable( 'x-cns-security-token', token );\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"f25bcb93-9db3-43b9-ab8d-d304353b0b5a","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"cfd9186f-e1a9-4d9d-9459-a296216aaf56","type":"text/javascript","exec":[""]}}],"_postman_id":"0995bc8a-97a0-414e-82da-2788ed30ea21"},{"name":"Making A Request","item":[],"id":"e71afdf9-c3cc-4b19-8dc4-28ef02d042ff","description":"<p>REST requests can be made via HTTPS or HTTP by using the headers, authentication, data types, and methods specified below. The current endpoint for the API is available at: http[s]://api.dns.constellix.com/</p>\n<p>Date and time formats are in the ISO 8601 standard (e.g. \"2015-06-03T13:21:58Z\")</p>\n<p>Specifying HTTP Header \"Content-Type: application/json\" is required for all API requests.</p>\n<p>All API calls accept and produce JSON formated output.</p>\n<p>A successful response returns 200 HTTP code.</p>\n<p>In case of authorization failure, 4xx HTTP error code is returned by the API server.</p>\n<p>For all following documentation, fields marked with an asterisk (*) represent mandatory fields in the API calls.</p>\n","_postman_id":"e71afdf9-c3cc-4b19-8dc4-28ef02d042ff"},{"name":"Getting Started Guide","item":[],"id":"b38d9c53-2359-4e29-bc01-a2ffa7506a90","description":"<p>If you’d like to make an API request, just follow these steps. We’ve provided a sample Perl script that can be used to make requests.</p>\n<p>• Download and install cURL. Make sure that the cURL executable is part of your path.</p>\n<p>• Download and install Perl. Make sure that the Perl executable is part of your path.</p>\n<p>• Download the necessary Perl extensions by running the following commands:</p>\n<p><code>perl -MCPAN -e \"install Digest::HMAC_SHA1\"</code></p>\n<p><code>perl -MCPAN -e \"install HTTP::Date\"</code></p>\n<p><code>perl -MCPAN -e \"install Config::Properties\"</code></p>\n<p>• Download the following Constellix files and save them into the same location:\n<a href=\"https://support.constellix.com/support/solutions/articles/47001136414-download-constellixapi-pl-and-constellix-properties\">constellixapi.pl</a></p>\n<p><a href=\"https://support.constellix.com/support/solutions/articles/47001136414-download-constellixapi-pl-and-constellix-properties\">constellixapi.properties</a></p>\n<p>• Put your API and Secret Keys into the constellixapi.properties file, the location of these keys is specified below in the Authentication and Security Headers section.</p>\n<p>• Make requests using the constellixapi.pl script as a wrapper around cURL!</p>\n<p>• cURL accepts the -X option to set the HTTP method used for the request (GET is used if no method is specified). cURL accepts the –H option to set HTTP headers for the request.</p>\n<p>• All GET API requests, support pagination parameters.</p>\n<p>e.g API?offset=10&amp;max=10&amp;sort=name&amp;order=asc</p>\n<table>\n  \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>offset</p>\n      </td>\n      <td>\n        <p>Offset retrieves a subset of records starting with the offset value.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>max</p>\n      </td>\n      <td>\n        <p>Retrives maxiumn number of dataset</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>sort</p>\n      </td>\n      <td>\n        <p>Sort on the basis of given property name.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>order</p>\n      </td>\n      <td>\n        <p>Sort order. Possible values are asc / desc.</p>\n      </td>\n    </tr>\n    </tbody>\n</table>\n","event":[{"listen":"prerequest","script":{"id":"5f9002ba-8025-41d0-a1fd-6fa6eb9518c5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7a6dc200-ce94-4629-8af0-b76da675712f","type":"text/javascript","exec":[""]}}],"_postman_id":"b38d9c53-2359-4e29-bc01-a2ffa7506a90"}],"id":"09180e2a-7142-4517-96c0-b15d8be13acf","_postman_id":"09180e2a-7142-4517-96c0-b15d8be13acf","description":""},{"name":"API Calls","item":[{"name":"DNS","item":[{"name":"v1 - Version 1","item":[{"name":"Domains","item":[{"name":"Search","item":[{"name":"Search Domains - Starts With","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"262b64a1-5f33-4f29-9c43-fb447aacddcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/search?startswith=<string>","description":"<p>Returns a list of all domains created in the user's account that starts with a specific string.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","search"],"host":["api","dns","constellix","com"],"query":[{"description":{"content":"<p>Starting value of the domain name you are searching for.</p>\n","type":"text/plain"},"key":"startswith","value":"<string>"}],"variable":[]}},"response":[{"id":"e5f40f66-c12d-4fc4-b929-f34ef92bab20","name":"Search Domains - Starts With","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{x-cns-security-token}}"}],"url":{"raw":"https://api.dns.constellix.com/v1/domains/search?startswith=server","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","domains","search"],"query":[{"key":"startswith","value":"server"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 11:39:28 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache-Coyote/1.1"},{"key":"X-Trace","value":"2B95155EA9E8D826C38C03CC9EFF1DB8A152AEA2506D535135EDC478BF01"},{"key":"Set-Cookie","value":"JSESSIONID=97A9C6C169011EA421F4DD9B494636EB; Path=/; HttpOnly"},{"key":"X-Application-Context","value":"application:production"},{"key":"requestsRemainingHeader","value":"28"},{"key":"requestLimitHeader","value":"30"},{"key":"requestRefreshInterval","value":"12"},{"key":"cnsdns-account-Id","value":"300000119"},{"key":"cnsdns-user-role","value":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 15475,\n        \"name\": \"server.us\"\n    },\n    {\n        \"id\": 293766,\n        \"name\": \"server.usa\"\n    }\n]"}],"_postman_id":"262b64a1-5f33-4f29-9c43-fb447aacddcd"},{"name":"Search Domains - Exact","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"c803a7d7-3eff-491b-b069-83f254dd76f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/search?exact=<string>","description":"<p>Returns a list of all domains created in the user's account that matchs the exact string.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","search"],"host":["api","dns","constellix","com"],"query":[{"key":"exact","value":"<string>"}],"variable":[]}},"response":[{"id":"da503ff3-7811-46f6-9383-d3f7ca62e1f3","name":"Search Domains - Exact","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{x-cns-security-token}}"}],"url":{"raw":"https://api.dns.constellix.com/v1/domains/search?exact=example.com","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","domains","search"],"query":[{"key":"exact","value":"example.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 11:52:35 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache-Coyote/1.1"},{"key":"X-Trace","value":"2BE2093835D232C6CC6EB7177F7AE3C8AC0AD78E72CF752A41197AF72101"},{"key":"Set-Cookie","value":"JSESSIONID=4883D1AF03AF9D6DD5D44AF159D9DC28; Path=/; HttpOnly"},{"key":"X-Application-Context","value":"application:production"},{"key":"requestsRemainingHeader","value":"29"},{"key":"requestLimitHeader","value":"30"},{"key":"requestRefreshInterval","value":"19"},{"key":"cnsdns-account-Id","value":"300000119"},{"key":"cnsdns-user-role","value":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 50535,\n        \"name\": \"example.com\"\n    }\n]"}],"_postman_id":"c803a7d7-3eff-491b-b069-83f254dd76f4"},{"name":"Search Domains - Ends With","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"d898b532-5ed7-47cc-993d-3e4a3d457b88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/search?endswith=<string>","description":"<p>Returns a list of all domains created in the user's account that ends with a specific string.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","search"],"host":["api","dns","constellix","com"],"query":[{"description":{"content":"<p>Ending value of the domain name you are searching for.</p>\n","type":"text/plain"},"key":"endswith","value":"<string>"}],"variable":[]}},"response":[{"id":"d5fafe18-e13e-4aba-b84a-b195fe21f690","name":"Search Domains - Ends With","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{x-cns-security-token}}"}],"url":{"raw":"https://api.dns.constellix.com/v1/domains/search?endswith=com","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","domains","search"],"query":[{"key":"endswith","value":"com","description":"Ending value of the domain name you are searching for."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 11:50:16 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache-Coyote/1.1"},{"key":"X-Trace","value":"2B119A115E7941B18274B77751FA2503710FCC821989F8D61B4684A16801"},{"key":"Set-Cookie","value":"JSESSIONID=B6DFA2E12EA9E0A5554FB740ADCB9F48; Path=/; HttpOnly"},{"key":"X-Application-Context","value":"application:production"},{"key":"requestsRemainingHeader","value":"29"},{"key":"requestLimitHeader","value":"30"},{"key":"requestRefreshInterval","value":"19"},{"key":"cnsdns-account-Id","value":"300000119"},{"key":"cnsdns-user-role","value":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 50535,\n        \"name\": \"example.com\"\n    }\n]"}],"_postman_id":"d898b532-5ed7-47cc-993d-3e4a3d457b88"},{"name":"Search Domains - Contains","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"8689d95d-a739-402a-8531-43bca7a639cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/search?contains=<string>","description":"<p>Returns a list of all domains created in the user's account that contains the string.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","search"],"host":["api","dns","constellix","com"],"query":[{"key":"contains","value":"<string>"}],"variable":[]}},"response":[{"id":"b3adc63a-9469-4681-b3b5-35e1bc28d8ca","name":"Search Domains - Contains","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{x-cns-security-token}}"}],"url":{"raw":"https://api.dns.constellix.com/v1/domains/search?contains=erver","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","domains","search"],"query":[{"key":"contains","value":"erver"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 11:54:45 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache-Coyote/1.1"},{"key":"X-Trace","value":"2B9F9C9C0E0F18EADD637B28A50B7DBB72C376316179F0BE2CCE247D7401"},{"key":"Set-Cookie","value":"JSESSIONID=8FD48EBA2C6150E197B02E829FF15670; Path=/; HttpOnly"},{"key":"X-Application-Context","value":"application:production"},{"key":"requestsRemainingHeader","value":"28"},{"key":"requestLimitHeader","value":"30"},{"key":"requestRefreshInterval","value":"6"},{"key":"cnsdns-account-Id","value":"300000119"},{"key":"cnsdns-user-role","value":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 15475,\n        \"name\": \"server.us\"\n    },\n    {\n        \"id\": 241815,\n        \"name\": \"authoritativenameserver.com\"\n    },\n    {\n        \"id\": 241816,\n        \"name\": \"authoritativenameserver.net\"\n    },\n    {\n        \"id\": 293766,\n        \"name\": \"server.usa\"\n    },\n    {\n        \"id\": 293836,\n        \"name\": \"aserver.us\"\n    }\n]"}],"_postman_id":"8689d95d-a739-402a-8531-43bca7a639cd"}],"id":"3d7b2679-2209-49f3-b011-b7d24e512008","_postman_id":"3d7b2679-2209-49f3-b011-b7d24e512008","description":""},{"name":"Get all Domains","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"484c3f21-d724-4ee4-a6fa-ab22c8eb9e9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","type":"text"}],"url":"https://api.dns.constellix.com/v1/domains","description":"<p>Returns a list of all domains created in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","domains"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"02568b6b-37a3-4148-9cb9-45df83ea1d30","name":"Get all domains","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"url":{"raw":"https://api.dns.constellix.com/v1/domains?offset=0&max=10&sort=name&order=asc","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","domains"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 15:33:58 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=32183D46E3E34A8F20FFD49755CC6782; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"32183D46E3E34A8F20FFD49755CC6782","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":24063,\"name\":\"sampledomain3000.com\",\"soa\":{\"primaryNameserver\":\"ns11.constellix.com.\",\"email\":\"dns.constellix.com.\",\"ttl\":86400,\"serial\":2015010102,\"refresh\":43200,\"retry\":3600,\"expire\":1209600,\"negCache\":180},\"createdTs\":\"2018-04-19T15:26:00Z\",\"modifiedTs\":\"2018-04-19T15:26:00Z\",\"typeId\":1,\"domainTags\":[],\"folder\":null,\"hasGtdRegions\":false,\"hasGeoIP\":false,\"nameserverGroup\":1,\"nameservers\":[\"ns11.constellix.com.\",\"ns21.constellix.com.\",\"ns31.constellix.com.\",\"ns41.constellix.net.\",\"ns51.constellix.net.\",\"ns61.constellix.net.\"],\"note\":\"\",\"version\":0,\"status\":\"ACTIVE\",\"tags\":[],\"contactIds\":[]},{\"id\":24060,\"name\":\"sampledomain1000.com\",\"soa\":{\"primaryNameserver\":\"ns11.constellix.com.\",\"email\":\"dns.constellix.com.\",\"ttl\":86400,\"serial\":2015010102,\"refresh\":43200,\"retry\":3600,\"expire\":1209600,\"negCache\":180},\"createdTs\":\"2018-04-19T15:16:40Z\",\"modifiedTs\":\"2018-04-19T15:16:40Z\",\"typeId\":1,\"domainTags\":[],\"folder\":null,\"hasGtdRegions\":false,\"hasGeoIP\":false,\"nameserverGroup\":1,\"nameservers\":[\"ns11.constellix.com.\",\"ns21.constellix.com.\",\"ns31.constellix.com.\",\"ns41.constellix.net.\",\"ns51.constellix.net.\",\"ns61.constellix.net.\"],\"note\":\"\",\"version\":0,\"status\":\"ACTIVE\",\"tags\":null,\"contactIds\":[]}]"}],"_postman_id":"484c3f21-d724-4ee4-a6fa-ab22c8eb9e9b"},{"name":"Get all Domains Copy","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"1e93c78e-7c2a-4811-bd47-6f60280bccaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","type":"text"}],"url":"https://api.dns.constellix.com/v1/domains","description":"<p>Returns a list of all domains created in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","domains"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"0762259d-33e8-4496-9a12-0eeb7480d282","name":"Get all domains","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"url":{"raw":"https://api.dns.constellix.com/v1/domains?offset=0&max=10&sort=name&order=asc","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","domains"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 15:33:58 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=32183D46E3E34A8F20FFD49755CC6782; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"32183D46E3E34A8F20FFD49755CC6782","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":24063,\"name\":\"sampledomain3000.com\",\"soa\":{\"primaryNameserver\":\"ns11.constellix.com.\",\"email\":\"dns.constellix.com.\",\"ttl\":86400,\"serial\":2015010102,\"refresh\":43200,\"retry\":3600,\"expire\":1209600,\"negCache\":180},\"createdTs\":\"2018-04-19T15:26:00Z\",\"modifiedTs\":\"2018-04-19T15:26:00Z\",\"typeId\":1,\"domainTags\":[],\"folder\":null,\"hasGtdRegions\":false,\"hasGeoIP\":false,\"nameserverGroup\":1,\"nameservers\":[\"ns11.constellix.com.\",\"ns21.constellix.com.\",\"ns31.constellix.com.\",\"ns41.constellix.net.\",\"ns51.constellix.net.\",\"ns61.constellix.net.\"],\"note\":\"\",\"version\":0,\"status\":\"ACTIVE\",\"tags\":[],\"contactIds\":[]},{\"id\":24060,\"name\":\"sampledomain1000.com\",\"soa\":{\"primaryNameserver\":\"ns11.constellix.com.\",\"email\":\"dns.constellix.com.\",\"ttl\":86400,\"serial\":2015010102,\"refresh\":43200,\"retry\":3600,\"expire\":1209600,\"negCache\":180},\"createdTs\":\"2018-04-19T15:16:40Z\",\"modifiedTs\":\"2018-04-19T15:16:40Z\",\"typeId\":1,\"domainTags\":[],\"folder\":null,\"hasGtdRegions\":false,\"hasGeoIP\":false,\"nameserverGroup\":1,\"nameservers\":[\"ns11.constellix.com.\",\"ns21.constellix.com.\",\"ns31.constellix.com.\",\"ns41.constellix.net.\",\"ns51.constellix.net.\",\"ns61.constellix.net.\"],\"note\":\"\",\"version\":0,\"status\":\"ACTIVE\",\"tags\":null,\"contactIds\":[]}]"}],"_postman_id":"1e93c78e-7c2a-4811-bd47-6f60280bccaf"},{"name":"Create a Domain","event":[{"listen":"prerequest","script":{"id":"dc68c0a5-7ffa-47c1-ab3e-6fa9fb87a3d4","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"d974b475-ac6c-4315-a8a3-23c3e70dac25","exec":[""],"type":"text/javascript"}}],"id":"252258bc-43d0-4b1e-a6ab-4868d6ff2084","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"names\": [\n    \"sampledomain12000.com\"\n  ],\n  \"template\":547\n\n}"},"url":"https://api.dns.constellix.com/v1/domains","description":"<p>Creates one or more new domains in the user's account.</p>\n<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Required Fields </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>names <strong>* </strong></p>\n      </td>\n      <td>\n        <p>String[]</p>\n      </td>\n      <td>\n        <p>Name of the domain. e.g \"sampledomain.com\"</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>vanityNameServer <strong>* </strong></p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>numerical ID of vanity nameserver configuration.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>hasGtdRegions</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>GTD Region status of the domain. The Default value is false.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>hasGeoIP</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>GEO IP status status of the domain. The Default value is false.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>notes while creating the domain. The maximum length will be 1000 characters.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>tags</p>\n      </td>\n      <td>\n        <p>String[]</p>\n      </td>\n      <td>\n        <p>Id of tags applied on domain. The default value is empty</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa</p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td>\n        <p></p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>soa.primaryNameserver</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>The Default value of SOA Primary Nameserver is \"ns0.constellix.com.\". However, it is possible to create a custom SOA record with differing values if required. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.email</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>An Email Address specifies the mailbox of the person responsible for this zone. The default value is \"dns.constellix.com.\" </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.ttl</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The number of seconds that this SOA record will be cached in other resolving name servers. The Default value is \"86400\".TTL must be in between 0 and 2147483647 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.serial</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The starting serial number for the version of the zone. If the SOA record is applied to a domain that is already created (and thus already has a starting serial number), the existing serial number will be incremented by one. e.g 2015010196</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.refresh</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The time interval (in seconds) before the zone should be refreshed. The recommended value – 86400 (24 Hours). The default value is 43200 (12 hours)</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.retry</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The time interval (in seconds) before a failed refresh should be retried. Recommended value – 7200 (2 Hours). The default value is 1 hour</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.expire</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The time internal (in seconds) that specifies the upper limit on the time internally that can elapse before the zone is no longer authoritative. This is when the secondary name servers will expire if they are unable to refresh. Recommended value – up to 1209600 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.negCache</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The amount of time a record not found is cached. Recommended values can vary, between 180 and 172800 (3 min – 2 days). The default value is 180</p>\n      </td>\n    </tr>\n  </tbody>\n</table>","urlObject":{"protocol":"https","path":["v1","domains"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"1ed61fe0-4f9a-4f3a-a2e3-9baf43df676f","name":"Create a Domain with GTD Enabled","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"names\": [\n    \"sampledomain8000.com\",\n    \"sampledomain9000.com\"\n  ],\n  \"hasGtdRegions\": true,\n  \"hasGeoIP\": false\n}"},"url":"https://api.dns.constellix.com/v1/domains"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:18:06 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=A8D78DFE36058DB6847EEF653307067B; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"A8D78DFE36058DB6847EEF653307067B","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":24076,\"name\":\"sampledomain8000.com\"},{\"id\":24077,\"name\":\"sampledomain9000.com\"}]"},{"id":"4bd85b20-2374-4318-a969-0d2b0a78a010","name":"Create a domain and Enable GeoIP","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"names\": [\n    \"sampledomain6000.com\",\n    \"sampledomain7000.com\"\n  ],\n  \"hasGtdRegions\": false,\n  \"hasGeoIP\": true\n}"},"url":"https://api.dns.constellix.com/v1/domains"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 15:36:01 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=2EA4880729D41BEA1EA00854C79DA3D1; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"2EA4880729D41BEA1EA00854C79DA3D1","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":24066,\"name\":\"sampledomain6000.com\"},{\"id\":24067,\"name\":\"sampledomain7000.com\"}]"},{"id":"65aad88f-ec23-4ffc-a5c3-6ef6334c0957","name":"Create a domain with a SOA Record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"names\": [\n    \"sampledomain4000.com\",\n    \"sampledomain5000.com\"\n  ],\n  \"hasGtdRegions\": false,\n  \"hasGeoIP\": false,\n  \n  \"soa\": {\n      \"primaryNameserver\": \"ns11.constellix.com.\",\n      \"email\": \"dns.constellix.com.\",\n      \"ttl\": 86401,\n      \"serial\": 2015010196,\n      \"refresh\": 43200,\n      \"retry\": 3600,\n      \"expire\": 1209600,\n      \"negCache\": 180\n    }\n}"},"url":"https://api.dns.constellix.com/v1/domains"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 15:34:45 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=4F99A153AA70F5F7AD903E61EA297A65; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"4F99A153AA70F5F7AD903E61EA297A65","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":24064,\"name\":\"sampledomain4000.com\"},{\"id\":24065,\"name\":\"sampledomain5000.com\"}]"},{"id":"ad11e3fc-9791-4e36-8a75-d70bb2b80253","name":"Create a Domain with Vanity DNS Assigned","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"names\": [\n    \"sampledomain10000.com\",\n    \"sampledomain11000.com\"\n  ],\n  \"vanityNameServer\":425\n}"},"url":"https://api.dns.constellix.com/v1/domains"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:19:35 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=94FB09A02CF7C2E16C5378F710E3B323; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"94FB09A02CF7C2E16C5378F710E3B323","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":24078,\"name\":\"sampledomain10000.com\"},{\"id\":24079,\"name\":\"sampledomain11000.com\"}]"},{"id":"bd3d3d9a-ebe0-4745-beb0-867f342c462a","name":"Create a Domain with a Template","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"names\": [\n    \"sampledomain12000.com\"\n  ],\n  \"template\":547\n\n}"},"url":"https://api.dns.constellix.com/v1/domains"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:52:12 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=DC253CB30114E8226C5024707F6D0DA8; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"DC253CB30114E8226C5024707F6D0DA8","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":24082,\"name\":\"sampledomain12000.com\"}]"},{"id":"f1526d8d-4806-4d45-b5a4-04f4087e6dc5","name":"Create a domain","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"names\": [\n    \"sampledomain1000.com\",\n    \"sampledomain2000.com\"\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 15:16:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=A2706EC6E738BC5FD8E24AD33321A221; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"A2706EC6E738BC5FD8E24AD33321A221","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":24060,\"name\":\"sampledomain1000.com\"},{\"id\":24061,\"name\":\"sampledomain2000.com\"}]"}],"_postman_id":"252258bc-43d0-4b1e-a6ab-4868d6ff2084"},{"name":"Get a Specific Domain","event":[{"listen":"prerequest","script":{"id":"5b75c3ef-4719-4915-b44d-a51611509690","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"f1596680-d173-4105-906b-a26c126964a7","exec":[""],"type":"text/javascript"}}],"id":"b853b12e-1aa8-4bc5-8577-cf589a835537","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","type":"text"}],"url":"https://api.dns.constellix.com/v1/domains/24061","description":"<p>Returns an existing domain with the given ID.</p>\n<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>Id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>This domain id is System generated while creating domain, Required in the url.</p>\n      </td>\n    </tr>\n  </tbody>\n</table>","urlObject":{"protocol":"https","path":["v1","domains","24061"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"628fe71c-f789-4b79-ab2b-c3349b5325f2","name":"Get a specific domain","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/domains/24061"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 15:19:49 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"48D20837D1FC3B70242A96F9246F7AD8","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":24061,\"name\":\"sampledomain2000.com\",\"soa\":{\"primaryNameserver\":\"ns11.constellix.com.\",\"email\":\"dns.constellix.com.\",\"ttl\":86400,\"serial\":2015010102,\"refresh\":43200,\"retry\":3600,\"expire\":1209600,\"negCache\":180},\"createdTs\":\"2018-04-19T15:16:40Z\",\"modifiedTs\":\"2018-04-19T15:16:40Z\",\"typeId\":1,\"domainTags\":[],\"folder\":null,\"hasGtdRegions\":false,\"hasGeoIP\":false,\"nameserverGroup\":1,\"nameservers\":[\"ns11.constellix.com.\",\"ns21.constellix.com.\",\"ns31.constellix.com.\",\"ns41.constellix.net.\",\"ns51.constellix.net.\",\"ns61.constellix.net.\"],\"note\":\"\",\"version\":0,\"status\":\"ACTIVE\",\"tags\":null,\"contactIds\":[]}"}],"_postman_id":"b853b12e-1aa8-4bc5-8577-cf589a835537"},{"name":"Update an Existing Domain","event":[{"listen":"prerequest","script":{"id":"bb7b9f1d-8571-4980-b4f3-da63c2204953","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"2ce4bf2c-a6bf-4609-8dc8-9c6ffb26e9dd","exec":[""],"type":"text/javascript"}}],"id":"ab07895f-8edc-4bf1-b9bb-6703ccfed1d5","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n       \"soa\":{\n          \"primaryNameserver\":\"ns0.constellix.com.\",\n          \"email\":\"dns.constellix.com.\",\n          \"ttl\":\"864555\",\n          \"refresh\":\"43255\",\n          \"retry\":\"3650\",\n          \"expire\":\"1209655\",\n          \"negCache\":\"185\"\n       },\n       \"hasGtdRegions\":true,\n       \"hasGeoIP\":true\n}"},"url":"https://api.dns.constellix.com/v1/domains/24061","description":"<p>Update an existing domain in the user's account</p>\n<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>Id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>This domain id is System generated while creating domain, Required in the url.</p>\n      </td>\n    </tr>\n  </tbody>\n</table>","urlObject":{"protocol":"https","path":["v1","domains","24061"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"2447b223-98d7-42bb-86ad-9229444eaf1d","name":"Update an existing domain","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n       \"soa\":{\n          \"primaryNameserver\":\"ns0.constellix.com.\",\n          \"email\":\"dns.constellix.com.\",\n          \"ttl\":\"864555\",\n          \"refresh\":\"43255\",\n          \"retry\":\"3650\",\n          \"expire\":\"1209655\",\n          \"negCache\":\"185\"\n       },\n       \"hasGtdRegions\":true,\n       \"hasGeoIP\":true\n}"},"url":"https://api.dns.constellix.com/v1/domains/24061"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 15:21:25 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=90AE0C0D57BD30804FD84E456E0C72DD; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"90AE0C0D57BD30804FD84E456E0C72DD","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Domain sampledomain2000.com updated successfully\"}"}],"_postman_id":"ab07895f-8edc-4bf1-b9bb-6703ccfed1d5"},{"name":"Delete an Existing Domain","event":[{"listen":"prerequest","script":{"id":"30faaf53-696b-4a2b-a2b5-76d21720552b","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"c2416920-0a4e-4374-bfa1-358282e926c0","exec":[""],"type":"text/javascript"}}],"id":"2dec7573-174f-42d3-a2c3-ad6ae3b64c74","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/24061","description":"<p>Deletes an existing domain in the user's account with the specified ID.</p>\n<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>Id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>This domain id is System generated while creating domain, Required in the url.</p>\n      </td>\n    </tr>\n  </tbody>\n</table>","urlObject":{"protocol":"https","path":["v1","domains","24061"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"019576bf-46fc-4acd-88b0-eba93e13a87d","name":"Delete an existing domain","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/24061"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 15:22:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=85E0159250761054DE4F39EFA6F96EB3; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"85E0159250761054DE4F39EFA6F96EB3","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Domain sampledomain2000.com deleted successfully\"}"}],"_postman_id":"2dec7573-174f-42d3-a2c3-ad6ae3b64c74"}],"id":"15f917d0-6b9b-4a74-9265-8d712cc483a8","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated domain id. e.g \"id\": 16046 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of the domain. e.g \"sampledomain.com\"</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>typeId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated id for type</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>hasGtdRegions</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>GTD Region status of the domain. The Default value is false.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>hasGeoIP</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>GEO IP status status of the domain. The Default value is false.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>nameserverGroup</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows the nameserver group of domain. The Default nameserverGroup is 1.\n        </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>nameservers</p>\n      </td>\n      <td>\n        <p>String[]</p>\n      </td>\n      <td>\n        <p>List the Nameservers.  The Default nameservers are:\n        [\n        \"ns1.constellix.com.\",\n        \"ns2.constellix.com.\",\n        \"ns3.constellix.com.\",\n        \"ns4.constellix.com.\"\n      ]</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>createdTs</p>\n      </td>\n      <td>\n        <p>DateTime</p>\n      </td>\n      <td>\n        <p>System generated domain creation Date/time. e.g \"2017-08-11T14:41:44Z\"</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>modifiedTs</p>\n      </td>\n      <td>\n        <p>DateTime</p>\n      </td>\n      <td>\n        <p>System generated domain was last modified on Date/Time. e.g \"2017-08-11T14:41:44Z\"</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>notes while creating the domain. The maximum length will be 1000 characters.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>version</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated domain history version</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>status</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>System generated status of domain. There are three status of domain. \"ACTIVE\" (Default),  \"SUSPENDED\" and \"TERMINATED\"</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>tags</p>\n      </td>\n      <td>\n        <p>String[]</p>\n      </td>\n      <td>\n        <p>Id of tags applied on domain. The default value is empty</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa</p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td>\n        <p></p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>soa.primaryNameserver</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>The Default value of SOA Primary Nameserver is \"ns0.constellix.com.\". However, it is possible to create a custom SOA record with differing values if required. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.email</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>An Email Address specifies the mailbox of the person responsible for this zone. The default value is \"dns.constellix.com.\" </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.ttl</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The number of seconds that this SOA record will be cached in other resolving name servers. The Default value is \"86400\".TTL must be in between 0 and 2147483647 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.serial</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The starting serial number for the version of the zone. If the SOA record is applied to a domain that is already created (and thus already has a starting serial number), the existing serial number will be incremented by one. e.g 2015010196</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.refresh</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The time interval (in seconds) before the zone should be refreshed. The recommended value – 86400 (24 Hours). The default value is 43200 (12 hours)</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.retry</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The time interval (in seconds) before a failed refresh should be retried. Recommended value – 7200 (2 Hours). The default value is 1 hour</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.expire</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The time internal (in seconds) that specifies the upper limit on the time internally that can elapse before the zone is no longer authoritative. This is when the secondary name servers will expire if they are unable to refresh. Recommended value – up to 1209600 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>soa.negCache</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The amount of time a record not found is cached. Recommended values can vary, between 180 and 172800 (3 min – 2 days). The default value is 180</p>\n      </td>\n    </tr>    \n  </tbody>\n</table>","event":[{"listen":"prerequest","script":{"id":"132ef515-06d4-42a9-898c-15c5b6905c5c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4e762b3a-6e2f-4db8-bb0e-a8b1bea5e1d0","type":"text/javascript","exec":[""]}}],"_postman_id":"15f917d0-6b9b-4a74-9265-8d712cc483a8"},{"name":"Domain Records","item":[{"name":"A","item":[{"name":"Create a Record","event":[{"listen":"prerequest","script":{"id":"bb6cdef6-a16a-4a4d-aee2-cb64eb4a88d3","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"12434ee3-9a3d-4627-a72a-84324e9663f5","exec":[""],"type":"text/javascript"}}],"id":"cb6e8176-c6bb-413a-b94b-6346d300e8e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n     \n      \"ttl\": 1800,\n      \"roundRobin\": [\n        {\n          \"value\": \"15.45.25.35\",\n          \"disableFlag\": false\n        }\n      ]\n      \n}"},"url":"https://api.dns.constellix.com/v1/domains/24066/records/A","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","24066","records","A"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"76a3ab48-8363-416e-8422-83f12d1d6f27","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n     \n      \"name\": \"standardrecordwithGTD\",\n      \"ttl\": \"1800\",\n      \"roundRobin\": [\n        {\n          \"value\": \"15.45.25.35\",\n          \"disableFlag\": false\n        }\n      ],\n      \"gtdRegion\": 1\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/A"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"type\": \"A\",\n        \"recordType\": \"a\",\n        \"name\": \"standardrecordwithGTD\",\n        \"recordOption\": \"roundRobin\",\n        \"noAnswer\": false,\n        \"note\": \"\",\n        \"ttl\": 1800,\n        \"gtdRegion\": 1,\n        \"parentId\": 16075,\n        \"parent\": \"domain\",\n        \"source\": \"Domain\",\n        \"modifiedTs\": 1506083484099,\n        \"value\": [\n            \"15.45.25.35\"\n        ],\n        \"roundRobin\": [\n            {\n                \"value\": \"15.45.25.35\",\n                \"disableFlag\": false\n            }\n        ],\n        \"geolocation\": null,\n        \"roundRobinFailover\": null\n    }\n]"},{"id":"814b1c6b-3861-4dfa-badf-d638a2f59317","name":"standard record with disable flag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n      \n      \"name\": \"standard\",\n      \"ttl\": \"1800\",\n      \"roundRobin\": [\n        {\n          \"value\": \"15.45.25.35\",\n          \"disableFlag\": true\n        }\n      ]\n      \n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/A"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"description":"","key":"Connection","name":"Connection","value":"keep-alive"},{"description":"","key":"Content-Type","name":"Content-Type","value":"application/json;charset=utf-8"},{"description":"","key":"Date","name":"Date","value":"Thu, 21 Sep 2017 06:52:21 GMT"},{"description":"","key":"Server","name":"Server","value":"Apache-Coyote/1.1"},{"description":"","key":"Set-Cookie","name":"Set-Cookie","value":"JSESSIONID=143F7EFFAC9E646DD50FA3693C66E12C; Path=/; HttpOnly"},{"description":"","key":"Transfer-Encoding","name":"Transfer-Encoding","value":"chunked"},{"description":"","key":"X-Application-Context","name":"X-Application-Context","value":"application:test:9000"}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"143F7EFFAC9E646DD50FA3693C66E12C","key":"JSESSIONID"}],"responseTime":null,"body":"{\"errors\":[\"Standard should have atleast 1 active IP\"]}"},{"id":"89f3f73a-0fc9-441b-9f52-bcd4613252df","name":"Create a Standard Record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":" {\n     \n      \"ttl\": \"1800\",\n      \"roundRobin\": [\n        {\n          \"value\": \"15.45.25.35\",\n          \"disableFlag\": false\n        }\n      ]\n      \n}"},"url":"https://api.dns.constellix.com/v1/domains/24066/records/A"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 15:41:59 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=E9CB014069ED685DC7FCC477CFF3BF0C; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"E9CB014069ED685DC7FCC477CFF3BF0C","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":93142,\"type\":\"A\",\"recordType\":\"a\",\"name\":\"\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":24066,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1524152519581,\"value\":[\"15.45.25.35\"],\"roundRobin\":[{\"value\":\"15.45.25.35\",\"disableFlag\":false}],\"geolocation\":null,\"roundRobinFailover\":null}]"},{"id":"a7b95862-c6a4-49a8-a22f-f81ad7c7b2d3","name":"Pools record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"    {\n      \"gtdRegion\": 1,\n      \"recordOption\": \"pools\",\n      \"name\": \"poolrecord\",\n      \"ttl\": \"1800\",\n      \"note\": \"Pool for existing domain type A record.\",\n      \"pools\": [\n      2107,\n      2102\n      ]\n    }\n"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/A"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Fri, 22 Sep 2017 12:32:32 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=DF0F6795C08ADC305CE02ED2ECB61546; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"DF0F6795C08ADC305CE02ED2ECB61546","key":"JSESSIONID"}],"responseTime":null,"body":"[\n    {\n        \"id\": 3,\n        \"type\": \"A\",\n        \"recordType\": \"a\",\n        \"name\": \"poolrecord\",\n        \"recordOption\": \"pools\",\n        \"noAnswer\": false,\n        \"note\": \"Pool for existing domain type A record.\",\n        \"ttl\": 1800,\n        \"gtdRegion\": 1,\n        \"parentId\": 16075,\n        \"parent\": \"domain\",\n        \"source\": \"Domain\",\n        \"modifiedTs\": 1506083552372,\n        \"value\": [],\n        \"roundRobin\": [],\n        \"geolocation\": null,\n        \"roundRobinFailover\": null,\n        \"pools\": [\n            2107,\n            2102\n        ],\n        \"poolsDetail\": [\n            {\n                \"id\": 2107,\n                \"name\": \"pool_282\"\n            },\n            {\n                \"id\": 2102,\n                \"name\": \"pool9182017\"\n            }\n        ]\n    }\n]"},{"id":"b3dd5091-04a8-41cf-92b6-f928e19e3db0","name":"Roundrobin failover record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"    {\n      \n      \"recordOption\": \"roundRobinFailover\",\n      \"name\": \"roundRobinFailoverRecord\",\n      \"ttl\": \"1800\",\n      \"roundRobinFailover\": [\n      {\n        \"value\": \"15.45.25.35\",\n        \"sortOrder\": 1,\n        \"disableFlag\": false\n      },\n      {\n        \"value\": \"154.45.25.35\",\n        \"sortOrder\": 2,\n        \"disableFlag\": false\n      }\n      ]\n    }"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/A"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 05:44:20 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=FCB4BED1F8EF4064C58024E4ED722024; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"FCB4BED1F8EF4064C58024E4ED722024","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":3,\"type\":\"A\",\"recordType\":\"a\",\"name\":\"roundrobinfailoverrecord\",\"recordOption\":\"roundRobinFailover\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506318260381,\"value\":[\"15.45.25.35\",\"154.45.25.35\"],\"roundRobin\":[],\"geolocation\":null,\"roundRobinFailover\":[{\"value\":\"15.45.25.35\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":false},{\"value\":\"154.45.25.35\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}],\"contactIds\":null}]"},{"id":"bdfbce10-c733-4e88-8abb-d2d3697a4337","name":"Standard record with Geo Location","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n     \n      \"ttl\": \"1800\",\n      \"name\": \"StandardRecordwithGeolocation\",\n      \"roundRobin\": [\n        {\n          \"value\": \"15.45.25.35\",\n          \"disableFlag\": false\n        }\n      ],\n      \"geolocation\":{\n      \t\"geoipUserRegion\" :[1],\n      \t\"drop\":false,\n      \t\"geoipProximity\":null\n      \t\n      }\n      \n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/A"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 06:40:03 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=729FF63A1CFE929491BE949DBA92969C; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"729FF63A1CFE929491BE949DBA92969C","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":6,\"type\":\"A\",\"recordType\":\"a\",\"name\":\"standardrecordwithgeolocation\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506321602781,\"value\":[\"15.45.25.35\"],\"roundRobin\":[{\"value\":\"15.45.25.35\",\"disableFlag\":false}],\"geolocation\":{\"geoipFilter\":1,\"geoipFilterDetail\":{\"id\":1,\"name\":\"World (Default)\"},\"drop\":false},\"roundRobinFailover\":null}]"},{"id":"c36216d1-b12d-4a70-99f0-0ae30406e967","name":"Standard record with GeoIP Proximity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n     \n      \"ttl\": \"1800\",\n      \"name\" : \"standardwithGeoIProximity\",\n      \"roundRobin\": [\n        {\n          \"value\": \"15.45.25.35\",\n          \"disableFlag\": false\n        }\n      ],\n\t  \"geolocation\":{\n\t\t\"geoipUserRegion\":[],\n\t\t\"drop\":false,\n\t\t\"geoipProximity\": 686\n\t } \t\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/A"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 06:46:16 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=8C3DB1E81DB222A40B4D089FE03E1207; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"8C3DB1E81DB222A40B4D089FE03E1207","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":7,\"type\":\"A\",\"recordType\":\"a\",\"name\":\"standardwithgeoiproximity\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506321976395,\"value\":[\"15.45.25.35\"],\"roundRobin\":[{\"value\":\"15.45.25.35\",\"disableFlag\":false}],\"geolocation\":{\"drop\":false,\"geoipProximity\":686,\"geoipProximityDetail\":{\"id\":686,\"name\":\"Annaba\"}},\"roundRobinFailover\":null}]"},{"id":"fdce592a-9730-4411-818c-196c55c53320","name":"Failover Record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n      \n      \"recordOption\": \"failover\",\n      \"name\": \"failoverrecord\",\n      \"ttl\": \"1800\",\n      \"recordFailover\": {\n        \"values\": [\n          {\n            \"value\": \"15.45.25.35\",\n            \"sortOrder\": 1,\n            \"disableFlag\": false\n          },\n          {\n            \"value\": \"154.45.25.31\",\n            \"sortOrder\": 2,\n            \"disableFlag\": false\n          }\n        ],\n        \"failoverType\": 1,\n        \"disabled\": false\n      }\n    }"},"url":"https://api.dns.constellix.com/v1/domains/24066/records/A"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 15:43:29 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=5AE46485E407081D1F17A52A89108630; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"5AE46485E407081D1F17A52A89108630","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":93143,\"type\":\"A\",\"recordType\":\"a\",\"name\":\"failoverrecord\",\"recordOption\":\"failover\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":24066,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1524152609042,\"value\":[],\"roundRobin\":[],\"geolocation\":null,\"recordFailover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[{\"value\":\"15.45.25.35\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":false},{\"value\":\"154.45.25.31\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}]},\"failover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[{\"value\":\"15.45.25.35\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":false},{\"value\":\"154.45.25.31\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}]},\"roundRobinFailover\":null,\"contactIds\":null}]"}],"_postman_id":"cb6e8176-c6bb-413a-b94b-6346d300e8e5"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"ccf3dc6c-1b43-45b5-b494-302244940d09","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"a6ffb833-77bc-4c96-a5e5-918521db95d3","type":"text/javascript","exec":[""]}}],"id":"468fb2b0-b9fa-44c0-a60a-cc9bc129f07c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/domains/24066/records/A/93143","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","24066","records","A","93143"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"32d67aeb-4f5e-4370-8086-027811c436d4","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/domains/24066/records/A/93143"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 19:08:02 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=BE32190196DE1953FE5EA3F691BD592C; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"BE32190196DE1953FE5EA3F691BD592C","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":93143,\"type\":\"A\",\"recordType\":\"a\",\"name\":\"failoverrecord\",\"recordOption\":\"failover\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":24066,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1524152609041,\"value\":[],\"roundRobin\":[],\"geolocation\":null,\"recordFailover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[{\"value\":\"15.45.25.35\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":false},{\"value\":\"154.45.25.31\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}]},\"failover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[{\"value\":\"15.45.25.35\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":false},{\"value\":\"154.45.25.31\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}]},\"roundRobinFailover\":[],\"contactIds\":null}"}],"_postman_id":"468fb2b0-b9fa-44c0-a60a-cc9bc129f07c"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"0450b4e0-f69e-48af-9c20-31e41d2c8200","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"2827fd02-c6b4-47dd-b800-349bf662108b","exec":[""],"type":"text/javascript"}}],"id":"f05b8033-ede4-4c2d-a4db-441b3da64fd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"recordOption\": \"roundRobinFailover\",\n  \"name\": \"roundRobinFailoveredit\",\n  \"ttl\": 1800,\n  \"roundRobinFailover\": [\n    {\n      \"value\": \"15.45.25.23\",\n      \"sortOrder\": 1,\n      \"disableFlag\": false\n    },\n    {\n      \"value\": \"154.45.25.24\",\n      \"sortOrder\": 2,\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/24066/records/A/93143","description":"<p>Update a record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","24066","records","A","93143"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"4c5a18a8-459b-4172-ae7d-e5d238f72484","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"recordOption\": \"roundRobinFailover\",\n  \"name\": \"roundRobinFailoveredit\",\n  \"ttl\": \"1800\",\n  \"roundRobinFailover\": [\n    {\n      \"value\": \"15.45.25.23\",\n      \"sortOrder\": 1,\n      \"disableFlag\": false\n    },\n    {\n      \"value\": \"154.45.25.24\",\n      \"sortOrder\": 2,\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/24066/records/A/93143"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 19:29:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=A5688004C8A7B02FBF58155890663FED; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"A5688004C8A7B02FBF58155890663FED","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"f05b8033-ede4-4c2d-a4db-441b3da64fd7"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"62270594-8830-449d-b582-712001a778cc","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"a704e2e9-cd4b-4b0b-883a-d2c0fe718dca","type":"text/javascript","exec":[""]}}],"id":"df990d0c-b865-4d61-be25-7ea685d89dca","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/24066/records/A/93143","description":"<p>Deletes specific record of type A within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","24066","records","A","93143"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"a480ae05-be55-4b5c-ac2f-19fe61f333dc","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/24066/records/A/93143"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 19:41:55 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=7324F994854A84DEAE654EDB3C71425A; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"7324F994854A84DEAE654EDB3C71425A","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"df990d0c-b865-4d61-be25-7ea685d89dca"},{"name":"Delete domain  records","event":[{"listen":"prerequest","script":{"id":"86430cd3-9a63-4445-ba16-4ed83eb17dd3","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"52593366-efaa-485c-81e3-40c71463ebdc","type":"text/javascript","exec":[""]}}],"id":"899e6de1-78bd-403a-8594-8398eee56b79","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/24066/records/","description":"<p>Deletes all records of type A within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","24066","records",""],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"c3e478a2-59fd-42aa-ae21-83b647b3061a","name":"Delete domain  records","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/24066/records/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 19:42:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=53350AEF9F79790D3A438C0587F9C7D7; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"53350AEF9F79790D3A438C0587F9C7D7","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Records  deleted successfully\"}"}],"_postman_id":"899e6de1-78bd-403a-8594-8398eee56b79"}],"id":"96e4e354-1f4b-428a-bc3f-4029fb73ac23","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geolocation</p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td>\n        <p>Details of IP filter / Geo proximity to be applied. Default is null</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geolocation.\n        geoipUserRegion</p>\n      </td>\n      <td>\n        <p>Number[]</p>\n      </td>\n      <td>\n        <p>For Geo proximity to be applied. geoipUserRegion should be empty [].</p>\n        <p>For Geo IP Filter to be applied. geoipUserRegion should be [1].</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geolocation.\n        geoipProximity</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>a valid geoipProximity id. </p>\n        <p>for Geo IP Filter, geoipProximity must be null. </p>\n        <p>please create an A record with \"World (Default)\" IP Filter first before a more specific IP Filter is applied. The \"World (Default)\" record would only be used if no matching Filter or Proximity records are found.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geolocation.drop</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>drop flag. Default is false.</p>\n    </td>\n    </tr>      \n    <tr>\n      <td>\n        <p>recordOption</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n       <td>\n        <p>Type of record.</p>\n         <p>\"roundRobin\" for Standard record (Default) </p>\n         <p>\"failover\"  for Failover </p>\n         <p>\"pools\" for  Pools  </p>\n         <p>\"roundRobinFailover\" for Round Robin with Failover </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion <strong> </strong></p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.</p>\n        <p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type A</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n    <tr>\n      <td>\n        <p>contactIds </p>\n      </td>\n      <td>\n        <p>Number[]</p>\n      </td>\n      <td>\n        <p>Applied contact list id. Only applicable to record with type roundRobin with failover and failover.</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n   <tr>\n      <td>\n        <p>roundRobin.\n        value * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>IPv4 address</td>\n    </tr>\n       <tr>\n      <td>\n        <p>roundRobin.\n        disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the roundrobin object. Default is false. Atleast one roundrobin object should be false.</td>\n    </tr>    \n    <tr>\n      <td>\n        <p>recordFailover </p>\n      </td>\n      <td>\n        <p>Object[]</p>\n      </td>\n      <td></td>\n    </tr>\n<tr>\n      <td>\n        <p>recordFailover.\n        values * </p>\n      </td>\n      <td>\n        <p>Array</p>\n      </td>\n      <td>[]</td>\n    </tr>\n    <tr>\n      <td>\n        <p>recordFailover.\n        failoverType  * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>1 for  Normal (always lowest level) </p>\n        <p>2 for Off on any Failover event </p>\n        <p>3 for One Way (move to higher level)</p>\n      </td>\n    </tr>\n   <tr>\n      <td>\n        <p>recordFailover.\n        values.value * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>IPv4 address</td>\n    </tr>\n    <tr>\n      <td>\n        <p>recordFailover.\n        values.checkId </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>Sonar check Id.</td>\n    </tr>       \n    <tr>\n      <td>\n        <p>recordFailover.\n        values.disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the recordFailover value object. Default is false (Active). Atleast one recordFailover value object should be false.</td>\n    </tr>\n       <tr>\n      <td>\n        <p>recordFailover.\n        disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the recordFailover object. Default is false (Active). Atleast one recordFailover object should be false.</td>\n    </tr>    \n    <tr>\n      <td>\n        <p>pools</p>\n      </td>\n      <td>\n        <p>Number[]</p>\n      </td>\n      <td>Ids of Apool</td>\n    </tr>    \n    <tr>\n      <td>\n        <p>roundRobinFailover</p>\n      </td>\n      <td>\n        <p>Object[]</p>\n      </td>\n      <td></td>\n    </tr>    \n   <tr>\n      <td>\n        <p>roundRobinFailover.\n        values.value * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>IPv4 address</td>\n    </tr>\n   <tr>\n      <td>\n        <p>roundRobinFailover.\n        values.checkId </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>Sonar check id</td>\n    </tr>    \n    <tr>\n      <td>\n        <p>roundRobinFailover.\n        values.disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the recordFailover value object. Default is false (Active). Atleast one recordFailover value object should be false.</td>\n    </tr>\n       <tr>\n      <td>\n        <p>roundRobinFailover\n        .disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the recordFailover object. Default is false (Active). Atleast one recordFailover object should be false.</td>\n    </tr>     \n  </tbody>\n</table>","event":[{"listen":"prerequest","script":{"id":"901d27be-2bfe-4708-9958-69938fab456a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"35837a36-2954-4377-9798-a0332cb6ce22","type":"text/javascript","exec":[""]}}],"_postman_id":"96e4e354-1f4b-428a-bc3f-4029fb73ac23"},{"name":"AAAA","item":[{"name":"Create a record","event":[{"listen":"prerequest","script":{"id":"cd7dccda-a3bc-45b0-946c-f528aa53618e","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"2f289749-7177-4d89-8f76-3afa05bb77bb","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"ARecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"b5a0a940-c738-4522-b5d2-e3ef513078d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n     \n      \"ttl\": 1800,\n      \"roundRobin\": [\n        {\n          \"value\": \"0:0:0:0:0:0:0:6\",\n          \"disableFlag\": false\n        }\n      ]\n      \n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/aaaa","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","aaaa"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"4d8402ae-21f9-4db6-b553-8c953debf63a","name":"Failover record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n      \n      \"recordOption\": \"failover\",\n      \"name\": \"failoverrecord\",\n      \"ttl\": \"1800\",\n      \"recordFailover\": {\n        \"values\": [\n          {\n            \"value\": \"0:0:0:0:0:0:0:6\",\n            \"sortOrder\": 1,\n            \"disableFlag\": false\n          },\n          {\n            \"value\": \"0:0:0:0:0:0:0:4\",\n            \"sortOrder\": 2,\n            \"disableFlag\": false\n          }\n        ],\n        \"failoverType\": 1,\n        \"disabled\": false\n      }\n    }"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aaaa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 07:20:45 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=C58A6E7B82EA1870AE61B91C2B6F3FA6; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"C58A6E7B82EA1870AE61B91C2B6F3FA6","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":2,\"type\":\"AAAA\",\"recordType\":\"aaaa\",\"name\":\"failoverrecord\",\"recordOption\":\"failover\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506324045278,\"value\":[],\"roundRobin\":null,\"geolocation\":null,\"recordFailover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[{\"value\":\"0:0:0:0:0:0:0:6\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":true},{\"value\":\"0:0:0:0:0:0:0:4\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}]},\"roundRobinFailover\":null,\"contactIds\":null}]"},{"id":"58e719a4-c0b6-4e49-98e5-0bec0a61db6c","name":"Standard record with Geo Location","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n     \n      \"ttl\": \"1800\",\n      \"name\": \"StandardRecordwithGeolocation\",\n      \"roundRobin\": [\n        {\n          \"value\": \"0:0:0:0:0:0:0:6\",\n          \"disableFlag\": false\n        }\n      ],\n      \"geolocation\":{\n      \t\"geoipUserRegion\" :[1],\n      \t\"drop\":false,\n      \t\"geoipProximity\":null\n      \t\n      }\n      \n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aaaa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 07:27:03 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=2F9DFF19C6E6C4E305926D264B0D5D1A; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"2F9DFF19C6E6C4E305926D264B0D5D1A","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":5,\"type\":\"AAAA\",\"recordType\":\"aaaa\",\"name\":\"standardrecordwithgeolocation\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506324422065,\"value\":[\"0:0:0:0:0:0:0:6\"],\"roundRobin\":[{\"value\":\"0:0:0:0:0:0:0:6\",\"disableFlag\":false}],\"geolocation\":{\"geoipFilter\":1,\"geoipFilterDetail\":{\"id\":1,\"name\":\"World (Default)\"},\"drop\":false},\"roundRobinFailover\":null}]"},{"id":"85ebc1dd-736e-4ac3-a79a-914c51ae1adb","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n     \n      \"ttl\": \"1800\",\n      \"name\": \"StandardRecordwithGTD\",\n      \"roundRobin\": [\n        {\n          \"value\": \"0:0:0:0:0:0:0:6\",\n          \"disableFlag\": false\n        }\n      ],\n      \"gtdRegion\": 1\n      \n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aaaa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:29:36 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=F062F9FC1A8D7FAFC8D0CB9D34556F60; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"F062F9FC1A8D7FAFC8D0CB9D34556F60","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"AAAA\",\"recordType\":\"aaaa\",\"name\":\"standardrecordwithgtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507199376006,\"value\":[\"0:0:0:0:0:0:0:6\"],\"roundRobin\":[{\"value\":\"0:0:0:0:0:0:0:6\",\"disableFlag\":false}],\"geolocation\":null,\"roundRobinFailover\":null}]"},{"id":"8bd32f75-dd6c-44dc-b9dc-f7d44b6fbabb","name":"Pools record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"    {\n      \"gtdRegion\": 1,\n      \"recordOption\": \"pools\",\n      \"name\": \"poolrecord\",\n      \"ttl\": \"1800\",\n      \"pools\": [\n      508,\n      516\n      ]\n    }"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aaaa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 07:23:35 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=E7D1CB8B6160CC23CBD77689B6F09840; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"E7D1CB8B6160CC23CBD77689B6F09840","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":3,\"type\":\"AAAA\",\"recordType\":\"aaaa\",\"name\":\"poolrecord\",\"recordOption\":\"pools\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506324214727,\"value\":[],\"roundRobin\":null,\"geolocation\":null,\"pools\":[508,516],\"poolsDetail\":[{\"id\":508,\"name\":\"pool_764\"},{\"id\":516,\"name\":\"pool_931\"}],\"roundRobinFailover\":null}]"},{"id":"9aba2873-54f9-4a79-85ef-f974e87dd376","name":"Standard record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n     \n      \"ttl\": \"1800\",\n      \"roundRobin\": [\n        {\n          \"value\": \"0:0:0:0:0:0:0:6\",\n          \"disableFlag\": false\n        }\n      ]\n      \n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aaaa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 07:19:08 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=90C5995B551A82ADE95A80EDB5A13035; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"90C5995B551A82ADE95A80EDB5A13035","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"AAAA\",\"recordType\":\"aaaa\",\"name\":\"\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506323948198,\"value\":[\"0:0:0:0:0:0:0:6\"],\"roundRobin\":[{\"value\":\"0:0:0:0:0:0:0:6\",\"disableFlag\":false}],\"geolocation\":null,\"roundRobinFailover\":null}]"},{"id":"d0050108-87e7-4c39-8cc3-e57e2f52ba88","name":"Standard record with GeoIP Proximity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n     \n      \"ttl\": \"1800\",\n      \"name\" : \"standardwithGeoIProximity\",\n      \"roundRobin\": [\n        {\n          \"value\": \"0:0:0:0:0:0:0:6\",\n          \"disableFlag\": false\n        }\n      ],\n\t  \"geolocation\":{\n\t\t\"geoipUserRegion\":[],\n\t\t\"drop\":false,\n\t\t\"geoipProximity\": 686\n\t } \t\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aaaa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 07:27:41 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=1C87584932AF7DFB82F30C5F74948212; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"1C87584932AF7DFB82F30C5F74948212","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":6,\"type\":\"AAAA\",\"recordType\":\"aaaa\",\"name\":\"standardwithgeoiproximity\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506324461049,\"value\":[\"0:0:0:0:0:0:0:6\"],\"roundRobin\":[{\"value\":\"0:0:0:0:0:0:0:6\",\"disableFlag\":false}],\"geolocation\":{\"drop\":false,\"geoipProximity\":686,\"geoipProximityDetail\":{\"id\":686,\"name\":\"Annaba\"}},\"roundRobinFailover\":null}]"},{"id":"e5ec7fb8-42ff-4b79-a18a-6d7be0497ba0","name":"Roundrobin failover record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"    {\n      \n      \"recordOption\": \"roundRobinFailover\",\n      \"name\": \"roundRobinFailoverRecord\",\n      \"ttl\": \"1800\",\n      \"roundRobinFailover\": [\n      {\n        \"value\": \"0:0:0:0:0:0:0:6\",\n        \"sortOrder\": 1,\n        \"disableFlag\": false\n      },\n      {\n        \"value\": \"0:0:0:0:0:0:0:4\",\n        \"sortOrder\": 2,\n        \"disableFlag\": false\n      }\n      ]\n    }"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aaaa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 07:24:52 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=A5A53B6E3892BFFE0C303B2D8D922E98; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"A5A53B6E3892BFFE0C303B2D8D922E98","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":4,\"type\":\"AAAA\",\"recordType\":\"aaaa\",\"name\":\"roundrobinfailoverrecord\",\"recordOption\":\"roundRobinFailover\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506324291663,\"value\":[\"0:0:0:0:0:0:0:6\",\"0:0:0:0:0:0:0:4\"],\"roundRobin\":null,\"geolocation\":null,\"roundRobinFailover\":[{\"value\":\"0:0:0:0:0:0:0:6\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":false},{\"value\":\"0:0:0:0:0:0:0:4\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}],\"contactIds\":null}]"}],"_postman_id":"b5a0a940-c738-4522-b5d2-e3ef513078d4"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"19b5e3e5-a041-48c5-9b3e-da86f605276f","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"1143e0ad-58e7-4e1c-88b7-8a21c1ebd0e2","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"d30512f7-c7fc-4ebe-b656-c7f9c0d9db8b","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/aaaa/{{AAAARecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","aaaa","{{AAAARecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"0285a865-de0e-4c2c-a0fc-a73b48740b1e","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aaaa/{{AAAARecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 08:28:11 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=F9788D8BDBCD6F5AF9A7BE8E3D3B6230; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"F9788D8BDBCD6F5AF9A7BE8E3D3B6230","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"AAAA\",\"recordType\":\"aaaa\",\"name\":\"\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506323948198,\"value\":[\"0:0:0:0:0:0:0:6\"],\"roundRobin\":[{\"value\":\"0:0:0:0:0:0:0:6\",\"disableFlag\":false}],\"geolocation\":null,\"pools\":[],\"poolsDetail\":[],\"roundRobinFailover\":[]}"}],"_postman_id":"d30512f7-c7fc-4ebe-b656-c7f9c0d9db8b"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"77941578-09e5-4b3e-becd-4ccf0eb83b48","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"387c23ff-eced-42b2-9fa5-1381443510e4","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"b4e5283b-1f11-42dd-8084-51f84fdc423a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"recordOption\": \"roundRobinFailover\",\n  \"name\": \"roundRobinFailoveredit\",\n  \"ttl\": 1800,\n  \"roundRobinFailover\": [\n    {\n      \"value\": \"0:0:0:0:0:0:0:6\",\n      \"sortOrder\": 1,\n      \"disableFlag\": false\n    },\n    {\n      \"value\": \"0:0:0:0:0:0:0:4\",\n      \"sortOrder\": 2,\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/aaaa/{{AAAARecordId}}","description":"<p>Update a record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","aaaa","{{AAAARecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"12306171-d080-47c2-b5e5-e97e704a6bd0","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"recordOption\": \"roundRobinFailover\",\n  \"name\": \"roundRobinFailoveredit\",\n  \"ttl\": \"1800\",\n  \"roundRobinFailover\": [\n    {\n      \"value\": \"0:0:0:0:0:0:0:6\",\n      \"sortOrder\": 1,\n      \"disableFlag\": false\n    },\n    {\n      \"value\": \"0:0:0:0:0:0:0:4\",\n      \"sortOrder\": 2,\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aaaa/{{AAAARecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 08:29:48 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=BD4B015696889DA5E93CC21ACDE69C3A; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"BD4B015696889DA5E93CC21ACDE69C3A","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"b4e5283b-1f11-42dd-8084-51f84fdc423a"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"89987e93-64c9-4862-a3c3-443f9fbff4ff","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"150d6719-121f-4656-8344-46ac01ed0622","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"4be20508-4b83-4d5a-bd5f-00b4b64116c1","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/aaaa/{{AAAARecordId}}","description":"<p>Deletes specific record of type AAAA within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","aaaa","{{AAAARecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"60adffbc-2b56-4be3-93a4-57031964b671","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aaaa/{{AAAARecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 08:30:23 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=B92DB51D8D9A55A476652212CF50EAB7; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"B92DB51D8D9A55A476652212CF50EAB7","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"4be20508-4b83-4d5a-bd5f-00b4b64116c1"}],"id":"7b16147b-4ffb-4e79-8df9-797d8c1f3e5d","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geolocation</p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td>\n        <p>Details of IP filter / Geo proximity to be applied. Default is null</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geolocation.\n        geoipUserRegion</p>\n      </td>\n      <td>\n        <p>Number[]</p>\n      </td>\n      <td>\n        <p>For Geo proximity to be applied. geoipUserRegion should be empty [].</p>\n        <p>For Geo IP Filter to be applied. geoipUserRegion should be [1] .</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geolocation.\n        geoipProximity</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>a valid geoipProximity id. </p>\n        <p>for Geo IP Filter, geoipProximity must be null.</p>\n          <p>please create an AAAA record with \"World (Default)\" IP Filter first before a more specific IP Filter is applied. The \"World (Default)\" record would only be used if no matching Filter or Proximity records are found.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geolocation.drop</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>drop flag. Default is false.</p>\n    </td>     \n    </tr><tr>\n      <td>\n        <p>recordOption</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n            <td>\n        <p>Type of record.\n         <p>\"roundRobin\" for Standard record (Default) </p>\n         <p>\"failover\"  for Failover </p>\n         <p>\"pools\" for  Pools  </p>\n         <p>\"roundRobinFailover\" for Round Robin with Failover </p>\n         </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion <strong> </strong></p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p></p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type AAAA</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n    <tr>\n      <td>\n        <p>contactIds</p>\n      </td>\n      <td>\n        <p>Number[]</p>\n      </td>\n      <td>\n        <p>Applied contact list id. Only applicable to record with type roundRobin with failover and failover.</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n   <tr>\n      <td>\n        <p>roundRobin.value * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>IPv6 address</td>\n    </tr>\n       <tr>\n      <td>\n        <p>roundRobin.\n        disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the roundrobin object. Default is false. Atleast one roundrobin object should be false.</td>\n    </tr>    \n    <tr>\n      <td>\n        <p>recordFailover </p>\n      </td>\n      <td>\n        <p>Object[]</p>\n      </td>\n      <td></td>\n    </tr>\n<tr>\n      <td>\n        <p>recordFailover.values * </p>\n      </td>\n      <td>\n        <p>Array</p>\n      </td>\n      <td>[]</td>\n    </tr>\n    <tr>\n      <td>\n        <p>recordFailover.\n        failoverType  * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>\n        <p>1 for  Normal (always lowest level) </p>\n    <p>2 for Off on any Failover event </p>\n    <p>3 for One Way (move to higher level)</p>\n      </p></td>\n    </tr>\n       <tr>\n      <td>\n        <p>recordFailover.\n        values.value * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>IPv6 address</td>\n    </tr>\n     <tr>\n      <td>\n        <p>recordFailover.\n        values.checkId  </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>Sonar check id</td>\n    </tr>\n    <tr>\n      <td>\n        <p>recordFailover.\n        values.disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the recordFailover value object. Default is false (Active). Atleast one recordFailover value object should be false.</td>\n    </tr>\n       <tr>\n      <td>\n        <p>recordFailover.\n        disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the recordFailover object. Default is false (Active). Atleast one recordFailover object should be false.</td>\n    </tr>    \n    <tr>\n      <td>\n        <p>pools</p>\n      </td>\n      <td>\n        <p>Number[]</p>\n      </td>\n      <td>Ids of AAAApool</td>\n    </tr>    \n    <tr>\n      <td>\n        <p>roundRobinFailover</p>\n      </td>\n      <td>\n        <p>Object[]</p>\n      </td>\n      <td></td>\n    </tr>    \n   <tr>\n      <td>\n        <p>roundRobinFailover.\n        values.value * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>IPv6 address</td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobinFailover.\n        values.disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the recordFailover value object. Default is false (Active). Atleast one recordFailover value object should be false.</td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobinFailover.\n        values.checkId  </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>Sonar check id</td>\n    </tr>\n       <tr>\n      <td>\n        <p>roundRobinFailover.\n        disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the recordFailover object. Default is false (Active). Atleast one recordFailover object should be false.</td>\n    </tr>     \n  </tbody>\n</table>","event":[{"listen":"prerequest","script":{"id":"cd753823-c191-4cd0-8c56-f45f0f0d1222","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f8f5976c-a9b3-4e9d-acc5-677c788d6bd7","type":"text/javascript","exec":[""]}}],"_postman_id":"7b16147b-4ffb-4e79-8df9-797d8c1f3e5d"},{"name":"ANAME","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"3de7f380-14da-4e96-a028-4d89b29f5910","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"9b329fb9-8616-4b13-81ea-be7c277a2739","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"ANAMERecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"302b6c6a-1316-4fa9-9023-026b89c87664","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardrecord\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"value\": \"www.google.com.\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/aname","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","aname"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"0022855e-39fd-47db-89cd-305ce49715d6","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"StandardRecordwithGTD1\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"value\": \"www.google.com.\",\n      \"disableFlag\": false\n    }\n  ],\n  \"gtdRegion\": 1\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aname"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:31:06 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=6F3DF5C510DE69CCF71C1BF8E42D1F33; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"6F3DF5C510DE69CCF71C1BF8E42D1F33","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"ANAME\",\"recordType\":\"aname\",\"name\":\"standardrecordwithgtd1\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507199466745,\"value\":[{\"value\":\"www.google.com.\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"www.google.com.\",\"disableFlag\":false}]}]"},{"id":"136d1711-88e9-47e9-a763-b6f8839769a2","name":"Standard record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardrecord\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"value\": \"www.google.com.\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aname"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 09:37:38 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=2EF35CD51D26BBF851DDCBD2E454C251; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"2EF35CD51D26BBF851DDCBD2E454C251","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"ANAME\",\"recordType\":\"aname\",\"name\":\"standardrecord\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506332256518,\"value\":[{\"value\":\"www.google.com.\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"www.google.com.\",\"disableFlag\":false}]}]"},{"id":"62ddce64-f687-4cd2-bdf5-82a0a8aa526f","name":"Failover record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n      \"recordOption\": \"failover\",\n      \"name\": \"failoverrecordaname\",\n      \"ttl\": \"1800\",\n      \"recordFailover\": {\n        \"values\": [\n          {\n            \"value\": \"www.google.com.\",\n            \"sortOrder\": 1,\n            \"disableFlag\": false\n          },\n          {\n            \"value\": \"www.msn.com.\",\n            \"sortOrder\": 2,\n            \"disableFlag\": false\n          }\n        ],\n        \"failoverType\": 1,\n        \"disabled\": false\n      }\n    }"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aname"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 09:43:42 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=19ED8FBF65C1CCE24E3C4F09452E826F; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"19ED8FBF65C1CCE24E3C4F09452E826F","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"ANAME\",\"recordType\":\"aname\",\"name\":\"failoverrecordaname\",\"recordOption\":\"failover\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506332621392,\"value\":[],\"roundRobin\":null,\"recordFailover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[{\"id\":null,\"value\":\"www.google.com.\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":true},{\"id\":null,\"value\":\"www.msn.com.\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}]},\"failover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[{\"id\":null,\"value\":\"www.google.com.\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":true},{\"id\":null,\"value\":\"www.msn.com.\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}]},\"contactIds\":null}]"}],"_postman_id":"302b6c6a-1316-4fa9-9023-026b89c87664"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"3cc7363a-9668-4939-ad16-96bbd49518c1","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"bee93bbb-57e8-406c-8102-417822dfc00f","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"ea1b9269-b780-4d6d-b28c-14c4c3837f82","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/aname/{{ANAMERecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","aname","{{ANAMERecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"2a578fc5-ac0d-4511-b678-7866de8df3c9","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aname/{{ANAMERecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 09:45:28 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=4B23722C584B639F2345E718FAF92CBF; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"4B23722C584B639F2345E718FAF92CBF","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"ANAME\",\"recordType\":\"aname\",\"name\":\"failoverrecordaname\",\"recordOption\":\"failover\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506332621392,\"value\":[],\"roundRobin\":[],\"recordFailover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[{\"id\":null,\"value\":\"www.google.com.\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":true},{\"id\":null,\"value\":\"www.msn.com.\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}]},\"failover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[{\"id\":null,\"value\":\"www.google.com.\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":true},{\"id\":null,\"value\":\"www.msn.com.\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}]},\"contactIds\":null}"}],"_postman_id":"ea1b9269-b780-4d6d-b28c-14c4c3837f82"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"78fb3d91-e62c-4d40-9731-a9fe312fa311","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"5e015acf-8706-440d-9829-891fc49d949b","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"6e363341-e19d-41ee-b8a8-abb431d44be7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"gtdRegion\": 1,\n  \"recordOption\": \"roundRobin\",\n  \"name\": \"sr_aname\",\n  \"ttl\": 1800,\n  \"note\": \"ANAME standard record\",\n  \"roundRobin\": [\n    {\n      \"value\": \"www.google.com.\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/aname/{{ANAMERecordId}}","description":"<p>Update an existing domain ANAME record</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","aname","{{ANAMERecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"6300a9a1-cb96-4bd5-8e1c-d784fe6d720a","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"recordOption\": \"roundRobin\",\n  \"name\": \"standardrecordedit\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"value\": \"www.google.com.\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aname/{{ANAMERecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 09:46:27 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=3B0C1CFFEF59C5C255AAF243948BD7D7; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"3B0C1CFFEF59C5C255AAF243948BD7D7","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"6e363341-e19d-41ee-b8a8-abb431d44be7"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"c3f8ceca-5e9f-470d-8ab7-94f260c2c539","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"31a50726-f621-4d2b-9a6b-5f5957a6b437","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"89aac6ea-2efd-45bb-a434-64e69b2ac76e","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/aname/{{ANAMERecordId}}","description":"<p>Deletes a record of type ANAME within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","aname","{{ANAMERecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"b877547c-d15a-4ded-93b4-7ac8f85f5937","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/aname/{{ANAMERecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 21 Sep 2017 05:57:35 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=F2B3D7A9097E1EC14866EDD2447558D3; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"F2B3D7A9097E1EC14866EDD2447558D3","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"89aac6ea-2efd-45bb-a434-64e69b2ac76e"}],"id":"75a1458b-1201-47f1-ac1f-4fd5c5623d2c","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>recordOption</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n            <td>\n        <p>Type of record.\n         <p>\"roundRobin\" for Standard record (Default) </p>\n         <p>\"failover\"  for Failover </p>\n         </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion <strong> </strong></p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type ANAME</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n    <tr>\n      <td>\n        <p>contactIds</p>\n      </td>\n      <td>\n        <p>Number[]</p>\n      </td>\n      <td>\n        <p>Applied contact list id. Only applicable to record with type failover.</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n   <tr>\n      <td>\n        <p>roundRobin.\n        value * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>host name. <p>If \"Host\" value does not end in a dot, your domain name will be appended to it.</p></td>\n    </tr>\n       <tr>\n      <td>\n        <p>roundRobin.\n        disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the roundrobin object. Default is false. Atleast one roundrobin object should be false.</td>\n    </tr>    \n    <tr>\n      <td>\n        <p>recordFailover </p>\n      </td>\n      <td>\n        <p>Object[]</p>\n      </td>\n      <td></td>\n    </tr>\n<tr>\n      <td>\n        <p>recordFailover.\n        values * </p>\n      </td>\n      <td>\n        <p>Array</p>\n      </td>\n      <td>[]</td>\n    </tr>\n    <tr>\n      <td>\n        <p>recordFailover.\n        failoverType  * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>\n        <p>1 for  Normal (always lowest level) </p>\n    <p>2 for Off on any Failover event </p>\n    <p>3 for One Way (move to higher level)</p>\n      </p></td>\n    </tr>\n    <tr>\n      <td>\n        <p>recordFailover.\n        values.checkId  </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>Sonar check id.</td>\n    </tr>\n    \n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\"&gt;recordFailover.\n    values.disableFlag &amp;#42; &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\"&gt;Boolean&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\"&gt;enable or disable the recordFailover value object. Default is false (Active). Atleast one recordFailover value object should be false.&lt;/span&gt;&lt;/td&gt;\n&lt;/tr&gt;\n   &lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\"&gt;recordFailover.\n    disableFlag &amp;#42; &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\"&gt;Boolean&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\"&gt;enable or disable the recordFailover object. Default is false (Active). Atleast one recordFailover object should be false.&lt;/span&gt;&lt;/td&gt;\n&lt;/tr&gt;    \n</code></pre>  </tbody>\n</table>","_postman_id":"75a1458b-1201-47f1-ac1f-4fd5c5623d2c"},{"name":"CNAME","item":[{"name":"Create a record","event":[{"listen":"prerequest","script":{"id":"bc4c560b-441a-441a-aea4-09326c4897f3","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"91e70f3b-eab5-410c-8a90-5befcedeae18","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"ARecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"9afbbfa6-e546-487b-82a9-9c0e9c693ee4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n      \"name\": \"standardrecord\",\n      \"ttl\": 1800,\n      \"host\": \"www.\"\n\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/cname","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","cname"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"12b9cbea-3348-497e-9c2f-7d08e2de90f4","name":"Pools record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"recordOption\": \"pools\",\n  \"name\": \"poolsrecord\",\n  \"ttl\": \"1800\",\n  \"pools\": [\n    230\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cname"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 08:15:50 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=2C570172449AA822313B7B2A4B83FB44; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"2C570172449AA822313B7B2A4B83FB44","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":2,\"type\":\"CNAME\",\"recordType\":\"cname\",\"name\":\"poolsrecord\",\"recordOption\":\"pools\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506327347894,\"value\":\"\",\"roundRobin\":[],\"pools\":[230],\"poolsDetail\":[{\"id\":230,\"name\":\"bigpool\"}],\"geolocation\":null,\"host\":\"\"}]"},{"id":"13b3d35a-3f3b-4c4e-bf86-c6392b8d21b4","name":"Standard record with GeoIP Filter","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n      \"name\": \"standardrecordwithGeoIP\",\n      \"ttl\": \"1800\",\n      \"host\": \"www.\",\n      \"geolocation\":{\n      \t\"geoipUserRegion\" :[1],\n      \t\"drop\":false,\n      \t\"geoipProximity\":null\n      }\n\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cname"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 08:22:15 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=208E5A1AF1915AA9AA47348AE6A0EA47; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"208E5A1AF1915AA9AA47348AE6A0EA47","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":4,\"type\":\"CNAME\",\"recordType\":\"cname\",\"name\":\"standardrecordwithgeoip\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506327732286,\"value\":\"www.\",\"roundRobin\":[{\"value\":\"www.\",\"disableFlag\":false}],\"geolocation\":{\"geoipFilter\":1,\"geoipFilterDetail\":{\"id\":1,\"name\":\"World (Default)\"},\"drop\":false},\"host\":\"www.\"}]"},{"id":"1f21f901-cb67-4835-8a14-e2b56419c7fe","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n      \"name\": \"standardrecordGTD2\",\n      \"ttl\": \"1800\",\n      \"host\": \"www.\",\n       \"gtdRegion\": 1\n\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cname"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:32:06 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=5ED9DB5B70E7861E4629FA37D81A4ECF; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"5ED9DB5B70E7861E4629FA37D81A4ECF","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"CNAME\",\"recordType\":\"cname\",\"name\":\"standardrecordgtd2\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507199526086,\"value\":\"www.\",\"roundRobin\":[{\"value\":\"www.\",\"disableFlag\":false}],\"geolocation\":null,\"host\":\"www.\"}]"},{"id":"45954473-7a75-44fb-8ff3-8fd5321fb061","name":"Failover record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n      \n      \"recordOption\": \"failover\",\n      \"name\": \"failoverrecord1\",\n      \"ttl\": \"1800\",\n      \"recordFailover\": {\n        \"values\": [\n          {\n            \"value\": \"www.\",\n            \"sortOrder\": 1,\n            \"disableFlag\": false\n          },\n          {\n            \"value\": \"www\",\n            \"sortOrder\": 2,\n            \"disableFlag\": false\n          }\n        ],\n        \"failoverType\": 1,\n        \"disabled\": false\n      }\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cname"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 08:18:42 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=37C8C2E0508392563207CC0114765A98; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"37C8C2E0508392563207CC0114765A98","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":3,\"type\":\"CNAME\",\"recordType\":\"cname\",\"name\":\"failoverrecord1\",\"recordOption\":\"failover\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506327519522,\"value\":\"\",\"roundRobin\":[],\"recordFailover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[{\"id\":null,\"value\":\"www.\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":true},{\"id\":null,\"value\":\"www\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}]},\"geolocation\":null,\"host\":\"\",\"contactIds\":null}]"},{"id":"8810bfe0-f23c-447d-8563-17039df723a2","name":"Standard record with GeoIP Proximity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n      \"name\": \"standardrecordwithGeoProximity\",\n      \"ttl\": \"1800\",\n      \"host\": \"www.\",\n\t  \"geolocation\":{\n\t\t\"geoipUserRegion\":[],\n\t\t\"drop\":false,\n\t\t\"geoipProximity\": 686\n\t } \t\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cname"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 08:24:06 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=2FAACC96C9BF72673047ADDEDA5E222C; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"2FAACC96C9BF72673047ADDEDA5E222C","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":5,\"type\":\"CNAME\",\"recordType\":\"cname\",\"name\":\"standardrecordwithgeoproximity\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506327843521,\"value\":\"www.\",\"roundRobin\":[{\"value\":\"www.\",\"disableFlag\":false}],\"geolocation\":{\"drop\":false,\"geoipProximity\":686,\"geoipProximityDetail\":{\"id\":686,\"name\":\"Annaba\"}},\"host\":\"www.\"}]"},{"id":"dffed6ce-4c6d-4334-ae93-1674061652c5","name":"standard record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n      \"name\": \"standardrecord\",\n      \"ttl\": \"1800\",\n      \"host\": \"www.\"\n\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cname"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 08:08:45 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=61143F58A702004734214C94AB5E12CF; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"61143F58A702004734214C94AB5E12CF","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"CNAME\",\"recordType\":\"cname\",\"name\":\"standardrecord\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506326923680,\"value\":\"www.\",\"roundRobin\":[{\"value\":\"www.\",\"disableFlag\":false}],\"geolocation\":null,\"host\":\"www.\"}]"}],"_postman_id":"9afbbfa6-e546-487b-82a9-9c0e9c693ee4"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"da845b94-0777-4326-9975-32d741b1b48a","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"07976a4f-f21a-4689-989b-2d550eff9593","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"0cae1c8e-d863-4a95-9ab2-fb5e266cf642","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/cname/{{CNAMERecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","cname","{{CNAMERecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"b2772f14-b8ce-4f0c-ac81-c929a881f9db","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cname/{{CNAMERecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 08:25:17 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=B037C623764C74D5D3D09C4B73F726F8; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"B037C623764C74D5D3D09C4B73F726F8","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"CNAME\",\"recordType\":\"cname\",\"name\":\"standardrecord\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506326923680,\"value\":\"www.\",\"roundRobin\":[{\"value\":\"www.\",\"disableFlag\":false}],\"pools\":[],\"poolsDetail\":[],\"geolocation\":null,\"host\":\"www.\"}"}],"_postman_id":"0cae1c8e-d863-4a95-9ab2-fb5e266cf642"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"cbf748bd-639c-4f5d-ac58-36cf587b8e51","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"00d35f6d-8589-46c1-9ba0-1b5223765820","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"893db4a3-b414-4743-b3cb-4c1ab5ba746a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"recordOption\": \"roundRobinFailover\",\n  \"name\": \"roundRobinFailoveredit\",\n  \"ttl\": 1800,\n  \"roundRobinFailover\": [\n    {\n      \"value\": \"15.45.25.23\",\n      \"sortOrder\": 1,\n      \"disableFlag\": false\n    },\n    {\n      \"value\": \"154.45.25.24\",\n      \"sortOrder\": 2,\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/cname/{{CNAMERecordId}}","description":"<p>Update a record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","cname","{{CNAMERecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"7b04e5b7-134f-406f-847d-838c88b57cf6","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":" {\n      \"name\": \"standardrecord\",\n      \"ttl\": \"1800\",\n      \"host\": \"www\"\n\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cname/{{CNAMERecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 08:26:45 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=06AC61D4A8F77676DADFBA2DF9337E3D; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"06AC61D4A8F77676DADFBA2DF9337E3D","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"893db4a3-b414-4743-b3cb-4c1ab5ba746a"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"f0629ddf-6061-4f94-b23e-494402f593f5","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"f7dbc157-2fc5-4178-9917-52355e193f33","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"f49c0dfb-0d32-4e76-bc9d-b64a6646a497","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/cname/{{CNAMERecordId}}","description":"<p>Deletes specific record of type A within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","cname","{{CNAMERecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"e69f672e-b766-4686-a1bb-cb48ed360634","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cname/{{CNAMERecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 08:27:37 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=CD1AB23173D7F5CA29BD2131E98F4C48; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"CD1AB23173D7F5CA29BD2131E98F4C48","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"f49c0dfb-0d32-4e76-bc9d-b64a6646a497"}],"id":"e18640ef-1951-4f62-9704-077e7d50f580","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>\n  <tr>\n      <td>\n        <p>Host</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Enter the primary hostname for your record.</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>geolocation</p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td>\n        <p>Details of IP filter / Geo proximity to be applied. Default is null</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geolocation.\n        geoipUserRegion</p>\n      </td>\n      <td>\n        <p>Number[]</p>\n      </td>\n      <td>\n        <p>For Geo proximity to be applied. geoipUserRegion should be empty [].</p>\n        <p>For Geo IP Filter to be applied. geoipUserRegion should be [1].</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geolocation.\n        geoipProximity</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>a valid geoipProximity id. </p>\n        <p>for Geo IP Filter, geoipProximity must be null.</p>\n        <p>please create an CNAME record with \"World (Default)\" IP Filter first before a more specific IP Filter is applied. The \"World (Default)\" record would only be used if no matching Filter or Proximity records are found.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geolocation.\n        drop</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>drop flag. Default is false.</p>\n    </td>\n    </tr>      \n    <tr>\n      <td>\n        <p>recordOption</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n            <td>\n        <p>Type of record.\n         <p>\"roundRobin\" for Standard record (Default) </p>\n         <p>\"failover\"  for Failover </p>\n         <p>\"pools\" for  Pools  </p>\n         <p>\"roundRobinFailover\" for Round Robin with Failover </p>\n         </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion <strong> </strong></p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type CNAME</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n    <tr>\n      <td>\n        <p>contactIds</p>\n      </td>\n      <td>\n        <p>Number[]</p>\n      </td>\n      <td>\n        <p>Applied contact list id. Only applicable to record with type failover.</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>recordFailover </p>\n      </td>\n      <td>\n        <p>Object[]</p>\n      </td>\n      <td></td>\n    </tr>\n<tr>\n      <td>\n        <p>recordFailover.\n        values * </p>\n      </td>\n      <td>\n        <p>Array</p>\n      </td>\n      <td>[]</td>\n    </tr>\n    <tr>\n      <td>\n        <p>recordFailover.\n        failoverType  * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>\n        <p>1 for  Normal (always lowest level) </p>\n    <p>2 for Off on any Failover event </p>\n    <p>3 for One Way (move to higher level)</p>\n      </p></td>\n    </tr>\n   <tr>\n      <td>\n        <p>recordFailover.\n        values.value * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>host name</td>\n    </tr>\n   <tr>\n      <td>\n        <p>recordFailover.\n        values.checkId  </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>Sonar check id</td>\n    </tr>    \n    <tr>\n      <td>\n        <p>recordFailover.\n        values.disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the recordFailover value object. Default is false (Active). Atleast one recordFailover value object should be false.</td>\n    </tr>\n       <tr>\n      <td>\n        <p>recordFailover.\n        disableFlag * </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the recordFailover object. Default is false (Active). Atleast one recordFailover object should be false.</td>\n    </tr>    \n    <tr>\n      <td>\n        <p>pools</p>\n      </td>\n      <td>\n        <p>Number[]</p>\n      </td>\n      <td>Ids of CNAMEpool</td>\n    </tr>         \n  </tbody>\n</table>","event":[{"listen":"prerequest","script":{"id":"4d1d8f5c-a19f-4ba8-9952-79ccdb82c737","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"067d9b68-a3b0-4fe2-b7a5-0d289bb45f5b","type":"text/javascript","exec":[""]}}],"_postman_id":"e18640ef-1951-4f62-9704-077e7d50f580"},{"name":"HINFO","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"1fd469e9-e0a3-4e19-aa85-56e0c3b1885a","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"219b2157-c63e-4156-87c5-a8ba214f0ed0","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"HinfoRecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"2237eabb-e115-494c-bb73-3e415c135f6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \n  \"name\": \"standardrecordHinfo\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"cpu\": \"quard core\",\n      \"os\": \"linux\"\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/hinfo","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","hinfo"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"4a1e05c0-87f4-4864-bce0-89eff6d5386e","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \n  \"name\": \"standardrecordHinfoWithGTD\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"cpu\": \"quard core\",\n      \"os\": \"linux\"\n    }\n  ],\n  \"gtdRegion\": 1\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/hinfo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:34:00 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=5C1756CEA79261B7D0BE51C8DEAA8870; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"5C1756CEA79261B7D0BE51C8DEAA8870","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"HINFO\",\"recordType\":\"hinfo\",\"name\":\"standardrecordhinfowithgtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507199640296,\"value\":[{\"cpu\":\"quard core\",\"os\":\"linux\",\"disableFlag\":false}],\"roundRobin\":[{\"cpu\":\"quard core\",\"os\":\"linux\",\"disableFlag\":false}]}]"},{"id":"9ebf8d2e-ee55-4f09-a0ca-cadf022c137e","name":"Standard record ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \n  \"name\": \"standardrecordHinfo\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"cpu\": \"quard core\",\n      \"os\": \"linux\"\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/hinfo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 09:48:48 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=DB242C8D90318366A364FDAF8E79301D; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"DB242C8D90318366A364FDAF8E79301D","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"HINFO\",\"recordType\":\"hinfo\",\"name\":\"standardrecordhinfo\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506332927039,\"value\":[{\"cpu\":\"quard core\",\"os\":\"linux\",\"disableFlag\":false}],\"roundRobin\":[{\"cpu\":\"quard core\",\"os\":\"linux\",\"disableFlag\":false}]}]"}],"_postman_id":"2237eabb-e115-494c-bb73-3e415c135f6d"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"6211a2b0-f99d-4950-bcc9-9655df9146c5","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"bac5527d-b60c-43e6-a17b-f9b226c3f118","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"daab7aa6-3619-4fb4-9b8f-b332c62b3cc0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/hinfo/{{HinfoRecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","hinfo","{{HinfoRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"ff8e46ac-3b82-41fc-9c56-0a6c92ec0437","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/hinfo/{{HinfoRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 09:53:24 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=08B7C1A1EAF90018E390B5A8AEFBF5CA; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"08B7C1A1EAF90018E390B5A8AEFBF5CA","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"HINFO\",\"recordType\":\"hinfo\",\"name\":\"standardrecordhinfo\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506332927039,\"value\":[{\"cpu\":\"quard core\",\"os\":\"linux\",\"disableFlag\":false}],\"roundRobin\":[{\"cpu\":\"quard core\",\"os\":\"linux\",\"disableFlag\":false}]}"}],"_postman_id":"daab7aa6-3619-4fb4-9b8f-b332c62b3cc0"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"2cb39a99-88fc-4886-92f0-d932149b13e9","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"331d02c8-b915-4e79-b918-cb1122e75f3d","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"cc2d88b7-dd09-4c5d-952b-52d28427b93b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardrecordHinfoEdit\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"cpu\": \"intel quard core \",\n      \"os\": \"linux\"\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/hinfo/{{HinfoRecordId}}","description":"<p>Update an existing domain in the user's account</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","hinfo","{{HinfoRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"2a779222-fa9e-4cb5-bf21-b0dd8653d8f8","name":"standard record edit","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardrecordHinfoEdit\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"cpu\": \"intel quard core \",\n      \"os\": \"linux\"\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/hinfo/{{HinfoRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 09:54:31 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=2763F1D6157FA087943525060122A0AB; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"2763F1D6157FA087943525060122A0AB","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"cc2d88b7-dd09-4c5d-952b-52d28427b93b"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"5a0b9f83-e05f-4807-937c-4a58c1d33d28","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"babfeeaa-0068-4157-a507-343a6e363911","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"d2e82a62-fc26-467d-8d05-ed44672d1c11","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/hinfo/{{HinfoRecordId}}","description":"<p>Deletes a record of type hinfo within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","hinfo","{{HinfoRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"2080b902-bf9d-4a5c-be03-1c3563a10889","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/hinfo/{{HinfoRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 09:56:05 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=8FB211F5337FB995C9E4639927ECA6F3; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"8FB211F5337FB995C9E4639927ECA6F3","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"d2e82a62-fc26-467d-8d05-ed44672d1c11"}],"id":"bac10198-3f2f-4d1f-a3f2-a3959def00e1","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion <strong> </strong></p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type HINFO</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n    <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n   <tr>\n      <td>\n        <p>roundRobin.cpu * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>A description of basic system hardware</td>\n    </tr>\n   <tr>\n      <td>\n        <p>roundRobin.os * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>A description of the operating system and version</td>\n    </tr>    \n       <tr>\n      <td>\n        <p>roundRobin.disableFlag </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the roundrobin object. Default is false. Atleast one roundrobin object should be false.</td>\n    </tr>       \n  </tbody>\n</table>","_postman_id":"bac10198-3f2f-4d1f-a3f2-a3959def00e1"},{"name":"HTTP Redirection","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"f7a6bc0f-80a7-485f-bc5d-50b7cbd3e8f3","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"5d12789b-7245-4958-b31d-7f925ebea599","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"HttpRedirectionRecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"566a7654-bcfa-40a6-9197-36bb77b4daeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \n  \"name\": \"standardhttpredirection\",\n  \"ttl\": 1800,\n  \"redirectTypeId\": \"1\",\n  \"url\": \"http://www.google.com\"\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/httpredirection","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","httpredirection"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"90bf5e56-cdec-4953-a7f0-a0e6c9aaa565","name":"Create a domain  record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \n  \"name\": \"standardhttpredirection\",\n  \"ttl\": \"1800\",\n  \"redirectTypeId\": \"1\",\n  \"url\": \"http://www.google.com\"\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/httpredirection"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 10:21:29 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=F9A216A36A2C851DAF8CD7A79DEDD21C; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"F9A216A36A2C851DAF8CD7A79DEDD21C","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":2,\"type\":\"HTTPRedirection\",\"recordType\":\"httpredirection\",\"name\":\"standardhttpredirection\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506334887737,\"value\":\"http://www.google.com\",\"roundRobin\":[{\"value\":\"http://www.google.com\"}],\"title\":null,\"keywords\":null,\"description\":null,\"hardlinkFlag\":false,\"redirectTypeId\":1,\"url\":\"http://www.google.com\"}]"},{"id":"ca53beb6-521c-4437-a2a7-ca2110f569cd","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \n  \"name\": \"standardhttpredirectionGTD\",\n  \"ttl\": \"1800\",\n  \"redirectTypeId\": \"1\",\n  \"url\": \"http://www.google.com\",\n  \"gtdRegion\": 1\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/httpredirection"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:34:48 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=B9C1B29FD4511F477F5FB303D6F5B2BA; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"B9C1B29FD4511F477F5FB303D6F5B2BA","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"HTTPRedirection\",\"recordType\":\"httpredirection\",\"name\":\"standardhttpredirectiongtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507199688595,\"value\":\"http://www.google.com\",\"roundRobin\":[{\"value\":\"http://www.google.com\"}],\"title\":null,\"keywords\":null,\"description\":null,\"hardlinkFlag\":false,\"redirectTypeId\":1,\"url\":\"http://www.google.com\"}]"}],"_postman_id":"566a7654-bcfa-40a6-9197-36bb77b4daeb"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"97cee74a-35d0-4b75-aa92-b8ce7d396fb5","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"457c10bc-462a-4fe3-95ab-123566f5379a","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"907f8460-c270-4c83-aa86-afabe95e4746","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/httpredirection/{{HttpRedirectionRecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","httpredirection","{{HttpRedirectionRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"0c9fc663-31dd-4329-989f-50e779bc4bbd","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/httpredirection/{{HttpRedirectionRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 21 Sep 2017 05:48:57 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=05CBAF73ED2F5117A8808CF34AAC560F; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"05CBAF73ED2F5117A8808CF34AAC560F","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"HTTPRedirection\",\"recordType\":\"httpredirection\",\"name\":\"sr_http_redirection\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":15974,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1505972886971,\"value\":\"http://www.google.com\",\"roundRobin\":[{\"value\":\"http://www.google.com\"}],\"title\":null,\"keywords\":null,\"description\":null,\"hardlinkFlag\":true,\"redirectTypeId\":2,\"url\":\"http://www.google.com\"}"}],"_postman_id":"907f8460-c270-4c83-aa86-afabe95e4746"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"46a407f6-7e02-4beb-b8a2-bd96443bafa2","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"ab633682-d5ac-4d98-b429-9a4c554c9017","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"cd7779e0-941a-4f33-ad79-ccf431117c3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"sr_http_redirection_edit\",\n  \"ttl\": 1800,\n  \"title\": \"http redirection automation edit\",\n  \"keywords\": \"automation  http redirection\",\n  \"description\": \"it will redirect test domain.\",\n  \"hardlinkFlag\": false,\n  \"redirectTypeId\": \"2\",\n  \"url\": \"http://www.google.com\"\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/httpredirection/{{HttpRedirectionRecordId}}","description":"<p>Update an existing record of type httpredirection within the specific domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","httpredirection","{{HttpRedirectionRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"b3f7680a-b062-4520-b0b1-07baf6f4e4f9","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"sr_http_redirection_edit\",\n  \"ttl\": \"1800\",\n  \"title\": \"http redirection automation edit\",\n  \"keywords\": \"automation  http redirection\",\n  \"description\": \"it will redirect test domain.\",\n  \"hardlinkFlag\": false,\n  \"redirectTypeId\": \"2\",\n  \"url\": \"http://www.google.com\"\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/httpredirection/{{HttpRedirectionRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 10:26:57 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=38F3BDE7895965E2A2453DCAC8217CDD; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"38F3BDE7895965E2A2453DCAC8217CDD","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"cd7779e0-941a-4f33-ad79-ccf431117c3c"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"63bb70b9-1581-4c51-8a81-87daf113f7db","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"2d1fecb6-6731-431b-a3d5-461030b6b8d4","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"49ec31d6-88be-4741-b04f-dbd2d9bc9691","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/httpredirection/{{HttpRedirectionRecordId}}","description":"<p>Deletes a record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","httpredirection","{{HttpRedirectionRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"24203576-b8da-4ced-892a-bd06bf4526d0","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/httpredirection/{{HttpRedirectionRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 10:27:42 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=63876333CDD62BFF0C33EFEE33FE1781; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"63876333CDD62BFF0C33EFEE33FE1781","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"49ec31d6-88be-4741-b04f-dbd2d9bc9691"}],"id":"cc2a84b6-50b5-4510-aa46-5d3f5db43cd1","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>title </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>title of redirection </p>\n      </td>\n    </tr>\n   <tr>\n      <td>\n        <p>keywords </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p> space separated keywords</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>description</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>description</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion <strong> </strong></p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>url <strong>* </strong> </p>\n      </td>\n      <td>\n        <p>string</p>\n      </td>\n      <td>\n        <p>url link to redirect</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type HTTP Redirection</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>hardlinkFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>hardlink flag. Default is false</p>\n      </td>\n    </tr>\n  <tr>\n      <td>\n        <p>redirectTypeId <strong>* </strong></p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>\n        <p>1 for Hidden Frame Masked</p>\n        <p>2 for Standard - 301</p>\n        <p>3 for Standard - 302</p>\n      </p></td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n  </tbody>\n</table>","_postman_id":"cc2a84b6-50b5-4510-aa46-5d3f5db43cd1"},{"name":"MX","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"924544fd-c3bc-4d14-ab91-f4cf91747327","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"090ec3ec-7564-4ce9-bacf-ef97ee8df88b","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"MXRecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"1ee30036-9e7a-42ff-9b58-56824661200c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardMXrecord\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"value\": \"domainDocument.\",\n      \"level\": 0,\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/mx","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","mx"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"daa9d657-0f4f-4281-8b4d-cfe4c9c3a76a","name":"Create a domain  record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardMXrecord\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"value\": \"domainDocument.\",\n      \"level\": 10,\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/mx"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 10:48:33 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=B2A450788CEAEFC922E22D436294B80C; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"B2A450788CEAEFC922E22D436294B80C","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"MX\",\"recordType\":\"mx\",\"name\":\"standardmxrecord\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506336510499,\"value\":[{\"value\":\"domainDocument.\",\"level\":10,\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"domainDocument.\",\"level\":10,\"disableFlag\":false}]}]"},{"id":"e9523da8-14f8-495c-90ef-bfa8c12ffed0","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardMXrecordGTD\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"value\": \"domainDocument.\",\n      \"level\": 10,\n      \"disableFlag\": false\n    }\n  ],\n   \"gtdRegion\": 1\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/mx"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:36:01 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=2AA137766B0EF7EAF30353FC14898367; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"2AA137766B0EF7EAF30353FC14898367","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"MX\",\"recordType\":\"mx\",\"name\":\"standardmxrecordgtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507199760917,\"value\":[{\"value\":\"domainDocument.\",\"level\":10,\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"domainDocument.\",\"level\":10,\"disableFlag\":false}]}]"},{"id":"ede676a4-4f9a-4621-a0b9-6378fa81ec36","name":"Create a domain  record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardMXrecord\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"server\": \"domainDocument.\",\n      \"level\": 0,\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/mx"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 19 Oct 2017 11:49:41 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=A60468C12F3BA41F227F842A3DC88667; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""},{"key":"requestLimitHeader","value":"10000000","name":"requestLimitHeader","description":""},{"key":"requestsRemainingHeader","value":"9999998","name":"requestsRemainingHeader","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"A60468C12F3BA41F227F842A3DC88667","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":202025,\"type\":\"MX\",\"recordType\":\"mx\",\"name\":\"standardmxrecord\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1508413779097,\"value\":[{\"value\":\"\",\"level\":0,\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"\",\"level\":0,\"disableFlag\":false}]}]"}],"_postman_id":"1ee30036-9e7a-42ff-9b58-56824661200c"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"293b66ef-bd2d-41b3-a525-b5d0ce84d7fb","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"67608ca6-084c-4326-8be7-082af97e21a6","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"0c0175d3-ee70-43c9-a493-9192a4cdbad2","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/mx/{{MXRecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","mx","{{MXRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"5aaaa994-4eff-4795-8af1-c9cfd6f92492","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/mx/{{MXRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 10:49:41 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=7634692C029FE5C616B63409AB1A583A; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"7634692C029FE5C616B63409AB1A583A","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"MX\",\"recordType\":\"mx\",\"name\":\"standardmxrecord\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506336510499,\"value\":[{\"value\":\"domainDocument.\",\"level\":10,\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"domainDocument.\",\"level\":10,\"disableFlag\":false}]}"}],"_postman_id":"0c0175d3-ee70-43c9-a493-9192a4cdbad2"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"44f1b2b1-8d30-4a2a-9f0f-bcbdb68f325b","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"d71fc4f3-be2e-42e8-aff6-a654ebc4a237","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"ce6be70a-4567-4fe8-afb2-6b8e09cc0182","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardrecordMXedit\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"value\": \"domainDocument.\",\n      \"level\": \"300\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/mx/{{MXRecordId}}","description":"<p>Update a record of type MX within the specific domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","mx","{{MXRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"15318a2f-5a34-419b-8da7-424eee3a62ce","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardrecordMXedit\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"value\": \"domainDocument.\",\n      \"level\": \"300\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/mx/{{MXRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 10:50:50 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=BCAB1101E21C8168B3827EB3B9B9FA41; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"BCAB1101E21C8168B3827EB3B9B9FA41","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"ce6be70a-4567-4fe8-afb2-6b8e09cc0182"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"93136e68-a2de-47df-99a6-824ef5547432","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"b5a56d4b-4389-47da-b872-5fc80d5e9f76","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"2e983efe-ff67-41d0-bec0-a43b681a17f7","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/mx/{{MXRecordId}}","description":"<p>Deletes an existing domain in the user's account with the specified ID.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","mx","{{MXRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"c256c08c-a6e5-4a67-9e64-00b5f03b7667","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/mx/{{MXRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 19 Sep 2017 13:43:58 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=60E22FC675CFA43F0A38796A915E1012; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"60E22FC675CFA43F0A38796A915E1012","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"2e983efe-ff67-41d0-bec0-a43b681a17f7"}],"id":"a90597ee-59b7-41f6-bd9a-d0b338604478","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n   <tr>\n      <td>\n        <p>roundRobin.value * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td> The mail server that will accept mail for the host that is specified in the name field. Your domain name is automatically appended to your value if it does not end it a dot.</td>\n    </tr>\n   <tr>\n      <td>\n        <p>roundRobin.level * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>Level must be in between 0 and 65535. The MX level determines the order (by priority) that remote mail servers will attempt to deliver email. The mail server with the lowest MX level will be the first priority.</td>\n    </tr>    \n       <tr>\n      <td>\n        <p>roundRobin.disableFlag </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>enable or disable the roundrobin object. Default is false. Atleast one roundrobin object should be false.</td>\n    </tr>    \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion <strong> </strong></p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type MX</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n  </tbody>\n</table>","_postman_id":"a90597ee-59b7-41f6-bd9a-d0b338604478"},{"name":"NAPTR","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"33267dd3-81b7-4e57-802a-7465c8040d8c","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"b7aa75b5-4276-4952-8ed0-3d3cc934300b","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"NAPTRRecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"44be67a6-79c7-41ef-9742-2a41e36ef467","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardnaptr\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"order\": 10,\n      \"preference\": 100,\n      \"flags\": \"s\",\n      \"service\": \"SIP+D2U\",\n      \"regularExpression\": \"\",\n      \"replacement\": \"foo.example.com.\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/naptr","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","naptr"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"2fbfb4a8-1154-41f8-aab5-ddef89a1619a","name":"standard record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardnaptr\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"order\": 10,\n      \"preference\": 100,\n      \"flags\": \"s\",\n      \"service\": \"SIP+D2U\",\n      \"regularExpression\": \"\",\n      \"replacement\": \"foo.example.com.\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/naptr"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 11:11:35 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=DA83E80AD3DEDF7A5CFD8B5DE546021D; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"DA83E80AD3DEDF7A5CFD8B5DE546021D","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":2,\"type\":\"NAPTR\",\"recordType\":\"naptr\",\"name\":\"standardnaptr\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506337894316,\"value\":[{\"order\":10,\"preference\":100,\"flags\":\"s\",\"service\":\"SIP+D2U\",\"regularExpression\":\"\",\"replacement\":\"foo.example.com.\",\"disableFlag\":false}],\"roundRobin\":[{\"order\":10,\"preference\":100,\"flags\":\"s\",\"service\":\"SIP+D2U\",\"regularExpression\":\"\",\"replacement\":\"foo.example.com.\",\"disableFlag\":false}]}]"},{"id":"3a8483f9-bbf2-47aa-b6f9-39a1823d412c","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardnaptrGTD\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"order\": 10,\n      \"preference\": 100,\n      \"flags\": \"s\",\n      \"service\": \"SIP+D2U\",\n      \"regularExpression\": \"\",\n      \"replacement\": \"foo.example.com.\",\n      \"disableFlag\": false\n    }\n  ],\n  \"gtdRegion\": 1\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/naptr"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:36:50 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=4951A4891D704C664A14E6B1F90F097B; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"4951A4891D704C664A14E6B1F90F097B","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"NAPTR\",\"recordType\":\"naptr\",\"name\":\"standardnaptrgtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507199810166,\"value\":[{\"order\":10,\"preference\":100,\"flags\":\"s\",\"service\":\"SIP+D2U\",\"regularExpression\":\"\",\"replacement\":\"foo.example.com.\",\"disableFlag\":false}],\"roundRobin\":[{\"order\":10,\"preference\":100,\"flags\":\"s\",\"service\":\"SIP+D2U\",\"regularExpression\":\"\",\"replacement\":\"foo.example.com.\",\"disableFlag\":false}]}]"}],"_postman_id":"44be67a6-79c7-41ef-9742-2a41e36ef467"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"db0df357-eece-4fc4-83e0-2602f1b9580d","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"eb97feff-3488-495f-aff4-1bbbd1c055e5","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"da61887a-b9aa-4048-882e-da5a25561a67","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/naptr/{{NAPTRRecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","naptr","{{NAPTRRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"cd423773-1e8a-4f4c-bbef-e786fb596bb2","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/naptr/{{NAPTRRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 11:15:21 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=EC2EFDB8AD47D21C166A719C9FA59AD0; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"EC2EFDB8AD47D21C166A719C9FA59AD0","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":2,\"type\":\"NAPTR\",\"recordType\":\"naptr\",\"name\":\"standardnaptr\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506337894316,\"value\":[{\"order\":10,\"preference\":100,\"flags\":\"s\",\"service\":\"SIP+D2U\",\"regularExpression\":\"\",\"replacement\":\"foo.example.com.\",\"disableFlag\":false}],\"roundRobin\":[{\"order\":10,\"preference\":100,\"flags\":\"s\",\"service\":\"SIP+D2U\",\"regularExpression\":\"\",\"replacement\":\"foo.example.com.\",\"disableFlag\":false}]}"}],"_postman_id":"da61887a-b9aa-4048-882e-da5a25561a67"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"7a204361-7b5b-4397-a1b8-9b4ca25a3105","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"0f4cbcef-6679-4d4e-880a-4f7434c8eb37","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"eef898b5-bd06-4749-9ed0-eaebc67a1044","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardnaptredit\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"order\": 20,\n      \"preference\": 100,\n      \"flags\": \"s\",\n      \"service\": \"SIP+D2U\",\n      \"regularExpression\": \"\",\n      \"replacement\": \"foo.example.com.\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/naptr/{{NAPTRRecordId}}","description":"<p>Update an existing domain in the user's account</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","naptr","{{NAPTRRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"15918ae7-e976-416b-9a48-0bdd21cf64a0","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardnaptredit\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"order\": 20,\n      \"preference\": 100,\n      \"flags\": \"s\",\n      \"service\": \"SIP+D2U\",\n      \"regularExpression\": \"\",\n      \"replacement\": \"foo.example.com.\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/naptr/{{NAPTRRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 11:16:52 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=7547C7AD7D6558E3CFB997FA1AFC50A3; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"7547C7AD7D6558E3CFB997FA1AFC50A3","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"eef898b5-bd06-4749-9ed0-eaebc67a1044"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"558d3430-edc4-404f-98d0-a06137d5e4c5","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"4ee6f970-a58e-4d17-9ad7-75668c73c9ac","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"0c0eb6a5-3e85-489c-b146-df4305e3d25d","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/naptr/{{NAPTRRecordId}}","description":"<p>Deletes a record of type NAPTR of specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","naptr","{{NAPTRRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"393062fc-175f-40ea-89dc-d23e16cb89e7","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/naptr/{{NAPTRRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 11:20:17 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=2D6D530D151670EB2F17E0433138A104; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"2D6D530D151670EB2F17E0433138A104","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"0c0eb6a5-3e85-489c-b146-df4305e3d25d"}],"id":"880dfeef-d8d0-476d-8fc9-75236c744f6d","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.order *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>A 16-bit value ranging from 0 to 63535, the lowest number having the highest order. For example, an order of 10 is of more importance (has a higher order value) than an order of 50. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.preference *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Preference is used only when two NAPTR records with the same name also have the same order and is used to indicate preference (all other things being equal). A 16-bit value ranging from 0 to 63535, the lowest number having the highest order. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.flags *</p>\n      </td>\n      <td>\n        <p>character</p>\n      </td>\n      <td>\n        <p>A Flag is a single character from the set A-Z and 0-9, defined to be application specific, such that each application may define a specific use of the flag or which flags are valid.</p><p> The flag is enclosed in quotes (“”). Currently defined values are: </p><p>U – a terminal condition – the result of the regexp is a valid URI.</p><p> S – a terminal condition – the replace field contains the FQDN of an SRV record.</p><p> A – a terminal condition – the replace field contains the FQDN of an A or AAAA record.</p><p> P – a non-terminal condition – the protocol/services part of the params field determines the application specific behavior and subsequent processing is external to the record.</p><p> “” (empty string) – a non-terminal condition to indicate that regexp is empty and the replace field contains the FQDN of a further NAPTR record.</p><p></p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>roundRobin.service *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p> Defines the application specific service parameters. The generic format is: protocol+rs. Where “protocol” defines the protocol used by the application and “rs” is the resolution service. There may be 0 or more resolution services each separated by +. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>\n        roundRobin.\n        regularExpression\n        *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p> A 16-bit value ranging from 0 to 63535, the lowest number having the highest order. For example, an order of 10 is of more importance (has a higher order value) than an order of 50. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.replacement *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p> Preference is used only when two NAPTR records with the same name also have the same order and is used to indicate preference (all other things being equal). </p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>roundRobin.disableFlag *</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>disable flag. Default is false</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion <strong> </strong></p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type NAPTR</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n  </tbody>\n</table>","_postman_id":"880dfeef-d8d0-476d-8fc9-75236c744f6d"},{"name":"CAA","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"35adef86-9095-45a8-ae5f-9f3e4970b5e2","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"f8e9ff65-8974-458b-8cb9-af0d0983bea6","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"CAARecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"b6339823-505f-4ef7-9dc5-b886841f19c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardrecordCAA\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"caaProviderId\": 3,\n      \"tag\": \"issue\",\n      \"data\": \"comodoca.com\",\n      \"flag\": \"0\"\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/caa","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","caa"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"1f704287-8406-474b-80d6-f14334b79d7c","name":"Create a domain  record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardrecordCAA\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"caaProviderId\": \"3\",\n      \"tag\": \"issue\",\n      \"data\": \"comodoca.com\",\n      \"flag\": \"0\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/caa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:12:47 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=6224652446C84D3981B864EA1067B608; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"6224652446C84D3981B864EA1067B608","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"CAA\",\"recordType\":\"caa\",\"name\":\"standardrecordcaa\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506341566234,\"value\":[{\"flag\":0,\"tag\":\"issue\",\"data\":\"comodoca.com\",\"caaProviderId\":3,\"disableFlag\":false}],\"roundRobin\":[{\"flag\":0,\"tag\":\"issue\",\"data\":\"comodoca.com\",\"caaProviderId\":3,\"disableFlag\":false}]}]"},{"id":"807a6343-bd3f-4095-bff5-f1a9d9029c27","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardrecordCAAGTD\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"caaProviderId\": \"3\",\n      \"tag\": \"issue\",\n      \"data\": \"comodoca.com\",\n      \"flag\": \"0\"\n    }\n  ],\n  \"gtdRegion\": 1\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/caa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:37:33 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=D8DA543940ACB87BA8543DD6C539E67B; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"D8DA543940ACB87BA8543DD6C539E67B","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"CAA\",\"recordType\":\"caa\",\"name\":\"standardrecordcaagtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507199853091,\"value\":[{\"flag\":0,\"tag\":\"issue\",\"data\":\"comodoca.com\",\"caaProviderId\":3,\"disableFlag\":false}],\"roundRobin\":[{\"flag\":0,\"tag\":\"issue\",\"data\":\"comodoca.com\",\"caaProviderId\":3,\"disableFlag\":false}]}]"}],"_postman_id":"b6339823-505f-4ef7-9dc5-b886841f19c4"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"955f7394-9d43-45c9-becd-1bf97524d0f6","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"9bd4a995-9ba6-45b8-b8ba-7f4907510176","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"57c4ea7b-8263-43fc-ad5d-23c1fc551083","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/caa/{{CAARecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","caa","{{CAARecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"405ae8bf-cc03-4f26-92a4-321d45f14906","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/caa/{{CAARecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:13:06 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=FB8187B5DC3C7C5E55659CA596EEF34C; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"FB8187B5DC3C7C5E55659CA596EEF34C","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"CAA\",\"recordType\":\"caa\",\"name\":\"standardrecordcaa\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506341566234,\"value\":[{\"flag\":0,\"tag\":\"issue\",\"data\":\"comodoca.com\",\"caaProviderId\":3,\"disableFlag\":false}],\"roundRobin\":[{\"flag\":0,\"tag\":\"issue\",\"data\":\"comodoca.com\",\"caaProviderId\":3,\"disableFlag\":false}]}"}],"_postman_id":"57c4ea7b-8263-43fc-ad5d-23c1fc551083"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"6fb6e974-c86d-4c4a-a69c-b82cc53401f3","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"c59b24d7-d437-4cbc-b9e0-c296da237b24","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"a8b3044d-745c-4b77-9f7b-7a016d42b01c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardrecordCAAEdit\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"caaProviderId\": 3,\n      \"tag\": \"issue\",\n      \"data\": \"comodoca.com\",\n      \"flag\": \"0\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/caa/{{CAARecordId}}","description":"<p>Update an existing domain record.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","caa","{{CAARecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"298a1993-a014-451f-821e-4891ae046234","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardrecordCAAEdit\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"caaProviderId\": \"3\",\n      \"tag\": \"issue\",\n      \"data\": \"comodoca.com\",\n      \"flag\": \"0\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/caa/{{CAARecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:13:54 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=F6C79742D7D78BC29D62C467C6B376F9; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"F6C79742D7D78BC29D62C467C6B376F9","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"a8b3044d-745c-4b77-9f7b-7a016d42b01c"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"76f32080-9445-4169-909d-012097d70e10","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"7c24e9f9-8a27-4743-b565-a436e4c1a6c7","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"b42ee4c8-67f7-4c55-8270-eec7ef74581a","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/caa/{{CAARecordId}}","description":"<p>Deletes a record of type CAA of specified domain record.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","caa","{{CAARecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"8e45030d-8d01-42fc-a73e-da1755bfea75","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/caa/{{CAARecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:14:58 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=45722038B6195C994403C81ADFC76F78; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"45722038B6195C994403C81ADFC76F78","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"b42ee4c8-67f7-4c55-8270-eec7ef74581a"}],"id":"c08bd21a-b635-4f85-94fd-004723b080ce","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n    \n       <tr>\n      <td>\n        <p>roundRobin.caaProviderId *</p>\n      </td>\n      <td>\n        <p>Number </p>\n      </td>\n      <td>\n        <p>\n        <p>1 for [ Custom ]</p>\n    <p>2 for [ No Provider ]</p>\n    <p>3 for Comodo</p>\n    <p>4 for Digicert</p>\n    <p>5 for Entrust</p>\n    <p>6 for GeoTrust</p>\n    <p>7 for Izenpe</p>\n    <p>8 for Lets Encrypt</p>\n    <p>9 for Symantec</p>\n    <p>10 for Thawte</p>\n</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.tag *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p> \n    <p>\"issue\" for Issue</p>\n    <p>\"IssueWild\" for IssueWild</p>\n    <p>\"iodef\" for iodef</p>\n    <p>Type allows you to choose how you want certificates to be issued by the CA. Each CAA record can contain only one tag-value pair.</p>\n    <strong>Options:</strong>\n    <p>issue: Explicitly authorizes a single certificate authority to issue a certificate (any type) for the hostname.</p>\n    <p>issuewild: Authorization to issue certificates that specify a wildcard domain. Please note: issuewild properties take precedence over issue properties when specified.</p>\n    <p>iodef: (Incident Description Exchange Format) Specifies a means of reporting certificate issue requests or cases of certificate issue for the corresponding domain that violate the security policy of the issuer or the domain name holder.</p>\n        </p>\n      </td>\n    </tr>\n       <tr>\n      <td>\n        <p>roundRobin.data *</p>\n      </td>\n      <td>\n        <p>string </p>\n      </td>\n      <td>\n        <p>\n        <p>\"\" for [ Custom ] if CAA provider Id is 1.</p>\n    <p>\";\" for [ No Provider ]</p>\n    <p>\"comodoca.com\" for Comodo</p>\n    <p>\"digicert.com\" for Digicert</p>\n    <p>\"entrust.net\" for Entrust</p>\n    <p>\"geotrust.com\" for GeoTrust</p>\n    <p>\"izenpe.com\" for Izenpe</p>\n    <p>\"letsencrypt.org\" for Lets Encrypt</p>\n    <p>\"symantec.com\" for Symantec</p>\n    <p>\"thawte.com\" for Thawte</p>\n    </p>\n      </td>\n    </tr>\n       <tr>\n      <td>\n        <p>roundRobin.flag *</p>\n      </td>\n      <td>\n        <p>string </p>\n      </td>\n      <td>\n        <p>roundRobin.Issuer Critical\n        <p>There is currently only one flag defined, “issuer critical” at a value of 1. If a CA does not understand the flag value for an issuer critical record, then the CA will return with “no issue” for the certification.</p>\n    <p>All records will have the default issuer critical value of 0, which means they are “not critical”. Issuer Critical Value should be between 0 to 255.</p>\n        </p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>roundRobin.disableFlag </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>disable flag. Default is false</p>\n      </td>\n    </tr>   \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type CAA</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n  </tbody>\n</table>","_postman_id":"c08bd21a-b635-4f85-94fd-004723b080ce"},{"name":"CERT","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"5b89448a-fcdf-48cf-a8be-320fe738e301","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"0418c02e-61a1-4c8c-9f9e-c3f704c70f60","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"CERTRecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"85c66ba5-cc8a-4b45-a1ff-9a1adaf1611e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardCERT\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"certificateType\": \"123\",\n      \"keyTag\": \"654\",\n      \"algorithm\": \"42\",\n      \"certificate\": \"14\"\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/cert","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","cert"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"d5886105-0dd8-4ddb-98df-ee3e5da09d48","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardCERTGTD\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"certificateType\": \"123\",\n      \"keyTag\": \"654\",\n      \"algorithm\": \"42\",\n      \"certificate\": \"14\"\n    }\n  ],\n  \"gtdRegion\": 1\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:38:12 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=9F4193F3CB0DA2C324E2EBDB28547A46; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"9F4193F3CB0DA2C324E2EBDB28547A46","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"CERT\",\"recordType\":\"cert\",\"name\":\"standardcertgtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507199892526,\"value\":[{\"certificateType\":123,\"keyTag\":654,\"algorithm\":42,\"certificate\":\"14\",\"disableFlag\":false}],\"roundRobin\":[{\"certificateType\":123,\"keyTag\":654,\"algorithm\":42,\"certificate\":\"14\",\"disableFlag\":false}]}]"},{"id":"f5293df8-02a5-4c26-aefb-ef5228d11475","name":"Create a domain  record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardCERT\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"certificateType\": \"123\",\n      \"keyTag\": \"654\",\n      \"algorithm\": \"42\",\n      \"certificate\": \"14\"\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:32:21 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=0B1A9FF5A542C945A570D4595F966A59; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"0B1A9FF5A542C945A570D4595F966A59","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"CERT\",\"recordType\":\"cert\",\"name\":\"standardcert\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506342739625,\"value\":[{\"certificateType\":123,\"keyTag\":654,\"algorithm\":42,\"certificate\":\"14\",\"disableFlag\":false}],\"roundRobin\":[{\"certificateType\":123,\"keyTag\":654,\"algorithm\":42,\"certificate\":\"14\",\"disableFlag\":false}]}]"}],"_postman_id":"85c66ba5-cc8a-4b45-a1ff-9a1adaf1611e"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"b7b8deaa-0495-431a-b4bf-bc1fef6f092b","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"bbc14fbc-77f9-45e4-90d0-b733e96fe6c4","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"9c1b016f-b6d4-4a53-b3d4-4a8fab8b5879","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/cert/{{CERTRecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","cert","{{CERTRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"0cd1852b-0dc9-4549-b5b8-d05077e1a05b","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cert/{{CERTRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:32:54 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=0425634573A93FC20E238CFA5F9CFC34; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"0425634573A93FC20E238CFA5F9CFC34","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"CERT\",\"recordType\":\"cert\",\"name\":\"standardcert\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506342739625,\"value\":[{\"certificateType\":123,\"keyTag\":654,\"algorithm\":42,\"certificate\":\"14\",\"disableFlag\":false}],\"roundRobin\":[{\"certificateType\":123,\"keyTag\":654,\"algorithm\":42,\"certificate\":\"14\",\"disableFlag\":false}]}"}],"_postman_id":"9c1b016f-b6d4-4a53-b3d4-4a8fab8b5879"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"1c4dfbb9-8500-46da-bd29-cb55b0f4e622","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"de226605-8133-4906-8253-b8bed92d144e","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"f395e31a-0716-4792-b6b4-b49b7044a4a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardCERTedit\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"certificateType\": \"1234\",\n      \"keyTag\": \"654\",\n      \"algorithm\": \"42\",\n      \"certificate\": \"14\"\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/cert/{{CERTRecordId}}","description":"<p>Update a record of type CERT of specified domain</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","cert","{{CERTRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"c86b9533-e617-4702-b92f-7025ec29e01f","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"standardCERTedit\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"certificateType\": \"1234\",\n      \"keyTag\": \"654\",\n      \"algorithm\": \"42\",\n      \"certificate\": \"14\"\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cert/{{CERTRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:35:24 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=402F786511402E74409207A46F191414; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"402F786511402E74409207A46F191414","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"f395e31a-0716-4792-b6b4-b49b7044a4a3"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"9fc3d798-9e80-43fd-8cb1-4d224599d095","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"4b26a6e7-c667-494d-b08d-40a9ceb394e9","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"1e86be0a-aa10-4196-9bd9-e333c7bd0286","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/cert/{{CERTRecordId}}","description":"<p>Deletes a record of type CERT of specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","cert","{{CERTRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"40baebac-f474-4c0a-ad8c-4481082eec0d","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/cert/{{CERTRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:36:11 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=374CEF26EADB6BDFD6FF04BD20C75B15; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"374CEF26EADB6BDFD6FF04BD20C75B15","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"1e86be0a-aa10-4196-9bd9-e333c7bd0286"}],"id":"44f1bf10-24aa-4141-9b96-5da5e33a910c","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n    \n   <tr>\n      <td>\n        <p>roundRobin.certificateType  *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>certificateType 0 - 65,535 </p>\n      </td>\n    </tr>        \n    <tr>\n      <td>\n        <p>roundRobin.keyTag * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p> 0 - 65,535\n        </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.algorithm *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p> 0 - 255\n        </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.certificate * </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p> certificate\n        </p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>roundRobin.disableFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>disable flag. Default is false </p>\n      </td>\n    </tr>  \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type CERT</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n  </tbody>\n</table>","_postman_id":"44f1bf10-24aa-4141-9b96-5da5e33a910c"},{"name":"NS","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"04d13a55-1139-425b-beba-46d1ff524caf","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"a79e7b15-ee20-462d-a8cc-29535f4a2c38","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"NSRecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"adb76723-b912-461c-b9ed-c634766ba05e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"nsrecord\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"value\": \"ns01.constellix.\"\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/ns","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","ns"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"dbd0c5e5-5d7a-4120-b9d9-de072af26ea2","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"nsrecordGTD\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"value\": \"ns01.constellix.\"\n    }\n  ],\n  \"gtdRegion\": 1\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/ns"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:38:42 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=9EFD16AB653778A559A51989BCAC0175; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"9EFD16AB653778A559A51989BCAC0175","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"NS\",\"recordType\":\"ns\",\"name\":\"nsrecordgtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507199922492,\"value\":[{\"value\":\"ns01.constellix.\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"ns01.constellix.\",\"disableFlag\":false}]}]"},{"id":"ff34e1c7-fd59-4c80-832a-304c86e4ed59","name":"Create a domain  record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"nsrecord\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"value\": \"ns01.constellix.\"\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/ns"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:42:02 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=1EBA7A8B92AA4924FCFF2D92413CAF86; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"1EBA7A8B92AA4924FCFF2D92413CAF86","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"NS\",\"recordType\":\"ns\",\"name\":\"nsrecord\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506343320901,\"value\":[{\"value\":\"ns01.constellix.\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"ns01.constellix.\",\"disableFlag\":false}]}]"}],"_postman_id":"adb76723-b912-461c-b9ed-c634766ba05e"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"dd4f72db-d2c2-4c16-9b18-5a9ca3237971","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"28c2ed07-60a6-4aef-bdb4-519ab5b9d2e2","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"73ae4a8a-d7b7-4c2a-8aba-52880c1da47f","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/ns/{{NSRecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","ns","{{NSRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"c92cb886-cfb3-4852-b405-afdc94fdd607","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/ns/{{NSRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:42:17 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=52731AE5B1A598BCB8EC160EE74A9053; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"52731AE5B1A598BCB8EC160EE74A9053","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"NS\",\"recordType\":\"ns\",\"name\":\"nsrecord\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506343320901,\"value\":[{\"value\":\"ns01.constellix.\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"ns01.constellix.\",\"disableFlag\":false}]}"}],"_postman_id":"73ae4a8a-d7b7-4c2a-8aba-52880c1da47f"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"e7c8e57b-c252-45d1-97af-529dbd0b77ce","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"ada4b9d3-c26c-43f0-8f08-54853e53f71d","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"0164ca95-aad3-4d93-9e3c-df16e63af143","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"gtdRegion\": 1,\n  \"name\": \"sr_ns_edit\",\n  \"ttl\": 1800,\n  \"note\": \"NS standard record edit\",\n  \"roundRobin\": [\n    {\n      \"value\": \"ns01.constellix.\",\n      \"disableFlag\": false\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/ns/{{NSRecordId}}","description":"<p>Update a record of type NS of specified domain</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","ns","{{NSRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"eeb59996-601e-4322-a2cd-2015bc615a75","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"nsrecord1\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"value\": \"ns02.constellix.\"\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/ns/{{NSRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:42:56 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=95F36DF338763D2E84E6703B9E9F1A5A; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"95F36DF338763D2E84E6703B9E9F1A5A","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"0164ca95-aad3-4d93-9e3c-df16e63af143"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"f1d2aa05-d111-447a-baf0-2d96cc005789","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"e9f77ded-5fb6-414f-a99f-1742e38ee467","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"ad496779-63b9-4acd-b579-ef9981e9a025","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/ns/{{NSRecordId}}","description":"<p>Deletes a record of type NS of specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","ns","{{NSRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"596ff211-5159-4e0f-a8a9-235a34a3b2d0","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/ns/{{NSRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:43:24 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=117603FD3862AE042750CE8A1B7C1ECA; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"117603FD3862AE042750CE8A1B7C1ECA","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"ad496779-63b9-4acd-b579-ef9981e9a025"}],"id":"e813be3c-474a-4e67-9b61-126b66050e72","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n    \n   <tr>\n      <td>\n        <p>roundRobin.value  *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>This will be the host name for the name server, for example ns0.nameserver.com. It is important to note, the domain name is automatically appended to the end of this field unless it ends with a dot (.).</p>\n      </td>\n    </tr>        \n    <tr>\n      <td>\n        <p>roundRobin.disableFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>disable flag. Default is false </p>\n      </td>\n    </tr>  \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type NS</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n  </tbody>\n</table>","_postman_id":"e813be3c-474a-4e67-9b61-126b66050e72"},{"name":"PTR","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"e655c8b3-75fe-4611-9528-420037e5e3b8","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"087987b2-933c-473f-956e-9a8b2369504d","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"PTRRecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"8c1f1ff3-7034-426b-b4d6-008d7b1e3ce0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"ptrrecord1\",\r\n  \"ttl\": 1800,\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"mail.domainDocument.\"\r\n    }\r\n  ]\r\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/ptr","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","ptr"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"38f038d7-e00b-4691-b4e7-bc4734e4535d","name":"Create a domain  record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"ptrrecord1\",\r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"mail.domainDocument.\"\r\n    }\r\n  ]\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/ptr"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:53:39 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=39229F3D4EE618AF11D337520CF4C9D2; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"39229F3D4EE618AF11D337520CF4C9D2","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"PTR\",\"recordType\":\"ptr\",\"name\":\"ptrrecord1\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506344017438,\"value\":[{\"value\":\"mail.domainDocument.\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"mail.domainDocument.\",\"disableFlag\":false}]}]"},{"id":"6b9218e6-3dad-495e-affe-f47f33fe211d","name":"Record with GTD region ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"ptrrecord1GTD\",\r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"mail.domainDocument.\"\r\n    }\r\n  ],\r\n  \"gtdRegion\": 1\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/ptr"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:39:31 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=8061D876CDD9C3117108195B0119E2AC; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"8061D876CDD9C3117108195B0119E2AC","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"PTR\",\"recordType\":\"ptr\",\"name\":\"ptrrecord1gtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507199971708,\"value\":[{\"value\":\"mail.domainDocument.\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"mail.domainDocument.\",\"disableFlag\":false}]}]"}],"_postman_id":"8c1f1ff3-7034-426b-b4d6-008d7b1e3ce0"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"36cc0d46-cce1-4172-be25-148571e5296f","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"a44ae23c-8b61-41fd-bcad-68af124e7751","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"66a97fb4-4ed3-4606-84f2-3de4728da0b9","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/ptr/{{PTRRecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","ptr","{{PTRRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"8512395b-a2f9-46fb-8ef1-01ac9145114b","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/ptr/{{PTRRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:53:51 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=06C07B466CF78FF78EF6B0B5BC88ADAD; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"06C07B466CF78FF78EF6B0B5BC88ADAD","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"PTR\",\"recordType\":\"ptr\",\"name\":\"ptrrecord1\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506344017438,\"value\":[{\"value\":\"mail.domainDocument.\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"mail.domainDocument.\",\"disableFlag\":false}]}"}],"_postman_id":"66a97fb4-4ed3-4606-84f2-3de4728da0b9"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"7da3cfc5-9d63-4d58-9764-b0094db5a0ae","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"99476985-178c-4544-ac62-9237200ecf24","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"b9878ea2-f5e1-4013-bbe7-631315bafef9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"ptrrecord2\",\r\n  \"ttl\": 1800,\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"mail.domainDocument1.\"\r\n    }\r\n  ]\r\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/ptr/{{PTRRecordId}}","description":"<p>Update a record of type PTR of specified domain</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","ptr","{{PTRRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"aebc7069-574f-44ff-9579-b909f0d52031","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"ptrrecord2\",\r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"mail.domainDocument1.\"\r\n    }\r\n  ]\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/ptr/{{PTRRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:54:40 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=3052B4916A696FF3F0FBE1B22D9EE467; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"3052B4916A696FF3F0FBE1B22D9EE467","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"b9878ea2-f5e1-4013-bbe7-631315bafef9"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"5e23ed69-a097-443f-9f82-b6d2c7bd3169","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"bef7a011-028c-4806-b5b7-3da2cec4e678","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"6809564f-9166-41b6-ae47-1c4515edc7f5","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/ptr/{{PTRRecordId}}","description":"<p>Deletes a record of type PTR of specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","ptr","{{PTRRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"9eef1528-aa9b-4d32-8fdc-6948c403b305","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/ptr/{{PTRRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 12:55:25 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=C6D3E8A3F3342BEE0D8ADCE4DE42D73E; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"C6D3E8A3F3342BEE0D8ADCE4DE42D73E","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"6809564f-9166-41b6-ae47-1c4515edc7f5"}],"id":"d50a17d0-9e5c-4acf-b1a8-164063f1af1f","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n    \n   <tr>\n      <td>\n        <p>roundRobin.value  *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>This will be the host name of the computer or server the IP resolves to, for example mail.example.com. It is important to note, the domain name is automatically appended to the end of this field unless it ends with a dot (.).</p>\n      </td>\n    </tr>        \n    <tr>\n      <td>\n        <p>roundRobin.disableFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>disable flag. Default is false </p>\n      </td>\n    </tr>  \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type PTR</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n  </tbody>\n</table>","_postman_id":"d50a17d0-9e5c-4acf-b1a8-164063f1af1f"},{"name":"RP","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"413252bb-7624-4bf6-b065-077494bf7124","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"bec73826-bfd3-4610-8098-99302d187771","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"RPRecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"89d52461-f9d8-406e-b384-61799f62570d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rprecord1\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"mailbox\": \"mx.domainDocument.com\",\n      \"txt\": \"domainDocument.com\"\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/rp","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","rp"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"002dcc15-8325-485d-a34d-6ba259e0765e","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rprecord1GTD\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"mailbox\": \"mx.domainDocument.com\",\n      \"txt\": \"domainDocument.com\"\n    }\n  ],\n  \"gtdRegion\": 1\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/rp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:40:11 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=5858B04E77CEC81C68E45D0E7CAFA895; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"5858B04E77CEC81C68E45D0E7CAFA895","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"RP\",\"recordType\":\"rp\",\"name\":\"rprecord1gtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507200011641,\"value\":[{\"mailbox\":\"mx.domainDocument.com\",\"txt\":\"domainDocument.com\"}],\"roundRobin\":[{\"mailbox\":\"mx.domainDocument.com\",\"txt\":\"domainDocument.com\"}]}]"},{"id":"f36dcaf8-ba74-4234-87d7-0506df8942bc","name":"Create a domain  record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rprecord1\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"mailbox\": \"mx.domainDocument.com\",\n      \"txt\": \"domainDocument.com\"\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/rp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:12:41 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=B7AA66658A44FDE244EFE223D217E6B7; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"B7AA66658A44FDE244EFE223D217E6B7","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"RP\",\"recordType\":\"rp\",\"name\":\"rprecord1\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506345159906,\"value\":[{\"mailbox\":\"mx.domainDocument.com\",\"txt\":\"domainDocument.com\"}],\"roundRobin\":[{\"mailbox\":\"mx.domainDocument.com\",\"txt\":\"domainDocument.com\"}]}]"}],"_postman_id":"89d52461-f9d8-406e-b384-61799f62570d"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"fdc3d79d-1744-4b82-b9ae-9266737d0462","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"0a58fb27-ba84-4ff3-a3bc-a76ed97a3d25","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"c2faaa28-f9a3-4876-abb8-bf9a390306c0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/rp/{{RPRecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","rp","{{RPRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"ca870282-50fe-403f-9fe6-f5ea873144bf","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/rp/{{RPRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:13:29 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=4E9A8E8F2D63794A6FC474126A5032D2; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"4E9A8E8F2D63794A6FC474126A5032D2","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"RP\",\"recordType\":\"rp\",\"name\":\"rprecord1\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506345159906,\"value\":[{\"mailbox\":\"mx.domainDocument.com\",\"txt\":\"domainDocument.com\"}],\"roundRobin\":[{\"mailbox\":\"mx.domainDocument.com\",\"txt\":\"domainDocument.com\"}]}"}],"_postman_id":"c2faaa28-f9a3-4876-abb8-bf9a390306c0"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"c9702ad2-9688-47b1-8c72-3af9ff0c5d5b","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"538e354e-0cef-493c-8dbe-55ad36598ec7","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"f0dea2f2-13df-419a-960c-ce7b3ac78c58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rprecordedit1\",\n  \"ttl\": 1800,\n  \"roundRobin\": [\n    {\n      \"mailbox\": \"mx.domainDocument1.com\",\n      \"txt\": \"domainDocument1.com\"\n    }\n  ]\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/rp/{{RPRecordId}}","description":"<p>Update a record of type RP of specified domain</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","rp","{{RPRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"480a3f85-a5a1-42a5-ac80-c743b70b4980","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rprecordedit1\",\n  \"ttl\": \"1800\",\n  \"roundRobin\": [\n    {\n      \"mailbox\": \"mx.domainDocument1.com\",\n      \"txt\": \"domainDocument1.com\"\n    }\n  ]\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/rp/{{RPRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:14:16 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=4F4449D35A6DB6E9C675B769F07FB33C; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"4F4449D35A6DB6E9C675B769F07FB33C","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"f0dea2f2-13df-419a-960c-ce7b3ac78c58"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"d065ef79-e818-4a52-bf4c-82220416171a","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"5377127f-47ae-4b8e-8c1b-9e3754c617a5","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"08cd0e78-61cf-4b41-8a2c-3ca263333f84","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/rp/{{RPRecordId}}","description":"<p>Deletes a record of type RP of specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","rp","{{RPRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"c668d61d-cf13-4dff-a7a7-c33e3f56a552","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/rp/{{RPRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:15:02 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=6F32F0255484D127B777B65C2895E665; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"6F32F0255484D127B777B65C2895E665","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"08cd0e78-61cf-4b41-8a2c-3ca263333f84"}],"id":"62000cd0-9a0d-426b-a6d5-1edb4755c7cb","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n    \n   <tr>\n      <td>\n        <p>roundRobin.mailbox *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p> A mailbox for the responsible person of the domain</p>\n      </td>\n    </tr>        \n      <td>\n        <p>roundRobin.txt *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p> A hostname for the responsible person of the domain</p>\n      </td>\n        \n    <tr>\n      <td>\n        <p>roundRobin.disableFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>disable flag. Default is false </p>\n      </td>\n    </tr>  \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type RP</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n  </tbody>\n</table>","_postman_id":"62000cd0-9a0d-426b-a6d5-1edb4755c7cb"},{"name":"SPF","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"1bc4c960-5899-40cf-9cbe-96c6798697a8","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"34fe4999-94b5-481b-8c4c-fca65a051730","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"SPFRecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"04192820-6294-4e16-bdc8-8ecd3144da65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"name\": \"standardSPF\",\r\n  \"ttl\": 1800,\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"\\\"1.2.3.4\\\"\"\r\n    }\r\n  ]\r\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/spf","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","spf"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"97376cc6-fb86-49e4-be5f-1794b16952a0","name":"Create a domain  record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"name\": \"standardSPF\",\r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"\\\"1.2.3.4\\\"\"\r\n    }\r\n  ]\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/spf"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:22:02 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=B7B675EB0AA3F00A7D51E248304F08EF; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"B7B675EB0AA3F00A7D51E248304F08EF","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"SPF\",\"recordType\":\"spf\",\"name\":\"standardspf\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506345720799,\"value\":[{\"value\":\"\\\"1.2.3.4\\\"\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"\\\"1.2.3.4\\\"\",\"disableFlag\":false}]}]"},{"id":"efa69943-b01c-49a4-91e3-4146927c3d6c","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"name\": \"standardSPFGTD\",\r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"\\\"1.2.3.4\\\"\"\r\n    }\r\n  ],\r\n  \"gtdRegion\": 1\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/spf"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:40:42 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=21A4605D6E4397CBD2A725B7EE6CE16F; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"21A4605D6E4397CBD2A725B7EE6CE16F","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"SPF\",\"recordType\":\"spf\",\"name\":\"standardspfgtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507200042175,\"value\":[{\"value\":\"\\\"1.2.3.4\\\"\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"\\\"1.2.3.4\\\"\",\"disableFlag\":false}]}]"}],"_postman_id":"04192820-6294-4e16-bdc8-8ecd3144da65"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"1273fa8b-5f1b-4d58-8765-5d8e14e7eed6","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"e00acae7-9175-413d-bf43-5ccc22bfaf0e","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"33958599-ee30-468f-8179-2becebb29798","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/spf/{{SPFRecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","spf","{{SPFRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"1ad710f4-8e05-492a-80af-444a01b7eae7","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/spf/{{SPFRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:22:33 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=722543A57330900AA4E36F1B24463C3E; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"722543A57330900AA4E36F1B24463C3E","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"SPF\",\"recordType\":\"spf\",\"name\":\"standardspf\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506345720799,\"value\":[{\"value\":\"\\\"1.2.3.4\\\"\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"\\\"1.2.3.4\\\"\",\"disableFlag\":false}]}"}],"_postman_id":"33958599-ee30-468f-8179-2becebb29798"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"9cb4c49c-05bd-4dad-80dc-5a484cfa14c5","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"e03e7d78-c1e3-4305-a761-f1a95e13d585","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"eb89aa66-7b80-40b6-bf8f-e48220674a45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"name\": \"standardSPFEdit\",\r\n  \"ttl\": 1800,\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"\\\"1.2.3.5\\\"\"\r\n    }\r\n  ]\r\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/spf/{{SPFRecordId}}","description":"<p>Update a record of type SPF of specified domain</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","spf","{{SPFRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"67eef9f4-78b3-4e51-8e85-0cfacd7f2175","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"name\": \"standardSPFEdit\",\r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"\\\"1.2.3.5\\\"\"\r\n    }\r\n  ]\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/spf/{{SPFRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:23:16 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=69E7B3636161FD513A17CACE7E0C8146; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"69E7B3636161FD513A17CACE7E0C8146","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"eb89aa66-7b80-40b6-bf8f-e48220674a45"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"531d01af-61a5-4084-aeeb-0ad028ce8fd6","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"ef5b4c60-92ec-4c4a-9e5e-ab09b51328ba","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"fa340026-d102-4cc2-977f-4aa471502229","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/spf/{{SPFRecordId}}","description":"<p>Deletes a record of type RP of specified domain</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","spf","{{SPFRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"9f8d39f2-6253-4f56-bd04-e4ce67ebd391","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/spf/{{SPFRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:23:48 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=5005BCD70E6B6AE19D16B49F3ED22729; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"5005BCD70E6B6AE19D16B49F3ED22729","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"fa340026-d102-4cc2-977f-4aa471502229"}],"id":"56d042ab-68de-4108-b21d-b8ca2bbf3dee","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n    \n  <tr>\n      <td>\n        <p>roundRobin.value *</p>\n      </td>\n      <td>\n        <p>string</p>\n      </td>\n      <td>\n        <p>Value may contain multiple strings (each string enclosed in double quotes). Individual string length should not exceed 255 characters.\n        </p>\n      </td>\n    </tr>   \n    <tr>\n      <td>\n        <p>roundRobin.disableFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>disable flag. Default is false </p>\n      </td>\n    </tr>  \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type SPF</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n  </tbody>\n</table>","_postman_id":"56d042ab-68de-4108-b21d-b8ca2bbf3dee"},{"name":"SRV","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"973ba283-aa58-43ea-81b5-d60845fa8121","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"ad679769-877b-4c8e-a03b-59c69794d17f","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"SRVRecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"ca08182d-ebf1-469d-a56e-f79151b31662","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"ttl\": 1800,\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"domainDocument.com\",\r\n      \"priority\": 1,\r\n      \"weight\": 1,\r\n      \"port\": 201\r\n    }\r\n  ]\r\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/srv","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","srv"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"385d74ee-8de7-4cfd-a56c-e49d5ea1563f","name":"Record with GTD region","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"recordwithGTD\",\r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"domainDocument.com\",\r\n      \"priority\": 1,\r\n      \"weight\": 1,\r\n      \"port\": 201\r\n    }\r\n  ],\r\n  \"gtdRegion\": 1\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/srv"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:41:41 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=F8B1F034FAC1CAABCC0A12E4D57CC3C3; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"F8B1F034FAC1CAABCC0A12E4D57CC3C3","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"SRV\",\"recordType\":\"srv\",\"name\":\"recordwithgtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507200101273,\"value\":[{\"value\":\"domainDocument.com\",\"priority\":1,\"weight\":1,\"port\":201,\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"domainDocument.com\",\"priority\":1,\"weight\":1,\"port\":201,\"disableFlag\":false}]}]"},{"id":"9066fb74-b360-4271-a536-96e75e50b805","name":"Create a domain  record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"domainDocument.com\",\r\n      \"priority\": 1,\r\n      \"weight\": 1,\r\n      \"port\": 201\r\n    }\r\n  ]\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/srv"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:39:52 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=09F341A5B6C8A368E2E17D575D339033; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"09F341A5B6C8A368E2E17D575D339033","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"SRV\",\"recordType\":\"srv\",\"name\":\"\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506346790906,\"value\":[{\"value\":\"domainDocument.com\",\"priority\":1,\"weight\":1,\"port\":201,\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"domainDocument.com\",\"priority\":1,\"weight\":1,\"port\":201,\"disableFlag\":false}]}]"}],"_postman_id":"ca08182d-ebf1-469d-a56e-f79151b31662"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"c06af624-07c8-4dc7-93c9-45bf5703cc6b","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"2dfa9674-49a1-4383-90c2-47ec5707582c","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"86638929-6cc8-4123-903a-4148a5c3d85c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/srv/{{SRVRecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","srv","{{SRVRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"37031515-1cdc-496e-b6c8-16f45792bd53","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/srv/{{SRVRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:40:45 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=B7517636091E23E898C817E00119EFC6; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"B7517636091E23E898C817E00119EFC6","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"SRV\",\"recordType\":\"srv\",\"name\":\"\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506346790906,\"value\":[{\"value\":\"domainDocument.com\",\"priority\":1,\"weight\":1,\"port\":201,\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"domainDocument.com\",\"priority\":1,\"weight\":1,\"port\":201,\"disableFlag\":false}]}"}],"_postman_id":"86638929-6cc8-4123-903a-4148a5c3d85c"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"b2afd34f-0019-4886-acae-c74075531cf4","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"c623c943-0647-4a4c-a788-cb697617dd81","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"ddb87ae5-fe0d-4981-8f4a-cd11264a38eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"ttl\": 1800,\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"domainDocument.com\",\r\n      \"priority\": 1,\r\n      \"weight\": 1,\r\n      \"port\": 200\r\n    }\r\n  ]\r\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/srv/{{SRVRecordId}}","description":"<p>Update a record of type SRV of specified domain</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","srv","{{SRVRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"504cb872-944f-4be3-8b81-8f3ea0f0dc69","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"domainDocument.com\",\r\n      \"priority\": 1,\r\n      \"weight\": 1,\r\n      \"port\": 200\r\n    }\r\n  ]\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/srv/{{SRVRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:41:39 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=4FB4120F7630E4F00D8B7B716690C5B2; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"4FB4120F7630E4F00D8B7B716690C5B2","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"ddb87ae5-fe0d-4981-8f4a-cd11264a38eb"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"11f88722-84af-4907-90a5-6b2045a54714","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"37622e40-2c5d-461b-8f17-4a145672e930","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"68f42bf6-fdd6-4b32-b39d-cb22d8d53e6c","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/srv/{{SRVRecordId}}","description":"<p>Deletes a record of type SRV of specified domain</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","srv","{{SRVRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"13a9c703-2bf3-4f0d-8400-07939bcaf471","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/srv/{{SRVRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:43:38 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=DA5DC8E4523FEE5F689163F27CCDF35C; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"DA5DC8E4523FEE5F689163F27CCDF35C","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"68f42bf6-fdd6-4b32-b39d-cb22d8d53e6c"}],"id":"f7c0914f-858f-45d2-941c-e5bc95dcc6fb","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n       <td></td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.value *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n    <td>\n        <p>The system that will receive the service.</p>\n      </td>\n    </tr>\n   <tr>\n      <td>\n        <p>roundRobin.Port *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n    <td>\n        <p>The port of the service offered.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.priority *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>The lower the number in the priority field, the higher the preference of the associated target. 0 is the highest priority (lowest number).</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.weight *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n    <td>\n        <p>The weight of the record allows an administrator to distribute load to multiple targets (load balance).</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.disableFlag </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>disable flag. Default is false </p>\n      </td>\n    </tr>  \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n      Shows id of GTD region in which record is to be created. \n      <p>1 for World (Default)</p>\n      <p>2 for Europe</p>\n      <p>3 for US East</p>\n      <p>4 for US West</p>\n      <p>5 for Asia Pacific</p>\n      <p>6 for Oceania</p>\n      <p>7 for South America</p>\n      <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type SRV</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n  </tbody>\n</table>","_postman_id":"f7c0914f-858f-45d2-941c-e5bc95dcc6fb"},{"name":"TXT","item":[{"name":"Create a domain  record","event":[{"listen":"prerequest","script":{"id":"96b06545-e835-48cb-9adb-074247aebe95","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"a21597aa-d5df-4d65-811e-d484ef016605","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"TXTRecordId\", jsonData[0].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"22e24d5b-9ec0-49a7-b2b0-5ff0a28e71be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"name\": \"txtrecord1\",\r\n  \"ttl\": 1800,\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":0}]}\\\"\"\r\n    }\r\n  ]\r\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/txt","description":"<p>Creates one or more new records within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","txt"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"d69ceb3a-9b11-4464-bab3-e480f0d6a20c","name":"Create a domain  record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"name\": \"txtrecord1\",\r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":0}]}\\\"\"\r\n    }\r\n  ]\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/txt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:51:30 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=B4ADD7CC24B257AFE340483E3155964D; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"B4ADD7CC24B257AFE340483E3155964D","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"TXT\",\"recordType\":\"txt\",\"name\":\"txtrecord1\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16075,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1506347488556,\"value\":[{\"value\":\"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":0}]}\\\"\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":0}]}\\\"\",\"disableFlag\":false}]}]"},{"id":"f5ae4833-13e1-47d5-9d4b-680ea8634725","name":"Record with GTD","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"name\": \"txtrecord1GTD\",\r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":0}]}\\\"\"\r\n    }\r\n  ],\r\n  \"gtdRegion\": 1\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/txt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 05 Oct 2017 10:42:13 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=05143CAF6B0A5917E146F1AFA74EFB5C; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"05143CAF6B0A5917E146F1AFA74EFB5C","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"type\":\"TXT\",\"recordType\":\"txt\",\"name\":\"txtrecord1gtd\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":16287,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1507200133430,\"value\":[{\"value\":\"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":0}]}\\\"\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":0}]}\\\"\",\"disableFlag\":false}]}]"}],"_postman_id":"22e24d5b-9ec0-49a7-b2b0-5ff0a28e71be"},{"name":"Get an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"53e05f3f-2e5f-4c77-b3a9-b80c66f63c90","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"5a5c2c05-9a33-412b-8d21-4aede492ba99","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"e7103c53-2ad8-4bc8-b5b3-4c22c4b571b2","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/txt/{{TXTRecordId}}","description":"<p>Returns a specific record within the specified domain.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","txt","{{TXTRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"d095ed6f-1a19-4e2b-9e2c-c6bf141a5f46","name":"Get an existing  domain  record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/txt/{{TXTRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 19 Sep 2017 13:59:53 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=D3726A36C3C1C5C1DC27FB086B2D5725; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"D3726A36C3C1C5C1DC27FB086B2D5725","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1,\"type\":\"TXT\",\"recordType\":\"txt\",\"name\":\"test_txt2\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"TXT standard  record\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":15974,\"parent\":\"domain\",\"source\":\"Domain\",\"modifiedTs\":1505829588909,\"value\":[{\"value\":\"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":0}]}\\\"\",\"disableFlag\":false}],\"roundRobin\":[{\"value\":\"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":0}]}\\\"\",\"disableFlag\":false}]}"}],"_postman_id":"e7103c53-2ad8-4bc8-b5b3-4c22c4b571b2"},{"name":"Update an existing domain  record","event":[{"listen":"prerequest","script":{"id":"4d5cc2ad-4e51-40a2-9be7-7b1f5a18274b","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"1698c6c3-0e0b-4391-ac5e-9e56d615e327","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"d4e9ab2e-fac0-45a6-b0e4-cf62a2d2e3da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"name\": \"txtrecord1\",\r\n  \"ttl\": 1800,\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":01}]}\\\"\"\r\n    }\r\n  ]\r\n}"},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/txt/{{TXTRecordId}}","description":"<p>Update a record of type SRV of specified domain</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","txt","{{TXTRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"8d1ef71f-6a82-4f7b-b825-b9f81511e81c","name":"Update an existing domain  record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \r\n  \"name\": \"txtrecord1\",\r\n  \"ttl\": \"1800\",\r\n  \"roundRobin\": [\r\n    {\r\n      \"value\": \"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":01}]}\\\"\"\r\n    }\r\n  ]\r\n}"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/txt/{{TXTRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:52:58 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=D115F858DFBB804CFD84FBE0449A88DF; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"D115F858DFBB804CFD84FBE0449A88DF","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"d4e9ab2e-fac0-45a6-b0e4-cf62a2d2e3da"},{"name":"Delete an existing  domain  record","event":[{"listen":"prerequest","script":{"id":"7828332a-5234-41a9-a4b2-5d7b0b39b70c","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"d3ae343e-ee35-43ce-95ec-f35e31b10697","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"135947f7-d6c8-481a-83c7-4d387b0bdf9e","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/domains/{{DomainId1}}/records/txt/{{TXTRecordId}}","description":"<p>Deletes a record of type SRV of specified domain</p>\n","urlObject":{"protocol":"https","path":["v1","domains","{{DomainId1}}","records","txt","{{TXTRecordId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"bad51466-f0ad-4bad-8448-368f746fa42b","name":"Delete an existing  domain  record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records/txt/{{TXTRecordId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 25 Sep 2017 13:53:33 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=E89FA23063C7FA0E34C22CE548E63F82; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"E89FA23063C7FA0E34C22CE548E63F82","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"135947f7-d6c8-481a-83c7-4d387b0bdf9e"}],"id":"e83dd482-e4bb-4a87-a901-69cd038707e3","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name of record. Name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ttl * </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>TTL must be in between 0 and 2147483647</p>\n      </td>\n    </tr>     \n    <tr>\n      <td>\n        <p>noAnswer</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Shows if record is enabled or disabled. Default is false (Active)</p>\n      </td>\n    </tr>\n <tr>\n      <td>\n        <p>roundRobin * </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td></td>\n    </tr>\n    \n   <tr>\n      <td>\n        <p>roundRobin.value *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n    <td>\n        <p>Free form text data of any type which may be no longer than 255 characters unless divided into multiple strings with sets of quotation marks.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>roundRobin.disableFlag </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>disable flag. Default is false </p>\n      </td>\n    </tr>  \n    <tr>\n      <td>\n        <p>note</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record note</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>gtdRegion </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Shows id of GTD region in which record is to be created.\n        </p><p>1 for World (Default)</p>\n    <p>2 for Europe</p>\n    <p>3 for US East</p>\n    <p>4 for US West</p>\n    <p>5 for Asia Pacific</p>\n    <p>6 for Oceania</p>\n    <p>7 for South America</p>\n    <p>note: \"gtdRegion\" from 2 to 7 will be applied only when GTD region is enabled on domain.</p>\n    <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>type</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record type TXT</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parentId</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of record source </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>parent</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>source</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Record source e.g. Domain, Template. Default is domain</p>\n      </td>\n    </tr> \n  </tbody>\n</table>","_postman_id":"e83dd482-e4bb-4a87-a901-69cd038707e3"},{"name":"Bulk modification of records","item":[{"name":"Bulk Add, Update and Delete records  of a domain in one request.","event":[{"listen":"prerequest","script":{"id":"f592ade2-db71-4949-b09c-f6fb2bfb4bb9","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"ec8fe2d1-122c-4c68-82d9-04bb1930335f","exec":["var jsonData = JSON.parse(responseBody);","","//postman.setEnvironmentVariable(\"BulkAPoolId1\", jsonData[0].id);","//postman.setEnvironmentVariable(\"BulkAPoolId2\", jsonData[1].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"deffddca-249a-4f6e-8c34-677dd8a07d07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"type\":\"a\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"standardrecordwithGTD\",\n            \"recordOption\": \"roundRobin\",\n            \"ttl\": 1800,\n            \"gtdRegion\": 1,\n            \"roundRobin\": [\n                {\n                    \"value\": \"15.45.25.35\",\n                    \"disableFlag\": false\n                }\n            ]\n        \t\n        }\n    },\n    {\n        \"type\":\"cname\",\n        \"update\": true,\n        \"exclude\":{\"field\": \"name\", \"op\": \"in\", \"value\":[\"cnamerecord\", \"cnamerecord1\"]},\n        \"set\": { \"ttl\":900 }\n    },\n    {\n        \"type\":\"aaaa\",\n        \"delete\": true,\n        \"filter\":{\"field\": \"name\", \"op\": \"eq\", \"value\":\"yahooipv6\"},\n        \"set\": { }\n    }\n]"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId}}/records","description":"<p>User can add, update and delete multiple types of records in one request. Below is the procedure to select the record for update and delete.</p>\n<h1 id=\"request-format-details\">Request Format Details:</h1>\n<p>Each block must contain following details for update and delete selection.</p>\n<ol>\n<li>\"type\" for record type. Possible of all record types</li>\n<li>Flag operation to perform for the block (\"add\": true or \"update\": true or \"delete': true)</li>\n<li>\"filter\" (To filter records) Or \"exclude\" (To exclude records).<br /> 3a. \"filter\" or \"exclude\" block must contains ( \"field\", \"op\" and \"value\")\n 3b. \"filter\" / \"exclude\" is to be used with Update and Delete operation.</li>\n<li>\"set\" criteria for Update, for Delete (set the block empty)</li>\n<li>Add block must contain all the mandatory fields for the respective record. Please see the API documentation of the respective record.</li>\n</ol>\n<p>Fields with possible operations for search filter:</p>\n<ol>\n<li>\"id\"     ( eq, gt, gte, lt, lte )</li>\n<li>\"name\"   ( matches, startsWith, endsWith, contains, eq)</li>\n<li>\"ttl\"    ( eq, gt, gte, lt, lte )</li>\n<li>\"noAnswer\" (eq, in)</li>\n</ol>\n<p>Note: Incase of failure all changes will be reverted.</p>\n<p>Below is the example of Add, Update and Delete records.</p>\n","urlObject":{"path":["{{version}}","domains","{{DomainId}}","records"],"host":["{{BaseURL}}"],"query":[],"variable":[]}},"response":[{"id":"27c99d14-6581-46ff-92d8-cdfc2a880285","name":"Add all types of records.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"type\": \"a\",\n        \"add\": true,\n        \"set\": {\n            \"id\": 2,\n            \"type\": \"A\",\n            \"recordType\": \"a\",\n            \"name\": \"standardrecordwithGTD\",\n            \"recordOption\": \"roundRobin\",\n            \"noAnswer\": false,\n            \"note\": \"\",\n            \"ttl\": 1800,\n            \"gtdRegion\": 1,\n            \"modifiedTs\": 1506083484099,\n            \"value\": [\n                \"15.45.25.35\"\n            ],\n            \"roundRobin\": [\n                {\n                    \"value\": \"15.45.25.35\",\n                    \"disableFlag\": false\n                }\n            ],\n            \"geolocation\": null,\n            \"roundRobinFailover\": null\n        }\n    },\n    {\n        \"type\": \"aaaa\",\n        \"add\": true,\n        \"set\": {\n            \"ttl\": \"1800\",\n            \"name\": \"StandardRecordwithGeolocation\",\n            \"roundRobin\": [\n                {\n                    \"value\": \"0:0:0:0:0:0:0:6\",\n                    \"disableFlag\": false\n                }\n            ],\n            \"geolocation\": {\n                \"geoipUserRegion\": [\n                    1\n                ],\n                \"drop\": false,\n                \"geoipProximity\": null\n            }\n        }\n    },\n    {\n        \"type\": \"aname\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"standardrecord\",\n            \"ttl\": \"1800\",\n            \"roundRobin\": [\n                {\n                    \"value\": \"www.google.com.\",\n                    \"disableFlag\": false\n                }\n            ]\n        }\n    },\n    {\n        \"type\": \"cname\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"standardrecordwithGeoIPfdf\",\n            \"ttl\": 1800,\n            \"host\": \"www.\"\n        }\n    },\n    {\n        \"type\": \"hinfo\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"standardrecordHinfo\",\n            \"ttl\": \"1800\",\n            \"roundRobin\": [\n                {\n                    \"cpu\": \"quard core\",\n                    \"os\": \"linux\"\n                }\n            ]\n        }\n    },\n    {\n        \"type\": \"httpredirection\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"standardhttpredirection\",\n            \"ttl\": \"1800\",\n            \"redirectTypeId\": \"1\",\n            \"url\": \"http://www.google.com\"\n        }\n    },\n    {\n        \"type\": \"mx\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"standardMXrecord\",\n            \"ttl\": \"1800\",\n            \"roundRobin\": [\n                {\n                    \"value\": \"domainDocument.\",\n                    \"level\": 0,\n                    \"disableFlag\": false\n                }\n            ]\n        }\n    },\n    {\n        \"type\": \"naptr\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"standardnaptr\",\n            \"ttl\": 1800,\n            \"roundRobin\": [\n                {\n                    \"order\": 10,\n                    \"preference\": 100,\n                    \"flags\": \"s\",\n                    \"service\": \"SIP+D2U\",\n                    \"regularExpression\": \"\",\n                    \"replacement\": \"foo.example.com.\",\n                    \"disableFlag\": false\n                }\n            ]\n        }\n    },\n    {\n        \"type\": \"caa\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"standardrecordCAA\",\n            \"ttl\": \"1800\",\n            \"roundRobin\": [\n                {\n                    \"caaProviderId\": \"3\",\n                    \"tag\": \"issue\",\n                    \"data\": \"comodoca.com\",\n                    \"flag\": \"0\"\n                }\n            ]\n        }\n    },\n    {\n        \"type\": \"cert\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"standardCERT\",\n            \"ttl\": \"1800\",\n            \"roundRobin\": [\n                {\n                    \"certificateType\": \"123\",\n                    \"keyTag\": \"654\",\n                    \"algorithm\": \"42\",\n                    \"certificate\": \"14\"\n                }\n            ]\n        }\n    },\n    {\n        \"type\": \"ns\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"nsrecord\",\n            \"ttl\": \"1800\",\n            \"roundRobin\": [\n                {\n                    \"value\": \"ns01.constellix.\"\n                }\n            ]\n        }\n    },\n    {\n        \"type\": \"ptr\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"ptrrecord1\",\n            \"ttl\": \"1800\",\n            \"roundRobin\": [\n                {\n                    \"value\": \"mail.domainDocument.\"\n                }\n            ]\n        }\n    },\n    {\n        \"type\": \"rp\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"rprecord1\",\n            \"ttl\": \"1800\",\n            \"roundRobin\": [\n                {\n                    \"mailbox\": \"mx.domainDocument.com\",\n                    \"txt\": \"domainDocument.com\"\n                }\n            ]\n        }\n    },\n    {\n        \"type\": \"spf\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"standardSPF\",\n            \"ttl\": \"1800\",\n            \"roundRobin\": [\n                {\n                    \"value\": \"\\\"1.2.3.4\\\"\"\n                }\n            ]\n        }\n    },\n    {\n        \"type\": \"srv\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"srvrecord\",\n            \"ttl\": \"1800\",\n            \"roundRobin\": [\n                {\n                    \"value\": \"domainDocument.com\",\n                    \"priority\": 1,\n                    \"weight\": 1,\n                    \"port\": 201\n                }\n            ]\n        }\n    },\n    {\n        \"type\": \"txt\",\n        \"add\": true,\n        \"set\": {\n            \"name\": \"txtrecord1\",\n            \"ttl\": \"1800\",\n            \"roundRobin\": [\n                {\n                    \"value\": \"\\\"{\\\\\\\"cfg\\\\\\\":[{\\\\\\\"useAS\\\\\\\":0}]}\\\"\"\n                }\n            ]\n        }\n    }\n]"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId}}/records"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Apache-Coyote/1.1"},{"key":"X-Application-Context","value":"application:development"},{"key":"requestsRemainingHeader","value":"19999999"},{"key":"requestLimitHeader","value":"20000000"},{"key":"requestRefreshInterval","value":"69"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Mon, 05 Aug 2019 07:05:07 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"16 record(s) added, 0 record(s) updated, 0 record(s) deleted\"\n}"},{"id":"666bf37a-a1a8-4784-ae75-3be6be8bfab7","name":"Bulk update of records using filter and exclude","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"type\":\"a\",\n        \"filter\": {\"field\":\"name\", \"op\":\"contains\", \"value\": \"sr\"},\n        \"set\": { \"ttl\":900 }\n    },\n    {\n        \"type\":\"cname\",\n        \"exclude\":{\"field\": \"name\", \"op\": \"in\", \"value\":[\"www.msn.com\"]},\n        \"set\": { \"ttl\":900 }\n    }\n]"},"url":"{{BaseURL}}/{{version}}/domains/{{DomainId1}}/records"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 19 Sep 2017 12:45:46 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=576F375BF2DD48DCEE9D904CF0C90AE4; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"576F375BF2DD48DCEE9D904CF0C90AE4","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"0 record(s) updated, 0 record(s) deleted\"}"}],"_postman_id":"deffddca-249a-4f6e-8c34-677dd8a07d07"}],"id":"92aef15c-2d03-4414-a769-5f4a6dfed87e","_postman_id":"92aef15c-2d03-4414-a769-5f4a6dfed87e","description":""},{"name":"Search Records","item":[{"name":"Search for records of record type that start with string.","event":[{"listen":"prerequest","script":{"id":"ccf3dc6c-1b43-45b5-b494-302244940d09","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"a6ffb833-77bc-4c96-a5e5-918521db95d3","exec":[""],"type":"text/javascript"}}],"id":"c8482975-513a-4774-90d8-03fa064de8b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/<domain id>/records/<record type>/search?startswith=<string>","description":"<p>Returns a specific record name and record ID.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","<domain id>","records","<record type>","search"],"host":["api","dns","constellix","com"],"query":[{"key":"startswith","value":"<string>"}],"variable":[]}},"response":[{"id":"145b9132-d854-4a4f-9def-a08dbfaa52ec","name":"Search for records of record type that start with string.","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":{"raw":"https://api.dns.constellix.com/v1/domains/15475/records/A/search?startswith=ww","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","domains","15475","records","A","search"],"query":[{"key":"startswith","value":"ww"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 12:03:40 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache-Coyote/1.1"},{"key":"X-Trace","value":"2B473CCAD9D1EF1F461332F4A81C030AE7ED756EE461A98EF212A485DB01"},{"key":"Set-Cookie","value":"JSESSIONID=547E2299F31B7D9BDA30DCA62B9A46AC; Path=/; HttpOnly"},{"key":"X-Application-Context","value":"application:production"},{"key":"requestsRemainingHeader","value":"28"},{"key":"requestLimitHeader","value":"30"},{"key":"requestRefreshInterval","value":"8"},{"key":"cnsdns-account-Id","value":"300000119"},{"key":"cnsdns-user-role","value":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"www\",\n        \"id\": 4309647\n    }\n]"}],"_postman_id":"c8482975-513a-4774-90d8-03fa064de8b2"},{"name":"Search for records of record type that ends with string.","event":[{"listen":"prerequest","script":{"id":"ccf3dc6c-1b43-45b5-b494-302244940d09","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"a6ffb833-77bc-4c96-a5e5-918521db95d3","exec":[""],"type":"text/javascript"}}],"id":"8be70c51-b163-483e-8586-0933bb96a816","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/<domain_id</records/<record_type>/search?endswith=<string>","description":"<p>Returns a specific record name and record ID.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","<domain_id<","records","<record_type>","search"],"host":["api","dns","constellix","com"],"query":[{"key":"endswith","value":"<string>"}],"variable":[]}},"response":[{"id":"133c4efc-d6c0-4c4a-8466-d7f529691c83","name":"Search for records of record type that ends with string.","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":{"raw":"https://api.dns.constellix.com/v1/domains/15475/records/A/search?endswith=day","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","domains","15475","records","A","search"],"query":[{"key":"endswith","value":"day"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 12:10:08 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache-Coyote/1.1"},{"key":"X-Trace","value":"2B81D71643EC9989A24BD02F8811CEEC11A5DEEC07B7BDBDA66A26E45101"},{"key":"Set-Cookie","value":"JSESSIONID=71BF9039E6E2374E805109442D2F9D45; Path=/; HttpOnly"},{"key":"X-Application-Context","value":"application:production"},{"key":"requestsRemainingHeader","value":"29"},{"key":"requestLimitHeader","value":"30"},{"key":"requestRefreshInterval","value":"19"},{"key":"cnsdns-account-Id","value":"300000119"},{"key":"cnsdns-user-role","value":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"monday\",\n        \"id\": 4362482\n    }\n]"}],"_postman_id":"8be70c51-b163-483e-8586-0933bb96a816"},{"name":"Search for records of record type that matches a specific string.","event":[{"listen":"prerequest","script":{"id":"ccf3dc6c-1b43-45b5-b494-302244940d09","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"a6ffb833-77bc-4c96-a5e5-918521db95d3","exec":[""],"type":"text/javascript"}}],"id":"17f5ea42-17df-488d-be97-e44abc03535c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/<domain_id>/records/<record type>/search?exact=<string>","description":"<p>Returns a specific record name and record ID.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","<domain_id>","records","<record type>","search"],"host":["api","dns","constellix","com"],"query":[{"key":"exact","value":"<string>"}],"variable":[]}},"response":[{"id":"36ea5b7f-3e3b-4d65-9374-43d720fc398c","name":"Search for records of record type that matches a specific string.","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":{"raw":"https://api.dns.constellix.com/v1/domains/15475/records/A/search?exact=www","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","domains","15475","records","A","search"],"query":[{"key":"exact","value":"www"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 12:11:10 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache-Coyote/1.1"},{"key":"X-Trace","value":"2BDC0BE7E45A926A7F0BC1C98F647D0D0891EB7014050F92B7B875117501"},{"key":"Set-Cookie","value":"JSESSIONID=DA1A5D3F6688889C92E5E8E57BE94F58; Path=/; HttpOnly"},{"key":"X-Application-Context","value":"application:production"},{"key":"requestsRemainingHeader","value":"28"},{"key":"requestLimitHeader","value":"30"},{"key":"requestRefreshInterval","value":"7"},{"key":"cnsdns-account-Id","value":"300000119"},{"key":"cnsdns-user-role","value":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"www\",\n        \"id\": 4309647\n    }\n]"},{"id":"e58588ca-c949-4563-9a28-993e6d86f43f","name":"Search for records of record type that matches a specific string.","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":{"raw":"https://api.dns.constellix.com/v1/domains/15475/records/A/search?exact=1","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","domains","15475","records","A","search"],"query":[{"key":"exact","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 12:11:29 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache-Coyote/1.1"},{"key":"X-Trace","value":"2BDFEC1D6E03BF7C608BE9CB1F70A1B680D2070087EDC0DDA141DBB82301"},{"key":"Set-Cookie","value":"JSESSIONID=077ED703D055A8C3F796549F69044931; Path=/; HttpOnly"},{"key":"X-Application-Context","value":"application:production"},{"key":"requestsRemainingHeader","value":"28"},{"key":"requestLimitHeader","value":"30"},{"key":"requestRefreshInterval","value":"0"},{"key":"cnsdns-account-Id","value":"300000119"},{"key":"cnsdns-user-role","value":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"1\",\n        \"id\": 57749\n    }\n]"}],"_postman_id":"17f5ea42-17df-488d-be97-e44abc03535c"},{"name":"Search for records of record type that contains a string","event":[{"listen":"prerequest","script":{"id":"ccf3dc6c-1b43-45b5-b494-302244940d09","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"a6ffb833-77bc-4c96-a5e5-918521db95d3","exec":[""],"type":"text/javascript"}}],"id":"fc60d11f-1863-4701-a6be-3261a820fdc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/domains/<domain_id>/records/<record type>/search?contains=<string>","description":"<p>Returns a specific record name and record ID.</p>\n","urlObject":{"protocol":"https","path":["v1","domains","<domain_id>","records","<record type>","search"],"host":["api","dns","constellix","com"],"query":[{"key":"contains","value":"<string>"}],"variable":[]}},"response":[{"id":"8ed1cb12-bf57-449a-9331-f6804967c413","name":"Search for records of record type that contains a string","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":{"raw":"https://api.dns.constellix.com/v1/domains/15475/records/A/search?contains=day","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","domains","15475","records","A","search"],"query":[{"key":"contains","value":"day"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 12:11:55 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache-Coyote/1.1"},{"key":"X-Trace","value":"2B8C7CCD782D2198DD6E12E7F60C8A0C1576B04BE8C420D2E53FEA25BC01"},{"key":"Set-Cookie","value":"JSESSIONID=13E16DC084BA5C5010AEAC7DC3F72D08; Path=/; HttpOnly"},{"key":"X-Application-Context","value":"application:production"},{"key":"requestsRemainingHeader","value":"29"},{"key":"requestLimitHeader","value":"30"},{"key":"requestRefreshInterval","value":"19"},{"key":"cnsdns-account-Id","value":"300000119"},{"key":"cnsdns-user-role","value":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"monday\",\n        \"id\": 4362482\n    }\n]"}],"_postman_id":"fc60d11f-1863-4701-a6be-3261a820fdc4"}],"id":"81003e4f-bd3f-413f-a18d-6d9d18f10201","_postman_id":"81003e4f-bd3f-413f-a18d-6d9d18f10201","description":""}],"id":"44d523f8-86f6-4bba-8411-c6d70c5f8998","event":[{"listen":"prerequest","script":{"id":"d433f215-d2c2-4f1f-b775-65cf6d2811fd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"572a355d-1349-41c9-bd9f-5127c33c6fcb","type":"text/javascript","exec":[""]}}],"_postman_id":"44d523f8-86f6-4bba-8411-c6d70c5f8998","description":""},{"name":"Template","item":[{"name":"Get all Templates","event":[{"listen":"prerequest","script":{"id":"6fa91456-dc31-4d34-a9c3-a7a4d4cdfe58","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"efdd066b-9eb9-40f0-9280-7e87781e66e6","exec":[""],"type":"text/javascript"}}],"id":"bb6edab1-ffc8-4d5d-8925-af555569dee0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","type":"text"}],"url":"https://api.dns.constellix.com/v1/templates?offset=0&max=10&sort=name&order=asc","description":"<p>Returns a list of all templates in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","templates"],"host":["api","dns","constellix","com"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}],"variable":[]}},"response":[{"id":"90f1a6cf-16ef-41f5-bd14-7d640aeffa09","name":"Get all Templates","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"url":{"raw":"https://api.dns.constellix.com/v1/templates?offset=0&max=10&sort=name&order=asc","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","templates"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:44:42 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=4D9F796BA1C9E6E1565B3719D2C8D2AC; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"4D9F796BA1C9E6E1565B3719D2C8D2AC","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":549,\"name\":\"sampleTemplate3\",\"createdTs\":\"2018-04-19T17:43:59Z\",\"modifiedTs\":\"2018-04-19T17:43:59Z\",\"version\":0,\"hasGtdRegions\":false,\"hasGeoIP\":false},{\"id\":548,\"name\":\"sampleTemplate2\",\"createdTs\":\"2018-04-19T17:43:07Z\",\"modifiedTs\":\"2018-04-19T17:43:07Z\",\"version\":1,\"hasGtdRegions\":false,\"hasGeoIP\":false},{\"id\":547,\"name\":\"sampleTemplate1\",\"createdTs\":\"2018-04-19T17:43:07Z\",\"modifiedTs\":\"2018-04-19T17:43:07Z\",\"version\":1,\"hasGtdRegions\":false,\"hasGeoIP\":false}]"}],"_postman_id":"bb6edab1-ffc8-4d5d-8925-af555569dee0"},{"name":"Create a Template","event":[{"listen":"prerequest","script":{"id":"38b0f339-4a05-4f51-8d2f-d19dabe3975c","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"ac0d8d00-061b-4a30-a63a-597ec0c11080","exec":[""],"type":"text/javascript"}}],"id":"f958c508-2d5e-4a2f-9bbb-7acc1252d64f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","type":"text"}],"body":{"mode":"raw","raw":"[\n  {\n    \"name\": \"sampleTemplate3\",\n  }\n]"},"url":"https://api.dns.constellix.com/v1/templates/","description":"<p>Creates one or more new templates in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","templates",""],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"0bb9a89a-1d23-48e9-8258-ff35095de595","name":"Create a Blank Template","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"[\n  {\n    \"name\": \"sampleTemplate3\",\n  }\n]"},"url":"https://api.dns.constellix.com/v1/templates/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:43:59 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=D9831991E6B8888AF56B5DD3DAFB1F36; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"D9831991E6B8888AF56B5DD3DAFB1F36","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":549,\"name\":\"sampleTemplate3\",\"createdTs\":\"2018-04-19T17:43:59Z\",\"modifiedTs\":\"2018-04-19T17:43:59Z\",\"version\":0,\"hasGtdRegions\":false,\"hasGeoIP\":false}]"},{"id":"71883829-891d-496f-a8c9-023e5d4d8111","name":"Create a Template based on a Domain","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"[\n  {\n    \"name\": \"sampleTemplate1\",\n    \"domain\": 24079\n  },\n  {\n    \"name\": \"sampleTemplate2\",\n    \"domain\": 24079\n  }  \n]"},"url":"https://api.dns.constellix.com/v1/templates/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:43:08 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=16CB23274E223ED6460C0D9A88B78D55; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"16CB23274E223ED6460C0D9A88B78D55","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":547,\"name\":\"sampleTemplate1\",\"createdTs\":\"2018-04-19T17:43:07Z\",\"modifiedTs\":\"2018-04-19T17:43:07Z\",\"version\":1,\"hasGtdRegions\":false,\"hasGeoIP\":false},{\"id\":548,\"name\":\"sampleTemplate2\",\"createdTs\":\"2018-04-19T17:43:07Z\",\"modifiedTs\":\"2018-04-19T17:43:07Z\",\"version\":1,\"hasGtdRegions\":false,\"hasGeoIP\":false}]"}],"_postman_id":"f958c508-2d5e-4a2f-9bbb-7acc1252d64f"},{"name":"Get an Existing Template","event":[{"listen":"prerequest","script":{"id":"6b4c9a40-120d-4516-a86b-83f20c996aad","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"ba9e8b2a-1b40-40e2-9fd6-5e14786510bc","type":"text/javascript","exec":[""]}}],"id":"99085954-d1bd-4826-8373-6332b5a81b96","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/templates/547","description":"<p>Returns an existing template with the given ID.</p>\n","urlObject":{"protocol":"https","path":["v1","templates","547"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"a3a4465f-744c-484a-ad43-28b3541b17e3","name":"Get an Existing Template","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/templates/547"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:46:05 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"91ED6DF5A7BD14F29CE63B3109274624","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":547,\"name\":\"sampleTemplate1\",\"createdTs\":\"2018-04-19T17:43:07Z\",\"modifiedTs\":\"2018-04-19T17:43:07Z\",\"version\":1,\"hasGtdRegions\":false,\"hasGeoIP\":false}"}],"_postman_id":"99085954-d1bd-4826-8373-6332b5a81b96"},{"name":"Update an Existing Template","event":[{"listen":"prerequest","script":{"id":"50597911-9391-4132-8c70-1c83565c6187","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"e6fba004-186e-465b-89e9-b0c578041655","type":"text/javascript","exec":[""]}}],"id":"8169679c-a47a-4a32-963c-fd53331588eb","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"\n    {\n      \"hasGtdRegions\": true,\n      \"hasGeoIP\": false\n    }"},"url":"https://api.dns.constellix.com/v1/templates/547","description":"<p>Updates an existing template in the user's account.</p>\n<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name <strong>* </strong></p>\n      </td>\n      <td>\n        <p>String[]</p>\n      </td>\n      <td>\n        <p>Template names</p>\n      </td>\n    </tr>\n  </tbody>\n</table>","urlObject":{"protocol":"https","path":["v1","templates","547"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"8bcf2aac-8820-4721-bffe-84d00dd07d67","name":"Update an Existing Template","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"\n    {\n      \"hasGtdRegions\": true,\n      \"hasGeoIP\": false\n    }"},"url":"https://api.dns.constellix.com/v1/templates/547"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:46:51 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=D8C20966CCAB99BF0FCF7B506479C91D; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"D8C20966CCAB99BF0FCF7B506479C91D","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Template sampleTemplate1 updated successfully\"}"}],"_postman_id":"8169679c-a47a-4a32-963c-fd53331588eb"},{"name":"Delete an Existing Template","event":[{"listen":"prerequest","script":{"id":"1464e871-1bec-49a6-b76e-85a7ce8cbe8e","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"a105cfc3-30bf-42fa-9277-ece493c0e32b","type":"text/javascript","exec":[""]}}],"id":"f786e785-c833-4f70-b87a-10b57d4602b9","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/templates/549","description":"<p>Deletes a template.</p>\n","urlObject":{"protocol":"https","path":["v1","templates","549"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"da99293d-1e70-4909-8d0b-c35eee25fc44","name":"Delete an Existing Template","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/templates/549"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:47:51 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=A541B68735488ECEA571D7077CAC932B; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"A541B68735488ECEA571D7077CAC932B","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Template sampleTemplate3 deleted successfully\"}"}],"_postman_id":"f786e785-c833-4f70-b87a-10b57d4602b9"}],"id":"1ed689be-07ea-4de7-bb4a-7f3363540509","description":"<p>Templates are designed to simplify the configuration of multiple domain names that share the exact same record set. This allows an administrator to define this record set once within a template and then apply that template to multiple domains.</p>\n<p>Domains which have a template assigned have an additional column on the record page titled Source. Records which come from a template have a Source of “Template”. Records which come from a domain have a Source of “Domain’.</p>\n<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n        <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated template id. e.g \"id\": 3370 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name <strong>* </strong></p>\n      </td>\n      <td>\n        <p>String[]</p>\n      </td>\n      <td>\n        <p>Template names. e.g \"sampletemplate\"</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>Domain</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Id of domain to be applied</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>hasGtdRegions</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Enable/Disable GTD Region of the domain. The Default value is false. <br /></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>hasGeoIP</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Enable/Disable GEO IP. The Default value is false.  </p>\n      </td>\n    </tr>\n     <tr>\n      <td>\n        <p>version</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated template history version</p>\n      </td>\n    </tr>\n  </tbody>\n</table>","event":[{"listen":"prerequest","script":{"id":"c3cac372-cba0-43af-a572-d339e3095836","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"11568f6f-8870-4e86-83ba-477a1deda067","type":"text/javascript","exec":[""]}}],"_postman_id":"1ed689be-07ea-4de7-bb4a-7f3363540509"},{"name":"Template Record","item":[{"name":"Get all Templates Records","event":[{"listen":"prerequest","script":{"id":"c876faff-120a-4890-b437-ac9f4c0bf23d","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"b3e00183-6c29-4be3-b4af-ce678f9bbec2","exec":[""],"type":"text/javascript"}}],"id":"634540a1-ffc1-430d-aea7-347f462f0bf9","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/templates/547/records?offset=0&max=10&sort=name&order=asc","description":"<p>Returns a list of all records in the specified template.</p>\n<p>Note: Record Fields description is available in Domain Records section.</p>\n","urlObject":{"protocol":"https","path":["v1","templates","547","records"],"host":["api","dns","constellix","com"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}],"variable":[]}},"response":[{"id":"b4849506-63e5-4954-b98a-9f8647dad6d1","name":"Get all Templates Records","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"url":{"raw":"https://api.dns.constellix.com/v1/templates/547/records?offset=0&max=10&sort=name&order=asc","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","templates","547","records"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:56:06 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=8CB4C6024AB71ECB657886659052C4BA; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"8CB4C6024AB71ECB657886659052C4BA","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":93221,\"type\":\"A\",\"recordType\":\"a\",\"name\":\"www\",\"recordOption\":\"roundRobin\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":547,\"parent\":\"template\",\"source\":\"Template\",\"modifiedTs\":1524159787790,\"value\":[\"1.1.1.1\"],\"roundRobin\":[{\"value\":\"1.1.1.1\",\"disableFlag\":false}],\"geolocation\":null,\"recordFailover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[]},\"failover\":{\"disabled\":false,\"failoverType\":1,\"failoverTypeStr\":\"Normal (always lowest level)\",\"values\":[]},\"roundRobinFailover\":[],\"pools\":[],\"poolsDetail\":[]}]"}],"_postman_id":"634540a1-ffc1-430d-aea7-347f462f0bf9"},{"name":"Create a Template Record","event":[{"listen":"prerequest","script":{"id":"d186b39e-f7ea-4865-bdc3-8d6ed1807642","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"be291965-18d5-42f7-8351-d13e1845afdc","exec":[""],"type":"text/javascript"}}],"id":"5f3c158a-13f1-4a54-84ab-c5c2ecea42a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"recordOption\": \"roundRobinFailover\",\n  \"name\": \"rrf\",\n  \"ttl\": 1800,\n  \"roundRobinFailover\": [\n    {\n      \"value\": \"15.45.25.35\",\n      \"sortOrder\": 1,\n      \"checkId\": \"\"\n    },\n    {\n      \"value\": \"154.45.25.35\",\n      \"sortOrder\": 2,\n      \"checkId\": \"\"\n    }\n  ],\n  \"source\": \"template\",\n  \"noAnswer\": false\n}"},"url":"https://api.dns.constellix.com/v1/templates/547/records/A","description":"<p>Creates one or more new records within the specified domain.\nNote: Record Fields description is available in Domain Records section.</p>\n","urlObject":{"protocol":"https","path":["v1","templates","547","records","A"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"cc4d05f6-3994-466c-b742-a60b4c442cb4","name":"Create a Template Record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"recordOption\": \"roundRobinFailover\",\n  \"name\": \"rrf\",\n  \"ttl\": \"1800\",\n  \"roundRobinFailover\": [\n    {\n      \"value\": \"15.45.25.35\",\n      \"sortOrder\": 1,\n      \"checkId\": \"\"\n    },\n    {\n      \"value\": \"154.45.25.35\",\n      \"sortOrder\": 2,\n      \"checkId\": \"\"\n    }\n  ],\n  \"source\": \"template\",\n  \"noAnswer\": false\n}"},"url":"https://api.dns.constellix.com/v1/templates/547/records/A"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:56:56 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=1F4257B21047F752FA354787E9BD1183; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"1F4257B21047F752FA354787E9BD1183","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":93230,\"type\":\"A\",\"recordType\":\"a\",\"name\":\"rrf\",\"recordOption\":\"roundRobinFailover\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":547,\"parent\":\"template\",\"source\":\"Template\",\"modifiedTs\":1524160615965,\"value\":[\"15.45.25.35\",\"154.45.25.35\"],\"roundRobin\":[],\"geolocation\":null,\"roundRobinFailover\":[{\"value\":\"15.45.25.35\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":false},{\"value\":\"154.45.25.35\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}],\"contactIds\":null}]"}],"_postman_id":"5f3c158a-13f1-4a54-84ab-c5c2ecea42a0"},{"name":"Get an Existing Template Record","event":[{"listen":"prerequest","script":{"id":"2276ac31-2e84-4cd7-a4cc-a32639de6232","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"88368323-09bd-49bd-a318-54fdf4bbdc32","type":"text/javascript","exec":[""]}}],"id":"186d81ac-9ca9-4926-bb1c-3caec1938502","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/templates/547/records/A/93230","description":"<p>Returns a specific record within the specified template.</p>\n","urlObject":{"protocol":"https","path":["v1","templates","547","records","A","93230"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"98cf14cc-007e-4795-8693-b271f5dd85c5","name":"Get an Existing Template Record","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/templates/547/records/A/93230"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:58:04 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=C3D7854B73881AD47B107E46535E9341; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"C3D7854B73881AD47B107E46535E9341","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":93230,\"type\":\"A\",\"recordType\":\"a\",\"name\":\"rrf\",\"recordOption\":\"roundRobinFailover\",\"noAnswer\":false,\"note\":\"\",\"ttl\":1800,\"gtdRegion\":1,\"parentId\":547,\"parent\":\"template\",\"source\":\"Template\",\"modifiedTs\":1524160615964,\"value\":[\"15.45.25.35\",\"154.45.25.35\"],\"roundRobin\":[],\"geolocation\":null,\"roundRobinFailover\":[{\"value\":\"15.45.25.35\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":1,\"markedActive\":false},{\"value\":\"154.45.25.35\",\"disableFlag\":false,\"failedFlag\":false,\"status\":\"N/A\",\"sortOrder\":2,\"markedActive\":false}],\"contactIds\":null}"}],"_postman_id":"186d81ac-9ca9-4926-bb1c-3caec1938502"},{"name":"Update an Existing Template Record","event":[{"listen":"prerequest","script":{"id":"4b932a0f-2a17-4439-a669-558b8a050dbd","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"06ac3824-c49a-4d47-8865-ea89a21ea9de","exec":["",""],"type":"text/javascript"}}],"id":"c65d9b82-c0aa-4cb1-9bde-7f5a30bfe7a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n\n  \"recordOption\": \"roundRobinFailover\",\n  \"name\": \"updateNow\",\n  \"ttl\": 1800,\n  \"roundRobinFailover\": [\n    {\n      \"value\": \"15.45.25.23\",\n      \"sortOrder\": 1\n    },\n    {\n      \"value\": \"154.45.25.24\",\n      \"sortOrder\": 2\n    }\n  ],\n  \"source\": \"template\",\n  \"noAnswer\": false\n}"},"url":"https://api.dns.constellix.com/v1/templates/547/records/A/93230","description":"<p>Updates an existing record within the specified template.\nNote: Record Fields description is available in Domain Records section.</p>\n","urlObject":{"protocol":"https","path":["v1","templates","547","records","A","93230"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"c09e8f95-8c55-4cfa-b132-2991c0dc3f04","name":"Update an Existing Template Record","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n\n  \"recordOption\": \"roundRobinFailover\",\n  \"name\": \"updateNow\",\n  \"ttl\": \"1800\",\n  \"roundRobinFailover\": [\n    {\n      \"value\": \"15.45.25.23\",\n      \"sortOrder\": 1\n    },\n    {\n      \"value\": \"154.45.25.24\",\n      \"sortOrder\": 2\n    }\n  ],\n  \"source\": \"template\",\n  \"noAnswer\": false\n}"},"url":"https://api.dns.constellix.com/v1/templates/547/records/A/93230"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:59:03 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=193037C3AD405FB5EE708C43D333F1D2; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"193037C3AD405FB5EE708C43D333F1D2","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  updated successfully\"}"}],"_postman_id":"c65d9b82-c0aa-4cb1-9bde-7f5a30bfe7a8"},{"name":"Delete an Existing Template Record","event":[{"listen":"prerequest","script":{"id":"06286351-dc36-4061-a310-2d13d2ff68ba","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"dcffcd4f-8ae0-4f15-a9de-8d1db244f4c4","type":"text/javascript","exec":[""]}}],"id":"6dee0017-d21e-41d0-bd7d-cdcf15eb95e1","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/templates/547/records/A/93230","description":"<p>Deletes an existing record within the specified template.</p>\n","urlObject":{"protocol":"https","path":["v1","templates","547","records","A","93230"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"a76daec2-8ce0-40a4-b48f-b342f2b55c44","name":"Delete an Existing Template Record","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/templates/547/records/A/93230"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 18:00:01 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=8495593A8474309E8FD2C3BE7ED8872E; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"8495593A8474309E8FD2C3BE7ED8872E","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record  deleted successfully\"}"}],"_postman_id":"6dee0017-d21e-41d0-bd7d-cdcf15eb95e1"},{"name":"Delete all Records in Existing Template","event":[{"listen":"prerequest","script":{"id":"9fda4d06-48c5-4fc7-b52c-ee670adb1c89","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"9a96e0a0-e0ba-4fad-9de6-71b4bb4e5d9d","type":"text/javascript","exec":[""]}}],"id":"76ed0249-138f-4dad-9686-d8e232bd6b32","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/templates/547/records","description":"<p>Deletes all records within the specified template.</p>\n","urlObject":{"protocol":"https","path":["v1","templates","547","records"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"e5e87020-0634-4377-8912-605aa2315f1b","name":"Delete all Records in Existing Template","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/templates/547/records"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 18:00:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=7D9B38EDA374662865525911752737AC; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"7D9B38EDA374662865525911752737AC","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Records  deleted successfully\"}"}],"_postman_id":"76ed0249-138f-4dad-9686-d8e232bd6b32"}],"id":"1f1d7323-43ae-4d68-9017-7e8b4fd70ecc","description":"<p>Record Fields description is available in Domain Records section.</p>\n","_postman_id":"1f1d7323-43ae-4d68-9017-7e8b4fd70ecc"},{"name":"Pools","item":[{"name":"A Record Pool","item":[{"name":"Get Pools","event":[{"listen":"prerequest","script":{"id":"b48649a3-ce66-4a30-8c59-e5ba8594a903","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"65f8ac7e-3971-4aed-9d9a-2fdaf19f97c9","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;","","console.log(\"get Template : \",  JSON.stringify(jsonData));"],"type":"text/javascript"}}],"id":"3688e62b-0fb8-4093-9df4-0608a4be06ba","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/pools/A?offset=0&max=10&sort=name&order=asc","description":"<p>Returns a list of all pools type A.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","A"],"host":["api","dns","constellix","com"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}],"variable":[]}},"response":[{"id":"de758d52-f08c-4aed-a852-53cb59a5a4e6","name":"Get Pools","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"url":{"raw":"https://api.dns.constellix.com/v1/pools/A?offset=0&max=10&sort=name&order=asc","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","pools","A"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:22:47 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=89C4C768984D13BA753D97B313E17D62; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"89C4C768984D13BA753D97B313E17D62","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":843,\"name\":\"APoolSample1\",\"type\":\"A\",\"numReturn\":1,\"minAvailableFailover\":1,\"createdTs\":\"2018-04-19T16:17:55Z\",\"modifiedTs\":\"2018-04-19T16:17:55Z\",\"appliedDomains\":null,\"appliedTemplates\":null,\"itoEnabled\":true,\"values\":[{\"value\":\"8.1.1.1\",\"weight\":10},{\"value\":\"8.1.1.2\",\"weight\":20}]},{\"id\":842,\"name\":\"APoolSample\",\"type\":\"A\",\"numReturn\":1,\"minAvailableFailover\":1,\"createdTs\":\"2018-04-19T16:06:04Z\",\"modifiedTs\":\"2018-04-19T16:06:04Z\",\"appliedDomains\":null,\"appliedTemplates\":null,\"itoEnabled\":false,\"values\":[{\"value\":\"8.1.1.1\",\"weight\":10},{\"value\":\"8.1.1.2\",\"weight\":20}]}]"}],"_postman_id":"3688e62b-0fb8-4093-9df4-0608a4be06ba"},{"name":"Create a Pool","event":[{"listen":"prerequest","script":{"id":"986b9d59-0f51-477e-8ad8-6938845b3d0e","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"a38b6ecc-7ea7-4cde-813e-b4953dbec808","type":"text/javascript","exec":[""]}}],"id":"31ac4d60-6267-4188-b1ee-333939324b51","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"name\": \"APoolSample1\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"8.1.1.1\",\n                \"weight\": 10,\n                \"checkId\": 35100,\n                \"policy\": \"followsonar\"\n            },\n            {\n                \"value\": \"8.1.1.2\",\n                \"weight\": 20,\n                \"checkId\": null,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": true,\n        \"poolIto\": {\n            \"poolFrequency\": 30,\n            \"maximumNumberOfBestResults\": 1,\n            \"deviationAllowance\": 10,\n            \"monitoringRegion\": \"WORLD\"\n        }\n    }\n]\n"},"url":"https://api.dns.constellix.com/v1/pools/A","description":"<p>Creates one or more new pools.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","A"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"a5ef64c9-cbd7-487f-a2f2-3674d06a80d8","name":"Create a Pool with ITO Enabled","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"[\n    {\n        \"name\": \"APoolSample1\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"8.1.1.1\",\n                \"weight\": 10,\n                \"checkId\": 35100,\n                \"policy\": \"followsonar\"\n            },\n            {\n                \"value\": \"8.1.1.2\",\n                \"weight\": 20,\n                \"checkId\": null,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": true,\n        \"poolIto\": {\n            \"poolFrequency\": 30,\n            \"maximumNumberOfBestResults\": 1,\n            \"deviationAllowance\": 10,\n            \"monitoringRegion\": \"WORLD\"\n        }\n    }\n]\n"},"url":"https://api.dns.constellix.com/v1/pools/A"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:17:55 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=F9439F7D26485C3DE87178E59CDC48A0; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"F9439F7D26485C3DE87178E59CDC48A0","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":843,\"name\":\"APoolSample1\",\"type\":\"A\",\"numReturn\":1,\"minAvailableFailover\":1,\"createdTs\":\"2018-04-19T16:17:55Z\",\"modifiedTs\":\"2018-04-19T16:17:55Z\",\"appliedDomains\":null,\"appliedTemplates\":null,\"itoEnabled\":true,\"values\":[{\"failedFlag\":false,\"disableFlag\":false,\"value\":\"8.1.1.1\",\"weight\":10,\"checkId\":35100,\"policy\":\"followsonar\",\"activated\":null,\"speed\":null},{\"failedFlag\":false,\"disableFlag\":false,\"value\":\"8.1.1.2\",\"weight\":20,\"checkId\":null,\"policy\":\"followsonar\",\"activated\":null,\"speed\":null}],\"poolIto\":{\"poolFrequency\":30,\"maximumNumberOfBestResults\":1,\"deviationAllowance\":10,\"monitoringRegion\":\"WORLD\"},\"contactIds\":null,\"failedFlag\":false,\"disableFlag\":false,\"note\":\"\",\"version\":1}]"},{"id":"e50c9528-09a2-4456-94a5-3c93060c60dd","name":"Create a Pool with ITO Disabled","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"[\n    {\n        \"name\": \"APoolSample\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"8.1.1.1\",\n                \"weight\": 10,\n                \"checkId\": null,\n                \"policy\": \"followsonar\"\n            },\n            {\n                \"value\": \"8.1.1.2\",\n                \"weight\": 20,\n                \"checkId\": null,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": false\n    }\n]"},"url":"https://api.dns.constellix.com/v1/pools/A"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:06:04 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=F5C783EE02EF35584E5BA1D850CD853E; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"F5C783EE02EF35584E5BA1D850CD853E","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":842,\"name\":\"APoolSample\",\"type\":\"A\",\"numReturn\":1,\"minAvailableFailover\":1,\"createdTs\":\"2018-04-19T16:06:04Z\",\"modifiedTs\":\"2018-04-19T16:06:04Z\",\"appliedDomains\":null,\"appliedTemplates\":null,\"itoEnabled\":false,\"values\":[{\"failedFlag\":false,\"disableFlag\":false,\"value\":\"8.1.1.1\",\"weight\":10,\"checkId\":null,\"policy\":\"followsonar\",\"activated\":null,\"speed\":null},{\"failedFlag\":false,\"disableFlag\":false,\"value\":\"8.1.1.2\",\"weight\":20,\"checkId\":null,\"policy\":\"followsonar\",\"activated\":null,\"speed\":null}],\"poolIto\":null,\"contactIds\":null,\"failedFlag\":false,\"disableFlag\":false,\"note\":\"\",\"version\":1}]"}],"_postman_id":"31ac4d60-6267-4188-b1ee-333939324b51"},{"name":"Get an Existing Pool","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;","","console.log(\"get a specific template: \",  JSON.stringify(jsonData));"]}}],"id":"16341585-d8a6-409c-850c-0abd7fa27145","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/pools/A/843","description":"<p>Returns a specific type A pool.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","A","843"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"a9542269-2a3d-4ace-bd66-6df2e957dd4b","name":"Get an Existing Pool","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/pools/A/843"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:23:38 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=60A478EC12DFE3A0D827279C9DC45A18; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"60A478EC12DFE3A0D827279C9DC45A18","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":843,\"name\":\"APoolSample1\",\"type\":\"A\",\"numReturn\":1,\"minAvailableFailover\":1,\"createdTs\":\"2018-04-19T16:17:55Z\",\"modifiedTs\":\"2018-04-19T16:17:55Z\",\"appliedDomains\":null,\"appliedTemplates\":null,\"itoEnabled\":true,\"values\":[{\"failedFlag\":false,\"disableFlag\":false,\"value\":\"8.1.1.1\",\"weight\":10,\"checkId\":35100,\"policy\":\"followsonar\",\"activated\":false,\"speed\":\"N/A\"},{\"failedFlag\":false,\"disableFlag\":false,\"value\":\"8.1.1.2\",\"weight\":20,\"checkId\":null,\"policy\":\"followsonar\",\"activated\":false,\"speed\":\"N/A\"}],\"poolIto\":{\"poolFrequency\":30,\"maximumNumberOfBestResults\":1,\"deviationAllowance\":10,\"monitoringRegion\":\"WORLD\"},\"contactIds\":null,\"failedFlag\":false,\"disableFlag\":false,\"note\":\"\",\"version\":1}"}],"_postman_id":"16341585-d8a6-409c-850c-0abd7fa27145"},{"name":"Update an Existing Pool","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""]}}],"id":"b5db4947-1059-4fb8-9fd3-7745e5d083bc","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"\n    {\n        \"name\": \"APoolSample1\",\n      \"numReturn\": 1,\n      \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"8.1.1.1\",\n                \"weight\": 10,\n                \"checkId\": 35100,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": false\n    }\n"},"url":"https://api.dns.constellix.com/v1/pools/A/843","description":"<p>Update an existing pool type A.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","A","843"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"b0ac0159-19df-4103-93c7-9c8c3d10f78a","name":"Update an Existing Pool","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"\n    {\n        \"name\": \"APoolSample1\",\n      \"numReturn\": 1,\n      \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"8.1.1.1\",\n                \"weight\": 10,\n                \"checkId\": 35100,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": false\n    }\n"},"url":"https://api.dns.constellix.com/v1/pools/A/843"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:25:10 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=FF13F12B16883DB7419C47F7A14F2BC1; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"FF13F12B16883DB7419C47F7A14F2BC1","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record Pool APoolSample1 updated successfully\"}"}],"_postman_id":"b5db4947-1059-4fb8-9fd3-7745e5d083bc"},{"name":"Update an Existing Pool Copy","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""]}}],"id":"9ee02ea2-85ce-4e28-ae35-d1d96c5eade4","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"\n    {\n        \"name\": \"APoolSample1\",\n      \"numReturn\": 1,\n      \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"8.1.1.1\",\n                \"weight\": 10,\n                \"checkId\": 35100,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": false\n    }\n"},"url":"https://api.dns.constellix.com/v1/pools/A/843","description":"<p>Update an existing pool type A.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","A","843"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"9d0870db-a91c-49c3-a29d-7827dd68d862","name":"Update an Existing Pool","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"\n    {\n        \"name\": \"APoolSample1\",\n      \"numReturn\": 1,\n      \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"8.1.1.1\",\n                \"weight\": 10,\n                \"checkId\": 35100,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": false\n    }\n"},"url":"https://api.dns.constellix.com/v1/pools/A/843"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:25:10 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=FF13F12B16883DB7419C47F7A14F2BC1; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"FF13F12B16883DB7419C47F7A14F2BC1","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record Pool APoolSample1 updated successfully\"}"}],"_postman_id":"9ee02ea2-85ce-4e28-ae35-d1d96c5eade4"},{"name":"Delete an Existing Pool","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"]}}],"id":"843473a7-b657-495b-9896-e6e55f8eac47","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/pools/A/843","description":"<p>Deletes a pool type A.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","A","843"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"abc9ba84-4c56-4631-bee3-5c948b7a5dc0","name":"Delete an Existing Pool","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/pools/A/843"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:26:01 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=D7413E6D21CE35FB1E668230CB8717DB; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"D7413E6D21CE35FB1E668230CB8717DB","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record Pool APoolSample1 deleted successfully\"}"}],"_postman_id":"843473a7-b657-495b-9896-e6e55f8eac47"}],"id":"7cafee1c-429b-4980-8b7b-3193d70ef166","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Pool name should be unique.</p>\n      </td>\n    </tr>\n        <tr>\n      <td>\n        <p>numReturn *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>minimum number of value object to return. Value must be in between 0 and 64 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>minAvailableFailover *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>minimum number of Available Failover . Value must be in between 0 and 64 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>failedFlag </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>failed flag. Default is false. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>disableFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Enable or disable pool values. Default is false. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values *</p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td>\n        <p>Number of IP/Hosts in a pool values cannot be less than the \"Num Return\" and \"Min Available\" values</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.value *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>IPv4 address</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.weight *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>weight number to sort the priorty. Weight must be in between 1 and 1000000</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.disableFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Enable or disable pool values. Default is false. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.checkId </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Sonar check id is required when you want to apply the ITO feature on a pool</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.policy *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p></p>\n        <p>\"followsonar\" for Follow sonar </p>\n        <p> \"alwaysoff\" for Always off </p>\n        <p> \"alwayson\" for Always on </p>\n        <p> \"offonfailure\" for Off on Failure</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>note </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Description</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>version </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated version number</p>\n      </td>\n    </tr>    \n    \n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;tr&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;itoEnabled&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Boolean&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Ito enable flag. Default is false.&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;poolIto &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Object&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt; If itoEnabled is true then object is required\n    &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;poolIto.poolFrequency &amp;#42;&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Monitoring Frequency will check specific duration in seconds. \"30\" for 30 Sec, \"60\" for 01 Min, \"120\" for 02 Min&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;poolIto.deviationAllowance &amp;#42;&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;possible percentage of deviation allow. 10, 20, 40, 50, 60, 70, 80, 90 or 100&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;poolIto.monitoringRegion &amp;#42; &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;String&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt; &lt;/span&gt;&lt;/p&gt;\n    &lt;p&gt;\"WORLD\" &lt;/p&gt;\n    &lt;p&gt; \"ASIAPAC\" &lt;/p&gt;\n    &lt;p&gt; \"EUROPE\" &lt;/p&gt;\n    &lt;p&gt; \"NACENTRAL\" &lt;/p&gt;\n    &lt;p&gt; \"NAEAST\" &lt;/p&gt;\n    &lt;p&gt; \"NAWEST\" &lt;/p&gt;\n    &lt;p&gt; \"OCEANIA\"&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;poolIto.\n    maximumNumberOfBestResults\n     &amp;#42;&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Best Performing is linked to selected number of checkId in value object&lt;/span&gt;&lt;/p&gt;\n    &lt;p&gt;\"Num Return\" value cannot be greater than the \"Use Best Performing\" value &lt;/p&gt;\n    &lt;p&gt;\"Min Available\" value cannot be greater than the \"Use Best Performing\" value&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;appliedDomains&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Pool Applied on the domains. Default is null&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;appliedTemplates&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Pool Applied on the templates. Default is null&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;    \n&lt;tr&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;contactIds &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;Number[]&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td &gt;\n    &lt;p&gt;&lt;span &gt;contact list id to applied&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n</code></pre>  </tbody>\n</table>","event":[{"listen":"prerequest","script":{"id":"c90086db-6980-410f-8e4c-309529d59656","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"725cffcf-f81e-4db3-a227-a75d8032cba8","type":"text/javascript","exec":[""]}}],"_postman_id":"7cafee1c-429b-4980-8b7b-3193d70ef166"},{"name":"AAAA Record Pool","item":[{"name":"Get Pools","event":[{"listen":"prerequest","script":{"id":"1e67d487-44ef-4c98-9baa-ef293ef41e34","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"9280c202-355c-4cda-8dfb-3405c2242cf6","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;","","console.log(\"get Template : \",  JSON.stringify(jsonData));"],"type":"text/javascript"}}],"id":"8370cdfa-b5bf-47ec-a7a7-fc4d9958a1f9","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/pools/AAAA?offset=0&max=10&sort=name&order=asc","description":"<p>Returns a list of all pools type AAAA.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","AAAA"],"host":["api","dns","constellix","com"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}],"variable":[]}},"response":[{"id":"e90971c6-f216-4ceb-9606-37f855bad1ff","name":"Get pools","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":{"raw":"{{BaseURL}}/{{version}}/pools/AAAA?offset=0&max=10&sort=name&order=asc","host":["{{BaseURL}}"],"path":["{{version}}","pools","AAAA"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"description":"","key":"Connection","name":"Connection","value":"keep-alive"},{"description":"","key":"Content-Type","name":"Content-Type","value":"application/json;charset=UTF-8"},{"description":"","key":"Date","name":"Date","value":"Tue, 19 Sep 2017 10:57:06 GMT"},{"description":"","key":"Server","name":"Server","value":"Apache-Coyote/1.1"},{"description":"","key":"Set-Cookie","name":"Set-Cookie","value":"JSESSIONID=B27AC978D9C41273CC395C99CCD78DF8; Path=/; HttpOnly"},{"description":"","key":"Transfer-Encoding","name":"Transfer-Encoding","value":"chunked"},{"description":"","key":"X-Application-Context","name":"X-Application-Context","value":"application:test"}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"B27AC978D9C41273CC395C99CCD78DF8","key":"JSESSIONID"}],"responseTime":null,"body":"[\n    {\n        \"id\": 872,\n        \"name\": \"AAAApoolSample1\",\n        \"type\": \"Aaaa\",\n        \"numReturn\": 1,\n        \"sortOrder\": null,\n        \"minAvailableFailover\": 1,\n        \"failedFlag\": false,\n        \"disableFlag\": false,\n        \"values\": [\n            {\n                \"failedFlag\": false,\n                \"disableFlag\": false,\n                \"value\": \"0:0:0:0:0:0:0:12\",\n                \"weight\": 10,\n                \"checkId\": 44412,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"note\": null,\n        \"version\": 1,\n        \"createdTs\": \"2017-09-19T10:51:00Z\",\n        \"modifiedTs\": \"2017-09-19T10:51:00Z\",\n        \"appliedDomains\": null,\n        \"appliedTemplates\": null,\n        \"itoEnabled\": false,\n        \"poolIto\": null,\n        \"contactIds\": null\n    },\n    {\n        \"id\": 871,\n        \"name\": \"AAAApoolSample2\",\n        \"type\": \"Aaaa\",\n        \"numReturn\": 1,\n        \"sortOrder\": null,\n        \"minAvailableFailover\": 1,\n        \"failedFlag\": false,\n        \"disableFlag\": false,\n        \"values\": [\n            {\n                \"failedFlag\": false,\n                \"disableFlag\": false,\n                \"value\": \"0:0:0:0:0:0:0:12\",\n                \"weight\": 10,\n                \"checkId\": 44412,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"note\": null,\n        \"version\": 1,\n        \"createdTs\": \"2017-09-19T10:51:00Z\",\n        \"modifiedTs\": \"2017-09-19T10:51:00Z\",\n        \"appliedDomains\": null,\n        \"appliedTemplates\": null,\n        \"itoEnabled\": false,\n        \"poolIto\": null,\n        \"contactIds\": null\n    }\n]"}],"_postman_id":"8370cdfa-b5bf-47ec-a7a7-fc4d9958a1f9"},{"name":"Create a Pool","event":[{"listen":"prerequest","script":{"id":"eecff920-39f1-4076-8526-42f932b7fe62","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fa9ae351-8d19-4221-b65d-f1cce927d950","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"AAAAPoolId\", jsonData[0].id);","","postman.setEnvironmentVariable(\"BulkAAAAPoolId1\", jsonData[1].id);","postman.setEnvironmentVariable(\"BulkAAAAPoolId2\", jsonData[2].id);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"bbf8ed23-2fef-498b-9d81-d6f931558a33","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"name\": \"AAAApoolSample1\",\n    \"numReturn\": 1,\n    \"minAvailableFailover\": 1,\n    \"values\": [\n      {\n        \"value\": \"0:0:0:0:0:0:0:12\",\n        \"weight\": 10,\n        \"checkId\": 44412,\n        \"policy\": \"followsonar\"\n      }\n    ],\n    \"itoEnabled\": false\n  }\n]\n"},"url":"https://api.dns.constellix.com/v1/pools/AAAA","description":"<p>Creates one or more new pools.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","AAAA"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"07578097-0ba1-417d-a5e7-069659032b80","name":"Create a pool with ITO Enabled","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n\t{\n\t  \"name\": \"AAAApoolSample1\",\n\t  \"numReturn\": 1,\n\t  \"minAvailableFailover\": 1,\n\t  \"values\": [\n\t    {\n\t      \"value\": \"0:0:0:0:0:0:0:12\",\n\t      \"weight\": 10,\n\t      \"checkId\": 44412,\n\t      \"policy\": \"followsonar\"\n\t    }\n\t  ],\n\t  \"itoEnabled\": true,\n\t  \"poolIto\" : {\n\t    \"poolFrequency\": 30,\n\t    \"maximumNumberOfBestResults\": 1,\n\t    \"monitoringRegion\": \"WORLD\",\n\t    \"deviationAllowance\": 10\n\t  }\n\t}\n]\n"},"url":"{{BaseURL}}/{{version}}/pools/AAAA"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 26 Sep 2017 06:09:53 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=7C0CBBB27C14D14952E7184062EABD37; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"7C0CBBB27C14D14952E7184062EABD37","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":891,\"name\":\"AAAApoolSample1\",\"type\":\"Aaaa\",\"numReturn\":1,\"sortOrder\":null,\"minAvailableFailover\":1,\"failedFlag\":false,\"disableFlag\":false,\"values\":[{\"failedFlag\":true,\"disableFlag\":false,\"value\":\"0:0:0:0:0:0:0:12\",\"weight\":10,\"checkId\":44412,\"policy\":\"followsonar\"}],\"note\":\"\",\"version\":1,\"createdTs\":\"2017-09-26T06:09:53Z\",\"modifiedTs\":\"2017-09-26T06:09:53Z\",\"appliedDomains\":null,\"appliedTemplates\":null,\"itoEnabled\":true,\"poolIto\":{\"poolFrequency\":30,\"maximumNumberOfBestResults\":1,\"deviationAllowance\":10,\"monitoringRegion\":\"WORLD\"},\"contactIds\":null}]"},{"id":"b79dbbad-08b4-4814-aeb3-64e06c8b529a","name":"Create a pool with Disabled ITO","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n\t{\n\t  \"name\": \"AAAApoolSample2\",\n\t  \"numReturn\": 1,\n\t  \"minAvailableFailover\": 1,\n\t  \"values\": [\n\t    {\n\t      \"value\": \"0:0:0:0:0:0:0:12\",\n\t      \"weight\": 10,\n\t      \"checkId\": null,\n\t      \"policy\": \"followsonar\"\n\t    }\n\t  ],\n\t  \"itoEnabled\": false\n\t}\n]\n"},"url":"{{BaseURL}}/{{version}}/pools/AAAA"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 26 Sep 2017 06:10:47 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=C428A92D3C16F1A980AD59472F30136F; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"C428A92D3C16F1A980AD59472F30136F","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":892,\"name\":\"AAAApoolSample2\",\"type\":\"Aaaa\",\"numReturn\":1,\"sortOrder\":null,\"minAvailableFailover\":1,\"failedFlag\":false,\"disableFlag\":false,\"values\":[{\"failedFlag\":false,\"disableFlag\":false,\"value\":\"0:0:0:0:0:0:0:12\",\"weight\":10,\"checkId\":null,\"policy\":\"followsonar\"}],\"note\":\"\",\"version\":1,\"createdTs\":\"2017-09-26T06:10:47Z\",\"modifiedTs\":\"2017-09-26T06:10:47Z\",\"appliedDomains\":null,\"appliedTemplates\":null,\"itoEnabled\":false,\"poolIto\":null,\"contactIds\":null}]"}],"_postman_id":"bbf8ed23-2fef-498b-9d81-d6f931558a33"},{"name":"Get an Existing Pool","event":[{"listen":"prerequest","script":{"id":"fb80f176-4ba2-4cd5-b8ba-5b9020de2495","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"4b4cc5db-f1a8-4498-a8d1-f721251b7c26","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;","","console.log(\"get a specific template: \",  JSON.stringify(jsonData));"],"type":"text/javascript"}}],"id":"03151b3a-41b1-4d32-8ba3-f41156056663","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/pools/AAAA/{{AAAAPoolId}}","description":"<p>Returns a specific type AAAA pool.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","AAAA","{{AAAAPoolId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"ab18842e-4e5c-4453-8954-91e1e558cd09","name":"Get an existing pool","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/pools/AAAA/{{AAAAPoolId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"description":"","key":"Connection","name":"Connection","value":"keep-alive"},{"description":"","key":"Content-Type","name":"Content-Type","value":"application/json;charset=UTF-8"},{"description":"","key":"Date","name":"Date","value":"Tue, 19 Sep 2017 10:51:37 GMT"},{"description":"","key":"Server","name":"Server","value":"Apache-Coyote/1.1"},{"description":"","key":"Set-Cookie","name":"Set-Cookie","value":"JSESSIONID=BE41A765F865B02A3F22C8C2AAE2C6F0; Path=/; HttpOnly"},{"description":"","key":"Transfer-Encoding","name":"Transfer-Encoding","value":"chunked"},{"description":"","key":"X-Application-Context","name":"X-Application-Context","value":"application:test"}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"BE41A765F865B02A3F22C8C2AAE2C6F0","key":"JSESSIONID"}],"responseTime":null,"body":"{\n    \"id\": 870,\n    \"name\": \"AAAApoolSample1\",\n    \"type\": \"Aaaa\",\n    \"numReturn\": 1,\n    \"sortOrder\": null,\n    \"minAvailableFailover\": 1,\n    \"failedFlag\": false,\n    \"disableFlag\": false,\n    \"values\": [\n        {\n            \"failedFlag\": false,\n            \"disableFlag\": false,\n            \"value\": \"0:0:0:0:0:0:0:12\",\n            \"weight\": 10,\n            \"checkId\": 44412,\n            \"policy\": \"followsonar\"\n        }\n    ],\n    \"note\": \"\",\n    \"version\": 1,\n    \"createdTs\": \"2017-09-19T10:51:00Z\",\n    \"modifiedTs\": \"2017-09-19T10:51:00Z\",\n    \"appliedDomains\": null,\n    \"appliedTemplates\": null,\n    \"itoEnabled\": true,\n    \"poolIto\": {\n        \"poolFrequency\": 30,\n        \"maximumNumberOfBestResults\": 1,\n        \"deviationAllowance\": 10,\n        \"monitoringRegion\": \"WORLD\"\n    },\n    \"contactIds\": null\n}"}],"_postman_id":"03151b3a-41b1-4d32-8ba3-f41156056663"},{"name":"Update an Existing Pool","event":[{"listen":"prerequest","script":{"id":"07e39b75-beed-48b1-be3d-be6154121ba2","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"da830914-a742-46f6-bd75-51c9e882f488","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"c00e8d0d-2c03-4ca5-a414-d82e8d2b4de0","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"AAAApoolSample2\",\n  \"numReturn\": 1,\n  \"minAvailableFailover\": 1,\n  \"values\": [\n    {\n      \"value\": \"0:0:0:0:0:0:0:12\",\n      \"weight\": 10,\n      \"checkId\": 44412,\n      \"policy\": \"followsonar\"\n    }\n  ],\n  \"itoEnabled\": false\n}"},"url":"https://api.dns.constellix.com/v1/pools/AAAA/{{AAAAPoolId}}","description":"<p>Update an existing pool type AAAA.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","AAAA","{{AAAAPoolId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"69d7e961-7d09-4a71-86fc-7a9c5aeaac95","name":"Update an existing pool","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"AAAApoolSample2\",\n  \"numReturn\": 1,\n  \"minAvailableFailover\": 1,\n  \"values\": [\n    {\n      \"value\": \"0:0:0:0:0:0:0:12\",\n      \"weight\": 10,\n      \"checkId\": 44412,\n      \"policy\": \"followsonar\"\n    }\n  ],\n  \"itoEnabled\": false\n}"},"url":"{{BaseURL}}/{{version}}/pools/AAAA/{{AAAAPoolId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 26 Sep 2017 06:16:20 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=5BAED566F9AFE6512DB5A61F6088D54C; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"5BAED566F9AFE6512DB5A61F6088D54C","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record Pool AAAApoolSample2 updated successfully\"}"}],"_postman_id":"c00e8d0d-2c03-4ca5-a414-d82e8d2b4de0"},{"name":"Delete an Existing Pool","event":[{"listen":"prerequest","script":{"id":"6a9b3323-bec7-4de2-aeca-ce1f8aa313e4","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"981631b2-fff3-4733-947f-b875af175869","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"5baf5f0f-0391-4b12-8c32-8f00556dd355","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/pools/AAAA/{{AAAAPoolId}}","description":"<p>Deletes a pool type AAAA.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","AAAA","{{AAAAPoolId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"fc4fcf25-1014-4641-a0b2-87c40fc4731a","name":"Delete an existing pool","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/pools/AAAA/{{AAAAPoolId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 26 Sep 2017 06:17:01 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=9CF5B55C4D6B724992F12EF6095E4CC2; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"9CF5B55C4D6B724992F12EF6095E4CC2","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record Pool AAAApoolSample2 deleted successfully\"}"}],"_postman_id":"5baf5f0f-0391-4b12-8c32-8f00556dd355"}],"id":"5c36fb8c-cfe5-4777-b33d-2e3fd9b71595","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Pool name should be unique.</p>\n      </td>\n    </tr>\n        <tr>\n      <td>\n        <p>numReturn *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>minimum number of value object to return. Value must be in between 0 and 64 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>minAvailableFailover *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>minimum number of Available Failover . Value must be in between 0 and 64 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>failedFlag </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>failed flag. Default is false. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>disableFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Enable or disable pool values. Default is false. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values *</p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td>\n        <p>Number of IP/Hosts in a pool values cannot be less than the \"Num Return\" and \"Min Available\" values</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.value *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>IPv6 address</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.weight *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>weight number to sort the priorty. Weight must be in between 1 and 1000000</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.disableFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Enable or disable pool values. Default is false. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.checkId </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Sonar check id is required when you want to apply the ITO feature on a pool</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.policy *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p><p>\"followsonar\" for Follow sonar </p><p></p> \"alwaysoff\" for Always off <p></p> \"alwayson\" for Always on <p></p> \"offonfailure\" for Off on Failure</p><p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>note </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Description</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>version </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated version number</p>\n      </td>\n    </tr>    \n    \n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;itoEnabled&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Boolean&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Ito enable flag. Default is false.&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;poolIto &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Object&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt; If itoEnabled is true then object is required.\n    &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;poolIto.poolFrequency &amp;#42;&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Monitoring Frequency will check specific duration in seconds. \"30\" for 30 Sec, \"60\" for 01 Min, \"120\" for 02 Min&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;poolIto.deviationAllowance &amp;#42;&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;possible percentage of deviation allow. 10, 20, 40, 50, 60, 70, 80, 90 or 100&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;poolIto.monitoringRegion &amp;#42;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;String&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;&lt;p&gt;\"WORLD\" &lt;p&gt;&lt;/p&gt; \"ASIAPAC\" &lt;p&gt;&lt;/p&gt; \"EUROPE\" &lt;p&gt;&lt;/p&gt; \"NACENTRAL\" &lt;p&gt;&lt;/p&gt; \"NAEAST\" &lt;p&gt;&lt;/p&gt; \"NAWEST\" &lt;p&gt;&lt;/p&gt; \"OCEANIA\"&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;\n    poolIto.\n    maximumNumberOfBestResults\n    &amp;#42;&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Best Performing is linked to selected number of checkId in value object\n    &lt;p&gt;\"Num Return\" value cannot be greater than the \"Use Best Performing\" value &lt;/p&gt;\n    &lt;p&gt;\"Min Available\" value cannot be greater than the \"Use Best Performing\" value&lt;/p&gt;\n    &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;appliedDomains&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Pool Applied on the domains. Default is null&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;appliedTemplates&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Pool Applied on the templates. Default is null&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;    \n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;contactIds&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number[]&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;contact list id to applied&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n</code></pre>  </tbody>\n</table>","_postman_id":"5c36fb8c-cfe5-4777-b33d-2e3fd9b71595"},{"name":"CNAME Record Pool","item":[{"name":"Get Pools","event":[{"listen":"prerequest","script":{"id":"e762a3da-058a-4437-b050-fdb5b4d6935b","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"a496f926-ddb9-4339-98b4-89cb3bfa3504","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;","","console.log(\"get Template : \",  JSON.stringify(jsonData));"],"type":"text/javascript"}}],"id":"6f1c7c28-9a35-450d-ac8c-b2cd5127679f","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/pools/CNAME?offset=0&max=10&sort=name&order=asc","description":"<p>Returns a list of all pools type CNAME in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","CNAME"],"host":["api","dns","constellix","com"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}],"variable":[]}},"response":[{"id":"8cf95c9e-342e-49c7-bc2c-0220857cb08d","name":"Get pools","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":{"raw":"{{BaseURL}}/{{version}}/pools/CNAME?offset=0&max=10&sort=name&order=asc","host":["{{BaseURL}}"],"path":["{{version}}","pools","CNAME"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 19 Sep 2017 11:00:37 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=F3EF4D24C738E73FE5A8C1529F96105D; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"F3EF4D24C738E73FE5A8C1529F96105D","key":"JSESSIONID"}],"responseTime":null,"body":"[\n    {\n        \"id\": 952,\n        \"name\": \"cfix\",\n        \"type\": \"Cname\",\n        \"numReturn\": 1,\n        \"sortOrder\": null,\n        \"minAvailableFailover\": 1,\n        \"active\": null,\n        \"failedFlag\": false,\n        \"disableFlag\": false,\n        \"values\": [\n            {\n                \"active\": true,\n                \"failedFlag\": false,\n                \"disableFlag\": false,\n                \"value\": \"www.yahoo.com.\",\n                \"weight\": 10,\n                \"checkId\": 31132,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"note\": null,\n        \"version\": 3,\n        \"createdTs\": \"2017-09-18T06:07:38Z\",\n        \"modifiedTs\": \"2017-09-18T06:34:13Z\",\n        \"appliedDomains\": [\n            {\n                \"id\": 15961,\n                \"name\": \"testsss.com\"\n            }\n        ],\n        \"appliedTemplates\": null,\n        \"itoEnabled\": true,\n        \"poolIto\": {\n            \"poolFrequency\": 30,\n            \"maximumNumberOfBestResults\": 1,\n            \"deviationAllowance\": 10,\n            \"monitoringRegion\": \"WORLD\"\n        },\n        \"contactIds\": null\n    },\n    {\n        \"id\": 951,\n        \"name\": \"testa\",\n        \"type\": \"Cname\",\n        \"numReturn\": 1,\n        \"sortOrder\": null,\n        \"minAvailableFailover\": 1,\n        \"active\": null,\n        \"failedFlag\": false,\n        \"disableFlag\": false,\n        \"values\": [\n            {\n                \"active\": true,\n                \"failedFlag\": false,\n                \"disableFlag\": false,\n                \"value\": \"www.yahoo.com.\",\n                \"weight\": 10,\n                \"checkId\": 31132,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"note\": null,\n        \"version\": 1,\n        \"createdTs\": \"2017-09-18T06:01:42Z\",\n        \"modifiedTs\": \"2017-09-18T06:01:42Z\",\n        \"appliedDomains\": [\n            {\n                \"id\": 15961,\n                \"name\": \"testsss.com\"\n            }\n        ],\n        \"appliedTemplates\": null,\n        \"itoEnabled\": false,\n        \"poolIto\": null,\n        \"contactIds\": null\n    }\n]"}],"_postman_id":"6f1c7c28-9a35-450d-ac8c-b2cd5127679f"},{"name":"Create a Pool","event":[{"listen":"prerequest","script":{"id":"049076df-f85a-46b6-8148-6a6ba5910209","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"8603469b-4b5c-496e-93e2-a4410fb86503","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"CNAMEPoolId\", jsonData[0].id);","","postman.setEnvironmentVariable(\"BulkCNAMEPoolId1\", jsonData[1].id);","postman.setEnvironmentVariable(\"BulkCNAMEPoolId2\", jsonData[2].id);","","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"8d255471-0f52-4154-92c4-8ef6019310a6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n   {\n        \"name\": \"CNAMESample1\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"www.msn.com.\",\n                \"weight\": 10,\n                \"checkId\": 31134,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": false\n        \n   }\n]"},"url":"https://api.dns.constellix.com/v1/pools/CNAME","description":"<p>Creates one or more new pools.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","CNAME"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"5b248380-5f04-4156-9544-a6306d4d4630","name":"Create a pool ITO Enabled","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n {\n        \"name\": \"CNAMESample2\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"www.msn.com.\",\n                \"weight\": 10,\n                \"checkId\": 31134,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": true,\n        \"poolIto\" : {\n          \"poolFrequency\": 30,\n          \"maximumNumberOfBestResults\": 1,\n          \"monitoringRegion\": \"WORLD\",\n          \"deviationAllowance\": 10\n        }\n    }\n]    "},"url":"{{BaseURL}}/{{version}}/pools/CNAME"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 26 Sep 2017 06:32:44 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=3514A4278248601B0901CE8BDF98083C; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"3514A4278248601B0901CE8BDF98083C","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":983,\"name\":\"CNAMESample2\",\"type\":\"Cname\",\"numReturn\":1,\"sortOrder\":null,\"minAvailableFailover\":1,\"active\":null,\"failedFlag\":false,\"disableFlag\":false,\"values\":[{\"active\":true,\"failedFlag\":false,\"disableFlag\":false,\"value\":\"www.msn.com.\",\"weight\":10,\"checkId\":31134,\"policy\":\"followsonar\"}],\"note\":\"\",\"version\":1,\"createdTs\":\"2017-09-26T06:32:44Z\",\"modifiedTs\":\"2017-09-26T06:32:44Z\",\"appliedDomains\":null,\"appliedTemplates\":null,\"itoEnabled\":true,\"poolIto\":{\"poolFrequency\":30,\"maximumNumberOfBestResults\":1,\"deviationAllowance\":10,\"monitoringRegion\":\"WORLD\"},\"contactIds\":null}]"},{"id":"a8bc2f44-fc0b-4e2c-a410-bd396b0d1ddd","name":"Create a pool with disabled ITO","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n   {\n        \"name\": \"CNAMESample1\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"www.msn.com.\",\n                \"weight\": 10,\n                \"checkId\": 31134,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": false\n        \n   }\n]"},"url":"{{BaseURL}}/{{version}}/pools/CNAME"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 26 Sep 2017 06:31:53 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=B8561A45E03842A280D02FE83C6B760E; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"B8561A45E03842A280D02FE83C6B760E","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":982,\"name\":\"CNAMESample1\",\"type\":\"Cname\",\"numReturn\":1,\"sortOrder\":null,\"minAvailableFailover\":1,\"active\":null,\"failedFlag\":false,\"disableFlag\":false,\"values\":[{\"active\":true,\"failedFlag\":false,\"disableFlag\":false,\"value\":\"www.msn.com.\",\"weight\":10,\"checkId\":31134,\"policy\":\"followsonar\"}],\"note\":\"\",\"version\":1,\"createdTs\":\"2017-09-26T06:31:53Z\",\"modifiedTs\":\"2017-09-26T06:31:53Z\",\"appliedDomains\":null,\"appliedTemplates\":null,\"itoEnabled\":false,\"poolIto\":null,\"contactIds\":null}]"}],"_postman_id":"8d255471-0f52-4154-92c4-8ef6019310a6"},{"name":"Get an Existing Pool","event":[{"listen":"prerequest","script":{"id":"00bcb647-e1d5-491c-aa38-dca82c71245a","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"4464ce6d-959d-4f05-be8d-4a75935865f7","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;","","console.log(\"get a specific template: \",  JSON.stringify(jsonData));"],"type":"text/javascript"}}],"id":"ae833c23-ead4-490b-b159-82e0cc5e58d4","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/pools/CNAME/{{CNAMEPoolId}}","description":"<p>Returns a specific type CNAME pool in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","CNAME","{{CNAMEPoolId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"75963d10-abfb-448a-85bd-e63d01cec6d8","name":"Get an existing pool","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"{{BaseURL}}/{{version}}/pools/CNAME/{{CNAMEPoolId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 26 Sep 2017 06:34:30 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=5E75EB29A4A38A72E538D7F098FAB680; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"5E75EB29A4A38A72E538D7F098FAB680","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":983,\"name\":\"CNAMESample2\",\"type\":\"Cname\",\"numReturn\":1,\"sortOrder\":null,\"minAvailableFailover\":1,\"active\":null,\"failedFlag\":false,\"disableFlag\":false,\"values\":[{\"active\":true,\"failedFlag\":false,\"disableFlag\":false,\"value\":\"www.msn.com.\",\"weight\":10,\"checkId\":31134,\"policy\":\"followsonar\"}],\"note\":\"\",\"version\":1,\"createdTs\":\"2017-09-26T06:32:44Z\",\"modifiedTs\":\"2017-09-26T06:32:44Z\",\"appliedDomains\":null,\"appliedTemplates\":null,\"itoEnabled\":true,\"poolIto\":{\"poolFrequency\":30,\"maximumNumberOfBestResults\":1,\"deviationAllowance\":10,\"monitoringRegion\":\"WORLD\"},\"contactIds\":null}"}],"_postman_id":"ae833c23-ead4-490b-b159-82e0cc5e58d4"},{"name":"Update an Existing Pool","event":[{"listen":"prerequest","script":{"id":"916e6b7f-f8e6-4995-bcae-4e3337b9fc3d","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"505a3f1f-1b3c-4b2e-8828-c5af361f5ac9","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"7a582d60-cc20-4b0f-b316-572e6d8408b1","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"\n {\n        \"name\": \"CNAMEpoolDocumentationSample12\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"www.msn1.com.\",\n                \"weight\": 10,\n                \"checkId\": 31134,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": false\n    }"},"url":"https://api.dns.constellix.com/v1/pools/CNAME/{{CNAMEPoolId}}","description":"<p>Update a pool type CNAME.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","CNAME","{{CNAMEPoolId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"f3e654c2-f4ee-40fc-af89-bd963341c009","name":"Update an existing pool","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"\n {\n        \"name\": \"CNAMEpoolDocumentationSample3\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"www.msn1.com.\",\n                \"weight\": 10,\n                \"checkId\": null,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": false\n    }"},"url":"{{BaseURL}}/{{version}}/pools/CNAME/{{CNAMEPoolId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 26 Sep 2017 06:34:54 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=1C962000738FCFFC016672B14252BA4C; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"1C962000738FCFFC016672B14252BA4C","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record Pool CNAMEpoolDocumentationSample3 updated successfully\"}"}],"_postman_id":"7a582d60-cc20-4b0f-b316-572e6d8408b1"},{"name":"Delete an Existing Pool","event":[{"listen":"prerequest","script":{"id":"43107977-fecb-4de6-9807-8654c3620d74","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"67d0c9ee-bf74-43f7-9963-f2ae9656fda1","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"35c688a9-8879-43d8-b7b3-5457b54dd52d","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/pools/CNAME/{{CNAMEPoolId}}","description":"<p>Deletes a pool type CNAME.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","CNAME","{{CNAMEPoolId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"acac12c0-b796-48e5-b13e-93cc27ce42e4","name":"Delete an existing pool","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"{{BaseURL}}/{{version}}/pools/CNAME/{{CNAMEPoolId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 26 Sep 2017 06:35:21 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=1D3769740D71615CCE8F64214A6A56E3; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"1D3769740D71615CCE8F64214A6A56E3","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Record Pool CNAMEpoolDocumentationSample3 deleted successfully\"}"}],"_postman_id":"35c688a9-8879-43d8-b7b3-5457b54dd52d"}],"id":"74abff86-85d0-4f40-ab10-bc02338806a2","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Pool name should be unique.</p>\n      </td>\n    </tr>\n        <tr>\n      <td>\n        <p>numReturn *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>minimum number of value object to return. Value must be in between 0 and 64 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>minAvailableFailover *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>minimum number of Available Failover . Value must be in between 0 and 64 </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>failedFlag </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>failed flag. Default is false. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>disableFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Enable or disable pool values. Default is false. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values *</p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td>\n        <p>Number of IP/Hosts in a pool values cannot be less than the \"Num Return\" and \"Min Available\" values</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.value *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Host name. If \"Host\" value does not end in a dot, your domain name will be appended to it. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.weight *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>weight number to sort the priorty. Weight must be in between 1 and 1000000</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.disableFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>Enable or disable pool values. Default is false. </p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.checkId </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>sonar check id is required when you want to apply the ITO feature on a pool</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>values.policy *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p><p>\"followsonar\" for Follow sonar </p><p></p> \"alwaysoff\" for Always off <p></p> \"alwayson\" for Always on <p></p> \"offonfailure\" for Off on Failure</p><p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>note </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Description</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>version </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated version number</p>\n      </td>\n    </tr>    \n    \n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;itoEnabled&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Boolean&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Ito enable flag. Default is false.&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;poolIto &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Object&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt; If itoEnabled is true then object is required.\n    &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;poolIto.poolFrequency &amp;#42;&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Monitoring Frequency will check specific duration in seconds. \"30\" for 30 Sec, \"60\" for 01 Min, \"120\" for 02 Min&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;poolIto.deviationAllowance &amp;#42;&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;possible percentage of deviation allow. 10, 20, 40, 50, 60, 70, 80, 90 or 100&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;poolIto.monitoringRegion &amp;#42;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;String&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;&lt;p&gt;\"WORLD\" &lt;p&gt;&lt;/p&gt; \"ASIAPAC\" &lt;p&gt;&lt;/p&gt; \"EUROPE\" &lt;p&gt;&lt;/p&gt; \"NACENTRAL\" &lt;p&gt;&lt;/p&gt; \"NAEAST\" &lt;p&gt;&lt;/p&gt; \"NAWEST\" &lt;p&gt;&lt;/p&gt; \"OCEANIA\"&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;\n    poolIto.\n    maximumNumberOfBestResults\n    &amp;#42;&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Best Performing is linked to selected number of checkId in value object\n    &lt;p&gt;\"Num Return\" value cannot be greater than the \"Use Best Performing\" value &lt;/p&gt;\n    &lt;p&gt;\"Min Available\" value cannot be greater than the \"Use Best Performing\" value&lt;/p&gt;\n    &lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;appliedDomains&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Pool Applied on the domains. Default is null&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;appliedTemplates&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Pool Applied on the templates. Default is null&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;    \n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;contactIds&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number[]&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;contact list id to applied&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n</code></pre>  </tbody>\n</table>","_postman_id":"74abff86-85d0-4f40-ab10-bc02338806a2"},{"name":"API for Bulk Updation of Pools","item":[{"name":"Bulk Update of Pools Type A","event":[{"listen":"prerequest","script":{"id":"91ffd317-1d63-4b56-9c69-740d8c6e850c","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"a1f8ae91-1b6f-4bab-82f2-ecf2a84c49f6","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"d28468c1-1ad0-4f62-8ee6-1d7050b77a6d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": {{BulkAPoolId1}},\n    \"name\": \"ApoolBulkUpdate2\",\n    \"numReturn\": 1,\n    \"minAvailableFailover\": 1,\n    \"values\": [\n      {\n        \"value\": \"8.1.1.1\",\n        \"weight\": 10,\n        \"checkId\": 8111,\n        \"policy\": \"followsonar\"\n      }\n    ],\n    \"itoEnabled\": false\n  },\n    {\n    \"id\": {{BulkAPoolId2}},\n    \"name\": \"ApoolBulkUpdate3\",\n    \"numReturn\": 1,\n    \"minAvailableFailover\": 1,\n    \"values\": [\n      {\n        \"value\": \"8.1.1.1\",\n        \"weight\": 10,\n        \"checkId\": 8111,\n        \"policy\": \"followsonar\"\n      }\n    ],\n    \"itoEnabled\": false\n  }\n]"},"url":"https://api.dns.constellix.com/v1/pools/A","description":"<p>Update multiple pools in one go.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","A"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"a555f3d3-cff8-4714-8e30-590e9077847f","name":"Bulk Update of Pools Type A","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": {{BulkAPoolId1}},\n    \"name\": \"ApoolBulkUpdate2\",\n    \"numReturn\": 1,\n    \"minAvailableFailover\": 1,\n    \"values\": [\n      {\n        \"value\": \"8.1.1.1\",\n        \"weight\": 10,\n        \"checkId\": 8111,\n        \"policy\": \"followsonar\"\n      }\n    ],\n    \"itoEnabled\": true,\n    \"poolIto\" : {\n      \"poolFrequency\": 30,\n      \"maximumNumberOfBestResults\": 1,\n      \"monitoringRegion\": \"WORLD\",\n      \"deviationAllowance\": 10\n    }\n  },\n    {\n    \"id\": {{BulkAPoolId2}},\n    \"name\": \"ApoolBulkUpdate3\",\n    \"numReturn\": 1,\n    \"minAvailableFailover\": 1,\n    \"values\": [\n      {\n        \"value\": \"8.1.1.1\",\n        \"weight\": 10,\n        \"checkId\": 8111,\n        \"policy\": \"followsonar\"\n      }\n    ],\n    \"itoEnabled\": true,\n    \"poolIto\" : {\n      \"poolFrequency\": 30,\n      \"maximumNumberOfBestResults\": 1,\n      \"monitoringRegion\": \"WORLD\",\n      \"deviationAllowance\": 10\n    }\n  }\n]"},"url":"{{BaseURL}}/{{version}}/pools/A"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 19 Sep 2017 12:56:00 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=BF3F91C952A2F576750EC53DA2E78592; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"BF3F91C952A2F576750EC53DA2E78592","key":"JSESSIONID"}],"responseTime":null,"body":"{\"2109\":\"\\\"Pool updated successfully\\\"\",\"2110\":\"\\\"Pool updated successfully\\\"\"}"}],"_postman_id":"d28468c1-1ad0-4f62-8ee6-1d7050b77a6d"},{"name":"Bulk Update of Pools Type AAAA","event":[{"listen":"prerequest","script":{"id":"4db3bfcf-d040-46ee-ae1d-e8a2d0d1b473","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"302f85c7-4873-4964-8d6f-721b5f56e06e","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"67e02a50-15fe-46d7-85e8-e6df1fd03b4b","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": {{BulkAAAAPoolId1}},\n    \"name\": \"AAAApoolBulkupdate3\",\n    \"numReturn\": 1,\n    \"minAvailableFailover\": 1,\n    \"values\": [\n      {\n        \"value\": \"0:0:0:0:0:0:0:12\",\n        \"weight\": 10,\n        \"checkId\": 44412,\n        \"policy\": \"followsonar\"\n      }\n    ],\n    \"itoEnabled\": false\n  },\n  {\n    \"id\": {{BulkAAAAPoolId2}},\n    \"name\": \"AAAApoolBulkupdate4\",\n    \"numReturn\": 1,\n    \"minAvailableFailover\": 1,\n    \"values\": [\n      {\n        \"value\": \"0:0:0:0:0:0:0:12\",\n        \"weight\": 10,\n        \"checkId\": 44412,\n        \"policy\": \"followsonar\"\n      }\n    ],\n    \"itoEnabled\": false\n  }\n]"},"url":"https://api.dns.constellix.com/v1/pools/AAAA","description":"<p>Update multiple pools in one go.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","AAAA"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"8354965d-ff64-4aa2-b5a9-bcbb0860db4e","name":"Bulk Update of Pools Type AAAA","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": {{BulkAAAAPoolId1}},\n    \"name\": \"AAAApoolAutomation3\",\n    \"numReturn\": 1,\n    \"minAvailableFailover\": 1,\n    \"values\": [\n      {\n        \"value\": \"0:0:0:0:0:0:0:12\",\n        \"weight\": 10,\n        \"checkId\": 44412,\n        \"policy\": \"followsonar\"\n      }\n    ],\n    \"itoEnabled\": true,\n    \"poolIto\" : {\n      \"poolFrequency\": 30,\n      \"maximumNumberOfBestResults\": 1,\n      \"monitoringRegion\": \"WORLD\",\n      \"deviationAllowance\": 10\n    }\n  },\n  {\n    \"id\": {{BulkAAAAPoolId2}},\n    \"name\": \"AAAApoolAutomation3\",\n    \"numReturn\": 1,\n    \"minAvailableFailover\": 1,\n    \"values\": [\n      {\n        \"value\": \"0:0:0:0:0:0:0:12\",\n        \"weight\": 10,\n        \"checkId\": 44412,\n        \"policy\": \"followsonar\"\n      }\n    ],\n    \"itoEnabled\": true,\n    \"poolIto\" : {\n      \"poolFrequency\": 30,\n      \"maximumNumberOfBestResults\": 1,\n      \"monitoringRegion\": \"WORLD\",\n      \"deviationAllowance\": 10\n    }\n  }\n]"},"url":"{{BaseURL}}/{{version}}/pools/AAAA"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 19 Sep 2017 12:56:30 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=4581B0BD36C65630F283F7DD672B2843; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"4581B0BD36C65630F283F7DD672B2843","key":"JSESSIONID"}],"responseTime":null,"body":"{\"874\":\"\\\"Pool updated successfully\\\"\",\"875\":\"\\\"Pool updated successfully\\\"\"}"}],"_postman_id":"67e02a50-15fe-46d7-85e8-e6df1fd03b4b"},{"name":"Bulk Update of Pools Type CNAME","event":[{"listen":"prerequest","script":{"id":"a76ffc58-d66f-4058-9d90-74d4b0de05ff","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"01bd9b13-7f13-4b1f-83be-225dcb3650c8","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;",""],"type":"text/javascript"}}],"id":"ec347053-d4e0-4ac5-8761-9ba624617bd7","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": {{BulkCNAMEPoolId1}},\n        \"name\": \"CNAMEpoolBulkupdate4\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"www.msn.com.\",\n                \"weight\": 10,\n                \"checkId\": 31134,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": false\n    },\n     {\n       \"id\": {{BulkCNAMEPoolId2}},\n        \"name\": \"CNAMEpoolBulkupdate5\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"www.msn.com.\",\n                \"weight\": 10,\n                \"checkId\": 31134,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": false\n    }\n]"},"url":"https://api.dns.constellix.com/v1/pools/CNAME","description":"<p>Update multiple pools in one go.</p>\n","urlObject":{"protocol":"https","path":["v1","pools","CNAME"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"52f53647-4a49-4120-91e3-1e71307dcda8","name":"Bulk Update of Pools Type CNAME multiple","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": {{BulkCNAMEPoolId1}},\n        \"name\": \"CNAMEpoolBulkupdate4\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"www.msn.com.\",\n                \"weight\": 10,\n                \"checkId\": 31134,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": true,\n        \"poolIto\" : {\n          \"poolFrequency\": 30,\n          \"maximumNumberOfBestResults\": 1,\n          \"monitoringRegion\": \"WORLD\",\n          \"deviationAllowance\": 10\n        }\n    },\n     {\n       \"id\": {{BulkCNAMEPoolId2}},\n        \"name\": \"CNAMEpoolBulkupdate5\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"www.msn.com.\",\n                \"weight\": 10,\n                \"checkId\": 31134,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": true,\n        \"poolIto\" : {\n          \"poolFrequency\": 30,\n          \"maximumNumberOfBestResults\": 1,\n          \"monitoringRegion\": \"WORLD\",\n          \"deviationAllowance\": 10\n        }\n    }\n]"},"url":"{{BaseURL}}/{{version}}/pools/CNAME"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Thu, 21 Sep 2017 07:02:26 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=B2655216693B779623F8E0166ECB2EEB; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test:9000","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"B2655216693B779623F8E0166ECB2EEB","key":"JSESSIONID"}],"responseTime":null,"body":"{\"968\":\"\\\"Pool updated successfully\\\"\",\"969\":\"\\\"Pool updated successfully\\\"\"}"},{"id":"838e71ae-c885-40ee-a7a7-7d32df5a7e8e","name":"Bulk Update of Pools Type CNAME","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": {{BulkCNAMEPoolId1}},\n        \"name\": \"CNAMEpoolAutomation4\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"www.msn.com.\",\n                \"weight\": 10,\n                \"checkId\": 31134,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": true,\n        \"poolIto\" : {\n          \"poolFrequency\": 30,\n          \"maximumNumberOfBestResults\": 1,\n          \"monitoringRegion\": \"WORLD\",\n          \"deviationAllowance\": 10\n        }\n    },\n     {\n       \"id\": {{BulkCNAMEPoolId2}},\n        \"name\": \"CNAMEpoolAutomation5\",\n        \"numReturn\": 1,\n        \"minAvailableFailover\": 1,\n        \"values\": [\n            {\n                \"value\": \"www.msn.com.\",\n                \"weight\": 10,\n                \"checkId\": 31134,\n                \"policy\": \"followsonar\"\n            }\n        ],\n        \"itoEnabled\": true,\n        \"poolIto\" : {\n          \"poolFrequency\": 30,\n          \"maximumNumberOfBestResults\": 1,\n          \"monitoringRegion\": \"WORLD\",\n          \"deviationAllowance\": 10\n        }\n    }\n]"},"url":"{{BaseURL}}/{{version}}/pools/CNAME"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 19 Sep 2017 12:56:45 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=C35D71141199CE79B2A44799E3E68BD6; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"C35D71141199CE79B2A44799E3E68BD6","key":"JSESSIONID"}],"responseTime":null,"body":"{\"964\":\"\\\"Pool updated successfully\\\"\",\"965\":\"\\\"Pool updated successfully\\\"\"}"}],"_postman_id":"ec347053-d4e0-4ac5-8761-9ba624617bd7"}],"id":"ba794d50-063c-4a4c-a6e9-346a0fad37c1","_postman_id":"ba794d50-063c-4a4c-a6e9-346a0fad37c1","description":""}],"id":"11766a7d-5a3e-4e1e-b19f-1de40cff4095","description":"<p>Pools allow configuration of weighted round robin records. Pools are groups of endpoints that a host name can point to. This allows for customization of how many endpoints are returned each time the record is queried, and specify a weight of traffic volume for each endpoint.</p>\n<p>Weighted round robin load balancing allows you to distribute uneven amounts of traffic across endpoints. This is great way to prioritize hosts with more capacity or slowly roll out an update to only segments of clients at a time.</p>\n<p><a href=\"http://help.constellix.com/weighted-round-robin/\">View GUI Tutorial</a></p>\n<p>Internet Traffic Optimization (ITO) with Pools uses latency-based load balancing. This type of load balancing ensures that only that fastest responding endpoint(s) in a pool are served to querying clients.</p>\n<p><a href=\"https://constellix.com/dns/traffic-optimization/ito-pools/\">Learn More</a></p>\n","event":[{"listen":"prerequest","script":{"id":"10fa8f49-4fa2-40ed-9ab5-cffcb59c0d00","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ca027c76-9073-4006-a1e7-2707021a0c3f","type":"text/javascript","exec":[""]}}],"_postman_id":"11766a7d-5a3e-4e1e-b19f-1de40cff4095"},{"name":"GeoFilter","item":[{"name":"Get all GeoFilter","event":[{"listen":"prerequest","script":{"id":"32bdbbad-ad04-41d6-b33e-eb66b4f8a3ae","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"33a23f20-e4b9-4593-b3f9-cc3bdfdf9979","exec":[""],"type":"text/javascript"}}],"id":"3e051018-1613-4d47-94ae-b5ea7d7e4c7d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/geoFilters?offset=0&max=10&sort=name&order=asc","description":"<p>Returns a list of all Geo Filters.</p>\n","urlObject":{"protocol":"https","path":["v1","geoFilters"],"host":["api","dns","constellix","com"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}],"variable":[]}},"response":[{"id":"fe5476e5-dd42-4455-8599-0f68adc62e3b","name":"Get all GeoFilters","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"url":{"raw":"https://api.dns.constellix.com/v1/geoFilters?offset=0&max=10&sort=name&order=asc","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","geoFilters"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:43:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=7DA5E6047F74F4777D6AB258FB179247; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"7DA5E6047F74F4777D6AB258FB179247","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1,\"name\":\"World (Default)\",\"geoipContinents\":[\"default\"],\"regions\":[{\"continentCode\":\"default\",\"countryCode\":\"\",\"regionCode\":\"\"}]},{\"id\":1230,\"name\":\"GeoFilterSample\",\"geoipContinents\":[\"AS\"],\"regions\":[{\"continentCode\":\"AS\",\"countryCode\":\"\",\"regionCode\":\"\"}]},{\"id\":1231,\"name\":\"GeoFilterIP\",\"geoipContinents\":[\"AS\"],\"geoipCountries\":[\"PK\",\"JP\"],\"regions\":[{\"continentCode\":\"AS\",\"countryCode\":\"\",\"regionCode\":\"\"},{\"continentCode\":\"AS\",\"countryCode\":\"PK\",\"regionCode\":\"\"},{\"continentCode\":\"AS\",\"countryCode\":\"JP\",\"regionCode\":\"\"}],\"ipAddresses\":[{\"ipv4Addresses\":[{\"ipv4\":\"1.1.1.1/32\"}]},{\"ipv6Addresses\":[{\"ipv6\":\"0:0:0:0:0:0:0:abc/128\"}]}]},{\"id\":1232,\"name\":\"GeoFilterASN\",\"asn\":[12345],\"regions\":[]}]"}],"_postman_id":"3e051018-1613-4d47-94ae-b5ea7d7e4c7d"},{"name":"Create a GeoFilter","event":[{"listen":"prerequest","script":{"id":"7ca3a690-1077-41f9-828f-d8317ae4cadf","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"c6000532-ed57-472c-a480-704ae982ad74","exec":[""],"type":"text/javascript"}}],"id":"6d379a43-2816-4894-8c28-df23e25711ab","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n    {\n    \t\"filterRulesLimit\": 100,\n        \"name\": \"GeoFilterASN\",\n        \"asn\": [\"12345\"]\n    }\n\n]\n\n"},"url":"https://api.dns.constellix.com/v1/geoFilters/","description":"<p>Creates one or more new Geo Filters.</p>\n","urlObject":{"protocol":"https","path":["v1","geoFilters",""],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"29a43c70-a3f6-4ff4-b076-52219e9aa3e5","name":"Create a GeoFilter by ASN","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"[\n    {\n        \"filterRulesLimit\": 100,\n        \"name\": \"GeoFilterASN\",\n        \"asn\": [\"12345\"]\n    }\n\n]\n\n"},"url":"https://api.dns.constellix.com/v1/geoFilters/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:43:06 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=9D0A589C7340F143D213188D7ED79B9E; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"9D0A589C7340F143D213188D7ED79B9E","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1232,\"name\":\"GeoFilterASN\",\"asn\":[12345],\"regions\":[]}]"},{"id":"44f5ac1f-ca14-4cb3-8915-24dcf0943969","name":"Create a GeoFilter","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"[\n    {\n        \"filterRulesLimit\": 100,\n        \"name\": \"GeoFilterSample\",\n        \"geoipContinents\": [\n            \"AS\"\n        ]\n    }\n\n]\n\n"},"url":"https://api.dns.constellix.com/v1/geoFilters/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:40:54 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=FF4BD37C8C08150C874E6B4264C49367; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"FF4BD37C8C08150C874E6B4264C49367","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1230,\"name\":\"GeoFilterSample\",\"geoipContinents\":[\"AS\"],\"regions\":[{\"continentCode\":\"AS\",\"countryCode\":\"\",\"regionCode\":\"\"}]}]"},{"id":"7bb3e7fe-f772-41e5-bb9e-69b4257ebade","name":"Create a GeoFilter with IPv4 and IPv6","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"[\n    {\n        \"filterRulesLimit\": 100, \n        \"name\": \"GeoFilterIP\",\n        \"geoipContinents\": [\n            \"AS\"\n        ],\n        \"geoipCountries\": [\n            \"PK\",\n            \"JP\"\n        ],\n        \"ipaddrs\": [\n            {\n                \"ipv4Addresses\": [\n                    {\n                        \"ipv4\": \"1.1.1.1/32\"\n                    }\n                ]\n            },\n\t\t    {   \"ipv6Addresses\": [\n\t\t        {\n\t\t          \"ipv6\": \"0:0:0:0:0:0:0:abc/128\"\n\t\t        }\n\t\t      ]      \n\t\t    }\n        ]\n    }\n\n]\n\n"},"url":"https://api.dns.constellix.com/v1/geoFilters/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:42:08 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=68975A81001B06BAC34C5D3D699474E1; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"68975A81001B06BAC34C5D3D699474E1","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1231,\"name\":\"GeoFilterIP\",\"geoipContinents\":[\"AS\"],\"geoipCountries\":[\"PK\",\"JP\"],\"regions\":[{\"continentCode\":\"AS\",\"countryCode\":\"\",\"regionCode\":\"\"},{\"continentCode\":\"AS\",\"countryCode\":\"PK\",\"regionCode\":\"\"},{\"continentCode\":\"AS\",\"countryCode\":\"JP\",\"regionCode\":\"\"}],\"ipAddresses\":[{\"ipv4Addresses\":[{\"ipv4\":\"1.1.1.1/32\"}]},{\"ipv6Addresses\":[{\"ipv6\":\"0:0:0:0:0:0:0:abc/128\"}]}]}]"}],"_postman_id":"6d379a43-2816-4894-8c28-df23e25711ab"},{"name":"Get an Existing GeoFilter","event":[{"listen":"prerequest","script":{"id":"e9607979-5204-4427-97e1-a999d52f23c0","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"c8d1adc3-9bdc-4eb4-928e-dface4440a77","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;","","console.log(\"get a specific template: \",  JSON.stringify(jsonData));"],"type":"text/javascript"}}],"id":"8d6c27d3-f75b-44e2-918f-fa0e2cafe4ca","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/geoFilters/{{geoFiltersId}}","description":"<p>Returns a specific Geo Filter.</p>\n","urlObject":{"protocol":"https","path":["v1","geoFilters","{{geoFiltersId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"9204e538-b460-472e-bd98-3095f9bcb88e","name":"Get an Existing GeoFilter","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/geoFilters/1232"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:44:43 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=5C1D936D9672B0D7EA588B68ED65AB4D; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"5C1D936D9672B0D7EA588B68ED65AB4D","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1232,\"name\":\"GeoFilterASN\",\"asn\":[12345],\"regions\":[]}"}],"_postman_id":"8d6c27d3-f75b-44e2-918f-fa0e2cafe4ca"},{"name":"Update an Existing GeoFilter","event":[{"listen":"prerequest","script":{"id":"c5043dc4-3d33-4200-810d-a72695f5da77","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"c5214c9c-338a-49d4-88d5-08364ed10fa7","exec":[""],"type":"text/javascript"}}],"id":"4af3482b-0e4a-44ae-845d-cdef39e072ef","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n  \"filterRulesLimit\": 100,\t\n  \"name\": \"GeoFilterIP\",\n  \"geoipCountries\": [\n    \"PK\"\n  ],\n  \"geoipContinents\": [\n    \"AS\"\n  ],\n  \"ipaddrs\": [\n    {\n      \"ipv4Addresses\": [\n        {\n          \"ipv4\": \"1.1.1.1/32\"\n        }\n      ]\n    }\n  ]\n}\n\n"},"url":"https://api.dns.constellix.com/v1/geoFilters/1231","description":"<p>Updates an existing Geo Filter.</p>\n","urlObject":{"protocol":"https","path":["v1","geoFilters","1231"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"3c28da0e-02c6-4f5f-ae26-5a27671b55ff","name":"Update an Existing GeoFilter","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"filterRulesLimit\": 100,\n  \"name\": \"GeoFilterIP\",\n  \"geoipCountries\": [\n    \"PK\"\n  ],\n  \"geoipContinents\": [\n    \"AS\"\n  ],\n  \"ipaddrs\": [\n    {\n      \"ipv4Addresses\": [\n        {\n          \"ipv4\": \"1.1.1.1/32\"\n        }\n      ]\n    }\n  ]\n}\n\n"},"url":"https://api.dns.constellix.com/v1/geoFilters/1231"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:46:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=36167AA0F9AB50D34535C1B8A91B140A; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"36167AA0F9AB50D34535C1B8A91B140A","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"IP Filter updated successfully. Domains using this IP Filter have been updated and changes are pushed live.\"}"}],"_postman_id":"4af3482b-0e4a-44ae-845d-cdef39e072ef"},{"name":"Delete an Existing GeoFilter","event":[{"listen":"prerequest","script":{"id":"c9c01202-3230-4c49-8393-0ed012e5c153","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"d33b877f-7575-4936-845b-dcfae3ab97ab","type":"text/javascript","exec":[""]}}],"id":"062695af-d1bc-4f26-8646-095b31c3ce4a","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/geoFilters/1232","description":"<p>Delete an existing Geo Filter.</p>\n","urlObject":{"protocol":"https","path":["v1","geoFilters","1232"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"4ec18b1a-3461-4769-8ab0-e0b19587e9a3","name":"Delete an Existing GeoFilter","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/geoFilters/1232"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:47:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=1190EE6D3FBDEAA146EE81579D3759B3; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"1190EE6D3FBDEAA146EE81579D3759B3","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"IP Filter  deleted successfully\"}"}],"_postman_id":"062695af-d1bc-4f26-8646-095b31c3ce4a"}],"id":"c879114e-08e1-4d91-a51b-d3cc11b42c91","description":"<p>GeoFilters can act as a DNS-based Firewall by blocking traffic from a specific location, or target traffic to direct it based on location, IP address (IPv4 and IPv6), or ASN (Autonomous System Network) of the resolving name server or EDNS client subnet.</p>\n<p>GeoFilters can be enabled for A, AAAA, CNAME, or ANAME records.</p>\n<p><a href=\"http://help.constellix.com/category/ip-filters/\">GUI Based Guides</a></p>\n<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Geo Filter name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geoipContinents</p>\n      </td>\n      <td>\n        <p>Sting[]</p>\n      </td>\n      <td>\n        <p>Two digit Continents Code</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>geoipCountries </p>\n      </td>\n      <td>\n        <p>Sting[]</p>\n      </td>\n      <td>\n        <p>Two digit Countries Code</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>asn</p>\n      </td>\n      <td>\n        <p>Number Array</p>\n      </td>\n      <td>\n        <p>Autonomous System Number (ASN). ASN code should be a number between 0 and 4294967295</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ipAddresses </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td>\n        <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ipAddresses.ipv4Addresses </p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td>\n        <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ipAddresses.ipv4Addresses.ipv4 </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>IPv4 Address</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ipAddresses.ipv6Addresses</p>\n      </td>\n      <td>\n        <p>Object</p>\n      </td>\n      <td>\n        <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>ipAddresses.ipv6Addresses.ipv6 </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>IPv6 Address</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>regions </p>\n      </td>\n      <td>\n        <p>Object Array</p>\n      </td>\n      <td>\n        <p></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>regions.continentCode </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Two digit Continent Code</p>\n      </td>\n    </tr>\n     <tr>\n      <td>\n        <p>regions.countryCode </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Two digit Country Code</p>\n      </td>\n    </tr>\n       <tr>\n      <td>\n        <p>regions.regionCode </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Region Code</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>filterRulesLimit </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Default is 100. For more than 100 rules, parameter should be set explicitly for ADD and Update API calls. Value should be in mulitple of 100 like 200, 300 ...upto the quota limit assigned to the account. Check quota details for IP Filter Rule Limit.</p>\n      </td>\n    </tr>\n  </tbody>\n</table>","event":[{"listen":"prerequest","script":{"id":"a958d616-865b-4697-bdd6-04561926dcfd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0ed1bbed-123c-486b-96f6-00fd450e839b","type":"text/javascript","exec":[""]}}],"_postman_id":"c879114e-08e1-4d91-a51b-d3cc11b42c91"},{"name":"GeoProximity","item":[{"name":"Get all GeoProximity","event":[{"listen":"prerequest","script":{"id":"1ed39323-458d-4ccc-a671-482bfcdb9508","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"3d905d1c-9d88-4892-87d4-fda5191bff55","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;","","console.log(\"get Template : \",  JSON.stringify(jsonData));"],"type":"text/javascript"}}],"id":"cf3c8263-49f7-4098-a21f-61aade3df552","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/geoProximities?offset=0&max=10&sort=name&order=asc","description":"<p>Returns a list of all Geo Proximity in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","geoProximities"],"host":["api","dns","constellix","com"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}],"variable":[]}},"response":[{"id":"04fcbc38-8e9a-49db-bc33-9671e5334ce4","name":"Get all GeoProximity","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":{"raw":"{{BaseURL}}/{{version}}/geoProximities?offset=0&max=10&sort=name&order=asc","host":["{{BaseURL}}"],"path":["{{version}}","geoProximities"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 19 Sep 2017 11:05:57 GMT","name":"Date","description":""},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":""},{"key":"Set-Cookie","value":"JSESSIONID=67CE4065A69540FDE06C9A3CBBED4967; Path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Application-Context","value":"application:test","name":"X-Application-Context","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dnsstage1.constellix.net","path":"/","secure":false,"value":"67CE4065A69540FDE06C9A3CBBED4967","key":"JSESSIONID"}],"responseTime":null,"body":"[\n    {\n        \"id\": 686,\n        \"name\": \"Annaba\",\n        \"country\": \"Algeria\",\n        \"region\": \"El Bayadh\",\n        \"city\": \"Brezina\",\n        \"latitude\": 33.1,\n        \"longitude\": 1.26\n    },\n    {\n        \"id\": 687,\n        \"name\": \"Pago Pago\",\n        \"country\": \"American Samoa\",\n        \"region\": \"Eastern District\",\n        \"city\": \"Pago Pago\",\n        \"latitude\": -14.24,\n        \"longitude\": -170.72\n    },\n    {\n        \"id\": 691,\n        \"name\": \"Abasto\",\n        \"country\": \"Argentina\",\n        \"region\": \"Buenos Aires\",\n        \"city\": \"Abasto\",\n        \"latitude\": -34.99,\n        \"longitude\": -58.09\n    }\n]"}],"_postman_id":"cf3c8263-49f7-4098-a21f-61aade3df552"},{"name":"Create a GeoProximity","event":[{"listen":"prerequest","script":{"id":"c39b8f14-7e06-4e12-90e2-9076e0f4152c","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"c31e5933-a5c6-4434-a8ba-022a1408df49","type":"text/javascript","exec":[""]}}],"id":"de53d1e4-a886-41e4-985c-d0c74ab6cc35","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"GeoProximity\",\r\n  \"latitude\": \"24.9206\",\r\n  \"longitude\": \"67.0703\"\r\n}"},"url":"https://api.dns.constellix.com/v1/geoProximities/","description":"<p>Creates one or more new Geo Proximity.</p>\n","urlObject":{"protocol":"https","path":["v1","geoProximities",""],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"89fdadb3-2452-489c-9e14-ee06c2351f9d","name":"Create a GeoProximity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"GeoProximity\",\r\n  \"latitude\": \"24.9206\",\r\n  \"longitude\": \"67.0703\"\r\n}"},"url":"https://api.dns.constellix.com/v1/geoProximities/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:54:58 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=59E58AB971B2E17804A5DEA5A4F2660A; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"59E58AB971B2E17804A5DEA5A4F2660A","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":1035,\"name\":\"GeoProximity\",\"country\":null,\"region\":null,\"city\":null,\"latitude\":24.92,\"longitude\":67.07}]"}],"_postman_id":"de53d1e4-a886-41e4-985c-d0c74ab6cc35"},{"name":"Get an Existing GeoProximity","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;","","console.log(\"get a specific template: \",  JSON.stringify(jsonData));"]}}],"id":"f591fda8-f720-44cf-8b4d-a27ab328c084","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/geoProximities/1035","description":"<p>Returns a specific Geo Proximity.</p>\n","urlObject":{"protocol":"https","path":["v1","geoProximities","1035"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"feff0dcc-860b-4c7a-ac3b-a0ad088bf908","name":"Get an Existing GeoProximity","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/geoProximities/1035"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:55:37 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=27AE0C36ADB92CEDDD0489D955B6CCF3; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"27AE0C36ADB92CEDDD0489D955B6CCF3","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":1035,\"name\":\"GeoProximity\",\"country\":null,\"region\":null,\"city\":null,\"latitude\":24.92,\"longitude\":67.07}"}],"_postman_id":"f591fda8-f720-44cf-8b4d-a27ab328c084"},{"name":"Update an Existing GeoProximity","event":[{"listen":"prerequest","script":{"id":"b42e44e7-7876-4ba7-93ef-dacf91bd55f3","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"8a4bd93d-802f-412d-8fd9-9a1a3a55aa13","type":"text/javascript","exec":[""]}}],"id":"f7acbd8d-39ba-44e8-af4d-1f1430408402","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n \"name\":\"GeoProximity\",\n \"country\":\"OM\",\n \"region\":\"05\",\n \"city\":\"273890\",\n \"latitude\":\"22.7\",\n \"longitude\":\"56.8333\"\n}"},"url":"https://api.dns.constellix.com/v1/geoProximities/{{GeoProximityId}}","description":"<p>Updates a Geo Proximity.</p>\n","urlObject":{"protocol":"https","path":["v1","geoProximities","{{GeoProximityId}}"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"9cf5ed63-e7a5-4cba-b25f-c84b4a928678","name":"Update an Existing GeoProximity","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n \"name\":\"GeoProximity\",\n \"country\":\"OM\",\n \"region\":\"05\",\n \"city\":\"273890\",\n \"latitude\":\"22.7\",\n \"longitude\":\"56.8333\"\n}"},"url":"https://api.dns.constellix.com/v1/geoProximities/{{GeoProximityId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:57:12 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=6667BE8464D3F5CBBDB9D51E2B558094; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"6667BE8464D3F5CBBDB9D51E2B558094","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Geo Proximity updated successfully. Domains using this Geo Proximity have been updated and changes are pushed live.\"}"}],"_postman_id":"f7acbd8d-39ba-44e8-af4d-1f1430408402"},{"name":"Delete an Existing GeoProximity","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"]}}],"id":"98be7a20-c168-4279-a5d0-1c1abaafc0e0","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/geoProximities/1036","description":"<p>Delete a Geo Proximity.</p>\n","urlObject":{"protocol":"https","path":["v1","geoProximities","1036"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"54fe5b03-5abe-464f-9dcb-8434cec0c846","name":"Delete an Existing GeoProximity","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/geoProximities/1036"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 16:58:58 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=DD09BC07A40F9A30B11236598207057A; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"DD09BC07A40F9A30B11236598207057A","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Geo Proximity  deleted successfully\"}"}],"_postman_id":"98be7a20-c168-4279-a5d0-1c1abaafc0e0"}],"id":"dcf91c91-78f6-465a-8673-2e8bd7cec2d9","description":"<p>GeoProximity uses a location based engine as well as longitude and latitude to automatically directs clients to the closest of your servers for the fastest response times.</p>\n<p>GeoProximity targeting hones in on querying clients from as broad and regional to as granular as city level lookups. You can even specify the longitude and latitude of your lookups.</p>\n<p>Geo Proximity is available for A, AAAA, CNAME, and ANAME records.</p>\n<p><a href=\"http://help.constellix.com/category/geo-proximity/\">GUI Based Guides</a></p>\n<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>name *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>GeoProximity name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>country </p>\n      </td>\n      <td>\n        <p>Sting</p>\n      </td>\n      <td>\n        <p>Country code. Default is null</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>Region/State/Province </p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Region or state or province code. Default is null</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>City </p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>City code. Default is null</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>latitude *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Latitude value</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>longitude *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Longitude value</p>\n      </td>\n    </tr>\n\n  </tbody>\n</table>","event":[{"listen":"prerequest","script":{"id":"c36bc96a-dc0b-49bf-b44d-32cd56526240","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7fa35f6f-246c-4433-bacf-875e23f49afa","type":"text/javascript","exec":[""]}}],"_postman_id":"dcf91c91-78f6-465a-8673-2e8bd7cec2d9"},{"name":"Vanity Nameserver","item":[{"name":"Get all Vanity Nameserver","event":[{"listen":"prerequest","script":{"id":"eb38f9c4-3690-4b76-af5f-fe586802269a","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"45b2b95f-bdf6-4a14-8a91-509ae9a7ce59","exec":[""],"type":"text/javascript"}}],"id":"76362676-5426-4ba8-b969-df279bdb99b0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/vanityNameservers?offset=0&max=10&sort=name&order=asc","description":"<p>Returns a list of all vanity nameservers in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","vanityNameservers"],"host":["api","dns","constellix","com"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}],"variable":[]}},"response":[{"id":"e0f61d51-90c7-422e-b2cb-1bc393ad57ea","name":"Get all Vanity Nameserver","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"url":{"raw":"https://api.dns.constellix.com/v1/vanityNameservers?offset=0&max=10&sort=name&order=asc","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","vanityNameservers"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:08:22 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=41692456C349D49DEED099D82D2133A0; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"41692456C349D49DEED099D82D2133A0","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":425,\"name\":\"Vanity Nameserver Config 1\",\"isDefault\":false,\"isPublic\":false,\"nameServers\":[\"ns1.vanityhostname.com\",\"ns2.vanityhostname.com\",\"ns3.vanityhostname.com\"],\"nameserverGroup\":1,\"nameserverGroupName\":\"NS User Group 1\",\"nameserversListString\":\"ns1.vanityhostname.com,\\nns2.vanityhostname.com,\\nns3.vanityhostname.com\"}]"}],"_postman_id":"76362676-5426-4ba8-b969-df279bdb99b0"},{"name":"Create a Vanity Nameserver","event":[{"listen":"prerequest","script":{"id":"92315e1f-93c7-4795-b848-e097dcc6f840","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"ebd609ea-8399-4a7d-8e40-bae1a27df593","type":"text/javascript","exec":[""]}}],"id":"cc0530ef-0ca3-4a38-aeca-4a41de121b9e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n   \"name\":\"Vanity Nameserver Config 1\",\n   \"nameserverGroup\":1,\n   \"nameserversListString\":\"ns1.vanityhostname.com,\\nns2.vanityhostname.com,\\nns3.vanityhostname.com\"\n}"},"url":"https://api.dns.constellix.com/v1/vanityNameservers/","description":"<p>Create a vanity nameserver.</p>\n","urlObject":{"protocol":"https","path":["v1","vanityNameservers",""],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"5307436e-2beb-4007-b7aa-1450bd71d81d","name":"Create a Vanity Nameserver","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n   \"name\":\"Vanity Nameserver Config 1\",\n   \"nameserverGroup\":1,\n   \"nameserversListString\":\"ns1.vanityhostname.com,\\nns2.vanityhostname.com,\\nns3.vanityhostname.com\"\n}"},"url":"https://api.dns.constellix.com/v1/vanityNameservers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:06:00 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=F5F267B68F2D5CC506844A4EA1071B9C; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"F5F267B68F2D5CC506844A4EA1071B9C","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Vanity Nameserver created successfully\",\"id\":425}"}],"_postman_id":"cc0530ef-0ca3-4a38-aeca-4a41de121b9e"},{"name":"Get an Existing Vanity Nameserver","event":[{"listen":"prerequest","script":{"id":"36825e6e-baeb-4782-9a21-1ef38379a19e","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"c9dd4456-a6f6-4527-bf2b-ea32992d6a44","type":"text/javascript","exec":[""]}}],"id":"efc32132-a831-41e9-ad8e-2a1d4c5e88d8","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/vanityNameservers/425","description":"<p>Returns a specific vanity nameserver.</p>\n","urlObject":{"protocol":"https","path":["v1","vanityNameservers","425"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"9b15ee2f-4b95-4142-a1a2-8dbe996c655e","name":"Get an Existing Vanity Nameserver","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/vanityNameservers/425"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:06:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=86280671DA017504F19D54B14BCA78AF; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"86280671DA017504F19D54B14BCA78AF","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":425,\"name\":\"Vanity Nameserver Config 1\",\"isDefault\":false,\"isPublic\":false,\"nameServers\":[\"ns1.vanityhostname.com\",\"ns2.vanityhostname.com\",\"ns3.vanityhostname.com\"],\"nameserverGroup\":1,\"nameserverGroupName\":\"NS User Group 1\",\"nameserversListString\":\"ns1.vanityhostname.com,\\nns2.vanityhostname.com,\\nns3.vanityhostname.com\"}"}],"_postman_id":"efc32132-a831-41e9-ad8e-2a1d4c5e88d8"},{"name":"Update an Existing Vanity Nameserver","event":[{"listen":"prerequest","script":{"id":"c7774aa2-03b5-4a79-b305-ca29d56ac69d","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"570133d3-69b6-47ee-ac8d-4d2e2e93cfbc","type":"text/javascript","exec":["",""]}}],"id":"1cdbffd8-d477-4207-8d6d-68c119f7062f","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n   \"name\":\"Vanity Name Servers\",\n   \"nameserverGroup\":1,\n   \"nameserversListString\":\"ns1.mydomain.com,\\nns2.mydomain.com,\\nns3.mydomain.com\"\n}"},"url":"https://api.dns.constellix.com/v1/vanityNameservers/425","description":"<p>Update vanity nameserver.</p>\n","urlObject":{"protocol":"https","path":["v1","vanityNameservers","425"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"139deeef-568d-438c-b22b-ac185724be2a","name":"Update an Existing Vanity Nameserver","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n   \"name\":\"Vanity Name Servers\",\n   \"nameserverGroup\":1,\n   \"nameserversListString\":\"ns1.mydomain.com,\\nns2.mydomain.com,\\nns3.mydomain.com\"\n}"},"url":"https://api.dns.constellix.com/v1/vanityNameservers/425"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:09:35 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=C8C890ABBF3A1E4D4DA489E43D7E73CB; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"C8C890ABBF3A1E4D4DA489E43D7E73CB","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Vanity Nameservers Vanity Name Servers updated successfully\"}"}],"_postman_id":"1cdbffd8-d477-4207-8d6d-68c119f7062f"},{"name":"Delete an Existing Vanity Nameserver","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;"]}}],"id":"e693948c-b0c9-45ce-bc91-835c6227798a","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/vanityNameservers/426","description":"<p>Delete vanity nameserver</p>\n","urlObject":{"protocol":"https","path":["v1","vanityNameservers","426"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"0ba9ced3-22a6-4514-bd11-ac6eec1ea0a1","name":"Delete an Existing Vanity Nameserver","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/vanityNameservers/426"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 19 Apr 2018 17:10:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=D22F32673BD4CC99F7D7F093256537C2; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"D22F32673BD4CC99F7D7F093256537C2","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Vanity Nameserver Vanity Nameserver Config 2 deleted successfully\"}"}],"_postman_id":"e693948c-b0c9-45ce-bc91-835c6227798a"}],"id":"4f32ee86-77f1-4d99-a273-fa2071d76632","description":"<p>Vanity DNS is an optional configuration that allows you to rebrand Constellix name servers using your own domain name. The end result is that your own domain name becomes the host name for your name servers which map back to the IP addresses of Constellix name servers.</p>\n<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>name *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Vanity nameserver name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>isDefault </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>default flag. Default is false</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>isPublic </p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>isPublic flag. Default is false</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>nameserverGroup *</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Name server group id. 1 .. Available nameserver groups</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>nameserverGroupName</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Name server group name</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>nameserversListString *</p>\n      </td>\n      <td>\n        <p>String[]</p>\n      </td>\n      <td>\n        <p>Comma separedted name servers list</p>\n      </td>\n    </tr>\n  </tbody>\n</table>","event":[{"listen":"prerequest","script":{"id":"0082165b-dff6-43bd-af04-0d96f246f4e7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9d66ac23-b253-44c6-893a-0114a4f19f12","type":"text/javascript","exec":[""]}}],"_postman_id":"4f32ee86-77f1-4d99-a273-fa2071d76632"},{"name":"Contact List","item":[{"name":"Get all Contact List","event":[{"listen":"prerequest","script":{"id":"6ad0ce43-193f-4853-b777-826bda2c4ee7","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"3a49bb22-86c8-448b-84fe-804ee53dc7c9","exec":["var jsonData = JSON.parse(responseBody);","","tests[\"status code is 200 : OK\"] = responseCode.code === 200;","","console.log(\"get Template : \",  JSON.stringify(jsonData));"],"type":"text/javascript"}}],"id":"bd7bb726-b7b6-4930-8a7d-c7b34089942d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v1/contacts/?offset=0&max=10&sort=id&order=desc","description":"<p>Return contact lists in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","contacts",""],"host":["api","dns","constellix","com"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"id"},{"key":"order","value":"desc"}],"variable":[]}},"response":[{"id":"7c0d09aa-601c-4073-9176-0a0d33eecdf7","name":"Get all Contact List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"url":{"raw":"https://api.dns.constellix.com/v1/contacts?offset=0&max=10&sort=name&order=asc","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","contacts"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 18:46:01 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=F4836477DC49C58C009B2CE560625151; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"F4836477DC49C58C009B2CE560625151","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":2,\"name\":\"Contact\",\"activeFlag\":true,\"contactEmailsCount\":1,\"createdTs\":\"2015-11-25T22:06:22Z\",\"modifiedTs\":\"2015-11-25T22:06:23Z\"}]"}],"_postman_id":"bd7bb726-b7b6-4930-8a7d-c7b34089942d"},{"name":"Create a Contact List","event":[{"listen":"prerequest","script":{"id":"9a1ffdbe-84a0-444a-ad6c-f2bc8e03935b","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"d3fe502b-30ef-4b0b-b83e-86aacb261cd9","type":"text/javascript","exec":[""]}}],"id":"c9c094bd-54ad-4118-8ac0-c20fa997d89f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"name\": \"ContactList\",\n        \"contactEmails\": [\"sampleUser@constellix.com\", \"sampleUser1@constellix.com\"]\n    }\n]"},"url":"https://api.dns.constellix.com/v1/contacts/","description":"<p>Creates one or more new contact lists in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","contacts",""],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"8f65bf00-65ab-43c1-9aa8-4a4a33169e8b","name":"Create a Contact List","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"[\n    {\n        \"name\": \"ContactList\",\n        \"contactEmails\": [\"sampleUser@constellix.com\", \"sampleUser1@constellix.com\"]\n    }\n]"},"url":"https://api.dns.constellix.com/v1/contacts/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 18:54:26 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=D751554F55742722CE78BCB792D6AA7D; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"D751554F55742722CE78BCB792D6AA7D","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":145,\"name\":\"ContactList\",\"activeFlag\":true,\"createdTs\":\"2018-04-26T18:54:26Z\",\"modifiedTs\":\"2018-04-26T18:54:26Z\",\"contactEmails\":[{\"id\":226,\"emailAddress\":\"sampleuser1@constellix.com\",\"verificationCode\":\"d5d13a3c-6aea-4e0a-9afa-55cbbdb2611d\",\"verifiedFlag\":false,\"codeExpiryTs\":\"2018-04-27T18:54:26Z\",\"referenceDeletedTs\":null},{\"id\":225,\"emailAddress\":\"sampleuser@constellix.com\",\"verificationCode\":\"a319ec1e-4348-4945-b41d-0d3f3dbb1d4c\",\"verifiedFlag\":false,\"codeExpiryTs\":\"2018-04-27T18:54:26Z\",\"referenceDeletedTs\":null}]}]"}],"_postman_id":"c9c094bd-54ad-4118-8ac0-c20fa997d89f"},{"name":"Get an existing Contact List","event":[{"listen":"prerequest","script":{"id":"41b8dc65-bbe4-46ad-831d-5296fdc9029e","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"f0cee4e6-2d06-4de7-a8f8-d176c7af0a29","type":"text/javascript","exec":[""]}}],"id":"35bd13a3-a10b-4204-b1aa-7a76c629b159","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/contacts/145","description":"<p>Return a specific contact list in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","contacts","145"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"d4111b2c-964c-4f0a-b4ad-3090e70ac6d8","name":"Get an existing Contact List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"id","type":"text","value":"{{id1}}"}]},"url":"https://api.dns.constellix.com/v1/contacts/145"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 18:55:30 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=C6EA625A70B28CE3221F34052D3E3478; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"C6EA625A70B28CE3221F34052D3E3478","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":145,\"name\":\"ContactList\",\"activeFlag\":true,\"createdTs\":\"2018-04-26T18:54:26Z\",\"modifiedTs\":\"2018-04-26T18:54:26Z\",\"contactEmails\":[{\"id\":225,\"emailAddress\":\"sampleuser@constellix.com\",\"verificationCode\":\"a319ec1e-4348-4945-b41d-0d3f3dbb1d4c\",\"verifiedFlag\":false,\"codeExpiryTs\":\"2018-04-27T18:54:26Z\",\"referenceDeletedTs\":null},{\"id\":226,\"emailAddress\":\"sampleuser1@constellix.com\",\"verificationCode\":\"d5d13a3c-6aea-4e0a-9afa-55cbbdb2611d\",\"verifiedFlag\":false,\"codeExpiryTs\":\"2018-04-27T18:54:26Z\",\"referenceDeletedTs\":null}]}"}],"_postman_id":"35bd13a3-a10b-4204-b1aa-7a76c629b159"},{"name":"Update an existing Contact List","event":[{"listen":"prerequest","script":{"id":"32deb3b0-9061-410c-9c54-a46a88e37882","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"f2556472-b531-4212-87a7-528983a353f6","type":"text/javascript","exec":[""]}}],"id":"5cb464f7-705d-49ba-9f94-281470ecc133","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"ContactListUpdate\",\n    \"contactEmails\": [\"sampleUser1@constellix.com\", \"sampleUser3@constellix.com\"]\n}"},"url":"https://api.dns.constellix.com/v1/contacts/145","description":"<p>Update an existing contact list in the user's account.</p>\n","urlObject":{"protocol":"https","path":["v1","contacts","145"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"14967a06-9580-4489-a7df-a01c918fff5e","name":"Update an existing Contact List","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n    \"name\": \"ContactListUpdate\",\n    \"contactEmails\": [\"sampleUser1@constellix.com\", \"sampleUser3@constellix.com\"]\n}"},"url":"https://api.dns.constellix.com/v1/contacts/145"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 18:56:30 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=4EBF8A3F1EABB16BE2CAF878B55328DD; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"4EBF8A3F1EABB16BE2CAF878B55328DD","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Contact List  updated successfully\"}"}],"_postman_id":"5cb464f7-705d-49ba-9f94-281470ecc133"},{"name":"Add emails in a Contact List","event":[{"listen":"prerequest","script":{"id":"05478fd4-e677-4ea8-ab75-b7a15e96711b","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"53f5ff59-a30a-43ce-9354-4bf11aaada17","type":"text/javascript","exec":[""]}}],"id":"01472dd8-3f33-4e42-a829-f21117e99e52","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n    \"contactEmails\": [\"sampleUser4@constellix.com\", \"sampleUser5@constellix.com\"]\n}"},"url":"https://api.dns.constellix.com/v1/contacts/145/emails","description":"<p>Add emails in a contact list</p>\n","urlObject":{"protocol":"https","path":["v1","contacts","145","emails"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"c8cace5b-489e-413e-b073-9a0be3f60632","name":"Add emails in a Contact List","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n    \"contactEmails\": [\"sampleUser4@constellix.com\", \"sampleUser5@constellix.com\"]\n}"},"url":"https://api.dns.constellix.com/v1/contacts/145/emails"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 18:57:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=C1A8B3282CA6098E12334CA9525082FD; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"C1A8B3282CA6098E12334CA9525082FD","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Emails sampleuser5&#64;constellix.com, sampleuser4&#64;constellix.com added in Contact List ContactListUpdate\"}"}],"_postman_id":"01472dd8-3f33-4e42-a829-f21117e99e52"},{"name":"Delete emails from a Contact List","event":[{"listen":"prerequest","script":{"id":"15fe23a8-6844-4fe0-adba-9f4f7a4864a6","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"cd91acf8-34ee-4195-a55b-12c795355e29","type":"text/javascript","exec":[""]}}],"id":"ec4ff124-e021-4a3a-ba22-9ff06a9ae388","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n    \"contactEmails\": [\"sampleUser1@constellix.com\"]\n}"},"url":"https://api.dns.constellix.com/v1/contacts/145/emails","description":"<p>Delete emails from a contact list</p>\n","urlObject":{"protocol":"https","path":["v1","contacts","145","emails"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"b61bdfce-3d9f-4b2f-b63c-307a93baba98","name":"Delete emails from a Contact List","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":"{\n    \"contactEmails\": [\"sampleUser1@constellix.com\"]\n}"},"url":"https://api.dns.constellix.com/v1/contacts/145/emails"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 18:58:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=03F7B841C2CA95944614FC84F0DD5199; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"03F7B841C2CA95944614FC84F0DD5199","key":"JSESSIONID"}],"responseTime":null,"body":"{\"errors\":[\"No email found to remove\"]}"}],"_postman_id":"ec4ff124-e021-4a3a-ba22-9ff06a9ae388"},{"name":"Delete an existing Contact List","event":[{"listen":"prerequest","script":{"id":"c61e14cb-fa34-4341-998e-80bca1fd8b5d","type":"text/javascript","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"]}},{"listen":"test","script":{"id":"8b84f8dd-4bc1-4f60-b3c4-884906698dcc","type":"text/javascript","exec":[""]}}],"id":"ff55dda5-b834-4953-a8c0-b67892e6c86b","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/contacts/145","description":"<p>Delete contact list.</p>\n","urlObject":{"protocol":"https","path":["v1","contacts","145"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"aec8ca62-9fca-475f-a372-0511f76da1ab","name":"Delete an existing Contact List","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v1/contacts/145"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 18:59:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=10543B8E7B7E949DEFAE369C5055CABA; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"10543B8E7B7E949DEFAE369C5055CABA","key":"JSESSIONID"}],"responseTime":null,"body":"{\"success\":\"Contact List  deleted successfully\"}"}],"_postman_id":"ff55dda5-b834-4953-a8c0-b67892e6c86b"}],"id":"60a6248a-5f65-4614-8e88-245f967c9bac","description":"<table>\n  \n    \n    \n    \n  \n  <tbody>\n    <tr>\n      <td>\n        <p><strong>Field </strong></p>\n      </td>\n      <td>\n        <p><strong>Type</strong></p>\n      </td>\n      <td>\n        <p><strong>Description</strong></p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>id</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>System generated record id</p>\n      </td>\n    </tr>    \n    <tr>\n      <td>\n        <p>name *</p>\n      </td>\n      <td>\n        <p>String</p>\n      </td>\n      <td>\n        <p>Contact List name should be unique.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>contactEmails *</p>\n      </td>\n      <td>\n        <p>String[]</p>\n      </td>\n      <td>\n        <p>Comma separedted valid list of emails to be notified.</p>\n      </td>\n    </tr>\n    <tr>\n      <td>\n        <p>activeFlag</p>\n      </td>\n      <td>\n        <p>Boolean</p>\n      </td>\n      <td>\n        <p>status of the contact list. Default is true</p>\n      </td>\n    </tr>\n        <tr>\n      <td>\n        <p>contactEmailsCount</p>\n      </td>\n      <td>\n        <p>Number</p>\n      </td>\n      <td>\n        <p>Total emails in the contact list.</p>\n      </td>\n    </tr> \n    \n\n    \n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;contactEmails.id&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Number&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;System generated contact email record id.&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt; \n\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;contactEmails.emailAddress&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;String&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;saved email address&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;    \n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;contactEmails.verificationCode&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;String&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;System generated verification code&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;contactEmails.verifiedFlag&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Boolean&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;Verification status of email address&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;contactEmails.codeExpiryTs&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;DateTime&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n  &lt;td class=\"confluenceTd\"&gt;\n    &lt;p&gt;&lt;span style=\"color: rgb(51,51,51);text-decoration: none;\" data-mce-style=\"color: #333333; text-decoration: none;\"&gt;System generated date time for verification code to expired&lt;/span&gt;&lt;/p&gt;\n  &lt;/td&gt;\n&lt;/tr&gt;\n</code></pre>  </tbody>\n</table>","_postman_id":"60a6248a-5f65-4614-8e88-245f967c9bac"},{"name":"Activity Log","item":[{"name":"Get Activity Log","event":[{"listen":"prerequest","script":{"id":"b549a877-2ed8-4171-9982-299c2529f5c4","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}}],"id":"016ab669-d872-4c61-85b1-25c28262f651","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","type":"text"}],"url":"https://api.dns.constellix.com/v1/account/logs?start=1650463638131&end=1650467230556","description":"<p>Request activity log by start and end time (epoch time in milliseconds)</p>\n","urlObject":{"protocol":"https","path":["v1","account","logs"],"host":["api","dns","constellix","com"],"query":[{"key":"start","value":"1650463638131"},{"key":"end","value":"1650467230556"}],"variable":[]}},"response":[{"id":"94ff4508-d777-4e60-b6e3-5007552e5144","name":"Get Activity Log","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","type":"text"}],"url":{"raw":"https://api.dns.constellix.com/v1/account/logs?start=1650463638131&end=1650467230556","protocol":"https","host":["api","dns","constellix","com"],"path":["v1","account","logs"],"query":[{"key":"start","value":"1650463638131"},{"key":"end","value":"1650467230556"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 09 May 2022 17:55:24 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"JSESSIONID=9DFCF23BE00620923461BACDD8A0BF2C; Path=/; HttpOnly"},{"key":"X-Application-Context","value":"application:production"},{"key":"requestsRemainingHeader","value":"89"},{"key":"requestLimitHeader","value":"90"},{"key":"requestRefreshInterval","value":"19"},{"key":"requestLimitInterval","value":"20.00"},{"key":"requestLimitRate","value":"4.50"},{"key":"cnsdns-account-Id","value":"300004561"},{"key":"cnsdns-user-role","value":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"timeStamp\": 1650463638131,\n            \"sourceDetail\": \"User Agent: PostmanRuntime/7.29.0\",\n            \"ipAddress\": \"159.203.102.113\",\n            \"description\": \"Created domain: sampledomain12000srgn.com\",\n            \"source\": \"Api\",\n            \"additionalData\": {\n                \"viewJSON\": \"{\\\"hasGeoIP\\\":false,\\\"hasGtdRegions\\\":false,\\\"dnsSec\\\":false}\"\n            },\n            \"category\": \"Advanced\",\n            \"user\": \"your_username_here\"\n        },\n        {\n            \"timeStamp\": 1650467230556,\n            \"sourceDetail\": \"User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36\",\n            \"ipAddress\": \"159.203.102.113\",\n            \"description\": \"Logged in.\",\n            \"source\": \"Web\",\n            \"additionalData\": {},\n            \"category\": \"Security\",\n            \"user\": \"your_username_here\"\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"start\": \"1650463638131\",\n            \"end\": \"1650467230556\"\n        }\n    }\n}"}],"_postman_id":"016ab669-d872-4c61-85b1-25c28262f651"}],"id":"e52f285a-f9d1-457a-a17f-7015cc3977b4","_postman_id":"e52f285a-f9d1-457a-a17f-7015cc3977b4","description":""}],"id":"a3936e09-bc51-4ef7-b157-d41a19b63593","_postman_id":"a3936e09-bc51-4ef7-b157-d41a19b63593","description":""},{"name":"v2 - Version 2","item":[{"name":"Contact Lists","item":[{"name":"Get  Contact List","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"75dea1d9-9056-4fc3-ac33-08863c861484","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v2/contactLists?offset=0&max=10&sort=id&order=desc","urlObject":{"protocol":"https","path":["v2","contactLists"],"host":["api","dns","constellix","com"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"id"},{"key":"order","value":"desc"}],"variable":[]}},"response":[{"id":"e488998e-8c0e-4035-b91f-4888c007ea36","name":"Get  Contact List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false},{"key":"apiKey","value":"287b844c-34b6-4ddc-a1cc-bfeb072dbb47","disabled":true},{"key":"secretKey","value":"209f7c01-50c7-4b9b-b9e0-9f3a3602c278","disabled":true}],"url":{"raw":"https://api.dns.constellix.com/v2/contactLists?offset=0&max=10&sort=name&order=asc","protocol":"https","host":["api","dns","constellix","com"],"path":["v2","contactLists"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 25 May 2018 17:17:43 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=EFD88628669FF4A36D3A628CD04CC353; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"EFD88628669FF4A36D3A628CD04CC353","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":2,\"name\":\"Contact\",\"emailAddresses\":[\"user@example.com\"]}]"}],"_postman_id":"75dea1d9-9056-4fc3-ac33-08863c861484"},{"name":"Create  Contact List","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"dbb41de7-c61a-4b52-8883-b2b92dc01f92","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"    {\n        \"name\": \"New Contact List\",\n        \"emailAddresses\": [\n            \"user1@example.com\", \"user2@example.com\"\n        ]\n    }"},"url":"https://api.dns.constellix.com/v2/contactLists","urlObject":{"protocol":"https","path":["v2","contactLists"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"8c926662-793c-44b3-bb7e-704cfead313f","name":"Create  Contact List","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false},{"key":"apiKey","value":"287b844c-34b6-4ddc-a1cc-bfeb072dbb47","disabled":true},{"key":"secretKey","value":"209f7c01-50c7-4b9b-b9e0-9f3a3602c278","disabled":true}],"body":{"mode":"raw","raw":"    {\n        \"name\": \"New Contact List\",\n        \"emailAddresses\": [\n            \"user1@example.com\", \"user2@example.com\"\n        ]\n    }"},"url":"https://api.dns.constellix.com/v2/contactLists"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 25 May 2018 17:19:17 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=E5A07DECE2D03BE449013FCDC2D5D447; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"E5A07DECE2D03BE449013FCDC2D5D447","key":"JSESSIONID"}],"responseTime":null,"body":"{\"successContactLists\":[{\"id\":161,\"name\":\"New Contact List\",\"emailAddresses\":[\"user2@example.com\",\"user1@example.com\"]}]}"}],"_postman_id":"dbb41de7-c61a-4b52-8883-b2b92dc01f92"},{"name":"Update Contact LIst","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"52d48759-9b11-4121-bcd3-a6c577881fc1","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"    {\n        \"name\": \"Contact List\",\n        \"emailAddresses\": [\n            \"user3@example.com\"\n        ]\n    }"},"url":"https://api.dns.constellix.com/v2/contactLists/2","urlObject":{"protocol":"https","path":["v2","contactLists","2"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"344e039b-93b4-4fcc-b8db-97e5641da8fb","name":"Update Contact LIst","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false},{"key":"apiKey","value":"287b844c-34b6-4ddc-a1cc-bfeb072dbb47","disabled":true},{"key":"secretKey","value":"209f7c01-50c7-4b9b-b9e0-9f3a3602c278","disabled":true}],"body":{"mode":"raw","raw":"    {\n        \"name\": \"Contact List\",\n        \"emailAddresses\": [\n            \"user3@example.com\"\n        ]\n    }"},"url":"https://api.dns.constellix.com/v2/contactLists/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 25 May 2018 17:21:29 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=1ED78A986A4D9FF17803CF2BE2909181; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"1ED78A986A4D9FF17803CF2BE2909181","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":2,\"name\":\"Contact List\",\"emailAddresses\":[\"user3@example.com\"]}]"}],"_postman_id":"52d48759-9b11-4121-bcd3-a6c577881fc1"},{"name":"Delete Contact List","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"4656fae3-7aeb-47e0-bf96-c82f3869f3b7","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"    {\n        \"name\": \"Contact List\",\n        \"emailAddresses\": [\n            \"user3@example.com\"\n        ]\n    }"},"url":"https://api.dns.constellix.com/v2/contactLists/2","urlObject":{"protocol":"https","path":["v2","contactLists","2"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"b6f5b0c4-e286-4b99-bb70-5640baf249bb","name":"Delete Contact List","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false},{"key":"apiKey","value":"287b844c-34b6-4ddc-a1cc-bfeb072dbb47","disabled":true},{"key":"secretKey","value":"209f7c01-50c7-4b9b-b9e0-9f3a3602c278","disabled":true}],"body":{"mode":"raw","raw":"    {\n        \"name\": \"Contact List\",\n        \"emailAddresses\": [\n            \"user3@example.com\"\n        ]\n    }"},"url":"https://api.dns.constellix.com/v2/contactLists/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 25 May 2018 17:23:07 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=9691BA29DA7879570B3DFBA7A763D138; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"9691BA29DA7879570B3DFBA7A763D138","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":2,\"name\":\"Contact List\",\"emailAddresses\":[\"user3@example.com\"]}"}],"_postman_id":"4656fae3-7aeb-47e0-bf96-c82f3869f3b7"}],"id":"898d7204-43ca-4929-a249-df2d26ad6c91","description":"<p>Manage Constellix DNS Contact Lists</p>\n","event":[{"listen":"prerequest","script":{"id":"82dcc122-832c-4588-b449-f8dc073571e5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dd154a7b-89d2-4c42-9c8c-b7bcf2e66c32","type":"text/javascript","exec":[""]}}],"_postman_id":"898d7204-43ca-4929-a249-df2d26ad6c91"},{"name":"Tags","item":[{"name":"Get Tags","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"a6f8b82f-80a6-45ec-bb8e-73e1d6350224","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"url":"https://api.dns.constellix.com/v2/tags?offset=0&max=10&sort=name&order=asc","urlObject":{"protocol":"https","path":["v2","tags"],"host":["api","dns","constellix","com"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}],"variable":[]}},"response":[{"id":"f844ccc8-1b05-4163-9518-1467780c1e12","name":"Get Tags","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false},{"key":"apiKey","value":"287b844c-34b6-4ddc-a1cc-bfeb072dbb47","disabled":true},{"key":"secretKey","value":"209f7c01-50c7-4b9b-b9e0-9f3a3602c278","disabled":true}],"url":{"raw":"https://api.dns.constellix.com/v2/tags?offset=0&max=10&sort=name&order=asc","protocol":"https","host":["api","dns","constellix","com"],"path":["v2","tags"],"query":[{"key":"offset","value":"0"},{"key":"max","value":"10"},{"key":"sort","value":"name"},{"key":"order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 25 May 2018 17:27:51 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=49B5F169E70A5CEA1C25FE8122036054; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"49B5F169E70A5CEA1C25FE8122036054","key":"JSESSIONID"}],"responseTime":null,"body":"[{\"id\":161,\"name\":\"Production\"},{\"id\":162,\"name\":\"Development\"}]"}],"_postman_id":"a6f8b82f-80a6-45ec-bb8e-73e1d6350224"},{"name":"Create a Tag","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"5560fa8a-3064-4614-b844-a9c84017a30a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n\"name\": \"Recent\"\n}"},"url":"https://api.dns.constellix.com/v2/tags","urlObject":{"protocol":"https","path":["v2","tags"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"e4176865-7981-4d8e-a24c-7b51e68218ae","name":"Create a Tag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false},{"key":"apiKey","value":"287b844c-34b6-4ddc-a1cc-bfeb072dbb47","disabled":true},{"key":"secretKey","value":"209f7c01-50c7-4b9b-b9e0-9f3a3602c278","disabled":true}],"body":{"mode":"raw","raw":"{\n\"name\": \"Recent\"\n}"},"url":"https://api.dns.constellix.com/v2/tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 25 May 2018 17:30:28 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=25C96E7D011CAD376F7FDFA4243486BC; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"25C96E7D011CAD376F7FDFA4243486BC","key":"JSESSIONID"}],"responseTime":null,"body":"{\"successTags\":[{\"id\":163,\"name\":\"Recent\"}]}"}],"_postman_id":"5560fa8a-3064-4614-b844-a9c84017a30a"},{"name":"Update a Tag","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"c63ccfef-43b6-40c8-95f0-290951e48bef","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":"{\n\"name\": \"Recently Added\"\n}"},"url":"https://api.dns.constellix.com/v2/tags/163","urlObject":{"protocol":"https","path":["v2","tags","163"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"0e5909a5-25cc-4f0f-8e55-f359e7d35ed0","name":"Update a Tag","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false},{"key":"apiKey","value":"287b844c-34b6-4ddc-a1cc-bfeb072dbb47","disabled":true},{"key":"secretKey","value":"209f7c01-50c7-4b9b-b9e0-9f3a3602c278","disabled":true}],"body":{"mode":"raw","raw":"{\n\"name\": \"Recently Added\"\n}"},"url":"https://api.dns.constellix.com/v2/tags/163"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 25 May 2018 17:31:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=93294CB92D26F927EFB16FDFCF070266; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"93294CB92D26F927EFB16FDFCF070266","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":163,\"name\":\"Recently Added\"}"}],"_postman_id":"c63ccfef-43b6-40c8-95f0-290951e48bef"},{"name":"Delete a Tag","event":[{"listen":"prerequest","script":{"id":"21a587ad-a57b-4492-bfaa-834fd083acac","exec":["var apiKey = postman.getEnvironmentVariable(\"apiKey\");","var secretKey = postman.getEnvironmentVariable(\"secretKey\");","","function epochTime() {","    return new Date().getTime() + '';","}","","postman.clearEnvironmentVariable(\"x-cns-security-token\");","","var time = epochTime();","var hmac = CryptoJS.HmacSHA1( time, secretKey ).toString( CryptoJS.enc.Base64 );","var token = apiKey + \":\" + hmac + \":\" + time;","","postman.setEnvironmentVariable( 'x-cns-security-token', token );"],"type":"text/javascript"}},{"listen":"test","script":{"id":"fbce9cb0-de17-457f-8ec7-5a5d1c2917da","exec":[""],"type":"text/javascript"}}],"id":"0562352d-c5b9-4162-addf-27d0257c0866","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v2/tags/163","urlObject":{"protocol":"https","path":["v2","tags","163"],"host":["api","dns","constellix","com"],"query":[],"variable":[]}},"response":[{"id":"a1da8b76-a462-4cff-8193-8b72806a8d18","name":"Delete a Tag","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"x-cns-security-token","value":"{{x-cns-security-token}}","disabled":false},{"key":"apiKey","value":"287b844c-34b6-4ddc-a1cc-bfeb072dbb47","disabled":true},{"key":"secretKey","value":"209f7c01-50c7-4b9b-b9e0-9f3a3602c278","disabled":true}],"body":{"mode":"raw","raw":""},"url":"https://api.dns.constellix.com/v2/tags/163"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json;charset=UTF-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 25 May 2018 17:37:52 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Apache-Coyote/1.1","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"JSESSIONID=596270C9B819C16192560D3CE609553C; Path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-Application-Context","value":"application:production","name":"X-Application-Context","description":"Custom header"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"api.dns.constellix.com","path":"/","secure":false,"value":"596270C9B819C16192560D3CE609553C","key":"JSESSIONID"}],"responseTime":null,"body":"{\"id\":163,\"name\":\"Recently Added\"}"}],"_postman_id":"0562352d-c5b9-4162-addf-27d0257c0866"}],"id":"f92327ac-96a2-49a5-8771-78d6a43e5ff3","description":"<p>Manage domain tags in Constellix DNS.</p>\n","_postman_id":"f92327ac-96a2-49a5-8771-78d6a43e5ff3"}],"id":"d1f6ffbb-27a3-404b-9c4c-39ab2d0a49b7","description":"<p>Changes in call formatting and optimization of calls with API Version 2.</p>\n","event":[{"listen":"prerequest","script":{"id":"2fba8121-7877-49ec-ae62-193f24781415","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"54d45421-f1c8-40b8-947e-fd4b88f56f7a","type":"text/javascript","exec":[""]}}],"_postman_id":"d1f6ffbb-27a3-404b-9c4c-39ab2d0a49b7"}],"id":"cfbb9d74-447d-4f10-bf41-bf167dee345a","description":"<p>All API calls to the DNS services can be accessed via:\n<a href=\"https://api.dns.constellix.com/\">https://api.dns.constellix.com/</a></p>\n","event":[{"listen":"prerequest","script":{"id":"3c12dd5f-190f-4a92-a2bf-ea1b5f1aa683","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"25072e32-7b1f-4da1-bbb1-03180ee0e047","type":"text/javascript","exec":[""]}}],"_postman_id":"cfbb9d74-447d-4f10-bf41-bf167dee345a"},{"name":"Sonar","item":[{"name":"contacts","item":[{"name":"get contacts","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","id":"918a90cd-64e3-4d49-bb4d-f06210eb3265"}}],"id":"f1697a5c-ac12-4ad6-b23d-cac8d95c420d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/contacts","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","contacts"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1697a5c-ac12-4ad6-b23d-cac8d95c420d"},{"name":"get contacts groups","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","id":"592c6209-17d9-431f-b347-793330aa1510"}}],"id":"5b791b52-f58b-44d6-a4af-78fe687f23e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/contact/groups","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","contact","groups"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b791b52-f58b-44d6-a4af-78fe687f23e2"}],"id":"3a746bc6-6b4a-47d8-85bc-60cbc2212138","_postman_id":"3a746bc6-6b4a-47d8-85bc-60cbc2212138","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"system","item":[{"name":"sties","id":"c8ccba71-f148-4980-9e11-253f7d43ec38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/system/sites","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","system","sites"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8ccba71-f148-4980-9e11-253f7d43ec38"}],"id":"e54fbdb0-6333-4c1d-bcc9-aefc825ab8e0","_postman_id":"e54fbdb0-6333-4c1d-bcc9-aefc825ab8e0","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"static configuration","item":[{"name":"http","item":[{"name":"create http check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});","","let locationHeader = pm.response.headers.get('Location');","let checkId = locationHeader.substring(locationHeader.lastIndexOf(\"/\") + 1,locationHeader.length)","postman.setEnvironmentVariable(\"http_check_id\", parseInt(checkId, 10));"],"type":"text/javascript","id":"7e081972-ef29-4442-8574-473bcef5f0f1"}}],"id":"1993e0ea-54f5-4154-9462-5fa2bdaaea18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"http run trace test on status change\",\n    \"host\":\"example.com\",\n    \"ipVersion\": \"IPV4\",\n    \"port\": 80,\n    \"protocolType\": \"HTTP\",\n    \"interval\": \"THIRTYSECONDS\",\n    \"checkSites\": [1],\n    \"runTraceroute\": \"ON_STATUS_CHANGE\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseurl}}/api/http","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","http"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1993e0ea-54f5-4154-9462-5fa2bdaaea18"},{"name":"get http check detail","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","id":"a820954c-fd02-4078-9f42-5b0061913651"}}],"id":"3f3380bd-6ddc-4e82-9b23-da96b904ea74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/http/{{http_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","http","{{http_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f3380bd-6ddc-4e82-9b23-da96b904ea74"},{"name":"update http check","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'http_check_id');","pm.test(\"Status code is 200\", function () {","    pm.expect(pm.response.json().id == parseInt(checkId,10));","    pm.response.to.have.status(200);","});"],"type":"text/javascript","id":"b0e90c3a-298b-4110-a25a-db6560dd77a1"}}],"id":"b2e0b91f-b084-4e14-b4dc-565b09abe6c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"http run trace test update\",\n    \"port\": 443,\n    \"protocolType\": \"HTTPS\",\n    \"checkSites\": [1,2],\n    \"runTraceroute\": \"WITH_CHECK\"\n}"},"url":"{{baseurl}}/api/http/{{http_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","http","{{http_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2e0b91f-b084-4e14-b4dc-565b09abe6c8"},{"name":"get all http check details","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'http_check_id');","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});","","pm.test(\"response contains check id\", function () {","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});"],"type":"text/javascript","id":"28d87c99-b5be-4264-8733-555582cf3100"}}],"id":"e472ddd1-6e09-4860-b8a2-c923b53a7c23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/http","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","http"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e472ddd1-6e09-4860-b8a2-c923b53a7c23"},{"name":"delete http check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"fe565b9d-0226-4f98-bc9c-3a142a646039"}}],"id":"1aff618a-4a20-4a0c-928e-5bffe21c9dc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Test Check\",\n    \"host\": \"www.google.com\",\n    \"port\": 80,\n    \"protocolType\": \"HTTP\",\n    \"checkSites\": [\n    \t234,8897\n    ]\n}"},"url":"{{baseurl}}/api/http/{{http_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","http","{{http_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1aff618a-4a20-4a0c-928e-5bffe21c9dc3"}],"id":"0baffbc7-fd6f-4d3d-9476-41890d5894fe","_postman_id":"0baffbc7-fd6f-4d3d-9476-41890d5894fe","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"icmp","item":[{"name":"create icmp check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 201 created\", function () {","    pm.response.to.have.status(201);","});","","let locationHeader = pm.response.headers.get('Location');","let checkId = locationHeader.substring(locationHeader.lastIndexOf(\"/\") + 1,locationHeader.length)","postman.setEnvironmentVariable(\"icmp_check_id\", parseInt(checkId, 10));"],"type":"text/javascript","id":"08e33c47-e813-4634-80ad-46a390972985"}}],"id":"481766b5-4d7f-4590-98b9-a68e0513f270","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"ICMP google Test\",\n    \"host\":\"google.com\",\n    \"interval\": \"THIRTYSECONDS\",\n    \"checkSites\": [\n        1,2\n    ],\n    \"notificationGroups\":[42]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseurl}}/api/icmp","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"481766b5-4d7f-4590-98b9-a68e0513f270"},{"name":"update icmp check","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'icmp_check_id');","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"propery updated check\", function () {","    pm.expect(pm.response.json().id == parseInt(checkId,10));","});"],"type":"text/javascript","id":"bb57794a-3b1e-40c4-a858-9658e1463d16"}}],"id":"1e47cffe-9ce9-456e-8289-3a944665d0bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"ICMP Google Test\",\n    \"interval\": \"THIRTYSECONDS\",\n    \"checkSites\": [\n        1,2\n    ],\n    \"notificationGroups\":[42]\n}"},"url":"{{baseurl}}/api/icmp/{{icmp_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp","{{icmp_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e47cffe-9ce9-456e-8289-3a944665d0bd"},{"name":"get icmp check detail","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","// pm.test(\"Response time is less than 400ms\", function () {","//     pm.expect(pm.response.responseTime).to.be.below(400);","// });","","var schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"object\",","  \"properties\": {","    \"id\": {","      \"type\": \"integer\"","    },","    \"name\": {","      \"type\": \"string\"","    },","    \"host\": {","      \"type\": \"string\"","    },","    \"note\": {","      \"type\": \"string\"","    },","    \"scheduleInterval\": {","      \"type\": \"string\"","    },","    \"userId\": {","      \"type\": \"integer\"","    },","    \"interval\": {","      \"type\": \"string\"","    },","    \"monitorIntervalPolicy\": {","      \"type\": \"string\"","    },","    \"checkSites\": {","      \"type\": \"array\",","      \"items\": [","        {","          \"type\": \"integer\"","        },","        {","          \"type\": \"integer\"","        }","      ]","    },","    \"notificationGroups\": {","      \"type\": \"array\",","      \"items\": [","        {","          \"type\": \"integer\"","        }","      ]","    },","    \"scheduleId\": {","      \"type\": \"integer\"","    },","    \"notificationReportTimeout\": {","      \"type\": \"integer\"","    },","    \"verificationPolicy\": {","      \"type\": \"string\"","    }","  },","  \"required\": [","    \"id\",","    \"name\",","    \"host\",","    \"note\",","    \"scheduleInterval\",","    \"userId\",","    \"interval\",","    \"monitorIntervalPolicy\",","    \"checkSites\",","    \"notificationGroups\",","    \"scheduleId\",","    \"notificationReportTimeout\",","    \"verificationPolicy\"","  ]","}","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});"],"type":"text/javascript","id":"a61ce4a0-7f91-48dd-999a-6edd6c8dde94"}}],"id":"97ac63c6-a426-4835-8368-70979237c263","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/icmp/{{icmp_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp","{{icmp_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"97ac63c6-a426-4835-8368-70979237c263"},{"name":"get all icmp check details","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'icmp_check_id');","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});","","pm.test(\"response contains check id\", function () {","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});"],"type":"text/javascript","id":"738e983a-5162-4bdf-9394-962cf0e9fb8d"}}],"id":"02ae820c-7903-4888-b7f7-0c3d2e67cfae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/icmp","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"02ae820c-7903-4888-b7f7-0c3d2e67cfae"},{"name":"delete icmp check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"8837dba8-50c1-4661-aa8c-b9beff062040"}}],"id":"941c0b5e-17ff-4659-b690-d9573f83d53c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Test Check\",\n    \"host\": \"www.google.com\",\n    \"port\": 80,\n    \"protocolType\": \"HTTP\",\n    \"checkSites\": [\n    \t234,8897\n    ]\n}"},"url":"{{baseurl}}/api/icmp/{{icmp_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp","{{icmp_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"941c0b5e-17ff-4659-b690-d9573f83d53c"}],"id":"f32de5aa-d5a8-4a98-a08a-041a003d06c7","_postman_id":"f32de5aa-d5a8-4a98-a08a-041a003d06c7","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"dns","item":[{"name":"create DNS check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 201 created\", function () {","    pm.response.to.have.status(201);","});","","let locationHeader = pm.response.headers.get('Location');","let checkId = locationHeader.substring(locationHeader.lastIndexOf(\"/\") + 1,locationHeader.length)","postman.setEnvironmentVariable(\"dns_check_id\", parseInt(checkId, 10));"],"type":"text/javascript","id":"6645c6eb-c941-489b-bc3d-2c4c6dd35a65"}}],"id":"405f966b-c44a-43eb-9e9a-2d8849db4dff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"DNS Test 1\",\n    \"fqdn\": \"godaddy.com\",\n    \"resolver\": \"a8-67.akam.net\",\n    \"note\": \"go daddy test\",\n    \"scheduleInterval\": \"NONE\",\n    \"expectedResponse\":\"208.109.192.70\",\n    \"interval\": \"FIVEMINUTES\",\n    \"monitorIntervalPolicy\": \"PARALLEL\",\n    \"notificationGroups\":[],\n    \"checkSites\": [\n        1, 2\n    ],\n    \"scheduleId\": 0,\n    \"notificationReportTimeout\": 1440,\n    \"verificationPolicy\": \"SIMPLE\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseurl}}/api/dns","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"405f966b-c44a-43eb-9e9a-2d8849db4dff"},{"name":"update dns check","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'dns_check_id');","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"propery updated check\", function () {","    pm.expect(pm.response.json().id == parseInt(checkId,10));","});"],"type":"text/javascript","id":"e2e49e19-d067-401b-9d3e-ce3f30a16560"}}],"id":"22cff042-c2f2-4dec-a3f7-bf8e1488e6a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"dns test options updated\",\n    \"expectedResponse\": \"54.157.174.158\",\n    \"note\": \"\",\n    \"resolverIPVersion\": \"IPV4\",\n    \"recordType\": \"A\",\n    \"queryProtocol\": \"UDP\",\n    \"compareOptions\": \"ONEOFF\",\n    \"dnssec\": false,\n    \"userId\": 300000200,\n    \"interval\": \"THIRTYSECONDS\",\n    \"monitorIntervalPolicy\": \"PARALLEL\",\n    \"checkSites\": [\n        1,\n        2,\n        3,\n        4\n    ],\n    \"notificationGroups\": [550]\n}"},"url":"{{baseurl}}/api/dns/{{dns_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dns_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"22cff042-c2f2-4dec-a3f7-bf8e1488e6a3"},{"name":"get all dns check details","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'dns_check_id');","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});","","pm.test(\"response contains check id\", function () {","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});"],"type":"text/javascript","id":"fa3cf19e-30cc-43d3-889b-77b80e7e5a23"}}],"id":"6cbcfb88-9f88-404c-8082-d3d5bb32ed57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/dns","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns"],"host":["{{baseurl}}"],"query":[{"disabled":true,"key":"ids","value":"13550"},{"disabled":true,"key":"ids","value":"14550"}],"variable":[]}},"response":[],"_postman_id":"6cbcfb88-9f88-404c-8082-d3d5bb32ed57"},{"name":"get DNS check detail","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","id":"b9f999c8-a540-430a-9466-e959b2489f38"}}],"id":"35cdb897-43ad-4aeb-8188-ed59aeafd556","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{baseurl}}/api/dns/{{dns_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dns_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"35cdb897-43ad-4aeb-8188-ed59aeafd556"},{"name":"delete dns check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"1db25ec8-7bbf-4be4-a01f-a498eae0f648"}}],"id":"89ab1bb2-0ed5-4500-b524-368cd2b4065a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Test Check\",\n    \"host\": \"www.google.com\",\n    \"port\": 80,\n    \"protocolType\": \"HTTP\",\n    \"checkSites\": [\n    \t234,8897\n    ]\n}"},"url":"{{baseurl}}/api/dns/{{dns_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dns_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"89ab1bb2-0ed5-4500-b524-368cd2b4065a"}],"id":"fe66329f-8d68-40b5-8e9c-df6befc0fb78","description":"<p><em>please note</em> plaase use dns v2 that will allow you to take advantage of advance dns parameters shuch as query protocol, record type, resolver ip version and response type comparision options</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"bcbb2f3e-1b36-469d-8982-84efb21647a0"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"dbd25b92-cd47-4402-bf41-77f4e298cfe3"}}],"_postman_id":"fe66329f-8d68-40b5-8e9c-df6befc0fb78","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"dns v2","item":[{"name":"create DNS check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 201 created\", function () {","    pm.response.to.have.status(201);","});","","let locationHeader = pm.response.headers.get('Location');","let checkId = locationHeader.substring(locationHeader.lastIndexOf(\"/\") + 1,locationHeader.length)","postman.setEnvironmentVariable(\"dnsv2_check_id\", parseInt(checkId, 10));"],"type":"text/javascript","id":"65cd3798-8bd2-4cdc-b4a5-7f1d37ea355d"}}],"id":"7b0d8210-5326-4c99-adc7-3cdecfe9ae78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.sonar.v2+json"},{"key":"x-cns-security-token","type":"text","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"DNS TEST\",\n  \"fqdn\": \"constellix.com\",\n  \"port\": 53,\n  \"resolver\": \"ns41.constellix.net\",\n  \"expectedResponse\": [],\n  \"note\": \"\",\n  \"scheduleInterval\": \"NONE\",\n  \"resolverIPVersion\": \"IPV4\",\n  \"recordType\": \"A\",\n  \"queryProtocol\": \"UDP\",\n  \"compareOptions\": \"ANYMATCH\",\n  \"dnssec\": false,\n  \"interval\": \"THIRTYSECONDS\",\n  \"monitorIntervalPolicy\": \"PARALLEL\",\n  \"checkSites\": [1],\n  \"notificationGroups\": [],\n  \"scheduleId\": 0,\n  \"notificationReportTimeout\": 1440,\n  \"verificationPolicy\": \"SIMPLE\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseurl}}/api/dns","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b0d8210-5326-4c99-adc7-3cdecfe9ae78"},{"name":"update dns check","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'dnsv2_check_id');","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"propery updated check\", function () {","    pm.expect(pm.response.json().id == parseInt(checkId,10));","});"],"type":"text/javascript","id":"60b5acf3-a447-4aa0-a53f-a5d253049264"}}],"id":"fd1c8a3e-ebee-4889-8ca2-17bcfb01c5da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/vnd.sonar.v2+json"},{"key":"Accept","value":"application/vnd.sonar.v2+json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"DNS TEST\",\n  \"expectedResponse\": [],\n  \"resolverIPVersion\": \"IPV4\",\n  \"recordType\": \"A\",\n  \"queryProtocol\": \"UDP\",\n  \"compareOptions\": \"ANYMATCH\",\n  \"dnssec\": false,\n  \"interval\": \"THIRTYSECONDS\",\n  \"monitorIntervalPolicy\": \"PARALLEL\",\n  \"checkSites\": [1],\n  \"notificationGroups\": []\n}"},"url":"{{baseurl}}/api/dns/{{dnsv2_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dnsv2_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd1c8a3e-ebee-4889-8ca2-17bcfb01c5da"},{"name":"get all dns check details","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'dnsv2_check_id');","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});","","pm.test(\"response contains check id\", function () {","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});","","let schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"id\": {","          \"type\": \"integer\"","        },","        \"name\": {","          \"type\": \"string\"","        },","        \"fqdn\": {","          \"type\": \"string\"","        },","        \"port\": {","          \"type\": \"integer\"","        },","        \"resolver\": {","          \"type\": \"string\"","        },","        \"expectedResponse\": {","          \"type\": \"array\",","          \"items\": {}","        },","        \"note\": {","          \"type\": \"string\"","        },","        \"scheduleInterval\": {","          \"type\": \"string\"","        },","        \"resolverIPVersion\": {","          \"type\": \"string\"","        },","        \"recordType\": {","          \"type\": \"string\"","        },","        \"queryProtocol\": {","          \"type\": \"string\"","        },","        \"compareOptions\": {","          \"type\": \"string\"","        },","        \"dnssec\": {","          \"type\": \"boolean\"","        },","        \"userId\": {","          \"type\": \"integer\"","        },","        \"interval\": {","          \"type\": \"string\"","        },","        \"monitorIntervalPolicy\": {","          \"type\": \"string\"","        },","        \"checkSites\": {","          \"type\": \"array\",","          \"items\": [","            {","              \"type\": \"integer\"","            }","          ]","        },","        \"notificationGroups\": {","          \"type\": \"array\",","          \"items\": {}","        },","        \"scheduleId\": {","          \"type\": \"integer\"","        },","        \"notificationReportTimeout\": {","          \"type\": \"integer\"","        },","        \"verificationPolicy\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"id\",","        \"name\",","        \"fqdn\",","        \"port\",","        \"resolver\",","        \"expectedResponse\",","        \"note\",","        \"scheduleInterval\",","        \"resolverIPVersion\",","        \"recordType\",","        \"queryProtocol\",","        \"compareOptions\",","        \"dnssec\",","        \"userId\",","        \"interval\",","        \"monitorIntervalPolicy\",","        \"checkSites\",","        \"notificationGroups\",","        \"scheduleId\",","        \"notificationReportTimeout\",","        \"verificationPolicy\"","      ]","    }","  ]","};","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});",""],"type":"text/javascript","id":"befba423-7886-4e0f-a308-d1761e5563db"}}],"id":"ee88ee18-9681-4736-be38-5eb04a217b46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Accept","type":"text","value":"application/vnd.sonar.v2+json"}],"url":"{{baseurl}}/api/dns","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns"],"host":["{{baseurl}}"],"query":[{"disabled":true,"key":"ids","value":"13550"},{"disabled":true,"key":"ids","value":"14550"}],"variable":[]}},"response":[],"_postman_id":"ee88ee18-9681-4736-be38-5eb04a217b46"},{"name":"get DNS check detail","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","id":"90469963-07d5-445e-afb4-7b74752eff97"}}],"id":"a29b3922-1b41-4e4e-8f7c-73c212349dce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Accept","type":"text","value":"application/vnd.sonar.v2+json"}],"url":"{{baseurl}}/api/dns/{{dnsv2_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dnsv2_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a29b3922-1b41-4e4e-8f7c-73c212349dce"},{"name":"delete dns check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"1375af60-e7bd-405c-ad17-e0ed61bb85aa"}}],"id":"d11b00f8-e5e6-41cb-b728-972b2689b74e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Test Check\",\n    \"host\": \"www.google.com\",\n    \"port\": 80,\n    \"protocolType\": \"HTTP\",\n    \"checkSites\": [\n    \t234,8897\n    ]\n}"},"url":"{{baseurl}}/api/dns/{{dnsv2_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dnsv2_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d11b00f8-e5e6-41cb-b728-972b2689b74e"}],"id":"a9901ac7-922d-4131-b5cb-ac8347b8edd6","description":"<p>allows users to set the new advanced dns configurations such as resolver ip version, record type, query protocol, response set, response set validation logic</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"9faa1bcb-175a-40a1-aff1-b8a034758a82"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"94d7c86f-6a40-407b-89c2-1bcc2e78fdb7"}}],"_postman_id":"a9901ac7-922d-4131-b5cb-ac8347b8edd6","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"tcp","item":[{"name":"create tcp check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 201 created\", function () {","    pm.response.to.have.status(201);","});","","let locationHeader = pm.response.headers.get('Location');","let checkId = locationHeader.substring(locationHeader.lastIndexOf(\"/\") + 1,locationHeader.length)","postman.setEnvironmentVariable(\"tcp_check_id\", parseInt(checkId, 10));"],"type":"text/javascript","id":"88fb6495-1185-485d-b1f5-2e4a8d3e3e49"}}],"id":"8a4fcf74-695a-44a5-a598-b07435250843","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"TCP ICMP Test 2\",\n    \"host\":\"constellix.com\",\n    \"ipVersion\": \"IPV4\",\n    \"interval\": \"THIRTYSECONDS\",\n    \"port\": 80,\n    \"checkSites\": [\n        1,\n        2\n    ],\n    \"notificationGroups\":[]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseurl}}/api/tcp","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a4fcf74-695a-44a5-a598-b07435250843"},{"name":"get tcp check detail","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","id":"835df09d-b5f1-42e8-b523-5fce5d2efd00"}}],"id":"c9b3db04-9cb3-4692-bc21-a8965c51a118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/tcp/{{tcp_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp","{{tcp_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9b3db04-9cb3-4692-bc21-a8965c51a118"},{"name":"update tcp check","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'tcp_check_id');","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"propery updated check\", function () {","    pm.expect(pm.response.json().id == parseInt(checkId,10));","});"],"type":"text/javascript","id":"70c500d8-01e6-43b1-98f2-0a7d2823f2b8"}}],"id":"30b39ef9-b620-41dd-a496-1186e712cabd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"TCP ICMP Test updated \",\n    \"port\": 80,\n    \"checkSites\": [1,2],\n    \"notificationGroups\":[]\n}"},"url":"{{baseurl}}/api/tcp/{{tcp_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp","{{tcp_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"30b39ef9-b620-41dd-a496-1186e712cabd"},{"name":"get all tcp check details","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'tcp_check_id');","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});","","pm.test(\"response contains check id\", function () {","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});"],"type":"text/javascript","id":"1bf99814-35b5-43dd-a6f7-8deaf155649f"}}],"id":"7d5132df-a88f-4ec1-a2cc-4b1334c2a498","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/tcp","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d5132df-a88f-4ec1-a2cc-4b1334c2a498"},{"name":"delete tcp check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"9d4330db-ba6f-4724-a0bb-e2e9bc0f74fd"}}],"id":"2b527cef-db3d-4df1-a355-845f0aa59d82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Test Check\",\n    \"host\": \"www.google.com\",\n    \"port\": 80,\n    \"protocolType\": \"HTTP\",\n    \"checkSites\": [\n    \t234,8897\n    ]\n}"},"url":"{{baseurl}}/api/tcp/{{tcp_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp","{{tcp_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b527cef-db3d-4df1-a355-845f0aa59d82"}],"id":"210ca1f6-652c-44e6-91ec-04762e77bbc2","_postman_id":"210ca1f6-652c-44e6-91ec-04762e77bbc2","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"sslcert","item":[{"name":"create ssl cert check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 201 created\", function () {","    pm.response.to.have.status(201);","});","","let locationHeader = pm.response.headers.get('Location');","let sslCertCheckId = locationHeader.substring(locationHeader.lastIndexOf(\"/\") + 1,locationHeader.length)","console.info(\"setting sslcert_check_id to: \", parseInt(sslCertCheckId, 10));","postman.setEnvironmentVariable(\"sslcert_check_id\", parseInt(sslCertCheckId, 10));",""],"type":"text/javascript","id":"2397c445-68c8-4954-a1a2-d296913fa175"}}],"id":"a5c83e8d-fae3-4a28-a9f7-cb0c6bdc3af9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-cns-security-token","type":"text","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SSL Cert Test\",\n    \"host\": \"https://example.com\",\n    \"interval\": \"DAY\",\n    \"validFor\": \"DAY\",\n    \"checkSites\": [\n        1,2,3,4\n    ],\n    \"notificationGroups\":[]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseurl}}/api/sslcert","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","sslcert"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5c83e8d-fae3-4a28-a9f7-cb0c6bdc3af9"},{"name":"update ssl cert check","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'icmp_check_id');","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"propery updated check\", function () {","    pm.expect(pm.response.json().id == parseInt(checkId,10));","});"],"type":"text/javascript","id":"0d85ed93-8beb-4c3e-b16e-76a45f7fceac"}}],"id":"02746b3e-46cb-417b-b155-ace608533145","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SSL Cert Test\",\n    \"interval\": \"DAY\",\n    \"validFor\": \"THREE_DAYS\",\n    \"checkSites\": [\n        1,2\n    ],\n    \"notificationGroups\":[]\n}"},"url":"{{baseurl}}/api/sslcert/{{sslcert_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","sslcert","{{sslcert_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"02746b3e-46cb-417b-b155-ace608533145"},{"name":"get ssl cert check detail","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","// pm.test(\"Response time is less than 400ms\", function () {","//     pm.expect(pm.response.responseTime).to.be.below(400);","// });","","var schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"object\",","  \"properties\": {","    \"id\": {","      \"type\": \"integer\"","    },","    \"name\": {","      \"type\": \"string\"","    },","    \"host\": {","      \"type\": \"string\"","    },","    \"note\": {","      \"type\": \"string\"","    },","    \"scheduleInterval\": {","      \"type\": \"string\"","    },","    \"userId\": {","      \"type\": \"integer\"","    },","    \"interval\": {","      \"type\": \"string\"","    },","    \"monitorIntervalPolicy\": {","      \"type\": \"string\"","    },","    \"checkSites\": {","      \"type\": \"array\",","      \"items\": [","        {","          \"type\": \"integer\"","        },","        {","          \"type\": \"integer\"","        }","      ]","    },","    \"notificationGroups\": {","      \"type\": \"array\",","      \"items\": [","        {","          \"type\": \"integer\"","        }","      ]","    },","    \"scheduleId\": {","      \"type\": \"integer\"","    },","    \"notificationReportTimeout\": {","      \"type\": \"integer\"","    },","    \"verificationPolicy\": {","      \"type\": \"string\"","    }","  },","  \"required\": [","    \"id\",","    \"name\",","    \"host\",","    \"note\",","    \"scheduleInterval\",","    \"userId\",","    \"interval\",","    \"monitorIntervalPolicy\",","    \"checkSites\",","    \"notificationGroups\",","    \"scheduleId\",","    \"notificationReportTimeout\",","    \"verificationPolicy\"","  ]","}","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});"],"type":"text/javascript","id":"dfa31fda-f26d-428d-9528-0a2cf74dd010"}}],"id":"9e0a0383-7e2e-48bd-9029-4ab3b81d098d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/sslcert/{{sslcert_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","sslcert","{{sslcert_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e0a0383-7e2e-48bd-9029-4ab3b81d098d"},{"name":"get all ssl cert check details","event":[{"listen":"test","script":{"exec":["let checkId = postman.getEnvironmentVariable( 'icmp_check_id');","pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});","","pm.test(\"response contains check id\", function () {","    pm.expect( pm.response.json().map( j => j.id).includes( parseInt(checkId,10) ));","});"],"type":"text/javascript","id":"e261c3fa-24bc-4a86-a7c1-1258be5692b0"}}],"id":"36dc9298-5d01-4c7d-8108-bb2217757da5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/sslcert","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","sslcert"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"36dc9298-5d01-4c7d-8108-bb2217757da5"},{"name":"delete ssl cert check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"a4a40841-a9f5-4066-8fe7-92b72f99dbbf"}}],"id":"d3f868ce-ada7-4c77-9ef1-e9400c73a6a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Test Check\",\n    \"host\": \"www.google.com\",\n    \"port\": 80,\n    \"protocolType\": \"HTTP\",\n    \"checkSites\": [\n    \t234,8897\n    ]\n}"},"url":"{{baseurl}}/api/sslcert/{{sslcert_check_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","sslcert","{{sslcert_check_id}}"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3f868ce-ada7-4c77-9ef1-e9400c73a6a3"}],"id":"67530bd1-bbb6-4e01-af04-8590b1e0fbdf","_postman_id":"67530bd1-bbb6-4e01-af04-8590b1e0fbdf","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}}],"id":"01165ee7-fccb-4c96-9fcd-77f329fe6505","description":"<p>contains endpoints for configuration operations like add, update, delete and get</p>\n","_postman_id":"01165ee7-fccb-4c96-9fcd-77f329fe6505","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"operational/action","item":[{"name":"http","item":[{"name":"test http check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","let schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"status\": {","          \"type\": \"string\"","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"dnsLookUpTime\": {","          \"type\": \"number\"","        },","        \"resolvedIpAddress\": {","          \"type\": \"string\"","        },","        \"statusCode\": {","          \"type\": \"integer\"","        },","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"status\",","        \"responseTime\",","        \"dnsLookUpTime\",","        \"resolvedIpAddress\",","        \"statusCode\",","        \"monitorAgent\",","        \"message\"","      ]","    }","  ]","};","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});"],"type":"text/javascript","id":"8959886a-20d8-427e-b71b-705dfd8e87e5"}}],"id":"4b5aa83d-406c-4063-ac8f-95d2d3d0208a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/http/{{http_check_id}}/test?siteIds=1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","http","{{http_check_id}}","test"],"host":["{{baseurl}}"],"query":[{"key":"siteIds","value":"1"}],"variable":[]}},"response":[],"_postman_id":"4b5aa83d-406c-4063-ac8f-95d2d3d0208a"},{"name":"trace http check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include(\"agent\");","});"],"type":"text/javascript","id":"9d731436-e6f6-476e-986c-75ff7690ce1e"}}],"id":"65cc95a4-f782-4398-8b02-ecc04ed71cbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/http/{{http_check_id}}/trace","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","http","{{http_check_id}}","trace"],"host":["{{baseurl}}"],"query":[{"disabled":true,"key":"siteIds","value":"2"}],"variable":[]}},"response":[],"_postman_id":"65cc95a4-f782-4398-8b02-ecc04ed71cbe"},{"name":"stop http check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"9ffcf881-cc4b-4556-a507-6c3ea6b4e6a7"}}],"id":"458a520d-6dd8-4fde-bdbe-52223974fa42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/http/{{http_check_id}}/stop","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","http","{{http_check_id}}","stop"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"458a520d-6dd8-4fde-bdbe-52223974fa42"},{"name":"start http check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"48d09211-63b0-4194-99d1-b4268ef8c76d"}}],"id":"a6b84538-8e0c-4a30-9226-da6aab5a3e3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/http/{{http_check_id}}/start","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","http","{{http_check_id}}","start"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6b84538-8e0c-4a30-9226-da6aab5a3e3b"}],"id":"3dc28fda-2dfd-4db5-8faf-a0f7844472c1","_postman_id":"3dc28fda-2dfd-4db5-8faf-a0f7844472c1","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"sslcert","item":[{"name":"test sslcert check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","let schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"status\": {","          \"type\": \"string\"","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"dnsLookUpTime\": {","          \"type\": \"number\"","        },","        \"resolvedIpAddress\": {","          \"type\": \"string\"","        },","        \"statusCode\": {","          \"type\": \"integer\"","        },","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"status\",","        \"responseTime\",","        \"dnsLookUpTime\",","        \"resolvedIpAddress\",","        \"statusCode\",","        \"monitorAgent\",","        \"message\"","      ]","    }","  ]","};","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});"],"type":"text/javascript","id":"9cc9c11c-5079-4751-b2f6-acb4dd13dc33"}}],"id":"f32804da-6a2b-4158-b061-9e073b74e26a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/sslcert/{{sslcert_check_id}}/test?siteIds=1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","sslcert","{{sslcert_check_id}}","test"],"host":["{{baseurl}}"],"query":[{"key":"siteIds","value":"1"}],"variable":[]}},"response":[],"_postman_id":"f32804da-6a2b-4158-b061-9e073b74e26a"},{"name":"stop sslcert check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"0c8f5fb0-cc79-4a04-b6fa-edf3de6b5fab"}}],"id":"59cbc009-fe8b-4ff1-b146-5a58cf90009e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/sslcert/{{sslcert_check_id}}/stop","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","sslcert","{{sslcert_check_id}}","stop"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"59cbc009-fe8b-4ff1-b146-5a58cf90009e"},{"name":"start sslcert check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"7b4865b3-7141-42e3-b485-caf28c639b19"}}],"id":"922ecc87-2e05-435c-b2f5-92b68ca56423","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/sslcert/{{sslcert_check_id}}/start","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","sslcert","{{sslcert_check_id}}","start"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"922ecc87-2e05-435c-b2f5-92b68ca56423"}],"id":"8f533a6c-c2de-462d-94ba-ff08641eaa70","_postman_id":"8f533a6c-c2de-462d-94ba-ff08641eaa70","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"icmp","item":[{"name":"test icmp check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","let schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"reachable\": {","          \"type\": \"boolean\"","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"monitorAgent\",","        \"responseTime\",","        \"reachable\",","        \"message\"","      ]","    }","  ]","};","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});",""],"type":"text/javascript","id":"5c6df212-24d2-42e4-9a72-eaa8fa44c375"}}],"id":"fb1cb58c-467f-4792-9bc1-e11f25369471","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/icmp/{{icmp_check_id}}/test?siteIds=1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp","{{icmp_check_id}}","test"],"host":["{{baseurl}}"],"query":[{"key":"siteIds","value":"1"}],"variable":[]}},"response":[],"_postman_id":"fb1cb58c-467f-4792-9bc1-e11f25369471"},{"name":"stop icmp check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"884e2690-ba05-4e17-8a0e-49f35c909d4f"}}],"id":"6b5a88d3-bbea-4f60-9d10-afec192f784d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/icmp/{{icmp_check_id}}/stop","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp","{{icmp_check_id}}","stop"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b5a88d3-bbea-4f60-9d10-afec192f784d"},{"name":"start icmp check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"6aa14fc2-4af8-4d6d-bc54-a7dac912e2a2"}}],"id":"773f058c-22dc-40ac-8d71-1e816b47a513","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/icmp/{{icmp_check_id}}/start","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp","{{icmp_check_id}}","start"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"773f058c-22dc-40ac-8d71-1e816b47a513"}],"id":"f08e89e6-27d1-4fd8-88f3-c0b248a6c153","_postman_id":"f08e89e6-27d1-4fd8-88f3-c0b248a6c153","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"dns","item":[{"name":"test dns check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","let schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"status\": {","          \"type\": \"string\"","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"status\",","        \"responseTime\",","        \"monitorAgent\",","        \"message\"","      ]","    },","    {","      \"type\": \"object\",","      \"properties\": {","        \"status\": {","          \"type\": \"string\"","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"status\",","        \"responseTime\",","        \"monitorAgent\",","        \"message\"","      ]","    }","  ]","};","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});"],"type":"text/javascript","id":"08bf1598-a129-4dd8-8ca0-9a0f7ce7ae8b"}}],"id":"12201563-3dbe-493f-a09e-fa420f170679","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/dns/{{dns_check_id}}/test","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dns_check_id}}","test"],"host":["{{baseurl}}"],"query":[{"disabled":true,"key":"siteIds","value":"2"}],"variable":[]}},"response":[],"_postman_id":"12201563-3dbe-493f-a09e-fa420f170679"},{"name":"stop dns check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"10dc67b4-f450-4d4d-95a8-c3cc23ff59a3"}}],"id":"c299a225-b1b2-4479-9399-5fc42c0006c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/dns/{{dns_check_id}}/stop","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dns_check_id}}","stop"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c299a225-b1b2-4479-9399-5fc42c0006c6"},{"name":"start dns check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"0544cb23-2ff0-4a73-bc4a-4694dadc4ec4"}}],"id":"5a2124b0-b3a1-4462-9053-142037f10aaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/dns/{{dns_check_id}}/start","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dns_check_id}}","start"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a2124b0-b3a1-4462-9053-142037f10aaf"}],"id":"ded969ee-76a1-4adc-8d25-ecfe030aa31d","_postman_id":"ded969ee-76a1-4adc-8d25-ecfe030aa31d","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"tcp","item":[{"name":"test tcp check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","let schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"status\": {","          \"type\": \"string\"","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"dnsLookUpTime\": {","          \"type\": \"number\"","        },","        \"resolvedIpAddress\": {","          \"type\": \"string\"","        },","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"status\",","        \"responseTime\",","        \"dnsLookUpTime\",","        \"resolvedIpAddress\",","        \"monitorAgent\",","        \"message\"","      ]","    }","  ]","};","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});"],"type":"text/javascript","id":"1ca34d05-c33b-4165-949b-76281f7e57b2"}}],"id":"43463550-3aef-425d-8096-7d80c3c78f47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/tcp/{{tcp_check_id}}/test?siteIds=1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp","{{tcp_check_id}}","test"],"host":["{{baseurl}}"],"query":[{"key":"siteIds","value":"1"}],"variable":[]}},"response":[],"_postman_id":"43463550-3aef-425d-8096-7d80c3c78f47"},{"name":"trace tcp check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","pm.test(\"Body matches string\", function () {","    pm.expect(pm.response.text()).to.include(\"agent\");","});"],"type":"text/javascript","id":"d235b8fa-a031-47af-90b8-c4872dea32dd"}}],"id":"05409285-998e-461e-b695-4d081610fa45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/tcp/{{tcp_check_id}}/trace","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp","{{tcp_check_id}}","trace"],"host":["{{baseurl}}"],"query":[{"disabled":true,"key":"siteIds","value":"2"}],"variable":[]}},"response":[],"_postman_id":"05409285-998e-461e-b695-4d081610fa45"},{"name":"stop tcp check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"a1af8ad7-52de-47b0-977e-92137f8a15ba"}}],"id":"d945ddcc-9e44-43dd-bc00-9266503f5a46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/tcp/{{tcp_check_id}}/stop","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp","{{tcp_check_id}}","stop"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d945ddcc-9e44-43dd-bc00-9266503f5a46"},{"name":"start tcp check","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 202 accepted\", function () {","    pm.response.to.have.status(202);","});"],"type":"text/javascript","id":"889ac36c-932a-43ed-a838-f9a15cb48caa"}}],"id":"0ef105b8-a3d3-406f-8618-6a39609293c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/tcp/{{tcp_check_id}}/start","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp","{{tcp_check_id}}","start"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ef105b8-a3d3-406f-8618-6a39609293c5"}],"id":"5fd77404-0afa-4636-90f4-8d9c5be83cd3","_postman_id":"5fd77404-0afa-4636-90f4-8d9c5be83cd3","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}}],"id":"95a9e259-af14-4494-895d-abc5ba859b89","description":"<p>contains endpoints to start stop checks, run tests and traces...etc</p>\n","_postman_id":"95a9e259-af14-4494-895d-abc5ba859b89","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"test","item":[{"name":"http test","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"status\": {","          \"type\": \"string\"","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"dnsLookUpTime\": {","          \"type\": \"number\"","        },","        \"resolvedIpAddress\": {","          \"type\": \"string\"","        },","        \"statusCode\": {","          \"type\": \"integer\"","        },","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"status\",","        \"responseTime\",","        \"dnsLookUpTime\",","        \"resolvedIpAddress\",","        \"statusCode\",","        \"monitorAgent\",","        \"message\"","      ]","    }","  ]","}","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});"],"type":"text/javascript","id":"13b39eaa-ccd6-405c-a0bc-77319b0bdffa"}}],"id":"f281c06f-4080-4c37-85b2-f86ab134b802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \n    \"host\": \"www.google.com\",\n    \"port\": 443,\n    \"protocolType\": \"HTTPS\",\n    \"path\":\"\",\n    \"fqdn\":\"\",\n    \"stringToSearch\":\"\",\n    \"expectedStatusCode\":200,\n    \"ipVersion\":\"IPV4\"\n}"},"url":"{{baseurl}}/api/test/http/1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","test","http","1"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f281c06f-4080-4c37-85b2-f86ab134b802"},{"name":"sslcert test","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","var schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"status\": {","          \"type\": \"string\"","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"dnsLookUpTime\": {","          \"type\": \"number\"","        },","        \"resolvedIpAddress\": {","          \"type\": \"string\"","        },","        \"statusCode\": {","          \"type\": \"integer\"","        },","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"status\",","        \"responseTime\",","        \"dnsLookUpTime\",","        \"resolvedIpAddress\",","        \"statusCode\",","        \"monitorAgent\",","        \"message\"","      ]","    }","  ]","}","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});"],"type":"text/javascript","id":"3af8bb88-5a4e-4744-b958-0d9c4f46c3f6"}}],"id":"e48070b2-80e3-441e-b969-f3c70b14410c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \n    \"host\": \"https://www.google.com\",\n    \"validBefore\": \"THREE_DAYS\"\n}"},"url":"{{baseurl}}/api/test/sslcert/1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","test","sslcert","1"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e48070b2-80e3-441e-b969-f3c70b14410c"},{"name":"trace test","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","id":"250e21f3-b563-4612-bc4c-af29f2f0ed8f"}}],"id":"b40c11c9-c6f6-474a-a073-bda74fb95ae6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \n    \"host\": \"www.google.com\",\n    \"ipVersion\":\"IPV4\",\n    \"type\":\"UDP\"\n}"},"url":"{{baseurl}}/api/test/trace/1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","test","trace","1"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b40c11c9-c6f6-474a-a073-bda74fb95ae6"},{"name":"ping test","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","let schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"reachable\": {","          \"type\": \"boolean\"","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"monitorAgent\",","        \"responseTime\",","        \"reachable\",","        \"message\"","      ]","    }","  ]","};","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});",""],"type":"text/javascript","id":"219fe59a-c451-442e-bd60-6cb05ebabe54"}}],"id":"c69a9611-47e9-4240-9195-2b2b537f4b53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \n    \"host\": \"www.google.com\",\n    \"ipVersion\":\"IPV4\",\n    \"type\":\"UDP\"\n}"},"url":"{{baseurl}}/api/test/ping/1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","test","ping","1"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c69a9611-47e9-4240-9195-2b2b537f4b53"},{"name":"tcp test","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","let schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"status\": {","          \"type\": \"string\"","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"dnsLookUpTime\": {","          \"type\": \"number\"","        },","        \"resolvedIpAddress\": {","          \"type\": \"string\"","        },","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"status\",","        \"responseTime\",","        \"dnsLookUpTime\",","        \"resolvedIpAddress\",","        \"monitorAgent\",","        \"message\"","      ]","    }","  ]","};","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});"],"type":"text/javascript","id":"e4343af6-bc68-4794-8b2f-57761f46ebb5"}}],"id":"4149ab53-7663-4d9f-a851-6a06baa28cf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \n    \"host\": \"www.google.com\",\n    \"port\": 80,\n    \"stringToSearch\":\"\",\n    \"ipVersion\":\"IPV4\",\n    \"stringToSend\":\"\",\n     \"stringToReceive\":\"\"\n}"},"url":"{{baseurl}}/api/test/tcp/1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","test","tcp","1"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4149ab53-7663-4d9f-a851-6a06baa28cf2"},{"name":"icmp test","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","let schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"reachable\": {","          \"type\": \"boolean\"","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"monitorAgent\",","        \"responseTime\",","        \"reachable\",","        \"message\"","      ]","    }","  ]","};","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});"],"type":"text/javascript","id":"285c5282-51cf-400e-b515-8b4af575aa29"}}],"id":"313e5f2a-d378-41a0-a467-71934d805c2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"host\": \"www.google.com\"\n}"},"url":"{{baseurl}}/api/test/ping/1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","test","ping","1"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"313e5f2a-d378-41a0-a467-71934d805c2f"},{"name":"dns test","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","let schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"status\": {","          \"type\": \"string\"","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"status\",","        \"responseTime\",","        \"monitorAgent\",","        \"message\"","      ]","    }","  ]","};","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});"],"type":"text/javascript","id":"c0ab32e5-33a8-4178-a3a1-7136b0858203"}}],"id":"880b96e2-53cb-4c2c-8d4b-df0ac0462854","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \n    \"host\": \"www.google.com\",\n    \"nameServer\": \"ns2.google.com\",\n    \"recordType\": \"A\",\n    \"expectedIp\":\"\"\n}"},"url":"{{baseurl}}/api/test/dns/1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","test","dns","1"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"880b96e2-53cb-4c2c-8d4b-df0ac0462854"},{"name":"dns test v2","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","let schema = {","  \"$schema\": \"http://json-schema.org/draft-04/schema#\",","  \"type\": \"array\",","  \"items\": [","    {","      \"type\": \"object\",","      \"properties\": {","        \"status\": {","          \"type\": \"string\"","        },","        \"responseTime\": {","          \"type\": \"number\"","        },","        \"monitorAgent\": {","          \"type\": \"object\",","          \"properties\": {","            \"agentId\": {","              \"type\": \"string\"","            },","            \"siteId\": {","              \"type\": \"integer\"","            },","            \"status\": {","              \"type\": \"string\"","            }","          },","          \"required\": [","            \"agentId\",","            \"siteId\",","            \"status\"","          ]","        },","        \"message\": {","          \"type\": \"string\"","        }","      },","      \"required\": [","        \"status\",","        \"responseTime\",","        \"monitorAgent\",","        \"message\"","      ]","    }","  ]","};","","pm.test('Schema is valid', function () {","    pm.expect(tv4.validate(pm.response.json(), schema)).to.be.true;","});",""],"type":"text/javascript","id":"332cb223-1ceb-4b1b-b65f-3ba993bb1e00"}}],"id":"7bad0bf7-bc67-4937-a412-b0c2ae17532b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/vnd.sonar.v2+json"}],"body":{"mode":"raw","raw":"{\n   \n    \"host\": \"www.google.com\",\n    \"nameServer\": \"ns2.google.com\",\n    \"recordType\": \"A\",\n    \"expectedIp\": [],\n    \"queryProtocol\": \"TCP\"\n}"},"url":"{{baseurl}}/api/test/dns/1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","test","dns","1"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7bad0bf7-bc67-4937-a412-b0c2ae17532b"}],"id":"e30db0ae-a1c5-453d-960d-257aa2a9612d","_postman_id":"e30db0ae-a1c5-453d-960d-257aa2a9612d","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"runtime","item":[{"name":"http","item":[{"name":"oveall http check status","id":"aab92e59-f768-4f81-8f36-2b7cb79999d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/http/{{http_check_id}}/status","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","http","{{http_check_id}}","status"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aab92e59-f768-4f81-8f36-2b7cb79999d5"},{"name":"http check site status","id":"a19d4dbc-d9c7-4713-9938-50104c3dca11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/icmp/{{http_check_id}}/site/status","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp","{{http_check_id}}","site","status"],"host":["{{baseurl}}"],"query":[{"disabled":true,"key":"siteIds","value":"4"}],"variable":[]}},"response":[],"_postman_id":"a19d4dbc-d9c7-4713-9938-50104c3dca11"},{"name":"http check state","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","id":"32715d33-b517-4c07-9748-da9665f79a0f"}}],"id":"2886bad1-6d81-4d06-9817-fd817b9edf5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/http/{{http_check_id}}/state","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","http","{{http_check_id}}","state"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2886bad1-6d81-4d06-9817-fd817b9edf5d"}],"id":"f6f9e834-7629-4278-b54a-58de65ac4f7f","_postman_id":"f6f9e834-7629-4278-b54a-58de65ac4f7f","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"icmp","item":[{"name":"oveall icmp check status","id":"b5689632-60b5-4963-a79a-05989e1cc302","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/icmp/{{icmp_check_id}}/status","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp","{{icmp_check_id}}","status"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5689632-60b5-4963-a79a-05989e1cc302"},{"name":"icmp check site status","id":"60b6dc77-0096-480b-9165-6c02c8c21e13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/icmp/{{icmp_check_id}}/site/status","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp","{{icmp_check_id}}","site","status"],"host":["{{baseurl}}"],"query":[{"disabled":true,"key":"siteIds","value":"4"}],"variable":[]}},"response":[],"_postman_id":"60b6dc77-0096-480b-9165-6c02c8c21e13"},{"name":"icmp check state","id":"c0bdf827-5ade-4824-a7ee-2c638da6c388","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/icmp/{{icmp_check_id}}/state","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","icmp","{{icmp_check_id}}","state"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0bdf827-5ade-4824-a7ee-2c638da6c388"}],"id":"893743c5-a732-4bb1-8a4f-3378d723eb9c","_postman_id":"893743c5-a732-4bb1-8a4f-3378d723eb9c","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"dns","item":[{"name":"oveall dns check status","id":"bd1a2c8d-b473-4a4a-b4f2-03883b4b1e00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/dns/{{dns_check_id}}/status","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dns_check_id}}","status"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd1a2c8d-b473-4a4a-b4f2-03883b4b1e00"},{"name":"dns check site status","id":"712098e2-294f-44bc-a1c7-110ec4ad3447","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/dns/{{dns_check_id}}/site/status","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dns_check_id}}","site","status"],"host":["{{baseurl}}"],"query":[{"disabled":true,"key":"siteIds","value":"4"}],"variable":[]}},"response":[],"_postman_id":"712098e2-294f-44bc-a1c7-110ec4ad3447"},{"name":"dns check state","id":"3a370467-a4ca-41d3-b650-204992aaa3f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/dns/{{dns_check_id}}/state","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","dns","{{dns_check_id}}","state"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a370467-a4ca-41d3-b650-204992aaa3f3"}],"id":"24824e59-b20a-4123-81ba-aff268d9cda5","_postman_id":"24824e59-b20a-4123-81ba-aff268d9cda5","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"tcp","item":[{"name":"oveall tcp check status","id":"e5b826d6-bf5e-455a-962b-dc8f18518fc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/tcp/{{tcp_check_id}}/status","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp","{{tcp_check_id}}","status"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5b826d6-bf5e-455a-962b-dc8f18518fc9"},{"name":"tcp check site status","id":"0281060b-f52f-447a-9e4e-56c90d84a31d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/tcp/{{tcp_check_id}}/site/status","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp","{{tcp_check_id}}","site","status"],"host":["{{baseurl}}"],"query":[{"disabled":true,"key":"siteIds","value":"4"}],"variable":[]}},"response":[],"_postman_id":"0281060b-f52f-447a-9e4e-56c90d84a31d"},{"name":"tcp check state","id":"f02dce6e-affa-433a-abd2-c5de098c5087","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/tcp/{{tcp_check_id}}/state","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","tcp","{{tcp_check_id}}","state"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f02dce6e-affa-433a-abd2-c5de098c5087"}],"id":"f961d7fc-0e6d-417f-a1d1-17e0ec9504b1","_postman_id":"f961d7fc-0e6d-417f-a1d1-17e0ec9504b1","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"ssl cert","item":[{"name":"oveall ssl cert check status","id":"d9ec6e09-2ba2-4d33-ae79-94642e0b64df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/sslcert/{{sslcert_check_id}}/status","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","sslcert","{{sslcert_check_id}}","status"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9ec6e09-2ba2-4d33-ae79-94642e0b64df"},{"name":"ssl cert check site status","id":"6c1e1c2d-cca4-43a9-a7ed-e96324877220","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/sslcert/{{sslcert_check_id}}/site/status","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","sslcert","{{sslcert_check_id}}","site","status"],"host":["{{baseurl}}"],"query":[{"disabled":true,"key":"siteIds","value":"4"}],"variable":[]}},"response":[],"_postman_id":"6c1e1c2d-cca4-43a9-a7ed-e96324877220"},{"name":"ssl cert check state","id":"2ef7faa9-1ade-45e9-a2a5-386d8a26e97a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/sslcert/{{sslcert_check_id}}/state","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","sslcert","{{sslcert_check_id}}","state"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ef7faa9-1ade-45e9-a2a5-386d8a26e97a"}],"id":"d94f7fa9-4631-4108-b51d-a955ccf0ba9d","_postman_id":"d94f7fa9-4631-4108-b51d-a955ccf0ba9d","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}},{"name":"Check Site IP","id":"c26c16ce-f8b2-482f-8c16-c888ec8cbff0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-cns-security-token","type":"text","value":"{{token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{baseurl}}/api/check/site/ips","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}},"urlObject":{"path":["api","check","site","ips"],"host":["{{baseurl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c26c16ce-f8b2-482f-8c16-c888ec8cbff0"}],"id":"2e0bef39-322d-4b01-a386-32f203016639","description":"<p>contains endpoints to get runtime information such as state (active or inactive) status (up or down) ..etc</p>\n","_postman_id":"2e0bef39-322d-4b01-a386-32f203016639","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","id":"c5b70827-0614-49e9-8c12-d2c977604428","name":"Sonar","type":"folder"}}}],"id":"c5b70827-0614-49e9-8c12-d2c977604428","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"be323b11-f69e-4631-af4a-be576a46a5cc","type":"text/javascript","exec":["","const apiKey    = postman.getEnvironmentVariable('apiKey');","const secretKey =  postman.getEnvironmentVariable('secretKey');","","postman.clearEnvironmentVariable(\"token\");","","const date = new Date();","const time = date.getTime().toString();","const hmac = CryptoJS.HmacSHA1(time, secretKey).toString(CryptoJS.enc.Base64);","const token = `${apiKey}:${hmac}:${time}`;","","postman.setEnvironmentVariable( 'token', token );"]}},{"listen":"test","script":{"id":"07a2520b-39e6-4fda-9e5c-b747edc5327b","type":"text/javascript","exec":[""]}}],"_postman_id":"c5b70827-0614-49e9-8c12-d2c977604428","description":""}],"id":"d6482682-91f8-464a-852d-aedebadd80d2","description":"<p>The following is a detailed listing of all data types used for requests and responses with the Constellix API. Not seeing a specific example API call you are looking for? Please contact <a>Constellix Sales</a> to request it be added.</p>\n","event":[{"listen":"prerequest","script":{"id":"2c2dc9e1-fba0-400d-b665-a90823fc4f45","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"579c38d5-f459-4bbb-bf5b-3d5f6bd0a415","type":"text/javascript","exec":[""]}}],"_postman_id":"d6482682-91f8-464a-852d-aedebadd80d2"}],"event":[{"listen":"prerequest","script":{"id":"3af7406c-2749-4859-bff5-94ea5e7ff5e0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"29f82701-adc6-436b-b223-104290c34e96","type":"text/javascript","exec":[""]}}]}