{"info":{"_postman_id":"14d7ad01-629e-9985-753c-9b12f2c9ff35","name":"SmartOLT","description":"<html><head></head><body><h1 id=\"smartolt-api\">SmartOLT API</h1>\n<p><strong>Machine-readable version (OpenAPI, for tools and AI assistants):</strong> <a href=\"https://www.smartolt.com/openapi.json\">https://www.smartolt.com/openapi.json</a></p>\n\n<hr>\n<h2>🔴 The API changed. Please read this page again.</h2>\n<h4>Updated October 2026. Check your integration against these changes:</h4>\n<ul><li><strong>🆕 Real-time events.</strong> Get ONU status changes, ONU changes, signal changes and PON outages when they occur. Use an event stream (SSE) or a webhook. You do not need to poll the API. See <strong>Real-time events</strong> below.\n</li><li><strong>⚡ Asynchronous calls for high-volume actions.</strong> Send <code>async=1</code> to enable or disable ONUs, change CATV or change speed profiles. The request does not wait for the OLT. See <strong>Asynchronous calls</strong> below.\n</li><li><strong>📦 Bulk actions.</strong> One bulk call can contain up to <strong>10,000 ONU IDs</strong> with <code>async=1</code>. Do not send one call for each ONU. See <strong>Recommended API usage</strong> below.\n</li><li><strong>🆕 ONU status history.</strong> Get how long an ONU was Online, LOS, Power fail or Offline, for up to 365 days. See <strong>Get ONU status history by ONU unique external ID</strong>.\n</li><li><strong>🆕 MAC addresses.</strong> Get the MAC addresses behind an ONU, or find the ONU of a MAC address. See <strong>Get ONU MAC addresses by ONU unique external ID</strong> and <strong>Search ONU by MAC address</strong>.\n</li></ul>\n<h4>⚠️ If your system polls Get all ONUs statuses or Get all ONUs signals, change it to use real-time events.</h4>\n\n<hr>\n<h2>How to call the API</h2>\n<ul><li>Send each request to <code>https://&lt;your-subdomain&gt;.smartolt.com/api/...</code>.\n</li><li>Send your API key in the <code>X-Token</code> header.\n</li><li>Every response has <code>status</code>. When <code>status</code> is <code>false</code>, read <code>error</code> for the message and <code>error_code</code> for the reason, when it is present. A call over the API call rate limit is the exception. See <strong>Limits</strong>.\n</li></ul>\n<h2>Limits</h2>\n<h4>API access is a privilege. Use it responsibly.</h4>\n<ul><li>The default budget is <strong>1,000 API calls per hour</strong>. For very large installations, we can review and extend the budget if the operational requirements justify it.\n</li><li>Asynchronous calls have their own budget, by default <strong>5,000 calls per hour</strong>.\n</li><li>The default limit is <strong>15 calls per second</strong>. If you send more, all your calls are blocked for 10 seconds.\n</li><li>Some endpoints have their own hourly limit. The description of the endpoint gives it.\n</li><li>When you are over the per-hour, per-10-minute or per-second limit, the API returns HTTP <strong>429</strong> and a <code>Retry-After</code> header. Wait that number of seconds before you call again.\n</li><li>The body of that 429 has <code>response_code</code> set to <code>rate_limit_exceeded</code> and the message in <code>response</code>. It also has <code>violation_type</code> (<code>per_hour</code>, <code>per_10min</code> or <code>per_second</code>) and <code>retry_after</code>, the same number of seconds.\n</li><li>When you are over the limit of one endpoint, the 429 has <code>error</code> and <code>error_code</code>, like other errors.\n</li><li>Each response has <code>X-RateLimit-Limit</code>, <code>X-RateLimit-Remaining</code> and <code>X-RateLimit-Reset</code> headers. <code>X-RateLimit-Reset</code> is the number of seconds until the budget resets.\n</li></ul>\n<p>If you use the API too much, SmartOLT can limit your calls or revoke your API access.</p>\n<h4><strong>Keep a local copy of your data</strong> and update it from events.</h4>\n<h4><strong>Add a random delay to scheduled requests.</strong> For example, do not send a request exactly every 5 minutes at fixed times. Add a small random delay to each call, so that many systems do not call the API at the same time.</h4>\n<h2>Real-time events (new)</h2>\n<p><strong>Receive changes as they happen.</strong> SmartOLT can now notify your integration when something changes: an ONU goes offline, its signal drops, a new ONU appears unconfigured, or a PON port fails. Use webhooks or the event stream instead of asking for the status of every ONU every few minutes.</p>\n<ul><li><strong>Event stream (SSE):</strong> your system keeps one connection open, and the events arrive on it.\n</li><li><strong>Webhook:</strong> SmartOLT sends each batch of events as an HTTPS POST to your URL. Set it up in <strong>General &gt; API key &gt; Edit &gt; Webhook</strong>.\n</li></ul>\n<p>Event types: <code>onu.status_changed</code>, <code>onu.authorized</code>, <code>onu.updated</code>, <code>onu.deleted</code>, <code>onu.signal_changed</code>, <code>onu.signal_reading</code>, <code>onu.rx1490_reading</code>, <code>pon.outage_started</code>, <code>pon.outage_ended</code>, <code>olt.status_stale</code>, <code>olt.status_fresh</code>, <code>onu.unconfigured_detected</code>. See the <strong>Real-time events</strong> folder.</p>\n<h2>Asynchronous calls (recommended for high-volume actions)</h2>\n<p><strong>For high-volume actions, use asynchronous calls.</strong> Use them to enable ONUs, disable ONUs, change CATV or change speed profiles on many ONUs. Send <code>async=1</code> with the request. SmartOLT checks the request, puts the work in a queue and returns immediately. The request does not wait for the OLT.</p>\n<p>These endpoints accept <code>async=1</code>:</p>\n<ul><li>Single ONU: <a href=\"https://api.smartolt.com/#393d530b-5d69-4d25-9a2b-130282097b23\"><code>enable</code></a>, <a href=\"https://api.smartolt.com/#22e14a03-1c8c-4335-8439-41ef87b0bc41\"><code>disable</code></a>, <a href=\"https://api.smartolt.com/#b7a4be0a-daf3-4d7d-b819-99cb1515a1e7\"><code>enable_catv</code></a>, <a href=\"https://api.smartolt.com/#21201bf3-37a6-455e-8703-96af40b0ee9e\"><code>disable_catv</code></a>, <a href=\"https://api.smartolt.com/#6b753440-3567-8644-bfed-045dbfe3f248\"><code>update_onu_speed_profiles</code></a>\n</li><li>Multiple ONUs: <a href=\"https://api.smartolt.com/#c8208da1-5f58-40b7-a86b-838babbddff6\"><code>bulk_enable</code></a>, <a href=\"https://api.smartolt.com/#05f55ab8-6dbe-42b0-9f75-bcbeb170f0fd\"><code>bulk_disable</code></a>, <a href=\"https://api.smartolt.com/#3a5bd9ce-a30c-49ab-9012-98d763b58c9e\"><code>bulk_enable_catv</code></a>, <a href=\"https://api.smartolt.com/#4f3b2fab-ad08-4735-b64b-5dfbd06ba9b7\"><code>bulk_disable_catv</code></a>, <a href=\"https://api.smartolt.com/#536e8e0e-82bb-4ce8-a1bf-ee8a845045ee\"><code>bulk_update_speed_profiles</code></a>\n</li></ul>\n<p><a href=\"https://api.smartolt.com/#54eb4b99-51a4-4374-bc04-594f7490462c\"><code>bulk_apply_configuration_preset</code></a> and <a href=\"https://api.smartolt.com/#e367973e-13ce-4d0c-a1f8-a7d121d90adc\"><code>bulk_remove_configuration_preset</code></a> are always asynchronous. They also use the asynchronous budget.</p>\n<p><strong>Why use asynchronous calls:</strong></p>\n<ul><li>The request returns immediately. A normal request waits until the OLT finishes the command.\n</li><li>A bulk call accepts up to <strong>10,000 ONU IDs</strong> with <code>async=1</code>, and only up to <strong>50 ONU IDs</strong> without <code>async=1</code>.\n</li><li>Asynchronous calls use their own hourly budget, not the normal budget.\n</li><li>SmartOLT runs all actions for one ONU in the order it received them.\n</li></ul>\n<p><strong>How to use asynchronous calls:</strong></p>\n<ol><li>Send the request with <code>async=1</code>.\n</li><li>Read the <code>queued</code> field in the response. It shows which ONUs SmartOLT queued.\n</li><li>Some minutes later, call <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\"><code>check_bulk_task_status</code></a> to see the result for each ONU. Do not call it in a tight loop. Each status check counts in the normal hourly budget.\n</li></ol>\n<p><strong>Important:</strong> <code>\"queued\": true</code> means that SmartOLT accepted the action. It does not mean that the OLT did it. A request without <code>async=1</code> can also return <code>\"queued\": true</code> when the ONU already has queued actions. Do not mark the action as done until <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\"><code>check_bulk_task_status</code></a> shows <code>succeeded</code>.</p>\n<h2>Recommended API usage</h2>\n<ul><li><strong>ONU statuses</strong>\n<ul><li>Use the <code>onu.status_changed</code> real-time event.\n</li><li>If you cannot use events, call <a href=\"https://api.smartolt.com/#dd7eff97-6229-497c-9cde-6acd0ad09aee\">Get all ONUs statuses</a> every <strong>5-7 minutes</strong>, and store the response between calls.\n</li></ul>\n</li><li><strong>ONU signal levels</strong>\n<ul><li>Use the <code>onu.signal_reading</code> or <code>onu.signal_changed</code> real-time events for the 1310 value, and the <code>onu.rx1490_reading</code> event for the 1490 value.\n</li><li>Call <a href=\"https://api.smartolt.com/#43e3094c-0db5-46ea-821e-1ae9c4038006\">Get all ONUs signals</a> at start-up or after a <code>resync</code> event. If you cannot use events, call it every <strong>15-30 minutes</strong>, and store the response between calls.\n</li></ul>\n</li><li><strong>High-volume actions</strong> (enable, disable, CATV, speed profiles on many ONUs)\n<ul><li>Use one bulk call with <code>async=1</code> for up to <strong>10,000 ONU IDs</strong>. Without <code>async=1</code>, a bulk call can only contain up to 50 ONU IDs.\n</li><li>Do not send one call for each ONU.\n</li></ul>\n</li></ul>\n<h4><strong>Important:</strong> Do not poll individual ONUs again and again when a bulk endpoint or a real-time event gives the same data. Your integration must store data, use reasonable polling intervals and use bulk calls. If your integration uses the API too much, SmartOLT can limit its calls to protect the platform for all users.</h4></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"SmartOLT API","slug":"smartolt-api"}],"owner":"2941216","collectionId":"14d7ad01-629e-9985-753c-9b12f2c9ff35","publishedId":"71CXC8s","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"008FFB"},"publishDate":"2019-08-10T06:40:00.000Z"},"item":[{"name":"Real-time events","item":[{"name":"Get event stream URL","id":"d3c00181-9877-49ed-aa7b-b5a155f08c73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_event_stream?events=onu.status_changed,pon.outage_started,pon.outage_ended","description":"<p>Gets a URL for a live event stream (Server-Sent Events). Open the URL with any SSE client, for example <code>EventSource</code> or <code>curl -N</code>.</p>\n\n<p><b>How to use it</b></p>\n\n<ol><li><div>Call this endpoint. Select the event types with <code>events</code>.</div></li><li><div>Open the returned <code>url</code> within <code>expires_in</code> seconds (15 minutes).</div></li><li><div>Read the events. Each event has an <code>id</code>, an <code>event</code> (the event type) and a <code>data</code> line with the event body.</div></li><li><div>The stream closes after about 1 hour. Then call this endpoint again and open the new URL. Send the last <code>id</code> you got in the <code>Last-Event-ID</code> header. You then get the events that you missed.</div></li></ol>\n\n<p><b>Control events</b></p>\n\n<ul><li><div><code>resync</code>: you missed events. Load the current data again, for example with <i>Get all ONUs statuses</i>.</div></li><li><div><code>expired</code>: the stream is closed. Get a new URL.</div></li><li><div><code>disabled</code>: the stream is closed because the API key was disabled or changed. Get a new URL.</div></li><li><div>A <code>: ping</code> comment comes every 25 seconds to keep the connection open.</div></li></ul>\n\n<p><b>Limits</b></p>\n\n<ul><li><div>You can call this endpoint up to 60 times per hour.</div></li><li><div>Each account can have up to 15 open streams for API keys.</div></li></ul>\n\n<p>It returns a 400 error code when <code>events</code> contains an unknown event type.</p>\n\n<p>It returns a 403 error code when the API key is not a client API key.</p>\n\n<p>It returns a 503 error code when the event stream is not available. Use <i>Get all ONUs statuses</i> until it is available again.</p>","urlObject":{"protocol":"https","path":["api","onu","get_event_stream"],"host":["{{subdomain}}","smartolt","com"],"query":[{"description":{"content":"<p>(String) The event types to get, separated by commas. Leave it empty to get only <code>onu.status_changed</code>. Known types: onu.status_changed, onu.unconfigured_detected, onu.authorized, onu.updated, onu.deleted, pon.outage_started, pon.outage_ended, olt.status_stale, olt.status_fresh, onu.signal_changed, onu.signal_reading, onu.rx1490_reading</p>","type":"text/plain"},"key":"events","value":"onu.status_changed,pon.outage_started,pon.outage_ended"}],"variable":[]}},"response":[{"id":"f30311ed-2899-4d58-bfb3-8307f3454128","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_event_stream?events=onu.status_changed,pon.outage_started,pon.outage_ended","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_event_stream"],"query":[{"key":"events","value":"onu.status_changed,pon.outage_started,pon.outage_ended"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": {\n        \"url\": \"https://example.smartolt.com:8443/onu-status/stream?token=eyJkYiI6...\",\n        \"expires_in\": 900\n    },\n    \"response_code\": \"success\"\n}"},{"id":"79e75af1-f3ba-492d-aa02-4e0b32f9cb12","name":"200 - Stream content (open the returned url)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.smartolt.com:8443/onu-status/stream?token=eyJkYiI6...","protocol":"https","host":["{{subdomain}}","smartolt","com"],"port":"8443","path":["onu-status","stream"],"query":[{"key":"token","value":"eyJkYiI6..."}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/event-stream"}],"cookie":[],"responseTime":null,"body":"retry: 15000\n\nid: 1728381600123-0\nevent: onu.status_changed\ndata: {\"type\":\"onu.status_changed\",\"timestamp\":\"2026-10-08T10:00:01Z\",\"data\":{\"onus\":[{\"unique_external_id\":\"ext-1001\",\"sn\":\"HWTC00000015\",\"olt_id\":\"1\",\"board\":\"0\",\"port\":\"5\",\"onu\":\"15\",\"zone_id\":\"5\",\"name\":\"John Doe\",\"address\":\"Main St 1\",\"contact\":\"+1555\",\"odb_id\":null,\"status\":\"LOS\",\"last_status_change\":\"2026-10-08 10:00:00.123456\",\"status_observed_at\":\"2026-10-08 10:00:01\"}]}}\n\n: ping\n\nid: 1728381720456-0\nevent: pon.outage_started\ndata: {\"type\":\"pon.outage_started\",\"timestamp\":\"2026-10-08T10:02:00Z\",\"data\":{\"pons\":[{\"alert_kind\":\"full_outage\",\"olt_id\":\"11\",\"olt_name\":\"OLT 11\",\"board\":\"2\",\"port\":\"3\",\"total_onus\":\"8\",\"los_count\":\"8\",\"power_count\":\"0\",\"offline_count\":\"0\",\"zone_name\":\"Zone 3\",\"pon_description\":\"Feeder 3\",\"cause\":\"los\"}]}}\n"},{"id":"2fc250e8-5a85-47cd-be0f-02c689dc38ac","name":"400 - Unknown event type","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_event_stream?events=onu.status_changed,onu.offline","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_event_stream"],"query":[{"key":"events","value":"onu.status_changed,onu.offline"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Invalid events. Known event types: onu.status_changed, onu.unconfigured_detected, onu.authorized, onu.updated, onu.deleted, pon.outage_started, pon.outage_ended, olt.status_stale, olt.status_fresh, onu.signal_changed, onu.signal_reading, onu.rx1490_reading\"\n}"},{"id":"c41838a6-69a8-448e-afeb-22529e702f49","name":"503 - Not available","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_event_stream?events=onu.status_changed,pon.outage_started,pon.outage_ended","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_event_stream"],"query":[{"key":"events","value":"onu.status_changed,pon.outage_started,pon.outage_ended"}]}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"ONU status push is not available right now. Poll get_onus_statuses instead.\"\n}"}],"_postman_id":"d3c00181-9877-49ed-aa7b-b5a155f08c73"},{"name":"Webhook delivery (sent by SmartOLT to your server)","id":"21907f3b-23e5-4337-8762-731525f16f9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f","description":"<p>The ID of the batch. A retry sends the same ID.</p>\n"},{"key":"webhook-timestamp","value":"1791453600","description":"<p>The time of the send, in Unix seconds.</p>\n"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=","description":"<p><code>v1,</code> followed by the base64 HMAC-SHA256 signature.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"onu.status_changed\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"zone_id\": \"5\",\n                \"name\": \"John Doe\",\n                \"address\": \"Main St 1\",\n                \"contact\": \"+1555\",\n                \"odb_id\": null,\n                \"status\": \"LOS\",\n                \"last_status_change\": \"2026-10-08 10:00:00.123456\",\n                \"status_observed_at\": \"2026-10-08 10:01:00\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook","description":"<p>This item is documentation only. You do not send this request. SmartOLT sends it to your server.</p>\n\n<p><b>How to set up a webhook</b></p>\n\n<ol><li><div>Go to <b>General &gt; API key</b>. Click <b>Edit</b> on your API key.</div></li><li><div>In the <b>Webhook</b> panel, enter your HTTPS URL and select the events.</div></li><li><div>Copy the <b>Signing secret</b>.</div></li><li><div>Click <b>Send test event</b>. Your server gets a <code>webhook.test</code> event.</div></li></ol>\n\n<p><b>Your server must</b></p>\n\n<ul><li><div>Use HTTPS on port 443 or 8443, with a valid certificate and a public IP address.</div></li><li><div>Return an HTTP 2xx status within 15 seconds. Redirects count as failures.</div></li><li><div>Ignore a <code>webhook-id</code> that it already processed. A retry sends the same <code>webhook-id</code> and body.</div></li></ul>\n\n<p><b>Retries</b>: after a failure, SmartOLT sends the batch again after 5 seconds, 5 minutes, 30 minutes, 2 hours, 5 hours, and then every 10 hours. After 5 days of failures, SmartOLT disables the webhook and sends you an email. You can enable it again on the API key page.</p>\n\n<p><b>Headers</b></p>\n\n<ul><li><div><code>webhook-id</code>: the ID of the batch, for example <code>msg_3f2a...</code>.</div></li><li><div><code>webhook-timestamp</code>: the time of the send, in Unix seconds.</div></li><li><div><code>webhook-signature</code>: <code>v1,</code> followed by the signature.</div></li></ul>\n\n<p><b>How to check the signature</b></p>\n\n<ol><li><div>Remove the <code>whsec_</code> prefix from your signing secret. Decode the rest from base64. This is the key.</div></li><li><div>Make the text <code>{webhook-id}.{webhook-timestamp}.{raw body}</code>.</div></li><li><div>Calculate HMAC-SHA256 of the text with the key. Encode the result in base64.</div></li><li><div>Compare it with the value after <code>v1,</code>. If they are not equal, reject the request.</div></li></ol>\n\n<p>This follows the<a href=\"https://www.standardwebhooks.com/\">Standard Webhooks</a>format, so you can also use their libraries.</p>\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>// PHP example\n$key = base64_decode(substr($secret, 6));\n$signed = $_SERVER['HTTP_WEBHOOK_ID'] . '.' . $_SERVER['HTTP_WEBHOOK_TIMESTAMP'] . '.' . file_get_contents('php://input');\n$expected = 'v1,' . base64_encode(hash_hmac('sha256', $signed, $key, true));\n$valid = hash_equals($expected, $_SERVER['HTTP_WEBHOOK_SIGNATURE']);\n\n</code></pre><p>Example bodies for each event type are in the saved examples of this item.</p>","urlObject":{"protocol":"https","path":["smartolt-webhook"],"host":["your-server","example","com"],"query":[],"variable":[]}},"response":[{"id":"cdf0a723-26a1-492a-b257-b4595db5e3c3","name":"webhook.test","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f","description":"<p>The ID of the batch. A retry sends the same ID.</p>\n"},{"key":"webhook-timestamp","value":"1791453600","description":"<p>The time of the send, in Unix seconds.</p>\n"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=","description":"<p><code>v1,</code> followed by the base64 HMAC-SHA256 signature.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"webhook.test\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"webhook.test\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {}\n}"},{"id":"6ec39bfb-b148-4e05-94b8-82db43d3defa","name":"onu.status_changed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f","description":"<p>The ID of the batch. A retry sends the same ID.</p>\n"},{"key":"webhook-timestamp","value":"1791453600","description":"<p>The time of the send, in Unix seconds.</p>\n"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=","description":"<p><code>v1,</code> followed by the base64 HMAC-SHA256 signature.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"onu.status_changed\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"zone_id\": \"5\",\n                \"name\": \"John Doe\",\n                \"address\": \"Main St 1\",\n                \"contact\": \"+1555\",\n                \"odb_id\": null,\n                \"status\": \"LOS\",\n                \"last_status_change\": \"2026-10-08 10:00:00.123456\",\n                \"status_observed_at\": \"2026-10-08 10:01:00\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"onu.status_changed\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"zone_id\": \"5\",\n                \"name\": \"John Doe\",\n                \"address\": \"Main St 1\",\n                \"contact\": \"+1555\",\n                \"odb_id\": null,\n                \"status\": \"LOS\",\n                \"last_status_change\": \"2026-10-08 10:00:00.123456\",\n                \"status_observed_at\": \"2026-10-08 10:01:00\"\n            }\n        ]\n    }\n}"},{"id":"7578c036-e1c7-4d39-a4c7-89ba20bc33a6","name":"onu.unconfigured_detected","originalRequest":{"method":"POST","header":[{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f"},{"key":"webhook-timestamp","value":"1791453600"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"onu.unconfigured_detected\",\n    \"timestamp\": \"2026-10-10T08:15:02Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"id\": 0,\n                \"pon_type\": \"gpon\",\n                \"board\": \"2\",\n                \"port\": \"3\",\n                \"pon_description\": \"\",\n                \"onu\": \"1\",\n                \"sn\": \"ZTEGC7E230E4\",\n                \"onu_type_name\": \"ZTE-F660V6.0\",\n                \"onu_type_id\": \"75\",\n                \"olt_id\": \"1\",\n                \"is_disabled\": 0,\n                \"old_location\": null,\n                \"new_location\": null,\n                \"external_id\": null,\n                \"first_seen_at\": \"2026-10-10 11:14:40\",\n                \"last_seen_at\": \"2026-10-10 11:14:40\",\n                \"actions\": [\n                    \"authorize\"\n                ]\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"onu.unconfigured_detected\",\n    \"timestamp\": \"2026-10-10T08:15:02Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"id\": 0,\n                \"pon_type\": \"gpon\",\n                \"board\": \"2\",\n                \"port\": \"3\",\n                \"pon_description\": \"\",\n                \"onu\": \"1\",\n                \"sn\": \"ZTEGC7E230E4\",\n                \"onu_type_name\": \"ZTE-F660V6.0\",\n                \"onu_type_id\": \"75\",\n                \"olt_id\": \"1\",\n                \"is_disabled\": 0,\n                \"old_location\": null,\n                \"new_location\": null,\n                \"external_id\": null,\n                \"first_seen_at\": \"2026-10-10 11:14:40\",\n                \"last_seen_at\": \"2026-10-10 11:14:40\",\n                \"actions\": [\n                    \"authorize\"\n                ]\n            }\n        ]\n    }\n}"},{"id":"3c5d080e-705d-4691-ad99-65bd59f93240","name":"onu.authorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f","description":"<p>The ID of the batch. A retry sends the same ID.</p>\n"},{"key":"webhook-timestamp","value":"1791453600","description":"<p>The time of the send, in Unix seconds.</p>\n"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=","description":"<p><code>v1,</code> followed by the base64 HMAC-SHA256 signature.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"onu.authorized\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"pon_type\": \"gpon\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"olt_name\": \"OLT-A\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"onu_type_id\": \"3\",\n                \"onu_type_name\": \"HG8546M\",\n                \"zone_id\": \"5\",\n                \"zone_name\": \"Zone 5\",\n                \"name\": \"John Doe\",\n                \"address\": \"Main St 1\",\n                \"odb_name\": \"\",\n                \"mode\": \"Routing\",\n                \"wan_mode\": \"DHCP\",\n                \"ip_address\": null,\n                \"catv\": \"Disabled\",\n                \"administrative_status\": \"Enabled\",\n                \"authorization_date\": \"2026-10-08 09:00:00\",\n                \"contact\": \"+1555\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"onu.authorized\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"pon_type\": \"gpon\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"olt_name\": \"OLT-A\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"onu_type_id\": \"3\",\n                \"onu_type_name\": \"HG8546M\",\n                \"zone_id\": \"5\",\n                \"zone_name\": \"Zone 5\",\n                \"name\": \"John Doe\",\n                \"address\": \"Main St 1\",\n                \"odb_name\": \"\",\n                \"mode\": \"Routing\",\n                \"wan_mode\": \"DHCP\",\n                \"ip_address\": null,\n                \"catv\": \"Disabled\",\n                \"administrative_status\": \"Enabled\",\n                \"authorization_date\": \"2026-10-08 09:00:00\",\n                \"contact\": \"+1555\"\n            }\n        ]\n    }\n}"},{"id":"d838e79f-cba9-4f7f-8483-93270c274703","name":"onu.updated","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f","description":"<p>The ID of the batch. A retry sends the same ID.</p>\n"},{"key":"webhook-timestamp","value":"1791453600","description":"<p>The time of the send, in Unix seconds.</p>\n"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=","description":"<p><code>v1,</code> followed by the base64 HMAC-SHA256 signature.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"onu.updated\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"pon_type\": \"gpon\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"olt_name\": \"OLT-A\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"onu_type_id\": \"3\",\n                \"onu_type_name\": \"HG8546M\",\n                \"zone_id\": \"5\",\n                \"zone_name\": \"Zone 7\",\n                \"name\": \"John Doe\",\n                \"address\": \"Main St 1\",\n                \"odb_name\": \"\",\n                \"mode\": \"Routing\",\n                \"wan_mode\": \"DHCP\",\n                \"ip_address\": null,\n                \"catv\": \"Disabled\",\n                \"administrative_status\": \"Enabled\",\n                \"authorization_date\": \"2026-10-08 09:00:00\",\n                \"contact\": \"+1555\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"onu.updated\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"pon_type\": \"gpon\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"olt_name\": \"OLT-A\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"onu_type_id\": \"3\",\n                \"onu_type_name\": \"HG8546M\",\n                \"zone_id\": \"5\",\n                \"zone_name\": \"Zone 7\",\n                \"name\": \"John Doe\",\n                \"address\": \"Main St 1\",\n                \"odb_name\": \"\",\n                \"mode\": \"Routing\",\n                \"wan_mode\": \"DHCP\",\n                \"ip_address\": null,\n                \"catv\": \"Disabled\",\n                \"administrative_status\": \"Enabled\",\n                \"authorization_date\": \"2026-10-08 09:00:00\",\n                \"contact\": \"+1555\"\n            }\n        ]\n    }\n}"},{"id":"3bf845f6-6cf9-4db3-8f3c-39c5f8b746f5","name":"onu.deleted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f","description":"<p>The ID of the batch. A retry sends the same ID.</p>\n"},{"key":"webhook-timestamp","value":"1791453600","description":"<p>The time of the send, in Unix seconds.</p>\n"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=","description":"<p><code>v1,</code> followed by the base64 HMAC-SHA256 signature.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"onu.deleted\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"deleted_at\": \"2026-10-08 10:05:00\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"onu.deleted\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"deleted_at\": \"2026-10-08 10:05:00\"\n            }\n        ]\n    }\n}"},{"id":"6edf55a6-7851-40e2-9c52-d0b7d69b886e","name":"onu.signal_changed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f","description":"<p>The ID of the batch. A retry sends the same ID.</p>\n"},{"key":"webhook-timestamp","value":"1791453600","description":"<p>The time of the send, in Unix seconds.</p>\n"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=","description":"<p><code>v1,</code> followed by the base64 HMAC-SHA256 signature.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"onu.signal_changed\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"name\": \"John Doe\",\n                \"rx1310\": -25.1,\n                \"prev_rx1310\": -22.9,\n                \"band\": \"Warning\",\n                \"prev_band\": \"Very good\",\n                \"delta\": -2.2,\n                \"reading_at\": \"2026-10-08 10:00:00\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"onu.signal_changed\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"name\": \"John Doe\",\n                \"rx1310\": -25.1,\n                \"prev_rx1310\": -22.9,\n                \"band\": \"Warning\",\n                \"prev_band\": \"Very good\",\n                \"delta\": -2.2,\n                \"reading_at\": \"2026-10-08 10:00:00\"\n            }\n        ]\n    }\n}"},{"id":"16782f7b-f89f-4b89-9cc3-9cf0cfcacd87","name":"onu.signal_reading","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f","description":"<p>The ID of the batch. A retry sends the same ID.</p>\n"},{"key":"webhook-timestamp","value":"1791453600","description":"<p>The time of the send, in Unix seconds.</p>\n"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=","description":"<p><code>v1,</code> followed by the base64 HMAC-SHA256 signature.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"onu.signal_reading\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"name\": \"John Doe\",\n                \"rx1310\": -21,\n                \"band\": \"Very good\",\n                \"reading_at\": \"2026-10-08 10:00:00\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"onu.signal_reading\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"name\": \"John Doe\",\n                \"rx1310\": -21,\n                \"band\": \"Very good\",\n                \"reading_at\": \"2026-10-08 10:00:00\"\n            }\n        ]\n    }\n}"},{"id":"5af6fde5-418f-4b5b-aa45-a0a0eff2c169","name":"pon.outage_started","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f","description":"<p>The ID of the batch. A retry sends the same ID.</p>\n"},{"key":"webhook-timestamp","value":"1791453600","description":"<p>The time of the send, in Unix seconds.</p>\n"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=","description":"<p><code>v1,</code> followed by the base64 HMAC-SHA256 signature.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"pon.outage_started\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"pons\": [\n            {\n                \"alert_kind\": \"full_outage\",\n                \"partial_started_at\": null,\n                \"partial_last_seen_at\": null,\n                \"olt_id\": \"11\",\n                \"olt_name\": \"OLT 11\",\n                \"olt_version\": \"2.0\",\n                \"board\": \"2\",\n                \"port\": \"3\",\n                \"total_onus\": \"8\",\n                \"has_gps\": \"0\",\n                \"los_count\": \"8\",\n                \"power_count\": \"0\",\n                \"offline_count\": \"0\",\n                \"location_id\": \"3\",\n                \"zone_name\": \"Zone 3\",\n                \"odb_id\": null,\n                \"odb_name\": null,\n                \"pon_description\": \"Feeder 3\",\n                \"is_active\": \"1\",\n                \"latest_status_change\": \"2026-10-08 10:00:00\",\n                \"affected_onus\": null,\n                \"affected_percent\": null,\n                \"odb_names\": \"\",\n                \"odb_count\": 0,\n                \"cause\": \"los\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"pon.outage_started\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"pons\": [\n            {\n                \"alert_kind\": \"full_outage\",\n                \"partial_started_at\": null,\n                \"partial_last_seen_at\": null,\n                \"olt_id\": \"11\",\n                \"olt_name\": \"OLT 11\",\n                \"olt_version\": \"2.0\",\n                \"board\": \"2\",\n                \"port\": \"3\",\n                \"total_onus\": \"8\",\n                \"has_gps\": \"0\",\n                \"los_count\": \"8\",\n                \"power_count\": \"0\",\n                \"offline_count\": \"0\",\n                \"location_id\": \"3\",\n                \"zone_name\": \"Zone 3\",\n                \"odb_id\": null,\n                \"odb_name\": null,\n                \"pon_description\": \"Feeder 3\",\n                \"is_active\": \"1\",\n                \"latest_status_change\": \"2026-10-08 10:00:00\",\n                \"affected_onus\": null,\n                \"affected_percent\": null,\n                \"odb_names\": \"\",\n                \"odb_count\": 0,\n                \"cause\": \"los\"\n            }\n        ]\n    }\n}"},{"id":"e887a93a-8fac-42c5-a848-c4d9e396bdc5","name":"pon.outage_ended","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f","description":"<p>The ID of the batch. A retry sends the same ID.</p>\n"},{"key":"webhook-timestamp","value":"1791453600","description":"<p>The time of the send, in Unix seconds.</p>\n"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=","description":"<p><code>v1,</code> followed by the base64 HMAC-SHA256 signature.</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"pon.outage_ended\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"pons\": [\n            {\n                \"alert_kind\": \"full_outage\",\n                \"partial_started_at\": null,\n                \"partial_last_seen_at\": null,\n                \"olt_id\": \"11\",\n                \"olt_name\": \"OLT 11\",\n                \"olt_version\": \"2.0\",\n                \"board\": \"2\",\n                \"port\": \"3\",\n                \"total_onus\": \"8\",\n                \"has_gps\": \"0\",\n                \"los_count\": \"8\",\n                \"power_count\": \"0\",\n                \"offline_count\": \"0\",\n                \"location_id\": \"3\",\n                \"zone_name\": \"Zone 3\",\n                \"odb_id\": null,\n                \"odb_name\": null,\n                \"pon_description\": \"Feeder 3\",\n                \"is_active\": \"1\",\n                \"latest_status_change\": \"2026-10-08 10:00:00\",\n                \"affected_onus\": null,\n                \"affected_percent\": null,\n                \"odb_names\": \"\",\n                \"odb_count\": 0,\n                \"cause\": \"los\",\n                \"started_at\": \"2026-10-08 10:00:00\",\n                \"ended_at\": \"2026-10-08 10:20:00\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"pon.outage_ended\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"pons\": [\n            {\n                \"alert_kind\": \"full_outage\",\n                \"partial_started_at\": null,\n                \"partial_last_seen_at\": null,\n                \"olt_id\": \"11\",\n                \"olt_name\": \"OLT 11\",\n                \"olt_version\": \"2.0\",\n                \"board\": \"2\",\n                \"port\": \"3\",\n                \"total_onus\": \"8\",\n                \"has_gps\": \"0\",\n                \"los_count\": \"8\",\n                \"power_count\": \"0\",\n                \"offline_count\": \"0\",\n                \"location_id\": \"3\",\n                \"zone_name\": \"Zone 3\",\n                \"odb_id\": null,\n                \"odb_name\": null,\n                \"pon_description\": \"Feeder 3\",\n                \"is_active\": \"1\",\n                \"latest_status_change\": \"2026-10-08 10:00:00\",\n                \"affected_onus\": null,\n                \"affected_percent\": null,\n                \"odb_names\": \"\",\n                \"odb_count\": 0,\n                \"cause\": \"los\",\n                \"started_at\": \"2026-10-08 10:00:00\",\n                \"ended_at\": \"2026-10-08 10:20:00\"\n            }\n        ]\n    }\n}"},{"id":"f9518abc-345c-4713-b07e-862fdfe5171f","name":"olt.status_stale","originalRequest":{"method":"POST","header":[{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f"},{"key":"webhook-timestamp","value":"1791453600"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"olt.status_stale\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"olts\": [\n            {\n                \"olt_id\": 11,\n                \"olt_name\": \"OLT 11\",\n                \"status_observed_at\": \"2026-10-08 09:44:30\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"olt.status_stale\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"olts\": [\n            {\n                \"olt_id\": 11,\n                \"olt_name\": \"OLT 11\",\n                \"status_observed_at\": \"2026-10-08 09:44:30\"\n            }\n        ]\n    }\n}"},{"id":"ad9c95b0-e688-474e-a0b1-71176d0cacee","name":"olt.status_fresh","originalRequest":{"method":"POST","header":[{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f"},{"key":"webhook-timestamp","value":"1791453600"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"olt.status_fresh\",\n    \"timestamp\": \"2026-10-08T10:20:31Z\",\n    \"data\": {\n        \"olts\": [\n            {\n                \"olt_id\": 11,\n                \"olt_name\": \"OLT 11\",\n                \"status_observed_at\": \"2026-10-08 10:20:00\",\n                \"stale_since\": \"2026-10-08 10:00:01\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"olt.status_fresh\",\n    \"timestamp\": \"2026-10-08T10:20:31Z\",\n    \"data\": {\n        \"olts\": [\n            {\n                \"olt_id\": 11,\n                \"olt_name\": \"OLT 11\",\n                \"status_observed_at\": \"2026-10-08 10:20:00\",\n                \"stale_since\": \"2026-10-08 10:00:01\"\n            }\n        ]\n    }\n}"},{"id":"ef0ebb49-82f1-46e9-80d1-cf436acb719d","name":"onu.rx1490_reading","originalRequest":{"method":"POST","header":[{"key":"webhook-id","value":"msg_3f2a9c0e7b1d4a6f8e2c5b9d0a1f3e7c6b8d2a4f9e0c1b3d5a7f9e2c4b6d8a0f"},{"key":"webhook-timestamp","value":"1791453600"},{"key":"webhook-signature","value":"v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"onu.rx1490_reading\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"name\": \"John Doe\",\n                \"rx1490\": -18.42,\n                \"reading_at\": \"2026-10-08 10:00:00\"\n            },\n            {\n                \"unique_external_id\": \"ext-1002\",\n                \"sn\": \"HWTC7D4A91C2\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"16\",\n                \"name\": \"Jane Smith\",\n                \"rx1490\": -21.07,\n                \"reading_at\": \"2026-10-08 10:00:00\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://your-server.example.com/smartolt-webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"onu.rx1490_reading\",\n    \"timestamp\": \"2026-10-08T10:00:01Z\",\n    \"data\": {\n        \"onus\": [\n            {\n                \"unique_external_id\": \"ext-1001\",\n                \"sn\": \"HWTC00000015\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"15\",\n                \"name\": \"John Doe\",\n                \"rx1490\": -18.42,\n                \"reading_at\": \"2026-10-08 10:00:00\"\n            },\n            {\n                \"unique_external_id\": \"ext-1002\",\n                \"sn\": \"HWTC7D4A91C2\",\n                \"olt_id\": \"1\",\n                \"board\": \"0\",\n                \"port\": \"5\",\n                \"onu\": \"16\",\n                \"name\": \"Jane Smith\",\n                \"rx1490\": -21.07,\n                \"reading_at\": \"2026-10-08 10:00:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"21907f3b-23e5-4337-8762-731525f16f9b"}],"id":"d2c498e2-01cc-4953-93f4-84c791f2072e","description":"<p>Get ONU, PON and OLT events in real time. You do not need to poll the API.</p>\n<p>You can get the events in two ways:</p>\n<ul>\n<li><strong>Event stream (SSE)</strong>: your system keeps one HTTP connection open, and the events arrive on it. See <em>Get event stream URL</em>.</li>\n<li><strong>Webhook</strong>: SmartOLT sends each batch of events as an HTTPS POST to your URL. See <em>Webhook delivery</em>.</li>\n</ul>\n<p>Both ways send the same event body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\"type\": \"onu.status_changed\", \"timestamp\": \"2026-10-08T10:00:00Z\", \"data\": {\"onus\": [ ... ]}}\n</code></pre><p>ONU events put the rows in <code>data.onus</code>. PON events put the rows in <code>data.pons</code>. OLT events put the rows in <code>data.olts</code>. One batch has one event type and up to 1000 rows.</p>\n<p>Event types:</p>\n<ul>\n<li><code>onu.status_changed</code>: the ONU status changed (Online, LOS, Power fail, Offline).</li>\n<li><code>onu.authorized</code>: an ONU was authorized.</li>\n<li><code>onu.updated</code>: the configuration or details of an ONU changed. You get the full current ONU row.</li>\n<li><code>onu.deleted</code>: an ONU was deleted.</li>\n<li><code>onu.signal_changed</code>: the ONU signal moved to another band, or changed by 2 dB or more. <code>reading_at</code> is the time of the reading, in the time zone of your SmartOLT account.</li>\n<li><code>onu.signal_reading</code>: each new ONU signal reading. It gives <code>rx1310</code>, the power that the OLT receives from the ONU (upstream). For the power that the ONU receives, see <code>onu.rx1490_reading</code>. <code>reading_at</code> is the time of the reading, in the time zone of your SmartOLT account.</li>\n<li><code>onu.rx1490_reading</code>: each new reading of the power that the ONU receives from the OLT (downstream, 1490 nm, or 1577 nm on XG-PON and XGS-PON). The field is <code>rx1490</code> on all PON types. SmartOLT sends one event for each new reading that it stores for the ONU. A reading of -40 dBm or lower means no signal and is not sent. The rows have no <code>band</code> field. <code>reading_at</code> is the time of the reading, in the time zone of your SmartOLT account.</li>\n<li><code>pon.outage_started</code>: a PON outage started.</li>\n<li><code>pon.outage_ended</code>: a PON outage ended.</li>\n<li><code>olt.status_stale</code>: SmartOLT has not read the ONU statuses of an OLT for 15 minutes, usually because the OLT is unreachable. The last ONU statuses of that OLT can be old. Get all ONUs statuses shows them as Unknown.</li>\n<li><code>olt.status_fresh</code>: SmartOLT reads the ONU statuses of the OLT again.</li>\n<li><code>onu.unconfigured_detected</code>: a new ONU appeared in the Unconfigured list of an OLT. Disabled ONUs are not sent. An ONU that leaves the list and comes back within 15 minutes is not sent again.</li>\n</ul>\n<p>Only API keys that you create in SmartOLT can use events.</p>\n","_postman_id":"d2c498e2-01cc-4953-93f4-84c791f2072e"},{"name":"Get OLTs list","id":"26e5dc8a-971e-4f0d-ae67-cb34ac2025ca","request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/get_olts","description":"<p>To maintain platform stability and fair resource usage for all users, heavy usage may be subject to rate limiting or even <strong>revocation of all access to the SmartOLT API</strong>.</p>\n<p>It has been observed that multiple API integrations are using this endpoint eroneusly as a heartbeat check of the API.<br />*<em>Do NOT use this endpoint as a heartbeat between API calls.*</em></p>\n<p>Gets a list of all OLTs names, IPs, telnet ports, SNMP ports and unique IDs.</p>\n","urlObject":{"protocol":"https","path":["api","system","get_olts"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"2df0af67-d906-46ef-b84e-29675fd178f1","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_olts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\r\n    \"status\": true,\r\n    \"response\": [\r\n        {\r\n            \"id\": \"1\",\r\n            \"name\": \"Huawei\",\r\n            \"olt_hardware_version\": \"Huawei-MA5680T\",\r\n            \"ip\": \"1.2.3.4\",\r\n            \"telnet_port\": \"2333\",\r\n            \"snmp_port\": \"2161\"\r\n        }\r\n    ]\r\n}"},{"id":"a178edfa-c439-458c-9a33-f7f67bff976e","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/get_olts"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"26e5dc8a-971e-4f0d-ae67-cb34ac2025ca"},{"name":"Get OLTs uptime and environment temperature","id":"651649ff-4ef0-4f7b-8468-51aa9c0dfc35","request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/olt/get_olts_uptime_and_env_temperature","description":"<p>Gets a list of all OLTs uptimes and environment temperatures, and the input voltage of each OLT.</p>\n<p>The voltage comes from the SmartOLT database. This endpoint does not read the voltage from the OLT.</p>\n<p><strong>Fields</strong></p>\n<ul>\n<li><code>voltage</code>: the last input voltage reading of the OLT, in volts (V), as a number. For an OLT with an AC input it is the AC voltage. It is <code>null</code> when the OLT does not report its input voltage, when the last reading is not a valid DC or AC input voltage, when the last reading is more than 30 minutes old, and when the OLT does not answer (<code>uptime</code> is <code>N/A</code>).</li>\n<li><code>voltage_read_at</code>: the date and time of that reading, as <code>YYYY-MM-DD HH:MM:SS</code> in the time zone of your SmartOLT account. It is <code>null</code> when <code>voltage</code> is <code>null</code>.</li>\n<li><code>power_state</code>: the power state of the OLT, from its voltage readings. The usual voltage is the voltage of the OLT on mains in the last 24 hours. It is <code>null</code> when <code>voltage</code> is <code>null</code>.<ul>\n<li><code>normal</code>: the input voltage is at the usual voltage of the OLT. An OLT with an AC input is always <code>normal</code>.</li>\n<li><code>on_battery</code>: the input voltage dropped under the usual voltage of the OLT. The OLT is probably running on battery.</li>\n<li><code>battery_low</code>: the OLT is on battery and the input voltage is under 46 V and at least 3 V under its usual voltage. The battery is probably almost empty.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","olt","get_olts_uptime_and_env_temperature"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"c5a5c308-1832-4c21-b1b3-b4c88b703116","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/olt/get_olts_uptime_and_env_temperature"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"olt_id\": \"1\",\n            \"olt_name\": \"Huawei\",\n            \"uptime\": \"576 days, 21:05\",\n            \"env_temp\": \"24°C\",\n            \"voltage\": 53.6,\n            \"voltage_read_at\": \"2026-11-02 10:45:12\",\n            \"power_state\": \"normal\"\n        },\n        {\n            \"olt_id\": \"2\",\n            \"olt_name\": \"ZTE\",\n            \"uptime\": \"93 days, 10:48\",\n            \"env_temp\": \"38°C\",\n            \"voltage\": 51.2,\n            \"voltage_read_at\": \"2026-11-02 10:46:03\",\n            \"power_state\": \"on_battery\"\n        },\n        {\n            \"olt_id\": \"3\",\n            \"olt_name\": \"C600\",\n            \"uptime\": \"431 days, 02:32\",\n            \"env_temp\": \"33°C\",\n            \"voltage\": null,\n            \"voltage_read_at\": null,\n            \"power_state\": null\n        }\n    ]\n}"},{"id":"be355dea-8d20-4bec-9a49-163a5b8de05b","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/olt/get_olts_uptime_and_env_temperature"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"651649ff-4ef0-4f7b-8468-51aa9c0dfc35"},{"name":"Get OLT uptime and environment temperature","id":"5a65bbc0-fd01-bcce-ad92-9bad744eff52","request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/olt/get_olt_uptime_and_env_temperature/{{olt_id}}","description":"<p>Gets the uptime, the environment temperature and the input voltage of one OLT, by OLT ID.</p>\n<p>The voltage comes from the SmartOLT database. This endpoint does not read the voltage from the OLT.</p>\n<p><strong>Fields</strong></p>\n<ul>\n<li><code>uptime</code>: how long the OLT has been running since its last restart, as text. It is <code>N/A</code> when the OLT does not answer.</li>\n<li><code>env_temp</code>: the environment temperature of the OLT, in degrees Celsius, as text with the unit (for example <code>38°C</code>). It is an empty string when the OLT does not answer.</li>\n<li><code>color_class</code>: <code>text-danger</code> when <code>env_temp</code> is over the OLT temperature level \"critical\", <code>text-warning</code> when it is over the OLT temperature level \"warning\", and an empty string otherwise. Both levels are set in the OLT settings, on the Advanced tab. It is an empty string when the OLT does not answer.</li>\n<li><code>voltage</code>: the last input voltage reading of the OLT, in volts (V), as a number. For an OLT with an AC input it is the AC voltage. It is <code>null</code> when the OLT does not report its input voltage, when the last reading is not a valid DC or AC input voltage, when the last reading is more than 30 minutes old, and when the OLT does not answer (<code>uptime</code> is <code>N/A</code>).</li>\n<li><code>voltage_read_at</code>: the date and time of that reading, as <code>YYYY-MM-DD HH:MM:SS</code> in the time zone of your SmartOLT account. It is <code>null</code> when <code>voltage</code> is <code>null</code>.</li>\n<li><code>power_state</code>: the power state of the OLT, from its voltage readings. The usual voltage is the voltage of the OLT on mains in the last 24 hours. It is <code>null</code> when <code>voltage</code> is <code>null</code>.<ul>\n<li><code>normal</code>: the input voltage is at the usual voltage of the OLT. An OLT with an AC input is always <code>normal</code>.</li>\n<li><code>on_battery</code>: the input voltage dropped under the usual voltage of the OLT. The OLT is probably running on battery.</li>\n<li><code>battery_low</code>: the OLT is on battery and the input voltage is under 46 V and at least 3 V under its usual voltage. The battery is probably almost empty.</li>\n</ul>\n</li>\n</ul>\n<p>It returns a 400 error code when no OLT was found for the provided OLT ID (error code <code>specify_valid_olt_id</code>).</p>\n<p>It returns a 403 error code when the OLT is outside the restriction group of your API key, and when the subscription of the OLT is not valid.</p>\n","urlObject":{"protocol":"https","path":["api","olt","get_olt_uptime_and_env_temperature","{{olt_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"361b9d81-8d98-4825-a847-e0aa2528eb9b","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/olt/get_olt_uptime_and_env_temperature/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"uptime\": \"576 days, 21:05\",\n    \"env_temp\": \"24°C\",\n    \"color_class\": \"\",\n    \"voltage\": 53.6,\n    \"voltage_read_at\": \"2026-11-02 10:45:12\",\n    \"power_state\": \"normal\",\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"bec84e0f-0c89-4d1b-a147-386a25ecf6c8","name":"200 - OK, on battery","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/olt/get_olt_uptime_and_env_temperature/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"uptime\": \"93 days, 10:48\",\n    \"env_temp\": \"47°C\",\n    \"color_class\": \"text-warning\",\n    \"voltage\": 51.2,\n    \"voltage_read_at\": \"2026-11-02 10:46:03\",\n    \"power_state\": \"on_battery\",\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"f7a5677d-5208-4996-84d5-6fa7d5a8846c","name":"200 - OK, no voltage reading","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/olt/get_olt_uptime_and_env_temperature/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"uptime\": \"431 days, 02:32\",\n    \"env_temp\": \"33°C\",\n    \"color_class\": \"\",\n    \"voltage\": null,\n    \"voltage_read_at\": null,\n    \"power_state\": null,\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"b16eace2-3107-4049-969c-b086e3b75edd","name":"400 - Invalid OLT ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/olt/get_olt_uptime_and_env_temperature/1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Please specify a valid OLT ID\",\n    \"error_code\": \"specify_valid_olt_id\"\n}"},{"id":"c85c53d4-7fc3-4e5f-a2ad-e8bc95b16da0","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/olt/get_olt_uptime_and_env_temperature/1"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid API Key.\"\n}"}],"_postman_id":"5a65bbc0-fd01-bcce-ad92-9bad744eff52"},{"name":"Get OLT cards details","id":"49423511-b501-49d5-87f2-d838fc3c6699","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_olt_cards_details/{{olt_id}}","description":"<p>Gets a list of OLT cards by OLT ID, as defined in SmartOLT OLT cards section. <br />\nEach OLT card consists of:</p>\n<ul>\n<li>slot</li>\n<li>type</li>\n<li>real type</li>\n<li>number of ports</li>\n<li>software version</li>\n<li>status</li>\n<li>role</li>\n<li>date &amp; time when the info was last updated</li>\n</ul>","urlObject":{"protocol":"https","path":["api","system","get_olt_cards_details","{{olt_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"080c41b4-23f7-4c27-801e-552a370f5814","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_olt_cards_details/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"slot\": \"1\",\n            \"type\": \"GTGO\",\n            \"real_type\": \"GTGO\",\n            \"ports\": \"8\",\n            \"software_version\": \"V2.1.0\",\n            \"status\": \"Online\",\n            \"role\": \"Main\",\n            \"info_updated\": \"2020-07-14 14:43:58\"\n        },\n        {\n            \"slot\": \"2\",\n            \"type\": \"GTGH\",\n            \"real_type\": \"GTGH\",\n            \"ports\": \"16\",\n            \"software_version\": \"V2.1.0\",\n            \"status\": \"Online\",\n            \"role\": \"Main\",\n            \"info_updated\": \"2020-07-14 14:43:58\"\n        }\n    ]\n}"},{"id":"1e0a4582-e006-44c8-9e1d-2539a1d27dee","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_olt_cards_details/1"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"49423511-b501-49d5-87f2-d838fc3c6699"},{"name":"Get OLT PON ports details","id":"266add14-70e0-4a75-aea7-7fa4f39b10d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_olt_pon_ports_details/{{olt_id}}","description":"<p>Gets a list of OLT PON ports by OLT ID, as defined in SmartOLT OLT PON ports section.  </p>\n<p>Each OLT PON port consists of:</p>\n<ul><li><div>slot</div></li><li><div>port</div></li><li><div>type</div></li><li><div>admin state</div></li><li><div>status</div></li><li><div>total ONUs</div></li><li><div>online ONUs</div></li><li><div>average signal</div></li><li><div>description</div></li><li><div>min range</div></li><li><div>max range</div></li><li><div>TX Power</div></li></ul>","urlObject":{"protocol":"https","path":["api","system","get_olt_pon_ports_details","{{olt_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"0411633f-7c80-4619-89c3-c1506fa66445","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_olt_pon_ports_details/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"board\": \"2\",\n            \"pon_port\": \"1\",\n            \"pon_type\": \"GPON\",\n            \"admin_status\": \"Enabled\",\n            \"operational_status\": \"Up\",\n            \"description\": \"\",\n            \"min_range\": \"0 m\",\n            \"max_range\": \"20000 m\",\n            \"tx_power\": \"6.839 dBm\",\n            \"onus_count\": 0,\n            \"online_onus_count\": 0,\n            \"average_signal\": 0\n        },\n        {\n            \"board\": \"2\",\n            \"pon_port\": \"2\",\n            \"pon_type\": \"GPON\",\n            \"admin_status\": \"Enabled\",\n            \"operational_status\": \"Up\",\n            \"description\": \"\",\n            \"min_range\": \"0 m\",\n            \"max_range\": \"30000 m\",\n            \"tx_power\": \"7.041 dBm\",\n            \"onus_count\": 0,\n            \"online_onus_count\": 0,\n            \"average_signal\": 0\n        }\n    ]\n}"},{"id":"d9c67f9a-8828-470e-837c-3733e9f961a2","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_olt_pon_ports_details/1"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"266add14-70e0-4a75-aea7-7fa4f39b10d1"},{"name":"Get OLT outage PONs details","id":"3d23149a-f47d-44d7-a984-54872b561b6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_outage_pons/{{olt_id}}","description":"<p>Returns active PON outages for an OLT pre-aggregated and grouped for NOC triage.</p>\n<ul><li><div>Sections - three cause buckets: los (fiber cut, grouped by PON), power (grouped by zone), offline/unknown (grouped by zone). Each group lists the affected pons.</div></li><li><div>Each PON includes pon_description, and odb_names/odb_count — the full set of ODBs/splitters on that PON (a PON spans many ODBs)</div></li><li><div>Stale - PONs down &gt; 7 days (likely decommissioned), shown separately, never dropped</div></li></ul>","urlObject":{"protocol":"https","path":["api","system","get_outage_pons","{{olt_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"2f50a455-f188-4bcf-bb3d-280b41ff7f44","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_outage_pons/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{    \n    \"response\": {\n      \"total_pons\": 1,\n      \"sections\": [\n        {\n          \"key\": \"los\",\n          \"group_by\": \"pon\",\n          \"pon_count\": 1,\n          \"subscribers\": 12,\n          \"groups\": [\n            {\n              \"label\": \"test 2\",\n              \"sublabel\": \"SMA\",\n              \"pon_count\": 1,\n              \"subscribers\": 12,\n              \"since\": \"2026-06-21 21:14:22\",\n              \"pons\": [\n                {\n                  \"olt_id\": \"12\",\n                  \"olt_name\": \"OLT 1\",\n                  \"olt_version\": \"1.1.C6xx\",\n                  \"board\": \"1\",\n                  \"port\": \"1\",\n                  \"total_onus\": \"12\",\n                  \"has_gps\": \"1\",\n                  \"los_count\": \"12\",\n                  \"power_count\": \"0\",\n                  \"offline_count\": \"0\",\n                  \"location_id\": \"10\",\n                  \"zone_name\": \"SMA\",\n                  \"odb_id\": \"3645\",\n                  \"odb_name\": \"F401-055-5\",\n                  \"pon_description\": \"test 2\",\n                  \"odb_names\": \"F401-055-1, F401-055-2, F401-055-3, F401-055-4, F401-055-5, F401-055-6, F401-055-7, F401-055-8\",\n                  \"odb_count\": 8,\n                  \"latest_status_change\": \"2026-06-21 21:14:22\",\n                  \"is_active\": \"1\"\n                }\n              ]\n            }\n          ]\n        },\n        { \"key\": \"power\",   \"group_by\": \"zone\", \"pon_count\": 0, \"subscribers\": 0, \"groups\": [] },\n        { \"key\": \"offline\", \"group_by\": \"zone\", \"pon_count\": 0, \"subscribers\": 0, \"groups\": [] }\n      ],\n      \"stale\": { \"pon_count\": 0, \"subscribers\": 0, \"groups\": [] },\n      \"unreachable_olts\": []\n    },\n    \"response_code\": \"success\",\n    \"status\": true\n  }"},{"id":"d9ec929a-343d-461a-ae3e-2d6ed95a6ba4","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_outage_pons/1"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Status","value":"403","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"3d23149a-f47d-44d7-a984-54872b561b6d"},{"name":"Get OLT uplink ports details","id":"a45d6a94-3feb-479a-93c1-c9ef852818f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_olt_uplink_ports_details/{{olt_id}}","description":"<p>Gets a list of OLT uplink ports by OLT ID, as defined in SmartOLT OLT uplink ports section. <br />\nEach OLT uplink port consists of:</p>\n<ul>\n<li>name</li>\n<li>description</li>\n<li>type</li>\n<li>admin state</li>\n<li>status</li>\n<li>negotiation</li>\n<li>MTU</li>\n<li>wavelength</li>\n<li>temperature</li>\n<li>PVID untag</li>\n<li>mode</li>\n<li>tagged VLANs</li>\n</ul>","urlObject":{"protocol":"https","path":["api","system","get_olt_uplink_ports_details","{{olt_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"5562c831-454a-48bb-99b6-c0629652f3d7","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_olt_uplink_ports_details/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"name\": \"gei_1/4/1\",\n            \"mode\": \"Hybrid\",\n            \"vlan_tag\": \"10,99-200,627-628\",\n            \"negotiation_auto\": \"Forced 1G-FullD\",\n            \"status\": \"Down\",\n            \"mtu\": \"1600\",\n            \"type\": \"Fiber\",\n            \"wavelength\": \"0\",\n            \"description\": \"\",\n            \"temperature\": \"N/A\",\n            \"pvid\": \"\",\n            \"admin_status\": \"Enabled\"\n        },\n        {\n            \"name\": \"xgei_1/4/2\",\n            \"mode\": \"Hybrid\",\n            \"vlan_tag\": \"10,99-200,627-628\",\n            \"negotiation_auto\": \"Forced 10G-FullD\",\n            \"status\": \"10G-FullD\",\n            \"mtu\": \"1600\",\n            \"type\": \"Fiber\",\n            \"wavelength\": \"1330\",\n            \"description\": \"\",\n            \"temperature\": 25.2,\n            \"pvid\": \"\",\n            \"admin_status\": \"Enabled\"\n        }\n    ]\n}"},{"id":"7fa26caf-dcbe-4c23-a314-49c9ad0ebce8","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_olt_uplink_ports_details/1"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"a45d6a94-3feb-479a-93c1-c9ef852818f4"},{"name":"Get ONU types list","id":"a7e7c676-fae5-4a1e-b7b3-35bda065202d","request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/get_onu_types","description":"<p>Gets a list of all ONU types as defined in SmartOLT ONU Types section.   </p>\n<p>Each ONU type consists of:</p>\n<ul>\n<li>unique ID</li>\n<li>name</li>\n<li>PON type (it can be \"gpon\" or \"epon\")</li>\n<li>capability (it can be \"Bridging\" or \"Bridging/Routing\")</li>\n<li>number of ethernet ports</li>\n<li>number of WiFi ports</li>\n<li>number of VoIP ports</li>\n<li>CATV</li>\n<li>if it allows custom ONU profiles (1 - it allows, 0 - it doesn't allow)</li>\n<li>band layout of the WiFi SSIDs: <code>wifi_radios</code>, <code>wifi_5g_first_slot</code> and <code>wifi_first_radio_band</code>, described below</li>\n</ul>\n<p><strong>WiFi band fields</strong></p>\n<p>SmartOLT puts the WiFi SSIDs of an ONU type into two groups, one per radio. The SSIDs before a boundary SSID form the first group. The boundary SSID and the SSIDs after it form the second group.</p>\n<ul>\n<li><code>wifi_radios</code>: <code>null</code>, <code>1</code> or <code>2</code>.<ul>\n<li><code>null</code>: no band layout is set. SmartOLT splits the SSIDs by their number: with 5 to 8 SSIDs the second group starts at SSID 5, with 9 or 10 at SSID 6, with 14 at SSID 8, with 16 at SSID 9. With any other number all SSIDs are in the first group.</li>\n<li><code>1</code>: single band. All SSIDs are on the 2.4 GHz radio.</li>\n<li><code>2</code>: dual band. The second group starts at <code>wifi_5g_first_slot</code>. When <code>wifi_5g_first_slot</code> is <code>null</code>, SmartOLT uses the split above; with 4 SSIDs the second group starts at SSID 3.</li>\n</ul>\n</li>\n<li><code>wifi_5g_first_slot</code>: the first SSID of the second group, from 2 to the number of SSIDs. It is <code>null</code> when <code>wifi_radios</code> is not <code>2</code>, or when SmartOLT uses the split by number.</li>\n<li><code>wifi_first_radio_band</code>: <code>\"5g\"</code> when the first group is on the 5 GHz radio and the second group on the 2.4 GHz radio. It is <code>null</code> when the first group is on 2.4 GHz. It is <code>\"5g\"</code> only for an ONU type with at least 5 SSIDs and <code>wifi_radios</code> other than <code>1</code>. SmartOLT sets it for ONU types named like a device model that has its 5 GHz SSIDs first, for example Tenda HG9 or V-SOL V2802ACT. When <code>wifi_first_radio_band</code> is <code>\"5g\"</code>, <code>wifi_5g_first_slot</code> is the first 2.4 GHz SSID.</li>\n</ul>\n<p>For an ONU that reports its WiFi radios over TR-069, SmartOLT uses the layout it reads from the ONU instead of these fields.</p>\n","urlObject":{"protocol":"https","path":["api","system","get_onu_types"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"20a40887-6ade-450e-803d-e281afccf552","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/get_onu_types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"id\": \"29\",\n            \"name\": \"ZTE-F623\",\n            \"pon_type\": \"gpon\",\n            \"capability\": \"Bridging/Routing\",\n            \"ethernet_ports\": 4,\n            \"wifi_ports\": 4,\n            \"voip_ports\": 2,\n            \"catv\": \"0\",\n            \"allow_custom_profiles\": \"0\",\n            \"wifi_radios\": null,\n            \"wifi_5g_first_slot\": null,\n            \"wifi_first_radio_band\": null\n        },\n        {\n            \"id\": \"30\",\n            \"name\": \"ZTE-F660\",\n            \"pon_type\": \"gpon\",\n            \"capability\": \"Bridging/Routing\",\n            \"ethernet_ports\": 4,\n            \"wifi_ports\": 4,\n            \"voip_ports\": 2,\n            \"catv\": \"0\",\n            \"allow_custom_profiles\": \"1\",\n            \"wifi_radios\": null,\n            \"wifi_5g_first_slot\": null,\n            \"wifi_first_radio_band\": null\n        },\n        {\n            \"id\": \"44\",\n            \"name\": \"ZTE-F401\",\n            \"pon_type\": \"epon\",\n            \"capability\": \"Bridging\",\n            \"ethernet_ports\": 1,\n            \"wifi_ports\": 1,\n            \"voip_ports\": 0,\n            \"catv\": \"0\",\n            \"allow_custom_profiles\": \"0\",\n            \"wifi_radios\": null,\n            \"wifi_5g_first_slot\": null,\n            \"wifi_first_radio_band\": null\n        },\n        {\n            \"id\": \"57\",\n            \"name\": \"HG9\",\n            \"pon_type\": \"gpon\",\n            \"capability\": \"Bridging/Routing\",\n            \"ethernet_ports\": 4,\n            \"wifi_ports\": 10,\n            \"voip_ports\": 1,\n            \"catv\": \"0\",\n            \"allow_custom_profiles\": \"0\",\n            \"wifi_radios\": 2,\n            \"wifi_5g_first_slot\": 6,\n            \"wifi_first_radio_band\": \"5g\"\n        }\n    ]\n}"},{"id":"52cd5e01-b41a-4b06-9332-3e08149e4206","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/get_onu_types"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"a7e7c676-fae5-4a1e-b7b3-35bda065202d"},{"name":"Get ONU types list by PON type","id":"0ebb5b74-ed00-4c8d-8d62-068549044134","request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/get_onu_types_by_pon_type/{{pon_type}}","description":"<p>Gets a list of ONU types by PON type (it can be \"gpon\" or \"epon\"), as defined in SmartOLT ONU Types section.   </p>\n<p>Each ONU type consists of:</p>\n<ul>\n<li>unique ID</li>\n<li>name</li>\n<li>PON type (it can be \"gpon\" or \"epon\")</li>\n<li>capability (it can be \"Bridging\" or \"Bridging/Routing\")</li>\n<li>number of ethernet ports</li>\n<li>number of WiFi ports</li>\n<li>number of VoIP ports</li>\n<li>CATV</li>\n<li>if it allows custom ONU profiles (1 - it allows, 0 - it doesn't allow)</li>\n<li>band layout of the WiFi SSIDs: <code>wifi_radios</code>, <code>wifi_5g_first_slot</code> and <code>wifi_first_radio_band</code>, described below</li>\n</ul>\n<p><strong>WiFi band fields</strong></p>\n<p>SmartOLT puts the WiFi SSIDs of an ONU type into two groups, one per radio. The SSIDs before a boundary SSID form the first group. The boundary SSID and the SSIDs after it form the second group.</p>\n<ul>\n<li><code>wifi_radios</code>: <code>null</code>, <code>1</code> or <code>2</code>.<ul>\n<li><code>null</code>: no band layout is set. SmartOLT splits the SSIDs by their number: with 5 to 8 SSIDs the second group starts at SSID 5, with 9 or 10 at SSID 6, with 14 at SSID 8, with 16 at SSID 9. With any other number all SSIDs are in the first group.</li>\n<li><code>1</code>: single band. All SSIDs are on the 2.4 GHz radio.</li>\n<li><code>2</code>: dual band. The second group starts at <code>wifi_5g_first_slot</code>. When <code>wifi_5g_first_slot</code> is <code>null</code>, SmartOLT uses the split above; with 4 SSIDs the second group starts at SSID 3.</li>\n</ul>\n</li>\n<li><code>wifi_5g_first_slot</code>: the first SSID of the second group, from 2 to the number of SSIDs. It is <code>null</code> when <code>wifi_radios</code> is not <code>2</code>, or when SmartOLT uses the split by number.</li>\n<li><code>wifi_first_radio_band</code>: <code>\"5g\"</code> when the first group is on the 5 GHz radio and the second group on the 2.4 GHz radio. It is <code>null</code> when the first group is on 2.4 GHz. It is <code>\"5g\"</code> only for an ONU type with at least 5 SSIDs and <code>wifi_radios</code> other than <code>1</code>. SmartOLT sets it for ONU types named like a device model that has its 5 GHz SSIDs first, for example Tenda HG9 or V-SOL V2802ACT. When <code>wifi_first_radio_band</code> is <code>\"5g\"</code>, <code>wifi_5g_first_slot</code> is the first 2.4 GHz SSID.</li>\n</ul>\n<p>For an ONU that reports its WiFi radios over TR-069, SmartOLT uses the layout it reads from the ONU instead of these fields.</p>\n","urlObject":{"protocol":"https","path":["api","system","get_onu_types_by_pon_type","{{pon_type}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"4a12e3cd-1827-4369-8337-3734d59d5ab0","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/get_onu_types_by_pon_type/gpon"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"id\": \"29\",\n            \"name\": \"ZTE-F623\",\n            \"pon_type\": \"gpon\",\n            \"capability\": \"Bridging/Routing\",\n            \"ethernet_ports\": 4,\n            \"wifi_ports\": 4,\n            \"voip_ports\": 2,\n            \"catv\": \"0\",\n            \"allow_custom_profiles\": \"0\",\n            \"wifi_radios\": null,\n            \"wifi_5g_first_slot\": null,\n            \"wifi_first_radio_band\": null\n        },\n        {\n            \"id\": \"30\",\n            \"name\": \"ZTE-F660\",\n            \"pon_type\": \"gpon\",\n            \"capability\": \"Bridging/Routing\",\n            \"ethernet_ports\": 4,\n            \"wifi_ports\": 4,\n            \"voip_ports\": 2,\n            \"catv\": \"0\",\n            \"allow_custom_profiles\": \"1\",\n            \"wifi_radios\": null,\n            \"wifi_5g_first_slot\": null,\n            \"wifi_first_radio_band\": null\n        },\n        {\n            \"id\": \"57\",\n            \"name\": \"HG9\",\n            \"pon_type\": \"gpon\",\n            \"capability\": \"Bridging/Routing\",\n            \"ethernet_ports\": 4,\n            \"wifi_ports\": 10,\n            \"voip_ports\": 1,\n            \"catv\": \"0\",\n            \"allow_custom_profiles\": \"0\",\n            \"wifi_radios\": 2,\n            \"wifi_5g_first_slot\": 6,\n            \"wifi_first_radio_band\": \"5g\"\n        }\n    ]\n}"},{"id":"ef93ccb5-cf25-4f34-a38a-b82c043158fa","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_onu_types_by_pon_type/{{pon_type}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid API Key.\"\n}"}],"_postman_id":"0ebb5b74-ed00-4c8d-8d62-068549044134"},{"name":"Get ONU type image","id":"3e4a5479-3935-4237-bb99-5945accd8bf4","request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/get_onu_type_image/{{onu_type_unique_id}}","description":"<p>Gets the ONU type image for a specified ONU type unique ID.  </p>\n<p>The response consists of:</p>\n<ul><li><p>Onu type png image</p></li></ul>\n\n  \n<p>It returns a 400 error code when:</p>\n<ul><li><p>no ONU type unique ID was provided</p></li><li><p>no ONU type was found for the provided unique ID</p></li></ul>\n\n<p>You can feed the response directly to an img tag in the src attribute with a Content-type header of \"image/png\".<br />Example:</p>\n<p><br />PHP<br /><code><br />header(\"Content-type: image/png\");<br />echo $response_image;<br /></code></p>\n\n<p><br />HTML<br /><code><br />img src=\"link_to_your_method_where_you_call_the_api\"<br /></code></p>","urlObject":{"protocol":"https","path":["api","system","get_onu_type_image","{{onu_type_unique_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"dfe6e52f-9ced-491b-b9f3-2166669ca2f6","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/get_onu_type_image/{{onu_type_unique_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"Onu type image"},{"id":"28dbd652-240c-4f1d-a25a-42b046835391","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/get_onu_type_image/{{onu_type_unique_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"3e4a5479-3935-4237-bb99-5945accd8bf4"},{"name":"Add ONU type","id":"c7c5e6af-2a3b-430b-adeb-6e5b7da7157a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"value":"ZTE-F660V6.0","key":"name","description":"<p>(Required, String) ONU type</p>\n","type":"text"},{"value":"gpon","key":"pon_type","description":"<p>(Required, String) ONU type PON type. Allowed values: gpon, epon</p>\n","type":"text"},{"value":"4","key":"ethernet_ports_nr","description":"<p>(Required, Int) The number of ethernet ports. Allowed values: 1, 2, 3, 4, 5, 8, 16, 24</p>\n","type":"text"},{"value":"0","key":"wifi_ssids_nr","description":"<p>(Required) (Int) The number of WiFi SSIDs. Allowed values: 0, 4, 8, 10</p>\n","type":"text"},{"value":"0","key":"voip_ports_nr","description":"<p>(Required, Int) The number of VoIP ports. Allowed values: 0, 1, 2</p>\n","type":"text"},{"value":"0","key":"catv","description":"<p>(Required, Int) 1 if it supports CATV, otherwise 0</p>\n","type":"text"},{"value":"1","key":"allow_custom_profiles","description":"<p>(Required, Int) 1 if it allows custom profiles, otherwise 0</p>\n","type":"text"},{"value":"Bridging/Routing","key":"capability","description":"<p>(Required, String) ONU type capability. Allowed values: Bridging/Routing, Bridging</p>\n","type":"text"},{"value":"2","key":"wifi_radios","description":"<p>(Int) Optional. 1 = single band, all SSIDs on 2.4 GHz. 2 = dual band, 2.4 GHz and 5 GHz. Needs <code>wifi_ssids_nr</code> 4, 8 or 10. Without it, SmartOLT splits the SSIDs by their number (see Get ONU types list).</p>\n","type":"text","disabled":true},{"value":"5","key":"wifi_5g_first_slot","description":"<p>(Int) Optional, only with <code>wifi_radios</code> 2. The first SSID of the second radio, from 2 to <code>wifi_ssids_nr</code>. Without it, the second radio starts at SSID 5 with 8 SSIDs, at SSID 6 with 10 SSIDs and at SSID 3 with 4 SSIDs.</p>\n","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_onu_type","description":"<p>Adds a new ONU type.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not add the ONU type.</p>\n<p><strong>WiFi bands</strong></p>\n<p><code>wifi_radios</code> and <code>wifi_5g_first_slot</code> set which radio each WiFi SSID uses. Get ONU types list describes the layout. The call cannot set which radio comes first: SmartOLT sets the 5 GHz first layout by itself when <code>name</code> matches a device model with its 5 GHz SSIDs first, for example <code>HG9</code> or <code>V2802ACT</code> (same letters, any case). For such a type <code>wifi_5g_first_slot</code> is the first 2.4 GHz SSID.</p>\n<p>SmartOLT answers HTTP 400 and does not add the ONU type when:</p>\n<ul>\n<li><code>wifi_ssids_nr</code> is not 0, 4, 8 or 10: <code>error_code</code> <code>incorrect_wifi_ssids_nr</code>.</li>\n<li><code>wifi_radios</code> is set to a value other than 1 or 2: <code>error_code</code> <code>incorrect_wifi_radios</code>.</li>\n<li><code>wifi_radios</code> is set and <code>wifi_ssids_nr</code> is 0: <code>error_code</code> <code>incorrect_wifi_radios</code>.</li>\n<li><code>wifi_5g_first_slot</code> is set and <code>wifi_radios</code> is not set, or is 1: <code>error_code</code> <code>incorrect_wifi_5g_first_slot</code>.</li>\n<li><code>wifi_5g_first_slot</code> is not a whole number from 2 to <code>wifi_ssids_nr</code>: <code>error_code</code> <code>incorrect_wifi_5g_first_slot</code>.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","system","add_onu_type"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"9f581144-fb85-4c4b-92ac-4c838498c336","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"ZTE-F660V6.0","type":"text"},{"key":"pon_type","value":"gpon","type":"text"},{"key":"ethernet_ports_nr","value":"4","type":"text"},{"key":"wifi_ssids_nr","value":"0","type":"text"},{"key":"voip_ports_nr","value":"0","type":"text"},{"key":"catv","value":"0","type":"text"},{"key":"allow_custom_profiles","value":"1","type":"text"},{"key":"capability","value":"Bridging/Routing","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_onu_type"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU type ZTE-F660V6.0 added successfully\"}"},{"id":"b4ca3d3c-1e36-405f-803b-b1694296f828","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"ZTE-F660V6.0","type":"text"},{"key":"pon_type","value":"gpon","type":"text"},{"key":"ethernet_ports_nr","value":"4","type":"text"},{"key":"wifi_ssids_nr","value":"0","type":"text"},{"key":"voip_ports_nr","value":"0","type":"text"},{"key":"catv","value":"0","type":"text"},{"key":"allow_custom_profiles","value":"1","type":"text"},{"key":"capability","value":"Bridging/Routing","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_onu_type"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"debfea46-d0d4-4c32-8809-bde2812386d5","name":"200 - OK, dual band","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"ZTE-F670L"},{"key":"pon_type","value":"gpon"},{"key":"ethernet_ports_nr","value":"4"},{"key":"wifi_ssids_nr","value":"8"},{"key":"voip_ports_nr","value":"0"},{"key":"catv","value":"0"},{"key":"allow_custom_profiles","value":"1"},{"key":"capability","value":"Bridging/Routing"},{"key":"wifi_radios","value":"2"},{"key":"wifi_5g_first_slot","value":"5"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_onu_type"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds","key":"Cache-Control"},{"value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection","key":"Connection"},{"value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)","key":"Content-Length"},{"value":"application/json","name":"Content-Type","description":"The mime type of this content","key":"Content-Type"},{"value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent","key":"Date"},{"value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale","key":"Expires"},{"value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header","key":"Keep-Alive"},{"value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain.","key":"Pragma"},{"value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server","key":"Server"},{"value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/ HttpOnly","name":"Set-Cookie","description":"an HTTP cookie","key":"Set-Cookie"},{"value":"200","name":"Status","description":"Custom header","key":"Status"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"ONU type ZTE-F670L added successfully\"\n}"},{"id":"d02cbe03-375f-4372-b675-3a56986aa6f7","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"ZTE-F670L"},{"key":"pon_type","value":"gpon"},{"key":"ethernet_ports_nr","value":"4"},{"key":"wifi_ssids_nr","value":"8"},{"key":"voip_ports_nr","value":"0"},{"key":"catv","value":"0"},{"key":"allow_custom_profiles","value":"1"},{"key":"capability","value":"Bridging/Routing"},{"key":"wifi_radios","value":"1"},{"key":"wifi_5g_first_slot","value":"5"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_onu_type"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"name":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds","key":"Cache-Control"},{"name":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection","key":"Connection"},{"name":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)","key":"Content-Length"},{"name":"Content-Type","value":"application/json","description":"The mime type of this content","key":"Content-Type"},{"name":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent","key":"Date"},{"name":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale","key":"Expires"},{"name":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header","key":"Keep-Alive"},{"name":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain.","key":"Pragma"},{"name":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server","key":"Server"},{"name":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/ HttpOnly","description":"an HTTP cookie","key":"Set-Cookie"},{"name":"Status","value":"200","description":"Custom header","key":"Status"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"wifi_5g_first_slot is only allowed with wifi_radios 2\",\n    \"error_code\": \"incorrect_wifi_5g_first_slot\"\n}"}],"_postman_id":"c7c5e6af-2a3b-430b-adeb-6e5b7da7157a"},{"name":"Get zones list","id":"569dbe0b-e254-4b92-afa0-da677e2e7537","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_zones","description":"<p>Gets a list of all zones as defined in SmartOLT Zones section. <br />\nEach zone consists of:</p>\n<ul>\n<li>unique ID</li>\n<li>name</li>\n</ul>","urlObject":{"protocol":"https","path":["api","system","get_zones"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"4dc7c278-5a44-4b51-addc-bb8f71a90505","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_zones"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"Zone 1\"\n        },\n        {\n            \"id\": \"2\",\n            \"name\": \"Zone 2\"\n        },\n        {\n            \"id\": \"3\",\n            \"name\": \"Zone 3\"\n        }\n    ]\n}"},{"id":"08754c54-20de-4ed4-92f9-766bc86709cc","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_zones"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"569dbe0b-e254-4b92-afa0-da677e2e7537"},{"name":"Add zone","id":"af25b3b5-5728-4b69-a821-227b28e4b54b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"zone","value":"City center","description":"<p>(Required, String) Zone name</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_zone","description":"<p>Adds a new zone.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not add the zone.</p>\n","urlObject":{"protocol":"https","path":["api","system","add_zone"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"ca55cded-e659-490d-b7b3-cf912cebe03a","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"zone","value":"City center","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_zone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Zone City center added successfully\"}"},{"id":"21ddb98d-87e5-43c2-8145-62f572f53c1f","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"zone","value":"City center","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_zone"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"af25b3b5-5728-4b69-a821-227b28e4b54b"},{"name":"Get Splitters list","id":"df0766e6-c470-46b8-b4f3-7c50a529a864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_odbs/{{zone_id}}","description":"<p>Gets a list of all Splitters as defined in SmartOLT Splitters section.</p>\n<p>If Zone ID is specified then it gets a list of all Splitters in that Zone.</p>\n<p>Each splitter consists of:</p>\n<ul><li><div>unique ID</div></li><li><div>name</div></li><li><div>latitude</div></li><li><div>longitude</div></li><li><div>external ID</div></li><li><div>zone ID</div></li><li><div>zone name</div></li></ul>","urlObject":{"protocol":"https","path":["api","system","get_odbs","{{zone_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"ae9641a7-db8c-4494-8ae3-d0d680a66976","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_odbs/{{zone_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"id\": \"2\",\n            \"name\": \"test odb\",\n            \"latitude\": \"44.4352497825479\",\n            \"longitude\": \"26.100036719531257\",\n            \"external_id\": \"ODB-A19\",\n            \"zone_id\": \"1\",\n            \"zone_name\": \"Zone 1\"\n        },\n        {\n            \"id\": \"3\",\n            \"name\": \"test odb2\",\n            \"latitude\": null,\n            \"longitude\": null,\n            \"external_id\": \"ODB-B\",\n            \"zone_id\": \"18\",\n            \"zone_name\": \"Zone 2\"\n        }\n    ]\n}"},{"id":"8de98c6b-2a9f-43fa-888c-2d4fd91bd143","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_odbs/{{zone_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid API Key.\"\n}"}],"_postman_id":"df0766e6-c470-46b8-b4f3-7c50a529a864"},{"name":"Add Splitter","id":"75695999-d968-4dbe-99be-6ef6083b2320","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) Zone name</p>\n","value":"City center","type":"text","key":"zone"},{"description":"<p>(Required, String) Splitter name</p>\n","value":"ODB 1","type":"text","key":"name"},{"description":"<p>(Int) The number of ports of the splitter</p>\n","value":"3","type":"text","key":"nr_of_ports"},{"description":"<p>(String) Latitude</p>\n","value":"52.5113340328893","type":"text","key":"latitude"},{"description":"<p>(String) Longitude</p>\n","value":"13.401282438647513","type":"text","key":"longitude"},{"uuid":"6c919007-2d4d-4b27-b790-06ac0eb2bc65","description":"<p>(String) Max 191 chars. Must not already be used by another splitter - enforced, <code>external_id_not_unique</code> (400). This is the key that identifies the splitter on edit/delete.</p>\n","value":"ODB-A19","type":"text","key":"external_id"},{"uuid":"45e2be67-6691-4860-b950-be3c4084f6bf","description":"<p>(Int) 1 or 2. Use 2 if port 1 of the Splitter is the input. Then the output ports start at 2. If you do not send it, the Splitter gets the default from General settings. Another value returns 400 <code>incorrect_first_port_number</code>.</p>\n","value":"1","type":"text","key":"first_port_number"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_odb","description":"<p>Adds a new splitter.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not add the splitter.</p>\n<p><code>error_code</code>: <code>specify_odb</code>, <code>incorrect_odb</code>, <code>odb_already_exists</code>, <code>specify_zone</code>, <code>incorrect_zone</code>, <code>incorrect_nr_of_ports</code>, <code>incorrect_latitude</code>, <code>incorrect_longitude</code>, <code>incorrect_external_id</code>, <code>odb_add_failed</code> (all 400); 403 when the key has no access to the zone.</p>\n<p><code>external_id</code> must not already be used by another splitter — <code>external_id_not_unique</code> (400).</p>\n","urlObject":{"protocol":"https","path":["api","system","add_odb"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"f09a8edf-3987-4915-9e93-ab5b27b0ec8c","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"zone","value":"City center","type":"text"},{"key":"name","value":"Center odb","type":"text"},{"key":"nr_of_ports","value":"10","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_odb"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\r\n    \"status\": true,\r\n    \"response\": {\r\n        \"id\": 12,\r\n        \"message\": \"ODB Block A added successfully\"\r\n    },\r\n    \"response_code\": \"success\"\r\n}"},{"id":"57791226-93fa-48e7-ae43-c095ef720ab5","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"zone","value":"City center","type":"text"},{"key":"name","value":"Center odb","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_odb"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Status","value":"403","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"75695999-d968-4dbe-99be-6ef6083b2320"},{"name":"Edit Splitter by unique external ID","id":"92d17093-0d17-4c82-9ccd-7f782d8ec6b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"value":"ODB Block A renamed","uuid":"58875780-9d63-4384-82b3-e19b0abebb3a","description":"<p>(String) Send only the fields you want to change — omitted fields are left untouched.</p>\n","type":"text","key":"name"},{"value":"Center","uuid":"3dc4aefb-d12e-42d6-97a9-233b271a7782","description":"<p>(String) Zone NAME. Moves the splitter to another zone.</p>\n","type":"text","key":"zone"},{"value":"24","uuid":"279a543f-eb5a-45dd-9984-08d15e97744f","description":"<p>(String) Cannot be lowered below the highest splitter port an ONU is currently connected to.</p>\n","type":"text","key":"nr_of_ports"},{"value":"44.4325","uuid":"b0b47bc6-af42-4b7c-bb1a-4eb2877aeb0c","type":"text","key":"latitude"},{"value":"26.1039","uuid":"40ed9e8d-a6b4-4ba6-8601-11b846700c6e","type":"text","key":"longitude"},{"value":"ODB-A19-NEW","uuid":"24adb279-5570-48e4-880e-dbbf216fbba3","description":"<p>(String) Sets a NEW external ID on the row - a value to write, NOT how the row is selected (selection is the URL segment or <code>odb_id</code>). Must not already be used by another splitter.</p>\n","type":"text","key":"external_id"},{"value":"{{odb_id}}","uuid":"a7cead89-fcc8-47d4-b813-5323581faa1e","description":"<p>(Int) Internal numeric ID. When sent, it takes precedence over the external ID in the URL segment. Use it when the external ID is ambiguous or contains characters a URL segment cannot carry.</p>\n","type":"text","key":"odb_id"},{"value":"1","uuid":"08c6bdcc-da3e-4751-9c20-2949a0643d0b","description":"<p>(Int) 1 or 2. Use 2 if port 1 of the Splitter is the input. Then the output ports start at 2. If you do not send it, the Splitter keeps its current first port number. Another value returns 400 <code>incorrect_first_port_number</code>.</p>\n","type":"text","key":"first_port_number"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/edit_odb/{{odb_external_id}}","description":"<p>Update an existing splitter by its unique external ID. At least one field must be sent, otherwise the call fails with <code>nothing_to_update</code>.</p>\n<p><strong>Selecting the Splitter.</strong> The URL segment is the splitter's unique <code>external_id</code>. Alternatively post <code>odb_id</code> with the internal numeric ID - if both are provided, then the internal ID is used to select the splitter.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not change the splitter.</p>\n<p><code>error_code</code>: <code>specify_odb_id</code> (400, neither selector sent), <code>odb_does_not_exist</code> (400), 403 with <code>error_code</code> <code>forbidden</code> when the key has no access to the splitter's zone or the splitter itself, <code>nr_of_ports_below_used</code> (400), <code>nothing_to_update</code> (400), plus the same field-validation codes as Add Splitter.</p>\n<p>Setting <code>external_id</code> to a value already used by another splitter fails with <code>external_id_not_unique</code> (400).</p>\n","urlObject":{"protocol":"https","path":["api","system","edit_odb","{{odb_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"dfbbd248-db6e-40bc-99ad-c9421a11aa65","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"test","type":"text","uuid":"c7cae0f6-8fc8-41b5-9d04-1d6388562891"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/edit_odb/{{odb_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"ODB updated successfully\",\n    \"response_code\": \"success\"\n}"}],"_postman_id":"92d17093-0d17-4c82-9ccd-7f782d8ec6b2"},{"name":"Delete Splitter by unique external ID","id":"5ef233cf-05a8-4209-ac04-7dcbf600b122","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"odb_id","value":"{{odb_id}}","description":"<p>(Int) Internal numeric ID; takes precedence over the URL segment.</p>\n","type":"text","uuid":"7cbbaca1-29f7-4d92-b052-1c8795bf66af"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/delete_odb/{{odb_external_id}}","description":"<p>Deletes a splitter.</p>\n<p><strong>Selecting the splitter.</strong> The URL segment is the <code>external_id</code> of the splitter. You can also post <code>odb_id</code> with the internal numeric ID. When the request has both, SmartOLT uses <code>odb_id</code>.</p>\n<p><strong>What the delete removes.</strong> The API has no confirmation step. SmartOLT deletes the splitter in one transaction with its cables, its fiber splices, its input links and its closed tickets.</p>\n<p>SmartOLT checks the request in this order and stops at the first refusal. A refused request deletes nothing and changes nothing. The refusals are:</p>\n<ul>\n<li>the API key is read-only: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>Readonly API Key doesn't have rights to make changes.</code></li>\n<li>the URL has no external ID and the request has no <code>odb_id</code>: HTTP 400, <code>error_code</code> <code>specify_odb_id</code>, message <code>Invalid parameters: Please specify the ODB external ID or the odb_id</code>.</li>\n<li>two or more splitters have this external ID: HTTP 409, <code>error_code</code> <code>ambiguous_external_id</code>, message <code>Multiple ODBs share the external ID &lt;external_id&gt;; use the odb_id parameter instead</code>.</li>\n<li>no splitter has this external ID or this <code>odb_id</code>: HTTP 400, <code>error_code</code> <code>odb_does_not_exist</code>, message <code>Invalid parameters: ODB does not exist</code>.</li>\n<li>the data access group of the API key does not include the zone of the splitter, or does not include the splitter itself: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>The API key does not have access to this ODB</code>.</li>\n<li>ONUs are assigned to the splitter: HTTP 409, <code>error_code</code> <code>odb_in_use</code>, message <code>This ODB is assigned to &lt;count&gt; ONU(s) and cannot be deleted</code>. <code>&lt;count&gt;</code> is the number of these ONUs.</li>\n<li>the splitter has open tickets: HTTP 409, <code>error_code</code> <code>odb_has_tickets</code>, message <code>This ODB has &lt;count&gt; open ticket(s) and cannot be deleted</code>. <code>&lt;count&gt;</code> is the number of open tickets.</li>\n<li>a fiber route starts or ends at the splitter: HTTP 409, <code>error_code</code> <code>odb_has_fiber_routes</code>, message <code>This ODB is the end of a fiber route and cannot be deleted</code>.</li>\n<li>the database does not save the delete: HTTP 500, <code>error_code</code> <code>odb_delete_failed</code>, message <code>The ODB could not be deleted</code>.</li>\n</ul>\n<p>On success, <code>response</code> is <code>ODB &lt;name&gt; deleted successfully</code>.</p>\n","urlObject":{"protocol":"https","path":["api","system","delete_odb","{{odb_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"85cba5de-2a72-4e34-a5ce-9018b1a29f8b","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_odb/{{odb_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"ODB ODB Block A deleted successfully\",\n    \"response_code\": \"success\"\n}"},{"id":"e12c5657-ba9f-4b96-9901-eab3012b4da7","name":"403 - Read-only API key","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_odb/{{odb_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Readonly API Key doesn't have rights to make changes.\",\n    \"error_code\": \"forbidden\"\n}"},{"id":"46f905a5-d099-4570-a9bb-e709538de63a","name":"409 - ONUs assigned to the splitter","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_odb/{{odb_external_id}}"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"This ODB is assigned to 4 ONU(s) and cannot be deleted\",\n    \"error_code\": \"odb_in_use\"\n}"},{"id":"9307cb6e-61c5-4220-bebc-4c5d486da49d","name":"409 - Open tickets on the splitter","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_odb/{{odb_external_id}}"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"This ODB has 2 open ticket(s) and cannot be deleted\",\n    \"error_code\": \"odb_has_tickets\"\n}"},{"id":"3a5453b4-20eb-4eb4-9a9e-8142fcffe8e6","name":"409 - Fiber route ends at the splitter","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_odb/{{odb_external_id}}"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"This ODB is the end of a fiber route and cannot be deleted\",\n    \"error_code\": \"odb_has_fiber_routes\"\n}"}],"_postman_id":"5ef233cf-05a8-4209-ac04-7dcbf600b122"},{"name":"Get Distribution cabinets list","id":"03d6440d-21ec-68fe-c9c6-ad8ac13f435e","request":{"method":"GET","header":[{"key":"X-Token","description":"<p>(Required) The API token</p>\n","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_cabinets/{{zone_id}}","description":"<p>Gets a list of the distribution cabinets that the API key can see, sorted by name.</p>\n<p>If a zone ID is specified, the list has only the distribution cabinets in that zone. Leave out the zone ID, or send 0, to get every distribution cabinet that the API key can see.</p>\n<p>An API key with a data access group sees the distribution cabinets in the zones of that group. It also sees the distribution cabinets that have no zone. A distribution cabinet with no zone is listed only when you leave out the zone ID or send 0.</p>\n<p>The call returns HTTP 200 with an empty list in these cases:</p>\n<ul>\n<li>no zone has this zone ID;</li>\n<li>the zone is not in the data access group of the API key;</li>\n<li>the zone has no distribution cabinets.</li>\n</ul>\n<p>Each distribution cabinet consists of:</p>\n<ul>\n<li><code>id</code>: the unique ID;</li>\n<li><code>name</code>: the name;</li>\n<li><code>latitude</code> and <code>longitude</code>: the position on the map. Both are <code>null</code> when the cabinet has no position;</li>\n<li><code>note</code>: the note, or <code>null</code> when the cabinet has no note;</li>\n<li><code>address</code>: the address, or <code>null</code> when the cabinet has no address yet. SmartOLT looks up the address from the position in the background, unless a user typed the address;</li>\n<li><code>address_auto</code>: <code>1</code> when SmartOLT fills the address, <code>0</code> when a user typed it;</li>\n<li><code>address_pending_since</code>: the time since the cabinet waits for its automatic address, or <code>null</code> when it does not wait;</li>\n<li><code>external_id</code>: the unique external ID, or <code>null</code> when the cabinet has no external ID;</li>\n<li><code>zone_id</code>: the zone ID, or <code>null</code> when the cabinet has no zone;</li>\n<li><code>zone_name</code>: the zone name, or an empty string when the cabinet has no zone.</li>\n</ul>\n<p>All values are strings, except the <code>null</code> values.</p>\n","urlObject":{"protocol":"https","path":["api","system","get_cabinets","{{zone_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"14dddba8-0df8-4406-9848-285177522d38","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_cabinets/{{zone_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": [\n        {\n            \"id\": \"4\",\n            \"name\": \"Cabinet North\",\n            \"latitude\": \"52.5113340328893\",\n            \"longitude\": \"13.401282438647513\",\n            \"note\": \"Behind the school\",\n            \"address\": \"Example Street 10\",\n            \"address_auto\": \"1\",\n            \"address_pending_since\": null,\n            \"external_id\": \"CAB-12\",\n            \"zone_id\": \"1\",\n            \"zone_name\": \"City center\"\n        },\n        {\n            \"id\": \"7\",\n            \"name\": \"Cabinet South\",\n            \"latitude\": null,\n            \"longitude\": null,\n            \"note\": null,\n            \"address\": null,\n            \"address_auto\": \"1\",\n            \"address_pending_since\": null,\n            \"external_id\": null,\n            \"zone_id\": null,\n            \"zone_name\": \"\"\n        }\n    ],\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"a4be4603-35d8-4c6b-9316-61b657e9c3e9","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_cabinets/{{zone_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid API Key.\"\n}"}],"_postman_id":"03d6440d-21ec-68fe-c9c6-ad8ac13f435e"},{"name":"Add Distribution cabinet","id":"954ce6b0-dc66-4733-e09c-c95da5c190ee","request":{"method":"POST","header":[{"key":"X-Token","description":"<p>(Required) The API token</p>\n","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","type":"text","description":"<p>(Required) (String) Required. Unique in its zone. SmartOLT saves at most 500 characters. An empty value returns HTTP 400 with <code>error_code</code> <code>specify_cabinet_name</code>.</p>\n","value":"Cabinet North"},{"key":"zone","type":"text","description":"<p>(String) Zone name. It must name an existing zone; SmartOLT does not create zones here. A name that matches no zone returns HTTP 400 with <code>error_code</code> <code>zone_does_not_exist</code>.</p>\n","value":"City center"},{"key":"latitude","type":"text","description":"<p>(String) A number greater than -90 and less than 90. Another value returns HTTP 400 with <code>error_code</code> <code>incorrect_latitude</code>.</p>\n","value":"52.5113340328893"},{"key":"longitude","type":"text","description":"<p>(String) A number from -180 to 180. Another value returns HTTP 400 with <code>error_code</code> <code>incorrect_longitude</code>.</p>\n","value":"13.401282438647513"},{"key":"external_id","type":"text","description":"<p>(String) At most 191 characters, and not used by another distribution cabinet. This is the key that selects the cabinet on edit and delete. A longer value returns HTTP 400 with <code>error_code</code> <code>incorrect_external_id</code>; a used value returns HTTP 400 with <code>error_code</code> <code>external_id_not_unique</code>.</p>\n","value":"CAB-12"},{"key":"note","type":"text","description":"<p>(String) SmartOLT saves at most 2000 characters.</p>\n","value":"Behind the school"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_cabinet","description":"<p>Adds a new distribution cabinet. Only <code>name</code> is required.</p>\n<p><strong>Zone.</strong> <code>zone</code> is the zone name, as returned by Get zones. When you leave out <code>zone</code> or send it empty, the cabinet has no zone. There is one exception: an API key whose data access group has exactly one zone puts the cabinet in that zone.</p>\n<p><strong>Position.</strong> The cabinet gets a position on the map only when the request has both <code>latitude</code> and <code>longitude</code> and they are not both 0. When the request has only one of them, or both are 0, SmartOLT saves the cabinet without a position and returns no error.</p>\n<p><strong>Other fields.</strong> SmartOLT removes the spaces at the start and the end of <code>name</code>, <code>external_id</code> and <code>note</code>. SmartOLT saves at most 500 characters of <code>name</code> and 2000 characters of <code>note</code>, and cuts a longer value. An empty <code>external_id</code> or <code>note</code> saves the cabinet without that field.</p>\n<p>SmartOLT checks the request in this order and stops at the first refusal. A refused request creates nothing. The refusals are:</p>\n<ul>\n<li>the API key is read-only: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>Readonly API Key doesn't have rights to make changes.</code></li>\n<li><code>zone</code> contains a character other than a letter (a-z, A-Z), a digit, a space, an underscore, a dot or a dash: HTTP 400, <code>error_code</code> <code>incorrect_zone</code>, message <code>Invalid parameters: The zone can contain only alphanumeric characters, spaces, underscore, dot and the dash (-) character</code>.</li>\n<li><code>zone</code> names a zone that is not in the data access group of the API key: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>The API key does not have access to this zone</code>.</li>\n<li><code>zone</code> matches no zone name: HTTP 400, <code>error_code</code> <code>zone_does_not_exist</code>, message <code>Invalid parameters: Zone does not exist</code>. SmartOLT does not create the zone.</li>\n<li><code>zone</code> is missing or empty, the API key has a data access group, and the group has two or more zones: HTTP 400, <code>error_code</code> <code>specify_zone</code>, message <code>Invalid parameters: Please specify a zone</code>.</li>\n<li><code>name</code> is empty or contains only spaces: HTTP 400, <code>error_code</code> <code>specify_cabinet_name</code>, message <code>Invalid parameters: Please specify a name for the cabinet</code>.</li>\n<li>another distribution cabinet in the same zone has the same name: HTTP 400, <code>error_code</code> <code>cabinet_already_exists</code>, message <code>Invalid parameters: A cabinet with the same name already exists on this zone</code>. The comparison ignores letter case. When the cabinet has no zone, the name must be unique among the distribution cabinets that have no zone.</li>\n<li><code>latitude</code> is not empty and is not a number greater than -90 and less than 90: HTTP 400, <code>error_code</code> <code>incorrect_latitude</code>, message <code>Invalid parameters: The Latitude is invalid</code>.</li>\n<li><code>longitude</code> is not empty and is not a number from -180 to 180: HTTP 400, <code>error_code</code> <code>incorrect_longitude</code>, message <code>Invalid parameters: The Longitude is invalid</code>.</li>\n<li><code>external_id</code> is longer than 191 characters: HTTP 400, <code>error_code</code> <code>incorrect_external_id</code>, message <code>Invalid parameters: The external ID is too long (maximum 191 characters)</code>.</li>\n<li>another distribution cabinet already has this <code>external_id</code>: HTTP 400, <code>error_code</code> <code>external_id_not_unique</code>, message <code>Invalid parameters: The external ID &lt;external_id&gt; is already used by another cabinet</code>. The comparison ignores letter case and trailing spaces.</li>\n<li>the database does not save the cabinet: HTTP 400, <code>error_code</code> <code>cabinet_add_failed</code>, message <code>Invalid parameters: The adding of the cabinet failed</code>.</li>\n</ul>\n<p>On success, <code>response.id</code> is the ID of the new cabinet and <code>response.message</code> is <code>Distribution cabinet &lt;name&gt; added successfully</code>.</p>\n","urlObject":{"protocol":"https","path":["api","system","add_cabinet"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"472a6016-3a9a-4f21-baf2-803a006ef1db","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Cabinet North"},{"key":"zone","value":"City center"},{"key":"latitude","value":"52.5113340328893"},{"key":"longitude","value":"13.401282438647513"},{"key":"external_id","value":"CAB-12"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_cabinet"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"id\": 12,\n        \"message\": \"Distribution cabinet Cabinet North added successfully\"\n    },\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"1fdc73e0-20e4-46c9-9c0a-1ba4fb7cb5d3","name":"400 - Name already used in the zone","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Cabinet North"},{"key":"zone","value":"City center"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_cabinet"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: A cabinet with the same name already exists on this zone\",\n    \"error_code\": \"cabinet_already_exists\"\n}"},{"id":"bb40bd8e-2dfc-43a6-bfd2-7d9c9c9bb4b8","name":"400 - Zone does not exist","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Cabinet North"},{"key":"zone","value":"Old town"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_cabinet"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Zone does not exist\",\n    \"error_code\": \"zone_does_not_exist\"\n}"},{"id":"97c1a115-82cf-4218-9bcd-dc0e48dc9512","name":"400 - External ID already used","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Cabinet East"},{"key":"external_id","value":"CAB-12"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_cabinet"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: The external ID CAB-12 is already used by another cabinet\",\n    \"error_code\": \"external_id_not_unique\"\n}"},{"id":"91a811b9-b405-4578-8030-70b6db1b8749","name":"403 - Read-only API key","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Cabinet North"},{"key":"zone","value":"City center"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_cabinet"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Readonly API Key doesn't have rights to make changes.\",\n    \"error_code\": \"forbidden\"\n}"},{"id":"6d459c3b-925e-48cb-a984-c563417eda23","name":"403 - No access to the zone","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Cabinet North"},{"key":"zone","value":"City center"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/add_cabinet"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"The API key does not have access to this zone\",\n    \"error_code\": \"forbidden\"\n}"}],"_postman_id":"954ce6b0-dc66-4733-e09c-c95da5c190ee"},{"name":"Edit Distribution cabinet by unique external ID","id":"31c16775-2882-0367-f7bb-9e5aa9ebfd6a","request":{"method":"POST","header":[{"key":"X-Token","description":"<p>(Required) The API token</p>\n","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","type":"text","description":"<p>(String) New name. It must be unique in the zone of the cabinet. An empty value returns HTTP 400 with <code>error_code</code> <code>specify_cabinet_name</code>.</p>\n","value":"Cabinet North 2"},{"key":"zone","type":"text","description":"<p>(String) Zone name. Moves the cabinet to that zone. An empty value removes the cabinet from its zone.</p>\n","value":"City center"},{"key":"latitude","type":"text","description":"<p>(String) A number greater than -90 and less than 90. Another value returns HTTP 400 with <code>error_code</code> <code>incorrect_latitude</code>.</p>\n","value":"52.5115"},{"key":"longitude","type":"text","description":"<p>(String) A number from -180 to 180. Another value returns HTTP 400 with <code>error_code</code> <code>incorrect_longitude</code>.</p>\n","value":"13.4015"},{"key":"external_id","type":"text","description":"<p>(String) Sets a new external ID. It does not select the cabinet: the URL segment or <code>cabinet_id</code> does. At most 191 characters, and not used by another distribution cabinet. An empty value removes the external ID.</p>\n","value":"CAB-12-NEW"},{"key":"note","type":"text","description":"<p>(String) New note. SmartOLT saves at most 2000 characters. An empty value removes the note.</p>\n","value":"Gate code at the office"},{"key":"cabinet_id","type":"text","description":"<p>(Int) Internal numeric ID, as returned by Get Distribution cabinets list. When sent, it takes precedence over the external ID in the URL segment.</p>\n","value":"{{cabinet_id}}"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/edit_cabinet/{{cabinet_external_id}}","description":"<p>Updates an existing distribution cabinet. Send only the fields you want to change. SmartOLT does not change the fields that the request leaves out.</p>\n<p><strong>Selecting the distribution cabinet.</strong> The URL segment is the unique <code>external_id</code> of the cabinet. The match ignores letter case. You can also post <code>cabinet_id</code> with the internal numeric ID. When the request has both, SmartOLT uses <code>cabinet_id</code>.</p>\n<p><strong>Clearing a field.</strong> An empty <code>zone</code> removes the cabinet from its zone; an API key whose data access group has exactly one zone puts the cabinet in that zone instead. An empty <code>external_id</code> removes the external ID; after that, only <code>cabinet_id</code> selects the cabinet. An empty <code>note</code> removes the note.</p>\n<p><strong>Position.</strong> When the request has only <code>latitude</code> or only <code>longitude</code>, SmartOLT pairs it with the stored other coordinate. SmartOLT removes the position when the resulting pair has an empty coordinate or is 0, 0.</p>\n<p><strong>Zone change.</strong> When the request moves the cabinet to another zone without a new <code>name</code>, the current name must be unique in the new zone.</p>\n<p>SmartOLT removes the spaces at the start and the end of <code>name</code>, <code>external_id</code> and <code>note</code>. It saves at most 500 characters of <code>name</code> and 2000 characters of <code>note</code>, and cuts a longer value.</p>\n<p>SmartOLT checks the zone only when the request has <code>zone</code>, and the other fields only when the request has them.</p>\n<p>SmartOLT checks the request in this order and stops at the first refusal. A refused request changes nothing. The refusals are:</p>\n<ul>\n<li>the API key is read-only: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>Readonly API Key doesn't have rights to make changes.</code></li>\n<li>the URL has no external ID and the request has no <code>cabinet_id</code>: HTTP 400, <code>error_code</code> <code>specify_cabinet_id</code>, message <code>Invalid parameters: Please specify the cabinet external ID or the cabinet_id</code>.</li>\n<li>no distribution cabinet has this external ID or this <code>cabinet_id</code>: HTTP 400, <code>error_code</code> <code>cabinet_does_not_exist</code>, message <code>Invalid parameters: Distribution cabinet does not exist</code>.</li>\n<li>the distribution cabinet is in a zone that is not in the data access group of the API key: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>The API key does not have access to this cabinet</code>.</li>\n<li><code>zone</code> contains a character other than a letter (a-z, A-Z), a digit, a space, an underscore, a dot or a dash: HTTP 400, <code>error_code</code> <code>incorrect_zone</code>, message <code>Invalid parameters: The zone can contain only alphanumeric characters, spaces, underscore, dot and the dash (-) character</code>.</li>\n<li><code>zone</code> names a zone that is not in the data access group of the API key: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>The API key does not have access to this zone</code>.</li>\n<li><code>zone</code> matches no zone name: HTTP 400, <code>error_code</code> <code>zone_does_not_exist</code>, message <code>Invalid parameters: Zone does not exist</code>. SmartOLT does not create the zone.</li>\n<li><code>zone</code> is empty, the API key has a data access group, and the group has two or more zones: HTTP 400, <code>error_code</code> <code>specify_zone</code>, message <code>Invalid parameters: Please specify a zone</code>.</li>\n<li><code>name</code> is empty or contains only spaces: HTTP 400, <code>error_code</code> <code>specify_cabinet_name</code>, message <code>Invalid parameters: Please specify a name for the cabinet</code>.</li>\n<li>another distribution cabinet in the same zone has the same name: HTTP 400, <code>error_code</code> <code>cabinet_already_exists</code>, message <code>Invalid parameters: A cabinet with the same name already exists on this zone</code>. The comparison ignores letter case. When the cabinet has no zone, the name must be unique among the distribution cabinets that have no zone.</li>\n<li><code>latitude</code> is not empty and is not a number greater than -90 and less than 90: HTTP 400, <code>error_code</code> <code>incorrect_latitude</code>, message <code>Invalid parameters: The Latitude is invalid</code>.</li>\n<li><code>longitude</code> is not empty and is not a number from -180 to 180: HTTP 400, <code>error_code</code> <code>incorrect_longitude</code>, message <code>Invalid parameters: The Longitude is invalid</code>.</li>\n<li><code>external_id</code> is longer than 191 characters: HTTP 400, <code>error_code</code> <code>incorrect_external_id</code>, message <code>Invalid parameters: The external ID is too long (maximum 191 characters)</code>.</li>\n<li>another distribution cabinet already has this <code>external_id</code>: HTTP 400, <code>error_code</code> <code>external_id_not_unique</code>, message <code>Invalid parameters: The external ID &lt;external_id&gt; is already used by another cabinet</code>. The comparison ignores letter case and trailing spaces.</li>\n<li>the request has none of <code>zone</code>, <code>name</code>, <code>latitude</code>, <code>longitude</code>, <code>external_id</code> and <code>note</code>: HTTP 400, <code>error_code</code> <code>nothing_to_update</code>, message <code>Invalid parameters: No fields to update were provided</code>.</li>\n<li>the database does not save the change: HTTP 500, <code>error_code</code> <code>cabinet_update_failed</code>, message <code>Could not update the cabinet</code>.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","system","edit_cabinet","{{cabinet_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"331115e1-63b6-4727-b783-68732e028e5a","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Cabinet North 2"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/edit_cabinet/{{cabinet_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": \"Distribution cabinet updated successfully\",\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"e025afa7-7c1f-4ba1-ab9a-f6898c68bf91","name":"400 - Cabinet does not exist","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Cabinet North 2"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/edit_cabinet/{{cabinet_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Distribution cabinet does not exist\",\n    \"error_code\": \"cabinet_does_not_exist\"\n}"},{"id":"ccf10443-2b5a-4f38-81dd-661360f47fc8","name":"400 - Nothing to update","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/edit_cabinet/{{cabinet_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No fields to update were provided\",\n    \"error_code\": \"nothing_to_update\"\n}"},{"id":"adca6b04-1eda-45f5-8059-178b1b5584f6","name":"400 - External ID already used","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"external_id","value":"CAB-14"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/edit_cabinet/{{cabinet_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: The external ID CAB-14 is already used by another cabinet\",\n    \"error_code\": \"external_id_not_unique\"\n}"},{"id":"27a492e6-5333-4cfb-b3ef-706e28a80f7f","name":"403 - Read-only API key","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Cabinet North 2"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/edit_cabinet/{{cabinet_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Readonly API Key doesn't have rights to make changes.\",\n    \"error_code\": \"forbidden\"\n}"},{"id":"be5d89b3-370f-4e51-9a12-a183d6816971","name":"403 - No access to the cabinet","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Cabinet North 2"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/edit_cabinet/{{cabinet_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"The API key does not have access to this cabinet\",\n    \"error_code\": \"forbidden\"\n}"}],"_postman_id":"31c16775-2882-0367-f7bb-9e5aa9ebfd6a"},{"name":"Delete Distribution cabinet by unique external ID","id":"e3915222-7fd6-1520-1b81-489a24650bc4","request":{"method":"POST","header":[{"value":"{{api_key}}","description":"<p>(Required) The API token</p>\n","key":"X-Token"}],"body":{"mode":"urlencoded","urlencoded":[{"value":"{{cabinet_id}}","description":"<p>(Int) Internal numeric ID, as returned by Get Distribution cabinets list. When sent, it takes precedence over the external ID in the URL segment.</p>\n","type":"text","key":"cabinet_id"}]},"url":"https://{{subdomain}}.smartolt.com/api/system/delete_cabinet/{{cabinet_external_id}}","description":"<p>Deletes a distribution cabinet.</p>\n<p><strong>Selecting the distribution cabinet.</strong> The URL segment is the unique <code>external_id</code> of the cabinet. The match ignores letter case. You can also post <code>cabinet_id</code> with the internal numeric ID. When the request has both, SmartOLT uses <code>cabinet_id</code>.</p>\n<p><strong>What the delete changes.</strong> SmartOLT deletes the cabinet in one transaction with these changes:</p>\n<ul>\n<li>the splitters that are directly in the cabinet leave it. They keep their position on the map;</li>\n<li>the ODFs and splitter boxes in the cabinet leave it. The splitters in those splitter boxes stay in their boxes;</li>\n<li>the splices and splice flips at the cabinet are deleted;</li>\n<li>the fiber routes that pass through the cabinet no longer pass through it. The routes stay.</li>\n</ul>\n<p>SmartOLT checks the request in this order and stops at the first refusal. A refused request deletes nothing and changes nothing. The refusals are:</p>\n<ul>\n<li>the API key is read-only: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>Readonly API Key doesn't have rights to make changes.</code></li>\n<li>the URL has no external ID and the request has no <code>cabinet_id</code>: HTTP 400, <code>error_code</code> <code>specify_cabinet_id</code>, message <code>Invalid parameters: Please specify the cabinet external ID or the cabinet_id</code>.</li>\n<li>no distribution cabinet has this external ID or this <code>cabinet_id</code>: HTTP 400, <code>error_code</code> <code>cabinet_does_not_exist</code>, message <code>Invalid parameters: Distribution cabinet does not exist</code>.</li>\n<li>the distribution cabinet is in a zone that is not in the data access group of the API key: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>The API key does not have access to this cabinet</code>.</li>\n<li>a fiber route starts or ends at the cabinet: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>This cabinet is connected to a fiber route and cannot be deleted</code>.</li>\n<li>sector restrictions are on in SmartOLT, the data access group of the API key has sectors, and a splitter directly in the cabinet has none of these sectors: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>This cabinet houses &lt;count&gt; ODB(s) and cannot be deleted</code>. <code>&lt;count&gt;</code> is the number of all splitters directly in the cabinet.</li>\n<li>another change holds the cabinet and SmartOLT cannot lock it: HTTP 400, <code>error_code</code> <code>cabinet_delete_failed</code>, message <code>Invalid parameters: Another change was using the cabinet at the same time, so the cabinet was not deleted. Try again.</code></li>\n<li>another request deleted the cabinet after the first checks: HTTP 400, <code>error_code</code> <code>cabinet_does_not_exist</code>, message <code>Invalid parameters: Distribution cabinet does not exist. Nothing was deleted</code>.</li>\n<li>a fiber route started or ended at the cabinet while SmartOLT checked it: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>This cabinet is connected to a fiber route and cannot be deleted</code>.</li>\n<li>a fiber reserve is recorded at the cabinet: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>A fiber reserve is recorded at this cabinet. Delete the reserve first; the cabinet was not deleted</code>.</li>\n<li>a splice still uses a splitter of the cabinet: HTTP 403, <code>error_code</code> <code>forbidden</code>, message <code>A splitter in this cabinet still has splices. Delete those splices first</code>. This covers a splice in the cabinet that uses a splitter directly in the cabinet, a splice at a splitter box in the cabinet, and a splice at, or with, a splitter in such a box.</li>\n<li>the database does not save the delete: HTTP 400, <code>error_code</code> <code>cabinet_delete_failed</code>, message <code>Invalid parameters: The deleting of the cabinet failed</code>.</li>\n</ul>\n<p>On success, <code>response</code> is <code>Distribution cabinet &lt;name&gt; deleted successfully</code>.</p>\n","urlObject":{"protocol":"https","path":["api","system","delete_cabinet","{{cabinet_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"19f2d4ae-3633-4088-878b-f6472e310498","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_cabinet/{{cabinet_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": \"Distribution cabinet Cabinet North deleted successfully\",\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"b839da80-435e-4851-920d-25ca4b3429ad","name":"400 - Cabinet does not exist","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_cabinet/{{cabinet_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Distribution cabinet does not exist. Nothing was deleted\",\n    \"error_code\": \"cabinet_does_not_exist\"\n}"},{"id":"62217fae-2eda-47ce-bba4-15460698ebc0","name":"400 - Cabinet used by another change","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_cabinet/{{cabinet_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Another change was using the cabinet at the same time, so the cabinet was not deleted. Try again.\",\n    \"error_code\": \"cabinet_delete_failed\"\n}"},{"id":"653324e2-2a40-431b-9264-55fee43dc737","name":"403 - Read-only API key","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_cabinet/{{cabinet_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Readonly API Key doesn't have rights to make changes.\",\n    \"error_code\": \"forbidden\"\n}"},{"id":"b3e92e3f-dd81-447e-b223-e90ce46a9770","name":"403 - Connected to a fiber route","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_cabinet/{{cabinet_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"This cabinet is connected to a fiber route and cannot be deleted\",\n    \"error_code\": \"forbidden\"\n}"},{"id":"779c2a31-9a09-453e-a98d-ceb320ccae85","name":"403 - Fiber reserve at the cabinet","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_cabinet/{{cabinet_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"A fiber reserve is recorded at this cabinet. Delete the reserve first; the cabinet was not deleted\",\n    \"error_code\": \"forbidden\"\n}"},{"id":"3810d542-30f0-49a1-b176-182efbe148f7","name":"403 - Splitters outside the sectors of the API key","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_cabinet/{{cabinet_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"This cabinet houses 3 ODB(s) and cannot be deleted\",\n    \"error_code\": \"forbidden\"\n}"},{"id":"17b5a1dd-fb64-446b-8939-bd55f3a875fa","name":"403 - Splitter with splices","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/delete_cabinet/{{cabinet_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"A splitter in this cabinet still has splices. Delete those splices first\",\n    \"error_code\": \"forbidden\"\n}"}],"_postman_id":"e3915222-7fd6-1520-1b81-489a24650bc4"},{"name":"Get speed profiles list","id":"a1853ef6-45d9-4745-9c42-05c1060eab9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_speed_profiles","description":"<p>Gets a list of all speed profiles as defined in SmartOLT Speed profiles section. <br />\nEach speed profile consists of:</p>\n<ul>\n<li>unique ID</li>\n<li>name</li>\n<li>speed</li>\n<li>direction: upload or download</li>\n<li>type: iptv or internet</li>\n</ul>","urlObject":{"protocol":"https","path":["api","system","get_speed_profiles"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"cd4adfa1-99de-4689-b62f-5607f6019390","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_speed_profiles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n       {\n            \"id\": 1,\n            \"name\": \"100M\",\n            \"speed\": \"104960\",\n            \"direction\": \"download\",\n            \"type\": \"iptv\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"INTERNET_100_Mb\",\n            \"speed\": \"104960\",\n            \"direction\": \"upload\",\n            \"type\": \"internet\"\n        }\n    ]\n}"},{"id":"8c2b3c2e-ce41-4571-9409-e87161e34f72","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_speed_profiles"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"a1853ef6-45d9-4745-9c42-05c1060eab9c"},{"name":"Get VLANs list","id":"80025fa2-a392-4493-8d6c-d89672c80551","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/olt/get_vlans/{{olt_id}}","description":"<p>Gets a list of OLT VLANs by OLT ID, as defined in SmartOLT OLT VLANs section.</p>\n<p>Each VLAN consists of:</p>\n<ul><li><div>unique ID</div></li><li><div>VLAN</div></li><li><div>description</div></li><li><div>OLT ID</div></li><li><div>scope: iptv, mgmt/voip, lan_to_lan or internet</div></li><li><div>default_for_pon_ports: board_1_port_3, board_2_port_1</div></li></ul>","urlObject":{"protocol":"https","path":["api","olt","get_vlans","{{olt_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"d87f54ae-b725-4bf2-b512-7a89b36bef03","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/olt/get_vlans/{{olt_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n       {\n            \"id\": \"1830\",\n            \"vlan\": \"10\",\n            \"description\": null,\n            \"olt_id\": \"1\",\n            \"scope\": \"internet\"\n        },\n        {\n            \"id\": \"1832\",\n            \"vlan\": \"900\",\n            \"description\": \"IPTV\",\n            \"olt_id\": \"1\",\n            \"scope\": \"iptv\"\n        }\n    ]\n}"},{"id":"c96dfc9e-80e3-4994-b354-6e56a599d4b1","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/olt/get_vlans/{{olt_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"80025fa2-a392-4493-8d6c-d89672c80551"},{"name":"Add VLAN","id":"39322366-48bc-4859-b64e-a254ef13d959","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"30","description":"<p>(Required, Int) VLAN-ID</p>\n","type":"text"},{"key":"description","value":"test vlan","description":"<p>(String) VLAN description</p>\n","type":"text"},{"key":"for_iptv","value":"0","description":"<p>(Int) 1 if the VLAN is a Multicast VLAN, used for IPTV, otherwise 0</p>\n","type":"text"},{"key":"for_mgmt_voip","value":"1","description":"<p>(Int) 1 if the VLAN is a Management/VoIP VLAN, otherwise 0</p>\n","type":"text"},{"key":"dhcp_snooping","value":"0","description":"<p>(Int) 1 to enable DHCP Snooping on VLAN, otherwise 0</p>\n","type":"text"},{"key":"lan_to_lan","value":"0","description":"<p>(Int) 1 to enable direct communication between ONUs on this VLAN (aka. LAN-to-LAN), otherwise 0</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/olt/add_vlan/{{olt_id}}","description":"<p>Adds a VLAN to the OLT specified by the OLT ID.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not add the VLAN.</p>\n","urlObject":{"protocol":"https","path":["api","olt","add_vlan","{{olt_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"527081dd-aa66-48da-ba59-fdec88a6bbc6","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"vlan","value":"30"},{"key":"description","value":"test vlan"},{"key":"for_iptv","value":"0"},{"key":"for_mgmt_voip","value":"0"},{"key":"dhcp_snooping","value":"0"},{"key":"lan_to_lan","value":"0"}]},"url":"https://{{subdomain}}.smartolt.com/api/olt/add_vlan/{{olt_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"VLAN 30 added successfully to OLT Test\"\n}"},{"id":"ddc8a383-90f0-4423-8144-7d78e95f6cba","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"30","type":"text"},{"key":"description","value":"test vlan","type":"text"},{"key":"for_iptv","value":"1","type":"text"},{"key":"for_mgmt_voip","value":"0","type":"text"},{"key":"dhcp_snooping","value":"0","type":"text"},{"key":"lan_to_lan","value":"0","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/olt/add_vlan/{{olt_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"39322366-48bc-4859-b64e-a254ef13d959"},{"name":"Get billing details","id":"540a3d30-0ef6-40b6-b6b1-1a97fa6ca97b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_billing_details","description":"<p>Gets a list of all OLTs subscription details.</p>\n<p>For each OLT the subscription details are:</p>\n<ul><li><p>OLT unique ID</p></li><li><p>OLT name</p></li><li><p>subscription status</p></li><li><p>subscription end date (inclusive)</p></li></ul>","urlObject":{"protocol":"https","path":["api","system","get_billing_details"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"d8b7b298-a232-458a-baa4-87c884fa2db5","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_billing_details"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": {\n        \"olts\": [\n            {\n                \"olt_id\": \"1\",\n                \"olt_name\": \"Huawei\",\n                \"olt_subscription_status\": \"active\",\n                \"olt_subscription_end_date\": \"18-Apr-2022\"\n            },\n            {\n                \"olt_id\": \"2\",\n                \"olt_name\": \"ZTE\",\n                \"olt_subscription_status\": \"expired\",\n                \"olt_subscription_end_date\": \"31-Dec-2020\"\n            }\n    ]\n}"},{"id":"b6f71c23-4c16-4026-8541-b1c836e0e7e9","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/system/get_billing_details"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"540a3d30-0ef6-40b6-b6b1-1a97fa6ca97b"},{"name":"Get all unconfigured ONUs","id":"c2f59ef3-5732-4247-8422-7df69f7e32c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/unconfigured_onus","description":"<p>Gets a list of all unconfigured ONUs on all OLTs. <br />\nEach unconfigured ONU consists of:</p>\n<ul>\n<li>PON type (it can be \"gpon\" or \"epon\")</li>\n<li>board</li>\n<li>port</li>\n<li>onu</li>\n<li>sn (in case of gpon ONU is the SN, in case of epon ONU is the MAC)</li>\n<li>ONU type name</li>\n<li>ONU type unique ID</li>\n<li>OLT unique ID</li>\n<li>if ONU is disabled (1 - is disabled, 0 - is enabled)</li>\n<li>A list of possible actions for this ONU: view, resync_config, authorize, move_here</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","unconfigured_onus"],"host":["{{subdomain}}","smartolt","com"],"query":[{"disabled":true,"description":{"content":"<p>(Optional) Search for a specific SN. Performed search is of type CONTAINS.</p>\n","type":"text/plain"},"key":"sn","value":"AD0"},{"disabled":true,"description":{"content":"<p>(Optional) Search for a specific ONU type. Performed search is of type CONTAINS.</p>\n","type":"text/plain"},"key":"onu_type","value":"F6"}],"variable":[]}},"response":[{"id":"4a874cb8-4c9c-4a82-b992-b64077dd8d82","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/unconfigured_onus"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"id\": 0,\n            \"pon_type\": \"gpon\",\n            \"board\": \"2\",\n            \"port\": \"3\",\n            \"pon_description\": \"\",\n            \"onu\": \"1\",\n            \"sn\": \"ZTEGC7E230E4\",\n            \"onu_type_name\": \"ZTE-F660V6.0\",\n            \"onu_type_id\": \"75\",\n            \"olt_id\": \"1\",\n            \"is_disabled\": 0,\n            \"old_location\": null,\n            \"new_location\": null,\n            \"external_id\": null,\n            \"actions\": [\n                \"authorize\"\n            ]\n        },\n        {\n            \"id\": 0,\n            \"pon_type\": \"epon\",\n            \"board\": \"1\",\n            \"port\": \"3\",\n            \"onu\": \"1\",\n            \"sn\": \"98F4.28FF.0005\",\n            \"onu_type_name\": \"ZTE-F460\",\n            \"onu_type_id\": \"45\",\n            \"olt_id\": \"1\",\n            \"is_disabled\": 0,\n            \"old_location\": null,\n            \"new_location\": null,\n            \"external_id\": null,\n            \"actions\": [\n                \"authorize\"\n            ]\n        }\n    ]\n}"},{"id":"106f5aa4-5f5a-4960-b6b8-9be9abe664e3","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/unconfigured_onus"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"c2f59ef3-5732-4247-8422-7df69f7e32c1"},{"name":"Get unconfigured ONUs by OLT unique ID","id":"97c6e560-a827-4362-846f-e914c4736a77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/unconfigured_onus_for_olt/{{olt_id}}","description":"<p>Gets a list of all unconfigured ONUs for a specified OLT unique ID. <br />\nEach unconfigured ONU consists of:</p>\n<ul>\n<li>PON type (it can be \"gpon\" or \"epon\")</li>\n<li>board</li>\n<li>port</li>\n<li>onu</li>\n<li>sn (in case of gpon ONU is the SN, in case of epon ONU is the MAC)</li>\n<li>ONU type name</li>\n<li>ONU type unique ID</li>\n<li>OLT unique ID</li>\n<li>if ONU is disabled (1 - is disabled, 0 - is enabled)</li>\n<li>A list of possible actions for this ONU: view, resync_config, authorize, move_here</li>\n</ul>\nIt returns a 400 error code when:\n<ul>\n<li>no OLT ID was provided</li>\n<li>no OLT was found for the provided OLT ID</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","unconfigured_onus_for_olt","{{olt_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[{"disabled":true,"description":{"content":"<p>(Optional) Search for a specific SN. Performed search is of type CONTAINS.</p>\n","type":"text/plain"},"key":"sn","value":"AD0"},{"disabled":true,"description":{"content":"<p>(Optional) Search for a specific ONU type. Performed search is of type CONTAINS.</p>\n","type":"text/plain"},"key":"onu_type","value":"F6"}],"variable":[]}},"response":[{"id":"015b3853-34ee-495c-823e-81ee1974daaf","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/unconfigured_onus_for_olt/{{olt_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"id\": 0,\n            \"pon_type\": \"gpon\",\n            \"board\": \"2\",\n            \"port\": \"3\",\n            \"onu\": \"1\",\n            \"sn\": \"ZTEGC7E230E4\",\n            \"onu_type_name\": \"ZTE-F660V6.0\",\n            \"onu_type_id\": \"75\",\n            \"olt_id\": \"1\",\n            \"is_disabled\": 0,\n            \"old_location\": null,\n            \"new_location\": null,\n            \"external_id\": null,\n            \"actions\": [\n                \"authorize\"\n            ]\n        },\n        {\n            \"id\": 0,\n            \"pon_type\": \"epon\",\n            \"board\": \"1\",\n            \"port\": \"3\",\n            \"onu\": \"1\",\n            \"sn\": \"98F4.28FF.0005\",\n            \"onu_type_name\": \"ZTE-F460\",\n            \"onu_type_id\": \"45\",\n            \"olt_id\": \"1\",\n            \"is_disabled\": 0,\n            \"old_location\": null,\n            \"new_location\": null,\n            \"external_id\": null,\n            \"actions\": [\n                \"authorize\"\n            ]\n        }\n    ]\n}"},{"id":"4e01279f-728c-4653-8644-fcbcc9321c02","name":"400 - No OLT for ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/unconfigured_onus_for_olt/100"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No OLT was found with ID 100\"\n}"},{"id":"8c438cac-4a8c-4deb-93b5-2254b1d8ebe0","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/unconfigured_onus_for_olt/{{olt_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"ac67c550-dbc7-49e7-ae39-51a2b7a347e4","name":"400 - Specify OLT ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/unconfigured_onus_for_olt/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Please specify the OLT ID\"\n}"}],"_postman_id":"97c6e560-a827-4362-846f-e914c4736a77"},{"name":"Get all ONUs statuses","id":"dd7eff97-6229-497c-9cde-6acd0ad09aee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_statuses?olt_id=1&board=2&port=3&zone=City Centre","description":"<p>Gets all the ONUs statuses for a specified OLT ID, board, PON port or zone. If no OLT ID, board, PON port or zone is specified, then all the ONUs statuses on all OLTs will be returned. <br />\nONU statuses returned can be:</p>\n<ul>\n<li>Online</li>\n<li>Power fail</li>\n<li>LOS</li>\n<li>Offline</li>\n</ul>\nIt returns a 400 error code when:\n<ul>\n<li>no OLT was found for the provided OLT ID</li>\n<li>no OLT ID was provided with board or PON port</li>\n<li>no OLT ID or no board was provided with PON port</li>\n<li>no Zone was found for the provided zone name</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","get_onus_statuses"],"host":["{{subdomain}}","smartolt","com"],"query":[{"description":{"content":"<p>(Int) The ID of the OLT for which to get the ONUs statuses. Leave empty if you want statuses from all OLTs</p>\n","type":"text/plain"},"key":"olt_id","value":"1"},{"description":{"content":"<p>(Int) OLT board where the ONUs are placed. Leave it empty if you want statuses from all boards on the provided OLT ID</p>\n","type":"text/plain"},"key":"board","value":"2"},{"description":{"content":"<p>(Int) OLT PON port where ONUs are placed. Leave it empty if you want statuses from all PON ports on the provided board</p>\n","type":"text/plain"},"key":"port","value":"3"},{"description":{"content":"<p>(String) The zone where the ONUs are located. The Zone can contain only alphanumeric characters, spaces, underscore and the dash (-) character. Leave it empty if you want ONUs statuses from all the zones</p>\n","type":"text/plain"},"key":"zone","value":"City Centre"},{"disabled":true,"description":{"content":"<p>(String) Returns only the ONUs whose status changed at or after this date. Use ISO 8601 with a time zone, for example 2026-09-29T10:00:00+00:00. A date without a time zone is read in the time zone of your SmartOLT account.</p>\n","type":"text/plain"},"key":"status_changed_after","value":null}],"variable":[]}},"response":[{"id":"8d5001c2-69f6-4b53-b60c-15fb77d54f15","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_statuses","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_onus_statuses"],"query":[{"key":"olt_id","value":"1","disabled":true},{"key":"board","value":"2","disabled":true},{"key":"port","value":"3","disabled":true},{"key":"zone","value":"City Centre","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"unique_external_id\": \"test1\",\n            \"sn\": \"ZTEGC1D48C98\",\n            \"olt_id\": \"53\",\n            \"board\": \"0\",\n            \"port\": \"3\",\n            \"onu\": \"20\",\n            \"zone_id\": \"1\",\n            \"name\": \"test 1\",\n            \"address\": \"\",\n            \"contact\": \"\",\n            \"odb_id\": null,\n            \"status\": \"Online\",\n            \"last_status_change\": \"2025-12-30 12:00:00\"\n        },\n        {\n            \"unique_external_id\": \"test2\",\n            \"sn\": \"ZTEGC171A71A\",\n            \"olt_id\": \"53\",\n            \"board\": \"1\",\n            \"port\": \"4\",\n            \"onu\": \"4\",\n            \"zone_id\": \"1\",\n            \"name\": \"test 2\",\n            \"address\": \"\",\n            \"contact\": \"\",\n            \"odb_id\": null,\n            \"status\": \"Offline\",\n             \"last_status_change\": \"2025-12-30 12:00:00\"\n        }\n\t]\n}"},{"id":"b394d407-7b8b-4ed3-9571-9beeec0bb5dc","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_statuses?olt_id=1&board=2&port=3&zone=City Centre","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_onus_statuses"],"query":[{"key":"olt_id","value":"1"},{"key":"board","value":"2"},{"key":"port","value":"3"},{"key":"zone","value":"City Centre"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"dd7eff97-6229-497c-9cde-6acd0ad09aee"},{"name":"Get all ONUs administrative statuses","id":"8edcf207-0fbc-40dc-b4a4-5c551e7458e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_administrative_statuses?olt_id=1&board=2&port=3&zone=City Centre","description":"<p>Gets all the ONUs administrative statuses for a specified OLT ID, board, PON port or zone. If no OLT ID, board, PON port or zone is specified, then all the ONUs statuses on all OLTs will be returned. <br />\nONU administrative statuses returned can be:</p>\n<ul>\n<li>Enabled</li>\n<li>Disabled</li>\n</ul>\nIt returns a 400 error code when:\n<ul>\n<li>no OLT was found for the provided OLT ID</li>\n<li>no OLT ID was provided with board or PON port</li>\n<li>no OLT ID or no board was provided with PON port</li>\n<li>no Zone was found for the provided zone name</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","get_onus_administrative_statuses"],"host":["{{subdomain}}","smartolt","com"],"query":[{"description":{"content":"<p>(Int) The ID of the OLT for which to get the ONUs statuses. Leave empty if you want statuses from all OLTs</p>\n","type":"text/plain"},"key":"olt_id","value":"1"},{"description":{"content":"<p>(Int) OLT board where the ONUs are placed. Leave it empty if you want statuses from all boards on the provided OLT ID</p>\n","type":"text/plain"},"key":"board","value":"2"},{"description":{"content":"<p>(Int) OLT PON port where ONUs are placed. Leave it empty if you want statuses from all PON ports on the provided board</p>\n","type":"text/plain"},"key":"port","value":"3"},{"description":{"content":"<p>(String) The zone where the ONUs are located. The Zone can contain only alphanumeric characters, spaces, underscore and the dash (-) character. Leave it empty if you want ONUs statuses from all the zones</p>\n","type":"text/plain"},"key":"zone","value":"City Centre"}],"variable":[]}},"response":[{"id":"e9820b38-145d-443a-821f-ad74aabbea87","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_administrative_statuses","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_onus_administrative_statuses"],"query":[{"key":"olt_id","value":"1","disabled":true},{"key":"board","value":"2","disabled":true},{"key":"port","value":"3","disabled":true},{"key":"zone","value":"City Centre","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"unique_external_id\": \"test1\",\n            \"sn\": \"ZTEGC1D48C98\",\n            \"pon_type\": \"gpon\",\n            \"olt_id\": \"53\",\n            \"board\": \"0\",\n            \"port\": \"3\",\n            \"onu\": \"20\",\n            \"zone_id\": \"1\",\n            \"name\": \"test 1\",\n            \"address\": \"\",\n            \"contact\": \"\",\n            \"admin_status\": \"Enabled\"\n        },\n        {\n            \"unique_external_id\": \"test2\",\n            \"sn\": \"ZTEGC171A71A\",\n            \"pon_type\": \"gpon\",\n            \"olt_id\": \"53\",\n            \"board\": \"1\",\n            \"port\": \"4\",\n            \"onu\": \"4\",\n            \"zone_id\": \"1\",\n            \"name\": \"test 2\",\n            \"address\": \"\",\n            \"contact\": \"\",\n            \"admin_status\": \"Disabled\"\n        }\n\t]\n}"},{"id":"31b43a13-a360-4719-8b3e-a519587f8b1c","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_administrative_statuses?olt_id=1&board=2&port=3&zone=City Centre","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_onus_administrative_statuses"],"query":[{"key":"olt_id","value":"1"},{"key":"board","value":"2"},{"key":"port","value":"3"},{"key":"zone","value":"City Centre"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"8edcf207-0fbc-40dc-b4a4-5c551e7458e1"},{"name":"Get all ONUs CATV statuses","id":"34acfcfc-d63d-4b71-b2f5-b607a65020c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_catv_statuses?olt_id=1&board=2&port=3&zone=City Centre","description":"<p>Gets all the ONUs CATV statuses for a specified OLT ID, board, PON port or zone. If no OLT ID, board, PON port or zone is specified, then all the ONUs statuses on all OLTs will be returned. <br />\nONU CATV statuses returned can be:</p>\n<ul>\n<li>Enabled</li>\n<li>Disabled</li>\n<li>CATV not supported by ONU-Type</li>\n</ul>\nIt returns a 400 error code when:\n<ul>\n<li>no OLT was found for the provided OLT ID</li>\n<li>no OLT ID was provided with board or PON port</li>\n<li>no OLT ID or no board was provided with PON port</li>\n<li>no Zone was found for the provided zone name</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","get_onus_catv_statuses"],"host":["{{subdomain}}","smartolt","com"],"query":[{"description":{"content":"<p>(Int) The ID of the OLT for which to get the ONUs statuses. Leave empty if you want statuses from all OLTs</p>\n","type":"text/plain"},"key":"olt_id","value":"1"},{"description":{"content":"<p>(Int) OLT board where the ONUs are placed. Leave it empty if you want statuses from all boards on the provided OLT ID</p>\n","type":"text/plain"},"key":"board","value":"2"},{"description":{"content":"<p>(Int) OLT PON port where ONUs are placed. Leave it empty if you want statuses from all PON ports on the provided board</p>\n","type":"text/plain"},"key":"port","value":"3"},{"description":{"content":"<p>(String) The zone where the ONUs are located. The Zone can contain only alphanumeric characters, spaces, underscore and the dash (-) character. Leave it empty if you want ONUs statuses from all the zones</p>\n","type":"text/plain"},"key":"zone","value":"City Centre"}],"variable":[]}},"response":[{"id":"055f2025-fc85-44e8-aaad-be32dd775f13","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_catv_statuses","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_onus_catv_statuses"],"query":[{"key":"olt_id","value":"1","disabled":true},{"key":"board","value":"2","disabled":true},{"key":"port","value":"3","disabled":true},{"key":"zone","value":"City Centre","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"unique_external_id\": \"test1\",\n            \"sn\": \"ZTEGC1D48C98\",\n            \"olt_id\": \"53\",\n            \"board\": \"0\",\n            \"port\": \"3\",\n            \"onu\": \"20\",\n            \"zone_id\": \"1\",\n            \"name\": \"test 1\",\n            \"address\": \"\",\n            \"contact\": \"\",\n            \"catv_status\": \"Enabled\"\n        },\n        {\n            \"unique_external_id\": \"test2\",\n            \"sn\": \"ZTEGC171A71A\",\n            \"olt_id\": \"53\",\n            \"board\": \"1\",\n            \"port\": \"4\",\n            \"onu\": \"4\",\n            \"zone_id\": \"1\",\n            \"name\": \"test 2\",\n            \"address\": \"\",\n            \"contact\": \"\",\n            \"catv_status\": \"Disabled\"\n        }\n\t]\n}"},{"id":"083a399a-deff-4248-8fbb-6f9e7260ad77","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_catv_statuses?olt_id=1&board=2&port=3&zone=City Centre","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_onus_catv_statuses"],"query":[{"key":"olt_id","value":"1"},{"key":"board","value":"2"},{"key":"port","value":"3"},{"key":"zone","value":"City Centre"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"34acfcfc-d63d-4b71-b2f5-b607a65020c9"},{"name":"Get all ONUs signals","id":"43e3094c-0db5-46ea-821e-1ae9c4038006","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_signals?olt_id=1&board=2&port=3&zone=City Centre","description":"<p>Gets all the ONUs signals for a specified OLT ID, board, PON port or zone. If no OLT ID, board, PON port or zone is specified, then all the ONUs signals on all OLTs will be returned. <br />\nThe response consists of:</p>\n<ul>\n<li>ONU signal: 'Critical', 'Warning', 'Very good'</li>\n<li>ONU signal 1310 value</li>\n</ul>\nIt returns a 400 error code when:\n<ul>\n<li>no OLT was found for the provided OLT ID</li>\n<li>no OLT ID was provided with board or PON port</li>\n<li>no OLT ID or no board was provided with PON port</li>\n<li>no Zone was found for the provided zone name</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","get_onus_signals"],"host":["{{subdomain}}","smartolt","com"],"query":[{"description":{"content":"<p>(Int) The ID of the OLT for which to get the ONUs statuses. Leave empty if you want signals from all OLTs</p>\n","type":"text/plain"},"key":"olt_id","value":"1"},{"description":{"content":"<p>(Int) OLT board where the ONUs are placed. Leave it empty if you want signals from all boards on the provided OLT ID</p>\n","type":"text/plain"},"key":"board","value":"2"},{"description":{"content":"<p>(Int) OLT PON port where ONUs are placed. Leave it empty if you want signals from all PON ports on the provided board</p>\n","type":"text/plain"},"key":"port","value":"3"},{"description":{"content":"<p>(String) The zone where the ONUs are located. The Zone can contain only alphanumeric characters, spaces, underscore and the dash (-) character. Leave it empty if you want ONUs signals from all the zones</p>\n","type":"text/plain"},"key":"zone","value":"City Centre"}],"variable":[]}},"response":[{"id":"6a96659b-ca04-433b-b1fd-5f380f9babfe","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_signals","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_onus_signals"],"query":[{"key":"olt_id","value":"1","disabled":true},{"key":"board","value":"2","disabled":true},{"key":"port","value":"3","disabled":true},{"key":"zone","value":"City Centre","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"unique_external_id\": \"test1\",\n            \"sn\": \"ZTEGC1D48C98\",\n            \"olt_id\": \"53\",\n            \"board\": \"0\",\n            \"port\": \"3\",\n            \"onu\": \"20\",\n            \"zone_id\": \"1\",\n            \"name\": \"test 1\",\n            \"address\": \"\",\n            \"contact\": \"\",\n            \"odb_id\": null,\n            \"signal_1310\": \"-20.05 dBm\",\n            \"signal\": \"Very good\",\n            \"signal_1490\": \"-\"\n        },\n        {\n            \"unique_external_id\": \"test2\",\n            \"sn\": \"ZTEGC171A71A\",\n            \"olt_id\": \"53\",\n            \"board\": \"1\",\n            \"port\": \"4\",\n            \"onu\": \"4\",\n            \"zone_id\": \"1\",\n            \"name\": \"test 2\",\n            \"address\": \"\",\n            \"contact\": \"\",\n            \"odb_id\": null,\n            \"signal_1310\": \"-11.89 dBm\",\n            \"signal\": \"Very good\",\n            \"signal_1490\": \"-\"\n        }\n\t]\n}"},{"id":"690d2678-9de9-4581-84c1-0549b7e0fd54","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_signals?olt_id=1&board=2&port=3&zone=City Centre","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_onus_signals"],"query":[{"key":"olt_id","value":"1"},{"key":"board","value":"2"},{"key":"port","value":"3"},{"key":"zone","value":"City Centre"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"43e3094c-0db5-46ea-821e-1ae9c4038006"},{"name":"Get all ONUs details","id":"4e11cd01-2e4b-4f83-807d-963c4e7434af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_all_onus_details?page=1&page_size=100","description":"<p>Gets all the ONUs details for a specified OLT ID, board, PON port or zone. If no OLT ID, board, PON port or zone is specified, then all the ONUs details on all OLTs will be returned.</p>\n<p>The \"Get all ONUs details\" method is equivalent to an export of the entire database of ONU details and therefore it is not recommended to be used repeatedly, as the contained information does not change so often.</p>\n<p>Maximum recommended calls for \"Get all ONUs details\": 15 per hour (calls are blocked after the limit is reached).</p>\n<p><strong>Pagination (recommended)</strong></p>\n<p>Pass <code>page</code> to receive results in pages. <code>page_size</code> accepts 1-100 (default 100). Paginated calls do <strong>not</strong> consume the 15/hours budget of the full export - they count toward the general API budget.</p>\n<p>The paginated response is:</p>\n<p><code>{ \"status\": true, \"page\": 1, \"page_size\": 100, \"total_items\": 4111, \"total_pages\": 42, \"onus\": [...] }</code></p>\n<p><code>total_items</code>/<code>total_pages</code> are included on page 1.</p>\n<h4 id=\"keeping-in-sync-recommended-pattern\">Keeping in sync (recommended pattern)</h4>\n<p>Page through the full inventory once, store it, then poll with <code>updated_since=</code> (e.g. <code>2026-07-08 12:00:00</code>) to receive only ONUs whose configuration changed since. A typical incremental sync is 1–2 calls instead of re-paging everything. Status/signal changes do not touch <code>updated_since</code> — use the dedicated statuses/signals endpoints for those.</p>\n<h4 id=\"fields\">Fields</h4>\n<ul>\n<li><code>seal_number</code>: the seal number of the ONU's drop cable at the splitter port, as text. It is <code>null</code> when the ONU has no seal number. Several ONUs can have the same seal number. It is returned with <code>fields=seal_number</code>.</li>\n</ul>\n<h4 id=\"filters\">Filters</h4>\n<p>All optional and combinable — see the query parameters table. Text filters (<code>sn</code>, <code>external_id</code>, <code>name</code>, <code>address</code>) match partially; enum filters return 400 on invalid values.</p>\n<h4 id=\"full-export\">Full export</h4>\n<p>Calling without <code>page</code> returns every ONU in one response (<code>{ \"status\": true, \"onus\": [...] }</code>). This is equivalent to an export of the entire database: maximum 15 calls per hour, blocked at the limit. Prefer pagination + <code>updated_since</code>.</p>\n<h4 id=\"errors\">Errors</h4>\n<ul>\n<li>400 — unknown OLT ID / zone / splitter, board/port without the required OLT ID, or an invalid filter value (unparseable date, unknown status token)</li>\n<li>Unsupported query parameters are deprecated: they currently return a <code>Deprecation</code> warning header and will be rejected with 410 Gone</li>\n<li>429 — rate limit exceeded; the response carries <code>Retry-After</code> (seconds until the counting window resets). Back off and retry after that interval</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","onu","get_all_onus_details"],"host":["{{subdomain}}","smartolt","com"],"query":[{"description":{"content":"<p>(Int) Page number. Enables pagination (recommended).</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>(Int) Items per page, 1–100. Default 100.</p>\n","type":"text/plain"},"key":"page_size","value":"100"},{"disabled":true,"description":{"content":"<p>(String) Only ONUs whose configuration changed since this date. Use for incremental sync after one full pull.</p>\n","type":"text/plain"},"key":"updated_since","value":"2026-07-08 12:00:00"},{"disabled":true,"description":{"content":"<p>(String) Comma-separated list of response fields to return. Include service_ports/ethernet_ports/wifi_ports/voip_ports only when needed — skipping them is faster.</p>\n","type":"text/plain"},"key":"fields","value":"sn,name,status"},{"disabled":true,"description":{"content":"<p>(Int) The ID of the OLT for which to get the ONUs details. Leave empty if you want ONUs details from all OLTs</p>\n","type":"text/plain"},"key":"olt_id","value":"1"},{"disabled":true,"description":{"content":"<p>(Int) OLT board where the ONUs are placed. Leave it empty if you want ONUs details from all boards on the provided OLT ID</p>\n","type":"text/plain"},"key":"board","value":"2"},{"disabled":true,"description":{"content":"<p>(Int) OLT PON port where ONUs are placed. Leave it empty if you want ONUs details from all PON ports on the provided board</p>\n","type":"text/plain"},"key":"port","value":"3"},{"disabled":true,"description":{"content":"<p>(String) The zone where the ONUs are located. The Zone can contain only alphanumeric characters, spaces, underscore and the dash (-) character. Leave it empty if you want ONUs details from all the zones</p>\n","type":"text/plain"},"key":"zone","value":"City Centre"},{"disabled":true,"description":{"content":"<p>(String) Splitter. The Splitter can contain only alphanumeric characters, spaces, underscore and the dash (-) character</p>\n","type":"text/plain"},"key":"odb","value":"Splitter325"},{"disabled":true,"description":{"content":"<p>(String) ONU SN</p>\n","type":"text/plain"},"key":"sn","value":""},{"disabled":true,"description":{"content":"<p>(String) ONU unique external ID</p>\n","type":"text/plain"},"key":"external_id","value":""},{"disabled":true,"description":{"content":"<p>(String) ONU name</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>(String) ONU address</p>\n","type":"text/plain"},"key":"address","value":""},{"disabled":true,"description":{"content":"<p>(String) ONU type ID (comma-separable)</p>\n","type":"text/plain"},"key":"onu_type_id","value":""},{"disabled":true,"description":{"content":"<p>(String) ONU VLAN</p>\n","type":"text/plain"},"key":"vlan","value":""},{"disabled":true,"description":{"content":"<p>(String) ONU mode. Allowed values: Bridging or Routing.</p>\n","type":"text/plain"},"key":"mode","value":"Routing"},{"disabled":true,"description":{"content":"<p>(String) ONU router mode. Allowed values: Setup via ONU webpage, DHCP, Static or PPPoE.</p>\n","type":"text/plain"},"key":"wan_mode","value":"PPPoE"},{"disabled":true,"description":{"content":"<p>(String) ONU admin status: Allowed values: enabled, disabled.</p>\n","type":"text/plain"},"key":"administrative_status","value":"enabled"},{"disabled":true,"description":{"content":"<p>(String) ONU TR069 status: Allowed values: enabled, disabled.</p>\n","type":"text/plain"},"key":"tr069","value":"enabled"},{"disabled":true,"description":{"content":"<p>(String) ONU CATV status: Allowed values: enabled, disabled.</p>\n","type":"text/plain"},"key":"catv","value":"enabled"},{"disabled":true,"description":{"content":"<p>(String) ONU status: Allowed values: online, pwrfail, los, offline. A comma separated list of these values is also allowed.</p>\n","type":"text/plain"},"key":"status","value":"online"},{"disabled":true,"description":{"content":"<p>(String) ONU signal: Allowed values: very_good, warning, critical.</p>\n","type":"text/plain"},"key":"signal","value":"critical"},{"disabled":true,"description":{"content":"<p>(String)ONU authorized on/after this date.</p>\n","type":"text/plain"},"key":"authorized_after","value":""},{"disabled":true,"description":{"content":"<p>(String) ONU authorized on/before this date.</p>\n","type":"text/plain"},"key":"authorized_before","value":""},{"disabled":true,"description":{"content":"<p>(String) Returns only the ONUs whose status changed at or after this date. Use ISO 8601 with a time zone, for example 2026-09-29T10:00:00+00:00. A date without a time zone is read in the time zone of your SmartOLT account.</p>\n","type":"text/plain"},"key":"status_changed_after","value":""}],"variable":[]}},"response":[{"id":"e258e34b-35ff-4f76-9598-3c15505f2c78","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_all_onus_details","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_all_onus_details"],"query":[{"key":"olt_id","value":"1","disabled":true},{"key":"board","value":"2","disabled":true},{"key":"port","value":"3","disabled":true},{"key":"zone","value":"City Centre","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"onus\": [\n        {\n            \"unique_external_id\": \"HWTC12341234\",\n            \"pon_type\": \"gpon\",\n            \"gpon_channel\": \"gpon\",\n            \"sn\": \"HWTC12341234\",\n            \"olt_id\": \"53\",\n            \"olt_name\": \"Huawei\",\n            \"board\": \"1\",\n            \"port\": \"1\",\n            \"onu\": \"0\",\n            \"onu_type_id\": \"308\",\n            \"onu_type_name\": \"ONU-type-eth-4-pots-2-catv-0\",\n            \"zone_id\": \"182\",\n            \"zone_name\": \"Zone\",\n            \"name\": \"test\",\n            \"address\": \"\",\n            \"odb_name\": \"\",\n            \"odb_port\": \"\",\n            \"seal_number\": \"L-004512\",\n            \"mode\": \"Routing\",\n            \"wan_mode\": \"Setup via ONU webpage\",\n            \"ip_address\": null,\n            \"subnet_mask\": null,\n            \"default_gateway\": null,\n            \"dns1\": null,\n            \"dns2\": null,\n            \"username\": null,\n            \"password\": null,\n            \"mgmt_ip_mode\": \"Inactive\",\n            \"mgmt_ip_address\": null,\n            \"mgmt_ip_subnet_mask\": null,\n            \"mgmt_ip_default_gateway\": null,\n            \"mgmt_ip_dns1\": null,\n            \"mgmt_ip_dns2\": null,\n            \"mgmt_ip_service_port\": null,\n            \"mgmt_ip_vlan\": null,\n            \"mgmt_ip_cvlan\": null,\n            \"mgmt_ip_svlan\": null,\n            \"mgmt_ip_tag_transform_mode\": null,\n            \"voip_service\": \"Disabled\",\n            \"voip_ip_mode\": null,\n            \"voip_ip_address\": null,\n            \"voip_ip_subnet_mask\": null,\n            \"voip_ip_default_gateway\": null,\n            \"voip_ip_dns1\": null,\n            \"voip_ip_dns2\": null,\n            \"voip_ip_service_port\": null,\n            \"voip_ip_vlan\": null,\n            \"voip_ip_cvlan\": null,\n            \"voip_ip_svlan\": null,\n            \"voip_ip_tag_transform_mode\": null,\n            \"iptv\": \"Disabled\",\n            \"iptv_service_port\": null,\n            \"iptv_vlan\": null,\n            \"iptv_cvlan\": null,\n            \"iptv_svlan\": null,\n            \"iptv_tag_transform_mode\": null,\n            \"iptv_upload_speed\": null,\n            \"iptv_download_speed\": null,\n            \"iptv_allowed_macs\": null,\n            \"iptv_filtered_macs\": null,\n            \"custom_template_name\": null,\n            \"tr069\": \"Disabled\",\n            \"tr069_profile\": null,\n            \"tr069_device_id\": null,\n            \"catv\": \"Not supported by ONU-Type\",\n            \"administrative_status\": \"Enabled\",\n            \"authorization_date\": \"2023-06-04 00:00:00\",\n            \"is_synced_after_import\": \"0\",\n            \"is_failed_resync_config\": \"0\",\n            \"status\": null,\n            \"last_status_change\": null,\n            \"signal\": null,\n            \"signal_1310\": null,\n            \"signal_1490\": null,\n            \"latitude\": null,\n            \"longitude\": null,\n            \"contact\": \"\",\n            \"service_ports\": [\n                {\n                    \"service_port\": \"348\",\n                    \"vlan\": \"20\",\n                    \"cvlan\": \"\",\n                    \"svlan\": \"\",\n                    \"tag_transform_mode\": \"translate\",\n                    \"upload_speed\": \"1G\",\n                    \"download_speed\": \"1G\"\n                }\n            ],\n            \"ethernet_ports\": [\n                {\n                    \"port\": \"eth_0/1\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"Access\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"20\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/2\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/3\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/4\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                }\n            ],\n            \"wifi_ports\": [],\n            \"voip_ports\": [],\n            \"applied_configuration_preset\": {\n                \"preset_id\": 5,\n                \"preset_name\": \"test preset\",\n                \"is_reversible\": true,\n                \"applied_at\": \"2026-07-23 06:51:54\",\n                \"status\": \"active\"\n            }\n        },\n        {\n            \"unique_external_id\": \"test2\",\n            \"pon_type\": \"gpon\",\n            \"gpon_channel\": \"gpon\",\n            \"sn\": \"ZTEGC171A71A\",\n            \"name\": \"Test name2\",\n            \"olt_id\": \"53\",\n            \"olt_name\": \"OLT 1\",\n            \"board\": \"1\",\n            \"port\": \"4\",\n            \"onu\": \"4\",\n            \"onu_type_id\": \"2\",\n            \"onu_type_name\": \"ZTE-F600\",\n            \"zone_id\": \"1\",\n            \"zone_name\": \"City Center\",\n            \"address\": null,\n            \"odb_name\": \"ODB 2\",\n            \"odb_port\": \"\",\n            \"seal_number\": null,\n            \"mode\": \"Routing\",\n            \"wan_mode\": \"Setup via ONU webpage\",\n            \"ip_address\": null,\n            \"subnet_mask\": null,\n            \"default_gateway\": null,\n            \"dns1\": null,\n            \"dns2\": null,\n            \"username\": null,\n            \"password\": null,\n            \"mgmt_ip_mode\": \"Inactive\",\n            \"mgmt_ip_address\": null,\n            \"mgmt_ip_subnet_mask\": null,\n            \"mgmt_ip_default_gateway\": null,\n            \"mgmt_ip_dns1\": null,\n            \"mgmt_ip_dns2\": null,\n            \"mgmt_ip_service_port\": null,\n            \"mgmt_ip_vlan\": null,\n            \"mgmt_ip_cvlan\": null,\n            \"mgmt_ip_svlan\": null,\n            \"mgmt_ip_tag_transform_mode\": null,\n            \"voip_service\": \"Disabled\",\n            \"voip_ip_mode\": \"DHCP\",\n            \"voip_ip_address\": null,\n            \"voip_ip_subnet_mask\": null,\n            \"voip_ip_default_gateway\": null,\n            \"voip_ip_dns1\": null,\n            \"voip_ip_dns2\": null,\n            \"voip_ip_service_port\": null,\n            \"voip_ip_vlan\": null,\n            \"voip_ip_cvlan\": null,\n            \"voip_ip_svlan\": null,\n            \"voip_ip_tag_transform_mode\": null,\n            \"iptv\": \"OLT IPTV module disabled\",\n            \"iptv_service_port\": null,\n            \"iptv_vlan\": null,\n            \"iptv_cvlan\": null,\n            \"iptv_svlan\": null,\n            \"iptv_tag_transform_mode\": null,\n            \"iptv_upload_speed\": null,\n            \"iptv_download_speed\": null,\n            \"iptv_allowed_macs\": null,\n            \"iptv_filtered_macs\": null,\n            \"custom_template_name\": null,\n            \"tr069\": \"Disabled\",\n            \"tr069_profile\": null,\n            \"tr069_device_id\": null,\n            \"catv\": \"Enabled\",\n            \"administrative_status\": \"Enabled\",\n            \"authorization_date\": \"2021-08-30 00:00:00\",\n            \"is_synced_after_import\": 1,\n            \"is_failed_resync_config\": 0,\n            \"status\": null,\n            \"last_status_change\": \"2025-12-30 12:00:00\",\n            \"signal\": null,\n            \"signal_1310\": null,\n            \"signal_1490\": null,\n            \"latitude\": null,\n            \"longitude\": null,\n            \"contact\": \"\",\n            \"service_ports\": [\n                {\n                    \"service_port\": \"100\",\n                    \"vlan\": \"150\",\n                    \"cvlan\": \"\",\n                    \"svlan\": \"\",\n                    \"tag_transform_mode\": \"\",\n                    \"upload_speed\": \"1G\",\n                    \"download_speed\": \"1G\"\n                }\n            ],\n            \"ethernet_ports\": [\n                {\n                    \"port\": \"eth_0/1\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/2\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/3\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/4\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                }\n            ],\n            \"wifi_ports\": [],\n            \"voip_ports\": [],\n            \"applied_configuration_preset\": null\n        }\n    ]\n}"},{"id":"40b69fd4-a5e5-49ed-83e4-0630656cfc9e","name":"200 - OK (paginated)","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_all_onus_details?page=1&page_size=100","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_all_onus_details"],"query":[{"key":"page","value":"1"},{"key":"page_size","value":"100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"page\": 1,\n    \"page_size\": 100,\n    \"total_items\": 4111,\n    \"total_pages\": 42,\n    \"onus\": [\n        {\n            \"unique_external_id\": \"HWTC12341234\",\n            \"pon_type\": \"gpon\",\n            \"gpon_channel\": \"gpon\",\n            \"sn\": \"HWTC12341234\",\n            \"olt_id\": \"53\",\n            \"olt_name\": \"Huawei\",\n            \"board\": \"1\",\n            \"port\": \"1\",\n            \"onu\": \"0\",\n            \"onu_type_id\": \"308\",\n            \"onu_type_name\": \"ONU-type-eth-4-pots-2-catv-0\",\n            \"zone_id\": \"182\",\n            \"zone_name\": \"Zone\",\n            \"name\": \"test\",\n            \"address\": \"\",\n            \"odb_name\": \"\",\n            \"odb_port\": \"\",\n            \"seal_number\": \"L-004512\",\n            \"mode\": \"Routing\",\n            \"wan_mode\": \"Setup via ONU webpage\",\n            \"ip_address\": null,\n            \"subnet_mask\": null,\n            \"default_gateway\": null,\n            \"dns1\": null,\n            \"dns2\": null,\n            \"username\": null,\n            \"password\": null,\n            \"mgmt_ip_mode\": \"Inactive\",\n            \"mgmt_ip_address\": null,\n            \"mgmt_ip_subnet_mask\": null,\n            \"mgmt_ip_default_gateway\": null,\n            \"mgmt_ip_dns1\": null,\n            \"mgmt_ip_dns2\": null,\n            \"mgmt_ip_service_port\": null,\n            \"mgmt_ip_vlan\": null,\n            \"mgmt_ip_cvlan\": null,\n            \"mgmt_ip_svlan\": null,\n            \"mgmt_ip_tag_transform_mode\": null,\n            \"voip_service\": \"Disabled\",\n            \"voip_ip_mode\": null,\n            \"voip_ip_address\": null,\n            \"voip_ip_subnet_mask\": null,\n            \"voip_ip_default_gateway\": null,\n            \"voip_ip_dns1\": null,\n            \"voip_ip_dns2\": null,\n            \"voip_ip_service_port\": null,\n            \"voip_ip_vlan\": null,\n            \"voip_ip_cvlan\": null,\n            \"voip_ip_svlan\": null,\n            \"voip_ip_tag_transform_mode\": null,\n            \"iptv\": \"Disabled\",\n            \"iptv_service_port\": null,\n            \"iptv_vlan\": null,\n            \"iptv_cvlan\": null,\n            \"iptv_svlan\": null,\n            \"iptv_tag_transform_mode\": null,\n            \"iptv_upload_speed\": null,\n            \"iptv_download_speed\": null,\n            \"iptv_allowed_macs\": null,\n            \"iptv_filtered_macs\": null,\n            \"custom_template_name\": null,\n            \"tr069\": \"Disabled\",\n            \"tr069_profile\": null,\n            \"tr069_device_id\": null,\n            \"catv\": \"Not supported by ONU-Type\",\n            \"administrative_status\": \"Enabled\",\n            \"authorization_date\": \"2023-06-04 00:00:00\",\n            \"is_synced_after_import\": \"0\",\n            \"is_failed_resync_config\": \"0\",\n            \"status\": null,\n            \"last_status_change\": null,\n            \"signal\": null,\n            \"signal_1310\": null,\n            \"signal_1490\": null,\n            \"latitude\": null,\n            \"longitude\": null,\n            \"contact\": \"\",\n            \"service_ports\": [\n                {\n                    \"service_port\": \"348\",\n                    \"vlan\": \"20\",\n                    \"cvlan\": \"\",\n                    \"svlan\": \"\",\n                    \"tag_transform_mode\": \"translate\",\n                    \"upload_speed\": \"1G\",\n                    \"download_speed\": \"1G\"\n                }\n            ],\n            \"ethernet_ports\": [\n                {\n                    \"port\": \"eth_0/1\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"Access\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"20\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/2\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/3\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/4\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                }\n            ],\n            \"wifi_ports\": [],\n            \"voip_ports\": [],\n            \"applied_configuration_preset\": {\n                \"preset_id\": 5,\n                \"preset_name\": \"test preset\",\n                \"is_reversible\": true,\n                \"applied_at\": \"2026-07-23 06:51:54\",\n                \"status\": \"active\"\n            }\n        },\n        {\n            \"unique_external_id\": \"test2\",\n            \"pon_type\": \"gpon\",\n            \"gpon_channel\": \"gpon\",\n            \"sn\": \"ZTEGC171A71A\",\n            \"name\": \"Test name2\",\n            \"olt_id\": \"53\",\n            \"olt_name\": \"OLT 1\",\n            \"board\": \"1\",\n            \"port\": \"4\",\n            \"onu\": \"4\",\n            \"onu_type_id\": \"2\",\n            \"onu_type_name\": \"ZTE-F600\",\n            \"zone_id\": \"1\",\n            \"zone_name\": \"City Center\",\n            \"address\": null,\n            \"odb_name\": \"ODB 2\",\n            \"odb_port\": \"\",\n            \"seal_number\": null,\n            \"mode\": \"Routing\",\n            \"wan_mode\": \"Setup via ONU webpage\",\n            \"ip_address\": null,\n            \"subnet_mask\": null,\n            \"default_gateway\": null,\n            \"dns1\": null,\n            \"dns2\": null,\n            \"username\": null,\n            \"password\": null,\n            \"mgmt_ip_mode\": \"Inactive\",\n            \"mgmt_ip_address\": null,\n            \"mgmt_ip_subnet_mask\": null,\n            \"mgmt_ip_default_gateway\": null,\n            \"mgmt_ip_dns1\": null,\n            \"mgmt_ip_dns2\": null,\n            \"mgmt_ip_service_port\": null,\n            \"mgmt_ip_vlan\": null,\n            \"mgmt_ip_cvlan\": null,\n            \"mgmt_ip_svlan\": null,\n            \"mgmt_ip_tag_transform_mode\": null,\n            \"voip_service\": \"Disabled\",\n            \"voip_ip_mode\": \"DHCP\",\n            \"voip_ip_address\": null,\n            \"voip_ip_subnet_mask\": null,\n            \"voip_ip_default_gateway\": null,\n            \"voip_ip_dns1\": null,\n            \"voip_ip_dns2\": null,\n            \"voip_ip_service_port\": null,\n            \"voip_ip_vlan\": null,\n            \"voip_ip_cvlan\": null,\n            \"voip_ip_svlan\": null,\n            \"voip_ip_tag_transform_mode\": null,\n            \"iptv\": \"OLT IPTV module disabled\",\n            \"iptv_service_port\": null,\n            \"iptv_vlan\": null,\n            \"iptv_cvlan\": null,\n            \"iptv_svlan\": null,\n            \"iptv_tag_transform_mode\": null,\n            \"iptv_upload_speed\": null,\n            \"iptv_download_speed\": null,\n            \"iptv_allowed_macs\": null,\n            \"iptv_filtered_macs\": null,\n            \"custom_template_name\": null,\n            \"tr069\": \"Disabled\",\n            \"tr069_profile\": null,\n            \"tr069_device_id\": null,\n            \"catv\": \"Enabled\",\n            \"administrative_status\": \"Enabled\",\n            \"authorization_date\": \"2021-08-30 00:00:00\",\n            \"is_synced_after_import\": 1,\n            \"is_failed_resync_config\": 0,\n            \"status\": null,\n            \"last_status_change\": \"2025-12-30 12:00:00\",\n            \"signal\": null,\n            \"signal_1310\": null,\n            \"signal_1490\": null,\n            \"latitude\": null,\n            \"longitude\": null,\n            \"contact\": \"\",\n            \"service_ports\": [\n                {\n                    \"service_port\": \"100\",\n                    \"vlan\": \"150\",\n                    \"cvlan\": \"\",\n                    \"svlan\": \"\",\n                    \"tag_transform_mode\": \"\",\n                    \"upload_speed\": \"1G\",\n                    \"download_speed\": \"1G\"\n                }\n            ],\n            \"ethernet_ports\": [\n                {\n                    \"port\": \"eth_0/1\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/2\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/3\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/4\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                }\n            ],\n            \"wifi_ports\": [],\n            \"voip_ports\": [],\n            \"applied_configuration_preset\": null\n        }\n    ]\n}"},{"id":"1f288fd8-5f6a-4d6e-8c0f-96436d7eb05d","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_all_onus_details?olt_id=1&board=2&port=3&zone=City Centre","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_all_onus_details"],"query":[{"key":"olt_id","value":"1"},{"key":"board","value":"2"},{"key":"port","value":"3"},{"key":"zone","value":"City Centre"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"4e11cd01-2e4b-4f83-807d-963c4e7434af"},{"name":"Get all ONUs GPS coordinates","id":"fb1b572f-da0e-46f1-85e3-512d2bc4e98f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_all_onus_gps_coordinates?olt_id=1&board=2&port=4&zone=City Centre","description":"<p>Gets all the ONUs GPS coordinates for a specified OLT ID, board, PON port or zone. If no OLT ID, board, PON port or zone is specified, then all the ONUs GPS coordinates on all OLTs will be returned.</p>\n<p>Maximum recommended calls for \"Get all ONUs GPS coordinates\": 3 per hour (calls are blocked after the limit is reached).  </p>\n<p>The response consists of:</p>\n<ul><li><p>ONU latitude</p></li><li><p>ONU longitude</p></li></ul>\n\n  \n<p>It returns a 400 error code when:  </p>\n<ul><li><p>no OLT was found for the provided OLT ID</p></li><li><p>no OLT ID was provided with board or PON port</p></li><li><p>no OLT ID or no board was provided with PON port</p></li><li><p>no Zone was found for the provided zone name</p></li></ul>","urlObject":{"protocol":"https","path":["api","onu","get_all_onus_gps_coordinates"],"host":["{{subdomain}}","smartolt","com"],"query":[{"description":{"content":"<p>(Int) The ID of the OLT for which to get the ONUs GPS coordinates. Leave empty if you want ONUs GPS coordinates from all OLTs</p>\n","type":"text/plain"},"key":"olt_id","value":"1"},{"description":{"content":"<p>(Int) OLT board where the ONUs are placed. Leave it empty if you want ONUs GPS coordinates from all boards on the provided OLT ID</p>\n","type":"text/plain"},"key":"board","value":"2"},{"description":{"content":"<p>(Int) OLT PON port where ONUs are placed. Leave it empty if you want ONUs GPS coordinates from all PON ports on the provided board</p>\n","type":"text/plain"},"key":"port","value":"4"},{"description":{"content":"<p>(String) The zone where the ONUs are located. The Zone can contain only alphanumeric characters, spaces, underscore and the dash (-) character. Leave it empty if you want ONUs GPS coordinates from all the zones</p>\n","type":"text/plain"},"key":"zone","value":"City Centre"}],"variable":[]}},"response":[{"id":"797a3a51-1a8e-465b-8b42-f60e912afced","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_all_onus_gps_coordinates","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_all_onus_gps_coordinates"],"query":[{"key":"olt_id","value":"1","disabled":true},{"key":"board","value":"2","disabled":true},{"key":"port","value":"3","disabled":true},{"key":"zone","value":"City Centre","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"onus\": [\n        {\n        \t\"unique_external_id\": \"test1\",\n            \"latitude\": \"41.22\",\n            \"longitude\": \"33.5\"\n        },\n        {\n        \t\"unique_external_id\": \"test2\",\n            \"latitude\": \"41.20\",\n            \"longitude\": \"32.88\"\n        }\n\t]\n}"},{"id":"faf85cee-48a5-480a-8c9e-f64b8dd7c69a","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_all_onus_gps_coordinates?olt_id=1&board=2&port=3&zone=City Centre","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_all_onus_gps_coordinates"],"query":[{"key":"olt_id","value":"1"},{"key":"board","value":"2"},{"key":"port","value":"3"},{"key":"zone","value":"City Centre"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"fb1b572f-da0e-46f1-85e3-512d2bc4e98f"},{"name":"Get ONU status by ONU unique external ID","id":"8b411df2-20c4-4249-9897-695d06b4b0ab","request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_status/{{onu_external_id}}","description":"<p>📡 Performs real-time data collection directly from the OLT<br /><strong>🔧 Designed for LIVE debugging and troubleshooting only</strong></p>\n<p>❗ <strong>Restrictions</strong>🚫 DO NOT use this endpoint in:</p>\n<ul>\n<li><p>automated polling scripts</p>\n</li>\n<li><p>monitoring loops</p>\n</li>\n<li><p>bulk data collection jobs</p>\n</li>\n</ul>\n<p><strong>🚫 DO NOT call this endpoint repeatedly for multiple ONUs</strong></p>\n<p>Use get_onu_status only when:</p>\n<ul>\n<li><p>actively debugging a specific ONU</p>\n</li>\n<li><p>investigating a real-time issue reported by a user</p>\n</li>\n</ul>\n<p>For regular monitoring or integrations, use endpoints such as Get all onus statuses and cache the response in your system for 5 minutes.</p>\n<p>Gets the ONU status for a specified ONU unique external ID.</p>\n<p>ONU status returned can be:</p>\n<ul><li><div>Online</div></li><li><div>Power fail</div></li><li><div>LOS</div></li><li><div>Offline</div></li></ul>\n\n<p>It returns a 400 error code when:</p>\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>OLT wasn't able to process the command</div></li><li><div>ONU is saved for later authorization and doesn't have a status yet</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","get_onu_status","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"43dcfe49-5b6b-49b6-ba5c-832f1420fce8","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_status/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"onu_status\": \"Online\",\n    \"last_status_change\": \"2025-12-30 12:00:00\"\n}"},{"id":"6337da8a-3164-4ac7-9d30-6d3dc784ae01","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_status/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"f7ef9d8a-687f-4819-a84c-3c8bbd425cb5","name":"400 - No ONU for external ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_status/100"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: 100\"\n}"}],"_postman_id":"8b411df2-20c4-4249-9897-695d06b4b0ab"},{"name":"Get ONU status history by ONU unique external ID","id":"b02c2e0c-8fc3-49af-b848-02b1278346d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_status_history/{{onu_external_id}}","description":"<p>Gets the status history of an ONU for a time period: how long the ONU was Online, LOS, Power fail, Offline or Log in, and how many times it went down.</p>\n\n<p>The data comes from the SmartOLT database. This endpoint does not send commands to the OLT.</p>\n\n<p><b>Time period</b></p>\n\n<ul><li><div>Leave <code>from</code> and <code>to</code> empty to get the last 24 hours.</div></li><li><div>Or send <code>from</code> and <code>to</code> together, as <code>YYYY-MM-DD</code>. Both days are included. <code>from</code> can be up to 365 days ago.</div></li><li><div>All times are in the time zone of your SmartOLT account. The response shows it in <code>timezone</code>.</div></li></ul>\n\n<p><b>Detail</b></p>\n\n<ul><li><div>If the period starts in the last 7 days, <code>detail</code> is <code>transitions</code>. You get each status period in <code>periods</code>.</div></li><li><div>If the period starts earlier, <code>detail</code> is <code>daily</code>. You get the seconds in each status per day in <code>days</code>.</div></li></ul>\n\n<p><b>Fields</b></p>\n\n<ul><li><div><code>summary.online_percent</code>: the percentage of time Online. Time with no data (<code>unknown</code>) is not counted. It is <code>null</code> when there is no data.</div></li><li><div><code>summary.seconds</code> and <code>days[].seconds</code>: seconds in each status: online, los, power_fail, offline, login, unknown.</div></li><li><div><code>interruptions</code>: how many times the ONU went from Online to another status.</div></li><li><div><code>periods[].cause</code>: <code>olt_reboot</code> when the status changed because the OLT rebooted, otherwise <code>null</code>.</div></li></ul>\n\n<p>It returns a 400 error code when:</p>\n\n<ul><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>the dates are not valid (error code <code>invalid_date_range</code>)</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","get_onu_status_history","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[{"disabled":true,"description":{"content":"<p>(String) The first day, as YYYY-MM-DD. Send it together with <code>to</code>. Leave both empty to get the last 24 hours.</p>\n","type":"text/plain"},"key":"from","value":"2026-09-01"},{"disabled":true,"description":{"content":"<p>(String) The last day, as YYYY-MM-DD. This day is included. It cannot be in the future.</p>\n","type":"text/plain"},"key":"to","value":"2026-09-30"}],"variable":[]}},"response":[{"id":"8a4e56dd-5dc7-4153-b0a2-6ce488827b17","name":"200 - OK (last 24 hours)","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_status_history/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"onu_external_id\": \"ext-1001\",\n    \"from\": \"2026-10-08 10:00:00\",\n    \"to\": \"2026-10-09 10:00:00\",\n    \"timezone\": \"Europe/Berlin\",\n    \"detail\": \"transitions\",\n    \"summary\": {\n        \"online_percent\": 98.26,\n        \"known_seconds\": 86400,\n        \"seconds\": {\n            \"online\": 84900,\n            \"los\": 1200,\n            \"power_fail\": 300,\n            \"offline\": 0,\n            \"login\": 0,\n            \"unknown\": 0\n        },\n        \"interruptions\": 2\n    },\n    \"periods\": [\n        {\n            \"status\": \"online\",\n            \"from\": \"2026-10-08 10:00:00\",\n            \"to\": \"2026-10-08 22:10:00\",\n            \"seconds\": 43800,\n            \"cause\": null\n        },\n        {\n            \"status\": \"los\",\n            \"from\": \"2026-10-08 22:10:00\",\n            \"to\": \"2026-10-08 22:30:00\",\n            \"seconds\": 1200,\n            \"cause\": null\n        },\n        {\n            \"status\": \"online\",\n            \"from\": \"2026-10-08 22:30:00\",\n            \"to\": \"2026-10-09 03:00:00\",\n            \"seconds\": 16200,\n            \"cause\": null\n        },\n        {\n            \"status\": \"power_fail\",\n            \"from\": \"2026-10-09 03:00:00\",\n            \"to\": \"2026-10-09 03:05:00\",\n            \"seconds\": 300,\n            \"cause\": null\n        },\n        {\n            \"status\": \"online\",\n            \"from\": \"2026-10-09 03:05:00\",\n            \"to\": \"2026-10-09 10:00:00\",\n            \"seconds\": 24900,\n            \"cause\": null\n        }\n    ],\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"71b36dd8-5c0d-42b6-b459-220a37e57bcd","name":"200 - OK (daily, older period)","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_status_history/{{onu_external_id}}?from=2026-09-01&to=2026-09-02","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_onu_status_history","{{onu_external_id}}"],"query":[{"key":"from","value":"2026-09-01"},{"key":"to","value":"2026-09-02"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"onu_external_id\": \"ext-1001\",\n    \"from\": \"2026-09-01 00:00:00\",\n    \"to\": \"2026-09-03 00:00:00\",\n    \"timezone\": \"Europe/Berlin\",\n    \"detail\": \"daily\",\n    \"summary\": {\n        \"online_percent\": 99.65,\n        \"known_seconds\": 172800,\n        \"seconds\": {\n            \"online\": 172200,\n            \"los\": 600,\n            \"power_fail\": 0,\n            \"offline\": 0,\n            \"login\": 0,\n            \"unknown\": 0\n        },\n        \"interruptions\": 1\n    },\n    \"days\": [\n        {\n            \"date\": \"2026-09-01\",\n            \"seconds\": {\n                \"online\": 85800,\n                \"los\": 600,\n                \"power_fail\": 0,\n                \"offline\": 0,\n                \"login\": 0,\n                \"unknown\": 0\n            },\n            \"interruptions\": 1\n        },\n        {\n            \"date\": \"2026-09-02\",\n            \"seconds\": {\n                \"online\": 86400,\n                \"los\": 0,\n                \"power_fail\": 0,\n                \"offline\": 0,\n                \"login\": 0,\n                \"unknown\": 0\n            },\n            \"interruptions\": 0\n        }\n    ],\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"2e021666-6ff4-40da-811d-ac4530a934e5","name":"400 - Invalid dates","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_status_history/{{onu_external_id}}?from=2026-10-09&to=2026-10-01","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_onu_status_history","{{onu_external_id}}"],"query":[{"key":"from","value":"2026-10-09"},{"key":"to","value":"2026-10-01"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Use from and to together as YYYY-MM-DD, from not after to, within the last 365 days.\",\n    \"error_code\": \"invalid_date_range\"\n}"},{"id":"8938a646-2dd5-4f30-9d93-d4c15a474310","name":"400 - No ONU for external ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_status_history/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: 100\"\n}"},{"id":"b28f2ba5-7637-4af2-8aaf-be9f5e85a4f2","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_status_history/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid API Key.\"\n}"}],"_postman_id":"b02c2e0c-8fc3-49af-b848-02b1278346d6"},{"name":"Get ONU signal by ONU unique external ID","id":"91e6e5ac-47c5-4c13-a575-c8d75d56bf31","request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_signal/{{onu_external_id}}","description":"<p>Gets the ONU signal for a specified ONU unique external ID.</p>\n<p>This endpoint is should be used only for getting fresh data for a limited number of ONUs between regular polling intervals.</p>\n<p>To maintain system performance for all users, heavy usage may be subject to rate limiting.</p>\n<p>❗ <strong>Restrictions****🚫 DO NOT use this endpoint in:</strong></p>\n<ul><li><div>automated polling scripts</div></li><li><div>monitoring loops</div></li><li><div>bulk data collection jobs</div></li></ul>\n\n<p><strong>🚫 DO NOT call this endpoint repeatedly for multiple ONUs</strong></p>\n<p>Use get_onu_signal only when:</p>\n<ul>\n<li><p>actively debugging a specific ONT</p>\n</li>\n<li><p>investigating a real-time issue reported by a user</p>\n</li>\n</ul>\n<p>The response consists of:</p>\n<ul><li><div>ONU signal: 'Critical', 'Warning', 'Very good'</div></li><li><div>ONU signal value: 1490 signal / 1310 signal</div></li><li><div>ONU signal 1310 value</div></li><li><div>ONU signal 1490 value</div></li></ul>\n\n<p>It returns a 400 error code when:</p>\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>OLT wasn't able to process the command</div></li><li><div>ONU is saved for later authorization and doesn't have signal yet</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","get_onu_signal","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"be9b350d-76ce-41e9-8ada-702f9f76999c","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_signal/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"onu_signal\": \"Very good\",\n    \"onu_signal_value\": \"-10.39 dBm / -10.74 dBm \",\n    \"onu_signal_1310\": \"-10.74 dBm\",\n    \"onu_signal_1490\": \"-10.39 dBm\"\n}"},{"id":"7d21a173-b61e-43dd-a8d0-466448bce3e7","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_signal/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"29b3a9de-090c-4843-a11d-2d77fefd7b13","name":"400 - No ONU for external ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_signal/100"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: 100\"\n}"}],"_postman_id":"91e6e5ac-47c5-4c13-a575-c8d75d56bf31"},{"name":"Get ONU details by ONU unique external ID","id":"caa2c075-2b1c-4b0a-b36e-8dccd89ddf36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_details/{{onu_external_id}}","description":"<p>Get ONU details for a specified ONU unique external ID.</p>\n<p>The response consists of:</p>\n<ul>\n<li>ONU name</li>\n<li>ONU SN</li>\n<li>ONU board, port, onu etc</li>\n</ul>\n<p><strong>Fields</strong></p>\n<ul>\n<li><code>seal_number</code>: the seal number of the ONU's drop cable at the splitter port, as text. It is <code>null</code> when the ONU has no seal number. Several ONUs can have the same seal number.</li>\n</ul>\n<p>It returns a 400 error code when:</p>\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n</ul>\n<p><em><strong>Important: Direct ONU link by External ID</strong></em><br />Use this URL in your CRM/ERP to directly point to the ONU in SmartOLT:<br /><code>https://{subdomain}.smartolt.com/onu/details/{onu_external_id}</code></p>\n","urlObject":{"protocol":"https","path":["api","onu","get_onu_details","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"cd0d5c4d-9887-470e-957f-98053b5c701a","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_details/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"onu_details\": {\n        \"unique_external_id\": \"test2\",\n        \"pon_type\": \"gpon\",\n        \"gpon_channel\": \"gpon\",\n        \"sn\": \"ZTEGC171A71A\",\n        \"name\": \"Test name2\",\n        \"olt_id\": \"53\",\n        \"olt_name\": \"OLT 1\",\n        \"board\": \"1\",\n        \"port\": \"4\",\n        \"onu\": \"4\",\n        \"onu_type_id\": \"2\",\n        \"onu_type_name\": \"ZTE-F600\",\n        \"zone_id\": \"1\",\n        \"zone_name\": \"City Center\",\n        \"address\": null,\n        \"odb_name\": \"ODB 2\",\n        \"odb_port\": \"\",\n        \"seal_number\": \"L-004512\",\n        \"mode\": \"Routing\",\n        \"wan_mode\": \"Setup via ONU webpage\",\n        \"ip_address\": null,\n        \"subnet_mask\": null,\n        \"default_gateway\": null,\n        \"dns1\": null,\n        \"dns2\": null,\n        \"username\": null,\n        \"password\": null,\n        \"mgmt_ip_mode\": \"Inactive\",\n        \"mgmt_ip_address\": null,\n        \"mgmt_ip_subnet_mask\": null,\n        \"mgmt_ip_default_gateway\": null,\n        \"mgmt_ip_dns1\": null,\n        \"mgmt_ip_dns2\": null,\n        \"mgmt_ip_service_port\": null,\n        \"mgmt_ip_vlan\": null,\n        \"mgmt_ip_cvlan\": null,\n        \"mgmt_ip_svlan\": null,\n        \"mgmt_ip_tag_transform_mode\": null,\n        \"voip_service\": \"Disabled\",\n        \"voip_ip_mode\": \"DHCP\",\n        \"voip_ip_address\": null,\n        \"voip_ip_subnet_mask\": null,\n        \"voip_ip_default_gateway\": null,\n        \"voip_ip_dns1\": null,\n        \"voip_ip_dns2\": null,\n        \"voip_ip_service_port\": null,\n        \"voip_ip_vlan\": null,\n        \"voip_ip_cvlan\": null,\n        \"voip_ip_svlan\": null,\n        \"voip_ip_tag_transform_mode\": null,\n        \"iptv\": \"OLT IPTV module disabled\",\n        \"iptv_service_port\": null,\n        \"iptv_vlan\": null,\n        \"iptv_cvlan\": null,\n        \"iptv_svlan\": null,\n        \"iptv_tag_transform_mode\": null,\n        \"iptv_upload_speed\": null,\n        \"iptv_download_speed\": null,\n        \"iptv_allowed_macs\": null,\n        \"iptv_filtered_macs\": null,\n        \"custom_template_name\": null,\n        \"tr069\": \"Disabled\",\n        \"tr069_profile\": null,\n        \"tr069_device_id\": null,\n        \"catv\": \"Enabled\",\n        \"administrative_status\": \"Enabled\",\n        \"authorization_date\": \"2021-08-30 00:00:00\",\n        \"is_synced_after_import\": 1,\n        \"is_failed_resync_config\": 0,\n        \"status\": null,\n        \"last_status_change\": \"2025-12-30 12:00:00\",\n        \"signal\": null,\n        \"signal_1310\": null,\n        \"signal_1490\": null,\n        \"latitude\": null,\n        \"longitude\": null,\n        \"contact\": \"\",\n        \"service_ports\": [\n            {\n                \"service_port\": \"100\",\n                \"vlan\": \"150\",\n                \"cvlan\": \"\",\n                \"svlan\": \"\",\n                \"tag_transform_mode\": \"\",\n                \"upload_speed\": \"1G\",\n                \"download_speed\": \"1G\"\n            }\n        ],\n        \"ethernet_ports\": [\n            {\n                \"port\": \"eth_0/1\",\n                \"admin_state\": \"Enabled\",\n                \"mode\": \"LAN\",\n                \"dhcp\": \"No control\",\n                \"vlan\": \"\",\n                \"allowed_vlans\": \"\"\n            },\n            {\n                \"port\": \"eth_0/2\",\n                \"admin_state\": \"Enabled\",\n                \"mode\": \"LAN\",\n                \"dhcp\": \"No control\",\n                \"vlan\": \"\",\n                \"allowed_vlans\": \"\"\n            },\n            {\n                \"port\": \"eth_0/3\",\n                \"admin_state\": \"Enabled\",\n                \"mode\": \"LAN\",\n                \"dhcp\": \"No control\",\n                \"vlan\": \"\",\n                \"allowed_vlans\": \"\"\n            },\n            {\n                \"port\": \"eth_0/4\",\n                \"admin_state\": \"Enabled\",\n                \"mode\": \"LAN\",\n                \"dhcp\": \"No control\",\n                \"vlan\": \"\",\n                \"allowed_vlans\": \"\"\n            }\n        ],\n        \"wifi_ports\": [],\n        \"voip_ports\": [],\n        \"applied_configuration_preset\": {\n            \"preset_id\": 5,\n            \"preset_name\": \"test preset\",\n            \"is_reversible\": true,\n            \"applied_at\": \"2026-07-23 06:51:54\",\n            \"status\": \"active\"\n        }\n    }\n}"},{"id":"06926da8-356b-4cfb-8012-8d99f5cae0eb","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_details/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"a511ff15-25cc-4458-a3e7-db84f3951a90","name":"400 - No ONU for external ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_details/100"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: 100\"\n}"}],"_postman_id":"caa2c075-2b1c-4b0a-b36e-8dccd89ddf36"},{"name":"Get ONUs details by SN","id":"7ee627e7-f70a-4b88-8472-45d29ec9691f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_details_by_sn/{{onu_sn}}","description":"<p>Get ONU details for a specified SN.</p>\n<p>This endpoint is should be used only for getting fresh data for a limited number of ONTs between regular polling intervals.</p>\n<p>To maintain system performance for all users, heavy usage may be subject to rate limiting.</p>\n<p>❗ <strong>Restrictions****🚫 DO NOT use this endpoint in:</strong></p>\n<ul>\n<li>automated polling scripts</li>\n<li>monitoring loops</li>\n<li>bulk data collection jobs</li>\n</ul>\n<p><strong>🚫 DO NOT call this endpoint repeatedly for multiple ONUs</strong></p>\n<p>Use get_onus_details_by_sn only when:</p>\n<ul>\n<li>actively debugging a specific ONT</li>\n<li>investigating a real-time issue reported by a user</li>\n</ul>\n<p>The response consists of:</p>\n<ul>\n<li>ONU name</li>\n<li>ONU SN</li>\n<li>ONU board, port, onu etc</li>\n</ul>\n<p><strong>Fields</strong></p>\n<ul>\n<li><code>seal_number</code>: the seal number of the ONU's drop cable at the splitter port, as text. It is <code>null</code> when the ONU has no seal number. Several ONUs can have the same seal number.</li>\n</ul>\n<p>It returns a 400 error code when:</p>\n<ul>\n<li>no SN was provided</li>\n</ul>\n<p><em><strong>Important: Direct ONU link by External ID</strong></em><br />Use this URL in your CRM/ERP to directly point to the ONU in SmartOLT:<br /><code>https://{subdomain}.smartolt.com/onu/details/{onu_external_id}</code></p>\n","urlObject":{"protocol":"https","path":["api","onu","get_onus_details_by_sn","{{onu_sn}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"c6b7c9c1-1da7-4703-8895-66a184aff1eb","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_details_by_sn/ZTEGC1D48C98"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"onus\": [\n        {\n            \"unique_external_id\": \"test2\",\n            \"pon_type\": \"gpon\",\n            \"gpon_channel\": \"gpon\",\n            \"sn\": \"ZTEGC171A71A\",\n            \"name\": \"Test name2\",\n            \"olt_id\": \"53\",\n            \"olt_name\": \"OLT 1\",\n            \"board\": \"1\",\n            \"port\": \"4\",\n            \"onu\": \"4\",\n            \"onu_type_id\": \"2\",\n            \"onu_type_name\": \"ZTE-F600\",\n            \"zone_id\": \"1\",\n            \"zone_name\": \"City Center\",\n            \"address\": null,\n            \"odb_name\": \"ODB 2\",\n            \"odb_port\": \"\",\n            \"seal_number\": \"L-004512\",\n            \"mode\": \"Routing\",\n            \"wan_mode\": \"Setup via ONU webpage\",\n            \"ip_address\": null,\n            \"subnet_mask\": null,\n            \"default_gateway\": null,\n            \"dns1\": null,\n            \"dns2\": null,\n            \"username\": null,\n            \"password\": null,\n            \"mgmt_ip_mode\": \"Inactive\",\n            \"mgmt_ip_address\": null,\n            \"mgmt_ip_subnet_mask\": null,\n            \"mgmt_ip_default_gateway\": null,\n            \"mgmt_ip_dns1\": null,\n            \"mgmt_ip_dns2\": null,\n            \"mgmt_ip_service_port\": null,\n            \"mgmt_ip_vlan\": null,\n            \"mgmt_ip_cvlan\": null,\n            \"mgmt_ip_svlan\": null,\n            \"mgmt_ip_tag_transform_mode\": null,\n            \"voip_service\": \"Disabled\",\n            \"voip_ip_mode\": \"DHCP\",\n            \"voip_ip_address\": null,\n            \"voip_ip_subnet_mask\": null,\n            \"voip_ip_default_gateway\": null,\n            \"voip_ip_dns1\": null,\n            \"voip_ip_dns2\": null,\n            \"voip_ip_service_port\": null,\n            \"voip_ip_vlan\": null,\n            \"voip_ip_cvlan\": null,\n            \"voip_ip_svlan\": null,\n            \"voip_ip_tag_transform_mode\": null,\n            \"iptv\": \"OLT IPTV module disabled\",\n            \"iptv_service_port\": null,\n            \"iptv_vlan\": null,\n            \"iptv_cvlan\": null,\n            \"iptv_svlan\": null,\n            \"iptv_tag_transform_mode\": null,\n            \"iptv_upload_speed\": null,\n            \"iptv_download_speed\": null,\n            \"iptv_allowed_macs\": null,\n            \"iptv_filtered_macs\": null,\n            \"custom_template_name\": null,\n            \"tr069\": \"Disabled\",\n            \"tr069_profile\": null,\n            \"tr069_device_id\": null,\n            \"catv\": \"Enabled\",\n            \"administrative_status\": \"Enabled\",\n            \"authorization_date\": \"2021-08-30 00:00:00\",\n            \"is_synced_after_import\": 1,\n            \"is_failed_resync_config\": 0,\n            \"status\": null,\n            \"last_status_change\": \"2025-12-30 12:00:00\",\n            \"signal\": null,\n            \"signal_1310\": null,\n            \"signal_1490\": null,\n            \"latitude\": null,\n            \"longitude\": null,\n            \"contact\": \"\",\n            \"service_ports\": [\n                {\n                    \"service_port\": \"100\",\n                    \"vlan\": \"150\",\n                    \"cvlan\": \"\",\n                    \"svlan\": \"\",\n                    \"tag_transform_mode\": \"\",\n                    \"upload_speed\": \"1G\",\n                    \"download_speed\": \"1G\"\n                }\n            ],\n            \"ethernet_ports\": [\n                {\n                    \"port\": \"eth_0/1\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/2\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/3\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                },\n                {\n                    \"port\": \"eth_0/4\",\n                    \"admin_state\": \"Enabled\",\n                    \"mode\": \"LAN\",\n                    \"dhcp\": \"No control\",\n                    \"vlan\": \"\",\n                    \"allowed_vlans\": \"\"\n                }\n            ],\n            \"wifi_ports\": [],\n            \"voip_ports\": [],\n            \"applied_configuration_preset\": {\n                \"preset_id\": 5,\n                \"preset_name\": \"test preset\",\n                \"is_reversible\": true,\n                \"applied_at\": \"2026-07-23 06:51:54\",\n                \"status\": \"active\"\n            }\n        }\n    ]\n}"},{"id":"50e7b659-4411-4761-9d22-b07fc3d97391","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onus_details_by_sn/onu_sn"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"7ee627e7-f70a-4b88-8472-45d29ec9691f"},{"name":"Get ONU full status info by ONU unique external ID","id":"d3d19dbd-a232-4e08-93bc-a17500cf4b01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_full_status_info/{{onu_external_id}}","description":"<p>Gets the ONU full status info for a specified ONU unique external ID.</p>\n<p>This endpoint is resource-intensive and should be used with caution.</p>\n<p>To maintain system performance for all users, heavy usage may be subject to rate limiting.</p>\n<p>⏱️ Average response time: ~5 seconds per request<br />📡 Performs real-time data collection directly from the OLT<br /><strong>🔧 Designed for LIVE debugging and troubleshooting only</strong></p>\n<p>❗ <strong>Restrictions<br />🚫 DO NOT use this endpoint in:</strong></p>\n<ul><li><div>automated polling scripts</div></li><li><div>monitoring loops</div></li><li><div>bulk data collection jobs</div></li></ul>\n\n<p><strong>🚫 DO NOT call this endpoint repeatedly for multiple ONUs</strong></p>\n<p>Use get_onu_full_status_info only when:</p>\n<ul><li><div>actively debugging a specific ONT</div></li><li><div>investigating a real-time issue reported by a user</div></li></ul>\n\n<p>For regular monitoring or integrations, use endpoints such as Get all onus statuses and cache the response in your system for 5 minutes:</p>\n<p><a href=\"https://api.smartolt.com/#dd7eff97-6229-497c-9cde-6acd0ad09aee\">get_all_onus_statuses</a></p>\n<p>ONU full status info contains info about:</p>\n<ul><li><div>Current status</div></li><li><div>Status history</div></li><li><div>Optical Tx, Rx signals</div></li><li><div>Ethernet interfaces</div></li><li><div>WAN status</div></li><li><div>MAC table</div></li><li><div>Other ONU info</div></li></ul>\n\n<p>It returns a 400 error code when:</p>\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>OLT wasn't able to process the command</div></li><li><div>ONU is saved for later authorization and doesn't have status info yet</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","get_onu_full_status_info","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"a04acde5-4857-4ec2-932c-5408191cf0e9","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_full_status_info/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"full_status_info\": \"Copyright(C) Huawei Technologies Co., Ltd. 2002-2016. All rights reserved.\\nLogin  Time : 2019-02-19 08:44:21+08:00\\nLogout Time : 2019-02-19 08:44:23+08:00\\nOptical status:\\nModule type                            : GPON\\nModule sub-type                        : CLASS B+\\nRx optical power(dBm)                  : -23.37\\nTx optical power(dBm)                  : 1.91\\nTemperature(C)                         : 48\\nOLT Rx ONT optical power(dBm)          : -28.54\\nCATV Rx optical power(dBm)             : -\\nONT-ID                  : 0\\nControl flag            : active\\nRun state               : online\\nMatch state             : mismatch\\nONT distance(m)         : 1945\\nCPU occupation          : 1%\\nManagement mode         : OMCI\\nDescription             : ONU_Customer_name_zone_Zone_1_descr\\nLast down cause         : dying-gasp\\nLast up time            : 2019-02-15 07:50:06+08:00\\nLast down time          : 2019-02-15 07:49:01+08:00\\nLast dying gasp time    : 2019-02-15 07:49:01+08:00\\nONT online duration     : 4 day(s), 0 hour(s), 54 minute(s), 24 second(s) \\nInteroperability-mode   : ITU-T\\nLine profile ID      : 1\\nLine profile name    : SMARTOLT_FLEXIBLE_GPON\\nMapping mode        :802.1p PRI\\nService profile ID   : 34\\nService profile name : HS8545M\\nRing check switch                 : Enable\\nRing port auto-shutdown           : Enable\\nHistory:\\nIndex               : 10\\nUpTime              : 2019-02-15 07:50:02+08:00\\nIndex               : 9\\nUpTime              : 2019-02-15 07:46:20+08:00\\nDownTime            : 2019-02-15 07:49:01+08:00\\nDownCause           : PowerFail\\nIndex               : 8\\nUpTime              : 2019-02-14 17:55:00+08:00\\nDownTime            : 2019-02-15 06:49:58+08:00\\nDownCause           : PowerFail\\nIndex               : 7\\nUpTime              : 2019-02-14 01:24:53+08:00\\nDownTime            : 2019-02-14 17:54:46+08:00\\nDownCause           : ONT LOSi/LOBi alarm\\nIndex               : 6\\nUpTime              : 2019-02-10 22:20:26+08:00\\nDownTime            : 2019-02-14 01:24:00+08:00\\nDownCause           : PowerFail\\nIndex               : 5\\nUpTime              : 2019-02-07 09:44:07+08:00\\nDownTime            : 2019-02-10 19:38:31+08:00\\nDownCause           : PowerFail\\nIndex               : 4\\nUpTime              : 2019-02-02 02:36:32+08:00\\nDownTime            : 2019-02-07 09:42:48+08:00\\nDownCause           : PowerFail\\nIndex               : 3\\nUpTime              : 2019-02-01 21:50:01+08:00\\nDownTime            : 2019-02-02 02:35:33+08:00\\nDownCause           : PowerFail\\nIndex               : 2\\nUpTime              : 2019-01-27 16:48:24+08:00\\nDownTime            : 2019-02-01 21:48:58+08:00\\nDownCause           : PowerFail\\nIndex               : 1\\nUpTime              : 2019-01-26 22:16:42+08:00\\nDownTime            : 2019-01-27 16:28:00+08:00\\nDownCause           : PowerFail\\nIndex                      : 1\\nName                       : 1_INTERNET_R_VID_20\\nService type               : Internet\\nConnection type            : IP routed\\nIPv4 Connection status     : Connected\\nIPv4 access type           : PPPoE\\nIPv4 address               : 10.13.1.178\\nSubnet mask                : 255.255.255.255\\nDefault gateway            : 192.168.38.1\\nManage VLAN                : 20\\nManage priority            : 0\\nMAC address                : 0087-C6AA-082A\\nIPv4 switch                : Enable\\nIPv6 Connection status     : Invalid\\nInterfaces status:\\nONT-ID   ONT Port type Speed(Mbps)   Duplex   LinkState  RingStatus\\n0         1         GE -             -        down       noloop    \\n0         2         FE -             -        down       noloop    \\n0         3         FE -             -        down       noloop    \\n0         4         FE -             -        down       noloop    \\nVoIP status:\\nOnline MACs on this ONU:\\nSRVPort  TYPE MAC            MAC TYPE F /S /P  ONTID VCI   VLAN ID\\n4     -  gpon 0007-c49a-083a dynamic  0 /1 /2   0    1          20\\n\"\n}"},{"id":"f826971f-31a3-49ef-9eb3-c4a837bcf534","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_full_status_info/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"247ed9af-fe6d-4698-9a6f-16341d744e0f","name":"400 - No ONU for external ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_full_status_info/100"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: 100\"\n}"}],"_postman_id":"d3d19dbd-a232-4e08-93bc-a17500cf4b01"},{"name":"Get ONU running config by ONU unique external ID","id":"0db06176-968a-4673-aac0-bf509256ac74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_running_config/{{onu_external_id}}","description":"<p>Gets the ONU running config from the OLT for a specified ONU unique external ID. <br />\nIt returns a 400 error code when:</p>\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>OLT wasn't able to process the command</li>\n<li>ONU is saved for later authorization and doesn't have status info yet</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","get_running_config","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"a862adb1-b538-476b-8874-4616c533f1f4","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_running_config/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"running_config\": \"\\n[MA5800V100R017: 5800]\\n[gpon]\\n  <gpon-0/1>\\n interface gpon 0/1\\n ont add 2 0 sn-auth \\\"485754439999999B\\\" omci ont-lineprofile-id 1 ont-srvprofile-id 34 desc \\\"ONU_Customer_Name_zone_Zone_1_descr__authd_20181219\\\" \\n[bbs-config]\\n  <bbs-config>\\n service-port 4 vlan 20 gpon 0/1/2 ont 0 gemport 1 multi-service user-vlan 20 tag-transform translate inbound traffic-table index 12 outbound traffic-table index 34\\n\\nService-ports on this ONU:\\n\\n service-port 4 vlan 20 gpon 0/1/2 ont 0 gemport 1 multi-service user-vlan 20 tag-transform translate inbound traffic-table index 12 outbound traffic-table index 34\\n\\n\"\n}"},{"id":"f0e45839-789a-4f82-947c-4f333aec2200","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_running_config/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"7ef14848-6a45-4590-a3b4-6c8af9444051","name":"400 - No ONU for external ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_running_config/100"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: 100\"\n}"}],"_postman_id":"0db06176-968a-4673-aac0-bf509256ac74"},{"name":"Get ONU signal graph by ONU unique external ID","id":"be1e3c09-6412-4fb3-b9ae-59235ff38b0d","request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_signal_graph/{{onu_external_id}}/{{graph_type}}","description":"<p>Gets the ONU signal graph for a specified ONU unique external ID. <br />\nThe graph_type can be:</p>\n<ul>\n<li>hourly</li>\n<li>daily</li>\n<li>weekly</li>\n<li>monthly</li>\n<li>yearly</li>\n</ul>\nThe response consists of:\n<ul>\n<li>Graph png image</li>\n</ul>\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>ONU doesn't have signal graph yet</li>\n</ul>\n\n<p>You can feed the response directly to an img tag in the src attribute with a Content-type header of \"image/png\".\nExample:</p>\n<p>\nPHP\n<code>\nheader(\"Content-type: image/png\");\necho $response_graph;\n</code>\n</p>\n<p>\nHTML\n<code>\nimg src=\"link_to_your_method_where_you_call_the_api\" alt=\"hourly signal not yet generated\"\n</code>\n</p>","urlObject":{"protocol":"https","path":["api","onu","get_onu_signal_graph","{{onu_external_id}}","{{graph_type}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"b5e7a6b4-5520-4ac1-9aaf-235065c6a13b","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_signal_graph/{{onu_external_id}}/{{graph_type}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"Graph image"},{"id":"bcdc6c56-32d8-4999-ab4d-d0855a6930a9","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_signal_graph/{{onu_external_id}}/{{graph_type}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid API Key.\"\n}"},{"id":"e2b17c9f-acb2-4d32-86f0-6c5d916f83dd","name":"400 - No ONU for external ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_signal_graph/100/{{graph_type}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: 100\"\n}"}],"_postman_id":"be1e3c09-6412-4fb3-b9ae-59235ff38b0d"},{"name":"Get ONU traffic graph by ONU unique external ID","id":"8342f9ca-d6e2-4938-b5a0-8be0531d75a9","request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_traffic_graph/{{onu_external_id}}/{{graph_type}}","description":"<p>Gets the ONU traffic graph for a specified ONU unique external ID. <br />\nThe graph_type can be:</p>\n<ul>\n<li>hourly</li>\n<li>daily</li>\n<li>weekly</li>\n<li>monthly</li>\n<li>yearly</li>\n</ul>\nThe response consists of:\n<ul>\n<li>Graph png image</li>\n</ul>\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>ONU doesn't have traffic graph yet</li>\n</ul>\n\n<p>You can feed the response directly to an img tag in the src attribute with a Content-type header of \"image/png\".\nExample:</p>\n<p>\nPHP\n<code>\nheader(\"Content-type: image/png\");\necho $response_graph;\n</code>\n</p>\n<p>\nHTML\n<code>\nimg src=\"link_to_your_method_where_you_call_the_api\" alt=\"hourly traffic not yet generated\"\n</code>\n</p>","urlObject":{"protocol":"https","path":["api","onu","get_onu_traffic_graph","{{onu_external_id}}","{{graph_type}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"47482166-bd36-4305-b6f9-58aca0255672","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_traffic_graph/{{onu_external_id}}/{{graph_type}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"Graph image"},{"id":"fead60a0-c4bd-48e8-ba6a-fb522e451d7b","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_traffic_graph/{{onu_external_id}}/{{graph_type}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid API Key.\"\n}"},{"id":"7348d20f-5864-49a9-a914-bf6f90ceb396","name":"400 - No ONU for external ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_traffic_graph/100/{{graph_type}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: 100\"\n}"}],"_postman_id":"8342f9ca-d6e2-4938-b5a0-8be0531d75a9"},{"name":"Get ONU speed profiles by ONU unique external ID","id":"a55774c1-5ad9-40c9-8078-a7a4710eb081","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_speed_profiles/{{onu_external_id}}","description":"<p>Get ONU speed profiles for a specified ONU unique external ID. <br />\nThe response consists of:</p>\n<ul>\n<li>ONU upload speed profile name</li>\n<li>ONU download speed profile name</li>\n</ul>\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","get_onu_speed_profiles","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"913c52d7-23f6-4b2d-8fa9-aa351b5ebe5e","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_speed_profiles/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"61","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:15:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=dea5601fe4dca881914fedb38834c0d30a9b7946; expires=Wed, 21-Mar-2018 18:15:34 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\r\n    \"status\": true,\r\n    \"upload_speed_profile_name\": \"10M\",\r\n    \"download_speed_profile_name\": \"50M\"\r\n}"},{"id":"2c50a4e4-a36f-4eb1-91f4-670cda98da1d","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"","description":"(Required) The API token","disabled":false}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_speed_profiles/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 21 Mar 2018 16:18:18 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Wed Mar 21 2018 18:15:35 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"dea5601fe4dca881914fedb38834c0d30a9b7946","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"47ce09b2-537c-43b4-b299-ad20dcb9f168","name":"400 - No ONU for external ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_speed_profiles/100"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: 100\"\n}"}],"_postman_id":"a55774c1-5ad9-40c9-8078-a7a4710eb081"},{"name":"Get ONU router hosts by ONU unique external ID","id":"542306a5-1a6f-4c64-b70a-fb2440a5a043","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n","type":"text"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_router_hosts/{{onu_external_id}}","description":"<p>Returns the list of LAN hosts (connected devices) currently seen by the ONU's router, read live from the CPE over TR-069.</p>\n<p>📡 Performs real-time data collection directly from the OLT<br /><strong>🔧 Designed for LIVE debugging and troubleshooting only</strong></p>\n<p><strong>🚫 DO NOT call this endpoint every time your CRM loads a page</strong></p>\n<p>❗ <strong>Restrictions</strong>🚫 DO NOT use this endpoint in:</p>\n<ul>\n<li>automated polling scripts</li>\n<li>monitoring loops</li>\n<li>bulk data collection jobs</li>\n</ul>\n<p><strong>🚫 DO NOT call this endpoint repeatedly for multiple ONUs</strong></p>\n<p>Use get_onu_router_hosts only when:</p>\n<ul>\n<li>actively debugging a specific ONU</li>\n<li>investigating a real-time issue reported by a user</li>\n</ul>\n<p><strong>Only one call at a time:</strong> This endpoint allows a single in-flight request at once. If another call to it is already being processed, further calls return HTTP 429 with <code>error_code: already_a_request_in_progress</code> — wait for the running call to finish before retrying.</p>\n<p>The ONU must be online and TR-069 must be enabled and integrated on it; otherwise the device is treated as offline and the call fails.</p>\n<p><strong>Success response</strong> (<code>status: true</code>) contains <code>response.hostlist</code>, an object keyed by host index. Each host is the raw TR-069 <code>Hosts.Host</code> entry (fields such as <code>HostName</code>, <code>IPAddress</code>, <code>MACAddress</code>, <code>Active</code>, <code>AddressSource</code>, <code>Layer2Interface</code>, ...); available fields depend on the CPE.</p>\n<p>Each host also has <code>wifi_signal_dbm</code>: the WiFi signal of that device in dBm (for example <code>-61</code>), read from the ONU's WiFi interfaces during the same call. It is <code>null</code> for a device connected by cable, for a WiFi device whose signal the ONU does not report, and when the ONU does not answer the WiFi read. The host list is returned in all three cases.</p>\n<p><strong>Error codes</strong> (<code>error_code</code> in the <code>{status:false, error, error_code}</code> body):</p>\n<ul>\n<li><code>specify_field</code> (400) — no <code>onu_external_id</code> supplied.</li>\n<li><code>specify_valid_field</code> (400) — no ONU matches the supplied id.</li>\n<li><code>already_a_request_in_progress</code> (429) — another call to this endpoint is already running; retry after it completes.</li>\n<li><code>tr069_unable_to_process_command</code> (400) — TR-069 not enabled/integrated on the ONU, or the device is offline / did not respond.</li>\n<li><code>forbidden</code> (403) — id is outside your restriction group, or the OLT subscription is not valid.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","onu","get_onu_router_hosts","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"714c636c-f3f6-4da4-b91c-f7f717936f0a","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_router_hosts/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"hostlist\": {\n            \"1\": {\n                \"HostName\": \"android-a1b2c3d4\",\n                \"IPAddress\": \"192.168.1.20\",\n                \"MACAddress\": \"AA:BB:CC:DD:EE:01\",\n                \"Active\": \"true\",\n                \"AddressSource\": \"DHCP\",\n                \"Layer2Interface\": \"WiFi.SSID.1\",\n                \"wifi_signal_dbm\": -61\n            },\n            \"2\": {\n                \"HostName\": \"desktop-pc\",\n                \"IPAddress\": \"192.168.1.21\",\n                \"MACAddress\": \"AA:BB:CC:DD:EE:02\",\n                \"Active\": \"true\",\n                \"AddressSource\": \"DHCP\",\n                \"Layer2Interface\": \"Ethernet.1\",\n                \"wifi_signal_dbm\": null\n            }\n        }\n    },\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"af3d27b9-bfb9-4059-87b7-6dd7cc1c61b3","name":"400 - Device offline / TR-069 not available","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_router_hosts/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"The device is offline or could not process the command.\",\n    \"error_code\": \"tr069_unable_to_process_command\"\n}"},{"id":"d6fe8946-f48b-47a0-81f0-d404b42b558f","name":"400 - No ONU for external ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_router_hosts/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Please specify a valid ONU external ID\",\n    \"error_code\": \"specify_valid_field\"\n}"},{"id":"34cc5384-045e-4c1e-8683-c15d22936631","name":"429 - Another request already in progress","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_router_hosts/{{onu_external_id}}"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"There's already a request in progress, please try again later\",\n    \"error_code\": \"already_a_request_in_progress\"\n}"}],"_postman_id":"542306a5-1a6f-4c64-b70a-fb2440a5a043"},{"name":"Get ONU MAC addresses by ONU unique external ID","id":"480be176-86e6-4d12-a0fb-9281f47bd27c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_macs/{{onu_external_id}}","description":"<p>Gets the MAC addresses that the OLT learned behind one ONU, for a specified ONU unique external ID.</p>\n<p>📡 This endpoint reads the data directly from the OLT. A call can take up to 2 minutes. Set the timeout of your HTTP client to at least 2 minutes. Use it for one ONU at a time.</p>\n<p>Each MAC address has 12 lowercase hexadecimal characters with no separators, for example <code>a4b1c2d3e4f5</code>.</p>\n<p>The response has <code>verified: true</code> only when the OLT answered. An empty <code>mac_addresses</code> list then means that the ONU has no MAC addresses. If the OLT did not answer, you get an error, not an empty list.</p>\n<p><code>source</code> says where the list comes from:</p>\n<ul>\n<li><code>fdb</code>: the MAC addresses that the OLT learned behind the ONU, from the forwarding table of the OLT.</li>\n<li><code>wan</code>: the MAC addresses of the WAN interfaces of the ONU itself, as the ONU reports them. SmartOLT reads them when the OLT forwarding table returns no MAC address for the ONU. Devices behind the ONU are not in this list.</li>\n</ul>\n<p>The <code>wan</code> read works for GPON ONUs on Huawei OLTs and on ZTE C6xx OLTs.</p>\n<p><code>mac_details</code> gives the VLAN of each MAC address. On Huawei OLTs each element also has <code>gem_port</code>, and on ZTE OLTs it has <code>vport</code>, when the OLT reports one. A MAC address learned on two VLANs has two elements.</p>\n<p><code>mac_details</code> is optional. It is missing when the OLT did not give a VLAN for every MAC address. <code>mac_addresses</code> and <code>total</code> are always in the response.</p>\n<p>It returns a 400 error code when:</p>\n<ul>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>the OLT is unreachable (error code <code>olt_unreachable</code>)</li>\n<li>the OLT model does not support this read (error code <code>olt_script_not_available</code>)</li>\n<li>the OLT did not accept the command (error code <code>olt_unable_to_process_command</code>)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","onu","get_onu_macs","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"edb06f2b-6ec4-4d64-9dfe-0781b7cffb5b","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_macs/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"onu_external_id\": \"ext-1001\",\n    \"onu_id\": 1001,\n    \"olt_id\": 1,\n    \"verified\": true,\n    \"source\": \"fdb\",\n    \"mac_addresses\": [\n        \"a4b1c2d3e4f5\",\n        \"001122aabbcc\"\n    ],\n    \"mac_details\": [\n        {\n            \"mac\": \"a4b1c2d3e4f5\",\n            \"vlan\": 100,\n            \"gem_port\": 1\n        },\n        {\n            \"mac\": \"001122aabbcc\",\n            \"vlan\": 200,\n            \"gem_port\": 2\n        }\n    ],\n    \"total\": 2,\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"84211788-43af-48cb-ac15-150427e398cd","name":"400 - OLT unreachable","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_macs/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"OLT unreachable\",\n    \"error_code\": \"olt_unreachable\"\n}"},{"id":"81f13785-2c12-439d-b1b1-9e1654fffc81","name":"400 - No ONU for external ID","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_macs/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: 100\"\n}"},{"id":"704f499c-49a5-4548-a43d-f0c4c2874214","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_macs/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid API Key.\"\n}"},{"id":"51fd722e-63dd-4b4a-84e8-7bca3ba0c21b","name":"200 - OK (WAN MAC addresses)","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_onu_macs/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"onu_external_id\": \"ext-1001\",\n    \"onu_id\": 1001,\n    \"olt_id\": 1,\n    \"verified\": true,\n    \"source\": \"wan\",\n    \"mac_addresses\": [\n        \"a4b1c2d3e4f6\"\n    ],\n    \"mac_details\": [\n        {\n            \"mac\": \"a4b1c2d3e4f6\",\n            \"vlan\": 100\n        }\n    ],\n    \"total\": 1,\n    \"status\": true,\n    \"response_code\": \"success\"\n}"}],"_postman_id":"480be176-86e6-4d12-a0fb-9281f47bd27c"},{"name":"Search ONU by MAC address","id":"1b89a15f-5694-457d-8003-1bce41e15eea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/search_by_mac?mac_address=a4:b1:c2:d3:e4:f5&olt_id=1","description":"<p>Finds the ONU behind which the OLT learned a MAC address. This endpoint reads the data directly from the OLTs.</p>\n\n<p><b>Limits</b> (for your SmartOLT account, not for each API key):</p>\n\n<ul><li><div>With <code>olt_id</code>: one search every 10 seconds, and up to 100 searches per hour.</div></li><li><div>Without <code>olt_id</code> (all OLTs): one search every 60 seconds, and up to 10 searches per hour. The search can take up to about 4 minutes.</div></li><li><div>Only one search of each type can run at a time.</div></li><li><div>When you are over a limit, you get HTTP 429 with a <code>Retry-After</code> header.</div></li></ul>\n\n<p><b>How to read the result</b></p>\n\n<ul><li><div><code>verified</code> is <code>true</code> only when all searched OLTs answered. If it is <code>false</code> and <code>matches</code> is empty, the MAC address can still be on an OLT that did not answer.</div></li><li><div><code>olts</code> shows the result for each OLT: <code>answered</code>, <code>skipped_unreachable</code>, <code>deadline</code>, <code>vendor_not_supported</code>, <code>subscription_expired</code> or another failure.</div></li><li><div><code>matched_in_smartolt</code> is <code>false</code> when the OLT has the MAC address on an ONU that is not in SmartOLT.</div></li><li><div><code>restricted</code> is <code>true</code> when your API key cannot see that ONU. The ONU position is then <code>null</code>.</div></li></ul>\n\n<p>Only Huawei, ZTE and FiberHome OLTs are supported.</p>\n\n<p>It returns a 400 error code when:</p>\n\n<ul><li><div>no MAC address was provided (error code <code>specify_mac_address</code>)</div></li><li><div>the MAC address is not valid (error code <code>specify_valid_mac_address</code>)</div></li><li><div>the OLT vendor is not supported (error code <code>olt_vendor_not_supported</code>)</div></li><li><div>the OLT with the provided <code>olt_id</code> did not answer (error code <code>olt_unreachable</code>)</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","search_by_mac"],"host":["{{subdomain}}","smartolt","com"],"query":[{"description":{"content":"<p>(Required, String) The MAC address to find. You can use <code>:</code>, <code>-</code> or <code>.</code> as separators, or no separators.</p>\n","type":"text/plain"},"key":"mac_address","value":"a4:b1:c2:d3:e4:f5"},{"description":{"content":"<p>(Int) The ID of the OLT to search. Leave it empty to search all OLTs. A search of all OLTs is slower and has a lower limit.</p>\n","type":"text/plain"},"key":"olt_id","value":"1"}],"variable":[]}},"response":[{"id":"5303cdae-a99a-4728-8c18-88b608ff990b","name":"200 - OK (one OLT)","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/search_by_mac?mac_address=a4:b1:c2:d3:e4:f5&olt_id=1","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","search_by_mac"],"query":[{"key":"mac_address","value":"a4:b1:c2:d3:e4:f5"},{"key":"olt_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"mac_address\": \"a4b1c2d3e4f5\",\n    \"verified\": true,\n    \"olts_queried\": 1,\n    \"olts_answered\": 1,\n    \"olts\": [\n        {\n            \"olt_id\": 1,\n            \"olt_name\": \"OLT-A\",\n            \"status\": \"answered\"\n        }\n    ],\n    \"matches\": [\n        {\n            \"olt_id\": 1,\n            \"olt_name\": \"OLT-A\",\n            \"mac_address\": \"a4b1c2d3e4f5\",\n            \"pon_type\": \"gpon\",\n            \"frame\": 0,\n            \"board\": 0,\n            \"port\": 5,\n            \"onu\": 15,\n            \"vlan\": 100,\n            \"restricted\": false,\n            \"matched_in_smartolt\": true,\n            \"onu_id\": 1001,\n            \"onu_external_id\": \"ext-1001\",\n            \"sn\": \"HWTC00000015\"\n        }\n    ],\n    \"total\": 1,\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"528e4094-225b-441d-96e4-22b5c22c2f6c","name":"200 - OK (all OLTs, one did not answer)","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/search_by_mac?mac_address=a4:b1:c2:d3:e4:f5","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","search_by_mac"],"query":[{"key":"mac_address","value":"a4:b1:c2:d3:e4:f5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"mac_address\": \"a4b1c2d3e4f5\",\n    \"verified\": false,\n    \"olts_queried\": 2,\n    \"olts_answered\": 1,\n    \"olts\": [\n        {\n            \"olt_id\": 1,\n            \"olt_name\": \"OLT-A\",\n            \"status\": \"answered\"\n        },\n        {\n            \"olt_id\": 2,\n            \"olt_name\": \"OLT-B\",\n            \"status\": \"skipped_unreachable\"\n        }\n    ],\n    \"matches\": [],\n    \"total\": 0,\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"db3cb9e5-ff84-4db0-8516-023890b1ad2e","name":"400 - Invalid MAC address","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/search_by_mac?mac_address=xyz","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","search_by_mac"],"query":[{"key":"mac_address","value":"xyz"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Please specify a valid MAC\",\n    \"error_code\": \"specify_valid_mac_address\"\n}"},{"id":"931e4e52-b07e-4bfe-8a3d-e1971de6b4b2","name":"429 - Too many searches","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/search_by_mac?mac_address=a4:b1:c2:d3:e4:f5","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","search_by_mac"],"query":[{"key":"mac_address","value":"a4:b1:c2:d3:e4:f5"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"MAC search can run at most once every 60s. Retry in 42s.\",\n    \"error_code\": \"mac_search_fanout_min_interval\"\n}"}],"_postman_id":"1b89a15f-5694-457d-8003-1bce41e15eea"},{"name":"Save OLTs config","id":"376dc9b4-e36a-418e-8fe4-4eae708ac8b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/save_config","description":"<p>The request returns succesfully if the OLTs config was saved successfully.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT sends no command to the OLTs.</p>\n<p>It returns a 400 error code when:</p>\n<ul>\n<li>OLT was unable to process the command</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","system","save_config"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"3088ae5b-bb27-4181-b04f-3c08986b7cfc","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/save_config"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"OLTs config saved\"\n}"},{"id":"bec034ae-0be2-497d-8dd4-b7f59acafbb4","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/system/save_config"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"376dc9b4-e36a-418e-8fe4-4eae708ac8b1"},{"name":"Get all ONU authorization presets by OLT unique ID","id":"dd71acb8-4ee3-4b33-8fc8-030025e2d257","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n","type":"text"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_authorization_presets?olt_id={{olt_id}}","description":"<p>Returns all ONU authorization presets for a specified OLT unique ID.</p>\n<h2 id=\"what-the-response-tells-you\">What the response tells you</h2>\n<p><code>criteria</code> is what the preset matches on. <code>applies</code> is what it will configure:</p>\n<ul>\n<li><p>Names, not ids, for zone / splitter / ONU type / speed profiles / template.</p>\n</li>\n<li><p><code>odb_port_mode</code> — <code>null</code> if the preset sets no splitter, <code>\"none\"</code> if it attaches the ONU to the<br />  splitter <strong>without</strong> a port, <code>\"auto\"</code> if a free port is picked at authorization time. A preset in<br />  <code>auto</code> mode rejects a caller-supplied <code>odb_port</code>; one in <code>none</code> mode accepts it.</p>\n</li>\n<li><p><code>sets_tr069</code>, <code>sets_wifi</code>, <code>sets_wan</code>, <code>sets_web_credentials</code>, <code>sets_mgmt_ip</code> — booleans<br />  only. The underlying credentials, WiFi config and PPPoE password are <strong>never</strong> selected by<br />  this query, so they cannot leak through this endpoint. Each flag mirrors the condition the<br />  matching apply step actually uses, so a <code>true</code> means the step will really run.</p>\n</li>\n</ul>\n<p>Presets are filtered by the API key's zone and VLAN restrictions: one pointing at a zone or<br />VLAN outside your scope is dropped rather than disclosing its name or id.</p>\n","urlObject":{"protocol":"https","path":["api","onu","get_authorization_presets"],"host":["{{subdomain}}","smartolt","com"],"query":[{"description":{"content":"<p>(Required) OLT ID</p>\n","type":"text/plain"},"key":"olt_id","value":"{{olt_id}}"}],"variable":[]}},"response":[{"id":"ee7a3f9d-0ece-45a8-b422-ab9de567b5a2","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_authorization_presets?olt_id=90","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_authorization_presets"],"query":[{"key":"olt_id","value":"90"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"authorization_presets\": [\n      {\n        \"id\": 31,\n        \"name\": \"Residential FTTH\",\n        \"description\": \"Standard residential profile\",\n        \"olt_id\": 90,\n        \"is_default\": false,\n        \"criteria\": {\n          \"sn_pattern\": \"HWTC\",\n          \"board\": \"1\",\n          \"port\": \"0\",\n          \"pon_type\": \"gpon\",\n          \"channel_type\": \"gpon\",\n          \"onu_type_name\": null\n        },\n        \"applies\": {\n          \"vlan\": 10,\n          \"zone_name\": \"Downtown\",\n          \"odb_name\": \"ODB-Central-01\",\n          \"odb_port_mode\": \"auto\",\n          \"onu_type_name\": null,\n          \"fallback_onu_type_name\": \"110\",\n          \"upload_speed_name\": \"1G\",\n          \"download_speed_name\": \"100M\",\n          \"custom_template_name\": null,\n          \"mode\": \"Routing\",\n          \"name_pattern\": \"FTTH {sn}\",\n          \"comment_pattern\": \"{olt} b{board}/p{port}\",\n          \"sets_tr069\": true,\n          \"sets_wifi\": true,\n          \"sets_wan\": true,\n          \"sets_web_credentials\": true,\n          \"sets_mgmt_ip\": true\n        }\n      },\n      {\n        \"id\": 32,\n        \"name\": \"Bridged business\",\n        \"description\": \"\",\n        \"olt_id\": 90,\n        \"is_default\": true,\n        \"criteria\": {\n          \"sn_pattern\": null,\n          \"board\": null,\n          \"port\": null,\n          \"pon_type\": \"gpon\",\n          \"channel_type\": \"gpon\",\n          \"onu_type_name\": null\n        },\n        \"applies\": {\n          \"vlan\": 25,\n          \"zone_name\": \"Downtown\",\n          \"odb_name\": null,\n          \"odb_port_mode\": null,\n          \"onu_type_name\": null,\n          \"fallback_onu_type_name\": \"F670LV9.0\",\n          \"upload_speed_name\": null,\n          \"download_speed_name\": null,\n          \"custom_template_name\": null,\n          \"mode\": \"Bridging\",\n          \"name_pattern\": null,\n          \"comment_pattern\": null,\n          \"sets_tr069\": false,\n          \"sets_wifi\": false,\n          \"sets_wan\": false,\n          \"sets_web_credentials\": false,\n          \"sets_mgmt_ip\": false\n        }\n      }\n    ]\n  },\n  \"response_code\": \"success\",\n  \"status\": true\n}"},{"id":"9b621ca3-148b-4d7a-83dd-fff5a58fb15f","name":"400 - Feature flag off","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_authorization_presets?olt_id=90","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_authorization_presets"],"query":[{"key":"olt_id","value":"90"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": false,\n  \"error\": \"Invalid parameters: ONU authorization presets are not enabled for this instance.\",\n  \"error_code\": \"authorization_presets_not_enabled\"\n}"}],"_postman_id":"dd71acb8-4ee3-4b33-8fc8-030025e2d257"},{"name":"Get all ONU authorization presets applicable to a specific ONU SN","id":"0360ab71-0651-44ae-885d-475d22f42076","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n","type":"text"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_authorization_presets?olt_id={{olt_id}}&sn={{sn}}&board={{board}}&port={{port}}","description":"<p>Returns all ONU authorization presets for a specified OLT unique ID applicable to a specified ONU SN.</p>\n<h2 id=\"applicability\">Applicability</h2>\n<p>Send <strong>any</strong> of <code>sn</code>, <code>board</code>, <code>port</code> and the response also scores each preset against that<br />ONU. Each preset then gains:</p>\n<ul>\n<li><p><code>matches</code> — the same accept/reject verdict <code>authorize_onu</code> will apply</p>\n</li>\n<li><p><code>match_score</code> — how specific the match is (<code>null</code> when <code>matches</code> is false)</p>\n</li>\n</ul>\n<p>and the response gains <code>best_match_preset_id</code> — the preset that would win.</p>\n<p>Omit all three and those three fields are <strong>absent entirely</strong>, rather than guessed. Test for<br />their presence rather than for a falsy value.</p>\n<p>Scoring: SN pattern <code>+200</code>; board <strong>and</strong> port <code>+100</code>; board or port alone <code>+50</code>; neither <code>+1</code>;<br />pon_type <code>+10</code>; ONU type <code>+5</code>. Ties break on the default preset, then the lowest id.</p>\n<p><code>board</code> and <code>port</code> must be non-negative integers; anything else is rejected with<br /><code>incorrect_field_value</code> rather than silently scoring against a different subject.</p>\n<h2 id=\"what-the-response-tells-you\">What the response tells you</h2>\n<p><code>criteria</code> is what the preset matches on. <code>applies</code> is what it will configure:</p>\n<ul>\n<li><p>Names, not ids, for zone / splitter / ONU type / speed profiles / template.</p>\n</li>\n<li><p><code>odb_port_mode</code> — <code>null</code> if the preset sets no splitter, <code>\"none\"</code> if it attaches the ONU to the<br />  splitter <strong>without</strong> a port, <code>\"auto\"</code> if a free port is picked at authorization time. A preset in<br />  <code>auto</code> mode rejects a caller-supplied <code>odb_port</code>; one in <code>none</code> mode accepts it.</p>\n</li>\n<li><p><code>sets_tr069</code>, <code>sets_wifi</code>, <code>sets_wan</code>, <code>sets_web_credentials</code>, <code>sets_mgmt_ip</code> — booleans<br />  only. The underlying credentials, WiFi config and PPPoE password are <strong>never</strong> selected by<br />  this query, so they cannot leak through this endpoint. Each flag mirrors the condition the<br />  matching apply step actually uses, so a <code>true</code> means the step will really run.</p>\n</li>\n</ul>\n<p>Presets are filtered by the API key's zone and VLAN restrictions: one pointing at a zone or<br />VLAN outside your scope is dropped rather than disclosing its name or id.</p>\n<h2 id=\"typical-flow\"><strong>Typical flow</strong></h2>\n<p>Call this with the SN, board and port from the unconfigured list, take<br /><code>best_match_preset_id</code>, and pass it to <code>authorize_onu</code>.</p>\n<p>Check <code>applies</code> on the chosen preset before building the authorize request — every field<br />listed there must be <strong>omitted</strong> from your call, or it comes back as<br /><code>authorization_preset_conflicting_parameter</code>.</p>\n","urlObject":{"protocol":"https","path":["api","onu","get_authorization_presets"],"host":["{{subdomain}}","smartolt","com"],"query":[{"description":{"content":"<p>(Required) OLT ID</p>\n","type":"text/plain"},"key":"olt_id","value":"{{olt_id}}"},{"description":{"content":"<p>(String) SN of the ONU you intend to authorize.</p>\n","type":"text/plain"},"key":"sn","value":"{{sn}}"},{"description":{"content":"<p>(Int) OLT board where the ONU is placed.</p>\n","type":"text/plain"},"key":"board","value":"{{board}}"},{"description":{"content":"<p>(Int) OLT PON port where ONU is placed.</p>\n","type":"text/plain"},"key":"port","value":"{{port}}"},{"disabled":true,"description":{"content":"<p>(Optional, String) gpon | epon</p>\n","type":"text/plain"},"key":"pon_type","value":"gpon"},{"disabled":true,"description":{"content":"<p>(Optional, String) ONU type name</p>\n","type":"text/plain"},"key":"onu_type","value":"110"}],"variable":[]}},"response":[{"id":"42bed511-cc65-42c9-b111-ee7d8eec5c3d","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_authorization_presets?olt_id=90&sn=HWTC12345678","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_authorization_presets"],"query":[{"key":"olt_id","value":"90"},{"key":"sn","value":"HWTC12345678"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"authorization_presets\": [\n      {\n        \"id\": 31,\n        \"name\": \"Residential FTTH\",\n        \"description\": \"Standard residential profile\",\n        \"olt_id\": 90,\n        \"is_default\": false,\n        \"criteria\": {\n          \"sn_pattern\": \"HWTC\",\n          \"board\": \"1\",\n          \"port\": \"0\",\n          \"pon_type\": \"gpon\",\n          \"channel_type\": \"gpon\",\n          \"onu_type_name\": null\n        },\n        \"applies\": {\n          \"vlan\": 10,\n          \"zone_name\": \"Downtown\",\n          \"odb_name\": \"ODB-Central-01\",\n          \"odb_port_mode\": \"auto\",\n          \"onu_type_name\": null,\n          \"fallback_onu_type_name\": \"110\",\n          \"upload_speed_name\": \"1G\",\n          \"download_speed_name\": \"100M\",\n          \"custom_template_name\": null,\n          \"mode\": \"Routing\",\n          \"name_pattern\": \"FTTH {sn}\",\n          \"comment_pattern\": \"{olt} b{board}/p{port}\",\n          \"sets_tr069\": true,\n          \"sets_wifi\": true,\n          \"sets_wan\": true,\n          \"sets_web_credentials\": true,\n          \"sets_mgmt_ip\": true\n        },\n        \"matches\": true,\n        \"match_score\": 310\n      },\n      {\n        \"id\": 32,\n        \"name\": \"Bridged business\",\n        \"description\": \"\",\n        \"olt_id\": 90,\n        \"is_default\": true,\n        \"criteria\": {\n          \"sn_pattern\": null,\n          \"board\": null,\n          \"port\": null,\n          \"pon_type\": \"gpon\",\n          \"channel_type\": \"gpon\",\n          \"onu_type_name\": null\n        },\n        \"applies\": {\n          \"vlan\": 25,\n          \"zone_name\": \"Downtown\",\n          \"odb_name\": null,\n          \"odb_port_mode\": null,\n          \"onu_type_name\": null,\n          \"fallback_onu_type_name\": \"F670LV9.0\",\n          \"upload_speed_name\": null,\n          \"download_speed_name\": null,\n          \"custom_template_name\": null,\n          \"mode\": \"Bridging\",\n          \"name_pattern\": null,\n          \"comment_pattern\": null,\n          \"sets_tr069\": false,\n          \"sets_wifi\": false,\n          \"sets_wan\": false,\n          \"sets_web_credentials\": false,\n          \"sets_mgmt_ip\": false\n        },\n        \"matches\": true,\n        \"match_score\": 11\n      }\n    ],\n    \"best_match_preset_id\": 31\n  },\n  \"response_code\": \"success\",\n  \"status\": true\n}"},{"id":"f2969fbc-50cd-4e39-ba33-e4b0ef84c6c3","name":"400 - Board is not an integer","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_authorization_presets?olt_id=90&sn=HWTC12345678&board=L3","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_authorization_presets"],"query":[{"key":"olt_id","value":"90"},{"key":"sn","value":"HWTC12345678"},{"key":"board","value":"L3"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": false,\n  \"error\": \"Invalid parameters: Invalid value for board\",\n  \"error_code\": \"incorrect_field_value\"\n}"}],"_postman_id":"0360ab71-0651-44ae-885d-475d22f42076"},{"name":"Authorize ONU using an authorization preset","id":"be5eac9b-b6ec-4c99-9563-f6228b144b60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"olt_id","value":"90","description":"<p>(Required, Int) The ID of the OLT on which the ONU should be authorized</p>\n"},{"key":"pon_type","value":"gpon","description":"<p>(Required, String) ONU PON type. Allowed values: gpon, epon</p>\n"},{"key":"sn","value":"HWTC12345678","description":"<p>(Required, String) ONU SN</p>\n"},{"key":"authorization_preset_id","value":"31","description":"<p>(Required, Int) The ID of the authorization preset to apply</p>\n"},{"key":"authorization_preset_name","value":"Residential FTTH","description":"<p>Optional alongside the preset ID - if sent, the two must refer to the same authorization preset</p>\n","type":"text","uuid":"c33ce1f2-6119-46b3-a092-c04db4bf0f0d","disabled":true},{"key":"board","value":"1","description":"<p>(Int) OLT board where the ONU is placed. Leave it empty if you don't know yet</p>\n"},{"key":"port","value":"0","description":"<p>(Int) OLT PON port where ONU is placed. Leave it empty if you don't know yet</p>\n"},{"key":"onu_external_id","value":"SUB-00042","description":"<p>(String) ONU unique external ID. The ONU external ID can contain only alphanumeric characters</p>\n","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/authorize_onu","description":"<p>Authorizes an ONU using an authorization preset.</p>\n<p>Identify the preset by <code>authorization_preset_id</code> (preferred) or <code>authorization_preset_name</code>.<br />Send both and they must agree — names are compared case-insensitively, and a duplicated name<br />returns <code>ambiguous_authorization_preset_name</code>.</p>\n<p><code>olt_id</code>, <code>pon_type</code> and <code>sn</code> are always required. <code>pon_type</code> is validated <strong>before</strong> the<br />preset is resolved, so an invalid one reports <code>incorrect_pon_type</code> even if the preset id is<br />also wrong.</p>\n<h2 id=\"online-vs-offline\">Online vs offline</h2>\n<p>Send <code>board</code> and <code>port</code> and the ONU is configured on the OLT immediately (<strong>online</strong>) — expect<br />this call to take tens of seconds. Omit them and the ONU is recorded for configuration when it<br />appears (<strong>offline</strong>).</p>\n<blockquote>\n<p>A preset carrying TR-069, management-IP or web-credential settings only applies those fully<br />on the <strong>online</strong> path — they need a provisioned ONU. An offline call still returns success<br />while applying just the parts that do not require one. WiFi and WAN settings are stored<br />either way. </p>\n</blockquote>\n<h2 id=\"fields-the-preset-leaves-open\">Fields the preset leaves open</h2>\n<p>Anything the preset does not set may be supplied and is validated normally — typically<br /><code>name</code>, <code>address_or_comment</code>, <code>contact</code>, <code>onu_external_id</code>, <code>latitude</code>, <code>longitude</code>, and any of<br /><code>vlan</code> / <code>cvlan</code> / <code>svlan</code> / <code>zone</code> / <code>odb</code> / <code>odb_port</code> / speed profiles / <code>custom_profile</code> /<br /><code>onu_type</code> the preset happens to leave open.</p>\n<p>If the preset auto-detects the ONU type, supply <code>onu_type</code> — your value wins over the preset's<br />fallback type. With neither, the call fails with <code>specify_onu_type</code>.</p>\n<h2 id=\"preset-zones-are-access-checked\">Preset zones are access-checked</h2>\n<p>A preset that would place the ONU into a zone (or onto an splitter in a zone) outside a restricted<br />key's scope is refused with <code>403</code> / <code>forbidden</code>, exactly as a caller-supplied <code>zone</code> would be.</p>\n","urlObject":{"protocol":"https","path":["api","onu","authorize_onu"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"bbba3bf7-9a0d-422f-b98d-37b6a3c75cfa","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"olt_id","value":"90","type":"text","uuid":"3bd86a25-7e67-4da6-8c86-44e6c394a183"},{"key":"pon_type","value":"gpon","type":"text","uuid":"e6397107-7da8-4bbc-93cb-268926499f70"},{"key":"sn","value":"HWTC12345678","type":"text","uuid":"902f1de2-304d-46bb-bf66-11a8dd0bc4dc"},{"key":"authorization_preset_id","value":"31","type":"text","uuid":"f0c352e6-b37c-47c9-86df-922907b27a41"},{"key":"board","value":"1","type":"text","uuid":"a0e9e9e7-e176-45ad-b194-757a308947ac"},{"key":"port","value":"0","type":"text","uuid":"88d684b1-b755-4d81-9ba6-24c3f7003b88"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/authorize_onu"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": \"ONU configuration saved\",\n  \"response_code\": \"success\",\n  \"status\": true\n}"},{"id":"b6c2c146-da88-4396-9f65-8ae85de3c14b","name":"400 - A parameter was sent that this preset already sets","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"olt_id","value":"90","type":"text","uuid":"478cb8dd-4588-4883-b518-5c240b8dd449"},{"key":"pon_type","value":"gpon","type":"text","uuid":"6e5065dc-fdbb-4f8d-8632-118acc9c328e"},{"key":"sn","value":"HWTC12345678","type":"text","uuid":"6f9ef4f0-f156-420c-ba6f-9539e6b7f544"},{"key":"authorization_preset_id","value":"31","type":"text","uuid":"c772cafb-7c72-48ab-8507-95fa8d62df5f"},{"key":"board","value":"1","type":"text","uuid":"23f4d14f-c45e-4f43-aece-6497acd9ce83"},{"key":"port","value":"0","type":"text","uuid":"5d3f957f-c4f4-4ea2-8f9c-12ac5086a718"},{"key":"vlan","value":"100","type":"text","uuid":"b9a90405-970a-4121-815a-42b0f0858641"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/authorize_onu"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": false,\n  \"error\": \"Invalid parameters: The authorization preset already sets vlan. Remove it from the request or use a preset that does not set it.\",\n  \"error_code\": \"authorization_preset_conflicting_parameter\"\n}"},{"id":"76a2f4fd-b527-433f-a834-0a50e53f5a1e","name":"400 - ONU doesn't match the preset's criteria","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"olt_id","value":"90"},{"key":"pon_type","value":"gpon"},{"key":"sn","value":"HWTC12345678"},{"key":"authorization_preset_id","value":"31"},{"key":"board","value":"4"},{"key":"port","value":"5"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/authorize_onu"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: This ONU does not match the authorization preset criteria.\",\n    \"error_code\": \"onu_does_not_match_authorization_preset\"\n}"}],"_postman_id":"be5eac9b-b6ec-4c99-9563-f6228b144b60"},{"name":"Authorize ONU","id":"28dc6cf8-7a91-4729-aebb-8757f87e2fd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","description":"<p>(Required, Int) The ID of the OLT on which the ONU should be authorized</p>\n","type":"text"},{"key":"pon_type","value":"gpon","description":"<p>(Required, String) ONU PON type. Allowed values: gpon, epon</p>\n","type":"text"},{"key":"gpon_channel","value":"gpon","description":"<p>(String) GPON channel. Allowed values: gpon, xgpon, xgspon</p>\n","type":"text","uuid":"9454fc21-71ce-4c7e-8767-3ba65d7a76b1"},{"key":"epon_channel","value":"epon","description":"<p>(String) EPON channel. Allowed values: epon, 10gepon</p>\n","type":"text","uuid":"44aff4c0-b0dd-426f-adea-f6fbaa66ebe4"},{"key":"board","value":"2","description":"<p>(Int) OLT board where the ONU is placed. Leave it empty if you don't know yet</p>\n","type":"text"},{"key":"port","value":"3","description":"<p>(Int) OLT PON port where ONU is placed. Leave it empty if you don't know yet</p>\n","type":"text"},{"key":"sn","value":"ZTEGC7E230E4","description":"<p>(Required, String) ONU SN</p>\n","type":"text"},{"key":"onu_type","value":"ZTE-F660V6.0","description":"<p>(Required, String) ONU type</p>\n","type":"text"},{"key":"custom_profile","value":"","description":"<p>(String) Custom profile - THIS IS NOT THE SPEED PROFILE (the default speed profiles will be used, if you wish to change them you will need to make a separate API call after authorization). The custom profile name should not contain whitespaces</p>\n","type":"text"},{"key":"onu_mode","value":"Routing","description":"<p>(Required, String) ONU mode. Allowed values: Routing, Bridging</p>\n","type":"text"},{"key":"cvlan","value":"101","description":"<p>(Int) ONU CVLAN-ID</p>\n","type":"text"},{"key":"svlan","value":"102","description":"<p>(Int) ONU SVLAN-ID</p>\n","type":"text"},{"key":"tag_transform_mode","value":"translate","description":"<p>(String) Tag-transform mode. Allowed values: default, translate, translate-and-add</p>\n","type":"text"},{"key":"use_other_all_tls_vlan","value":"1","description":"<p>(Int) Use \"other-all\" TLS VLAN. Allowed values: 0, 1</p>\n","type":"text"},{"key":"vlan","value":"100","description":"<p>(Int) ONU VLAN-ID. If not specified, the default VLAN-ID for this PON port is used. If there is no default VLAN-ID defined, this parameter is required</p>\n","type":"text"},{"key":"zone","value":"City Centre","description":"<p>(Required, String) The zone where the ONU is located. The Zone can contain only alphanumeric characters, spaces, underscore and the dash (-) character</p>\n","type":"text"},{"key":"odb","value":"Splitter325","description":"<p>(String) Splitter. The Splitter can contain only alphanumeric characters, spaces, underscore and the dash (-) character</p>\n","type":"text"},{"key":"name","value":"John Doe","description":"<p>(Required, String) Name. The Name can contain only alphanumeric characters, spaces and the following characters: @#$&amp;()-`.+,/_</p>\n","type":"text"},{"key":"address_or_comment","value":"Avenue 9","description":"<p>(String) Address or comment. The Address or Comment can contain only alphanumeric characters, spaces and the following characters: @#$&amp;()-`.+,/_</p>\n","type":"text"},{"key":"onu_external_id","value":"test","description":"<p>(String) ONU unique external ID. The ONU external ID can contain only alphanumeric characters</p>\n","type":"text"},{"key":"upload_speed_profile_name","value":"50M","description":"<p>(String) Upload speed profile name</p>\n","type":"text"},{"key":"download_speed_profile_name","value":"100M","description":"<p>(String) Download speed profile name</p>\n","type":"text"},{"key":"sector","value":"North Branch","description":"<p>(String) Sector name, optional. Create sectors in the SmartOLT interface first, under Settings → Sectors.</p>\n","type":"text","uuid":"0b565a4a-63f6-498d-9cd8-eaf25b89ce41"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/authorize_onu","description":"<h2>Authorize ONU</h2>\n\n<p>Authorizes an ONU on the provided OLT. If board or port are left empty then the ONU is saved for later authorization. The ONU type name must be one defined in SmartOLT ONU Types section.<br />The request returns succesfully if the ONU was authorized successfully.</p>\n<p>It returns a 400 error code when:</p>\n<ul><li><div>no OLT ID was provided</div></li><li><div>no OLT was found for the provided OLT ID</div></li><li><div>no ONU PON type or a wrong ONU PON type was provided</div></li><li><div>no ONU SN/MAC was provided</div></li><li><div>the SN/MAC is in the wrong format</div></li><li><div>no VLAN-ID was provided</div></li><li><div>no ONU type was provided</div></li><li><div>no ONU type was found for the provided ONU type name</div></li><li><div>no Zone was provided</div></li><li><div>the Zone is in the wrong format</div></li><li><div>the ODB (Splitter) is in the wrong format</div></li><li><div>no Name was provided</div></li><li><div>the Name is in the wrong format</div></li><li><div>the Address or Comment is in the wrong format</div></li><li><div>no ONU mode or a wrong ONU mode was provided</div></li><li><div>the Custom profile is in the wrong format</div></li><li><div>the ONU external ID is in the wrong format</div></li><li><div>the ONU external ID is already existing</div></li><li><div>OLT was unable to process the command</div></li></ul>\n\n<p>The following messages are 400 error code messages examples and <strong>may vary</strong> in future versions:</p>\n<ul>\n<li><p>ONU authorization in progress by other user</p>\n</li>\n<li><p>The selected VLAN was removed or you have a restriction on using it</p>\n</li>\n<li><p>PON port is full or the board/port is incorrect.<br />  Please delete unused ONUs from this PON port in order to add new ones or enter the correct board/port.</p>\n</li>\n<li><p>PON port is full or the board/port or GPON channel (G/XG/XGS) is incorrect.<br />  Please delete unused ONUs from this PON port in order to add new ones or enter the correct board/port.</p>\n</li>\n<li><p>The OLT is not responding to SNMP queries</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","onu","authorize_onu"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"3ac9677b-ad00-4ca7-ada7-debc2ad4522b","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","description":"Required (Int) The ID of the OLT on which the ONU should be authorized","type":"text"},{"key":"pon_type","value":"gpon","description":"Required (String) ONU PON type. Allowed values: gpon, epon","type":"text"},{"key":"gpon_channel","value":"gpon","description":"(String) GPON channel. Allowed values: gpon, xgpon, xgspon","type":"text","uuid":"764913e4-50be-40fd-b6f9-e4960b4d9272"},{"key":"board","value":"2","description":"(Int) OLT board where the ONU is placed. Leave it empty if you don't know yet","type":"text"},{"key":"port","value":"3","description":"(Int) OLT PON port where ONU is placed. Leave it empty if you don't know yet","type":"text"},{"key":"sn","value":"ZTEGC7E230E4","description":"Required (String) ONU SN","type":"text"},{"key":"vlan","value":"100","description":"Required (Int) ONU VLAN-ID","type":"text"},{"key":"onu_type","value":"ZTE-F660V6.0","description":"Required (String) ONU type","type":"text"},{"key":"zone","value":"City Centre","description":"Required (String) The zone where the ONU is located","type":"text"},{"key":"odb","value":"Splitter325","description":"(String) ODB splitter","type":"text"},{"key":"name","value":"John Doe","description":"Required (String) Name","type":"text"},{"key":"address_or_comment","value":"Avenue 9","description":"(String) Address or comment","type":"text"},{"key":"onu_mode","value":"Routing","description":"Required (String) ONU mode. Allowed values: Routing, Bridging","type":"text"},{"key":"onu_external_id","value":"test2","description":"(String) ONU external ID","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/authorize_onu"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU configuration saved\"}"},{"id":"99eba559-564e-465f-9263-524cc99e09c4","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","description":"Required (Int) The ID of the OLT on which the ONU should be authorized","type":"text"},{"key":"pon_type","value":"gpon","description":"Required (String) ONU PON type. Allowed values: gpon, epon","type":"text"},{"key":"board","value":"2","description":"(Int) OLT board where the ONU is placed. Leave it empty if you don't know yet","type":"text"},{"key":"port","value":"3","description":"(Int) OLT PON port where ONU is placed. Leave it empty if you don't know yet","type":"text"},{"key":"sn","value":"ZTEGC7E230E4","description":"Required (String) ONU SN","type":"text"},{"key":"vlan","value":"100","description":"Required (Int) ONU VLAN-ID","type":"text"},{"key":"onu_type","value":"ZTE-F660V6.0","description":"Required (String) ONU type","type":"text"},{"key":"zone","value":"City Centre","description":"Required (String) The zone where the ONU is located","type":"text"},{"key":"odb","value":"Splitter325","description":"(String) ODB splitter","type":"text"},{"key":"name","value":"John Doe","description":"Required (String) Name","type":"text"},{"key":"address_or_comment","value":"Avenue 9","description":"(String) Address or comment","type":"text"},{"key":"onu_mode","value":"Routing","description":"Required (String) ONU mode. Allowed values: Routing, Bridging","type":"text"},{"key":"onu_external_id","value":"test2","description":"(String) ONU external ID","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/authorize_onu"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"a8c8892a-d7b8-4270-ba5b-adb6dde1d9aa","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","description":"Required (Int) The ID of the OLT on which the ONU should be authorized","type":"text"},{"key":"pon_type","value":"gpon","description":"Required (String) ONU PON type. Allowed values: gpon, epon","type":"text"},{"key":"board","value":"2","description":"(Int) OLT board where the ONU is placed. Leave it empty if you don't know yet","type":"text"},{"key":"port","value":"3","description":"(Int) OLT PON port where ONU is placed. Leave it empty if you don't know yet","type":"text"},{"key":"sn","value":"","description":"Required (String) ONU SN","type":"text"},{"key":"vlan","value":"100","description":"Required (Int) ONU VLAN-ID","type":"text"},{"key":"onu_type","value":"ZTE-F660V6.0","description":"Required (String) ONU type","type":"text"},{"key":"zone","value":"City Centre","description":"Required (String) The zone where the ONU is located","type":"text"},{"key":"odb","value":"Splitter325","description":"(String) ODB splitter","type":"text"},{"key":"name","value":"John Doe","description":"Required (String) Name","type":"text"},{"key":"address_or_comment","value":"Avenue 9","description":"(String) Address or comment","type":"text"},{"key":"onu_mode","value":"Routing","description":"Required (String) ONU mode. Allowed values: Routing, Bridging","type":"text"},{"key":"onu_external_id","value":"test2","description":"(String) ONU external ID","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/authorize_onu"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU SN\"}"}],"_postman_id":"28dc6cf8-7a91-4729-aebb-8757f87e2fd3"},{"name":"Move ONU by ONU unique external ID","id":"30d39415-dc9b-44c8-bf86-f46652c8ad86","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, Int) The OLT ID to which the ONU will be moved</p>\n","key":"olt_id","type":"text","value":"1"},{"key":"board","value":"1","description":"<p>(Required, Int) The board to which the ONU will be moved. It must be an existing board from the provided OLT</p>\n","type":"text"},{"key":"port","value":"2","description":"<p>(Required, Int) The port to which the ONU will be moved. It must be an existing port from the provided OLT board</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/move/{{onu_external_id}}","description":"<h2>Move ONU for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU was moved successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no OLT ID was provided</li>\n<li>no OLT was found for the provided OLT ID</li>\n<li>no board was provided</li>\n<li>the provided board does not exist on the provided OLT</li>\n<li>no port was provided</li>\n<li>the provided port does not exist on the provided OLT board</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","move","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"34c2e823-84ae-4224-8b1c-773966672ff2","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","description":"(Required, Int) The OLT ID to which the ONU will be moved","type":"text"},{"key":"board","value":"1","description":"(Required, Int) The board to which the ONU will be moved. It must be an existing board from the provided OLT","type":"text"},{"key":"port","value":"2","description":"(Required, Int) The port to which the ONU will be moved. It must be an existing port from the provided OLT board","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/move/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"ONU was moved\"\n}"},{"id":"0f7a3d5e-ea11-4b17-af94-3e2b2a31e841","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","description":"(Required, Int) The OLT ID to which the ONU will be moved","type":"text"},{"key":"board","value":"1","description":"(Required, Int) The board to which the ONU will be moved. It must be an existing board from the provided OLT","type":"text"},{"key":"port","value":"2","description":"(Required, Int) The port to which the ONU will be moved. It must be an existing port from the provided OLT board","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/move/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"85669f9f-90ab-4482-83db-d8d93aa1165c","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","description":"(Required, Int) The OLT ID to which the ONU will be moved","type":"text"},{"key":"board","value":"1","description":"(Required, Int) The board to which the ONU will be moved. It must be an existing board from the provided OLT","type":"text"},{"key":"port","value":"2","description":"(Required, Int) The port to which the ONU will be moved. It must be an existing port from the provided OLT board","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/move/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"},{"id":"bab0affa-e3ae-481b-9f94-9a10fa02d194","name":"400 - Specify the OLT ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"board","value":"1","description":"(Required, Int) The board to which the ONU will be moved. It must be an existing board from the provided OLT","type":"text"},{"key":"port","value":"2","description":"(Required, Int) The port to which the ONU will be moved. It must be an existing port from the provided OLT board","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/move/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"93","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:59:59 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Please specify the OLT ID\"\n}"},{"id":"bb951cb9-1c2f-4d89-9b17-03b4fe6bfce9","name":"400 - The provided board does not exist on the provided OLT","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","description":"(Required, Int) The OLT ID to which the ONU will be moved","type":"text"},{"key":"board","value":"20","description":"(Required, Int) The board to which the ONU will be moved. It must be an existing board from the provided OLT","type":"text"},{"key":"port","value":"2","description":"(Required, Int) The port to which the ONU will be moved. It must be an existing port from the provided OLT board","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/move/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Please specify a valid board from the OLT\"\n}"},{"id":"e633049c-501c-44b6-89e3-02675a02bba1","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","description":"(Required, Int) The OLT ID to which the ONU will be moved","type":"text"},{"key":"board","value":"1","description":"(Required, Int) The board to which the ONU will be moved. It must be an existing board from the provided OLT","type":"text"},{"key":"port","value":"2","description":"(Required, Int) The port to which the ONU will be moved. It must be an existing port from the provided OLT board","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/move/test7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"}],"_postman_id":"30d39415-dc9b-44c8-bf86-f46652c8ad86"},{"name":"Update ONU PON channel by ONU unique external ID","id":"b373a456-52a1-4ce8-a0ff-8a90c9212744","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"pon_channel","value":"xgpon","description":"<p>(Required, String) PON channel. Allowed values: gpon, xgpon, xgspon, epon, 10gepon</p>\n","type":"text","uuid":"b2cb7e47-f07e-46d0-bdd4-0f51fbb73d7d"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_pon_channel/{{onu_external_id}}","description":"<h2>Update ONU PON channel for a specified ONU unique external ID</h2>\n\n<p>The request returns succesfully if the new ONU PON channel was saved successfully.<br />It returns a 400 error code when:</p>\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>OLT was unable to process the command</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","update_pon_channel","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"4cb06c52-f549-4c4a-b58e-623dc3d8db76","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"pon_channel","value":"xgpon"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_pon_channel/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Token","value":"{{api_key}}","description":"","enabled":true}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"response\": \"GPON channel changed to XG-PON for ONU with ONU external ID test\",\r\n    \"response_code\": \"success\",\r\n    \"status\": true\r\n}"},{"id":"e4c1da1b-4288-451f-a453-9251272419e9","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"pon_channel","value":"xgpon"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_pon_channel/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"X-Token","value":"{{api_key}}","description":"","enabled":true}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"b373a456-52a1-4ce8-a0ff-8a90c9212744"},{"name":"Update ONU SN/MAC by ONU unique external ID","id":"e07cc4db-f4c9-4059-8954-f6cde6a7d422","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"new_sn","value":"ZTEGC7E230E7","description":"<p>(Required, String) New SN or MAC</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_sn/{{onu_external_id}}","description":"<h2>Update ONU SN/MAC for a specified ONU unique external ID</h2>\n\n  \n<p>The request returns succesfully if the new ONU SN/MAC was saved successfully.<br />It returns a 400 error code when:  </p>\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>no new SN/MAC was provided</div></li><li><div>the SN/MAC is in the wrong format</div></li><li><div>the SN/MAC is already assigned to another ONU</div></li><li><div>OLT was unable to process the command</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","update_sn","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"e561d1a4-7d80-412a-a697-46327d8ae5bc","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"new_sn","value":"ZTEG00000001","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_sn/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"MAC/SN updated for ONU with ONU external ID test\"\n}"},{"id":"c36d69f8-ccb5-4435-82fa-4eaa67e83be3","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"new_sn","value":"ZTEG00000001","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_sn/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"1af914b5-abf4-4ccb-936a-13576fb66ce0","name":"400 - Incorrect format for SN/MAC","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"body":{"mode":"formdata","formdata":[{"key":"new_sn","value":"ZTEG","description":"(String) New SN or MAC","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_sn/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: The SN field must contain 12 uppercase alphanumeric characters\"\n}"},{"id":"3c463b11-257b-4326-a135-a3ed710a522a","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"new_sn","value":"ZTEG00000001","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_sn/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"},{"id":"67472b48-8f37-474a-a2cd-02e17f7b30ee","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"new_sn","value":"ZTEG00000001","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_sn/test7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"},{"id":"9b1edc24-262a-45e8-a0cf-63f114f99567","name":"400 - Specify the new SN or MAC","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_sn/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"93","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:59:59 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Please specify the new SN/MAC\"\n}"}],"_postman_id":"e07cc4db-f4c9-4059-8954-f6cde6a7d422"},{"name":"Update ONU type by ONU unique external ID","id":"d1a7d726-2ac1-4eb9-a07d-ef12ebcfba4e","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"onu_type","value":"ZTE-F660V6.0","description":"<p>(Required, String) ONU type</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_onu_type/{{onu_external_id}}","description":"<h2>Update ONU type for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU type was changed successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no new ONU type was provided</li>\n<li>no ONU type was found with the given ONU type name</li>\n<li>the ONU type PON type is not compatible with the ONU</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","change_onu_type","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"e6bc50db-e910-4fab-ad51-43f37e4c7982","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onu_type","value":"ZTE-F660V6.0","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_onu_type/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"ONU type changed for ONU with ONU external ID test\"\n}"},{"id":"63569c3e-9bb9-46fa-bd76-b9cc374a2fa5","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"onu_type","value":"ZTE-F660V6.0","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_onu_type/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"10416e57-b02f-4f5e-ae21-d4c093ad48f0","name":"400 - Specify the new ONU type","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_onu_type/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"93","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:59:59 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Please specify the ONU type\"\n}"},{"id":"131df3ed-fd75-4d93-a223-a95caa9f3dcf","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onu_type","value":"ZTE-F660V6.0","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_onu_type/test7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"},{"id":"904479b3-abe0-4f05-ae66-873a9e362575","name":"400 - No ONU type was found with the given name","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"body":{"mode":"formdata","formdata":[{"key":"onu_type","value":"ZTE-F","description":"(String) New SN or MAC","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_onu_type/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU type was found with the name ZTE-G\"\n}"},{"id":"a3f86d8d-92bf-4981-a526-dcfe479ae006","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"onu_type","value":"ZTE-F660V6.0","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_onu_type/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"}],"_postman_id":"d1a7d726-2ac1-4eb9-a07d-ef12ebcfba4e"},{"name":"Update ONU custom profile by ONU unique external ID","id":"18e8233b-831d-43a1-a5a1-f792b436236e","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"custom_profile","value":"Generic_1","description":"<p>(Required, String) Custom profile name</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_custom_profile/{{onu_external_id}}","description":"<h2>Update ONU custom profile for a specified ONU unique external ID</h2>\n\n<p>The request returns succesfully if the ONU custom profile was changed successfully.</p>\n<p>It returns a 400 error code when:</p>\n<ul><li><p>no ONU external ID was provided</p></li><li><p>no ONU was found for the provided ONU external ID</p></li><li><p>no new ONU custom profile was provided</p></li><li><p>no ONU custom profile was found with the given custom profile name</p></li><li><p>OLT was unable to process the command</p></li></ul>","urlObject":{"protocol":"https","path":["api","onu","change_custom_profile","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"e354aea5-0650-416e-a9ac-8a0274d09fb2","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"custom_profile","value":"Generic_1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_custom_profile/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"ONU custom profile changed for ONU with ONU external ID test\"\n}"},{"id":"e93a9cc4-e725-46d0-84ce-4fcc10d10ad1","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"custom_profile","value":"Generic_1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_custom_profile/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"18e8233b-831d-43a1-a5a1-f792b436236e"},{"name":"Get ONU configuration presets","id":"0715d93d-dd08-466f-ba69-1caaaa2835e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_configuration_presets","description":"<p>List <strong>every</strong> configuration preset the API key can see.</p>\n<p>Presets are returned in OLT-then-name order. Only presets belonging to OLTs the key has access to are included. Deleted presets, and presets whose OLT has been deleted, are never returned.</p>\n<p>A configuration preset is a reusable set of ONU settings defined per OLT (optionally narrowed to a board/port). Applying a preset writes those settings to the ONU and pushes them to the OLT. A preset marked as <em>reversible</em> records what it changed, so it can later be removed and the previous values restored. A non-reversible (one-time) preset is applied once and previous values cannot be restored.</p>\n<p><strong>Optional query parameter</strong></p>\n<ul>\n<li><code>olt_id</code> — return only the presets belonging to that OLT.</li>\n</ul>\n<p><strong>Fields</strong></p>\n<ul>\n<li><p><code>board</code> / <code>port</code> — <code>null</code> when the preset applies to the whole OLT, otherwise the board/port it is narrowed to.</p>\n</li>\n<li><p><code>is_reversible</code> — reversible presets can be removed later (<code>remove_configuration_preset</code>) and are reported in <code>applied_configuration_preset</code>. One-time presets apply their settings and keep no record.</p>\n</li>\n<li><p><code>enforced_settings</code> — the setting groups this preset governs, each as <code>{key, rows}</code> in a canonical order (e.g. <code>main_vlan</code>, <code>catv</code>, <code>tr069</code>). <code>rows</code> are RESOLVED display lines — <code>{label, value}</code> with IDs turned into names (VLAN, speed profile, TR-069 profile). A group can expand to several rows (e.g. <code>tr069</code> → mode, profile, interface). Secrets (WiFi/PPPoE/web passwords) are never read or returned.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","onu","get_configuration_presets"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"cc26f39d-83f2-4c84-8cbf-a22c6bcef9be","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_configuration_presets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"configuration_presets\": [\n            {\n                \"id\": 2,\n                \"name\": \"Residential\",\n                \"description\": \"\",\n                \"olt_id\": 10,\n                \"olt_name\": \"Huawei\",\n                \"board\": null,\n                \"port\": null,\n                \"is_reversible\": false,\n                \"enforced_settings\": [\n                    {\n                        \"key\": \"catv\",\n                        \"rows\": [\n                            {\n                                \"label\": \"CATV\",\n                                \"value\": \"Disabled\"\n                            }\n                        ]\n                    },\n                    {\n                        \"key\": \"tr069\",\n                        \"rows\": [\n                            {\n                                \"label\": \"TR-069 mode and profile\",\n                                \"value\": \"Enabled\"\n                            },\n                            {\n                                \"label\": \"TR069 Profile\",\n                                \"value\": \"SmartOLT\"\n                            },\n                            {\n                                \"label\": \"Interface\",\n                                \"value\": \"Mgmt IP interface\"\n                            }\n                        ]\n                    }\n                ]\n            },\n            {\n                \"id\": 3,\n                \"name\": \"test\",\n                \"description\": \"\",\n                \"olt_id\": 10,\n                \"olt_name\": \"Huawei\",\n                \"board\": null,\n                \"port\": null,\n                \"is_reversible\": false,\n                \"enforced_settings\": [\n                    {\n                        \"key\": \"main_vlan\",\n                        \"rows\": [\n                            {\n                                \"label\": \"Main VLAN\",\n                                \"value\": \"VLAN 10\"\n                            }\n                        ]\n                    }\n                ]\n            },\n            {\n                \"id\": 4,\n                \"name\": \"test 2\",\n                \"description\": \"\",\n                \"olt_id\": 10,\n                \"olt_name\": \"Huawei\",\n                \"board\": null,\n                \"port\": null,\n                \"is_reversible\": true,\n                \"enforced_settings\": [\n                    {\n                        \"key\": \"onu_mode\",\n                        \"rows\": [\n                            {\n                                \"label\": \"ONU mode\",\n                                \"value\": \"Routing\"\n                            }\n                        ]\n                    }\n                ]\n            },\n            {\n                \"id\": 7,\n                \"name\": \"test one time\",\n                \"description\": \"\",\n                \"olt_id\": 90,\n                \"olt_name\": \"ZTE\",\n                \"board\": null,\n                \"port\": null,\n                \"is_reversible\": false,\n                \"enforced_settings\": [\n                    {\n                        \"key\": \"main_vlan\",\n                        \"rows\": [\n                            {\n                                \"label\": \"Main VLAN\",\n                                \"value\": \"VLAN 25\"\n                            }\n                        ]\n                    }\n                ]\n            },\n            {\n                \"id\": 5,\n                \"name\": \"test preset\",\n                \"description\": \"\",\n                \"olt_id\": 90,\n                \"olt_name\": \"ZTE\",\n                \"board\": null,\n                \"port\": null,\n                \"is_reversible\": true,\n                \"enforced_settings\": [\n                    {\n                        \"key\": \"main_vlan\",\n                        \"rows\": [\n                            {\n                                \"label\": \"Main VLAN\",\n                                \"value\": \"VLAN 20\"\n                            }\n                        ]\n                    },\n                    {\n                        \"key\": \"catv\",\n                        \"rows\": [\n                            {\n                                \"label\": \"CATV\",\n                                \"value\": \"Disabled\"\n                            }\n                        ]\n                    }\n                ]\n            }\n        ]\n    },\n    \"status\": true,\n    \"response_code\": \"success\"\n}"}],"_postman_id":"0715d93d-dd08-466f-ba69-1caaaa2835e1"},{"name":"Apply configuration preset to an ONU by ONU unique external ID","id":"64c77421-82f7-433d-b7b3-adbbf481b98f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"configuration_preset_name","value":"Residential","description":"<p>Required if configuration_preset_id is not sent. Name of an applicable preset.</p>\n"},{"key":"configuration_preset_id","value":"5","description":"<p>Required if configuration_preset_name is not sent. ID of an applicable preset.</p>\n","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/apply_configuration_preset/{{onu_external_id}}","description":"<p>Applies a configuration preset to the ONU and pushes the resulting configuration to the OLT.</p>\n<p>Runs <strong>synchronously</strong> and returns the final outcome. If the OLT push fails, the preset application is rolled back automatically and the error is returned.</p>\n<p>Identify the preset by <code>configuration_preset_id</code> <strong>or</strong> <code>configuration_preset_name</code> (at least one required). If you send both and they point at different presets the request is rejected with<code>configuration_preset_id_name_mismatch</code>.</p>\n<p>The preset is always resolved against the presets applicable to this ONU, so a preset belonging to a different OLT/board/port is rejected with <code>configuration_preset_not_applicable</code>.</p>\n<h3 id=\"path-parameters\">Path parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>onu_external_id</code></td>\n<td>yes</td>\n<td>The ONU external ID</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"body-parameters-applicationx-www-form-urlencoded\">Body parameters (<code>application/x-www-form-urlencoded</code>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>configuration_preset_id</code></td>\n<td>one of the two</td>\n<td>ID of an applicable preset</td>\n</tr>\n<tr>\n<td><code>configuration_preset_name</code></td>\n<td>one of the two</td>\n<td>Name of an applicable preset</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"errors\">Errors</h3>\n<p><code>configuration_preset_id_or_name_required</code>, <code>configuration_preset_not_applicable</code>, <code>configuration_preset_id_name_mismatch, onu_busy</code> (409), plus any OLT error returned while pushing the configuration.</p>\n","urlObject":{"protocol":"https","path":["api","onu","apply_configuration_preset","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"cc2c7fa7-c698-4db4-ba5f-5de74b767a63","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"configuration_preset_name","value":"Residential"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/apply_configuration_preset/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": \"ONU configuration preset applied\",\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"8a05c571-27e6-4ca9-9985-7615d6c2a750","name":"400 - Preset not applicable to this ONU","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"configuration_preset_name","value":"Unknown preset"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/apply_configuration_preset/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: The specified configuration preset does not exist or is not applicable to this ONU.\",\n    \"error_code\": \"configuration_preset_not_applicable\"\n}"},{"id":"e7225ab0-d91e-4c2e-8b13-a9fdfffb8eab","name":"409 - ONU busy","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"configuration_preset_name","value":"Residential"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/apply_configuration_preset/{{onu_external_id}}"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"This ONU has another operation in progress; please try again shortly.\",\n    \"error_code\": \"onu_busy\"\n}"}],"_postman_id":"64c77421-82f7-433d-b7b3-adbbf481b98f"},{"name":"Remove configuration preset from an ONU by ONU unique external ID","id":"34abcfbe-2452-4760-a4af-83a1bb1227af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/remove_configuration_preset/{{onu_external_id}}","description":"<p>Removes the configuration preset currently applied to the ONU, restoring the settings that were in place before it was applied, and pushes the result to the OLT.</p>\n<p>Runs <strong>synchronously</strong> and returns the final outcome.</p>\n<p>There is no preset parameter: the endpoint operates on whichever preset is currently applied on the ONU. If the ONU has no applied preset — or the applied preset was a <strong>one-time (non-reversible)</strong> preset, which by definition cannot be undone — the call returns <code>preset_application_not_found</code>.</p>\n<h3 id=\"path-parameters\">Path parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>onu_external_id</code></td>\n<td>yes</td>\n<td>The ONU external ID</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"errors\">Errors</h3>\n<p><code>preset_application_not_found</code>, <code>onu_busy</code> (409), plus any OLT error returned while pushing the configuration.</p>\n","urlObject":{"protocol":"https","path":["api","onu","remove_configuration_preset","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"56e6fc6d-49c7-42fb-bdb8-5162b6b56edc","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/remove_configuration_preset/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": \"ONU configuration preset reversed\",\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"aa13a837-c0b9-459f-8edd-13b0fdd3357f","name":"400- Nothing to remove","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/remove_configuration_preset/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: This ONU has no configuration preset applied that can be removed.\",\n    \"error_code\": \"preset_application_not_found\"\n}"}],"_postman_id":"34abcfbe-2452-4760-a4af-83a1bb1227af"},{"name":"Apply configuration preset on multiple ONUs by ONU unique external IDs","id":"54eb4b99-51a4-4374-bc04-594f7490462c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"onus_external_ids","value":"ONU001,ONU002,ONU003","description":"<p>(Required, String) Comma separated list of ONU unique external IDs. A maximum of 10 000 ONU unique external IDs are allowed</p>\n"},{"key":"configuration_preset_name","value":"Residential","description":"<p>Required if configuration_preset_id is not sent. Only matches ONUs on the preset's own OLT/board/port.</p>\n"},{"key":"configuration_preset_id","value":"5","description":"<p>Required if configuration_preset_name is not sent. Only matches ONUs on the preset's own OLT/board/port.</p>\n","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_apply_configuration_preset","description":"<p>Applies a configuration preset to several ONUs in one call.</p>\n<p><strong>This endpoint is asynchronous.</strong> It validates each ONU, queues the work as a batch action and returns immediately — the response tells you what was <em>accepted</em>, not what the OLT did.</p>\n<p>The response is a list keyed by ONU external id. Accepted ONUs report that the action is being processed; every other ONU carries the reason it was skipped. Duplicate ids in one call are collapsed, and an ONU that already has this action queued is not queued twice.</p>\n<p>Per-ONU skip reasons include: preset not applicable to that ONU, the ONU already has a preset applied, and an action already queued for it.</p>\n<h3 id=\"body-parameters-applicationx-www-form-urlencoded\">Body parameters (<code>application/x-www-form-urlencoded</code>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>onus_external_ids</code></td>\n<td>yes</td>\n<td>Comma separated ONU external IDs, maximum 10 000</td>\n</tr>\n<tr>\n<td><code>configuration_preset_id</code></td>\n<td>one of the two</td>\n<td>ID of the preset to apply</td>\n</tr>\n<tr>\n<td><code>configuration_preset_name</code></td>\n<td>one of the two</td>\n<td>Name of the preset to apply — resolved per ONU</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","onu","bulk_apply_configuration_preset"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"c372efef-eecd-4d78-8d31-95ab171d90f3","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"onus_external_ids","value":"ONU001,ONU002,ONU003,ONU004"},{"key":"configuration_preset_name","value":"Residential"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_apply_configuration_preset"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"response\": {\n        \"ONU001\": \"The configuration preset action was queued and is being processed.\",\n        \"ONU002\": \"A configuration preset action is already queued for this ONU.\",\n        \"ONU003\": \"The specified configuration preset does not exist or is not applicable to this ONU.\",\n        \"ONU004\": \"This ONU already has an active configuration preset. Remove it before applying another.\"\n    },\n    \"response_code\": \"success\",\n    \"status\": true\n}"}],"_postman_id":"54eb4b99-51a4-4374-bc04-594f7490462c"},{"name":"Remove configuration preset from multiple ONUs by ONU unique external IDs","id":"e367973e-13ce-4d0c-a1f8-a7d121d90adc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"onus_external_ids","value":"ONU001,ONU002","description":"<p>(Required, String) Comma separated list of ONU unique external IDs. A maximum of 10 000 ONU unique external IDs are allowed</p>\n"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_remove_configuration_preset","description":"<p>Removes the currently applied configuration preset from several ONUs in one call, restoring each ONU's previous settings.</p>\n<p><strong>This endpoint is asynchronous.</strong> It validates each ONU, queues the work as a batch action and returns immediately — the response tells you what was <em>accepted</em>, not what the OLT did.</p>\n<p>The response is a list keyed by ONU external id. Accepted ONUs report that the action is being processed; every other ONU carries the reason it was skipped. Duplicate ids in one call are collapsed, and an ONU that already has this action queued is not queued twice.</p>\n<p>Per-ONU skip reasons include: no preset applied to reverse, an action already queued, and an application still mid-apply/mid-reverse.</p>\n<h3 id=\"body-parameters-applicationx-www-form-urlencoded\">Body parameters (<code>application/x-www-form-urlencoded</code>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>onus_external_ids</code></td>\n<td>yes</td>\n<td>Comma separated ONU external IDs, maximum 10 000</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","onu","bulk_remove_configuration_preset"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"2a7aa7aa-d530-47e7-8012-73949dd2fea0","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"(Required) The API token"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"onus_external_ids","value":"ONU001,ONU002"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_remove_configuration_preset"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"response\": {\n        \"ONU001\": \"The configuration preset action was queued and is being processed.\",\n        \"ONU002\": \"This ONU has no configuration preset applied that can be removed.\"\n    },\n    \"response_code\": \"success\",\n    \"status\": true\n}"}],"_postman_id":"e367973e-13ce-4d0c-a1f8-a7d121d90adc"},{"name":"Check configuration preset task status","id":"41e5375c-21a2-4fe1-851b-ee82b3af753a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"onus_external_ids","value":"ONU001,ONU002","description":"<p>(Required, String) Comma separated list of ONU unique external IDs. A maximum of 10 000 ONU unique external IDs are allowed</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/check_configuration_preset_task_status","description":"<p>Check how the queued configuration-preset work is going, detailed per ONU.</p>\n<p>Reports the <strong>most recent</strong> preset task row for each ONU — apply or remove, whichever happened last — so it answers both \"is my bulk request still running\" and \"what happened to it\".</p>\n<p><strong><code>status</code></strong> <strong>values</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>value</th>\n<th>meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>queued</code></td>\n<td>accepted, not picked up by a worker yet</td>\n</tr>\n<tr>\n<td><code>in_progress</code></td>\n<td>a worker is running it now</td>\n</tr>\n<tr>\n<td><code>retrying</code></td>\n<td>an attempt failed; more attempts remain (up to 4)</td>\n</tr>\n<tr>\n<td><code>failed</code></td>\n<td>out of attempts, or the batch action was stopped, or its task is no longer running</td>\n</tr>\n<tr>\n<td><code>succeeded</code></td>\n<td>completed successfully</td>\n</tr>\n<tr>\n<td><code>no_task</code></td>\n<td>the ONU exists but has no preset task on record</td>\n</tr>\n<tr>\n<td><code>onu_not_found</code></td>\n<td>no ONU with that external id is visible to this API key</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other fields</strong> (absent for <code>no_task</code> / <code>onu_not_found</code>)</p>\n<ul>\n<li><p><code>action</code> — <code>apply</code> or <code>remove</code>.</p>\n</li>\n<li><p><code>attempts</code> — attempts made so far.</p>\n</li>\n<li><p><code>date_start</code> / <code>date_end</code> — <code>null</code> until the worker starts / finishes an attempt.</p>\n</li>\n<li><p><code>error_message</code> — the error from the last failed attempt, passed through from the OLT where there was one. Always <code>null</code> for <code>succeeded</code>.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","onu","check_configuration_preset_task_status"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"bbe4bf88-ca65-47db-8b8f-1338fb8c92a6","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"onus_external_ids","value":"NOSUCHONU,ONU001,ONU002"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/check_configuration_preset_task_status","description":"How the queued configuration-preset work is going, per ONU.\n\nReports the **most recent** preset task row for each ONU — apply or remove, whichever happened last — so it answers both \"is my bulk request still running\" and \"what happened to it\". You do not need to hold a task id.\n\nCosts the same two queries whether you ask about 1 ONU or 10000; the response grows with the number of ids, not the work behind them. Accepts up to 10000 ONU external ids, works with a read-only API key, and is exempt from the concurrent-call limit that applies to the mutating endpoints — you can poll it as often as you need.\n\n**`status` values**\n\n| value | meaning |\n| --- | --- |\n| `queued` | accepted, not picked up by a worker yet |\n| `in_progress` | a worker is running it now |\n| `retrying` | an attempt failed; more attempts remain (up to 4) |\n| `failed` | out of attempts, or the batch action was stopped, or its task is no longer running |\n| `succeeded` | completed successfully |\n| `no_task` | the ONU exists but has no preset task on record |\n| `onu_not_found` | no ONU with that external id is visible to this API key |\n\n**Other fields** (absent for `no_task` / `onu_not_found`)\n\n- `action` — `apply` or `remove`.\n- `attempts` — attempts made so far.\n- `date_start` / `date_end` — `null` until the worker starts / finishes an attempt.\n- `error_message` — the error from the last failed attempt, passed through from the OLT where there was one. Always `null` for `succeeded`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"NOSUCHONU\": {\n            \"status\": \"onu_not_found\"\n        },\n        \"ONU001\": {\n            \"status\": \"succeeded\",\n            \"action\": \"apply\",\n            \"attempts\": 1,\n            \"date_start\": \"2026-07-22 16:59:41\",\n            \"date_end\": \"2026-07-22 17:00:12\",\n            \"error_message\": null\n        },\n        \"ONU002\": {\n            \"status\": \"failed\",\n            \"action\": \"apply\",\n            \"attempts\": 4,\n            \"date_start\": \"2026-07-19 09:19:46\",\n            \"date_end\": \"2026-07-19 09:19:53\",\n            \"error_message\": \"OLT unreachable. Please check that the Telnet port TCP on OLT IP is open for connections.\"\n        }\n    },\n    \"response_code\": \"success\",\n    \"status\": true\n}"}],"_postman_id":"41e5375c-21a2-4fe1-851b-ee82b3af753a"},{"name":"Update ONU location details by ONU unique external ID","id":"d8b8dbf3-e5f3-4d34-bc51-523912fa2de5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"value":"City Centre","key":"zone","type":"text","description":"<p>(String) The zone where the ONU is located. The Zone can contain only alphanumeric characters, spaces, underscore and the dash (-) character</p>\n"},{"value":"Splitter325","key":"odb","type":"text","description":"<p>(String) Splitter. The Splitter can contain only alphanumeric characters, spaces, underscore and the dash (-) character</p>\n"},{"uuid":"7cbb35e2-04e2-4746-8f56-db3236c352ff","value":"5","key":"odb_port","type":"text","description":"<p>(Int) Splitter port. When odb_port is missing and the ONU stays on the same splitter, the ONU keeps its current splitter port. When odb is a different splitter and odb_port is missing, the ONU gets no splitter port.</p>\n"},{"value":"John Doe","key":"name","type":"text","description":"<p>(String) Name. The Name can contain only alphanumeric characters, spaces and the following characters: @#$&amp;()-`.+,/_</p>\n"},{"value":"Avenue 9","key":"address_or_comment","type":"text","description":"<p>(String) Address or comment. The Address or Comment can contain only alphanumeric characters, spaces and the following characters: @#$&amp;()-`.+,/_</p>\n"},{"value":"John Doe","key":"contact","type":"text","description":"<p>(String) Contact. The Contact can contain only alphanumeric characters, spaces and the following characters: @#$&amp;()-`.+,/_</p>\n"},{"value":"52.5113340328893","key":"latitude","type":"text","description":"<p>(String) Latitude</p>\n"},{"value":"13.401282438647513","key":"longitude","type":"text","description":"<p>(String) Longitude</p>\n"},{"value":"L-004512","key":"seal_number","type":"text","description":"<p>(String) Seal number of the ONU's drop cable at the splitter port. Up to 64 characters, without line breaks, other control characters or emoji. Spaces at the start and at the end are removed. Send <code>unknown</code> (any letter case) to remove the seal number. When the parameter is missing or empty, the seal number does not change. Several ONUs can have the same seal number. A request with only <code>seal_number</code> is valid. When the ONU moves to another splitter or splitter port, or leaves its splitter, SmartOLT removes its seal number, because the seal stays on the old drop cable. When the same request also sends <code>seal_number</code>, the ONU gets the value from the request.</p>\n"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_location_details/{{onu_external_id}}","description":"<h2 id=\"update-onu-location-details-for-a-specified-onu-unique-external-id\">Update ONU location details for a specified ONU unique external ID</h2>\n<p>At least one parameter must be provided. Send only the parameters that you want to be updated. The zone names must be the ones defined in SmartOLT Zones section. The Splitter names must be the ones defined in SmartOLT Splitters section.<br />The request returns succesfully if the ONU location details were updated successfully.<br />It returns a 400 error code when:</p>\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no parameters were provided</li>\n<li>the Zone is in the wrong format</li>\n<li>the Splitter is in the wrong format</li>\n<li>the Name is in the wrong format</li>\n<li>the Address or Comment is in the wrong format</li>\n<li>the Contact is in the wrong format</li>\n<li>the Latitude is in the wrong format</li>\n<li>the Longitude is in the wrong format</li>\n<li>the Seal number is longer than 64 characters, or contains line breaks or other control characters (error code <code>incorrect_seal_number</code>)</li>\n<li>OLT was unable to process the command</li>\n</ul>\n<p>When the seal number is not valid, the request fails before it changes anything: no location detail and no seal number is saved.</p>\n<p>It returns a 500 error code when the seal number could not be saved (error code <code>internal_error</code>). The other location details of the same request may already be saved; send the request again.</p>\n","urlObject":{"protocol":"https","path":["api","onu","update_location_details","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"cf148423-e3f6-4fd1-9bb2-80e54e401930","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"zone","value":"City Centre","description":"(String) The zone where the ONU is located","type":"text"},{"key":"odb","value":"Splitter325","description":"(String) ODB splitter","type":"text"},{"key":"name","value":"John Doe","description":"(String) Name","type":"text"},{"key":"address_or_comment","value":"Avenue 9","description":"(String) Address or comment","type":"text"},{"key":"contact","value":"John Doe","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_location_details/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Location details updated for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"039b8c4b-972b-4e8f-ac5a-0ddb44ebe1e4","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"description":"(Required) The API token","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"(String) The zone where the ONU is located. The Zone can contain only alphanumeric characters, spaces, underscore and the dash (-) character","key":"zone","type":"text","value":"City Centre","disabled":true},{"description":"(String) ODB splitter. The ODB (Splitter) can contain only alphanumeric characters, spaces, underscore and the dash (-) character","key":"odb","type":"text","value":"Splitter325","disabled":true},{"description":"(String) Name. The Name can contain only alphanumeric characters, spaces and the following characters: @#$&()-`.+,/_","key":"name","type":"text","value":"John Doe","disabled":true},{"description":"(String) Address or comment. The Address or Comment can contain only alphanumeric characters, spaces and the following characters: @#$&()-`.+,/_","key":"address_or_comment","type":"text","value":"Avenue 9","disabled":true},{"description":"(String) Latitude","key":"latitude","type":"text","value":"52.5113340328893","disabled":true},{"description":"(String) Longitude","key":"longitude","type":"text","value":"13.401282438647513","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_location_details/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 31 Oct 2018 12:02:18 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Set-Cookie","value":"ci_session=5c65b13dc856cacd6d2ef0583089b53a87de2f23; expires=Wed, 31-Oct-2018 14:02:18 GMT; Max-Age=7200; path=/; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Please provide at least one parameter to update the ONU location details\"\n}"},{"id":"2ec1c819-2945-4ccc-9a5f-80cef8f204d4","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"zone","value":"City Centre","description":"(String) The zone where the ONU is located","type":"text"},{"key":"odb","value":"Splitter325","description":"(String) ODB splitter","type":"text"},{"key":"name","value":"John Doe","description":"(String) Name","type":"text"},{"key":"address_or_comment","value":"Avenue 9","description":"(String) Address or comment","type":"text"},{"key":"latitude","value":"52.5113340328893","description":"(String) Latitude","type":"text"},{"key":"longitude","value":"13.401282438647513","description":"(String) Latitude","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_location_details/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"dbcac542-bca1-4763-889e-fa5c40b017c9","name":"200 - OK, seal number removed","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"seal_number","value":"unknown"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_location_details/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds","key":"Cache-Control"},{"value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection","key":"Connection"},{"value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)","key":"Content-Length"},{"value":"application/json","name":"Content-Type","description":"The mime type of this content","key":"Content-Type"},{"value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent","key":"Date"},{"value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale","key":"Expires"},{"value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header","key":"Keep-Alive"},{"value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain.","key":"Pragma"},{"value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server","key":"Server"},{"value":"200","name":"Status","description":"Custom header","key":"Status"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"Location details updated for ONU with ONU external ID onu_unique_external_id\"\n}"},{"id":"1b45434a-64d1-430e-a521-80121a4b10fc","name":"400 - Seal number too long","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"seal_number","value":"L-0045120000000000000000000000000000000000000000000000000000000000"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_location_details/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"value":"Wed, 31 Oct 2018 12:02:18 GMT","key":"Date"},{"value":"Apache/2.4.18 (Ubuntu)","key":"Server"},{"value":"ci_session=5c65b13dc856cacd6d2ef0583089b53a87de2f23; expires=Wed, 31-Oct-2018 14:02:18 GMT; Max-Age=7200; path=/ HttpOnly","key":"Set-Cookie"},{"value":"Thu, 19 Nov 1981 08:52:00 GMT","key":"Expires"},{"value":"no-store, no-cache, must-revalidate","key":"Cache-Control"},{"value":"no-cache","key":"Pragma"},{"value":"119","key":"Content-Length"},{"value":"close","key":"Connection"},{"value":"application/json; charset=utf-8","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: Seal number cannot contain line breaks or other control characters, at most 64 characters\",\n    \"error_code\": \"incorrect_seal_number\"\n}"}],"_postman_id":"d8b8dbf3-e5f3-4d34-bc51-523912fa2de5"},{"name":"Update ONU unique external ID","id":"0718fc10-8b91-44ba-bd14-599c6615626c","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU unique external ID. The ONU external ID can contain only alphanumeric characters</p>\n","key":"onu_external_id","type":"text","value":"test"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id/{{onu_external_id}}","description":"<h2>Update ONU unique external ID</h2> \nThe request returns succesfully if the ONU unique external ID was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no new external ID was provided</li>\n<li>the new external ID is in the wrong format</li>\n<li>the new external ID is already assigned to another ONU</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","update_unique_external_id","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"91247fdc-5291-4619-bcae-78e4114552c6","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"onu_external_id","value":"test2","description":"(Required, String) ONU external ID","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU unique external id updated\"}"},{"id":"0625ef0c-eb43-4513-8540-2061eb166634","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"onu_external_id","value":"test2","description":"(Required, String) ONU external ID","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"166cb8c2-fc01-440c-888f-b0d0f7de2dce","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"onu_external_id","value":"test2","description":"(Required, String) ONU external ID","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the new ONU external ID\"}"}],"_postman_id":"0718fc10-8b91-44ba-bd14-599c6615626c"},{"name":"Update ONU unique external ID by board, port, ONU number","id":"4162cedd-40ab-42eb-b9dd-65244fa0084d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","description":"<p>(Required, Int) The ID of the OLT where the ONU is placed</p>\n","type":"text"},{"key":"board","value":"3","description":"<p>(Required, Int) OLT board where the ONU is placed</p>\n","type":"text"},{"key":"port","value":"3","description":"<p>(Required, Int) OLT PON port where ONU is placed</p>\n","type":"text"},{"key":"onu_number","value":"2","description":"<p>(Required, Int) OLT ONU number where ONU is placed</p>\n","type":"text"},{"description":"<p>(Required, String) ONU unique external ID. The ONU external ID can contain only alphanumeric characters</p>\n","key":"onu_external_id","type":"text","value":"test"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id_by_board_port_onu","description":"<p>The request returns succesfully if the ONU unique external ID was updated successfully.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not change the ONU.</p>\n<p>It returns a 400 error code when:</p>\n<ul>\n<li>no OLT ID, board, port or ONU number was provided</li>\n<li>no ONU was found for the provided OLT ID, board, port or ONU number</li>\n<li>no new external ID was provided</li>\n<li>the new external ID is in the wrong format</li>\n<li>the new external ID is already assigned to another ONU</li>\n<li>OLT was unable to process the command</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","onu","update_unique_external_id_by_board_port_onu"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"4252b6bf-ea7c-4ec1-8e25-2c797b257876","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","type":"text"},{"key":"board","value":"3","type":"text"},{"key":"port","value":"3","type":"text"},{"key":"onu_number","value":"2","type":"text"},{"key":"onu_external_id","value":"test2","description":"(Required, String) ONU external ID","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id_by_board_port_onu"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU unique external id updated\"}"},{"id":"6ef77a1b-5db1-439c-a3e7-b7f12b2f3249","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"onu_external_id","value":"test2","description":"(Required, String) ONU external ID","type":"text","disabled":true},{"key":"olt_id","value":"1","type":"text"},{"key":"board","value":"3","type":"text"},{"key":"port","value":"3","type":"text"},{"key":"onu_number","value":"2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id_by_board_port_onu"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the new ONU external ID\"}"},{"id":"b26618a5-80a4-4e9f-9e38-c63021cf039a","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","type":"text"},{"key":"board","value":"3","type":"text"},{"key":"port","value":"3","type":"text"},{"key":"onu_number","value":"2","type":"text"},{"key":"onu_external_id","value":"test2","description":"(Required, String) ONU external ID","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id_by_board_port_onu"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"4162cedd-40ab-42eb-b9dd-65244fa0084d"},{"name":"Update ONU unique external ID by SN","id":"0e15bc66-088f-4f68-9d7d-364817bda172","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, Int) The ID of the OLT where the ONU is placed</p>\n","key":"olt_id","type":"text","value":"1"},{"description":"<p>(Required, String) ONU SN</p>\n","key":"sn","type":"text","value":"ZTEGC7E230E4"},{"description":"<p>(Required, String) ONU unique external ID. The ONU external ID can contain only alphanumeric characters</p>\n","key":"onu_external_id","type":"text","value":"test"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id_by_sn","description":"<p>The request returns succesfully if the ONU unique external ID was updated successfully.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not change the ONU.</p>\n<p>It returns a 400 error code when:</p>\n<ul>\n<li>no SN was provided</li>\n<li>no ONU was found for the provided SN</li>\n<li>no new external ID was provided</li>\n<li>the new external ID is in the wrong format</li>\n<li>the new external ID is already assigned to another ONU</li>\n<li>OLT was unable to process the command</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","onu","update_unique_external_id_by_sn"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"3b78b184-59b5-4fb4-b5a8-255fd4aaf08d","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","type":"text"},{"key":"sn","value":"ZTEGC7E230E4","type":"text"},{"key":"onu_external_id","value":"test2","description":"(Required, String) ONU external ID","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id_by_sn"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU unique external id updated\"}"},{"id":"49efc9ad-19b9-4c3f-8d22-53d778b2a290","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"olt_id","value":"1","type":"text"},{"key":"sn","value":"ZTEGC7E230E4","type":"text"},{"key":"onu_external_id","value":"test2","description":"(Required, String) ONU external ID","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id_by_sn"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"6ad49eaa-5526-4ea6-92f8-87003d28d252","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"onu_external_id","value":"test2","description":"(Required, String) ONU external ID","type":"text","disabled":true},{"key":"olt_id","value":"1","type":"text"},{"key":"sn","value":"ZTEGC7E230E4","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_unique_external_id_by_sn"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the new ONU external ID\"}"}],"_postman_id":"0e15bc66-088f-4f68-9d7d-364817bda172"},{"name":"Update ONU attached VLANs by ONU unique external ID","id":"1dde1368-059e-457f-b041-630dad15265d","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(String) VLANs to be added, comma separated. The VLANs list can contain only digits and the comma (,) character</p>\n","key":"add_vlans","type":"text","value":"10,20"},{"key":"remove_vlans","value":"33","description":"<p>(String) VLANs to be removed, comma separated. The VLANs list can contain only digits and the comma (,) character</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_attached_vlans/{{onu_external_id}}","description":"<h2>Update ONU attached VLANs for a specified ONU unique external ID</h2> \nAt least one VLAN must be provided. The request returns succesfully if the ONU attached VLANs were updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no VLAN was provided</li>\n<li>the VLAN lists are in the wrong format</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","update_attached_vlans","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"14c0378d-3999-46a4-b6a7-f12fa613ebd0","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"add_vlans","value":"10,20","description":"(String) VLANs to be added, comma separated. The VLANs list can contain only digits and the comma (,) character","type":"text"},{"key":"remove_vlans","value":"33","description":"(String) VLANs to be removed, comma separated. The VLANs list can contain only digits and the comma (,) character","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_attached_vlans/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Attached VLANs updated for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"2b0f0f2e-4ab7-4768-a4b1-89daa1af32b0","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"add_vlans","value":"10,20","description":"(String) VLANs to be added, comma separated. The VLANs list can contain only digits and the comma (,) character","type":"text"},{"key":"remove_vlans","value":"33","description":"(String) VLANs to be removed, comma separated. The VLANs list can contain only digits and the comma (,) character","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_attached_vlans/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"958db688-7b65-4e0b-afa1-756c83e07915","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"add_vlans","value":"10,20","type":"text","disabled":true},{"key":"remove_vlans","value":"33","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_attached_vlans/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please provide at least one VLAN to add/remove\"}"}],"_postman_id":"1dde1368-059e-457f-b041-630dad15265d"},{"name":"Update ONU main VLAN-ID by ONU unique external ID","id":"845889dd-22bb-490a-b192-372fbb9dce4f","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, Int) ONU new main VLAN-ID</p>\n","key":"vlan","type":"text","value":"10"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_main_vlan/{{onu_external_id}}","description":"<h2>Update ONU main VLAN-ID for a specified ONU unique external ID</h2>\n\n  \n<p>The request returns succesfully if the ONU main VLAN-ID was updated successfully.  </p>\n<p>It returns a 400 error code when:  </p>\n<ul><li><p>no ONU external ID was provided</p></li><li><p>no ONU was found for the provided ONU external ID</p></li><li><p>no VLAN-ID was provided</p></li><li><p>OLT was unable to process the command</p></li></ul>","urlObject":{"protocol":"https","path":["api","onu","update_main_vlan","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"19bf8a44-32c3-4ea3-9312-6e9526b75523","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"10","description":"(Required, Int) ONU new main VLAN-ID","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_main_vlan/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Main VLAN-ID updated for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"3c347e96-e17c-45cb-9889-be1dd0ff04ec","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"10","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_main_vlan/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify ONU VLAN-ID\"}"},{"id":"a553df7e-0c32-4638-930b-464e44af5c50","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"10","description":"(Required, Int) ONU new main VLAN-ID","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_main_vlan/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"845889dd-22bb-490a-b192-372fbb9dce4f"},{"name":"Update ONU mode by ONU unique external ID","id":"5671d229-23ac-4fa3-89bb-0203355d9a31","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU mode. Allowed values: Routing, Bridging</p>\n","key":"onu_mode","type":"text","value":"Routing"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_mode/{{onu_external_id}}","description":"<h2>Update ONU mode for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU mode was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no ONU mode was provided</li>\n<li>wrong ONU mode was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","update_onu_mode","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"a3e9543a-d5ed-4cdc-8db3-fbd15a5266f7","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"onu_mode","value":"Routing","description":"(Required, String) ONU mode. Allowed values: Routing, Bridging","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_mode/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU mode updated for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"4f23a9e5-85ee-4dd4-8214-4788714a719b","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"onu_mode","value":"Routing","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_mode/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Allowed values for ONU mode are 'Routing' or 'Bridging'\"}"},{"id":"c69efa9e-ea3a-4400-aa27-ef2676a75b09","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"onu_mode","value":"Routing","description":"(Required, String) ONU mode. Allowed values: Routing, Bridging","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_mode/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"5671d229-23ac-4fa3-89bb-0203355d9a31"},{"name":"Set ONU Mgmt IP mode to Inactive by ONU unique external ID","id":"20e1d52d-6c78-4a07-a810-6a44f1733d23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_mgmt_ip_inactive/{{onu_external_id}}","description":"<h2>Set ONU Mgmt IP mode to Inactive for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU Mgmt IP mode was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_onu_mgmt_ip_inactive","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"93ef3628-ae83-41df-bf23-af572479627c","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_mgmt_ip_inactive/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Changed Mgmt IP mode to Inactive for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"0e3285e1-1668-47fd-9a8f-95109df1e97c","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_mgmt_ip_inactive/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"20e1d52d-6c78-4a07-a810-6a44f1733d23"},{"name":"Set ONU Mgmt IP mode to Static IP by ONU unique external ID","id":"acf0e850-6e0d-4b7a-afd3-14392f06b4f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"100","description":"<p>(Required, Int) ONU Mgmt VLAN-ID</p>\n","type":"text"},{"key":"cvlan","value":"101","description":"<p>(Int) ONU Mgmt CVLAN-ID</p>\n","type":"text"},{"key":"svlan","value":"102","description":"<p>(Int) ONU Mgmt SVLAN-ID</p>\n","type":"text"},{"key":"tag_transform_mode","value":"translate","description":"<p>(String) Tag-transform mode. Allowed values: default, translate, translate-and-add</p>\n","type":"text"},{"key":"ipv4_address","value":"10.100.0.11 or 10.100.0.0/24","description":"<p>(String) IPv4 address or IP subnet (IP pool). The IPv4 address must be a valid IP address or a valid IP subnet (IP pool). The system will autoassign an available IP address from the existing IP pools, if this field is not specified.</p>\n","type":"text"},{"key":"subnet_mask","value":"255.255.255.0","description":"<p>(String) Subnet mask. The Subnet mask must be a valid IP address</p>\n","type":"text"},{"key":"gateway","value":"10.100.0.1","description":"<p>(String) Gateway. The Gateway must be a valid IP address</p>\n","type":"text"},{"key":"dns1","value":"8.8.8.8","description":"<p>(String) DNS1. The DNS1 must be a valid IP address</p>\n","type":"text"},{"key":"dns2","value":"8.8.4.4","description":"<p>(String) DNS2. The DNS2 must be a valid IP address</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_mgmt_ip_static_ip/{{onu_external_id}}","description":"<h2>Set ONU Mgmt IP mode to Static IP for a specified ONU unique external ID</h2>\n\n  \n<p>The request returns succesfully if the ONU Mgmt IP mode was updated successfully.</p>\n<p>Possible combinations for setting Mgmt IP mode to Static IP through API:</p>\n<ul>\n<li>VLAN only (the system will autoassign an available IP address from the existing IP pools)</li>\n<li>VLAN + IP subnet (ex: 10.100.0.0/24)</li>\n<li>VLAN + IP address + subnet mask + gateway + dns1 + dns2</li>\n</ul>\n<p>It returns a 400 error code when:</p>\n<ul><li><p>no ONU external ID was provided</p></li><li><p>no ONU was found for the provided ONU external ID</p></li><li><p>no VLAN-ID, IPv4 address, subnet mask, gateway, DNS1 was provided</p></li><li><p>wrong VLAN-ID, IPv4 address, subnet mask, gateway, DNS1, DNS2 was provided</p></li><li><p>OLT was unable to process the command</p></li></ul>","urlObject":{"protocol":"https","path":["api","onu","set_onu_mgmt_ip_static_ip","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"4601d0f8-7c3c-4d1d-9dec-88579fc58552","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"100","type":"text"},{"key":"ipv4_address","value":"10.100.0.11","type":"text"},{"key":"subnet_mask","value":"255.255.255.0","type":"text"},{"key":"gateway","value":"10.100.0.1","type":"text"},{"key":"dns1","value":"8.8.8.8","type":"text"},{"key":"dns2","value":"8.8.4.4","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_mgmt_ip_static_ip/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Changed Mgmt IP mode to Static IP for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"fd8af409-065a-4e29-b679-c6cf31739211","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"100","type":"text"},{"key":"ipv4_address","value":"1.2.3.4","type":"text"},{"key":"subnet_mask","value":"1.2.2.2","type":"text"},{"key":"gateway","value":"1.2.2.2","type":"text"},{"key":"dns1","value":"8.8.8.8","type":"text"},{"key":"dns2","value":"8.8.4.4","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_mgmt_ip_static_ip/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"acf0e850-6e0d-4b7a-afd3-14392f06b4f9"},{"name":"Set ONU Mgmt IP mode to DHCP by ONU unique external ID","id":"1a24a4f8-64cf-4da6-af66-112d0e4c3a8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, Int) ONU Mgmt VLAN-ID</p>\n","key":"vlan","type":"text","value":"100"},{"description":"<p>(Int) ONU Mgmt CVLAN-ID</p>\n","key":"cvlan","type":"text","value":"101"},{"description":"<p>(Int) ONU Mgmt SVLAN-ID</p>\n","key":"svlan","type":"text","value":"102"},{"description":"<p>(String) Tag-transform mode. Allowed values: default, translate, translate-and-add</p>\n","key":"tag_transform_mode","type":"text","value":"translate"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_mgmt_ip_dhcp/{{onu_external_id}}","description":"<h2>Set ONU Mgmt IP mode to DHCP for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU Mgmt IP mode was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no VLAN-ID was provided</li>\n<li>wrong VLAN-ID was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_onu_mgmt_ip_dhcp","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"687c85f5-a0a9-4720-8b4e-0e8b21165ba5","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"100","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_mgmt_ip_dhcp/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Changed Mgmt IP mode to DHCP for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"5ee3f72c-3ab5-4b22-9540-eae6afb583bf","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"100","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_mgmt_ip_dhcp/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"1a24a4f8-64cf-4da6-af66-112d0e4c3a8e"},{"name":"Enable ONU TR069 by ONU unique external ID","id":"d4dcce06-fff4-4d0e-a9f3-b38fb6ee6bbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"tr069_profile","value":"tr069_profile_name","description":"<p>(Required, String)TR069 profile name</p>\n","type":"text"},{"key":"tr069_interface","value":"mgmt","description":"<p>(String) The interface that carries the TR-069 session. Allowed values are 'wan', 'mgmt'.</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_tr069/{{onu_external_id}}","description":"<h2>Enable ONU TR069 for a specified ONU unique external ID</h2>\n\n<p>The request returns succesfully if the ONU TR069 was enabled successfully.<br />It returns a 400 error code when:</p>\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>TR069 feature was not enabled for this OLT</div></li><li><div>OLT was unable to process the command</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","enable_tr069","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"91faf7fc-581e-4f4d-95e6-ca6653168489","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"tr069_profile","value":"tr069_profile_name","type":"text","uuid":"8a4ab000-af5f-4939-8fbe-f27f5364e8de"},{"key":"tr069_interface","value":"mgmt","type":"text","uuid":"4be7bbee-ebee-4fc0-9459-4df96dc033e9"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_tr069/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"TR069 profile enabled\"}"},{"id":"93f26f4c-007f-4826-bc23-28fcf427c2ed","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_tr069/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"d4dcce06-fff4-4d0e-a9f3-b38fb6ee6bbd"},{"name":"Disable ONU TR069 by ONU unique external ID","id":"0cc7767e-9d3b-4926-b22e-9d3799a1a28e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"","value":"","type":"text","disabled":true},{"key":"","value":"","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_tr069/{{onu_external_id}}","description":"<h2>Disable ONU TR069 for a specified ONU unique external ID</h2>\n\n<p>The request returns succesfully if the ONU TR069 was disabled successfully.<br />It returns a 400 error code when:</p>\n<ul><li><p>no ONU external ID was provided</p></li><li><p>no ONU was found for the provided ONU external ID</p></li><li><p>TR069 feature was not enabled for this OLT</p></li><li><p>OLT was unable to process the command</p></li></ul>","urlObject":{"protocol":"https","path":["api","onu","disable_tr069","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"2eb7885d-cf01-412a-9a53-92fad75c07f6","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_tr069/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"TR069 profile disabled\"}"},{"id":"98e6c278-2502-42bd-820c-66cac7554c60","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_tr069/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"0cc7767e-9d3b-4926-b22e-9d3799a1a28e"},{"name":"Set ONU VoIP mode to Disabled by ONU unique external ID","id":"88d8ed1a-224f-4df2-91b1-343b22c05996","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_voip_disabled/{{onu_external_id}}","description":"<h2>Set ONU VoIP mode to Disabled for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU VoIP mode was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_onu_voip_disabled","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"417d15e9-3119-4634-8ee2-9f0c94fa1ca3","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_voip_disabled/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Disabled VoIP connection for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"af92769b-e6a7-4d26-b969-128fe2e79e16","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_voip_disabled/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"88d8ed1a-224f-4df2-91b1-343b22c05996"},{"name":"Set ONU VoIP mode to Enabled by ONU unique external ID","id":"2131a2e6-8961-4a43-b15b-1c5e61571f26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"voip_attach_to","value":"WAN","description":"<p>(String)  Attach VoIP to WAN or Mgmt</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_voip_enabled/{{onu_external_id}}","description":"<h2>Set ONU VoIP mode to Enabled for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU VoIP mode was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_onu_voip_enabled","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"bdedc172-3548-4ef3-9ab2-5998903fe1e3","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"voip_attach_to","value":"WAN","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_voip_enabled/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Enabled VoIP connection for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"f2415c6b-86c3-4e4e-b3cf-255f9fba19e6","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_voip_enabled/{{onu_external_id}}?voip_attach_to=WAN","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","set_onu_voip_enabled","{{onu_external_id}}"],"query":[{"key":"voip_attach_to","value":"WAN"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"2131a2e6-8961-4a43-b15b-1c5e61571f26"},{"name":"Enable ONU VoIP port by ONU unique external ID","id":"91a93ac6-9f5f-4069-842f-f492f76e9422","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"voip_port","value":"pots_0/1","description":"<p>(Required, String) VoIP port</p>\n","type":"text"},{"key":"voip_profile_name","value":"sip_profile","description":"<p>(String) VoIP profile name</p>\n","type":"text"},{"description":"<p>(Required, String) Phone number. The phone number can contain only digits and the + character. A maximum of 25 characters is allowed</p>\n","key":"phone_number","type":"text","value":"123654789"},{"key":"sip_userid","value":"123654789","description":"<p>(String) SIP userid. The SIP userid can contain only digits and the + character. A maximum of 25 characters is allowed</p>\n","type":"text"},{"description":"<p>(Required, String) Password. The password can contain only alphanumeric characters. A maximum of 25 characters is allowed</p>\n","key":"password","type":"text","value":"pass"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_onu_voip_port/{{onu_external_id}}","description":"<h2>Enable ONU VoIP port for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU VoIP port was enabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no VoIP port, phone number, password was provided</li>\n<li>wrong VoIP port, phone number, password was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","enable_onu_voip_port","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"337029c2-8ef9-4499-888d-582d0bcbb053","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"voip_port","value":"pots_0/1","type":"text"},{"key":"phone_number","value":"123654789","type":"text"},{"key":"password","value":"pass","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_onu_voip_port/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"VoIP port pots_0/1 enabled for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"bca078e2-3c6e-42a4-acd1-bb1d4e2a37a1","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"voip_port","value":"pots_0/1","type":"text"},{"key":"phone_number","value":"123654789","type":"text"},{"key":"password","value":"pass","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_onu_voip_port/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"91a93ac6-9f5f-4069-842f-f492f76e9422"},{"name":"Disable ONU VoIP port by ONU unique external ID","id":"c0a7ec36-9a60-4401-b242-086396a4cd47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) VoIP port</p>\n","key":"voip_port","type":"text","value":"pots_0/1"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_onu_voip_port/{{onu_external_id}}","description":"<h2>Disable ONU VoIP port for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU VoIP port was disabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no VoIP port was provided</li>\n<li>wrong VoIP port was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","disable_onu_voip_port","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"9e4fb701-4eec-4c9e-b050-5524e266477b","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"voip_port","value":"pots_0/1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_onu_voip_port/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"VoIP port pots_0/1 disabled for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"3a1fa628-1602-4021-9e51-e4d9e3e62085","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"voip_port","value":"pots_0/1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_onu_voip_port/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"c0a7ec36-9a60-4401-b242-086396a4cd47"},{"name":"Set ONU WAN mode to Setup via ONU webpage by ONU unique external ID","id":"0646458c-b83d-4b86-b248-7b2d830da36c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_setup_via_onu_webpage/{{onu_external_id}}","description":"<h2>Set ONU WAN mode to Setup via ONU webpage for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU WAN mode was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_onu_wan_mode_setup_via_onu_webpage","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"046f354e-9c24-42a7-9d1f-850a5bc65cdd","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_setup_via_onu_webpage/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU WAN mode updated to Setup via ONU webpage for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"dd17a510-4218-4f45-baa0-ba32d80f726a","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_setup_via_onu_webpage/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"0646458c-b83d-4b86-b248-7b2d830da36c"},{"name":"Set ONU WAN mode to DHCP by ONU unique external ID","id":"11682489-4b03-4d4f-9773-1d04a51845ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"configuration_method","value":"OMCI","description":"<p>(String) Configuration method. Allowed values are \"OMCI\", \"TR069\".</p>\n","type":"text"},{"key":"ip_protocol","value":"ipv4ipv6","description":"<p>(String) IP protocol. Allowed values are \"ipv4\", ipv4ipv6\".</p>\n","type":"text"},{"key":"ipv6_address_mode","value":"None","description":"<p>(String) IPv6 address mode. Allowed values are \"DHCPv6\", \"Auto\", \"Static\", \"None\"</p>\n","type":"text"},{"key":"ipv6_address","value":"","description":"<p>(String) IPv6 address</p>\n","type":"text"},{"key":"ipv6_gateway","value":"","description":"<p>(String) IPv6 gateway</p>\n","type":"text"},{"key":"ipv6_prefix_delegation_mode","value":"DHCPv6-PD","description":"<p>(String) IPv6 prefix. Allowed values are \"DHCPv6\", \"Static\", \"None\"</p>\n","type":"text"},{"key":"ipv6_prefix_address","value":"","description":"<p>(String) IPv6 prefix address</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_dhcp/{{onu_external_id}}","description":"<h2>Set ONU WAN mode to DHCP for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU WAN mode was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_onu_wan_mode_dhcp","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"47540da8-0764-4669-bb66-f2e33183e793","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_dhcp/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU WAN mode updated to DHCP for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"39d60644-8339-4401-8533-1f6bc0acbd13","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_dhcp/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"11682489-4b03-4d4f-9773-1d04a51845ff"},{"name":"Set ONU WAN mode to Static IP by ONU unique external ID","id":"f2bcff5c-6c6d-4723-862f-0072c3e56345","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"ipv4_address","value":"10.100.0.11","description":"<p>(Required, String) IPv4 address. The IPv4 address must be a valid IP address</p>\n","type":"text"},{"key":"subnet_mask","value":"255.255.255.0","description":"<p>(Required, String) Subnet mask. The Subnet mask must be a valid IP address</p>\n","type":"text"},{"key":"gateway","value":"10.100.0.1","description":"<p>(Required, String) Gateway. The Gateway must be a valid IP address</p>\n","type":"text"},{"key":"dns1","value":"8.8.8.8","description":"<p>(Required, String) DNS1. The DNS1 must be a valid IP address</p>\n","type":"text"},{"key":"dns2","value":"8.8.4.4","description":"<p>(String) DNS2. The DNS2 must be a valid IP address</p>\n","type":"text"},{"key":"configuration_method","value":"OMCI","description":"<p>(String) WAN configuration method. Allowed values are \"OMCI\", \"TR069\".</p>\n","type":"text"},{"key":"ip_protocol","value":"ipv4ipv6","description":"<p>(String) IP protocol. Allowed values are \"ipv4\", ipv4ipv6\".</p>\n","type":"text"},{"key":"ipv6_address_mode","value":"None","description":"<p>(String) IPv6 address mode. Allowed values are \"DHCPv6\", \"Auto\", \"Static\", \"None\"</p>\n","type":"text"},{"key":"ipv6_address","value":"","description":"<p>(String) IPv6 address</p>\n","type":"text"},{"key":"ipv6_gateway","value":"","description":"<p>(String) IPv6 gateway</p>\n","type":"text"},{"key":"ipv6_prefix_delegation_mode","value":"DHCPv6-PD","description":"<p>(String) IPv6 prefix. Allowed values are \"DHCPv6\", \"Static\", \"None\"</p>\n","type":"text"},{"key":"ipv6_prefix_address","value":"","description":"<p>(String) IPv6 prefix address</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_static_ip/{{onu_external_id}}","description":"<h2>Set ONU WAN mode to Static IP for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU WAN mode was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no IPv4 address, subnet mask, gateway, DNS1 was provided</li>\n<li>wrong IPv4 address, subnet mask, gateway, DNS1, DNS2 was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_onu_wan_mode_static_ip","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"bc920e3f-9270-4af1-893c-c722940e466c","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ipv4_address","value":"10.100.0.11","type":"text"},{"key":"subnet_mask","value":"255.255.255.0","type":"text"},{"key":"gateway","value":"10.100.0.1","type":"text"},{"key":"dns1","value":"8.8.8.8","type":"text"},{"key":"dns2","value":"8.8.4.4","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_static_ip/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU WAN mode updated to Static IP for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"d8b84746-715f-4564-a0ea-96de9bb8ed9c","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ipv4_address","value":"1.2.3.4","type":"text"},{"key":"subnet_mask","value":"1.2.2.2","type":"text"},{"key":"gateway","value":"1.2.2.2","type":"text"},{"key":"dns1","value":"8.8.8.8","type":"text"},{"key":"dns2","value":"8.8.4.4","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_static_ip/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"f2bcff5c-6c6d-4723-862f-0072c3e56345"},{"name":"Set ONU WAN mode to PPPoE by ONU unique external ID","id":"95a4bdb5-9ecc-4a25-816a-acbd483616e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) PPPoE username. The username can contain only alphanumeric characters. A maximum of 64 characters is allowed</p>\n","key":"username","type":"text","value":"user"},{"description":"<p>(Required, String) PPPoE password. The password can contain only alphanumeric characters. A maximum of 64 characters is allowed</p>\n","key":"password","type":"text","value":"pass"},{"key":"configuration_method","value":"OMCI","description":"<p>(String) WAN configuration method. Allowed values are \"OMCI\", \"TR069\".</p>\n","type":"text"},{"key":"ip_protocol","value":"ipv4ipv6","description":"<p>(String) IP protocol. Allowed values are \"ipv4\", ipv4ipv6\".</p>\n","type":"text"},{"key":"ipv6_address_mode","value":"None","description":"<p>(String) IPv6 address mode. Allowed values are \"DHCPv6\", \"Auto\", \"Static\", \"None\"</p>\n","type":"text"},{"key":"ipv6_address","value":"","description":"<p>(String) IPv6 address</p>\n","type":"text"},{"key":"ipv6_gateway","value":"","description":"<p>(String) IPv6 gateway</p>\n","type":"text"},{"key":"ipv6_prefix_delegation_mode","value":"DHCPv6-PD","description":"<p>(String) IPv6 prefix. Allowed values are \"DHCPv6\", \"Static\", \"None\"</p>\n","type":"text"},{"key":"ipv6_prefix_address","value":"","description":"<p>(String) IPv6 prefix address</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_pppoe/{{onu_external_id}}","description":"<h2>Set ONU WAN mode to PPPoE for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU WAN mode was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no username, password was provided</li>\n<li>wrong username, password was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_onu_wan_mode_pppoe","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"ad550d0a-ea49-44eb-97a6-28e7cbae9b46","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user","type":"text"},{"key":"password","value":"pass","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_pppoe/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU WAN mode updated to PPPoE for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"641f3096-4d29-4cb5-bf32-5002ad2624c1","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user","type":"text"},{"key":"password","value":"pass","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_mode_pppoe/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"95a4bdb5-9ecc-4a25-816a-acbd483616e2"},{"name":"Set ONU WAN configuration method by ONU unique external ID","id":"8f510e57-8c26-4b6b-a1d8-e5b84cc1e766","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"configuration_method","value":"OMCI","description":"<p>(String) Configuration method. Allowed values are \"OMCI\", \"TR069\".</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_configuration_method/{{onu_external_id}}","description":"<h2>Set ONU WAN configuration method for a specified ONU unique external ID</h2>\n\n  \n<p>The request returns succesfully if the ONU WAN configuration method was updated successfully.<br />It returns a 400 error code when:  </p>\n<ul><li><p>no ONU external ID was provided</p></li><li><p>no ONU was found for the provided ONU external ID</p></li><li><p>OLT was unable to process the command</p></li><li><p>TR069 and Management IP are not enabled on the ONU</p></li></ul>","urlObject":{"protocol":"https","path":["api","onu","set_onu_wan_configuration_method","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"df01c4bd-8ea1-421e-9f16-162bdc359e20","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"configuration_method","value":"OMCI","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_configuration_method/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU WAN configuration method set to OMCI for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"48d2c247-509e-4417-b014-3c8912741eea","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_configuration_method/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"8f510e57-8c26-4b6b-a1d8-e5b84cc1e766"},{"name":"Set ONU WAN IP version by ONU unique external ID","id":"6cd624f0-f904-426b-a64c-29ac527d0f3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"configuration_method","value":"TR069","description":"<p>(String) Configuration method. Allowed values are \"OMCI\", \"TR069\".</p>\n","type":"text"},{"key":"ip_protocol","value":"ipv4ipv6","description":"<p>(String) IP protocol. Allowed values are \"ipv4\", ipv4ipv6\".</p>\n","type":"text"},{"key":"ipv6_address_mode","value":"None","description":"<p>(String) IPv6 address mode. Allowed values are \"DHCPv6\", \"Auto\", \"Static\", \"None\"</p>\n","type":"text"},{"key":"ipv6_address","value":"","description":"<p>(String) IPv6 address</p>\n","type":"text"},{"key":"ipv6_gateway","value":"","description":"<p>(String) IPv6 gateway</p>\n","type":"text"},{"key":"ipv6_prefix_delegation_mode","value":"DHCPv6-PD","description":"<p>(String) IPv6 prefix. Allowed values are \"DHCPv6\", \"Static\", \"None\"</p>\n","type":"text"},{"key":"ipv6_prefix_address","value":"","description":"<p>(String) IPv6 prefix address</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_ip_version/{{onu_external_id}}","description":"<h2>Set ONU WAN IP version for a specified ONU unique external ID</h2>\n\n<p>This method can be used to toggle between IPv4 and dual-stack IPv4/IPv6.</p>\n<p>The request returns succesfully if the ONU WAN IP version was updated successfully.<br />It returns a 400 error code when:</p>\n<ul><li><p>no ONU external ID was provided</p></li><li><p>no ONU was found for the provided ONU external ID</p></li><li><p>OLT was unable to process the command</p></li><li><p>TR069 and Management IP are not enabled on the ONU</p></li></ul>","urlObject":{"protocol":"https","path":["api","onu","set_onu_wan_ip_version","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"a34d5049-e30f-4f85-9999-ad6bb69d611a","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"configuration_method","value":"TR069","type":"text"},{"key":"ip_protocol","value":"ipv4ipv6","type":"text"},{"key":"ipv6_address_mode","value":"None","type":"text"},{"key":"ipv6_address","value":"","type":"text"},{"key":"ipv6_gateway","value":"","type":"text"},{"key":"ipv6_prefix_delegation_mode","value":"DHCPv6-PD","type":"text"},{"key":"ipv6_prefix_address","value":"","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_ip_version/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"ONU WAN IP version updated for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"2537be70-8e59-4024-aadb-53f88c00b452","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"configuration_method","value":"TR069","type":"text"},{"key":"ip_protocol","value":"ipv4ipv6","type":"text"},{"key":"ipv6_address_mode","value":"None","type":"text"},{"key":"ipv6_address","value":"","type":"text"},{"key":"ipv6_gateway","value":"","type":"text"},{"key":"ipv6_prefix_delegation_mode","value":"DHCPv6-PD","type":"text"},{"key":"ipv6_prefix_address","value":"","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_onu_wan_ip_version/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"403","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"6cd624f0-f904-426b-a64c-29ac527d0f3c"},{"name":"Update ONU max-mac-learn by ONU unique external ID","id":"cc75eea2-216d-4b40-b6be-febb0a0a059b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, Int) Enable max-mac-learn. Allowed values: 1 for enabling max-mac-learn, 0 for disabling max-mac-learn</p>\n","key":"enable_max_mac_learn","type":"text","value":"1"},{"key":"max_mac_learn","value":"5","description":"<p>(Int) Max MACs allowed</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_max_mac_learn/{{onu_external_id}}","description":"<h2>Update ONU max-mac-learn for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU max-mac-learn was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>Max-mac-learn feature was not enabled for this OLT</li>\n<li>no ONU max-mac-learn was provided</li>\n<li>wrong ONU max-mac-learn was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","update_max_mac_learn","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"283a3c90-7b67-4d94-b614-2f064f3430e7","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"enable_max_mac_learn","value":"1","type":"text"},{"key":"max_mac_learn","value":"5","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_max_mac_learn/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Max-mac-learn updated for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"6c696469-5da1-4bcd-a4d0-49b137035238","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"enable_max_mac_learn","value":"1","type":"text"},{"key":"max_mac_learn","value":"5","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_max_mac_learn/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"d51f3422-2a32-44e8-9956-fdacd32cf68d","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"enable_max_mac_learn","value":"1","type":"text"},{"key":"max_mac_learn","value":"all","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_max_mac_learn/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Max MACs allowed must be a number\"}"}],"_postman_id":"cc75eea2-216d-4b40-b6be-febb0a0a059b"},{"name":"Enable ONU IP DHCP-Snooping by ONU unique external ID","id":"c7c2cc12-2ce1-4774-a4e8-de0a88287891","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_ip_dhcp_snooping/{{onu_external_id}}","description":"<h2>Enable ONU IP DHCP-Snooping for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU IP DHCP-Snooping was enabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>IP DHCP-Snooping feature was not enabled for this OLT</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","enable_ip_dhcp_snooping","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"174e1cd4-1c65-44c6-97db-675e30c15173","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_ip_dhcp_snooping/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"IP DHCP-Snooping enabled for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"9317b39b-2fed-4e05-baa7-5d475f965395","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_ip_dhcp_snooping/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"c7c2cc12-2ce1-4774-a4e8-de0a88287891"},{"name":"Disable ONU IP DHCP-Snooping by ONU unique external ID","id":"6809d89b-2400-4bb2-bf17-8d3dce0ab3e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_ip_dhcp_snooping/{{onu_external_id}}","description":"<h2>Disable ONU IP DHCP-Snooping for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU IP DHCP-Snooping was disabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>IP DHCP-Snooping feature was not enabled for this OLT</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","disable_ip_dhcp_snooping","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"62876acf-b046-4748-bde8-55bb5ac56b5c","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_ip_dhcp_snooping/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"IP DHCP-Snooping disabled for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"65f06838-85b8-465f-8da8-e8d84892f68c","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_ip_dhcp_snooping/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"6809d89b-2400-4bb2-bf17-8d3dce0ab3e9"},{"name":"Enable ONU DHCP Option82 by ONU unique external ID","id":"7d77f62b-b621-4e13-a459-b1a29232f4c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_dhcp_option82/{{onu_external_id}}","description":"<h2>Enable ONU DHCP Option82 for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU DHCP Option82 was enabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>DHCP Option82 feature was not enabled for this OLT</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","enable_dhcp_option82","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"cc05bfcb-efd5-4806-bcc5-0da4f7650879","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_dhcp_option82/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"DHCP Option82 enabled for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"38df7fbe-08a6-4dc2-83cb-1e8f3d4074cf","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_dhcp_option82/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"7d77f62b-b621-4e13-a459-b1a29232f4c6"},{"name":"Disable ONU DHCP Option82 by ONU unique external ID","id":"87e2133a-58d9-43a5-aa99-d70f3bfe7d39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_dhcp_option82/{{onu_external_id}}","description":"<h2>Disable ONU DHCP Option82 for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU DHCP Option82 was disabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>DHCP Option82 feature was not enabled for this OLT</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","disable_dhcp_option82","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"0362a6a6-3aab-417c-8204-36e145474794","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_dhcp_option82/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"DHCP option82 disabled for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"9272be7a-8a3c-47b4-a7b3-c5bf459272f1","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_dhcp_option82/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"87e2133a-58d9-43a5-aa99-d70f3bfe7d39"},{"name":"Enable ONU DHCPv6 Option 18 by ONU unique external ID","id":"90e7724f-ee90-0e0a-8292-0e689649f6e3","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_dhcpv6_option18/{{onu_external_id}}","description":"<h2 id=\"enable-dhcpv6-option-18-for-a-specified-onu-unique-external-id\">Enable DHCPv6 Option 18 for a specified ONU unique external ID</h2>\n<p>DHCPv6 Option 18 (Interface-ID) is the IPv6 counterpart of DHCP Option 82. The OLT adds the ONU port identification to the DHCPv6 requests of the ONU. The DHCPv6 server must accept Relay-Forward messages (RFC 6221).</p>\n<p>It works on Huawei OLTs whose firmware supports it, on ZTE C300/C320 OLTs with firmware 2.x, and on ZTE C6xx OLTs. Some Huawei OLTs set DHCPv6 Option 18 for all their ONUs together, in the OLT advanced settings.</p>\n<p>On success, the response has <code>status</code> <code>true</code>, and DHCPv6 Option 18 is enabled for the ONU.</p>\n<p>It returns HTTP 400 when:</p>\n<ul>\n<li>no ONU was found for the provided ONU external ID;</li>\n<li>DHCPv6 Option 18 is not enabled in the OLT advanced settings (<code>error_code</code> <code>dhcpv6_option18_not_enabled_on_olt</code>);</li>\n<li>the OLT does not support DHCPv6 Option 18 (<code>error_code</code> <code>dhcpv6_option18_not_supported</code>);</li>\n<li>the OLT did not accept the command (<code>error_code</code> <code>olt_unable_to_process_command</code>).</li>\n</ul>\n<p>In the first three cases SmartOLT sends no command to the OLT.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not change the ONU.</p>\n<p>If another request changes this ONU at the same time, the request returns HTTP 409 with <code>error_code</code> <code>onu_busy</code>, and SmartOLT does not change the ONU. Send the request again later.</p>\n","urlObject":{"protocol":"https","path":["api","onu","enable_dhcpv6_option18","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"0a9432b1-30bc-4f8a-9058-6e9c1491a7ac","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_dhcpv6_option18/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"DHCPv6 Option 18 enabled for ONU with ONU external ID onu_unique_external_id\"\n}"},{"id":"9d30618a-242d-4a18-a57f-b3687fe2669e","name":"400 - Option 18 not enabled for this OLT","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_dhcpv6_option18/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: DHCPv6 Option 18 is not enabled in the advanced settings of this OLT.\",\n    \"error_code\": \"dhcpv6_option18_not_enabled_on_olt\"\n}"},{"id":"d9765814-5f31-424d-b14e-933765a905f7","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_dhcpv6_option18/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid API Key.\"\n}"}],"_postman_id":"90e7724f-ee90-0e0a-8292-0e689649f6e3"},{"name":"Disable ONU DHCPv6 Option 18 by ONU unique external ID","id":"b89908ea-e98a-764b-1047-2f43f6790c3c","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_dhcpv6_option18/{{onu_external_id}}","description":"<h2 id=\"disable-dhcpv6-option-18-for-a-specified-onu-unique-external-id\">Disable DHCPv6 Option 18 for a specified ONU unique external ID</h2>\n<p>DHCPv6 Option 18 (Interface-ID) is the IPv6 counterpart of DHCP Option 82. The OLT adds the ONU port identification to the DHCPv6 requests of the ONU. The DHCPv6 server must accept Relay-Forward messages (RFC 6221).</p>\n<p>It works on Huawei OLTs whose firmware supports it, on ZTE C300/C320 OLTs with firmware 2.x, and on ZTE C6xx OLTs. Some Huawei OLTs set DHCPv6 Option 18 for all their ONUs together, in the OLT advanced settings. On those OLTs, DHCPv6 Option 18 cannot be disabled for one ONU.</p>\n<p>On success, the response has <code>status</code> <code>true</code>, and DHCPv6 Option 18 is disabled for the ONU.</p>\n<p>It returns HTTP 400 when:</p>\n<ul>\n<li>no ONU was found for the provided ONU external ID;</li>\n<li>DHCPv6 Option 18 is not enabled in the OLT advanced settings (<code>error_code</code> <code>dhcpv6_option18_not_enabled_on_olt</code>);</li>\n<li>the OLT sets DHCPv6 Option 18 for all its ONUs together, so it cannot be disabled for one ONU (<code>error_code</code> <code>dhcpv6_option18_set_for_whole_olt</code>);</li>\n<li>the OLT did not accept the command (<code>error_code</code> <code>olt_unable_to_process_command</code>).</li>\n</ul>\n<p>In the first three cases SmartOLT sends no command to the OLT.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not change the ONU.</p>\n<p>If another request changes this ONU at the same time, the request returns HTTP 409 with <code>error_code</code> <code>onu_busy</code>, and SmartOLT does not change the ONU. Send the request again later.</p>\n","urlObject":{"protocol":"https","path":["api","onu","disable_dhcpv6_option18","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"7f5a3ca1-a94d-48c3-9b9d-a6cbec428319","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_dhcpv6_option18/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"DHCPv6 Option 18 disabled for ONU with ONU external ID onu_unique_external_id\"\n}"},{"id":"0a72352d-9f3c-4073-82ff-6eba29b8dd23","name":"400 - Option 18 not enabled for this OLT","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_dhcpv6_option18/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: DHCPv6 Option 18 is not enabled in the advanced settings of this OLT.\",\n    \"error_code\": \"dhcpv6_option18_not_enabled_on_olt\"\n}"},{"id":"d1d35605-9ce5-401d-879a-79e6689325f3","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_dhcpv6_option18/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid API Key.\"\n}"}],"_postman_id":"b89908ea-e98a-764b-1047-2f43f6790c3c"},{"name":"Enable ONU IP source-guard by ONU unique external ID","id":"381e59a7-47d1-42e2-a8c6-b9c19c1686c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_ip_source_guard/{{onu_external_id}}","description":"<h2>Enable ONU IP source-guard for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU IP source-guard was enabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>IP source-guard feature was not enabled for this OLT</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","enable_ip_source_guard","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"7e2b66e0-2e7b-4b2f-9158-7cd11ac0f909","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_ip_source_guard/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"IP source-guard enabled for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"8d3dda92-3cc5-452e-a741-55f214f3c060","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_ip_source_guard/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"381e59a7-47d1-42e2-a8c6-b9c19c1686c3"},{"name":"Disable ONU IP source-guard by ONU unique external ID","id":"c4dd3fd3-04fe-4c7e-8c5e-870fa2375113","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_ip_source_guard/{{onu_external_id}}","description":"<h2>Disable ONU IP source-guard for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU IP source-guard was disabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>IP source-guard feature was not enabled for this OLT</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","disable_ip_source_guard","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"4ddb7ac4-36b6-4343-bf3b-8d2d56fec66f","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_ip_source_guard/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"IP source-guard disabled for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"373d0d8b-39da-462a-8724-9eeca31f39ff","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_ip_source_guard/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"c4dd3fd3-04fe-4c7e-8c5e-870fa2375113"},{"name":"Enable ONU allow remote access to WAN IP by ONU unique external ID","id":"52b33c92-db78-4088-a344-250fd15513bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"allow_access_from","value":"everywhere","description":"<p>(String) Allowed values are 'everywhere' and 'acl'. Default value is 'everywhere'.</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_allow_remote_access_to_wan_ip/{{onu_external_id}}","description":"<h2>Enable ONU allow remote access to WAN IP for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU allow remote access to WAN IP was enabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>Allow remote access to WAN IP feature is not supported for this ONU/OLT</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","enable_allow_remote_access_to_wan_ip","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"1cdff567-8b45-4bae-bef8-113e9cec8f21","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_allow_remote_access_to_wan_ip/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Allow remote access to WAN IP enabled for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"a3718d0a-2a39-4c4e-b5a6-6f6a4e46d206","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_allow_remote_access_to_wan_ip/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"52b33c92-db78-4088-a344-250fd15513bd"},{"name":"Disable ONU allow remote access to WAN IP by ONU unique external ID","id":"5d8b5782-e942-4f8c-b6d5-bbfe19f10a73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_allow_remote_access_to_wan_ip/{{onu_external_id}}","description":"<h2>Disable ONU allow remote access to WAN IP for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU allow remote access to WAN IP was disabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>Allow remote access to WAN IP feature is not supported for this ONU/OLT</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","disable_allow_remote_access_to_wan_ip","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"17604d16-a6d7-44f4-8eae-c2d4d08518fc","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_allow_remote_access_to_wan_ip/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Allow remote access to WAN IP disabled for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"7c337284-5ef7-47cc-b1eb-055cfc152f53","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_allow_remote_access_to_wan_ip/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"5d8b5782-e942-4f8c-b6d5-bbfe19f10a73"},{"name":"Update ONU speed profiles by ONU unique external ID","id":"6b753440-3567-8644-bfed-045dbfe3f248","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"upload_speed_profile_name","value":"50M","description":"<p>(String) Upload speed profile name</p>\n","type":"text"},{"key":"download_speed_profile_name","value":"100M","description":"<p>(String) Download speed profile name</p>\n","type":"text"},{"key":"async","value":"1","description":"<p>(Integer) Send 1 to queue the work and return immediately. Send 0 or leave it out to run the work in the request. Default: 0</p>\n","type":"text","uuid":"52d525c5-fc0e-4686-a4cc-ac7cf8a7c1f2"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_speed_profiles/{{onu_external_id}}","description":"<h2>Update ONU upload and download speed profiles for a specified ONU unique external ID</h2>\n\n<p>At least one speed profile name must be provided. The profile names must be the ones defined in SmartOLT Speed Profiles section.</p>\n<p>The request returns succesfully if the profile names on the ONU were updated or the profiles names provided are the same as the ones already saved on the ONU.</p>\n<p>It returns a 400 error code when:</p>\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>no speed profile names were provided</div></li><li><div>no upload speed profile was found with the name provided</div></li><li><div>no download speed profile was found with the name provided</div></li><li><div>OLT was unable to process the command</div></li></ul>\n\n<h3>Asynchronous mode (<code>async=1</code>)</h3>\n\n<p>Send <code>async</code> = <code>1</code> to queue the work and return immediately. SmartOLT first does the same checks as in the normal mode. If a check fails, the request returns the same 400 error.</p>\n\n<p>If you do not send <code>async</code>, or you send <code>0</code>, the request works as described above.</p>\n\n<p>In asynchronous mode:</p>\n\n<ul><li><div>the response tells you that the action was <i>accepted</i>, not what the OLT did</div></li><li><div>the response contains <code>\"queued\": true</code></div></li><li><div>if the newest queued action for this ONU is the same action, the ONU is not queued again</div></li><li><div>the action is queued also when the speed profiles are the same as the ones saved on the ONU</div></li><li><div>SmartOLT runs all actions for one ONU in the order it received them</div></li><li><div>OLT errors are not returned in this response. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result</div></li><li><div>the call counts in the hourly budget for asynchronous calls, not in the normal hourly budget</div></li></ul>\n\n<h3>ONU with queued actions</h3>\n\n<p>If the ONU already has queued actions, a request without <code>async</code> is also queued. This keeps the actions in the order SmartOLT received them. The response then contains <code>\"queued\": true</code>. Do not mark the action as done when you see this field. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result.</p>\n\n<p>If another request changes this ONU at the same time, the request returns error 409 with <code>error_code</code> <code>onu_busy</code>. Send the request again later.</p>","urlObject":{"protocol":"https","path":["api","onu","update_onu_speed_profiles","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"a61d40b5-63ec-6238-7685-260d3305c703","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_speed_profiles/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":"504","body":"{\n    \"status\": true,\n    \"response\": \"Speed profiles updated for ONU with ONU external ID test\"\n}"},{"id":"5537dd28-0dc3-4901-8248-d044a1468928","name":"200 - OK (async=1)","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text"},{"key":"async","value":"1","type":"text","uuid":"ae16f074-2477-4f86-8d48-f708912c09b3"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_speed_profiles/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":""},{"key":"Connection","value":"Keep-Alive","description":""},{"key":"Content-Length","value":"90","description":""},{"key":"Content-Type","value":"application/json","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","description":""},{"key":"Pragma","value":"no-cache","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","description":""},{"key":"Status","value":"200","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":"504","body":"{\n    \"response\": \"The action was queued and is being processed.\",\n    \"response_code\": \"success\",\n    \"status\": true,\n    \"queued\": true\n}"},{"id":"ce7df653-f011-8f58-1720-98c883b4aa72","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_speed_profiles/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":"613","body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"45ba9f3b-34f4-09ac-fd6f-cdb90a8b5e2d","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"10M","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_speed_profiles/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":"487","body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"},{"id":"6ec8c07e-4a3d-596f-29b2-80000224ed0d","name":"400 - Specify at least one speed profile","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"upload_speed_profile_name","value":"50M","type":"text","disabled":true},{"key":"download_speed_profile_name","value":"100M","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_speed_profiles/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"93","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:59:59 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":"15","body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify at least one speed profile name\"}"},{"id":"82e92f85-440d-156b-1971-da756e1927a7","name":"400 - No download speed profile found","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100G","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_speed_profiles/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"101","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:02:10 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":"17","body":"{\"status\":false,\"error\":\"Invalid parameters: No download speed profile with the name 100G was found\"}"},{"id":"a0a1e4e1-0697-f091-c00c-65afbe46f78a","name":"400 - No upload speed profile found","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"upload_speed_profile_name","value":"50G","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_speed_profiles/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"98","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:01:33 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":"16","body":"{\"status\":false,\"error\":\"Invalid parameters: No upload speed profile with the name 50G was found\"}"},{"id":"a2b0d240-1e45-c88c-1fa4-e9e0de5738e7","name":"200 - Speed profiles are the same as saved on ONU","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_speed_profiles/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"123","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:03:43 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":"16","body":"{\n    \"status\": true,\n    \"response\": \"Provided speed profiles are the same with existing ones for ONU with ONU external ID test\"\n}"},{"id":"ec15af3a-3a0c-7376-2d95-f6714bdd9ab2","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_onu_speed_profiles/test7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":"19","body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"}],"_postman_id":"6b753440-3567-8644-bfed-045dbfe3f248"},{"name":"Update multiple ONUs speed profiles by ONU unique external IDs","id":"536e8e0e-82bb-4ce8-a1bf-ee8a845045ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","description":"<p>(Required, String) Comma separated list of ONU unique external IDs. A maximum of 50 ONU unique external IDs are allowed, or 10 000 when async is 1</p>\n","type":"text"},{"description":"<p>(String) Upload speed profile name</p>\n","key":"upload_speed_profile_name","type":"text","value":"50M"},{"description":"<p>(String) Download speed profile name</p>\n","key":"download_speed_profile_name","type":"text","value":"100M"},{"key":"async","value":"1","description":"<p>(Optional, Integer) Send 1 to queue the work and return immediately. Send 0 or leave it out to run the work in the request. Default: 0</p>\n","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_update_speed_profiles","description":"<h2>Update multiple ONUs upload and download speed profiles for a specified list of ONU unique external IDs</h2>\n\n<p>At least one speed profile name must be provided. The profile names must be the ones defined in SmartOLT Speed Profiles section.<br />The request returns succesfully if the profile names on the ONUs were updated or the profiles names provided are the same as the ones already saved on the ONUs.<br />It returns a 400 error code when:</p>\n\n<ul><li><div>another API call to the same method is already in progress</div></li><li><div>no ONU external IDs were provided</div></li><li><div>more than the maximum allowed number of ONUs were provided (A maximum of 50 ONU unique external IDs are allowed, or 10 000 when <code>async</code> is <code>1</code>)</div></li><li><div>no speed profile names were provided</div></li><li><div>no upload speed profile was found with the name provided</div></li><li><div>no download speed profile was found with the name provided</div></li><li><div>OLT was unable to process the command</div></li></ul>\n\n<h3>Asynchronous mode (<code>async=1</code>)</h3>\n\n<p>Send <code>async</code> = <code>1</code> to queue the work as a batch action. The request returns immediately. The response tells you which ONUs were <i>accepted</i>, not what the OLT did.</p>\n\n<p>If you do not send <code>async</code>, or you send <code>0</code>, the request works as described above.</p>\n\n<p>In asynchronous mode:</p>\n\n<ul><li><div>a maximum of 10 000 ONU unique external IDs are allowed</div></li><li><div>accepted ONUs report that the action was queued and is being processed</div></li><li><div>an ONU that already has the same action queued is not queued twice</div></li><li><div>duplicate IDs in one call are collapsed</div></li><li><div>every other ONU carries the reason it was skipped: ONU not found, or subscription expired</div></li><li><div>OLT errors are not returned in this response. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result for each ONU</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","bulk_update_speed_profiles"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"7e8a72ee-479f-40a1-a5ac-a4c621826494","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"},{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_update_speed_profiles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":""},{"key":"Connection","value":"Keep-Alive","description":""},{"key":"Content-Length","value":"90","description":""},{"key":"Content-Type","value":"application/json","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","description":""},{"key":"Pragma","value":"no-cache","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","description":""},{"key":"Status","value":"200","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\":  {\n    \t\"test\": \"Speed profiles updated for ONU with ONU external ID test\",\n    \t\"test1\": \"Speed profiles updated for ONU with ONU external ID test1\"\n    }\n}"},{"id":"c0f87556-d733-43d1-b6a4-064fae140883","name":"200 - OK (async=1)","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"ONU001,ONU002,NOSUCHONU","type":"text"},{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text"},{"key":"async","value":"1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_update_speed_profiles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"ONU001\": \"The action was queued and is being processed.\",\n        \"ONU002\": \"The same action is already queued for this ONU.\",\n        \"NOSUCHONU\": \"ONU not found\"\n    },\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"9ae882ac-d096-42f3-a72a-a43bf577ad3a","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"},{"key":"upload_speed_profile_name","value":"50M","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_update_speed_profiles"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"065480ad-9818-4b89-8243-6659c6ffddba","name":"400 - Specify at least one speed profile","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_update_speed_profiles"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"93","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:59:59 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify at least one speed profile name\"}"},{"id":"9e1b5379-3820-4057-b356-29bcb70d4a99","name":"400 - No download speed profile found","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"},{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100G","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_update_speed_profiles"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"101","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:02:10 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: No download speed profile with the name 100G was found\"}"},{"id":"9c1b1cf5-52be-4ab5-8b5f-f9abf20cd6cb","name":"400 - No upload speed profile found","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"},{"key":"upload_speed_profile_name","value":"50G","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_update_speed_profiles"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"98","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:01:33 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: No upload speed profile with the name 50G was found\"}"}],"_postman_id":"536e8e0e-82bb-4ce8-a1bf-ee8a845045ee"},{"name":"Update ONU service port by ONU unique external ID","id":"b9325fdc-75b7-4c47-a631-ce9e06a3cc9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"service_port","value":"3","description":"<p>(Required, String) ONU service port</p>\n","type":"text"},{"description":"<p>(Int) ONU CVLAN-ID</p>\n","key":"cvlan","type":"text","value":"101"},{"description":"<p>(Int) ONU SVLAN-ID</p>\n","key":"svlan","type":"text","value":"102"},{"description":"<p>(String) Tag-transform mode. Allowed values: default, translate, translate-and-add</p>\n","key":"tag_transform_mode","type":"text","value":"translate"},{"description":"<p>(Int) Use \"other-all\" TLS VLAN. Allowed values: 0, 1</p>\n","key":"use_other_all_tls_vlan","type":"text","value":"1"},{"description":"<p>(Int) ONU VLAN-ID</p>\n","key":"vlan","type":"text","value":"100"},{"key":"upload_speed_profile_name","value":"50M","description":"<p>(String) Upload speed profile name</p>\n","type":"text"},{"key":"download_speed_profile_name","value":"100M","description":"<p>(String) Download speed profile name</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_service_port/{{onu_external_id}}","description":"<h2>Update ONU service port for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU service port was updated successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no service port was provided</li>\n<li>wrong service port was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","update_service_port","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"f34a62f7-f795-4ac6-9d60-0dce886e7cd7","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"service_port","value":"3","type":"text"},{"key":"vlan","value":"100","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_service_port/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"Service-port ID 3 updated for ONU with ONU external ID test\"\n}"},{"id":"408e8074-fb4b-41ee-a722-4faf0985668c","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"service_port","value":"3","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_service_port/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"89996b57-60ed-40ab-8b55-a6966cf980f5","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_service_port/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU Service-port ID\"}"}],"_postman_id":"b9325fdc-75b7-4c47-a631-ce9e06a3cc9a"},{"name":"Set ONU ethernet port mode to LAN by ONU unique external ID","id":"1d8dfed1-1919-436a-9bd4-83965129f8c5","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU ethernet port</p>\n","key":"ethernet_port","type":"text","value":"eth_0/1"},{"key":"dhcp","value":"No control","description":"<p>(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_lan/{{onu_external_id}}","description":"<h2>Set ONU ethernet port mode to LAN for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU ethernet port mode was set to LAN successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no ethernet port was provided</li>\n<li>wrong ethernet port was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_ethernet_port_lan","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"08c013eb-a7fb-4544-b66b-8c4865581f25","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_lan/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"eth_0/1 mode set to LAN for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"10ffab82-7fd3-4ba4-a0d9-994920b3e38b","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_lan/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"ef779ac9-c7b6-452d-94e5-38b5c1203dcc","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","type":"text","disabled":true},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_lan/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU ethernet port\"}"}],"_postman_id":"1d8dfed1-1919-436a-9bd4-83965129f8c5"},{"name":"Set ONU ethernet port mode to IPTV by ONU unique external ID","id":"ec14b5c4-d390-48af-9f60-22709b86dd4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU ethernet port</p>\n","key":"ethernet_port","type":"text","value":"eth_0/1"},{"description":"<p>(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","key":"dhcp","type":"text","value":"No control"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_iptv/{{onu_external_id}}","description":"<h2>Set ONU ethernet port mode to IPTV for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU ethernet port mode was set to IPTV successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no ethernet port was provided</li>\n<li>wrong ethernet port was provided</li>\n<li>IPTV is not enabled on the ONU</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_ethernet_port_iptv","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"a5a031b1-8dec-4aac-b1fb-8848128d7a8d","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_iptv/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"eth_0/1 mode set to IPTV for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"2a8b6971-dc0d-4595-a3ac-b43cc8371020","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_iptv/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"bd0753df-0697-4223-8733-890be88ea85e","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","type":"text","disabled":true},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_iptv/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU ethernet port\"}"}],"_postman_id":"ec14b5c4-d390-48af-9f60-22709b86dd4d"},{"name":"Set ONU ethernet port mode to Access by ONU unique external ID","id":"cc39f5b2-29c6-471f-a649-1ea4a684ce07","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU ethernet port</p>\n","key":"ethernet_port","type":"text","value":"eth_0/1"},{"key":"vlan","value":"10","description":"<p>(Required, Int) Ethernet port VLAN-ID</p>\n","type":"text"},{"description":"<p>(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","key":"dhcp","type":"text","value":"No control"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_access/{{onu_external_id}}","description":"<h2>Set ONU ethernet port mode to Access for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU ethernet port mode was set to Access successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no ethernet port was provided</li>\n<li>wrong ethernet port was provided</li>\n<li>no VLAN-ID was provided</li>\n<li>the VLAN-ID is not in the ONU attached VLANs list</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_ethernet_port_access","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"feaa8f3d-0b73-4c05-bd78-c94137edc03c","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"vlan","value":"10","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_access/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"eth_0/1 mode set to Access for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"5d0b04e5-75f4-4e21-a250-66bc43109479","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","type":"text","disabled":true},{"key":"vlan","value":"10","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_access/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU ethernet port\"}"},{"id":"841fb4ef-d3da-4427-8683-d600f36165a0","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"vlan","value":"10","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_access/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"cc39f5b2-29c6-471f-a649-1ea4a684ce07"},{"name":"Set ONU ethernet port mode to Hybrid by ONU unique external ID","id":"ab1c9d33-d85d-4308-9431-de2d20e69ac4","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU ethernet port</p>\n","key":"ethernet_port","type":"text","value":"eth_0/1"},{"description":"<p>(Required, Int) Ethernet port VLAN-ID</p>\n","key":"vlan","type":"text","value":"10"},{"key":"allowed_vlans","value":"20,33","description":"<p>(Required, String) Ethernet port allowed VLANs, comma separated. The VLANs list can contain only digits and the comma (,) character</p>\n","type":"text"},{"description":"<p>(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","key":"dhcp","type":"text","value":"No control"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_hybrid/{{onu_external_id}}","description":"<h2>Set ONU ethernet port mode to Hybrid for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU ethernet port mode was set to Hybrid successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no ethernet port was provided</li>\n<li>wrong ethernet port was provided</li>\n<li>no VLAN-ID was provided</li>\n<li>the VLAN-ID is not in the ONU attached VLANs list</li>\n<li>no Allowed VLANs were provided</li>\n<li>the Allowed VLANs list is in the wrong format</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_ethernet_port_hybrid","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"3cf04cab-d9fd-42c4-ab3b-9e169dd59bad","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"vlan","value":"10","type":"text"},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_hybrid/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"eth_0/1 mode set to Hybrid for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"18fd52f3-53ee-4230-aa6b-880dbb79d1c1","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","type":"text","disabled":true},{"key":"vlan","value":"10","type":"text"},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_hybrid/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU ethernet port\"}"},{"id":"53b8ae71-2d73-4147-b864-bede8965db78","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"vlan","value":"10","type":"text"},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_hybrid/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"ab1c9d33-d85d-4308-9431-de2d20e69ac4"},{"name":"Set ONU ethernet port mode to Trunk by ONU unique external ID","id":"8008085e-84d1-4d3f-bfb8-dd1d003c142e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU ethernet port</p>\n","key":"ethernet_port","type":"text","value":"eth_0/1"},{"description":"<p>(Required, String) Ethernet port allowed VLANs, comma separated. The VLANs list can contain only digits and the comma (,) character</p>\n","key":"allowed_vlans","type":"text","value":"20,33"},{"description":"<p>(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","key":"dhcp","type":"text","value":"No control"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_trunk/{{onu_external_id}}","description":"<h2>Set ONU ethernet port mode to Trunk for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU ethernet port mode was set to Trunk successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no ethernet port was provided</li>\n<li>wrong ethernet port was provided</li>\n<li>no Allowed VLANs were provided</li>\n<li>the Allowed VLANs list is in the wrong format</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_ethernet_port_trunk","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"0d6dc871-c942-4565-a222-f766250e8a6d","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_trunk/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"eth_0/1 mode set to Trunk for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"5351f16c-3015-4d28-a336-f493957b8460","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","type":"text","disabled":true},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_trunk/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU ethernet port\"}"},{"id":"b28eaf48-9e89-4342-bbf7-0b1082336d27","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_trunk/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"8008085e-84d1-4d3f-bfb8-dd1d003c142e"},{"name":"Set ONU ethernet port mode to Transparent by ONU unique external ID","id":"be835312-92e4-4a89-b751-0fab05f542d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU ethernet port</p>\n","key":"ethernet_port","type":"text","value":"eth_0/1"},{"description":"<p>(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","key":"dhcp","type":"text","value":"No control"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_transparent/{{onu_external_id}}","description":"<h2>Set ONU ethernet port mode to Transparent for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU ethernet port mode was set to Transparent successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no ethernet port was provided</li>\n<li>wrong ethernet port was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_ethernet_port_transparent","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"a2af58c6-68d4-4690-b06c-949547b65a2b","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_transparent/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"eth_0/1 mode set to Transparent for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"571c4b39-ba71-493f-92c2-7055c460f868","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","type":"text","disabled":true},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_transparent/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU ethernet port\"}"},{"id":"c77577d0-3a9e-4851-86b6-ef5ef252d780","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"},{"key":"dhcp","value":"No control","description":"(String)  Ethernet port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden ","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_ethernet_port_transparent/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"be835312-92e4-4a89-b751-0fab05f542d4"},{"name":"Shutdown ONU ethernet port by ONU unique external ID","id":"a30246b6-7236-474a-8889-3af85f9f36d3","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU ethernet port</p>\n","key":"ethernet_port","type":"text","value":"eth_0/1"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/shutdown_ethernet_port/{{onu_external_id}}","description":"<h2>Shutdown ONU ethernet port for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU ethernet port was shutdown successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no ethernet port was provided</li>\n<li>wrong ethernet port was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","shutdown_ethernet_port","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"852833cb-5af3-41c7-a10b-9380fefdb0ef","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/shutdown_ethernet_port/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"eth_0/1 port shutdown for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"45057c89-8a47-4215-b2db-3f143db490c8","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","description":"(Required, String) ONU ethernet port","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/shutdown_ethernet_port/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"8c48fbf3-7aa5-42c2-bf44-a0c28b2b59f5","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"ethernet_port","value":"eth_0/1","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/shutdown_ethernet_port/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU ethernet port\"}"}],"_postman_id":"a30246b6-7236-474a-8889-3af85f9f36d3"},{"name":"Set ONU WiFi port mode to LAN by ONU unique external ID","id":"a41dbe8e-fc8c-478d-ad1b-adbe5ff6a34a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU WiFi port</p>\n","key":"wifi_port","type":"text","value":"wifi_0/1"},{"description":"<p>(String)  WiFi port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","key":"dhcp","type":"text","value":"No control"},{"description":"<p>(String) WiFi port SSID</p>\n","key":"ssid","type":"text","value":"test"},{"description":"<p>(String) WiFi port password</p>\n","key":"password","type":"text","value":"testpass"},{"description":"<p>(String) WiFi port authentication mode. Allowed values: WPA2, Open-system</p>\n","key":"authentication_mode","type":"text","value":"WPA2"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_lan/{{onu_external_id}}","description":"<h2>Set ONU WiFi port mode to LAN for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU WiFi port mode was set to LAN successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no WiFi port was provided</li>\n<li>wrong WiFi port was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_wifi_port_lan","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"712a8144-ce3c-45c6-976b-a68c969758fe","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_lan/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"wifi_0/1 mode set to LAN for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"86b567f3-4d35-4f97-b5cb-f0b07e2cd353","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"dhcp","value":"No control","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_lan/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU WiFi port\"}"},{"id":"a3d94c87-6984-4e6c-a487-848e00c4cb6f","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_lan/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"a41dbe8e-fc8c-478d-ad1b-adbe5ff6a34a"},{"name":"Set ONU WiFi port mode to IPTV by ONU unique external ID","id":"5261402b-cf31-4d70-bb86-f9aac3d76282","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU WiFi port</p>\n","key":"wifi_port","type":"text","value":"wifi_0/1"},{"description":"<p>(String)  WiFi port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","key":"dhcp","type":"text","value":"No control"},{"description":"<p>(String) WiFi port SSID</p>\n","key":"ssid","type":"text","value":"test"},{"description":"<p>(String) WiFi port password</p>\n","key":"password","type":"text","value":"testpass"},{"description":"<p>(String) WiFi port authentication mode. Allowed values: WPA2, Open-system</p>\n","key":"authentication_mode","type":"text","value":"WPA2"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_iptv/{{onu_external_id}}","description":"<h2>Set ONU WiFi port mode to IPTV for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU WiFi port mode was set to IPTV successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no WiFi port was provided</li>\n<li>wrong WiFi port was provided</li>\n<li>IPTV is not enabled on the ONU</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_wifi_port_iptv","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"e1c80e91-b148-497e-ad93-24ad53a9f535","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_iptv/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"wifi_0/1 mode set to IPTV for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"19fb4ebc-8552-4760-8f92-7c4ccc405f9d","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"dhcp","value":"No control","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_iptv/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU WiFi port\"}"},{"id":"a0a2e89b-4f2f-4d7d-9243-e812bdc69319","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_iptv/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"5261402b-cf31-4d70-bb86-f9aac3d76282"},{"name":"Set ONU WiFi port mode to Access by ONU unique external ID","id":"9f00d7b7-f403-4f78-93de-85f0e051a45e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU WiFi port</p>\n","key":"wifi_port","type":"text","value":"wifi_0/1"},{"description":"<p>(Required, Int) WiFi port VLAN-ID</p>\n","key":"vlan","type":"text","value":"10"},{"description":"<p>(String)  WiFi port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","key":"dhcp","type":"text","value":"No control"},{"key":"ssid","value":"test","description":"<p>(String) WiFi port SSID</p>\n","type":"text"},{"key":"password","value":"testpass","description":"<p>(String) WiFi port password</p>\n","type":"text"},{"key":"authentication_mode","value":"WPA2","description":"<p>(String) WiFi port authentication mode. Allowed values: WPA2, Open-system</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_access/{{onu_external_id}}","description":"<h2>Set ONU WiFi port mode to Access for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU WiFi port mode was set to Access successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no WiFi port was provided</li>\n<li>wrong WiFi port was provided</li>\n<li>no VLAN-ID was provided</li>\n<li>the VLAN-ID is not in the ONU attached VLANs list</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_wifi_port_access","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"02b75d9f-41d2-4c7f-b9a4-4d685c0954da","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"vlan","value":"10","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_access/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"wifi_0/1 mode set to Access for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"6a640082-422d-48b0-86e5-87675d6b1bd0","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"10","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_access/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU WiFi port\"}"},{"id":"fb0e4ad9-e5a6-46f0-883b-26c648f3a6d0","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"vlan","value":"10","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_access/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"9f00d7b7-f403-4f78-93de-85f0e051a45e"},{"name":"Set ONU WiFi port mode to Hybrid by ONU unique external ID","id":"a01fba7a-e77b-406e-bdf8-b52b53fe6e1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU WiFi port</p>\n","key":"wifi_port","type":"text","value":"wifi_0/1"},{"description":"<p>(Required, Int) WiFi port VLAN-ID</p>\n","key":"vlan","type":"text","value":"10"},{"description":"<p>(Required, String) WiFi port allowed VLANs, comma separated. The VLANs list can contain only digits and the comma (,) character</p>\n","key":"allowed_vlans","type":"text","value":"20,33"},{"description":"<p>(String)  WiFi port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","key":"dhcp","type":"text","value":"No control"},{"key":"ssid","value":"test","description":"<p>(String) WiFi port SSID</p>\n","type":"text"},{"key":"password","value":"testpass","description":"<p>(String) WiFi port password</p>\n","type":"text"},{"key":"authentication_mode","value":"WPA2","description":"<p>(String) WiFi port authentication mode. Allowed values: WPA2, Open-system</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_hybrid/{{onu_external_id}}","description":"<h2>Set ONU WiFi port mode to Hybrid for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU WiFi port mode was set to Hybrid successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no WiFi port was provided</li>\n<li>wrong WiFi port was provided</li>\n<li>no VLAN-ID was provided</li>\n<li>the VLAN-ID is not in the ONU attached VLANs list</li>\n<li>no Allowed VLANs were provided</li>\n<li>the Allowed VLANs list is in the wrong format</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_wifi_port_hybrid","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"d0cecaa0-67fd-4f44-b657-527fa265e20a","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"vlan","value":"10","type":"text"},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_hybrid/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"wifi_0/1 mode set to Hybrid for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"adb14576-7499-4a6b-ba13-ee9c0aab85ed","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"vlan","value":"10","type":"text"},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_hybrid/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"dd339a81-09d3-4893-aa43-d072df931d33","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"10","type":"text"},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_hybrid/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU WiFi port\"}"}],"_postman_id":"a01fba7a-e77b-406e-bdf8-b52b53fe6e1a"},{"name":"Set ONU WiFi port mode to Trunk by ONU unique external ID","id":"511c3b96-db84-4b63-86bc-bc215d7879e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU WiFi port</p>\n","key":"wifi_port","type":"text","value":"wifi_0/1"},{"description":"<p>(Required, String) WiFi port allowed VLANs, comma separated. The VLANs list can contain only digits and the comma (,) character</p>\n","key":"allowed_vlans","type":"text","value":"20,33"},{"description":"<p>(String)  WiFi port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","key":"dhcp","type":"text","value":"No control"},{"key":"ssid","value":"test","description":"<p>(String) WiFi port SSID</p>\n","type":"text"},{"key":"password","value":"testpass","description":"<p>(String) WiFi port password</p>\n","type":"text"},{"key":"authentication_mode","value":"WPA2","description":"<p>(String) WiFi port authentication mode. Allowed values: WPA2, Open-system</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_trunk/{{onu_external_id}}","description":"<h2>Set ONU WiFi port mode to Trunk for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU WiFi port mode was set to Trunk successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no WiFi port was provided</li>\n<li>wrong WiFi port was provided</li>\n<li>no Allowed VLANs were provided</li>\n<li>the Allowed VLANs list is in the wrong format</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_wifi_port_trunk","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"8191bb8d-ea6f-49e7-9f70-2a7d4fdd5ba6","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_trunk/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"wifi_0/1 mode set to Trunk for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"93f2ca0f-cee0-4614-a884-345708c963a7","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_trunk/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"db07a8ac-1336-495d-ac62-817b2d3f2875","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text","disabled":true},{"key":"allowed_vlans","value":"20,33","type":"text"},{"key":"dhcp","value":"No control","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_trunk/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU WiFi port\"}"}],"_postman_id":"511c3b96-db84-4b63-86bc-bc215d7879e8"},{"name":"Set ONU WiFi port mode to Transparent by ONU unique external ID","id":"5aba1f46-016f-4732-b569-243636d795ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU WiFi port</p>\n","key":"wifi_port","type":"text","value":"wifi_0/1"},{"description":"<p>(String)  WiFi port DHCP. Allowed values: No control, From ISP, From ONU, Forbidden </p>\n","key":"dhcp","type":"text","value":"No control"},{"key":"ssid","value":"test","description":"<p>(String) WiFi port SSID</p>\n","type":"text"},{"key":"password","value":"testpass","description":"<p>(String) WiFi port password</p>\n","type":"text"},{"key":"authentication_mode","value":"WPA2","description":"<p>(String) WiFi port authentication mode. Allowed values: WPA2, Open-system</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_transparent/{{onu_external_id}}","description":"<h2>Set ONU WiFi port mode to Transparent for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU WiFi port mode was set to Transparent successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>no WiFi port was provided</li>\n<li>wrong WiFi port was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","set_wifi_port_transparent","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"13ec98a8-e0a9-4070-b237-c3658e7cdf50","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_transparent/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"wifi_0/1 mode set to Transparent for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"cd3394b0-8ba0-4c95-918e-879b7e5dd6b2","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_transparent/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU WiFi port\"}"},{"id":"d9f6b477-891e-4509-8738-ad24c5fd455e","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"},{"key":"dhcp","value":"No control","type":"text"},{"key":"ssid","value":"test","type":"text"},{"key":"password","value":"testpass","type":"text"},{"key":"authentication_mode","value":"WPA2","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/set_wifi_port_transparent/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"5aba1f46-016f-4732-b569-243636d795ce"},{"name":"Shutdown ONU WiFi port by ONU unique external ID","id":"6eb0837b-29a4-4d14-bf73-aa22390f0bda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) ONU WiFi port</p>\n","key":"wifi_port","type":"text","value":"wifi_0/1"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/shutdown_wifi_port/{{onu_external_id}}","description":"<h2>Shutdown ONU WiFi port for a specified ONU unique external ID</h2>\n\n  \n<p>The request returns succesfully if the ONU WiFi port was shutdown successfully.<br />It returns a 400 error code when:  </p>\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>no WiFi port was provided</div></li><li><div>wrong WiFi port was provided</div></li><li><div>OLT was unable to process the command</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","shutdown_wifi_port","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"bd84bccb-dd02-4b7a-b300-3dd6159c624f","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"wifi_port","value":"wifi_0/1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/shutdown_wifi_port/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"wifi_0/1 WiFi port shutdown for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"226b61a2-7d68-4588-84cd-70f6a54383a1","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"wifi_port","value":"wifi_0/1"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/shutdown_wifi_port/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid API Key.\"\n}"},{"id":"4d39ae46-eb6c-45a0-aeee-633676b2a8ca","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/shutdown_wifi_port/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU WiFi port\"}"}],"_postman_id":"6eb0837b-29a4-4d14-bf73-aa22390f0bda"},{"name":"Change ONU web user and password by ONU unique external ID","id":"4788ebe8-ab04-4408-8df7-12602fdcfaf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(String) Web user. Can contain only alphanumeric characters. A minimum of 5 is required, a maximum of 16 characters is allowed.</p>\n","key":"web_user","type":"text","value":"test"},{"description":"<p>(String) Web password. Can contain only alphanumeric characters. A minimum of 8 is required, a maximum of 16 characters is allowed.</p>\n","key":"web_pass","type":"text","value":"testPass"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_web_user_pass/{{onu_external_id}}","description":"<h2 id=\"change-onu-web-user-and-password-for-a-specified-onu-unique-external-id\">Change ONU web user and password for a specified ONU unique external ID</h2>\n<p>The request returns succesfully if the ONU web user and password were changed successfully.</p>\n<p><strong>Important: The SmartOLT TR069 profile must be enabled for the ONU</strong></p>\n<p>It returns a 400 error code when:</p>\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>TR-069 is not enabled on this ONU, or its TR-069 profile is not integrated with SmartOLT (<code>error_code</code> <code>tr069_not_enabled_on_onu</code>)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","onu","change_web_user_pass","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"83e29a29-1562-4805-83c9-f618c9c0abd2","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"web_user","value":"test","type":"text","uuid":"33fa9a4f-06fc-462c-9235-d261338bfc3b"},{"key":"web_pass","value":"testPass","type":"text","uuid":"44db7098-41c8-46f5-801a-96de5a31c655"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_web_user_pass/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Status","value":"200","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"Web user pass changed for ONU with ONU external ID onu_unique_external_id\"}"},{"id":"e83d6d17-4806-4fd5-8879-c8b738f07026","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"web_user","value":"test","type":"text","uuid":"edd75d1a-8708-4f0c-8e01-f2351440b54e"},{"key":"web_pass","value":"testPass","type":"text","uuid":"aec22bb1-9186-4057-9cb3-fd5f3d5da57a"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/change_web_user_pass/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","description":"Custom header"},{"key":"Pragma","value":"no-cache","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","description":"an HTTP cookie"},{"key":"Status","value":"403","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"4788ebe8-ab04-4408-8df7-12602fdcfaf1"},{"name":"Enable ONU IPTV by ONU unique external ID","id":"b0933d72-422f-4c70-b75b-935adae22560","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, Int) IPTV VLAN-ID</p>\n","key":"vlan","type":"text","value":"100"},{"description":"<p>(Int) IPTV CVLAN-ID</p>\n","key":"cvlan","type":"text","value":"101"},{"description":"<p>(Int) IPTV SVLAN-ID</p>\n","key":"svlan","type":"text","value":"102"},{"description":"<p>(String) Tag-transform mode. Allowed values: default, translate, translate-and-add</p>\n","key":"tag_transform_mode","type":"text","value":"translate"},{"key":"upload_speed_profile_name","value":"50M","description":"<p>(String) IPTV upload speed profile name</p>\n","type":"text"},{"key":"download_speed_profile_name","value":"100M","description":"<p>(String) IPTV upload speed profile name</p>\n","type":"text"},{"key":"allowed_macs","value":"","description":"<p>(String) Allowed MACs, separated by comma</p>\n","type":"text"},{"key":"filtered_macs","value":"","description":"<p>(String) Filtered MACs, separated by comma</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_iptv/{{onu_external_id}}","description":"<h2>Enable ONU IPTV for a specified ONU unique external ID</h2> \nThe request returns succesfully if ONU IPTV was enabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>IPTV module not enabled on OLT</li>\n<li>no IPTV VLAN-ID was provided</li>\n<li>no IPTV upload speed profile was provided</li>\n<li>no IPTV download speed profile was provided</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","enable_iptv","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"b200fa3d-7af7-442f-b2d6-767266e7a063","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"100","type":"text"},{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_iptv/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"52","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:14:14 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"200","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:11:13 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"df567335530ea305121d3171c3357f9b97bd27dc","key":"ci_session"}],"responseTime":null,"body":"{\"status\":true,\"response\":\"IPTV enabled\"}"},{"id":"5ac6c44c-8432-415f-b2b9-41b95a1abfa9","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"vlan","value":"100","type":"text"},{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_iptv/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"43","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:16:40 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Set-Cookie","value":"ci_session=d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd; expires=Tue, 20-Mar-2018 19:16:41 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Status","value":"403","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"a47d1a42-8478-4419-bfee-500bc317af73","name":"400 - Invalid parameters","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[{"key":"upload_speed_profile_name","value":"50M","type":"text"},{"key":"download_speed_profile_name","value":"100M","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_iptv/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"close","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"72","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Tue, 20 Mar 2018 17:17:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":"A name for the server"},{"key":"Status","value":"400","name":"Status","description":"Custom header"}],"cookie":[{"expires":"Tue Mar 20 2018 19:16:40 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"d3b4a3f4ee9afcf083af8ee0a187ad87dd6666dd","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: Please specify the ONU IPTV VLAN-ID\"}"}],"_postman_id":"b0933d72-422f-4c70-b75b-935adae22560"},{"name":"Disable ONU IPTV by ONU unique external ID","id":"c2f0e3a4-f62a-4269-bb6d-79c40afea929","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_iptv/{{onu_external_id}}","description":"<h2>Disable ONU IPTV for a specified ONU unique external ID</h2> \nThe request returns succesfully if ONU IPTV was disabled successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>IPTV module not enabled on OLT</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","disable_iptv","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"638de7c9-0c00-4a41-b260-cd37543823ce","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_iptv/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"IPTV disabled\"\n}"},{"id":"81ac9824-47cf-46dc-8573-095abfd4faf1","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_iptv/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"26d9136a-227c-4ffe-a362-38d867084147","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_iptv/test7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"},{"id":"c0df0252-1016-4e00-ba7b-9e3db75a7709","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_iptv/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"}],"_postman_id":"c2f0e3a4-f62a-4269-bb6d-79c40afea929"},{"name":"Enable ONU CATV by ONU unique external ID","id":"b7a4be0a-daf3-4d7d-b819-99cb1515a1e7","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"async","value":"1","description":"<p>(Integer) Send 1 to queue the work and return immediately. Send 0 or leave it out to run the work in the request. Default: 0</p>\n","type":"text","uuid":"63f822cf-902b-43ef-95d9-18a53c9b823f"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_catv/{{onu_external_id}}","description":"<h2>Enable ONU CATV for a specified ONU unique external ID</h2>\n\n<p>The request returns succesfully if ONU CATV was enabled successfully.</p>\n<p>It returns a 400 error code when:</p>\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>CATV not supported by ONU-Type</div></li><li><div>OLT was unable to process the command</div></li></ul>\n\n<h3>Asynchronous mode (<code>async=1</code>)</h3>\n\n<p>Send <code>async</code> = <code>1</code> to queue the work and return immediately. SmartOLT first does the same checks as in the normal mode. If a check fails, the request returns the same 400 error.</p>\n\n<p>If you do not send <code>async</code>, or you send <code>0</code>, the request works as described above.</p>\n\n<p>In asynchronous mode:</p>\n\n<ul><li><div>the response tells you that the action was <i>accepted</i>, not what the OLT did</div></li><li><div>the response contains <code>\"queued\": true</code></div></li><li><div>if the newest queued action for this ONU is the same action, the ONU is not queued again</div></li><li><div>SmartOLT runs all actions for one ONU in the order it received them</div></li><li><div>OLT errors are not returned in this response. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result</div></li><li><div>the call counts in the hourly budget for asynchronous calls, not in the normal hourly budget</div></li></ul>\n\n<h3>ONU with queued actions</h3>\n\n<p>If the ONU already has queued actions, a request without <code>async</code> is also queued. This keeps the actions in the order SmartOLT received them. The response then contains <code>\"queued\": true</code>. Do not mark the action as done when you see this field. Use<a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a>to see the result.</p>\n\n<p>If another request changes this ONU at the same time, the request returns error 409 with <code>error_code</code> <code>onu_busy</code>. Send the request again later.</p>","urlObject":{"protocol":"https","path":["api","onu","enable_catv","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"7ecccef5-6e98-447d-b05c-8db9609c00a7","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_catv/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"CATV enabled\"\n}"},{"id":"b7c7290d-e775-4f8c-9bf5-c27041d97ffa","name":"200 - OK (async=1)","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"async","value":"1","type":"text","uuid":"75fd7f83-4100-4481-82ad-b440d910d8b0"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_catv/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":""},{"key":"Connection","value":"Keep-Alive","description":""},{"key":"Content-Length","value":"90","description":""},{"key":"Content-Type","value":"application/json","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","description":""},{"key":"Pragma","value":"no-cache","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","description":""},{"key":"Status","value":"200","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"response\": \"The action was queued and is being processed.\",\n    \"response_code\": \"success\",\n    \"status\": true,\n    \"queued\": true\n}"},{"id":"e69a443f-bc5a-4483-9553-d19887d7f7d8","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_catv/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"525bb29a-c4f4-451d-94b1-556b45d7c90d","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_catv/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"},{"id":"89a84631-4ed6-4525-ad3f-c2374aa6e188","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable_catv/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"}],"_postman_id":"b7a4be0a-daf3-4d7d-b819-99cb1515a1e7"},{"name":"Enable multiple ONUs CATV by ONU unique external IDs","id":"3a5bd9ce-a30c-49ab-9012-98d763b58c9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) Comma separated list of ONU unique external IDs. A maximum of 50 ONU unique external IDs are allowed, or 10 000 when async is 1</p>\n","key":"onus_external_ids","type":"text","value":"test,test1"},{"key":"async","value":"1","description":"<p>(Optional, Integer) Send 1 to queue the work and return immediately. Send 0 or leave it out to run the work in the request. Default: 0</p>\n","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_enable_catv","description":"<h2>Enable multiple ONUs CATV by ONU unique external IDs</h2>\n\n<p>The request returns succesfully if ONUs CATV were enabled successfully.</p>\n\n<p>It returns a 400 error code when:</p>\n\n<ul><li><div>another API call to the same method is already in progress</div></li><li><div>no ONU external IDs were provided</div></li><li><div>more than the maximum allowed number of ONUs were provided (A maximum of 50 ONU unique external IDs are allowed, or 10 000 when <code>async</code> is <code>1</code>)</div></li><li><div>OLT was unable to process the command</div></li></ul>\n\n<h3>Asynchronous mode (<code>async=1</code>)</h3>\n\n<p>Send <code>async</code> = <code>1</code> to queue the work as a batch action. The request returns immediately. The response tells you which ONUs were <i>accepted</i>, not what the OLT did.</p>\n\n<p>If you do not send <code>async</code>, or you send <code>0</code>, the request works as described above.</p>\n\n<p>In asynchronous mode:</p>\n\n<ul><li><div>a maximum of 10 000 ONU unique external IDs are allowed</div></li><li><div>accepted ONUs report that the action was queued and is being processed</div></li><li><div>an ONU that already has the same action queued is not queued twice</div></li><li><div>duplicate IDs in one call are collapsed</div></li><li><div>every other ONU carries the reason it was skipped: ONU not found, or subscription expired, the ONU type does not support CATV, or the ONU has no ONU type. An ONU that already has CATV enabled is not queued and reports <code>ONU CATV enabled</code></div></li><li><div>OLT errors are not returned in this response. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result for each ONU</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","bulk_enable_catv"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"63e83e29-6c0d-42a1-90b2-392093374322","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_enable_catv"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":""},{"key":"Connection","value":"Keep-Alive","description":""},{"key":"Content-Length","value":"90","description":""},{"key":"Content-Type","value":"application/json","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","description":""},{"key":"Pragma","value":"no-cache","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","description":""},{"key":"Status","value":"200","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": {\n    \t\"test\": \"ONU test CATV enabled\",\n    \t\"test1\": \"ONU test1 CATV enabled\"\n    }\n}"},{"id":"0ed4cf14-16ab-4048-a387-b6100fc91a26","name":"200 - OK (async=1)","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"ONU001,ONU002,ONU003,ONU004","type":"text"},{"key":"async","value":"1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_enable_catv"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"ONU001\": \"The action was queued and is being processed.\",\n        \"ONU002\": \"The same action is already queued for this ONU.\",\n        \"ONU003\": \"ONU ONU003: CATV not supported by ONU-Type\",\n        \"ONU004\": \"ONU ONU004 CATV enabled\"\n    },\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"58433c5b-a69c-4daa-a6b6-21f8d26cd2a4","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_enable_catv"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"3a5bd9ce-a30c-49ab-9012-98d763b58c9e"},{"name":"Disable ONU CATV by ONU unique external ID","id":"21201bf3-37a6-455e-8703-96af40b0ee9e","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"async","value":"1","description":"<p>(Integer) Send 1 to queue the work and return immediately. Send 0 or leave it out to run the work in the request. Default: 0</p>\n","type":"text","uuid":"da7a4d72-7775-46a7-ae2d-facf1f817f58"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_catv/{{onu_external_id}}","description":"<h2>Disable ONU CATV for a specified ONU unique external ID</h2>\n\n<p>To maintain platform stability and fair resource usage for all users, heavy usage may be subject to rate limiting or even revocation of all access to the SmartOLT API.</p>\n\n<p>❗ <b>Restrictions****🚫 DO NOT use this endpoint for:</b></p>\n\n<ul><li><div>repeteadly disabling the same ONTs multiple times per week.<br /></div></li></ul>\n\n<p>The request returns succesfully if ONU CATV was disabled successfully.<br />It returns a 400 error code when:</p>\n\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>CATV not supported by ONU-Type</div></li><li><div>OLT was unable to process the command</div></li></ul>\n\n<h3>Asynchronous mode (<code>async=1</code>)</h3>\n\n<p>Send <code>async</code> = <code>1</code> to queue the work and return immediately. SmartOLT first does the same checks as in the normal mode. If a check fails, the request returns the same 400 error.</p>\n\n<p>If you do not send <code>async</code>, or you send <code>0</code>, the request works as described above.</p>\n\n<p>In asynchronous mode:</p>\n\n<ul><li><div>the response tells you that the action was <i>accepted</i>, not what the OLT did</div></li><li><div>the response contains <code>\"queued\": true</code></div></li><li><div>if the newest queued action for this ONU is the same action, the ONU is not queued again</div></li><li><div>SmartOLT runs all actions for one ONU in the order it received them</div></li><li><div>OLT errors are not returned in this response. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result</div></li><li><div>the call counts in the hourly budget for asynchronous calls, not in the normal hourly budget</div></li></ul>\n\n<h3>ONU with queued actions</h3>\n\n<p>If the ONU already has queued actions, a request without <code>async</code> is also queued. This keeps the actions in the order SmartOLT received them. The response then contains <code>\"queued\": true</code>. Do not mark the action as done when you see this field. Use<a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_status</a>to see the result.</p>\n\n<p>If another request changes this ONU at the same time, the request returns error 409 with <code>error_code</code> <code>onu_busy</code>. Send the request again later.</p>","urlObject":{"protocol":"https","path":["api","onu","disable_catv","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"f5c571cf-508f-4f17-a752-f0d686185c61","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_catv/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"CATV disabled\"\n}"},{"id":"7f357c40-2e27-4b8c-b315-ecccbb8de476","name":"200 - OK (async=1)","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"async","value":"1","type":"text","uuid":"f8c7b15b-039d-41d5-8ac2-9ff62018d6b1"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_catv/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":""},{"key":"Connection","value":"Keep-Alive","description":""},{"key":"Content-Length","value":"90","description":""},{"key":"Content-Type","value":"application/json","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","description":""},{"key":"Pragma","value":"no-cache","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","description":""},{"key":"Status","value":"200","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"response\": \"The action was queued and is being processed.\",\n    \"response_code\": \"success\",\n    \"status\": true,\n    \"queued\": true\n}"},{"id":"69de5ed2-c810-4c91-b25b-988fad6856c0","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_catv/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"d2f01407-0097-4d2e-8638-bc1ab9490760","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_catv/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"},{"id":"e42b0d55-769b-45ec-88a8-bc07037f9370","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable_catv/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"}],"_postman_id":"21201bf3-37a6-455e-8703-96af40b0ee9e"},{"name":"Disable multiple ONUs CATV by ONU unique external IDs","id":"4f3b2fab-ad08-4735-b64b-5dfbd06ba9b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) Comma separated list of ONU unique external IDs. A maximum of 50 ONU unique external IDs are allowed, or 10 000 when async is 1</p>\n","key":"onus_external_ids","type":"text","value":"test,test1"},{"key":"async","value":"1","description":"<p>(Optional, Integer) Send 1 to queue the work and return immediately. Send 0 or leave it out to run the work in the request. Default: 0</p>\n","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_disable_catv","description":"<h2>Disable multiple ONUs CATV by ONU unique external IDs</h2>\n\n<p>To maintain platform stability and fair resource usage for all users, heavy usage may be subject to rate limiting or even revocation of all access to the SmartOLT API.</p>\n\n<p>❗ <b>Restrictions****🚫 DO NOT use this endpoint for:</b></p>\n\n<p>repeteadly disabling the same ONTs multiple times per week.</p>\n\n<p>The request returns succesfully if ONUs CATV were disabled successfully.</p>\n\n<p>It returns a 400 error code when:</p>\n\n<ul><li><div>another API call to the same method is already in progress</div></li><li><div>no ONU external IDs were provided</div></li><li><div>more than the maximum allowed number of ONUs were provided (A maximum of 50 ONU unique external IDs are allowed, or 10 000 when <code>async</code> is <code>1</code>)</div></li><li><div>OLT was unable to process the command</div></li></ul>\n\n<h3>Asynchronous mode (<code>async=1</code>)</h3>\n\n<p>Send <code>async</code> = <code>1</code> to queue the work as a batch action. The request returns immediately. The response tells you which ONUs were <i>accepted</i>, not what the OLT did.</p>\n\n<p>If you do not send <code>async</code>, or you send <code>0</code>, the request works as described above.</p>\n\n<p>In asynchronous mode:</p>\n\n<ul><li><div>a maximum of 10 000 ONU unique external IDs are allowed</div></li><li><div>accepted ONUs report that the action was queued and is being processed</div></li><li><div>an ONU that already has the same action queued is not queued twice</div></li><li><div>duplicate IDs in one call are collapsed</div></li><li><div>every other ONU carries the reason it was skipped: ONU not found, or subscription expired, the ONU type does not support CATV, or the ONU has no ONU type</div></li><li><div>OLT errors are not returned in this response. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result for each ONU</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","bulk_disable_catv"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"b94b4c43-2307-4b22-aeb0-90b160b8528a","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_disable_catv"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":""},{"key":"Connection","value":"Keep-Alive","description":""},{"key":"Content-Length","value":"90","description":""},{"key":"Content-Type","value":"application/json","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","description":""},{"key":"Pragma","value":"no-cache","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","description":""},{"key":"Status","value":"200","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": {\n    \t\"test\": \"ONU test CATV disabled\",\n    \t\"test1\": \"ONU test1 CATV disabled\"\n    }\n}"},{"id":"61b72f00-8a54-48e5-b0cc-25d59a534738","name":"200 - OK (async=1)","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"ONU001,ONU002,ONU003","type":"text"},{"key":"async","value":"1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_disable_catv"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"ONU001\": \"The action was queued and is being processed.\",\n        \"ONU002\": \"The same action is already queued for this ONU.\",\n        \"ONU003\": \"ONU ONU003: CATV not supported by ONU-Type\"\n    },\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"2c5fb3c6-a91f-4f37-b2bf-4eb01b7ff93a","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_disable_catv"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"4f3b2fab-ad08-4735-b64b-5dfbd06ba9b7"},{"name":"Reboot ONU by ONU unique external ID","id":"4f35a16a-59a1-43a8-b7be-987bf616a988","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/reboot/{{onu_external_id}}","description":"<h2>Reboot ONU for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU reboot command was sent successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","reboot","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"f6221cd1-ff5b-4986-b6df-a8efef6cb061","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/reboot/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"Device reboot command sent\"\n}"},{"id":"4d6d8d13-73ad-4b8e-99da-e7cbe8af2298","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/reboot/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"100f9bff-4ae9-461f-b57a-abcc2f5ca32f","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/reboot/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"},{"id":"e102d100-12ab-410f-bda0-fabe24a42330","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/reboot/test7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"}],"_postman_id":"4f35a16a-59a1-43a8-b7be-987bf616a988"},{"name":"Resync ONU config by ONU unique external ID","id":"49ed152e-7ff3-41d7-9304-bc5369b46074","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/resync_config/{{onu_external_id}}","description":"<h2>Resync ONU config for a specified ONU unique external ID</h2> \nThe request returns succesfully if the ONU config was resynced successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","resync_config","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"b8c7d479-ee8f-4b63-8441-2ea05e8def23","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/resync_config/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"Resync config successfully\"\n}"},{"id":"d0667728-bebf-416f-b56b-54bc1bc41c16","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/resync_config/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"07748241-c24f-45d8-adc9-d9c24da2a584","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/resync_config/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"},{"id":"2db49a82-b798-4c94-b008-dc04031a4f2f","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/resync_config/test7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"}],"_postman_id":"49ed152e-7ff3-41d7-9304-bc5369b46074"},{"name":"Restore ONU factory defaults by ONU unique external ID","id":"428ab628-12d3-4f5b-a99e-bad7b838ba09","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/restore_factory_defaults/{{onu_external_id}}","description":"<h2>Restore ONU factory defaults for a specified ONU unique external ID</h2> \nThe request returns succesfully if the restore ONU factory defaults command was sent successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","restore_factory_defaults","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"405576f3-2309-48b6-a5e0-7d1e047a84cb","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/restore_factory_defaults/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"Device restore defaults command sent\"\n}"},{"id":"9cda3bfc-c5c8-49b0-ada7-c19c4e86debd","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/restore_factory_defaults/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"279720d6-f382-4809-a220-9338da0eff8a","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/restore_factory_defaults/test7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"},{"id":"f7bd7977-6949-4d6e-bf43-3275f28adecd","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/restore_factory_defaults/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"}],"_postman_id":"428ab628-12d3-4f5b-a99e-bad7b838ba09"},{"name":"Disable ONU by ONU unique external ID","id":"22e14a03-1c8c-4335-8439-41ef87b0bc41","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"async","value":"1","description":"<p>(Integer) Send 1 to queue the work and return immediately. Send 0 or leave it out to run the work in the request. Default: 0</p>\n","type":"text","uuid":"da5f56a3-fdb2-4998-b7f5-d82675dad979"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable/{{onu_external_id}}","description":"<h2>Disable ONU for a specified ONU unique external ID</h2>\n\n<p>To maintain platform stability and fair resource usage for all users, heavy usage may be subject to rate limiting or even revocation of all access to the SmartOLT API.</p>\n\n<p>The request returns succesfully if ONU was disabled successfully.<br />It returns a 400 error code when:</p>\n\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>OLT was unable to process the command</div></li></ul>\n\n<h3>Asynchronous mode (<code>async=1</code>)</h3>\n\n<p>Send <code>async</code> = <code>1</code> to queue the work and return immediately. SmartOLT first does the same checks as in the normal mode. If a check fails, the request returns the same 400 error.</p>\n\n<p>If you do not send <code>async</code>, or you send <code>0</code>, the request works as described above.</p>\n\n<p>In asynchronous mode:</p>\n\n<ul><li><div>the response tells you that the action was <i>accepted</i>, not what the OLT did</div></li><li><div>the response contains <code>\"queued\": true</code></div></li><li><div>if the newest queued action for this ONU is the same action, the ONU is not queued again</div></li><li><div>SmartOLT runs all actions for one ONU in the order it received them</div></li><li><div>OLT errors are not returned in this response. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result</div></li><li><div>the call counts in the hourly budget for asynchronous calls, not in the normal hourly budget</div></li></ul>\n\n<h3>ONU with queued actions</h3>\n\n<p>If the ONU already has queued actions, a request without <code>async</code> is also queued. This keeps the actions in the order SmartOLT received them. The response then contains <code>\"queued\": true</code>. Do not mark the action as done when you see this field. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result.</p>\n\n<p>If another request changes this ONU at the same time, the request returns error 409 with <code>error_code</code> <code>onu_busy</code>. Send the request again later.</p>","urlObject":{"protocol":"https","path":["api","onu","disable","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"04a46554-b742-40ff-bef3-588ea733d435","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"ONU disabled\"\n}"},{"id":"c76e5d34-2116-4930-b758-18220d4b7f70","name":"200 - OK (async=1)","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"async","value":"1","type":"text","uuid":"d46d3a14-8f27-45d7-89c6-2a6a70d2ab0b"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":""},{"key":"Connection","value":"Keep-Alive","description":""},{"key":"Content-Length","value":"90","description":""},{"key":"Content-Type","value":"application/json","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","description":""},{"key":"Pragma","value":"no-cache","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","description":""},{"key":"Status","value":"200","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"response\": \"The action was queued and is being processed.\",\n    \"response_code\": \"success\",\n    \"status\": true,\n    \"queued\": true\n}"},{"id":"bab85f61-ff20-41ed-9542-8513635511d4","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"60d1a7b0-8429-422f-ad09-9dca5e3e5fe8","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"},{"id":"f15434e9-d30a-45b6-b01d-509512ac2d14","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/disable/test7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"}],"_postman_id":"22e14a03-1c8c-4335-8439-41ef87b0bc41"},{"name":"Disable multiple ONUs by ONU unique external IDs","id":"05f55ab8-6dbe-42b0-9f75-bcbeb170f0fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) Comma separated list of ONU unique external IDs. A maximum of 50 ONU unique external IDs are allowed, or 10 000 when async is 1</p>\n","key":"onus_external_ids","type":"text","value":"test,test1"},{"key":"async","value":"1","description":"<p>(Optional, Integer) Send 1 to queue the work and return immediately. Send 0 or leave it out to run the work in the request. Default: 0</p>\n","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_disable","description":"<h2>Disable multiple ONUs by ONU unique external IDs</h2>\n\n<p>To maintain platform stability and fair resource usage for all users, heavy usage may be subject to rate limiting or even revocation of all access to the SmartOLT API.</p>\n\n<p>The request returns succesfully if ONUs were disabled successfully.</p>\n\n<p>It returns a 400 error code when:</p>\n\n<ul><li><div>another API call to the same method is already in progress</div></li><li><div>no ONU external IDs were provided</div></li><li><div>more than the maximum allowed number of ONUs were provided (A maximum of 50 ONU unique external IDs are allowed, or 10 000 when <code>async</code> is <code>1</code>)</div></li><li><div>OLT was unable to process the command</div></li></ul>\n\n<h3>Asynchronous mode (<code>async=1</code>)</h3>\n\n<p>Send <code>async</code> = <code>1</code> to queue the work as a batch action. The request returns immediately. The response tells you which ONUs were <i>accepted</i>, not what the OLT did.</p>\n\n<p>If you do not send <code>async</code>, or you send <code>0</code>, the request works as described above.</p>\n\n<p>In asynchronous mode:</p>\n\n<ul><li><div>a maximum of 10 000 ONU unique external IDs are allowed</div></li><li><div>accepted ONUs report that the action was queued and is being processed</div></li><li><div>an ONU that already has the same action queued is not queued twice</div></li><li><div>duplicate IDs in one call are collapsed</div></li><li><div>every other ONU carries the reason it was skipped: ONU not found, or subscription expired</div></li><li><div>OLT errors are not returned in this response. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result for each ONU</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","bulk_disable"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"cd2ed1c4-93d0-4521-9723-75500c309616","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_disable"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":""},{"key":"Connection","value":"Keep-Alive","description":""},{"key":"Content-Length","value":"90","description":""},{"key":"Content-Type","value":"application/json","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","description":""},{"key":"Pragma","value":"no-cache","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","description":""},{"key":"Status","value":"200","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": {\n    \t\"test\": \"ONU test disabled\",\n    \t\"test1\": \"ONU test1 disabled\"\n    }\n}"},{"id":"cbeeb141-15c0-4062-a761-610d2629035c","name":"200 - OK (async=1)","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"ONU001,ONU002,NOSUCHONU","type":"text"},{"key":"async","value":"1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_disable"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"ONU001\": \"The action was queued and is being processed.\",\n        \"ONU002\": \"The same action is already queued for this ONU.\",\n        \"NOSUCHONU\": \"ONU not found\"\n    },\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"965deb4c-ea86-4c33-8f47-a237a943722b","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_disable"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"05f55ab8-6dbe-42b0-9f75-bcbeb170f0fd"},{"name":"Enable ONU by ONU unique external ID","id":"393d530b-5d69-4d25-9a2b-130282097b23","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"async","value":"1","description":"<p>(Integer) Send 1 to queue the work and return immediately. Send 0 or leave it out to run the work in the request. Default: 0</p>\n","type":"text","uuid":"7cac9d77-4494-455b-9276-2778cf8589db"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable/{{onu_external_id}}","description":"<h2>Enable ONU for a specified ONU unique external ID</h2>\n\n<p>The request returns succesfully if ONU was enabled successfully.</p>\n<p>It returns a 400 error code when:</p>\n<ul><li><div>no ONU external ID was provided</div></li><li><div>no ONU was found for the provided ONU external ID</div></li><li><div>OLT was unable to process the command</div></li></ul>\n\n<h3>Asynchronous mode (<code>async=1</code>)</h3>\n\n<p>Send <code>async</code> = <code>1</code> to queue the work and return immediately. SmartOLT first does the same checks as in the normal mode. If a check fails, the request returns the same 400 error.</p>\n\n<p>If you do not send <code>async</code>, or you send <code>0</code>, the request works as described above.</p>\n\n<p>In asynchronous mode:</p>\n\n<ul><li><div>the response tells you that the action was <i>accepted</i>, not what the OLT did</div></li><li><div>the response contains <code>\"queued\": true</code></div></li><li><div>if the newest queued action for this ONU is the same action, the ONU is not queued again</div></li><li><div>SmartOLT runs all actions for one ONU in the order it received them</div></li><li><div>OLT errors are not returned in this response. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result</div></li><li><div>the call counts in the hourly budget for asynchronous calls, not in the normal hourly budget</div></li></ul>\n\n<h3>ONU with queued actions</h3>\n\n<p>If the ONU already has queued actions, a request without <code>async</code> is also queued. This keeps the actions in the order SmartOLT received them. The response then contains <code>\"queued\": true</code>. Do not mark the action as done when you see this field. Use<a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a>to see the result.</p>\n\n<p>If another request changes this ONU at the same time, the request returns error 409 with <code>error_code</code> <code>onu_busy</code>. Send the request again later.</p>","urlObject":{"protocol":"https","path":["api","onu","enable","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"4a2415ef-5732-4fa8-91ca-8e7eed3b2fd1","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"ONU enabled\"\n}"},{"id":"54fc7396-db3b-4aa7-b4ba-ba59ab5801ea","name":"200 - OK (async=1)","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"async","value":"1","type":"text","uuid":"a594fdf1-cb76-46ed-9277-6c2950152203"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":""},{"key":"Connection","value":"Keep-Alive","description":""},{"key":"Content-Length","value":"90","description":""},{"key":"Content-Type","value":"application/json","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","description":""},{"key":"Pragma","value":"no-cache","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","description":""},{"key":"Status","value":"200","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"response\": \"The action was queued and is being processed.\",\n    \"response_code\": \"success\",\n    \"status\": true,\n    \"queued\": true\n}"},{"id":"818fa4a3-ac98-4d88-9c68-e547600da30a","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"5619b6e6-2f46-4bbd-9889-aa53e6188944","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable/test7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"},{"id":"baf2e59d-c03a-41a1-9955-52fe5fa1a67b","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/enable/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"}],"_postman_id":"393d530b-5d69-4d25-9a2b-130282097b23"},{"name":"Enable multiple ONUs by ONU unique external IDs","id":"c8208da1-5f58-40b7-a86b-838babbddff6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"formdata","formdata":[{"description":"<p>(Required, String) Comma separated list of ONU unique external IDs. A maximum of 50 ONU unique external IDs are allowed, or 10 000 when async is 1</p>\n","key":"onus_external_ids","type":"text","value":"test,test1"},{"key":"async","value":"1","description":"<p>(Optional, Integer) Send 1 to queue the work and return immediately. Send 0 or leave it out to run the work in the request. Default: 0</p>\n","type":"text","disabled":true}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_enable","description":"<h2>Enable multiple ONUs by ONU unique external IDs</h2>\n\n<p>The request returns succesfully if ONUs were enabled successfully.</p>\n\n<p>It returns a 400 error code when:</p>\n\n<ul><li><div>another API call to the same method is already in progress</div></li><li><div>no ONU external IDs were provided</div></li><li><div>more than the maximum allowed number of ONUs were provided (A maximum of 50 ONU unique external IDs are allowed, or 10 000 when <code>async</code> is <code>1</code>)</div></li><li><div>OLT was unable to process the command</div></li></ul>\n\n<h3>Asynchronous mode (<code>async=1</code>)</h3>\n\n<p>Send <code>async</code> = <code>1</code> to queue the work as a batch action. The request returns immediately. The response tells you which ONUs were <i>accepted</i>, not what the OLT did.</p>\n\n<p>If you do not send <code>async</code>, or you send <code>0</code>, the request works as described above.</p>\n\n<p>In asynchronous mode:</p>\n\n<ul><li><div>a maximum of 10 000 ONU unique external IDs are allowed</div></li><li><div>accepted ONUs report that the action was queued and is being processed</div></li><li><div>an ONU that already has the same action queued is not queued twice</div></li><li><div>duplicate IDs in one call are collapsed</div></li><li><div>every other ONU carries the reason it was skipped: ONU not found, or subscription expired</div></li><li><div>OLT errors are not returned in this response. Use <a href=\"https://api.smartolt.com/#6088e6c4-89ba-4c44-989b-d894fe6f13c9\">check_bulk_task_status</a> to see the result for each ONU</div></li></ul>","urlObject":{"protocol":"https","path":["api","onu","bulk_enable"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"abded3ce-56d4-4d16-b3b3-08f320c3fcd1","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_enable"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","description":""},{"key":"Connection","value":"Keep-Alive","description":""},{"key":"Content-Length","value":"90","description":""},{"key":"Content-Type","value":"application/json","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","description":""},{"key":"Pragma","value":"no-cache","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","description":""},{"key":"Status","value":"200","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": {\n    \t\"test\": \"ONU test enabled\",\n    \t\"test1\": \"ONU test1 enabled\"\n    }\n}"},{"id":"0d337d85-06e3-43a6-95fe-07ef2bf09fe7","name":"200 - OK (async=1)","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"ONU001,ONU002,NOSUCHONU","type":"text"},{"key":"async","value":"1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_enable"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"response\": {\n        \"ONU001\": \"The action was queued and is being processed.\",\n        \"ONU002\": \"The same action is already queued for this ONU.\",\n        \"NOSUCHONU\": \"ONU not found\"\n    },\n    \"response_code\": \"success\",\n    \"status\": true\n}"},{"id":"f1c3e30c-9a1c-4036-b184-5819405b3a07","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"onus_external_ids","value":"test,test1","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/bulk_enable"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Invalid Date","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"}],"_postman_id":"c8208da1-5f58-40b7-a86b-838babbddff6"},{"name":"Delete ONU by ONU unique external ID","id":"9f87942e-caa7-4711-85af-420be2bebaff","request":{"method":"POST","header":[{"description":"<p>(Required) The API token</p>\n","key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/delete/{{onu_external_id}}","description":"<h2>Delete ONU for a specified ONU unique external ID</h2> \nThe request returns succesfully if ONU was deleted successfully. <br />\nIt returns a 400 error code when:\n<ul>\n<li>no ONU external ID was provided</li>\n<li>no ONU was found for the provided ONU external ID</li>\n<li>OLT was unable to process the command</li>\n</ul>","urlObject":{"protocol":"https","path":["api","onu","delete","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"b8670f58-6f01-4e0b-b3aa-17e07da477cb","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/delete/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"90","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:57:32 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Set-Cookie","value":"ci_session=2abcad7e0340fdef82d27f2f67bcc38d98f498c4; expires=Mon, 16-Oct-2017 18:57:32 GMT; Max-Age=7200; path=/; HttpOnly","name":"Set-Cookie","description":""},{"key":"Status","value":"200","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": \"ONU was deleted\"\n}"},{"id":"0f684d74-083a-4fbd-8133-675c2932a7d6","name":"403 - Forbidden","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":true}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/delete/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"43","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 16:58:41 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"403","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid API Key.\"}"},{"id":"64e4191b-c3b3-4a0d-8d61-ae9d0fb9f2aa","name":"400 - OLT wasn't able to process command","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/delete/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:04:50 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 19:03:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"955b80612bd5b85cd36875e603662e320ad30bf1","key":"ci_session"}],"responseTime":null,"body":"{\"status\":false,\"error\":\"Invalid parameters: OLT wasn't able to process the command\"}"},{"id":"acb34ad1-e83b-41dd-beec-db6e764d9c35","name":"400 - No ONU for external ID","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://{{subdomain}}.smartolt.com/api/onu/delete/test7"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate","name":"Cache-Control","description":""},{"key":"Connection","value":"close","name":"Connection","description":""},{"key":"Content-Length","value":"100","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 16 Oct 2017 17:00:45 GMT","name":"Date","description":""},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT","name":"Expires","description":""},{"key":"Pragma","value":"no-cache","name":"Pragma","description":""},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)","name":"Server","description":""},{"key":"Status","value":"400","name":"Status","description":""}],"cookie":[{"expires":"Mon Oct 16 2017 18:57:32 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"dev.smartolt.com","path":"/","secure":false,"value":"2abcad7e0340fdef82d27f2f67bcc38d98f498c4","key":"ci_session"}],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No ONU was found for this ONU external ID: test7\"\n}"}],"_postman_id":"9f87942e-caa7-4711-85af-420be2bebaff"},{"name":"Check bulk task status","id":"6088e6c4-89ba-4c44-989b-d894fe6f13c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"onus_external_ids","value":"ONU001,ONU002","description":"<p>(Required, String) Comma separated list of ONU unique external IDs. A maximum of 10 000 ONU unique external IDs are allowed</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/check_bulk_task_status","description":"<p>Check how the work queued by the bulk endpoints with <code>async=1</code> is going, detailed per ONU.</p>\n\n<p>Reports the <b>most recent</b> enable, disable, speed profile or CATV task row for each ONU, whichever happened last, so it answers both \"is my bulk request still running\" and \"what happened to it\".</p>\n\n<p><code><b>status</b></code> <b>values</b></p>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>value</th>\n<th>meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>queued</code></td>\n<td>accepted, not picked up by a worker yet</td>\n</tr>\n<tr>\n<td><code>in_progress</code></td>\n<td>a worker is running it now</td>\n</tr>\n<tr>\n<td><code>retrying</code></td>\n<td>an attempt failed; more attempts remain (up to 4)</td>\n</tr>\n<tr>\n<td><code>failed</code></td>\n<td>out of attempts, or the batch action was stopped, or its task is no longer running</td>\n</tr>\n<tr>\n<td><code>succeeded</code></td>\n<td>completed successfully</td>\n</tr>\n<tr>\n<td><code>no_task</code></td>\n<td>the ONU exists but has no enable, disable, speed profile or CATV task on record</td>\n</tr>\n<tr>\n<td><code>onu_not_found</code></td>\n<td>no ONU with that external id is visible to this API key</td>\n</tr>\n</tbody>\n</table>\n</div><p><b>Other fields</b> (absent for <code>no_task</code> / <code>onu_not_found</code>)</p>\n\n<ul><li><div><code>action</code> — <code>enable</code>, <code>disable</code>, <code>update_speed_profiles</code>, <code>enable_catv</code> or <code>disable_catv</code>. <code>catv_sync</code> means a CATV sync started from the SmartOLT web interface.</div></li><li><div><code>attempts</code> — attempts made so far.</div></li><li><div><code>date_start</code> / <code>date_end</code> — <code>null</code> until the worker starts / finishes an attempt.</div></li><li><div><code>error_message</code> — the error from the last failed attempt, passed through from the OLT where there was one. Always <code>null</code> for <code>succeeded</code>.</div></li></ul>\n\n<p>The row can also come from an action that was not started by the API, for example a batch action in the SmartOLT web interface or the automatic sync.</p>\n\n<p>Configuration preset tasks are not included. Use <code>check_configuration_preset_task_status</code> for them.</p>","urlObject":{"protocol":"https","path":["api","onu","check_bulk_task_status"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"853e7a27-028f-47cf-a186-a14ba7e97962","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"onus_external_ids","value":"NOSUCHONU,ONU001,ONU002","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/check_bulk_task_status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"NOSUCHONU\": {\n      \"status\": \"onu_not_found\"\n    },\n    \"ONU001\": {\n      \"status\": \"succeeded\",\n      \"action\": \"enable\",\n      \"attempts\": 1,\n      \"date_start\": \"2026-09-24 16:59:41\",\n      \"date_end\": \"2026-09-24 17:00:12\",\n      \"error_message\": null\n    },\n    \"ONU002\": {\n      \"status\": \"failed\",\n      \"action\": \"disable_catv\",\n      \"attempts\": 4,\n      \"date_start\": \"2026-09-24 09:19:46\",\n      \"date_end\": \"2026-09-24 09:19:53\",\n      \"error_message\": \"OLT unreachable. Please check that the Telnet port TCP on OLT IP is open for connections.\"\n    },\n    \"ONU003\": {\n      \"status\": \"queued\",\n      \"action\": \"update_speed_profiles\",\n      \"attempts\": 0,\n      \"date_start\": null,\n      \"date_end\": null,\n      \"error_message\": null\n    }\n  },\n  \"response_code\": \"success\",\n  \"status\": true\n}"}],"_postman_id":"6088e6c4-89ba-4c44-989b-d894fe6f13c9"},{"name":"Open an external ticket on an ONU","id":"38878050-c1f2-9c2b-308c-7ef8268d09af","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001","description":"<p>(Required) (String) The ticket number in your ticket system, 1 to 100 characters. A missing, empty or longer value returns HTTP 400 with <code>error_code</code> <code>invalid_ticket_number</code>.</p>\n","type":"text"},{"key":"subject","value":"Visit for new router","description":"<p>(String) Subject, at most 200 characters. When you leave it out or send it empty, the subject is the ticket number. A longer value returns HTTP 400 with <code>error_code</code> <code>invalid_text</code>.</p>\n","type":"text"},{"key":"note","value":"Customer is home after 9","description":"<p>(String) Description, at most 5000 characters. A longer value returns HTTP 400 with <code>error_code</code> <code>invalid_text</code>.</p>\n","type":"text"},{"key":"url","value":"https://helpdesk.example.com/ticket/3001","description":"<p>(String) Link to the ticket in your ticket system. It must start with http:// or https:// and have at most 500 characters; another value returns HTTP 400 with <code>error_code</code> <code>invalid_url</code>.</p>\n","type":"text"},{"key":"ticket_type","value":"installation","description":"<p>(String) Ticket type: support, installation, outage or other. Default support. Another value returns HTTP 400 with <code>error_code</code> <code>invalid_value</code>.</p>\n","type":"text"},{"key":"priority","value":"high","description":"<p>(String) Priority: low, normal, high or urgent. Default normal. Another value returns HTTP 400 with <code>error_code</code> <code>invalid_value</code>.</p>\n","type":"text"},{"key":"assignee_user_id","value":"25","description":"<p>(Int) ID of the user to assign the ticket to, as returned by GET /api/user/get_users. Send either this or <code>assignee_email</code>. Requires an API key that is not read-only, has the User management option enabled and has no data access group; otherwise the request is rejected with HTTP 403.</p>\n","type":"text"},{"key":"assignee_email","value":"technician@example.com","description":"<p>(String) Email of the user to assign the ticket to, as returned by GET /api/user/get_users. Send either this or <code>assignee_user_id</code>. Requires an API key that is not read-only, has the User management option enabled and has no data access group; otherwise the request is rejected with HTTP 403.</p>\n","type":"text"},{"key":"scheduled_at","value":"2026-11-02 09:30","description":"<p>(String) Start of the visit in the local time of your SmartOLT, as YYYY-MM-DD HH:MM or DD/MM/YYYY HH:MM. SmartOLT accepts seconds and sets them to 00. Another format returns HTTP 400 with <code>error_code</code> <code>invalid_schedule</code>.</p>\n","type":"text"},{"key":"duration","value":"90","description":"<p>(Int) Length of the visit in minutes, 5 to 1440. Default 60. It needs <code>scheduled_at</code> in the same request. Without a start, or with another value, the request returns HTTP 400 with <code>error_code</code> <code>invalid_schedule</code>.</p>\n","type":"text"},{"key":"status","value":"in_progress","description":"<p>(String) Status: new, in_progress, solved, no_solution, archived or cancelled. Default new. solved, no_solution, archived and cancelled create the ticket as resolved. Another value returns HTTP 400 with <code>error_code</code> <code>invalid_value</code>.</p>\n","type":"text"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/open_external_ticket/{{onu_external_id}}","description":"<h2 id=\"open-an-external-ticket-on-an-onu\">Open an external ticket on an ONU</h2>\n<p>Use this call when your own ticket system opens a ticket for the customer of an ONU. SmartOLT shows the ticket on the ONU in the ONU lists and on the ONU page until the ticket is resolved. Only <code>ticket_number</code> is required. The other fields are the fields of the SmartOLT ticket form. The ticket shows API as its author. When the request sets an assignee, SmartOLT sends the assignee the ticket assignment email, unless <code>status</code> in the same request resolves the ticket.</p>\n<p>The call is safe to repeat. When the ONU already has an open external ticket with the same <code>ticket_number</code>, SmartOLT does not create a second ticket and does not change the open one. It returns the open ticket with <code>created</code> set to <code>false</code>. To change that ticket, use <a href=\"https://api.smartolt.com/#b617d4e5-ee3e-3164-f4cb-59a4170f5f55\"><code>update_external_ticket</code></a>.</p>\n<p><strong>Assigning a user.</strong> <code>assignee_user_id</code> and <code>assignee_email</code> require an API key that meets all of these conditions:</p>\n<ul>\n<li>it is not read-only;</li>\n<li>the <strong>User management</strong> option is enabled on it;</li>\n<li>it has no data access group.</li>\n</ul>\n<p>If the request includes <code>assignee_user_id</code> or <code>assignee_email</code> and the key does not meet these conditions, SmartOLT rejects the whole request with HTTP 403 and <code>error_code</code> <code>forbidden</code>, and does not create the ticket. To open the ticket without an assignee, leave both fields out.</p>\n<p>Responses include <code>assignee_email</code> only for a key that meets these conditions. For any other key the field is omitted; <code>assignee_user_id</code> is always returned.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not create the ticket.</p>\n<p>It returns HTTP 400 and does not create the ticket when no ONU was found for the provided ONU external ID, or when a field is not valid. The <code>error_code</code> names the problem:</p>\n<ul>\n<li><code>invalid_ticket_number</code>: <code>ticket_number</code> is missing, empty or longer than 100 characters;</li>\n<li><code>invalid_url</code>: <code>url</code> does not start with http:// or https://, or is longer than 500 characters;</li>\n<li><code>invalid_text</code>: <code>subject</code> is longer than 200 characters, or <code>note</code> is longer than 5000 characters;</li>\n<li><code>invalid_value</code>: <code>ticket_type</code>, <code>priority</code> or <code>status</code> is not one of the listed values;</li>\n<li><code>invalid_schedule</code>: <code>scheduled_at</code> is not in one of the listed formats, <code>duration</code> is not a whole number from 5 to 1440, or the request sends <code>duration</code> and the ticket has no start;</li>\n<li><code>assignee_not_allowed</code>: no active user with this ID or email can take tickets on this ONU. The user must be able to open the ONU and view tickets. The response does not say whether the user does not exist or cannot take the ticket.</li>\n</ul>\n<p>It returns HTTP 409 and does not create the ticket when another request works on the same ticket at the same time:</p>\n<ul>\n<li><code>ticket_busy</code>: another request is opening a ticket with the same number on this ONU and did not finish within 10 seconds. Send the request again;</li>\n<li><code>ticket_changed</code>: another change to the new ticket was saved at the same moment. Send the request again.</li>\n</ul>\n<p>It returns HTTP 500 with <code>error_code</code> <code>internal_error</code> when the database did not save the ticket. SmartOLT saves nothing; send the request again.</p>\n","urlObject":{"protocol":"https","path":["api","onu","open_external_ticket","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"98f96499-d495-47c0-9f60-1595a9ac6db5","name":"200 - Ticket opened","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001"},{"key":"subject","value":"Visit for new router"},{"key":"note","value":"Customer is home after 9"},{"key":"url","value":"https://helpdesk.example.com/ticket/3001"},{"key":"ticket_type","value":"installation"},{"key":"priority","value":"high"},{"key":"assignee_user_id","value":"25"},{"key":"assignee_email","value":"technician@example.com"},{"key":"scheduled_at","value":"2026-11-02 09:30"},{"key":"duration","value":"90"},{"key":"status","value":"in_progress"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/open_external_ticket/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"ticket\": {\n        \"ticket_id\": 20121,\n        \"onu_external_id\": \"HWTC673CBD9D\",\n        \"ticket_number\": \"T-3001\",\n        \"url\": \"https://helpdesk.example.com/ticket/3001\",\n        \"subject\": \"Visit for new router\",\n        \"note\": \"Customer is home after 9\",\n        \"ticket_type\": \"installation\",\n        \"priority\": \"high\",\n        \"status\": \"new\",\n        \"assignee_user_id\": 25,\n        \"assignee_email\": \"technician@example.com\",\n        \"scheduled_at\": \"2026-11-02 09:30:00\",\n        \"duration\": 90,\n        \"created_at\": \"2026-10-29 03:41:08\",\n        \"resolved_at\": null\n    },\n    \"created\": true,\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"89d35caa-8806-4f66-99e9-7196e165f2d9","name":"200 - Ticket opened with the number only","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001"},{"key":"subject","value":"Visit for new router"},{"key":"note","value":"Customer is home after 9"},{"key":"url","value":"https://helpdesk.example.com/ticket/3001"},{"key":"ticket_type","value":"installation"},{"key":"priority","value":"high"},{"key":"assignee_user_id","value":"25"},{"key":"assignee_email","value":"technician@example.com"},{"key":"scheduled_at","value":"2026-11-02 09:30"},{"key":"duration","value":"90"},{"key":"status","value":"in_progress"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/open_external_ticket/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"ticket\": {\n        \"ticket_id\": 20122,\n        \"onu_external_id\": \"HWTC673CBD9D\",\n        \"ticket_number\": \"T-3002\",\n        \"url\": null,\n        \"subject\": \"T-3002\",\n        \"note\": \"\",\n        \"ticket_type\": \"support\",\n        \"priority\": \"normal\",\n        \"status\": \"new\",\n        \"assignee_user_id\": null,\n        \"assignee_email\": null,\n        \"scheduled_at\": null,\n        \"duration\": null,\n        \"created_at\": \"2026-10-29 03:41:08\",\n        \"resolved_at\": null\n    },\n    \"created\": true,\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"ce5cb15f-626f-4020-b2aa-843b3ffffe63","name":"200 - Ticket already open","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001"},{"key":"subject","value":"Visit for new router"},{"key":"note","value":"Customer is home after 9"},{"key":"url","value":"https://helpdesk.example.com/ticket/3001"},{"key":"ticket_type","value":"installation"},{"key":"priority","value":"high"},{"key":"assignee_user_id","value":"25"},{"key":"assignee_email","value":"technician@example.com"},{"key":"scheduled_at","value":"2026-11-02 09:30"},{"key":"duration","value":"90"},{"key":"status","value":"in_progress"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/open_external_ticket/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"ticket\": {\n        \"ticket_id\": 20121,\n        \"onu_external_id\": \"HWTC673CBD9D\",\n        \"ticket_number\": \"T-3001\",\n        \"url\": \"https://helpdesk.example.com/ticket/3001\",\n        \"subject\": \"Visit for new router\",\n        \"note\": \"Customer is home after 9\",\n        \"ticket_type\": \"installation\",\n        \"priority\": \"high\",\n        \"status\": \"new\",\n        \"assignee_user_id\": 25,\n        \"assignee_email\": \"technician@example.com\",\n        \"scheduled_at\": \"2026-11-02 09:30:00\",\n        \"duration\": 90,\n        \"created_at\": \"2026-10-29 03:41:08\",\n        \"resolved_at\": null\n    },\n    \"created\": false,\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"ab12b3d7-1bdd-43e0-9054-d859f8c7476c","name":"400 - Assignee cannot take tickets on this ONU","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001"},{"key":"subject","value":"Visit for new router"},{"key":"note","value":"Customer is home after 9"},{"key":"url","value":"https://helpdesk.example.com/ticket/3001"},{"key":"ticket_type","value":"installation"},{"key":"priority","value":"high"},{"key":"assignee_user_id","value":"25"},{"key":"assignee_email","value":"technician@example.com"},{"key":"scheduled_at","value":"2026-11-02 09:30"},{"key":"duration","value":"90"},{"key":"status","value":"in_progress"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/open_external_ticket/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No active user with this ID or email can take tickets on this ONU. The user must be able to open the ONU and view tickets. GET /api/user/get_users also lists users who cannot take tickets here.\",\n    \"error_code\": \"assignee_not_allowed\"\n}"},{"id":"2af94f5f-f6c7-47cf-a484-c6cb4cb4fa70","name":"403 - API key cannot set the assignee","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001"},{"key":"subject","value":"Visit for new router"},{"key":"note","value":"Customer is home after 9"},{"key":"url","value":"https://helpdesk.example.com/ticket/3001"},{"key":"ticket_type","value":"installation"},{"key":"priority","value":"high"},{"key":"assignee_user_id","value":"25"},{"key":"assignee_email","value":"technician@example.com"},{"key":"scheduled_at","value":"2026-11-02 09:30"},{"key":"duration","value":"90"},{"key":"status","value":"in_progress"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/open_external_ticket/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"This API key cannot set the assignee. Use an API key that is not read-only, has the User management option enabled and has no data access group.\",\n    \"error_code\": \"forbidden\"\n}"}],"_postman_id":"38878050-c1f2-9c2b-308c-7ef8268d09af"},{"name":"Update an external ticket on an ONU","id":"b617d4e5-ee3e-3164-f4cb-59a4170f5f55","request":{"method":"POST","header":[{"key":"X-Token","description":"<p>(Required) The API token</p>\n","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>(Required) (String) The number of the ticket to change, as sent when the ticket was opened. When the ONU has no external ticket with this number, the request returns HTTP 404 with <code>error_code</code> <code>not_found</code>.</p>\n","key":"ticket_number","type":"text","value":"T-3001"},{"description":"<p>(String) Subject, 1 to 200 characters. An empty or longer value returns HTTP 400 with <code>error_code</code> <code>invalid_text</code>.</p>\n","key":"subject","type":"text","value":"Visit for new router"},{"description":"<p>(String) Description, at most 5000 characters. An empty value removes the description. A longer value returns HTTP 400 with <code>error_code</code> <code>invalid_text</code>.</p>\n","key":"note","type":"text","value":"Customer is home after 9"},{"description":"<p>(String) Link to the ticket in your ticket system. It must start with http:// or https:// and have at most 500 characters; another value returns HTTP 400 with <code>error_code</code> <code>invalid_url</code>. An empty value removes the link.</p>\n","key":"url","type":"text","value":"https://helpdesk.example.com/ticket/3001"},{"description":"<p>(String) Ticket type: support, installation, outage or other. Another value returns HTTP 400 with <code>error_code</code> <code>invalid_value</code>.</p>\n","key":"ticket_type","type":"text","value":"installation"},{"description":"<p>(String) Priority: low, normal, high or urgent. Another value returns HTTP 400 with <code>error_code</code> <code>invalid_value</code>.</p>\n","key":"priority","type":"text","value":"high"},{"description":"<p>(Int) ID of the user to assign the ticket to, as returned by GET /api/user/get_users. Send either this or <code>assignee_email</code>. Requires an API key that is not read-only, has the User management option enabled and has no data access group; otherwise the request is rejected with HTTP 403.</p>\n","key":"assignee_user_id","type":"text","value":"25"},{"description":"<p>(String) Email of the user to assign the ticket to, as returned by GET /api/user/get_users. Send either this or <code>assignee_user_id</code>. Requires an API key that is not read-only, has the User management option enabled and has no data access group; otherwise the request is rejected with HTTP 403.</p>\n","key":"assignee_email","type":"text","value":"technician@example.com"},{"description":"<p>(String) Start of the visit in the local time of your SmartOLT, as YYYY-MM-DD HH:MM or DD/MM/YYYY HH:MM. SmartOLT accepts seconds and sets them to 00. An empty value removes the ticket from the calendar. Another format returns HTTP 400 with <code>error_code</code> <code>invalid_schedule</code>.</p>\n","key":"scheduled_at","type":"text","value":"2026-11-02 09:30"},{"description":"<p>(Int) Length of the visit in minutes, 5 to 1440. When the request sends <code>scheduled_at</code> without <code>duration</code>, the duration is 60. The ticket must have a start, from this request or from before. Without a start, or with another value, the request returns HTTP 400 with <code>error_code</code> <code>invalid_schedule</code>.</p>\n","key":"duration","type":"text","value":"90"},{"description":"<p>(String) Status: new, in_progress, solved, no_solution, archived or cancelled. new and in_progress reopen a resolved ticket; solved, no_solution, archived and cancelled resolve the ticket. Another value returns HTTP 400 with <code>error_code</code> <code>invalid_value</code>.</p>\n","key":"status","type":"text","value":"in_progress"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_external_ticket/{{onu_external_id}}","description":"<h2 id=\"update-an-external-ticket-on-an-onu\">Update an external ticket on an ONU</h2>\n<p>Changes the external ticket with this <code>ticket_number</code> on the ONU. SmartOLT changes only the fields that the request sends; the other fields keep their values. When the ONU has an open external ticket with this number, the call changes that ticket. When it has no open one, the call changes the most recently created resolved external ticket with this number.</p>\n<p>A <code>status</code> of <code>new</code> or <code>in_progress</code> reopens a resolved ticket, and the same request can also set its assignee. A <code>status</code> of <code>solved</code>, <code>no_solution</code>, <code>archived</code> or <code>cancelled</code> resolves the ticket with that status. To resolve a ticket with the status <code>solved</code> and change nothing else, you can also use <a href=\"https://api.smartolt.com/#ea198368-d9b0-e4f8-c7d0-6bb4d93f98f8\"><code>resolve_external_ticket</code></a>. When the request sets a new assignee, SmartOLT sends the assignee the ticket assignment email, unless <code>status</code> in the same request resolves the ticket. SmartOLT saves all changes of one request together: when the request fails, it saves none of them.</p>\n<p><strong>Assigning a user.</strong> <code>assignee_user_id</code> and <code>assignee_email</code> require an API key that meets all of these conditions:</p>\n<ul>\n<li>it is not read-only;</li>\n<li>the <strong>User management</strong> option is enabled on it;</li>\n<li>it has no data access group.</li>\n</ul>\n<p>If the request includes <code>assignee_user_id</code> or <code>assignee_email</code> and the key does not meet these conditions, SmartOLT rejects the whole request with HTTP 403 and <code>error_code</code> <code>forbidden</code>, and does not change the ticket. To change other fields without an assignee, leave both fields out.</p>\n<p>Responses include <code>assignee_email</code> only for a key that meets these conditions. For any other key the field is omitted; <code>assignee_user_id</code> is always returned.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not change the ticket.</p>\n<p>It returns HTTP 404 with <code>error_code</code> <code>not_found</code> when the ONU has no external ticket with this number, open or resolved.</p>\n<p>It returns HTTP 400 and does not change the ticket when no ONU was found for the provided ONU external ID, or when a field is not valid. The <code>error_code</code> names the problem:</p>\n<ul>\n<li><code>invalid_ticket_number</code>: <code>ticket_number</code> is missing, empty or longer than 100 characters;</li>\n<li><code>invalid_url</code>: <code>url</code> does not start with http:// or https://, or is longer than 500 characters;</li>\n<li><code>invalid_text</code>: <code>subject</code> is empty or longer than 200 characters, or <code>note</code> is longer than 5000 characters;</li>\n<li><code>invalid_ticket_type</code>: this ticket cannot have the <code>ticket_type</code> that the request sends;</li>\n<li><code>invalid_value</code>: <code>ticket_type</code>, <code>priority</code> or <code>status</code> is not one of the listed values;</li>\n<li><code>invalid_schedule</code>: <code>scheduled_at</code> is not in one of the listed formats, <code>duration</code> is not a whole number from 5 to 1440, or the request sends <code>duration</code> and the ticket has no start;</li>\n<li><code>assignee_not_allowed</code>: no active user with this ID or email can take tickets on this ONU. The user must be able to open the ONU and view tickets. The response does not say whether the user does not exist or cannot take the ticket.</li>\n</ul>\n<p>It returns HTTP 409 and does not change the ticket in these cases:</p>\n<ul>\n<li><code>ticket_resolved</code>: the ticket is resolved, the request sets a different assignee, and <code>status</code> is not <code>new</code> or <code>in_progress</code>. To reopen the ticket and assign it, send <code>status</code> <code>new</code> or <code>in_progress</code> in the same request;</li>\n<li><code>ticket_number_open</code>: <code>status</code> would reopen this resolved ticket, but another external ticket with the same number is open on the ONU. Resolve the open ticket first;</li>\n<li><code>ticket_changed</code>: another change to this ticket was saved at the same moment. Send the request again.</li>\n</ul>\n<p>It returns HTTP 500 with <code>error_code</code> <code>internal_error</code> when the database did not save the changes. SmartOLT saves none of them; send the request again.</p>\n","urlObject":{"protocol":"https","path":["api","onu","update_external_ticket","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"6010c3cc-43d0-4325-b1e7-067b933391ac","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001"},{"key":"subject","value":"Visit for new router"},{"key":"note","value":"Customer is home after 9"},{"key":"url","value":"https://helpdesk.example.com/ticket/3001"},{"key":"ticket_type","value":"installation"},{"key":"priority","value":"high"},{"key":"assignee_user_id","value":"25"},{"key":"assignee_email","value":"technician@example.com"},{"key":"scheduled_at","value":"2026-11-02 09:30"},{"key":"duration","value":"90"},{"key":"status","value":"in_progress"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_external_ticket/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"ticket\": {\n        \"ticket_id\": 20121,\n        \"onu_external_id\": \"HWTC673CBD9D\",\n        \"ticket_number\": \"T-3001\",\n        \"url\": \"https://helpdesk.example.com/ticket/3001\",\n        \"subject\": \"Visit for new router\",\n        \"note\": \"Customer is home after 9\",\n        \"ticket_type\": \"installation\",\n        \"priority\": \"low\",\n        \"status\": \"new\",\n        \"assignee_user_id\": 25,\n        \"assignee_email\": \"technician@example.com\",\n        \"scheduled_at\": \"2026-11-02 09:30:00\",\n        \"duration\": 90,\n        \"created_at\": \"2026-10-29 03:41:08\",\n        \"resolved_at\": null\n    },\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"66262592-ca0c-42ab-a7d4-c15dfc050a00","name":"400 - Assignee cannot take tickets on this ONU","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001"},{"key":"subject","value":"Visit for new router"},{"key":"note","value":"Customer is home after 9"},{"key":"url","value":"https://helpdesk.example.com/ticket/3001"},{"key":"ticket_type","value":"installation"},{"key":"priority","value":"high"},{"key":"assignee_user_id","value":"25"},{"key":"assignee_email","value":"technician@example.com"},{"key":"scheduled_at","value":"2026-11-02 09:30"},{"key":"duration","value":"90"},{"key":"status","value":"in_progress"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_external_ticket/{{onu_external_id}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Invalid parameters: No active user with this ID or email can take tickets on this ONU. The user must be able to open the ONU and view tickets. GET /api/user/get_users also lists users who cannot take tickets here.\",\n    \"error_code\": \"assignee_not_allowed\"\n}"},{"id":"63b518f7-6063-4368-b1eb-d10cd0310578","name":"404 - No ticket with this number","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001"},{"key":"subject","value":"Visit for new router"},{"key":"note","value":"Customer is home after 9"},{"key":"url","value":"https://helpdesk.example.com/ticket/3001"},{"key":"ticket_type","value":"installation"},{"key":"priority","value":"high"},{"key":"assignee_user_id","value":"25"},{"key":"assignee_email","value":"technician@example.com"},{"key":"scheduled_at","value":"2026-11-02 09:30"},{"key":"duration","value":"90"},{"key":"status","value":"in_progress"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_external_ticket/{{onu_external_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Not found: This ONU has no external ticket with this number, open or resolved.\",\n    \"error_code\": \"not_found\"\n}"},{"id":"d266a365-dddc-4b7c-848e-6b6f3ae3a06b","name":"403 - API key cannot set the assignee","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001"},{"key":"subject","value":"Visit for new router"},{"key":"note","value":"Customer is home after 9"},{"key":"url","value":"https://helpdesk.example.com/ticket/3001"},{"key":"ticket_type","value":"installation"},{"key":"priority","value":"high"},{"key":"assignee_user_id","value":"25"},{"key":"assignee_email","value":"technician@example.com"},{"key":"scheduled_at","value":"2026-11-02 09:30"},{"key":"duration","value":"90"},{"key":"status","value":"in_progress"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/update_external_ticket/{{onu_external_id}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"This API key cannot set the assignee. Use an API key that is not read-only, has the User management option enabled and has no data access group.\",\n    \"error_code\": \"forbidden\"\n}"}],"_postman_id":"b617d4e5-ee3e-3164-f4cb-59a4170f5f55"},{"name":"Resolve an external ticket on an ONU","id":"ea198368-d9b0-e4f8-c7d0-6bb4d93f98f8","request":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}","description":"<p>(Required) The API token</p>\n"}],"body":{"mode":"urlencoded","urlencoded":[{"type":"text","description":"<p>(Required) (String) The number of the ticket to resolve, as sent when the ticket was opened. When the ONU has no open external ticket with this number, the request returns HTTP 404 with <code>error_code</code> <code>not_found</code>.</p>\n","key":"ticket_number","value":"T-3001"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/resolve_external_ticket/{{onu_external_id}}","description":"<h2 id=\"resolve-an-external-ticket-on-an-onu\">Resolve an external ticket on an ONU</h2>\n<p>Resolves the open external ticket with this <code>ticket_number</code> on the ONU. SmartOLT sets its status to <code>solved</code> and records the change in the ticket history.</p>\n<p>A read-only API key cannot use this call. The response is HTTP 403 with <code>error_code</code> <code>forbidden</code> and the message <code>Readonly API Key doesn't have rights to make changes.</code>, and SmartOLT does not change the ticket.</p>\n<p>It returns HTTP 404 with <code>error_code</code> <code>not_found</code> when the ONU has no open external ticket with this number. A ticket with this number that is already resolved gives the same response. It returns HTTP 400 when no ONU was found for the provided ONU external ID. It returns HTTP 409 with <code>error_code</code> <code>ticket_changed</code> when another change to the ticket was saved at the same moment; the ticket stays open, so send the request again.</p>\n","urlObject":{"protocol":"https","path":["api","onu","resolve_external_ticket","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[],"variable":[]}},"response":[{"id":"280b4dfb-e427-425e-a978-1f2d2501b646","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/resolve_external_ticket/{{onu_external_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"ticket\": {\n        \"ticket_id\": 20121,\n        \"onu_external_id\": \"HWTC673CBD9D\",\n        \"ticket_number\": \"T-3001\",\n        \"url\": \"https://helpdesk.example.com/ticket/3001\",\n        \"subject\": \"Visit for new router\",\n        \"note\": \"Customer is home after 9\",\n        \"ticket_type\": \"installation\",\n        \"priority\": \"high\",\n        \"status\": \"solved\",\n        \"assignee_user_id\": 25,\n        \"assignee_email\": \"technician@example.com\",\n        \"scheduled_at\": \"2026-11-02 09:30:00\",\n        \"duration\": 90,\n        \"created_at\": \"2026-10-29 03:41:08\",\n        \"resolved_at\": \"2026-10-29 09:40:02\"\n    },\n    \"status\": true,\n    \"response_code\": \"success\"\n}"},{"id":"d555c8fe-4c42-4f14-a649-f5709045491e","name":"404 - No open ticket with this number","originalRequest":{"method":"POST","header":[{"key":"X-Token","value":"{{api_key}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ticket_number","value":"T-3001"}]},"url":"https://{{subdomain}}.smartolt.com/api/onu/resolve_external_ticket/{{onu_external_id}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"error\": \"Not found: This ONU has no open external ticket with this number.\",\n    \"error_code\": \"not_found\"\n}"}],"_postman_id":"ea198368-d9b0-e4f8-c7d0-6bb4d93f98f8"},{"name":"Get open external tickets","id":"d615d570-b39d-1ff0-bc4d-18df7f109b0b","request":{"method":"GET","header":[{"value":"{{api_key}}","description":"<p>(Required) The API token</p>\n","key":"X-Token"}],"url":"https://{{subdomain}}.smartolt.com/api/onu/get_external_tickets/{{onu_external_id}}?limit=500&offset=0","description":"<h2 id=\"get-open-external-tickets\">Get open external tickets</h2>\n<p>Returns the open external tickets of one ONU, oldest first.</p>\n<p>Leave out the ONU external ID to get one page of the open external tickets of every ONU that the API key can reach, oldest first. <code>limit</code> sets the page size, from 1 to 1000; the default is 500. <code>offset</code> sets how many tickets to skip, 0 or more; the default is 0. <code>has_more</code> is <code>true</code> when another page follows. The tickets in this list have no <code>note</code> field. The list leaves out the ONUs of OLTs with an expired subscription, and <code>expired_olts</code> lists those OLTs.</p>\n<p>Responses include <code>assignee_email</code> only for an API key that is not read-only, has the <strong>User management</strong> option enabled and has no data access group. For any other key the field is omitted; <code>assignee_user_id</code> is always returned.</p>\n<p>It returns HTTP 400 when no ONU was found for the provided ONU external ID. It returns HTTP 400 with <code>error_code</code> <code>invalid_paging</code> when <code>limit</code> is not from 1 to 1000, or when <code>offset</code> is less than 0.</p>\n","urlObject":{"protocol":"https","path":["api","onu","get_external_tickets","{{onu_external_id}}"],"host":["{{subdomain}}","smartolt","com"],"query":[{"description":{"content":"<p>(Int) Page size when the ONU external ID is left out, 1 to 1000. Default 500. Another value returns HTTP 400 with <code>error_code</code> <code>invalid_paging</code>.</p>\n","type":"text/plain"},"key":"limit","value":"500"},{"description":{"content":"<p>(Int) Number of tickets to skip when the ONU external ID is left out, 0 or more. Default 0. A negative value returns HTTP 400 with <code>error_code</code> <code>invalid_paging</code>.</p>\n","type":"text/plain"},"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"2222211c-938f-40b6-8e21-079e36698964","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"{{api_key}}"}],"url":{"raw":"https://{{subdomain}}.smartolt.com/api/onu/get_external_tickets/{{onu_external_id}}?limit=500&offset=0","protocol":"https","host":["{{subdomain}}","smartolt","com"],"path":["api","onu","get_external_tickets","{{onu_external_id}}"],"query":[{"key":"limit","value":"500"},{"key":"offset","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"tickets\": [\n        {\n            \"ticket_id\": 20121,\n            \"onu_external_id\": \"HWTC673CBD9D\",\n            \"ticket_number\": \"T-3001\",\n            \"url\": \"https://helpdesk.example.com/ticket/3001\",\n            \"subject\": \"Visit for new router\",\n            \"note\": \"Customer is home after 9\",\n            \"ticket_type\": \"installation\",\n            \"priority\": \"high\",\n            \"status\": \"new\",\n            \"assignee_user_id\": 25,\n            \"assignee_email\": \"technician@example.com\",\n            \"scheduled_at\": \"2026-11-02 09:30:00\",\n            \"duration\": 90,\n            \"created_at\": \"2026-10-29 03:41:08\",\n            \"resolved_at\": null\n        }\n    ],\n    \"status\": true,\n    \"response_code\": \"success\"\n}"}],"_postman_id":"d615d570-b39d-1ff0-bc4d-18df7f109b0b"}]}