# Auxilliary Mapping

### **Get List of Unavailable Agents with Paginated**

| Method     | Get                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Media Type | application/json                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| URL        | http\://\[server]/dolphin/apiv1/graph/auxiliarys/agents/unavailable?count=1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Header     | Authorization : Bearer \[generatedToken]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Body       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Status     | 200                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Response   | <p>{<br>“status”: “success”,<br>“data”: \[<br>  {<br>     “id”: “\[id]”,<br>     “owner”: “\[owner\_id]”,<br>     “createdDate”: 1561967377443,<br>     “createdBy”: “f1b380ced4477dd87e8d7ad842af7ae2”,<br>     “modifiedDate”: 1598692139882,<br>     “modifiedBy”: “f1b380ced4477dd87e8d7ad842af7ae2”,<br>     “agentId”: “\[AgentId]”,<br>     “agentName”: “\[agentName]”,<br>     “agentRole”: “\[agentRole]”,<br>     “aux”: true,<br>     “dailyAuxDuration”: 0,<br>     “duration”: 0,<br>     “lastChange”: 1598692139882,<br>     “master”: true,<br>     “reason”: “Not Available”<br>  }<br>],<br>“hasMore”: false,<br>“nextIndex”: 0,<br>“prevIndex”: 0,<br>“totalResults”: 0<br>}</p> |

### **Update Agent Auxiliary Available**

| Method     | Put                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Media Type | application/json                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| URL        | http\://\[server]/dolphin/apiv1/graph/auxiliarys/agents?count=1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Header     | Authorization : Bearer \[generatedToken]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Body       | {  nbsp; “status”: “available” }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Status     | 200                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Response   | <p>{<br>“status”: “success”,<br>“data”: {<br>     “id”: “\[Id]”,<br>     “owner”: “\[owner\_Id]”,<br>     “createdDate”: 1582092999569,<br>     “createdBy”: “95bbbf64882dd7816c09996d56bbc1e2”,<br>     “modifiedDate”: 1584339666607,<br>     “modifiedBy”: “95bbbf64882dd7816c09996d56bbc1e2”,<br>     “agentId”: “\[agentId]”,<br>     “agentName”: “\[agentName]”,<br>     “agentRole”: “\[agentRole]”,<br>     “aux”: true,<br>     “dailyAuxDuration”: 0,<br>     “duration”: 0,<br>     “lastChange”: 1584339666607,<br>     “master”: true,<br>     “reason”: “Not Available”<br>   },<br>“hasMore”: false,<br>“nextIndex”: 0,<br>“prevIndex”: 0,<br>“totalResults”: 0<br>}</p> |

### **Get List of Available Agents with Paginated**

| Method     | Get                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Media Type | application/json                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| URL        | http\://\[server]/dolphin/apiv1/graph/auxiliarys/agents/available?start=0\&count=1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| Header     | Authorization : Bearer \[generatedToken]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Body       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Status     | 200                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Response   | <p>{<br>“status”: “success”,<br>“data”: \[<br>  {<br>     “id”: “\[Id]”,<br>     “owner”: “\[owner\_id]”<br>,      “createdDate”: 1595390386056,<br>     “createdBy”: “82ab0fd5cfd1e80d1ff97c0cfc9aa9e2”,<br>     “modifiedDate”: 1598612018645,<br>     “modifiedBy”: “0bf9d94b4f3910a5f2a2e4e3f4bb9faf”,<br>     “agentId”: “\[agentId]”,<br>     “agentName”: “\[agentName]”,<br>     “agentRole”: “\[agentRole]”,<br>     “aux”: false,<br>     “dailyAuxDuration”: 0,<br>     “duration”: 0,<br>     “lastChange”: 1598612018645,<br>     “master”: true,<br>     “reason”: “Available”<br>    }<br>  ],<br>“hasMore”: false,<br>“nextIndex”: 0,<br>“prevIndex”: 0,<br>“totalResults”: 0<br>}</p> |
