{"info":{"_postman_id":"bc352a84-296e-42c8-8d95-e621de41904f","name":"Final Expense Agent Availability Ping","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"12208069","collectionId":"bc352a84-296e-42c8-8d95-e621de41904f","publishedId":"2sBXcKBdPT","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"293250"},"publishDate":"2026-03-03T18:53:04.000Z"},"item":[{"name":"Agent Availability","event":[{"id":"b226fcce-ccc7-4e8f-8267-0ee5229d6a31","listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Agents are available\", function () {","    const json = pm.response.json();","    pm.expect(json.availableAgents).to.be.above(0);","});"]}}],"id":"deeda69c-594a-4398-97d7-81b3deb906e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.healthcaresolutions.net/api/AgentAvailabilityPing?code={Provided by Healthcare Solutions}&id=5905","description":"<h2 id=\"agent-availability-ping\">Agent Availability Ping</h2>\n<p>This endpoint pings the Agent Availability service to retrieve real-time agent availability status for a given agent/campaign. It is used to monitor agent availability and call activity for a given campaign.</p>\n<p><strong>Base URL:</strong> <code>https://api.healthcaresolutions.net/api/AgentAvailabilityPing</code></p>\n<p><strong>Method:</strong> <code>GET</code></p>\n<hr />\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>code</code></td>\n<td><code>{Provided by Healthcare Solutions}</code></td>\n<td>The API authorization code provided by Healthcare Solutions. Required for authenticating the request.</td>\n</tr>\n<tr>\n<td><code>id</code></td>\n<td><code>5905</code></td>\n<td>The Finale Expense Campaign ID used to identify agents for availability.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"authentication\">Authentication</h2>\n<p>Authentication is handled via the <code>code</code> query parameter. This value is provided by Healthcare Solutions and must be included with every request.</p>\n<hr />\n<h2 id=\"example-request\">Example Request</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://api.healthcaresolutions.net/api/AgentAvailabilityPing?code={Provided by Healthcare Solutions}&amp;id=5905\n\n</code></pre><hr />\n<h2 id=\"response\">Response</h2>\n<p>A successful request returns a <code>200 OK</code> response with the following JSON body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"availableAgents\": 2\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>availableAgents</code></td>\n<td><code>number</code></td>\n<td>The number of agents currently available. A value greater than <code>0</code> indicates agents are available.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"availability-logic\">Availability Logic</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>availableAgents</code></th>\n<th>Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>&gt; 0</code></td>\n<td>✅ Agents available</td>\n</tr>\n<tr>\n<td><code>0</code></td>\n<td>❌ No agents available</td>\n</tr>\n</tbody>\n</table>\n</div><p>An invalid or missing <code>code</code> parameter will result in a <code>401 Unauthorized</code> response.</p>\n","urlObject":{"protocol":"https","path":["api","AgentAvailabilityPing"],"host":["api","healthcaresolutions","net"],"query":[{"key":"code","value":"{Provided by Healthcare Solutions}"},{"key":"id","value":"5905"}],"variable":[]}},"response":[],"_postman_id":"deeda69c-594a-4398-97d7-81b3deb906e7"}]}