Built motion from commit 973e3e332e1c8e2f84c4b0cd2e5af794131724f5. Version 3.0.0...
[motion-next.git] / apidoc / api_data.json
1 [
2   {
3     "type": "",
4     "url": "public",
5     "title": "",
6     "version": "0.0.0",
7     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
8     "group": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
9     "groupTitle": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
10     "name": "Public"
11   },
12   {
13     "type": "",
14     "url": "public",
15     "title": "",
16     "version": "0.0.0",
17     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
18     "group": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
19     "groupTitle": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
20     "name": "Public"
21   },
22   {
23     "type": "",
24     "url": "public",
25     "title": "",
26     "version": "0.0.0",
27     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
28     "group": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
29     "groupTitle": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
30     "name": "Public"
31   },
32   {
33     "type": "",
34     "url": "public",
35     "title": "",
36     "version": "0.0.0",
37     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
38     "group": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
39     "groupTitle": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
40     "name": "Public"
41   },
42   {
43     "type": "",
44     "url": "public",
45     "title": "",
46     "version": "0.0.0",
47     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
48     "group": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
49     "groupTitle": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.model.js",
50     "name": "Public"
51   },
52   {
53     "type": "delete",
54     "url": "/api/actions/{id}",
55     "title": "Deletes a Action",
56     "examples": [
57       {
58         "title": "Example usage:",
59         "content": "curl https://{domain}/api/actions/{id} -v -u {name}:{password} -X DELETE",
60         "type": "json"
61       }
62     ],
63     "name": "DeleteActions",
64     "group": "Actions",
65     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
66     "version": "0.0.0",
67     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/action/index.js",
68     "groupTitle": "Actions"
69   },
70   {
71     "type": "put",
72     "url": "/api/actions/{id}",
73     "title": "Update an existing Action",
74     "examples": [
75       {
76         "title": "Example usage:",
77         "content": "curl https://{domain}/api/actions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
78         "type": "json"
79       }
80     ],
81     "name": "updateActions",
82     "group": "Actions",
83     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
84     "version": "0.0.0",
85     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/action/index.js",
86     "groupTitle": "Actions"
87   },
88   {
89     "type": "post",
90     "url": "/api/analytics/custom_reports",
91     "title": "Creates a new Analytic Custom Report",
92     "examples": [
93       {
94         "title": "Example usage:",
95         "content": "curl https://{domain}/api/analytics/custom_reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
96         "type": "json"
97       }
98     ],
99     "name": "CreateAnalytic_Custom_Reports",
100     "group": "Analytic_Custom_Reports",
101     "parameter": {
102       "fields": {
103         "Body": [
104           {
105             "group": "Body",
106             "type": "String",
107             "optional": false,
108             "field": "name",
109             "description": ""
110           },
111           {
112             "group": "Body",
113             "type": "String",
114             "optional": true,
115             "field": "description",
116             "description": ""
117           },
118           {
119             "group": "Body",
120             "type": "String",
121             "optional": true,
122             "field": "parent",
123             "description": ""
124           },
125           {
126             "group": "Body",
127             "type": "String",
128             "optional": true,
129             "field": "table",
130             "description": ""
131           },
132           {
133             "group": "Body",
134             "type": "Text",
135             "optional": true,
136             "field": "conditions",
137             "description": ""
138           },
139           {
140             "group": "Body",
141             "type": "Text",
142             "optional": true,
143             "field": "joins",
144             "description": ""
145           }
146         ]
147       }
148     },
149     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
150     "version": "0.0.0",
151     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticCustomReport/index.js",
152     "groupTitle": "Analytic_Custom_Reports"
153   },
154   {
155     "type": "delete",
156     "url": "/api/analytics/custom_reports/{id}",
157     "title": "Deletes a Analytic Custom Report",
158     "examples": [
159       {
160         "title": "Example usage:",
161         "content": "curl https://{domain}/api/analytics/custom_reports/{id} -v -u {name}:{password} -X DELETE",
162         "type": "json"
163       }
164     ],
165     "name": "DeleteAnalytic_Custom_Reports",
166     "group": "Analytic_Custom_Reports",
167     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
168     "version": "0.0.0",
169     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticCustomReport/index.js",
170     "groupTitle": "Analytic_Custom_Reports"
171   },
172   {
173     "type": "get",
174     "url": "/api/analytics/custom_reports",
175     "title": "Gets a list of Analytic Custom Reports",
176     "examples": [
177       {
178         "title": "Example usage:",
179         "content": "curl https://{domain}/api/analytics/custom_reports -v -u {name}:{password}",
180         "type": "json"
181       }
182     ],
183     "name": "GetAnalytic_Custom_Reports",
184     "group": "Analytic_Custom_Reports",
185     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/custom_reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/custom_reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/custom_reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/custom_reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/custom_reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
186     "version": "0.0.0",
187     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticCustomReport/index.js",
188     "groupTitle": "Analytic_Custom_Reports"
189   },
190   {
191     "type": "get",
192     "url": "/api/analytics/custom_reports/{id}",
193     "title": "Gets a single Analytic Custom Report",
194     "examples": [
195       {
196         "title": "Example usage:",
197         "content": "curl https://{domain}/api/analytics/custom_reports/{id} -v -u {name}:{password}",
198         "type": "json"
199       }
200     ],
201     "name": "ShowAnalytic_Custom_Reports",
202     "group": "Analytic_Custom_Reports",
203     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
204     "version": "0.0.0",
205     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticCustomReport/index.js",
206     "groupTitle": "Analytic_Custom_Reports"
207   },
208   {
209     "type": "get",
210     "url": "/api/analytics/custom_reports/{id}/preview",
211     "title": "Report Preview",
212     "examples": [
213       {
214         "title": "Example usage:",
215         "content": "curl https://{domain}/api/analytics/custom_reports/{id}/preview -v -u {name}:{password} -X GET",
216         "type": "json"
217       }
218     ],
219     "name": "preview",
220     "group": "Analytic_Custom_Reports",
221     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
222     "version": "0.0.0",
223     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticCustomReport/index.js",
224     "groupTitle": "Analytic_Custom_Reports"
225   },
226   {
227     "type": "get",
228     "url": "/api/analytics/custom_reports/{id}/query",
229     "title": "Report Query SQL",
230     "examples": [
231       {
232         "title": "Example usage:",
233         "content": "curl https://{domain}/api/analytics/custom_reports/{id}/query -v -u {name}:{password} -X GET",
234         "type": "json"
235       }
236     ],
237     "name": "query",
238     "group": "Analytic_Custom_Reports",
239     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
240     "version": "0.0.0",
241     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticCustomReport/index.js",
242     "groupTitle": "Analytic_Custom_Reports"
243   },
244   {
245     "type": "get",
246     "url": "/api/analytics/custom_reports/{id}/run",
247     "title": "Report Run",
248     "examples": [
249       {
250         "title": "Example usage:",
251         "content": "curl https://{domain}/api/analytics/custom_reports/{id}/run -v -u {name}:{password} -X GET",
252         "type": "json"
253       }
254     ],
255     "name": "run",
256     "group": "Analytic_Custom_Reports",
257     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
258     "version": "0.0.0",
259     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticCustomReport/index.js",
260     "groupTitle": "Analytic_Custom_Reports"
261   },
262   {
263     "type": "put",
264     "url": "/api/analytics/custom_reports/{id}",
265     "title": "Update an existing Analytic Custom Report",
266     "examples": [
267       {
268         "title": "Example usage:",
269         "content": "curl https://{domain}/api/analytics/custom_reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
270         "type": "json"
271       }
272     ],
273     "name": "updateAnalytic_Custom_Reports",
274     "group": "Analytic_Custom_Reports",
275     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
276     "version": "0.0.0",
277     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticCustomReport/index.js",
278     "groupTitle": "Analytic_Custom_Reports"
279   },
280   {
281     "type": "post",
282     "url": "/api/analytics/default_reports",
283     "title": "Creates a new Analytic Default Report",
284     "examples": [
285       {
286         "title": "Example usage:",
287         "content": "curl https://{domain}/api/analytics/default_reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
288         "type": "json"
289       }
290     ],
291     "name": "CreateAnalytic_Default_Reports",
292     "group": "Analytic_Default_Reports",
293     "parameter": {
294       "fields": {
295         "Body": [
296           {
297             "group": "Body",
298             "type": "String",
299             "optional": false,
300             "field": "name",
301             "description": ""
302           },
303           {
304             "group": "Body",
305             "type": "String",
306             "optional": true,
307             "field": "description",
308             "description": ""
309           },
310           {
311             "group": "Body",
312             "type": "String",
313             "optional": true,
314             "field": "parent",
315             "description": ""
316           },
317           {
318             "group": "Body",
319             "type": "String",
320             "optional": true,
321             "field": "table",
322             "description": ""
323           },
324           {
325             "group": "Body",
326             "type": "Text",
327             "optional": true,
328             "field": "conditions",
329             "description": ""
330           },
331           {
332             "group": "Body",
333             "type": "Text",
334             "optional": true,
335             "field": "joins",
336             "description": ""
337           }
338         ]
339       }
340     },
341     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
342     "version": "0.0.0",
343     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticDefaultReport/index.js",
344     "groupTitle": "Analytic_Default_Reports"
345   },
346   {
347     "type": "delete",
348     "url": "/api/analytics/default_reports/{id}",
349     "title": "Deletes a Analytic Default Report",
350     "examples": [
351       {
352         "title": "Example usage:",
353         "content": "curl https://{domain}/api/analytics/default_reports/{id} -v -u {name}:{password} -X DELETE",
354         "type": "json"
355       }
356     ],
357     "name": "DeleteAnalytic_Default_Reports",
358     "group": "Analytic_Default_Reports",
359     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
360     "version": "0.0.0",
361     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticDefaultReport/index.js",
362     "groupTitle": "Analytic_Default_Reports"
363   },
364   {
365     "type": "get",
366     "url": "/api/analytics/default_reports",
367     "title": "Gets a list of Analytic Default Reports",
368     "examples": [
369       {
370         "title": "Example usage:",
371         "content": "curl https://{domain}/api/analytics/default_reports -v -u {name}:{password}",
372         "type": "json"
373       }
374     ],
375     "name": "GetAnalytic_Default_Reports",
376     "group": "Analytic_Default_Reports",
377     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/default_reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/default_reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/default_reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/default_reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/default_reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
378     "version": "0.0.0",
379     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticDefaultReport/index.js",
380     "groupTitle": "Analytic_Default_Reports"
381   },
382   {
383     "type": "get",
384     "url": "/api/analytics/default_reports/{id}",
385     "title": "Gets a single Analytic Default Report",
386     "examples": [
387       {
388         "title": "Example usage:",
389         "content": "curl https://{domain}/api/analytics/default_reports/{id} -v -u {name}:{password}",
390         "type": "json"
391       }
392     ],
393     "name": "ShowAnalytic_Default_Reports",
394     "group": "Analytic_Default_Reports",
395     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
396     "version": "0.0.0",
397     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticDefaultReport/index.js",
398     "groupTitle": "Analytic_Default_Reports"
399   },
400   {
401     "type": "get",
402     "url": "/api/analytics/default_reports/{id}/preview",
403     "title": "Report Preview",
404     "examples": [
405       {
406         "title": "Example usage:",
407         "content": "curl https://{domain}/api/analytics/default_reports/{id}/preview -v -u {name}:{password} -X GET",
408         "type": "json"
409       }
410     ],
411     "name": "preview",
412     "group": "Analytic_Default_Reports",
413     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
414     "version": "0.0.0",
415     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticDefaultReport/index.js",
416     "groupTitle": "Analytic_Default_Reports"
417   },
418   {
419     "type": "get",
420     "url": "/api/analytics/default_reports/{id}/query",
421     "title": "Report Query SQL",
422     "examples": [
423       {
424         "title": "Example usage:",
425         "content": "curl https://{domain}/api/analytics/default_reports/{id}/query -v -u {name}:{password} -X GET",
426         "type": "json"
427       }
428     ],
429     "name": "query",
430     "group": "Analytic_Default_Reports",
431     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
432     "version": "0.0.0",
433     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticDefaultReport/index.js",
434     "groupTitle": "Analytic_Default_Reports"
435   },
436   {
437     "type": "get",
438     "url": "/api/analytics/default_reports/{id}/run",
439     "title": "Report Run",
440     "examples": [
441       {
442         "title": "Example usage:",
443         "content": "curl https://{domain}/api/analytics/default_reports/{id}/run -v -u {name}:{password} -X GET",
444         "type": "json"
445       }
446     ],
447     "name": "run",
448     "group": "Analytic_Default_Reports",
449     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
450     "version": "0.0.0",
451     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticDefaultReport/index.js",
452     "groupTitle": "Analytic_Default_Reports"
453   },
454   {
455     "type": "put",
456     "url": "/api/analytics/default_reports/{id}",
457     "title": "Update an existing Analytic Default Report",
458     "examples": [
459       {
460         "title": "Example usage:",
461         "content": "curl https://{domain}/api/analytics/default_reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
462         "type": "json"
463       }
464     ],
465     "name": "updateAnalytic_Default_Reports",
466     "group": "Analytic_Default_Reports",
467     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
468     "version": "0.0.0",
469     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticDefaultReport/index.js",
470     "groupTitle": "Analytic_Default_Reports"
471   },
472   {
473     "type": "post",
474     "url": "/api/analytics/extracted_reports",
475     "title": "Creates a new Analytic Extracted Report",
476     "examples": [
477       {
478         "title": "Example usage:",
479         "content": "curl https://{domain}/api/analytics/extracted_reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
480         "type": "json"
481       }
482     ],
483     "name": "CreateAnalytic_Extacted_Reports",
484     "group": "Analytic_Extracted_Reports",
485     "parameter": {
486       "fields": {
487         "Body": [
488           {
489             "group": "Body",
490             "type": "String",
491             "optional": false,
492             "field": "name",
493             "description": ""
494           },
495           {
496             "group": "Body",
497             "type": "String",
498             "optional": false,
499             "field": "basename",
500             "description": ""
501           },
502           {
503             "group": "Body",
504             "type": "String",
505             "allowedValues": [
506               "\"csv\"",
507               "\"pdf\"",
508               "\"xlsx\""
509             ],
510             "optional": false,
511             "field": "output",
512             "description": ""
513           },
514           {
515             "group": "Body",
516             "type": "String",
517             "optional": false,
518             "field": "savename",
519             "description": ""
520           },
521           {
522             "group": "Body",
523             "type": "String",
524             "optional": true,
525             "field": "startDate",
526             "description": ""
527           },
528           {
529             "group": "Body",
530             "type": "String",
531             "optional": true,
532             "field": "endDate",
533             "description": ""
534           },
535           {
536             "group": "Body",
537             "type": "String",
538             "optional": true,
539             "field": "status",
540             "description": ""
541           },
542           {
543             "group": "Body",
544             "type": "String",
545             "allowedValues": [
546               "\"manual\"",
547               "\"scheduled\""
548             ],
549             "optional": false,
550             "field": "type",
551             "description": ""
552           },
553           {
554             "group": "Body",
555             "type": "Integer",
556             "optional": true,
557             "field": "reportId",
558             "description": ""
559           },
560           {
561             "group": "Body",
562             "type": "String",
563             "optional": true,
564             "field": "reportType",
565             "description": ""
566           }
567         ]
568       }
569     },
570     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
571     "version": "0.0.0",
572     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticExtractedReport/index.js",
573     "groupTitle": "Analytic_Extracted_Reports"
574   },
575   {
576     "type": "delete",
577     "url": "/api/analytics/extracted_reports/{id}",
578     "title": "Deletes a Analytic Extracted Report",
579     "examples": [
580       {
581         "title": "Example usage:",
582         "content": "curl https://{domain}/api/analytics/extracted_reports/{id} -v -u {name}:{password} -X DELETE",
583         "type": "json"
584       }
585     ],
586     "name": "DeleteAnalytic_Extacted_Reports",
587     "group": "Analytic_Extracted_Reports",
588     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
589     "version": "0.0.0",
590     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticExtractedReport/index.js",
591     "groupTitle": "Analytic_Extracted_Reports"
592   },
593   {
594     "type": "get",
595     "url": "/api/analytics/extracted_reports",
596     "title": "Gets a list of Analytic Extacted Reports",
597     "examples": [
598       {
599         "title": "Example usage:",
600         "content": "curl https://{domain}/api/analytics/extracted_reports -v -u {name}:{password}",
601         "type": "json"
602       }
603     ],
604     "name": "GetAnalytic_Extacted_Reports",
605     "group": "Analytic_Extracted_Reports",
606     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/extracted_reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/extracted_reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/extracted_reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/extracted_reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/extracted_reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
607     "version": "0.0.0",
608     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticExtractedReport/index.js",
609     "groupTitle": "Analytic_Extracted_Reports"
610   },
611   {
612     "type": "get",
613     "url": "/api/analytics/extracted_reports/{id}",
614     "title": "Gets a single Analytic Extracted Report",
615     "examples": [
616       {
617         "title": "Example usage:",
618         "content": "curl https://{domain}/api/analytics/extracted_reports/{id} -v -u {name}:{password}",
619         "type": "json"
620       }
621     ],
622     "name": "ShowAnalytic_Extacted_Reports",
623     "group": "Analytic_Extracted_Reports",
624     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
625     "version": "0.0.0",
626     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticExtractedReport/index.js",
627     "groupTitle": "Analytic_Extracted_Reports"
628   },
629   {
630     "type": "get",
631     "url": "/api/analytics/extracted_reports/{id}/download",
632     "title": "Download Extracted Report",
633     "examples": [
634       {
635         "title": "Example usage:",
636         "content": "curl https://{domain}/api/analytics/extracted_reports/{id}/download -v -u {name}:{password} -X GET",
637         "type": "json"
638       }
639     ],
640     "name": "download",
641     "group": "Analytic_Extracted_Reports",
642     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
643     "version": "0.0.0",
644     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticExtractedReport/index.js",
645     "groupTitle": "Analytic_Extracted_Reports"
646   },
647   {
648     "type": "put",
649     "url": "/api/analytics/extracted_reports/{id}",
650     "title": "Update an existing Analytic Extracted Report",
651     "examples": [
652       {
653         "title": "Example usage:",
654         "content": "curl https://{domain}/api/analytics/extracted_reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
655         "type": "json"
656       }
657     ],
658     "name": "updateAnalytic_Extacted_Reports",
659     "group": "Analytic_Extracted_Reports",
660     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
661     "version": "0.0.0",
662     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticExtractedReport/index.js",
663     "groupTitle": "Analytic_Extracted_Reports"
664   },
665   {
666     "type": "post",
667     "url": "/api/analytics/field_reports/create_many",
668     "title": "Creates many Analytic Field Reports",
669     "examples": [
670       {
671         "title": "Example usage:",
672         "content": "curl https://{domain}/api/analytics/field_reports/create_many -d '[{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}]' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
673         "type": "json"
674       }
675     ],
676     "name": "BulkCreateAnalytic_Field_Reports",
677     "group": "Analytic_Field_Reports",
678     "parameter": {
679       "fields": {
680         "Body": [
681           {
682             "group": "Body",
683             "type": "Text",
684             "optional": true,
685             "field": "field",
686             "description": ""
687           },
688           {
689             "group": "Body",
690             "type": "String",
691             "optional": true,
692             "field": "alias",
693             "description": ""
694           },
695           {
696             "group": "Body",
697             "type": "String",
698             "optional": true,
699             "field": "function",
700             "description": ""
701           },
702           {
703             "group": "Body",
704             "type": "String",
705             "optional": true,
706             "field": "format",
707             "description": ""
708           },
709           {
710             "group": "Body",
711             "type": "Boolean",
712             "optional": true,
713             "field": "groupBy",
714             "description": ""
715           },
716           {
717             "group": "Body",
718             "type": "String",
719             "optional": true,
720             "field": "orderBy",
721             "description": ""
722           },
723           {
724             "group": "Body",
725             "type": "Boolean",
726             "optional": true,
727             "field": "custom",
728             "description": ""
729           }
730         ]
731       }
732     },
733     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
734     "version": "0.0.0",
735     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticFieldReport/index.js",
736     "groupTitle": "Analytic_Field_Reports"
737   },
738   {
739     "type": "delete",
740     "url": "/api/analytics/field_reports/destroy_many?ids={ids}",
741     "title": "Deletes many Analytic Field Reports",
742     "examples": [
743       {
744         "title": "Example usage:",
745         "content": "curl https://{domain}/api/analytics/field_reports/destroy_many?ids=1&ids=2&ids=3 -v -u {name}:{password} -X DELETE",
746         "type": "json"
747       }
748     ],
749     "name": "BulkDeleteAnalytic_Field_Reports",
750     "group": "Analytic_Field_Reports",
751     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
752     "version": "0.0.0",
753     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticFieldReport/index.js",
754     "groupTitle": "Analytic_Field_Reports"
755   },
756   {
757     "type": "post",
758     "url": "/api/analytics/field_reports",
759     "title": "Creates a new Analytic Field Report",
760     "examples": [
761       {
762         "title": "Example usage:",
763         "content": "curl https://{domain}/api/analytics/field_reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
764         "type": "json"
765       }
766     ],
767     "name": "CreateAnalytic_Field_Reports",
768     "group": "Analytic_Field_Reports",
769     "parameter": {
770       "fields": {
771         "Body": [
772           {
773             "group": "Body",
774             "type": "Text",
775             "optional": true,
776             "field": "field",
777             "description": ""
778           },
779           {
780             "group": "Body",
781             "type": "String",
782             "optional": true,
783             "field": "alias",
784             "description": ""
785           },
786           {
787             "group": "Body",
788             "type": "String",
789             "optional": true,
790             "field": "function",
791             "description": ""
792           },
793           {
794             "group": "Body",
795             "type": "String",
796             "optional": true,
797             "field": "format",
798             "description": ""
799           },
800           {
801             "group": "Body",
802             "type": "Boolean",
803             "optional": true,
804             "field": "groupBy",
805             "description": ""
806           },
807           {
808             "group": "Body",
809             "type": "String",
810             "optional": true,
811             "field": "orderBy",
812             "description": ""
813           },
814           {
815             "group": "Body",
816             "type": "Boolean",
817             "optional": true,
818             "field": "custom",
819             "description": ""
820           }
821         ]
822       }
823     },
824     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
825     "version": "0.0.0",
826     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticFieldReport/index.js",
827     "groupTitle": "Analytic_Field_Reports"
828   },
829   {
830     "type": "delete",
831     "url": "/api/analytics/field_reports/{id}",
832     "title": "Deletes a Analytic Field Report",
833     "examples": [
834       {
835         "title": "Example usage:",
836         "content": "curl https://{domain}/api/analytics/field_reports/{id} -v -u {name}:{password} -X DELETE",
837         "type": "json"
838       }
839     ],
840     "name": "DeleteAnalytic_Field_Reports",
841     "group": "Analytic_Field_Reports",
842     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
843     "version": "0.0.0",
844     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticFieldReport/index.js",
845     "groupTitle": "Analytic_Field_Reports"
846   },
847   {
848     "type": "get",
849     "url": "/api/analytics/field_reports",
850     "title": "Gets a list of Analytic Field Reports",
851     "examples": [
852       {
853         "title": "Example usage:",
854         "content": "curl https://{domain}/api/analytics/field_reports -v -u {name}:{password}",
855         "type": "json"
856       }
857     ],
858     "name": "GetAnalytic_Field_Reports",
859     "group": "Analytic_Field_Reports",
860     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/field_reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/field_reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/field_reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/field_reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/field_reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
861     "version": "0.0.0",
862     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticFieldReport/index.js",
863     "groupTitle": "Analytic_Field_Reports"
864   },
865   {
866     "type": "get",
867     "url": "/api/analytics/field_reports/{id}",
868     "title": "Gets a single Analytic Field Report",
869     "examples": [
870       {
871         "title": "Example usage:",
872         "content": "curl https://{domain}/api/analytics/field_reports/{id} -v -u {name}:{password}",
873         "type": "json"
874       }
875     ],
876     "name": "ShowAnalytic_Field_Reports",
877     "group": "Analytic_Field_Reports",
878     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
879     "version": "0.0.0",
880     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticFieldReport/index.js",
881     "groupTitle": "Analytic_Field_Reports"
882   },
883   {
884     "type": "post",
885     "url": "/api/analytics/field_reports/{id}/create_many",
886     "title": "Rewrite fields set",
887     "examples": [
888       {
889         "title": "Example usage:",
890         "content": "curl https://{domain}/api/analytics/field_reports/{id}/create_many -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
891         "type": "json"
892       }
893     ],
894     "name": "addFields",
895     "group": "Analytic_Field_Reports",
896     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
897     "version": "0.0.0",
898     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticFieldReport/index.js",
899     "groupTitle": "Analytic_Field_Reports"
900   },
901   {
902     "type": "put",
903     "url": "/api/analytics/field_reports/{id}",
904     "title": "Update an existing Analytic Field Report",
905     "examples": [
906       {
907         "title": "Example usage:",
908         "content": "curl https://{domain}/api/analytics/field_reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
909         "type": "json"
910       }
911     ],
912     "name": "updateAnalytic_Field_Reports",
913     "group": "Analytic_Field_Reports",
914     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
915     "version": "0.0.0",
916     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticFieldReport/index.js",
917     "groupTitle": "Analytic_Field_Reports"
918   },
919   {
920     "type": "post",
921     "url": "/api/analytics/metrics",
922     "title": "Creates a new Analytic Metrics",
923     "examples": [
924       {
925         "title": "Example usage:",
926         "content": "curl https://{domain}/api/analytics/metrics -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
927         "type": "json"
928       }
929     ],
930     "name": "CreateAnalytic_Metric",
931     "group": "Analytic_Metrics",
932     "parameter": {
933       "fields": {
934         "Body": [
935           {
936             "group": "Body",
937             "type": "String",
938             "optional": false,
939             "field": "name",
940             "description": ""
941           },
942           {
943             "group": "Body",
944             "type": "String",
945             "optional": true,
946             "field": "table",
947             "description": ""
948           },
949           {
950             "group": "Body",
951             "type": "Text",
952             "optional": true,
953             "field": "metric",
954             "description": ""
955           },
956           {
957             "group": "Body",
958             "type": "String",
959             "optional": true,
960             "field": "description",
961             "description": ""
962           }
963         ]
964       }
965     },
966     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
967     "version": "0.0.0",
968     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticMetric/index.js",
969     "groupTitle": "Analytic_Metrics"
970   },
971   {
972     "type": "delete",
973     "url": "/api/analytics/metrics/{id}",
974     "title": "Deletes a Analytic Metrics",
975     "examples": [
976       {
977         "title": "Example usage:",
978         "content": "curl https://{domain}/api/analytics/metrics/{id} -v -u {name}:{password} -X DELETE",
979         "type": "json"
980       }
981     ],
982     "name": "DeleteAnalytic_Metric",
983     "group": "Analytic_Metrics",
984     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
985     "version": "0.0.0",
986     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticMetric/index.js",
987     "groupTitle": "Analytic_Metrics"
988   },
989   {
990     "type": "get",
991     "url": "/api/analytics/metrics",
992     "title": "Gets a list of Analytic Metric",
993     "examples": [
994       {
995         "title": "Example usage:",
996         "content": "curl https://{domain}/api/analytics/metrics -v -u {name}:{password}",
997         "type": "json"
998       }
999     ],
1000     "name": "GetAnalytic_Metric",
1001     "group": "Analytic_Metrics",
1002     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/metrics?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/metrics?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/metrics?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/metrics?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/metrics?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
1003     "version": "0.0.0",
1004     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticMetric/index.js",
1005     "groupTitle": "Analytic_Metrics"
1006   },
1007   {
1008     "type": "get",
1009     "url": "/api/analytics/metrics/{id}",
1010     "title": "Gets a single Analytic Metrics",
1011     "examples": [
1012       {
1013         "title": "Example usage:",
1014         "content": "curl https://{domain}/api/analytics/metrics/{id} -v -u {name}:{password}",
1015         "type": "json"
1016       }
1017     ],
1018     "name": "ShowAnalytic_Metric",
1019     "group": "Analytic_Metrics",
1020     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1021     "version": "0.0.0",
1022     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticMetric/index.js",
1023     "groupTitle": "Analytic_Metrics"
1024   },
1025   {
1026     "type": "put",
1027     "url": "/api/analytics/metrics/{id}",
1028     "title": "Update an existing Analytic Metrics",
1029     "examples": [
1030       {
1031         "title": "Example usage:",
1032         "content": "curl https://{domain}/api/analytics/metrics/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1033         "type": "json"
1034       }
1035     ],
1036     "name": "updateAnalytic_Metric",
1037     "group": "Analytic_Metrics",
1038     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1039     "version": "0.0.0",
1040     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticMetric/index.js",
1041     "groupTitle": "Analytic_Metrics"
1042   },
1043   {
1044     "type": "post",
1045     "url": "/api/analytics/tree_reports",
1046     "title": "Creates a new Analytic Tree Report",
1047     "examples": [
1048       {
1049         "title": "Example usage:",
1050         "content": "curl https://{domain}/api/analytics/tree_reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
1051         "type": "json"
1052       }
1053     ],
1054     "name": "CreateAnalytic_Tree_Reports",
1055     "group": "Analytic_Tree_Reports",
1056     "parameter": {
1057       "fields": {
1058         "Body": [
1059           {
1060             "group": "Body",
1061             "type": "Text",
1062             "optional": false,
1063             "field": "tree",
1064             "description": ""
1065           }
1066         ]
1067       }
1068     },
1069     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1070     "version": "0.0.0",
1071     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticTreeReport/index.js",
1072     "groupTitle": "Analytic_Tree_Reports"
1073   },
1074   {
1075     "type": "delete",
1076     "url": "/api/analytics/tree_reports/{id}",
1077     "title": "Deletes a Analytic Tree Report",
1078     "examples": [
1079       {
1080         "title": "Example usage:",
1081         "content": "curl https://{domain}/api/analytics/tree_reports/{id} -v -u {name}:{password} -X DELETE",
1082         "type": "json"
1083       }
1084     ],
1085     "name": "DeleteAnalytic_Tree_Reports",
1086     "group": "Analytic_Tree_Reports",
1087     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1088     "version": "0.0.0",
1089     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticTreeReport/index.js",
1090     "groupTitle": "Analytic_Tree_Reports"
1091   },
1092   {
1093     "type": "get",
1094     "url": "/api/analytics/tree_reports",
1095     "title": "Gets a list of Analytic Tree Reports",
1096     "examples": [
1097       {
1098         "title": "Example usage:",
1099         "content": "curl https://{domain}/api/analytics/tree_reports -v -u {name}:{password}",
1100         "type": "json"
1101       }
1102     ],
1103     "name": "GetAnalytic_Tree_Reports",
1104     "group": "Analytic_Tree_Reports",
1105     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/analytics/tree_reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/analytics/tree_reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/analytics/tree_reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/analytics/tree_reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/analytics/tree_reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
1106     "version": "0.0.0",
1107     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticTreeReport/index.js",
1108     "groupTitle": "Analytic_Tree_Reports"
1109   },
1110   {
1111     "type": "get",
1112     "url": "/api/analytics/tree_reports/{id}",
1113     "title": "Gets a single Analytic Tree Report",
1114     "examples": [
1115       {
1116         "title": "Example usage:",
1117         "content": "curl https://{domain}/api/analytics/tree_reports/{id} -v -u {name}:{password}",
1118         "type": "json"
1119       }
1120     ],
1121     "name": "ShowAnalytic_Tree_Reports",
1122     "group": "Analytic_Tree_Reports",
1123     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1124     "version": "0.0.0",
1125     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticTreeReport/index.js",
1126     "groupTitle": "Analytic_Tree_Reports"
1127   },
1128   {
1129     "type": "put",
1130     "url": "/api/analytics/tree_reports/{id}",
1131     "title": "Update an existing Analytic Tree Report",
1132     "examples": [
1133       {
1134         "title": "Example usage:",
1135         "content": "curl https://{domain}/api/analytics/tree_reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1136         "type": "json"
1137       }
1138     ],
1139     "name": "updateAnalytic_Tree_Reports",
1140     "group": "Analytic_Tree_Reports",
1141     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1142     "version": "0.0.0",
1143     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/analyticTreeReport/index.js",
1144     "groupTitle": "Analytic_Tree_Reports"
1145   },
1146   {
1147     "type": "post",
1148     "url": "/api/attachments/clone",
1149     "title": "Clone an existing Attachment",
1150     "examples": [
1151       {
1152         "title": "Example usage:",
1153         "content": "curl https://{domain}/api/attachments/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
1154         "type": "json"
1155       }
1156     ],
1157     "name": "CloneAttachments",
1158     "group": "Attachments",
1159     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1160     "version": "0.0.0",
1161     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/attachment/index.js",
1162     "groupTitle": "Attachments"
1163   },
1164   {
1165     "type": "post",
1166     "url": "/CreateAttachment",
1167     "title": "Creates a new Attachment",
1168     "name": "CreateAttachment",
1169     "group": "Attachments",
1170     "version": "0.0.0",
1171     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/attachment/attachment.rpc.js",
1172     "groupTitle": "Attachments"
1173   },
1174   {
1175     "type": "delete",
1176     "url": "/api/attachments/{id}",
1177     "title": "Deletes a Attachment",
1178     "examples": [
1179       {
1180         "title": "Example usage:",
1181         "content": "curl https://{domain}/api/attachments/{id} -v -u {name}:{password} -X DELETE",
1182         "type": "json"
1183       }
1184     ],
1185     "name": "DeleteAttachments",
1186     "group": "Attachments",
1187     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1188     "version": "0.0.0",
1189     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/attachment/index.js",
1190     "groupTitle": "Attachments"
1191   },
1192   {
1193     "type": "get",
1194     "url": "/api/attachments",
1195     "title": "Gets a list of Attachments",
1196     "examples": [
1197       {
1198         "title": "Example usage:",
1199         "content": "curl https://{domain}/api/attachments -v -u {name}:{password}",
1200         "type": "json"
1201       }
1202     ],
1203     "name": "GetAttachments",
1204     "group": "Attachments",
1205     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/attachments?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/attachments?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/attachments?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/attachments?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/attachments?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
1206     "version": "0.0.0",
1207     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/attachment/index.js",
1208     "groupTitle": "Attachments"
1209   },
1210   {
1211     "type": "get",
1212     "url": "/api/attachments/{id}",
1213     "title": "Gets a single Attachment",
1214     "examples": [
1215       {
1216         "title": "Example usage:",
1217         "content": "curl https://{domain}/api/attachments/{id} -v -u {name}:{password}",
1218         "type": "json"
1219       }
1220     ],
1221     "name": "ShowAttachments",
1222     "group": "Attachments",
1223     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1224     "version": "0.0.0",
1225     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/attachment/index.js",
1226     "groupTitle": "Attachments"
1227   },
1228   {
1229     "type": "post",
1230     "url": "/api/attachments",
1231     "title": "Add attachment",
1232     "examples": [
1233       {
1234         "title": "Example usage:",
1235         "content": "curl https://{domain}/api/attachments -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
1236         "type": "json"
1237       }
1238     ],
1239     "name": "create",
1240     "group": "Attachments",
1241     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1242     "version": "0.0.0",
1243     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/attachment/index.js",
1244     "groupTitle": "Attachments"
1245   },
1246   {
1247     "type": "get",
1248     "url": "/api/attachments/:id/download",
1249     "title": "Download attachment",
1250     "examples": [
1251       {
1252         "title": "Example usage:",
1253         "content": "curl https://{domain}/api/attachments/:id/download -v -u {name}:{password} -X GET",
1254         "type": "json"
1255       }
1256     ],
1257     "name": "download",
1258     "group": "Attachments",
1259     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1260     "version": "0.0.0",
1261     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/attachment/index.js",
1262     "groupTitle": "Attachments"
1263   },
1264   {
1265     "type": "get",
1266     "url": "/api/chat/interactions/{id}/attachment_download",
1267     "title": "Download attachment",
1268     "examples": [
1269       {
1270         "title": "Example usage:",
1271         "content": "curl https://{domain}/api/chat/interactions/{id}/attachment_download -v -u {name}:{password} -X GET",
1272         "type": "json"
1273       }
1274     ],
1275     "name": "show",
1276     "group": "Attachments",
1277     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1278     "version": "0.0.0",
1279     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
1280     "groupTitle": "Attachments"
1281   },
1282   {
1283     "type": "put",
1284     "url": "/api/attachments/{id}",
1285     "title": "Update an existing Attachment",
1286     "examples": [
1287       {
1288         "title": "Example usage:",
1289         "content": "curl https://{domain}/api/attachments/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1290         "type": "json"
1291       }
1292     ],
1293     "name": "updateAttachments",
1294     "group": "Attachments",
1295     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1296     "version": "0.0.0",
1297     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/attachment/index.js",
1298     "groupTitle": "Attachments"
1299   },
1300   {
1301     "type": "post",
1302     "url": "/api/auth/local/forgot",
1303     "title": "Creates a new password reset token",
1304     "examples": [
1305       {
1306         "title": "Example usage:",
1307         "content": "curl https://{domain}/api/auth/local/forgot -d '{\"email\": \"john.doe@xcally.com\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1308         "type": "json"
1309       }
1310     ],
1311     "name": "Local_Forgot_Password",
1312     "group": "Authentication",
1313     "parameter": {
1314       "fields": {
1315         "Body": [
1316           {
1317             "group": "Body",
1318             "type": "String",
1319             "optional": false,
1320             "field": "email",
1321             "description": ""
1322           }
1323         ]
1324       }
1325     },
1326     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1327     "version": "0.0.0",
1328     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/authLocal/index.js",
1329     "groupTitle": "Authentication"
1330   },
1331   {
1332     "type": "post",
1333     "url": "/api/auth/local/reset/:token",
1334     "title": "Reset user password",
1335     "examples": [
1336       {
1337         "title": "Example usage:",
1338         "content": "curl https://{domain}/api/auth/local/reset/94b422c1fkdjhg766a198da6997yu6gcc963641d -d '{\"password\": \"My_newP@ssw0rd\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1339         "type": "json"
1340       }
1341     ],
1342     "name": "Local_Reset_Password",
1343     "group": "Authentication",
1344     "parameter": {
1345       "fields": {
1346         "Body": [
1347           {
1348             "group": "Body",
1349             "type": "String",
1350             "optional": false,
1351             "field": "password",
1352             "description": ""
1353           }
1354         ]
1355       }
1356     },
1357     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1358     "version": "0.0.0",
1359     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/authLocal/index.js",
1360     "groupTitle": "Authentication"
1361   },
1362   {
1363     "type": "post",
1364     "url": "/api/auth/google",
1365     "title": "Creates a new User token",
1366     "examples": [
1367       {
1368         "title": "Example usage:",
1369         "content": "curl https://{domain}/api/auth/google -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1370         "type": "json"
1371       }
1372     ],
1373     "name": "Local_login",
1374     "group": "Authentication",
1375     "parameter": {
1376       "fields": {
1377         "Body": [
1378           {
1379             "group": "Body",
1380             "type": "String",
1381             "optional": false,
1382             "field": "name",
1383             "description": ""
1384           },
1385           {
1386             "group": "Body",
1387             "type": "String",
1388             "optional": false,
1389             "field": "password",
1390             "description": ""
1391           }
1392         ]
1393       }
1394     },
1395     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1396     "version": "0.0.0",
1397     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/authGoogle/index.js",
1398     "groupTitle": "Authentication"
1399   },
1400   {
1401     "type": "post",
1402     "url": "/api/auth/local",
1403     "title": "Creates a new User token",
1404     "examples": [
1405       {
1406         "title": "Example usage:",
1407         "content": "curl https://{domain}/api/auth/local -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1408         "type": "json"
1409       }
1410     ],
1411     "name": "Local_login",
1412     "group": "Authentication",
1413     "parameter": {
1414       "fields": {
1415         "Body": [
1416           {
1417             "group": "Body",
1418             "type": "String",
1419             "optional": false,
1420             "field": "name",
1421             "description": ""
1422           },
1423           {
1424             "group": "Body",
1425             "type": "String",
1426             "optional": false,
1427             "field": "password",
1428             "description": ""
1429           }
1430         ]
1431       }
1432     },
1433     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1434     "version": "0.0.0",
1435     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/authLocal/index.js",
1436     "groupTitle": "Authentication"
1437   },
1438   {
1439     "type": "post",
1440     "url": "/api/automations",
1441     "title": "Creates a new Automation",
1442     "examples": [
1443       {
1444         "title": "Example usage:",
1445         "content": "curl https://{domain}/api/automations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
1446         "type": "json"
1447       }
1448     ],
1449     "name": "CreateAutomations",
1450     "group": "Automations",
1451     "parameter": {
1452       "fields": {
1453         "Body": [
1454           {
1455             "group": "Body",
1456             "type": "String",
1457             "optional": false,
1458             "field": "name",
1459             "description": ""
1460           },
1461           {
1462             "group": "Body",
1463             "type": "String",
1464             "optional": true,
1465             "field": "channel",
1466             "description": ""
1467           },
1468           {
1469             "group": "Body",
1470             "type": "String",
1471             "optional": true,
1472             "field": "description",
1473             "description": ""
1474           },
1475           {
1476             "group": "Body",
1477             "type": "Boolean",
1478             "optional": true,
1479             "field": "status",
1480             "description": ""
1481           },
1482           {
1483             "group": "Body",
1484             "type": "Integer",
1485             "optional": true,
1486             "field": "timeout",
1487             "description": ""
1488           }
1489         ]
1490       }
1491     },
1492     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1493     "version": "0.0.0",
1494     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/automation/index.js",
1495     "groupTitle": "Automations"
1496   },
1497   {
1498     "type": "delete",
1499     "url": "/api/automations/{id}",
1500     "title": "Deletes a Automation",
1501     "examples": [
1502       {
1503         "title": "Example usage:",
1504         "content": "curl https://{domain}/api/automations/{id} -v -u {name}:{password} -X DELETE",
1505         "type": "json"
1506       }
1507     ],
1508     "name": "DeleteAutomations",
1509     "group": "Automations",
1510     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1511     "version": "0.0.0",
1512     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/automation/index.js",
1513     "groupTitle": "Automations"
1514   },
1515   {
1516     "type": "get",
1517     "url": "/api/automations",
1518     "title": "Gets a list of Automations",
1519     "examples": [
1520       {
1521         "title": "Example usage:",
1522         "content": "curl https://{domain}/api/automations -v -u {name}:{password}",
1523         "type": "json"
1524       }
1525     ],
1526     "name": "GetAutomations",
1527     "group": "Automations",
1528     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/automations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/automations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/automations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/automations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/automations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
1529     "version": "0.0.0",
1530     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/automation/index.js",
1531     "groupTitle": "Automations"
1532   },
1533   {
1534     "type": "get",
1535     "url": "/api/automations/{id}",
1536     "title": "Gets a single Automation",
1537     "examples": [
1538       {
1539         "title": "Example usage:",
1540         "content": "curl https://{domain}/api/automations/{id} -v -u {name}:{password}",
1541         "type": "json"
1542       }
1543     ],
1544     "name": "ShowAutomations",
1545     "group": "Automations",
1546     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1547     "version": "0.0.0",
1548     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/automation/index.js",
1549     "groupTitle": "Automations"
1550   },
1551   {
1552     "type": "post",
1553     "url": "/api/automations/{id}/actions",
1554     "title": "Creates new actions",
1555     "examples": [
1556       {
1557         "title": "Example usage:",
1558         "content": "curl https://{domain}/api/automations/{id}/actions -d '[{\"firstName\": \"John Doe\", \"email\": \"john.doe@xcally.com\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
1559         "type": "json"
1560       }
1561     ],
1562     "name": "addActions",
1563     "group": "Automations",
1564     "parameter": {
1565       "fields": {
1566         "Body": [
1567           {
1568             "group": "Body",
1569             "type": "Virtual",
1570             "optional": true,
1571             "field": "name",
1572             "description": ""
1573           },
1574           {
1575             "group": "Body",
1576             "type": "String",
1577             "optional": false,
1578             "field": "action",
1579             "description": "<p>Allowed values: contactManager, integration, motionbar, jscripty, urlForward, browser, bot, script</p>"
1580           },
1581           {
1582             "group": "Body",
1583             "type": "String",
1584             "optional": true,
1585             "field": "data1",
1586             "description": "<p>contactManager[ListId], integration[intName(zendesk)], motionbar[Popup(0),URL(1),WinApp(2)], urlForward[GET,POST], browser[TemplateId(0),URL(1)]</p>"
1587           },
1588           {
1589             "group": "Body",
1590             "type": "String",
1591             "optional": true,
1592             "field": "data2",
1593             "description": "<p>integration[AccountId], motionbar[TemplateId,URL,WinAppPath], urlForward[URL]</p>"
1594           },
1595           {
1596             "group": "Body",
1597             "type": "String",
1598             "optional": true,
1599             "field": "data3",
1600             "description": "<p>motionbar[NULL,NULL,WinAppArguments]</p>"
1601           },
1602           {
1603             "group": "Body",
1604             "type": "String",
1605             "optional": true,
1606             "field": "data4",
1607             "description": ""
1608           },
1609           {
1610             "group": "Body",
1611             "type": "String",
1612             "optional": true,
1613             "field": "data5",
1614             "description": ""
1615           },
1616           {
1617             "group": "Body",
1618             "type": "String",
1619             "optional": true,
1620             "field": "data6",
1621             "description": ""
1622           },
1623           {
1624             "group": "Body",
1625             "type": "Text",
1626             "optional": true,
1627             "field": "data7",
1628             "description": ""
1629           }
1630         ]
1631       }
1632     },
1633     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1634     "version": "0.0.0",
1635     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/automation/index.js",
1636     "groupTitle": "Automations"
1637   },
1638   {
1639     "type": "post",
1640     "url": "/api/automations/{id}/conditions",
1641     "title": "Creates new conditions",
1642     "examples": [
1643       {
1644         "title": "Example usage:",
1645         "content": "curl https://{domain}/api/automations/{id}/conditions -d '[{\"firstName\": \"John Doe\", \"email\": \"john.doe@xcally.com\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
1646         "type": "json"
1647       }
1648     ],
1649     "name": "addConditions",
1650     "group": "Automations",
1651     "parameter": {
1652       "fields": {
1653         "Body": [
1654           {
1655             "group": "Body",
1656             "type": "Virtual",
1657             "optional": true,
1658             "field": "name",
1659             "description": ""
1660           },
1661           {
1662             "group": "Body",
1663             "type": "String",
1664             "optional": false,
1665             "field": "field",
1666             "description": ""
1667           },
1668           {
1669             "group": "Body",
1670             "type": "String",
1671             "optional": false,
1672             "field": "operator",
1673             "description": ""
1674           },
1675           {
1676             "group": "Body",
1677             "type": "String",
1678             "optional": false,
1679             "field": "value",
1680             "description": ""
1681           }
1682         ]
1683       }
1684     },
1685     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1686     "version": "0.0.0",
1687     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/automation/index.js",
1688     "groupTitle": "Automations"
1689   },
1690   {
1691     "type": "get",
1692     "url": "/api/automations/{id}/actions",
1693     "title": "Gets Automation Actions",
1694     "examples": [
1695       {
1696         "title": "Example usage:",
1697         "content": "curl https://{domain}/api/automations/{id}/actions -v -u {name}:{password} -X GET",
1698         "type": "json"
1699       }
1700     ],
1701     "name": "getActions",
1702     "group": "Automations",
1703     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1704     "version": "0.0.0",
1705     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/automation/index.js",
1706     "groupTitle": "Automations"
1707   },
1708   {
1709     "type": "get",
1710     "url": "/api/automations/{id}/conditions",
1711     "title": "Gets Automation Conditions",
1712     "examples": [
1713       {
1714         "title": "Example usage:",
1715         "content": "curl https://{domain}/api/automations/{id}/conditions -v -u {name}:{password} -X GET",
1716         "type": "json"
1717       }
1718     ],
1719     "name": "getConditions",
1720     "group": "Automations",
1721     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1722     "version": "0.0.0",
1723     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/automation/index.js",
1724     "groupTitle": "Automations"
1725   },
1726   {
1727     "type": "put",
1728     "url": "/api/automations/{id}",
1729     "title": "Update an existing Automation",
1730     "examples": [
1731       {
1732         "title": "Example usage:",
1733         "content": "curl https://{domain}/api/automations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1734         "type": "json"
1735       }
1736     ],
1737     "name": "updateAutomations",
1738     "group": "Automations",
1739     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1740     "version": "0.0.0",
1741     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/automation/index.js",
1742     "groupTitle": "Automations"
1743   },
1744   {
1745     "type": "post",
1746     "url": "/api/canned_answers",
1747     "title": "Create a new canned answer",
1748     "examples": [
1749       {
1750         "title": "Example usage:",
1751         "content": "curl https://{domain}/api/canned_answers -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
1752         "type": "json"
1753       }
1754     ],
1755     "name": "Create",
1756     "group": "Canned_Answers",
1757     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1758     "version": "0.0.0",
1759     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cannedAnswer/index.js",
1760     "groupTitle": "Canned_Answers"
1761   },
1762   {
1763     "type": "delete",
1764     "url": "/api/canned_answers/{id}",
1765     "title": "Deletes a Canned Answer",
1766     "examples": [
1767       {
1768         "title": "Example usage:",
1769         "content": "curl https://{domain}/api/canned_answers/{id} -v -u {name}:{password} -X DELETE",
1770         "type": "json"
1771       }
1772     ],
1773     "name": "DeleteCanned_Answers",
1774     "group": "Canned_Answers",
1775     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1776     "version": "0.0.0",
1777     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cannedAnswer/index.js",
1778     "groupTitle": "Canned_Answers"
1779   },
1780   {
1781     "type": "get",
1782     "url": "/api/canned_answers",
1783     "title": "Gets a list of Canned Answers",
1784     "examples": [
1785       {
1786         "title": "Example usage:",
1787         "content": "curl https://{domain}/api/canned_answers -v -u {name}:{password}",
1788         "type": "json"
1789       }
1790     ],
1791     "name": "GetCanned_Answers",
1792     "group": "Canned_Answers",
1793     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/canned_answers?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/canned_answers?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/canned_answers?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/canned_answers?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/canned_answers?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
1794     "version": "0.0.0",
1795     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cannedAnswer/index.js",
1796     "groupTitle": "Canned_Answers"
1797   },
1798   {
1799     "type": "get",
1800     "url": "/api/canned_answers/{id}",
1801     "title": "Gets a single Canned Answer",
1802     "examples": [
1803       {
1804         "title": "Example usage:",
1805         "content": "curl https://{domain}/api/canned_answers/{id} -v -u {name}:{password}",
1806         "type": "json"
1807       }
1808     ],
1809     "name": "ShowCanned_Answers",
1810     "group": "Canned_Answers",
1811     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1812     "version": "0.0.0",
1813     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cannedAnswer/index.js",
1814     "groupTitle": "Canned_Answers"
1815   },
1816   {
1817     "type": "put",
1818     "url": "/api/canned_answers/{id}",
1819     "title": "Update an existing Canned Answer",
1820     "examples": [
1821       {
1822         "title": "Example usage:",
1823         "content": "curl https://{domain}/api/canned_answers/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1824         "type": "json"
1825       }
1826     ],
1827     "name": "updateCanned_Answers",
1828     "group": "Canned_Answers",
1829     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1830     "version": "0.0.0",
1831     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cannedAnswer/index.js",
1832     "groupTitle": "Canned_Answers"
1833   },
1834   {
1835     "type": "get",
1836     "url": "/chat/internal/users",
1837     "title": "Gets Users Last Messages",
1838     "examples": [
1839       {
1840         "title": "Example usage:",
1841         "content": "curl https://{domain}/chat/internal/users -v -u {name}:{password}  -X GET",
1842         "type": "json"
1843       }
1844     ],
1845     "name": "getLastUsersMessages",
1846     "group": "ChatInternalMessage",
1847     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1848     "version": "0.0.0",
1849     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInternalMessage/index.js",
1850     "groupTitle": "ChatInternalMessage"
1851   },
1852   {
1853     "type": "delete",
1854     "url": "/api/chat/applications/{id}",
1855     "title": "Deletes a Application",
1856     "examples": [
1857       {
1858         "title": "Example usage:",
1859         "content": "curl https://{domain}/api/chat/applications/{id} -v -u {name}:{password} -X DELETE",
1860         "type": "json"
1861       }
1862     ],
1863     "name": "DeleteApplications",
1864     "group": "Chat_Applications",
1865     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1866     "version": "0.0.0",
1867     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatApplication/index.js",
1868     "groupTitle": "Chat_Applications"
1869   },
1870   {
1871     "type": "get",
1872     "url": "/api/chat/applications/{id}",
1873     "title": "Gets a single Application",
1874     "examples": [
1875       {
1876         "title": "Example usage:",
1877         "content": "curl https://{domain}/api/chat/applications/{id} -v -u {name}:{password}",
1878         "type": "json"
1879       }
1880     ],
1881     "name": "ShowApplications",
1882     "group": "Chat_Applications",
1883     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1884     "version": "0.0.0",
1885     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatApplication/index.js",
1886     "groupTitle": "Chat_Applications"
1887   },
1888   {
1889     "type": "put",
1890     "url": "/api/chat/applications/{id}",
1891     "title": "Update an existing Application",
1892     "examples": [
1893       {
1894         "title": "Example usage:",
1895         "content": "curl https://{domain}/api/chat/applications/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1896         "type": "json"
1897       }
1898     ],
1899     "name": "updateApplications",
1900     "group": "Chat_Applications",
1901     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1902     "version": "0.0.0",
1903     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatApplication/index.js",
1904     "groupTitle": "Chat_Applications"
1905   },
1906   {
1907     "type": "post",
1908     "url": "/api/chat/groups",
1909     "title": "Creates a new Group",
1910     "examples": [
1911       {
1912         "title": "Example usage:",
1913         "content": "curl https://{domain}/api/chat/groups -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
1914         "type": "json"
1915       }
1916     ],
1917     "name": "CreateGroups",
1918     "group": "Chat_Groups",
1919     "parameter": {
1920       "fields": {
1921         "Body": [
1922           {
1923             "group": "Body",
1924             "type": "String",
1925             "optional": false,
1926             "field": "name",
1927             "description": ""
1928           },
1929           {
1930             "group": "Body",
1931             "type": "String",
1932             "optional": true,
1933             "field": "description",
1934             "description": ""
1935           },
1936           {
1937             "group": "Body",
1938             "type": "Boolean",
1939             "optional": true,
1940             "field": "write",
1941             "description": ""
1942           }
1943         ]
1944       }
1945     },
1946     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1947     "version": "0.0.0",
1948     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
1949     "groupTitle": "Chat_Groups"
1950   },
1951   {
1952     "type": "delete",
1953     "url": "/api/chat/groups/{id}",
1954     "title": "Deletes a Group",
1955     "examples": [
1956       {
1957         "title": "Example usage:",
1958         "content": "curl https://{domain}/api/chat/groups/{id} -v -u {name}:{password} -X DELETE",
1959         "type": "json"
1960       }
1961     ],
1962     "name": "DeleteGroups",
1963     "group": "Chat_Groups",
1964     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1965     "version": "0.0.0",
1966     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
1967     "groupTitle": "Chat_Groups"
1968   },
1969   {
1970     "type": "get",
1971     "url": "/api/chat/groups/describe",
1972     "title": "Gets table info about Groups",
1973     "examples": [
1974       {
1975         "title": "Example usage:",
1976         "content": "curl https://{domain}/api/chat/groups/describe -v -u {name}:{password}",
1977         "type": "json"
1978       }
1979     ],
1980     "name": "DescribeGroups",
1981     "group": "Chat_Groups",
1982     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1983     "version": "0.0.0",
1984     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
1985     "groupTitle": "Chat_Groups"
1986   },
1987   {
1988     "type": "get",
1989     "url": "/api/chat/groups",
1990     "title": "Gets a list of Groups",
1991     "examples": [
1992       {
1993         "title": "Example usage:",
1994         "content": "curl https://{domain}/api/chat/groups -v -u {name}:{password}",
1995         "type": "json"
1996       }
1997     ],
1998     "name": "GetGroups",
1999     "group": "Chat_Groups",
2000     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/chat/groups?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/chat/groups?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/chat/groups?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/chat/groups?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/chat/groups?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
2001     "version": "0.0.0",
2002     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
2003     "groupTitle": "Chat_Groups"
2004   },
2005   {
2006     "type": "delete",
2007     "url": "/api/chat/groups/{id}/members",
2008     "title": "Removes members from a group",
2009     "examples": [
2010       {
2011         "title": "Example usage:",
2012         "content": "curl https://{domain}/api/chat/groups/{id}/members?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
2013         "type": "json"
2014       }
2015     ],
2016     "name": "RemoveMembers",
2017     "group": "Chat_Groups",
2018     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2019     "version": "0.0.0",
2020     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
2021     "groupTitle": "Chat_Groups"
2022   },
2023   {
2024     "type": "get",
2025     "url": "/api/chat/groups/{id}",
2026     "title": "Gets a single Group",
2027     "examples": [
2028       {
2029         "title": "Example usage:",
2030         "content": "curl https://{domain}/api/chat/groups/{id} -v -u {name}:{password}",
2031         "type": "json"
2032       }
2033     ],
2034     "name": "ShowGroups",
2035     "group": "Chat_Groups",
2036     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2037     "version": "0.0.0",
2038     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
2039     "groupTitle": "Chat_Groups"
2040   },
2041   {
2042     "type": "post",
2043     "url": "/api/chat/groups/{id}/members",
2044     "title": "Add members to chat group",
2045     "examples": [
2046       {
2047         "title": "Example usage:",
2048         "content": "curl https://{domain}/api/chat/groups/{id}/members -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2049         "type": "json"
2050       }
2051     ],
2052     "name": "addMembers",
2053     "group": "Chat_Groups",
2054     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2055     "version": "0.0.0",
2056     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
2057     "groupTitle": "Chat_Groups"
2058   },
2059   {
2060     "type": "post",
2061     "url": "/api/chat/groups/{id}/messages",
2062     "title": "Creates a new group message",
2063     "examples": [
2064       {
2065         "title": "Example usage:",
2066         "content": "curl https://{domain}/api/chat/groups/{id}/messages -d '{\"body\": \"Hi operator!\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2067         "type": "json"
2068       }
2069     ],
2070     "name": "addMessage",
2071     "group": "Chat_Groups",
2072     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2073     "version": "0.0.0",
2074     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
2075     "groupTitle": "Chat_Groups"
2076   },
2077   {
2078     "type": "get",
2079     "url": "/api/chat/groups/{id}/members",
2080     "title": "Gets Members",
2081     "examples": [
2082       {
2083         "title": "Example usage:",
2084         "content": "curl https://{domain}/api/chat/groups/{id}/members -v -u {name}:{password} -X GET",
2085         "type": "json"
2086       }
2087     ],
2088     "name": "getMembers",
2089     "group": "Chat_Groups",
2090     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2091     "version": "0.0.0",
2092     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
2093     "groupTitle": "Chat_Groups"
2094   },
2095   {
2096     "type": "get",
2097     "url": "/api/chat/groups/{id}/messages",
2098     "title": "Gets Messages",
2099     "examples": [
2100       {
2101         "title": "Example usage:",
2102         "content": "curl https://{domain}/api/chat/groups/{id}/messages -v -u {name}:{password} -X GET",
2103         "type": "json"
2104       }
2105     ],
2106     "name": "getMessages",
2107     "group": "Chat_Groups",
2108     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2109     "version": "0.0.0",
2110     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
2111     "groupTitle": "Chat_Groups"
2112   },
2113   {
2114     "type": "get",
2115     "url": "/api/chat/groups/{id}/unread",
2116     "title": "Get unread chat group messages",
2117     "examples": [
2118       {
2119         "title": "Example usage:",
2120         "content": "curl https://{domain}/api/chat/groups/{id}/unread -H 'Content-Type: application/json' -v -u {name}:{password} -X GET",
2121         "type": "json"
2122       }
2123     ],
2124     "name": "getUread",
2125     "group": "Chat_Groups",
2126     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2127     "version": "0.0.0",
2128     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
2129     "groupTitle": "Chat_Groups"
2130   },
2131   {
2132     "type": "put",
2133     "url": "/api/chat/groups/{id}",
2134     "title": "Update an existing Group",
2135     "examples": [
2136       {
2137         "title": "Example usage:",
2138         "content": "curl https://{domain}/api/chat/groups/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
2139         "type": "json"
2140       }
2141     ],
2142     "name": "updateGroups",
2143     "group": "Chat_Groups",
2144     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2145     "version": "0.0.0",
2146     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatGroup/index.js",
2147     "groupTitle": "Chat_Groups"
2148   },
2149   {
2150     "type": "post",
2151     "url": "/api/chat/interactions/{id}/tags",
2152     "title": "Add tags to the interaction",
2153     "examples": [
2154       {
2155         "title": "Example usage:",
2156         "content": "curl https://{domain}/api/chat/interaction/{id}/tags -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2157         "type": "json"
2158       }
2159     ],
2160     "name": "AddTags",
2161     "group": "Chat_Interactions",
2162     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2163     "version": "0.0.0",
2164     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2165     "groupTitle": "Chat_Interactions"
2166   },
2167   {
2168     "type": "post",
2169     "url": "/AddTagsToChatInteraction",
2170     "title": "Add Tags to Chat interaction",
2171     "name": "AddTagsToChatInteraction",
2172     "group": "Chat_Interactions",
2173     "parameter": {
2174       "fields": {
2175         "Body": [
2176           {
2177             "group": "Body",
2178             "type": "Object",
2179             "optional": true,
2180             "field": "options.attributes",
2181             "description": ""
2182           },
2183           {
2184             "group": "Body",
2185             "type": "Object",
2186             "optional": false,
2187             "field": "options.where",
2188             "description": ""
2189           }
2190         ]
2191       }
2192     },
2193     "version": "0.0.0",
2194     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/chatInteraction.rpc.js",
2195     "groupTitle": "Chat_Interactions"
2196   },
2197   {
2198     "type": "post",
2199     "url": "/api/chat/interactions",
2200     "title": "Creates a new Interaction",
2201     "examples": [
2202       {
2203         "title": "Example usage:",
2204         "content": "curl https://{domain}/api/chat/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
2205         "type": "json"
2206       }
2207     ],
2208     "name": "CreateInteractions",
2209     "group": "Chat_Interactions",
2210     "parameter": {
2211       "fields": {
2212         "Body": [
2213           {
2214             "group": "Body",
2215             "type": "Boolean",
2216             "optional": true,
2217             "field": "closed",
2218             "description": ""
2219           },
2220           {
2221             "group": "Body",
2222             "type": "Integer",
2223             "optional": true,
2224             "field": "ratingValue",
2225             "description": ""
2226           },
2227           {
2228             "group": "Body",
2229             "type": "String",
2230             "allowedValues": [
2231               "\"star\"",
2232               "\"thumb\""
2233             ],
2234             "optional": true,
2235             "field": "ratingType",
2236             "description": ""
2237           },
2238           {
2239             "group": "Body",
2240             "type": "Text",
2241             "optional": true,
2242             "field": "ratingMessage",
2243             "description": ""
2244           },
2245           {
2246             "group": "Body",
2247             "type": "Text",
2248             "optional": true,
2249             "field": "pathTranscript",
2250             "description": ""
2251           },
2252           {
2253             "group": "Body",
2254             "type": "String",
2255             "optional": true,
2256             "field": "mailTranscript",
2257             "description": ""
2258           },
2259           {
2260             "group": "Body",
2261             "type": "String",
2262             "optional": true,
2263             "field": "closedAt",
2264             "description": ""
2265           },
2266           {
2267             "group": "Body",
2268             "type": "String",
2269             "optional": true,
2270             "field": "disposition",
2271             "description": ""
2272           },
2273           {
2274             "group": "Body",
2275             "type": "String",
2276             "optional": true,
2277             "field": "secondDisposition",
2278             "description": ""
2279           },
2280           {
2281             "group": "Body",
2282             "type": "String",
2283             "optional": true,
2284             "field": "thirdDisposition",
2285             "description": ""
2286           },
2287           {
2288             "group": "Body",
2289             "type": "String",
2290             "optional": true,
2291             "field": "note",
2292             "description": ""
2293           },
2294           {
2295             "group": "Body",
2296             "type": "String",
2297             "optional": true,
2298             "field": "browserName",
2299             "description": ""
2300           },
2301           {
2302             "group": "Body",
2303             "type": "String",
2304             "optional": true,
2305             "field": "browserVersion",
2306             "description": ""
2307           },
2308           {
2309             "group": "Body",
2310             "type": "String",
2311             "optional": true,
2312             "field": "osName",
2313             "description": ""
2314           },
2315           {
2316             "group": "Body",
2317             "type": "String",
2318             "optional": true,
2319             "field": "osVersion",
2320             "description": ""
2321           },
2322           {
2323             "group": "Body",
2324             "type": "String",
2325             "optional": true,
2326             "field": "deviceModel",
2327             "description": ""
2328           },
2329           {
2330             "group": "Body",
2331             "type": "String",
2332             "optional": true,
2333             "field": "deviceVendor",
2334             "description": ""
2335           },
2336           {
2337             "group": "Body",
2338             "type": "String",
2339             "optional": true,
2340             "field": "deviceType",
2341             "description": ""
2342           },
2343           {
2344             "group": "Body",
2345             "type": "Text",
2346             "optional": true,
2347             "field": "referer",
2348             "description": ""
2349           },
2350           {
2351             "group": "Body",
2352             "type": "String",
2353             "optional": true,
2354             "field": "customerIp",
2355             "description": ""
2356           },
2357           {
2358             "group": "Body",
2359             "type": "Text",
2360             "optional": true,
2361             "field": "formData",
2362             "description": ""
2363           },
2364           {
2365             "group": "Body",
2366             "type": "String",
2367             "optional": true,
2368             "field": "read1stAt",
2369             "description": ""
2370           },
2371           {
2372             "group": "Body",
2373             "type": "String",
2374             "optional": true,
2375             "field": "lastMsgAt",
2376             "description": ""
2377           },
2378           {
2379             "group": "Body",
2380             "type": "String",
2381             "allowedValues": [
2382               "\"in\"",
2383               "\"out\""
2384             ],
2385             "optional": false,
2386             "field": "lastMsgDirection",
2387             "description": ""
2388           },
2389           {
2390             "group": "Body",
2391             "type": "String",
2392             "optional": true,
2393             "field": "closeReason",
2394             "description": ""
2395           },
2396           {
2397             "group": "Body",
2398             "type": "String",
2399             "optional": true,
2400             "field": "customerPort",
2401             "description": ""
2402           },
2403           {
2404             "group": "Body",
2405             "type": "Text",
2406             "optional": true,
2407             "field": "vidaooSessionId",
2408             "description": ""
2409           }
2410         ]
2411       }
2412     },
2413     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2414     "version": "0.0.0",
2415     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2416     "groupTitle": "Chat_Interactions"
2417   },
2418   {
2419     "type": "delete",
2420     "url": "/api/chat/interactions/{id}",
2421     "title": "Deletes a Interaction",
2422     "examples": [
2423       {
2424         "title": "Example usage:",
2425         "content": "curl https://{domain}/api/chat/interactions/{id} -v -u {name}:{password} -X DELETE",
2426         "type": "json"
2427       }
2428     ],
2429     "name": "DeleteInteractions",
2430     "group": "Chat_Interactions",
2431     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2432     "version": "0.0.0",
2433     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2434     "groupTitle": "Chat_Interactions"
2435   },
2436   {
2437     "type": "get",
2438     "url": "/api/chat/interactions/describe",
2439     "title": "Gets table info about Interactions",
2440     "examples": [
2441       {
2442         "title": "Example usage:",
2443         "content": "curl https://{domain}/api/chat/interactions/describe -v -u {name}:{password}",
2444         "type": "json"
2445       }
2446     ],
2447     "name": "DescribeInteractions",
2448     "group": "Chat_Interactions",
2449     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2450     "version": "0.0.0",
2451     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2452     "groupTitle": "Chat_Interactions"
2453   },
2454   {
2455     "type": "get",
2456     "url": "/api/chat/interactions",
2457     "title": "Gets a list of Interactions",
2458     "examples": [
2459       {
2460         "title": "Example usage:",
2461         "content": "curl https://{domain}/api/chat/interactions -v -u {name}:{password}",
2462         "type": "json"
2463       }
2464     ],
2465     "name": "GetInteractions",
2466     "group": "Chat_Interactions",
2467     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/chat/interactions?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/chat/interactions?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/chat/interactions?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/chat/interactions?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/chat/interactions?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
2468     "version": "0.0.0",
2469     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2470     "groupTitle": "Chat_Interactions"
2471   },
2472   {
2473     "type": "delete",
2474     "url": "/api/chat/interactions/{id}/tags",
2475     "title": "Removes tags from interaction",
2476     "examples": [
2477       {
2478         "title": "Example usage:",
2479         "content": "curl https://{domain}/api/chat/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
2480         "type": "json"
2481       }
2482     ],
2483     "name": "RemoveTags",
2484     "group": "Chat_Interactions",
2485     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2486     "version": "0.0.0",
2487     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2488     "groupTitle": "Chat_Interactions"
2489   },
2490   {
2491     "type": "get",
2492     "url": "/api/chat/interactions/{id}",
2493     "title": "Gets a single Interaction",
2494     "examples": [
2495       {
2496         "title": "Example usage:",
2497         "content": "curl https://{domain}/api/chat/interactions/{id} -v -u {name}:{password}",
2498         "type": "json"
2499       }
2500     ],
2501     "name": "ShowInteractions",
2502     "group": "Chat_Interactions",
2503     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2504     "version": "0.0.0",
2505     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2506     "groupTitle": "Chat_Interactions"
2507   },
2508   {
2509     "type": "post",
2510     "url": "/UpdateChatInteraction",
2511     "title": "Updates a new Interaction",
2512     "name": "UpdateChatInteraction",
2513     "group": "Chat_Interactions",
2514     "parameter": {
2515       "fields": {
2516         "Body": [
2517           {
2518             "group": "Body",
2519             "type": "Object",
2520             "optional": true,
2521             "field": "options.attributes",
2522             "description": ""
2523           },
2524           {
2525             "group": "Body",
2526             "type": "Object",
2527             "optional": false,
2528             "field": "options.where",
2529             "description": ""
2530           }
2531         ]
2532       }
2533     },
2534     "version": "0.0.0",
2535     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/chatInteraction.rpc.js",
2536     "groupTitle": "Chat_Interactions"
2537   },
2538   {
2539     "type": "put",
2540     "url": "/api/chat/interactions/{id}/abandon",
2541     "title": "Abandon interaction",
2542     "examples": [
2543       {
2544         "title": "Example usage:",
2545         "content": "curl https://{domain}/api/chat/interactions/{id}/abandon -d '{\"channel\": \"chat\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
2546         "type": "json"
2547       }
2548     ],
2549     "name": "abandon",
2550     "group": "Chat_Interactions",
2551     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <p>This API is used to set as abandon an interaction and stop the routing.</p>",
2552     "version": "0.0.0",
2553     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2554     "groupTitle": "Chat_Interactions"
2555   },
2556   {
2557     "type": "post",
2558     "url": "/api/chat/interactions/{id}/messages",
2559     "title": "Creates new messages",
2560     "examples": [
2561       {
2562         "title": "Example usage:",
2563         "content": "curl https://{domain}/api/chat/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2564         "type": "json"
2565       }
2566     ],
2567     "name": "addMessage",
2568     "group": "Chat_Interactions",
2569     "parameter": {
2570       "fields": {
2571         "Body": [
2572           {
2573             "group": "Body",
2574             "type": "Text",
2575             "optional": false,
2576             "field": "body",
2577             "description": ""
2578           },
2579           {
2580             "group": "Body",
2581             "type": "Boolean",
2582             "optional": true,
2583             "field": "read",
2584             "description": ""
2585           },
2586           {
2587             "group": "Body",
2588             "type": "Boolean",
2589             "optional": true,
2590             "field": "secret",
2591             "description": ""
2592           },
2593           {
2594             "group": "Body",
2595             "type": "String",
2596             "allowedValues": [
2597               "\"in\"",
2598               "\"out\""
2599             ],
2600             "optional": false,
2601             "field": "direction",
2602             "description": ""
2603           },
2604           {
2605             "group": "Body",
2606             "type": "String",
2607             "optional": true,
2608             "field": "readAt",
2609             "description": ""
2610           },
2611           {
2612             "group": "Body",
2613             "type": "String",
2614             "optional": true,
2615             "field": "providerName",
2616             "description": ""
2617           },
2618           {
2619             "group": "Body",
2620             "type": "Text",
2621             "optional": true,
2622             "field": "providerResponse",
2623             "description": ""
2624           }
2625         ]
2626       }
2627     },
2628     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2629     "version": "0.0.0",
2630     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2631     "groupTitle": "Chat_Interactions"
2632   },
2633   {
2634     "type": "put",
2635     "url": "/api/chat/interactions/{id}/close",
2636     "title": "Close Interaction",
2637     "examples": [
2638       {
2639         "title": "Example usage:",
2640         "content": "curl https://{domain}/api/chat/interactions/{id}/close -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2641         "type": "json"
2642       }
2643     ],
2644     "name": "addMessage",
2645     "group": "Chat_Interactions",
2646     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2647     "version": "0.0.0",
2648     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2649     "groupTitle": "Chat_Interactions"
2650   },
2651   {
2652     "type": "post",
2653     "url": "/api/chat/interactions/{id}/attachment_upload",
2654     "title": "Add attachment",
2655     "examples": [
2656       {
2657         "title": "Example usage:",
2658         "content": "curl https://{domain}/api/chat/interactions/{id}/attachment_upload -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
2659         "type": "json"
2660       }
2661     ],
2662     "name": "attachmentUpload",
2663     "group": "Chat_Interactions",
2664     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2665     "version": "0.0.0",
2666     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2667     "groupTitle": "Chat_Interactions"
2668   },
2669   {
2670     "type": "post",
2671     "url": "/api/chat/interactions/{id}/vidaoo",
2672     "title": "Create Vidaoo Session",
2673     "examples": [
2674       {
2675         "title": "Example usage:",
2676         "content": "curl https://{domain}/api/chat/interactions/{id}/vidaoo  -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2677         "type": "json"
2678       }
2679     ],
2680     "name": "createVidaooSession",
2681     "group": "Chat_Interactions",
2682     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2683     "version": "0.0.0",
2684     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2685     "groupTitle": "Chat_Interactions"
2686   },
2687   {
2688     "type": "put",
2689     "url": "/api/chat/interactions/{id}/custom_update",
2690     "title": "Update interaction",
2691     "examples": [
2692       {
2693         "title": "Example usage:",
2694         "content": "curl https://{domain}/api/chat/interactions/{id}/custom_update -d '{\"channel\": \"chat\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
2695         "type": "json"
2696       }
2697     ],
2698     "name": "customUpdate",
2699     "group": "Chat_Interactions",
2700     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <p>This API is used to update an interaction.</p>",
2701     "version": "0.0.0",
2702     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2703     "groupTitle": "Chat_Interactions"
2704   },
2705   {
2706     "type": "get",
2707     "url": "/api/chat/interactions/{id}/download",
2708     "title": "Gets interaction",
2709     "examples": [
2710       {
2711         "title": "Example usage:",
2712         "content": "curl https://{domain}/api/chat/interactions/{id}/download -v -u {name}:{password} -X GET",
2713         "type": "json"
2714       }
2715     ],
2716     "name": "download",
2717     "group": "Chat_Interactions",
2718     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2719     "version": "0.0.0",
2720     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2721     "groupTitle": "Chat_Interactions"
2722   },
2723   {
2724     "type": "get",
2725     "url": "/api/chat/interactions/{id}/messages",
2726     "title": "Gets interaction messages",
2727     "examples": [
2728       {
2729         "title": "Example usage:",
2730         "content": "curl https://{domain}/api/chat/interactions/{id}/messages -v -u {name}:{password} -X GET",
2731         "type": "json"
2732       }
2733     ],
2734     "name": "getMessages",
2735     "group": "Chat_Interactions",
2736     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2737     "version": "0.0.0",
2738     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2739     "groupTitle": "Chat_Interactions"
2740   },
2741   {
2742     "type": "get",
2743     "url": "/api/chat/interactions/{id}/my_messages",
2744     "title": "Gets interaction messages",
2745     "examples": [
2746       {
2747         "title": "Example usage:",
2748         "content": "curl https://{domain}/api/chat/interactions/{id}/my_messages -v -u {name}:{password} -X GET",
2749         "type": "json"
2750       }
2751     ],
2752     "name": "getMyMessages",
2753     "group": "Chat_Interactions",
2754     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2755     "version": "0.0.0",
2756     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2757     "groupTitle": "Chat_Interactions"
2758   },
2759   {
2760     "type": "put",
2761     "url": "/api/chat/interactions/{id}",
2762     "title": "Update an existing Interaction",
2763     "examples": [
2764       {
2765         "title": "Example usage:",
2766         "content": "curl https://{domain}/api/chat/interactions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
2767         "type": "json"
2768       }
2769     ],
2770     "name": "updateInteractions",
2771     "group": "Chat_Interactions",
2772     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2773     "version": "0.0.0",
2774     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInteraction/index.js",
2775     "groupTitle": "Chat_Interactions"
2776   },
2777   {
2778     "type": "post",
2779     "url": "/api/chat/internal/messages",
2780     "title": "Creates a new Message",
2781     "examples": [
2782       {
2783         "title": "Example usage:",
2784         "content": "curl https://{domain}/api/chat/internal/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
2785         "type": "json"
2786       }
2787     ],
2788     "name": "CreateMessages",
2789     "group": "Chat_Internal_Messages",
2790     "parameter": {
2791       "fields": {
2792         "Body": [
2793           {
2794             "group": "Body",
2795             "type": "Text",
2796             "optional": false,
2797             "field": "body",
2798             "description": ""
2799           },
2800           {
2801             "group": "Body",
2802             "type": "Boolean",
2803             "optional": true,
2804             "field": "read",
2805             "description": ""
2806           },
2807           {
2808             "group": "Body",
2809             "type": "Integer",
2810             "optional": true,
2811             "field": "ChatInternalMessageId",
2812             "description": ""
2813           }
2814         ]
2815       }
2816     },
2817     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2818     "version": "0.0.0",
2819     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInternalMessage/index.js",
2820     "groupTitle": "Chat_Internal_Messages"
2821   },
2822   {
2823     "type": "delete",
2824     "url": "/api/chat/internal/messages/{id}",
2825     "title": "Deletes a Message",
2826     "examples": [
2827       {
2828         "title": "Example usage:",
2829         "content": "curl https://{domain}/api/chat/internal/messages/{id} -v -u {name}:{password} -X DELETE",
2830         "type": "json"
2831       }
2832     ],
2833     "name": "DeleteMessages",
2834     "group": "Chat_Internal_Messages",
2835     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2836     "version": "0.0.0",
2837     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInternalMessage/index.js",
2838     "groupTitle": "Chat_Internal_Messages"
2839   },
2840   {
2841     "type": "get",
2842     "url": "/api/chat/internal/messages/describe",
2843     "title": "Gets table info about Messages",
2844     "examples": [
2845       {
2846         "title": "Example usage:",
2847         "content": "curl https://{domain}/api/chat/internal/messages/describe -v -u {name}:{password}",
2848         "type": "json"
2849       }
2850     ],
2851     "name": "DescribeMessages",
2852     "group": "Chat_Internal_Messages",
2853     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2854     "version": "0.0.0",
2855     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInternalMessage/index.js",
2856     "groupTitle": "Chat_Internal_Messages"
2857   },
2858   {
2859     "type": "get",
2860     "url": "/api/chat/internal/messages",
2861     "title": "Gets a list of Messages",
2862     "examples": [
2863       {
2864         "title": "Example usage:",
2865         "content": "curl https://{domain}/api/chat/internal/messages -v -u {name}:{password}",
2866         "type": "json"
2867       }
2868     ],
2869     "name": "GetMessages",
2870     "group": "Chat_Internal_Messages",
2871     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/chat/internal/messages?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/chat/internal/messages?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/chat/internal/messages?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/chat/internal/messages?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/chat/internal/messages?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
2872     "version": "0.0.0",
2873     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInternalMessage/index.js",
2874     "groupTitle": "Chat_Internal_Messages"
2875   },
2876   {
2877     "type": "get",
2878     "url": "/api/chat/internal/messages/{id}",
2879     "title": "Gets a single Message",
2880     "examples": [
2881       {
2882         "title": "Example usage:",
2883         "content": "curl https://{domain}/api/chat/internal/messages/{id} -v -u {name}:{password}",
2884         "type": "json"
2885       }
2886     ],
2887     "name": "ShowMessages",
2888     "group": "Chat_Internal_Messages",
2889     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2890     "version": "0.0.0",
2891     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInternalMessage/index.js",
2892     "groupTitle": "Chat_Internal_Messages"
2893   },
2894   {
2895     "type": "put",
2896     "url": "/api/chat/internal/messages/{id}",
2897     "title": "Update an existing Message",
2898     "examples": [
2899       {
2900         "title": "Example usage:",
2901         "content": "curl https://{domain}/api/chat/internal/messages/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
2902         "type": "json"
2903       }
2904     ],
2905     "name": "updateMessages",
2906     "group": "Chat_Internal_Messages",
2907     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2908     "version": "0.0.0",
2909     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatInternalMessage/index.js",
2910     "groupTitle": "Chat_Internal_Messages"
2911   },
2912   {
2913     "type": "post",
2914     "url": "/CreateChatMessage",
2915     "title": "Creates a new Message",
2916     "name": "CreateChatMessage",
2917     "group": "Chat_Messages",
2918     "version": "0.0.0",
2919     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatMessage/chatMessage.rpc.js",
2920     "groupTitle": "Chat_Messages"
2921   },
2922   {
2923     "type": "post",
2924     "url": "/api/chat/messages",
2925     "title": "Creates a new Message",
2926     "examples": [
2927       {
2928         "title": "Example usage:",
2929         "content": "curl https://{domain}/api/chat/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
2930         "type": "json"
2931       }
2932     ],
2933     "name": "CreateMessages",
2934     "group": "Chat_Messages",
2935     "parameter": {
2936       "fields": {
2937         "Body": [
2938           {
2939             "group": "Body",
2940             "type": "Text",
2941             "optional": false,
2942             "field": "body",
2943             "description": ""
2944           },
2945           {
2946             "group": "Body",
2947             "type": "Boolean",
2948             "optional": true,
2949             "field": "read",
2950             "description": ""
2951           },
2952           {
2953             "group": "Body",
2954             "type": "Boolean",
2955             "optional": true,
2956             "field": "secret",
2957             "description": ""
2958           },
2959           {
2960             "group": "Body",
2961             "type": "String",
2962             "allowedValues": [
2963               "\"in\"",
2964               "\"out\""
2965             ],
2966             "optional": false,
2967             "field": "direction",
2968             "description": ""
2969           },
2970           {
2971             "group": "Body",
2972             "type": "String",
2973             "optional": true,
2974             "field": "readAt",
2975             "description": ""
2976           },
2977           {
2978             "group": "Body",
2979             "type": "String",
2980             "optional": true,
2981             "field": "providerName",
2982             "description": ""
2983           },
2984           {
2985             "group": "Body",
2986             "type": "Text",
2987             "optional": true,
2988             "field": "providerResponse",
2989             "description": ""
2990           }
2991         ]
2992       }
2993     },
2994     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2995     "version": "0.0.0",
2996     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatMessage/index.js",
2997     "groupTitle": "Chat_Messages"
2998   },
2999   {
3000     "type": "delete",
3001     "url": "/api/chat/messages/{id}",
3002     "title": "Deletes a Message",
3003     "examples": [
3004       {
3005         "title": "Example usage:",
3006         "content": "curl https://{domain}/api/chat/messages/{id} -v -u {name}:{password} -X DELETE",
3007         "type": "json"
3008       }
3009     ],
3010     "name": "DeleteMessages",
3011     "group": "Chat_Messages",
3012     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3013     "version": "0.0.0",
3014     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatMessage/index.js",
3015     "groupTitle": "Chat_Messages"
3016   },
3017   {
3018     "type": "get",
3019     "url": "/api/chat/messages/describe",
3020     "title": "Gets table info about Messages",
3021     "examples": [
3022       {
3023         "title": "Example usage:",
3024         "content": "curl https://{domain}/api/chat/messages/describe -v -u {name}:{password}",
3025         "type": "json"
3026       }
3027     ],
3028     "name": "DescribeMessages",
3029     "group": "Chat_Messages",
3030     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3031     "version": "0.0.0",
3032     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatMessage/index.js",
3033     "groupTitle": "Chat_Messages"
3034   },
3035   {
3036     "type": "get",
3037     "url": "/api/chat/messages",
3038     "title": "Gets a list of Messages",
3039     "examples": [
3040       {
3041         "title": "Example usage:",
3042         "content": "curl https://{domain}/api/chat/messages -v -u {name}:{password}",
3043         "type": "json"
3044       }
3045     ],
3046     "name": "GetMessages",
3047     "group": "Chat_Messages",
3048     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/chat/messages?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/chat/messages?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/chat/messages?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/chat/messages?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/chat/messages?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
3049     "version": "0.0.0",
3050     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatMessage/index.js",
3051     "groupTitle": "Chat_Messages"
3052   },
3053   {
3054     "type": "get",
3055     "url": "/api/chat/messages/{id}",
3056     "title": "Gets a single Message",
3057     "examples": [
3058       {
3059         "title": "Example usage:",
3060         "content": "curl https://{domain}/api/chat/messages/{id} -v -u {name}:{password}",
3061         "type": "json"
3062       }
3063     ],
3064     "name": "ShowMessages",
3065     "group": "Chat_Messages",
3066     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3067     "version": "0.0.0",
3068     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatMessage/index.js",
3069     "groupTitle": "Chat_Messages"
3070   },
3071   {
3072     "type": "put",
3073     "url": "/api/chat/messages/{id}",
3074     "title": "Update an existing Message",
3075     "examples": [
3076       {
3077         "title": "Example usage:",
3078         "content": "curl https://{domain}/api/chat/messages/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
3079         "type": "json"
3080       }
3081     ],
3082     "name": "updateMessages",
3083     "group": "Chat_Messages",
3084     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3085     "version": "0.0.0",
3086     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatMessage/index.js",
3087     "groupTitle": "Chat_Messages"
3088   },
3089   {
3090     "type": "post",
3091     "url": "/api/chat/offline_messages",
3092     "title": "Creates a new OfflineMessage",
3093     "examples": [
3094       {
3095         "title": "Example usage:",
3096         "content": "curl https://{domain}/api/chat/offline_messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
3097         "type": "json"
3098       }
3099     ],
3100     "name": "CreateOfflineMessages",
3101     "group": "Chat_Offline_Messages",
3102     "parameter": {
3103       "fields": {
3104         "Body": [
3105           {
3106             "group": "Body",
3107             "type": "Text",
3108             "optional": false,
3109             "field": "body",
3110             "description": ""
3111           }
3112         ]
3113       }
3114     },
3115     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3116     "version": "0.0.0",
3117     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatOfflineMessage/index.js",
3118     "groupTitle": "Chat_Offline_Messages"
3119   },
3120   {
3121     "type": "delete",
3122     "url": "/api/chat/offline_messages/{id}",
3123     "title": "Deletes a OfflineMessage",
3124     "examples": [
3125       {
3126         "title": "Example usage:",
3127         "content": "curl https://{domain}/api/chat/offline_messages/{id} -v -u {name}:{password} -X DELETE",
3128         "type": "json"
3129       }
3130     ],
3131     "name": "DeleteOfflineMessages",
3132     "group": "Chat_Offline_Messages",
3133     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3134     "version": "0.0.0",
3135     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatOfflineMessage/index.js",
3136     "groupTitle": "Chat_Offline_Messages"
3137   },
3138   {
3139     "type": "get",
3140     "url": "/api/chat/offline_messages/describe",
3141     "title": "Gets table info about OfflineMessages",
3142     "examples": [
3143       {
3144         "title": "Example usage:",
3145         "content": "curl https://{domain}/api/chat/offline_messages/describe -v -u {name}:{password}",
3146         "type": "json"
3147       }
3148     ],
3149     "name": "DescribeOfflineMessages",
3150     "group": "Chat_Offline_Messages",
3151     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3152     "version": "0.0.0",
3153     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatOfflineMessage/index.js",
3154     "groupTitle": "Chat_Offline_Messages"
3155   },
3156   {
3157     "type": "get",
3158     "url": "/api/chat/offline_messages",
3159     "title": "Gets a list of OfflineMessages",
3160     "examples": [
3161       {
3162         "title": "Example usage:",
3163         "content": "curl https://{domain}/api/chat/offline_messages -v -u {name}:{password}",
3164         "type": "json"
3165       }
3166     ],
3167     "name": "GetOfflineMessages",
3168     "group": "Chat_Offline_Messages",
3169     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/chat/offline_messages?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/chat/offline_messages?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/chat/offline_messages?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/chat/offline_messages?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/chat/offline_messages?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
3170     "version": "0.0.0",
3171     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatOfflineMessage/index.js",
3172     "groupTitle": "Chat_Offline_Messages"
3173   },
3174   {
3175     "type": "get",
3176     "url": "/api/chat/offline_messages/{id}",
3177     "title": "Gets a single OfflineMessage",
3178     "examples": [
3179       {
3180         "title": "Example usage:",
3181         "content": "curl https://{domain}/api/chat/offline_messages/{id} -v -u {name}:{password}",
3182         "type": "json"
3183       }
3184     ],
3185     "name": "ShowOfflineMessages",
3186     "group": "Chat_Offline_Messages",
3187     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3188     "version": "0.0.0",
3189     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatOfflineMessage/index.js",
3190     "groupTitle": "Chat_Offline_Messages"
3191   },
3192   {
3193     "type": "put",
3194     "url": "/api/chat/offline_messages/{id}",
3195     "title": "Update an existing OfflineMessage",
3196     "examples": [
3197       {
3198         "title": "Example usage:",
3199         "content": "curl https://{domain}/api/chat/offline_messages/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
3200         "type": "json"
3201       }
3202     ],
3203     "name": "updateOfflineMessages",
3204     "group": "Chat_Offline_Messages",
3205     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3206     "version": "0.0.0",
3207     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatOfflineMessage/index.js",
3208     "groupTitle": "Chat_Offline_Messages"
3209   },
3210   {
3211     "type": "post",
3212     "url": "/api/chat/proactive_actions",
3213     "title": "Creates a new Proactive Action",
3214     "examples": [
3215       {
3216         "title": "Example usage:",
3217         "content": "curl https://{domain}/api/chat/proactive_actions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
3218         "type": "json"
3219       }
3220     ],
3221     "name": "CreateProactive_Actions",
3222     "group": "Chat_Proactive_Actions",
3223     "parameter": {
3224       "fields": {
3225         "Body": [
3226           {
3227             "group": "Body",
3228             "type": "String",
3229             "optional": false,
3230             "field": "name",
3231             "description": ""
3232           },
3233           {
3234             "group": "Body",
3235             "type": "String",
3236             "allowedValues": [
3237               "\"mouseOver\"",
3238               "\"timeout\""
3239             ],
3240             "optional": true,
3241             "field": "type",
3242             "description": ""
3243           },
3244           {
3245             "group": "Body",
3246             "type": "String",
3247             "optional": true,
3248             "field": "selector",
3249             "description": ""
3250           },
3251           {
3252             "group": "Body",
3253             "type": "Integer",
3254             "optional": true,
3255             "field": "timeout",
3256             "description": ""
3257           }
3258         ]
3259       }
3260     },
3261     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3262     "version": "0.0.0",
3263     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatProactiveAction/index.js",
3264     "groupTitle": "Chat_Proactive_Actions"
3265   },
3266   {
3267     "type": "delete",
3268     "url": "/api/chat/proactive_actions/{id}",
3269     "title": "Deletes a Proactive Action",
3270     "examples": [
3271       {
3272         "title": "Example usage:",
3273         "content": "curl https://{domain}/api/chat/proactive_actions/{id} -v -u {name}:{password} -X DELETE",
3274         "type": "json"
3275       }
3276     ],
3277     "name": "DeleteProactive_Actions",
3278     "group": "Chat_Proactive_Actions",
3279     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3280     "version": "0.0.0",
3281     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatProactiveAction/index.js",
3282     "groupTitle": "Chat_Proactive_Actions"
3283   },
3284   {
3285     "type": "get",
3286     "url": "/api/chat/proactive_actions/{id}",
3287     "title": "Gets a single Proactive Action",
3288     "examples": [
3289       {
3290         "title": "Example usage:",
3291         "content": "curl https://{domain}/api/chat/proactive_actions/{id} -v -u {name}:{password}",
3292         "type": "json"
3293       }
3294     ],
3295     "name": "ShowProactive_Actions",
3296     "group": "Chat_Proactive_Actions",
3297     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3298     "version": "0.0.0",
3299     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatProactiveAction/index.js",
3300     "groupTitle": "Chat_Proactive_Actions"
3301   },
3302   {
3303     "type": "put",
3304     "url": "/api/chat/proactive_actions/{id}",
3305     "title": "Update an existing Proactive Action",
3306     "examples": [
3307       {
3308         "title": "Example usage:",
3309         "content": "curl https://{domain}/api/chat/proactive_actions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
3310         "type": "json"
3311       }
3312     ],
3313     "name": "updateProactive_Actions",
3314     "group": "Chat_Proactive_Actions",
3315     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3316     "version": "0.0.0",
3317     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatProactiveAction/index.js",
3318     "groupTitle": "Chat_Proactive_Actions"
3319   },
3320   {
3321     "type": "post",
3322     "url": "/CreateChatQueueReport",
3323     "title": "Creates a new Chat Queue Report",
3324     "name": "CreateChatQueueReport",
3325     "group": "Chat_Queue_Reports",
3326     "version": "0.0.0",
3327     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueueReport/chatQueueReport.rpc.js",
3328     "groupTitle": "Chat_Queue_Reports"
3329   },
3330   {
3331     "type": "post",
3332     "url": "/api/chat/reports/queue",
3333     "title": "Creates a new Chat Queue Report",
3334     "examples": [
3335       {
3336         "title": "Example usage:",
3337         "content": "curl https://{domain}/api/chat/reports/queue -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
3338         "type": "json"
3339       }
3340     ],
3341     "name": "CreateChat_Queue_Reports",
3342     "group": "Chat_Queue_Reports",
3343     "parameter": {
3344       "fields": {
3345         "Body": [
3346           {
3347             "group": "Body",
3348             "type": "String",
3349             "optional": false,
3350             "field": "uniqueid",
3351             "description": ""
3352           },
3353           {
3354             "group": "Body",
3355             "type": "String",
3356             "optional": true,
3357             "field": "from",
3358             "description": ""
3359           },
3360           {
3361             "group": "Body",
3362             "type": "String",
3363             "optional": true,
3364             "field": "joinAt",
3365             "description": ""
3366           },
3367           {
3368             "group": "Body",
3369             "type": "String",
3370             "optional": true,
3371             "field": "leaveAt",
3372             "description": ""
3373           },
3374           {
3375             "group": "Body",
3376             "type": "String",
3377             "optional": true,
3378             "field": "acceptAt",
3379             "description": ""
3380           },
3381           {
3382             "group": "Body",
3383             "type": "String",
3384             "optional": true,
3385             "field": "exitAt",
3386             "description": ""
3387           },
3388           {
3389             "group": "Body",
3390             "type": "String",
3391             "optional": true,
3392             "field": "reason",
3393             "description": ""
3394           }
3395         ]
3396       }
3397     },
3398     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3399     "version": "0.0.0",
3400     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueueReport/index.js",
3401     "groupTitle": "Chat_Queue_Reports"
3402   },
3403   {
3404     "type": "delete",
3405     "url": "/api/chat/reports/queue/{id}",
3406     "title": "Deletes a Chat Queue Report",
3407     "examples": [
3408       {
3409         "title": "Example usage:",
3410         "content": "curl https://{domain}/api/chat/reports/queue/{id} -v -u {name}:{password} -X DELETE",
3411         "type": "json"
3412       }
3413     ],
3414     "name": "DeleteChat_Queue_Reports",
3415     "group": "Chat_Queue_Reports",
3416     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3417     "version": "0.0.0",
3418     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueueReport/index.js",
3419     "groupTitle": "Chat_Queue_Reports"
3420   },
3421   {
3422     "type": "get",
3423     "url": "/api/chat/reports/queue/describe",
3424     "title": "Gets table info about Chat Queue Reports",
3425     "examples": [
3426       {
3427         "title": "Example usage:",
3428         "content": "curl https://{domain}/api/chat/reports/queue/describe -v -u {name}:{password}",
3429         "type": "json"
3430       }
3431     ],
3432     "name": "DescribeChat_Queue_Reports",
3433     "group": "Chat_Queue_Reports",
3434     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3435     "version": "0.0.0",
3436     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueueReport/index.js",
3437     "groupTitle": "Chat_Queue_Reports"
3438   },
3439   {
3440     "type": "get",
3441     "url": "/api/chat/reports/queue",
3442     "title": "Gets a list of Chat Queue Reports",
3443     "examples": [
3444       {
3445         "title": "Example usage:",
3446         "content": "curl https://{domain}/api/chat/reports/queue -v -u {name}:{password}",
3447         "type": "json"
3448       }
3449     ],
3450     "name": "GetChat_Queue_Reports",
3451     "group": "Chat_Queue_Reports",
3452     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/chat/reports/queue?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/chat/reports/queue?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/chat/reports/queue?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/chat/reports/queue?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/chat/reports/queue?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
3453     "version": "0.0.0",
3454     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueueReport/index.js",
3455     "groupTitle": "Chat_Queue_Reports"
3456   },
3457   {
3458     "type": "get",
3459     "url": "/api/chat/reports/queue/{id}",
3460     "title": "Gets a single Chat Queue Report",
3461     "examples": [
3462       {
3463         "title": "Example usage:",
3464         "content": "curl https://{domain}/api/chat/reports/queue/{id} -v -u {name}:{password}",
3465         "type": "json"
3466       }
3467     ],
3468     "name": "ShowChat_Queue_Reports",
3469     "group": "Chat_Queue_Reports",
3470     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3471     "version": "0.0.0",
3472     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueueReport/index.js",
3473     "groupTitle": "Chat_Queue_Reports"
3474   },
3475   {
3476     "type": "post",
3477     "url": "/UpdateChatQueueReport",
3478     "title": "Updates a new Chat Queue Report",
3479     "name": "UpdateChatQueueReport",
3480     "group": "Chat_Queue_Reports",
3481     "parameter": {
3482       "fields": {
3483         "Body": [
3484           {
3485             "group": "Body",
3486             "type": "Object",
3487             "optional": true,
3488             "field": "options.attributes",
3489             "description": ""
3490           },
3491           {
3492             "group": "Body",
3493             "type": "Object",
3494             "optional": false,
3495             "field": "options.where",
3496             "description": ""
3497           }
3498         ]
3499       }
3500     },
3501     "version": "0.0.0",
3502     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueueReport/chatQueueReport.rpc.js",
3503     "groupTitle": "Chat_Queue_Reports"
3504   },
3505   {
3506     "type": "put",
3507     "url": "/api/chat/reports/queue/{id}",
3508     "title": "Update an existing Chat Queue Report",
3509     "examples": [
3510       {
3511         "title": "Example usage:",
3512         "content": "curl https://{domain}/api/chat/reports/queue/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
3513         "type": "json"
3514       }
3515     ],
3516     "name": "updateChat_Queue_Reports",
3517     "group": "Chat_Queue_Reports",
3518     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3519     "version": "0.0.0",
3520     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueueReport/index.js",
3521     "groupTitle": "Chat_Queue_Reports"
3522   },
3523   {
3524     "type": "post",
3525     "url": "/api/chat/queues/{id}/users",
3526     "title": "Add agents to a queue",
3527     "examples": [
3528       {
3529         "title": "Example usage:",
3530         "content": "curl https://{domain}/api/chat/queues/{id}/users -d '{\"ids\": [1,2], \"penalty\": 2}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
3531         "type": "json"
3532       }
3533     ],
3534     "name": "AddAgents",
3535     "group": "Chat_Queues",
3536     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3537     "version": "0.0.0",
3538     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3539     "groupTitle": "Chat_Queues"
3540   },
3541   {
3542     "type": "post",
3543     "url": "/api/chat/queues/{id}/teams",
3544     "title": "Add teams to a queue",
3545     "examples": [
3546       {
3547         "title": "Example usage:",
3548         "content": "curl https://{domain}/api/chat/queues/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
3549         "type": "json"
3550       }
3551     ],
3552     "name": "AddTeams",
3553     "group": "Chat_Queues",
3554     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3555     "version": "0.0.0",
3556     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3557     "groupTitle": "Chat_Queues"
3558   },
3559   {
3560     "type": "post",
3561     "url": "/api/chat/queues",
3562     "title": "Creates a new Queue",
3563     "examples": [
3564       {
3565         "title": "Example usage:",
3566         "content": "curl https://{domain}/api/chat/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
3567         "type": "json"
3568       }
3569     ],
3570     "name": "CreateQueues",
3571     "group": "Chat_Queues",
3572     "parameter": {
3573       "fields": {
3574         "Body": [
3575           {
3576             "group": "Body",
3577             "type": "String",
3578             "optional": false,
3579             "field": "name",
3580             "description": ""
3581           },
3582           {
3583             "group": "Body",
3584             "type": "String",
3585             "optional": true,
3586             "field": "description",
3587             "description": ""
3588           },
3589           {
3590             "group": "Body",
3591             "type": "Integer",
3592             "optional": true,
3593             "field": "timeout",
3594             "description": ""
3595           },
3596           {
3597             "group": "Body",
3598             "type": "String",
3599             "allowedValues": [
3600               "\"rrmemory\"",
3601               "\"beepall\"",
3602               "\"roundrobin\""
3603             ],
3604             "optional": true,
3605             "field": "strategy",
3606             "description": ""
3607           }
3608         ]
3609       }
3610     },
3611     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3612     "version": "0.0.0",
3613     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3614     "groupTitle": "Chat_Queues"
3615   },
3616   {
3617     "type": "delete",
3618     "url": "/api/chat/queues/{id}",
3619     "title": "Deletes a Queue",
3620     "examples": [
3621       {
3622         "title": "Example usage:",
3623         "content": "curl https://{domain}/api/chat/queues/{id} -v -u {name}:{password} -X DELETE",
3624         "type": "json"
3625       }
3626     ],
3627     "name": "DeleteQueues",
3628     "group": "Chat_Queues",
3629     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3630     "version": "0.0.0",
3631     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3632     "groupTitle": "Chat_Queues"
3633   },
3634   {
3635     "type": "get",
3636     "url": "/api/chat/queues/describe",
3637     "title": "Gets table info about Queues",
3638     "examples": [
3639       {
3640         "title": "Example usage:",
3641         "content": "curl https://{domain}/api/chat/queues/describe -v -u {name}:{password}",
3642         "type": "json"
3643       }
3644     ],
3645     "name": "DescribeQueues",
3646     "group": "Chat_Queues",
3647     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3648     "version": "0.0.0",
3649     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3650     "groupTitle": "Chat_Queues"
3651   },
3652   {
3653     "type": "get",
3654     "url": "/api/chat/queues/{id}/users",
3655     "title": "Gets queue agents",
3656     "examples": [
3657       {
3658         "title": "Example usage:",
3659         "content": "curl https://{domain}/api/chat/queues/{id}/users -v -u {name}:{password} -X POST",
3660         "type": "json"
3661       }
3662     ],
3663     "name": "GetAgents",
3664     "group": "Chat_Queues",
3665     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3666     "version": "0.0.0",
3667     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3668     "groupTitle": "Chat_Queues"
3669   },
3670   {
3671     "type": "get",
3672     "url": "/GetChatQueue",
3673     "title": "Gets a list of Queues",
3674     "name": "GetChatQueue",
3675     "group": "Chat_Queues",
3676     "parameter": {
3677       "fields": {
3678         "Body": [
3679           {
3680             "group": "Body",
3681             "type": "Object",
3682             "optional": true,
3683             "field": "options.attributes",
3684             "description": ""
3685           },
3686           {
3687             "group": "Body",
3688             "type": "Object",
3689             "optional": true,
3690             "field": "options.where",
3691             "description": ""
3692           }
3693         ]
3694       }
3695     },
3696     "version": "0.0.0",
3697     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/chatQueue.rpc.js",
3698     "groupTitle": "Chat_Queues"
3699   },
3700   {
3701     "type": "get",
3702     "url": "/api/chat/queues/{id}/members",
3703     "title": "GetMembers",
3704     "examples": [
3705       {
3706         "title": "Example usage:",
3707         "content": "curl https://{domain}/api/chat/queues/{id}/members  -v -u {name}:{password}",
3708         "type": "json"
3709       }
3710     ],
3711     "name": "GetMembers",
3712     "group": "Chat_Queues",
3713     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3714     "version": "0.0.0",
3715     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3716     "groupTitle": "Chat_Queues"
3717   },
3718   {
3719     "type": "get",
3720     "url": "/api/chat/queues",
3721     "title": "Gets a list of Queues",
3722     "examples": [
3723       {
3724         "title": "Example usage:",
3725         "content": "curl https://{domain}/api/chat/queues -v -u {name}:{password}",
3726         "type": "json"
3727       }
3728     ],
3729     "name": "GetQueues",
3730     "group": "Chat_Queues",
3731     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/chat/queues?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/chat/queues?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/chat/queues?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/chat/queues?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/chat/queues?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
3732     "version": "0.0.0",
3733     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3734     "groupTitle": "Chat_Queues"
3735   },
3736   {
3737     "type": "get",
3738     "url": "/api/chat/queues/{id}/teams",
3739     "title": "Gets queues list",
3740     "examples": [
3741       {
3742         "title": "Example usage:",
3743         "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password}",
3744         "type": "json"
3745       }
3746     ],
3747     "name": "GetTeams",
3748     "group": "Chat_Queues",
3749     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3750     "version": "0.0.0",
3751     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3752     "groupTitle": "Chat_Queues"
3753   },
3754   {
3755     "type": "delete",
3756     "url": "/api/chat/queues/{id}/users",
3757     "title": "Removes agents from a queue",
3758     "examples": [
3759       {
3760         "title": "Example usage:",
3761         "content": "curl https://{domain}/api/chat/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
3762         "type": "json"
3763       }
3764     ],
3765     "name": "RemoveAgents",
3766     "group": "Chat_Queues",
3767     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3768     "version": "0.0.0",
3769     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3770     "groupTitle": "Chat_Queues"
3771   },
3772   {
3773     "type": "get",
3774     "url": "/ShowChatQueue",
3775     "title": "Gets a single Queue",
3776     "name": "ShowChatQueue",
3777     "group": "Chat_Queues",
3778     "parameter": {
3779       "fields": {
3780         "Body": [
3781           {
3782             "group": "Body",
3783             "type": "Object",
3784             "optional": true,
3785             "field": "options.attributes",
3786             "description": ""
3787           },
3788           {
3789             "group": "Body",
3790             "type": "Object",
3791             "optional": false,
3792             "field": "options.where",
3793             "description": ""
3794           }
3795         ]
3796       }
3797     },
3798     "version": "0.0.0",
3799     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/chatQueue.rpc.js",
3800     "groupTitle": "Chat_Queues"
3801   },
3802   {
3803     "type": "get",
3804     "url": "/api/chat/queues/{id}",
3805     "title": "Gets a single Queue",
3806     "examples": [
3807       {
3808         "title": "Example usage:",
3809         "content": "curl https://{domain}/api/chat/queues/{id} -v -u {name}:{password}",
3810         "type": "json"
3811       }
3812     ],
3813     "name": "ShowQueues",
3814     "group": "Chat_Queues",
3815     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3816     "version": "0.0.0",
3817     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3818     "groupTitle": "Chat_Queues"
3819   },
3820   {
3821     "type": "put",
3822     "url": "/api/chat/queues/{id}",
3823     "title": "Update an existing Queue",
3824     "examples": [
3825       {
3826         "title": "Example usage:",
3827         "content": "curl https://{domain}/api/chat/queues/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
3828         "type": "json"
3829       }
3830     ],
3831     "name": "updateQueues",
3832     "group": "Chat_Queues",
3833     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3834     "version": "0.0.0",
3835     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
3836     "groupTitle": "Chat_Queues"
3837   },
3838   {
3839     "type": "post",
3840     "url": "/api/chat/reports/transfer",
3841     "title": "Creates a new Chat Transfer Report",
3842     "examples": [
3843       {
3844         "title": "Example usage:",
3845         "content": "curl https://{domain}/api/chat/reports/transfer -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
3846         "type": "json"
3847       }
3848     ],
3849     "name": "CreateChat_Transfer_Reports",
3850     "group": "Chat_Transfer_Reports",
3851     "parameter": {
3852       "fields": {
3853         "Body": [
3854           {
3855             "group": "Body",
3856             "type": "String",
3857             "optional": false,
3858             "field": "uniqueid",
3859             "description": ""
3860           },
3861           {
3862             "group": "Body",
3863             "type": "String",
3864             "allowedValues": [
3865               "\"account\"",
3866               "\"agent\"",
3867               "\"queue\""
3868             ],
3869             "optional": false,
3870             "field": "type",
3871             "description": ""
3872           },
3873           {
3874             "group": "Body",
3875             "type": "String",
3876             "optional": false,
3877             "field": "transferredAt",
3878             "description": ""
3879           }
3880         ]
3881       }
3882     },
3883     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3884     "version": "0.0.0",
3885     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatTransferReport/index.js",
3886     "groupTitle": "Chat_Transfer_Reports"
3887   },
3888   {
3889     "type": "delete",
3890     "url": "/api/chat/reports/transfer/{id}",
3891     "title": "Deletes a Chat Transfer Report",
3892     "examples": [
3893       {
3894         "title": "Example usage:",
3895         "content": "curl https://{domain}/api/chat/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
3896         "type": "json"
3897       }
3898     ],
3899     "name": "DeleteChat_Transfer_Reports",
3900     "group": "Chat_Transfer_Reports",
3901     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3902     "version": "0.0.0",
3903     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatTransferReport/index.js",
3904     "groupTitle": "Chat_Transfer_Reports"
3905   },
3906   {
3907     "type": "get",
3908     "url": "/api/chat/reports/transfer/describe",
3909     "title": "Gets table info about Chat Transfer Reports",
3910     "examples": [
3911       {
3912         "title": "Example usage:",
3913         "content": "curl https://{domain}/api/chat/reports/transfer/describe -v -u {name}:{password}",
3914         "type": "json"
3915       }
3916     ],
3917     "name": "DescribeChat_Transfer_Reports",
3918     "group": "Chat_Transfer_Reports",
3919     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3920     "version": "0.0.0",
3921     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatTransferReport/index.js",
3922     "groupTitle": "Chat_Transfer_Reports"
3923   },
3924   {
3925     "type": "get",
3926     "url": "/api/chat/reports/transfer",
3927     "title": "Gets a list of Chat Transfer Reports",
3928     "examples": [
3929       {
3930         "title": "Example usage:",
3931         "content": "curl https://{domain}/api/chat/reports/transfer -v -u {name}:{password}",
3932         "type": "json"
3933       }
3934     ],
3935     "name": "GetChat_Transfer_Reports",
3936     "group": "Chat_Transfer_Reports",
3937     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/chat/reports/transfer?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/chat/reports/transfer?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/chat/reports/transfer?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/chat/reports/transfer?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/chat/reports/transfer?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
3938     "version": "0.0.0",
3939     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatTransferReport/index.js",
3940     "groupTitle": "Chat_Transfer_Reports"
3941   },
3942   {
3943     "type": "get",
3944     "url": "/api/chat/reports/transfer/{id}",
3945     "title": "Gets a single Chat Transfer Report",
3946     "examples": [
3947       {
3948         "title": "Example usage:",
3949         "content": "curl https://{domain}/api/chat/reports/transfer/{id} -v -u {name}:{password}",
3950         "type": "json"
3951       }
3952     ],
3953     "name": "ShowChat_Transfer_Reports",
3954     "group": "Chat_Transfer_Reports",
3955     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3956     "version": "0.0.0",
3957     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatTransferReport/index.js",
3958     "groupTitle": "Chat_Transfer_Reports"
3959   },
3960   {
3961     "type": "put",
3962     "url": "/api/chat/reports/transfer/{id}",
3963     "title": "Update an existing Chat Transfer Report",
3964     "examples": [
3965       {
3966         "title": "Example usage:",
3967         "content": "curl https://{domain}/api/chat/reports/transfer/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
3968         "type": "json"
3969       }
3970     ],
3971     "name": "updateChat_Transfer_Reports",
3972     "group": "Chat_Transfer_Reports",
3973     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3974     "version": "0.0.0",
3975     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatTransferReport/index.js",
3976     "groupTitle": "Chat_Transfer_Reports"
3977   },
3978   {
3979     "type": "post",
3980     "url": "/api/chat/websites/{id}/users",
3981     "title": "Add agents to a website",
3982     "examples": [
3983       {
3984         "title": "Example usage:",
3985         "content": "curl https://{domain}/api/chat/websites/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
3986         "type": "json"
3987       }
3988     ],
3989     "name": "AddAgents",
3990     "group": "Chat_Websites",
3991     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3992     "version": "0.0.0",
3993     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
3994     "groupTitle": "Chat_Websites"
3995   },
3996   {
3997     "type": "post",
3998     "url": "/api/chat/websites",
3999     "title": "Creates a new Website",
4000     "examples": [
4001       {
4002         "title": "Example usage:",
4003         "content": "curl https://{domain}/api/chat/websites -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
4004         "type": "json"
4005       }
4006     ],
4007     "name": "CreateWebsites",
4008     "group": "Chat_Websites",
4009     "parameter": {
4010       "fields": {
4011         "Body": [
4012           {
4013             "group": "Body",
4014             "type": "String",
4015             "optional": false,
4016             "field": "name",
4017             "description": ""
4018           },
4019           {
4020             "group": "Body",
4021             "type": "String",
4022             "optional": false,
4023             "field": "address",
4024             "description": ""
4025           },
4026           {
4027             "group": "Body",
4028             "type": "String",
4029             "optional": true,
4030             "field": "description",
4031             "description": ""
4032           },
4033           {
4034             "group": "Body",
4035             "type": "String",
4036             "optional": true,
4037             "field": "mapKey",
4038             "description": ""
4039           },
4040           {
4041             "group": "Body",
4042             "type": "String",
4043             "optional": true,
4044             "field": "mapKeyOffline",
4045             "description": ""
4046           },
4047           {
4048             "group": "Body",
4049             "type": "String",
4050             "optional": false,
4051             "field": "key",
4052             "description": ""
4053           },
4054           {
4055             "group": "Body",
4056             "type": "String",
4057             "optional": true,
4058             "field": "agentAlias",
4059             "description": ""
4060           },
4061           {
4062             "group": "Body",
4063             "type": "String",
4064             "optional": true,
4065             "field": "customerAlias",
4066             "description": ""
4067           },
4068           {
4069             "group": "Body",
4070             "type": "String",
4071             "optional": false,
4072             "field": "color",
4073             "description": ""
4074           },
4075           {
4076             "group": "Body",
4077             "type": "String",
4078             "optional": false,
4079             "field": "color_button",
4080             "description": ""
4081           },
4082           {
4083             "group": "Body",
4084             "type": "String",
4085             "optional": false,
4086             "field": "textColor",
4087             "description": ""
4088           },
4089           {
4090             "group": "Body",
4091             "type": "Integer",
4092             "optional": true,
4093             "field": "fontSize",
4094             "description": ""
4095           },
4096           {
4097             "group": "Body",
4098             "type": "String",
4099             "optional": true,
4100             "field": "remote",
4101             "description": ""
4102           },
4103           {
4104             "group": "Body",
4105             "type": "Boolean",
4106             "optional": true,
4107             "field": "animation",
4108             "description": ""
4109           },
4110           {
4111             "group": "Body",
4112             "type": "String",
4113             "allowedValues": [
4114               "\"rounded\"",
4115               "\"squared\""
4116             ],
4117             "optional": true,
4118             "field": "header_shape",
4119             "description": ""
4120           },
4121           {
4122             "group": "Body",
4123             "type": "String",
4124             "optional": true,
4125             "field": "header_online",
4126             "description": ""
4127           },
4128           {
4129             "group": "Body",
4130             "type": "String",
4131             "optional": true,
4132             "field": "start_chat_button",
4133             "description": ""
4134           },
4135           {
4136             "group": "Body",
4137             "type": "String",
4138             "optional": true,
4139             "field": "offline_chat_button",
4140             "description": ""
4141           },
4142           {
4143             "group": "Body",
4144             "type": "String",
4145             "optional": true,
4146             "field": "header_offline",
4147             "description": ""
4148           },
4149           {
4150             "group": "Body",
4151             "type": "Boolean",
4152             "optional": true,
4153             "field": "download_transcript",
4154             "description": ""
4155           },
4156           {
4157             "group": "Body",
4158             "type": "Integer",
4159             "optional": true,
4160             "field": "timeout",
4161             "description": ""
4162           },
4163           {
4164             "group": "Body",
4165             "type": "String",
4166             "optional": true,
4167             "field": "whiteLabel",
4168             "description": ""
4169           },
4170           {
4171             "group": "Body",
4172             "type": "Boolean",
4173             "optional": true,
4174             "field": "defaultWhiteLabel",
4175             "description": ""
4176           },
4177           {
4178             "group": "Body",
4179             "type": "Text",
4180             "optional": true,
4181             "field": "sitepic",
4182             "description": ""
4183           },
4184           {
4185             "group": "Body",
4186             "type": "String",
4187             "optional": true,
4188             "field": "closingQuestion",
4189             "description": ""
4190           },
4191           {
4192             "group": "Body",
4193             "type": "String",
4194             "optional": true,
4195             "field": "formSubmitSuccessMessage",
4196             "description": ""
4197           },
4198           {
4199             "group": "Body",
4200             "type": "String",
4201             "optional": true,
4202             "field": "formSubmitFailureMessage",
4203             "description": ""
4204           },
4205           {
4206             "group": "Body",
4207             "type": "String",
4208             "optional": true,
4209             "field": "noteTitle",
4210             "description": ""
4211           },
4212           {
4213             "group": "Body",
4214             "type": "String",
4215             "optional": true,
4216             "field": "placeholderMessage",
4217             "description": ""
4218           },
4219           {
4220             "group": "Body",
4221             "type": "String",
4222             "optional": true,
4223             "field": "closingMessage",
4224             "description": ""
4225           },
4226           {
4227             "group": "Body",
4228             "type": "String",
4229             "optional": true,
4230             "field": "closingMessageButton",
4231             "description": ""
4232           },
4233           {
4234             "group": "Body",
4235             "type": "String",
4236             "optional": true,
4237             "field": "skipMessageButton",
4238             "description": ""
4239           },
4240           {
4241             "group": "Body",
4242             "type": "Boolean",
4243             "optional": true,
4244             "field": "conditionAgreement",
4245             "description": ""
4246           },
4247           {
4248             "group": "Body",
4249             "type": "Boolean",
4250             "optional": true,
4251             "field": "enableRating",
4252             "description": ""
4253           },
4254           {
4255             "group": "Body",
4256             "type": "Boolean",
4257             "optional": true,
4258             "field": "enableFeedback",
4259             "description": ""
4260           },
4261           {
4262             "group": "Body",
4263             "type": "Boolean",
4264             "optional": true,
4265             "field": "enableSendButton",
4266             "description": ""
4267           },
4268           {
4269             "group": "Body",
4270             "type": "String",
4271             "optional": true,
4272             "field": "feedbackTitle",
4273             "description": ""
4274           },
4275           {
4276             "group": "Body",
4277             "type": "String",
4278             "allowedValues": [
4279               "\"star\"",
4280               "\"thumb\""
4281             ],
4282             "optional": true,
4283             "field": "ratingType",
4284             "description": ""
4285           },
4286           {
4287             "group": "Body",
4288             "type": "Integer",
4289             "optional": true,
4290             "field": "ratingStarsNumber",
4291             "description": ""
4292           },
4293           {
4294             "group": "Body",
4295             "type": "Text",
4296             "optional": true,
4297             "field": "onlineForm",
4298             "description": ""
4299           },
4300           {
4301             "group": "Body",
4302             "type": "Text",
4303             "optional": true,
4304             "field": "offlineForm",
4305             "description": ""
4306           },
4307           {
4308             "group": "Body",
4309             "type": "String",
4310             "optional": true,
4311             "field": "token",
4312             "description": ""
4313           },
4314           {
4315             "group": "Body",
4316             "type": "Boolean",
4317             "optional": true,
4318             "field": "autoclose",
4319             "description": ""
4320           },
4321           {
4322             "group": "Body",
4323             "type": "Boolean",
4324             "optional": true,
4325             "field": "enableCustomerWriting",
4326             "description": ""
4327           },
4328           {
4329             "group": "Body",
4330             "type": "Boolean",
4331             "optional": true,
4332             "field": "forwardTranscript",
4333             "description": ""
4334           },
4335           {
4336             "group": "Body",
4337             "type": "String",
4338             "optional": true,
4339             "field": "forwardTranscriptMessage",
4340             "description": ""
4341           },
4342           {
4343             "group": "Body",
4344             "type": "Boolean",
4345             "optional": true,
4346             "field": "forwardOffline",
4347             "description": ""
4348           },
4349           {
4350             "group": "Body",
4351             "type": "String",
4352             "optional": true,
4353             "field": "forwardOfflineAddress",
4354             "description": ""
4355           },
4356           {
4357             "group": "Body",
4358             "type": "String",
4359             "optional": true,
4360             "field": "waitingTitle",
4361             "description": ""
4362           },
4363           {
4364             "group": "Body",
4365             "type": "String",
4366             "optional": true,
4367             "field": "waitingMessage",
4368             "description": ""
4369           },
4370           {
4371             "group": "Body",
4372             "type": "String",
4373             "optional": true,
4374             "field": "offlineMessageSubject",
4375             "description": ""
4376           },
4377           {
4378             "group": "Body",
4379             "type": "String",
4380             "optional": true,
4381             "field": "offlineMessageBody",
4382             "description": ""
4383           },
4384           {
4385             "group": "Body",
4386             "type": "Boolean",
4387             "optional": true,
4388             "field": "enableUnmanagedNote",
4389             "description": ""
4390           },
4391           {
4392             "group": "Body",
4393             "type": "String",
4394             "optional": true,
4395             "field": "unmanagedMessage",
4396             "description": ""
4397           },
4398           {
4399             "group": "Body",
4400             "type": "String",
4401             "optional": true,
4402             "field": "skipUnmanaged",
4403             "description": ""
4404           },
4405           {
4406             "group": "Body",
4407             "type": "String",
4408             "optional": true,
4409             "field": "sendUnmanaged",
4410             "description": ""
4411           },
4412           {
4413             "group": "Body",
4414             "type": "Boolean",
4415             "optional": true,
4416             "field": "enableCustomerAttachment",
4417             "description": ""
4418           },
4419           {
4420             "group": "Body",
4421             "type": "Boolean",
4422             "optional": true,
4423             "field": "enableCustomerCheckmarks",
4424             "description": ""
4425           },
4426           {
4427             "group": "Body",
4428             "type": "Text",
4429             "optional": true,
4430             "field": "agentAvatar",
4431             "description": ""
4432           },
4433           {
4434             "group": "Body",
4435             "type": "Boolean",
4436             "optional": true,
4437             "field": "showAgentAvatar",
4438             "description": ""
4439           },
4440           {
4441             "group": "Body",
4442             "type": "String",
4443             "optional": true,
4444             "field": "timezone",
4445             "description": ""
4446           },
4447           {
4448             "group": "Body",
4449             "type": "Text",
4450             "optional": true,
4451             "field": "notificationTemplate",
4452             "description": ""
4453           },
4454           {
4455             "group": "Body",
4456             "type": "Boolean",
4457             "optional": true,
4458             "field": "notificationSound",
4459             "description": ""
4460           },
4461           {
4462             "group": "Body",
4463             "type": "Boolean",
4464             "optional": true,
4465             "field": "notificationShake",
4466             "description": ""
4467           },
4468           {
4469             "group": "Body",
4470             "type": "Boolean",
4471             "optional": true,
4472             "field": "hideWhenOffline",
4473             "description": ""
4474           },
4475           {
4476             "group": "Body",
4477             "type": "String",
4478             "optional": true,
4479             "field": "agentIdentifier",
4480             "description": ""
4481           },
4482           {
4483             "group": "Body",
4484             "type": "Integer",
4485             "optional": true,
4486             "field": "waitForTheAssignedAgent",
4487             "description": ""
4488           },
4489           {
4490             "group": "Body",
4491             "type": "String",
4492             "optional": true,
4493             "field": "alignment",
4494             "description": ""
4495           },
4496           {
4497             "group": "Body",
4498             "type": "Integer",
4499             "optional": true,
4500             "field": "verticalAlignment",
4501             "description": ""
4502           },
4503           {
4504             "group": "Body",
4505             "type": "String",
4506             "optional": true,
4507             "field": "messagesAlignment",
4508             "description": ""
4509           },
4510           {
4511             "group": "Body",
4512             "type": "String",
4513             "optional": true,
4514             "field": "defaultTitle",
4515             "description": ""
4516           },
4517           {
4518             "group": "Body",
4519             "type": "Text",
4520             "optional": true,
4521             "field": "customerAvatar",
4522             "description": ""
4523           },
4524           {
4525             "group": "Body",
4526             "type": "Boolean",
4527             "optional": true,
4528             "field": "showCustomerAvatar",
4529             "description": ""
4530           },
4531           {
4532             "group": "Body",
4533             "type": "Integer",
4534             "optional": true,
4535             "field": "messageFontSize",
4536             "description": ""
4537           },
4538           {
4539             "group": "Body",
4540             "type": "String",
4541             "optional": false,
4542             "field": "backgroundColor",
4543             "description": ""
4544           },
4545           {
4546             "group": "Body",
4547             "type": "Boolean",
4548             "optional": true,
4549             "field": "queueTransfer",
4550             "description": ""
4551           },
4552           {
4553             "group": "Body",
4554             "type": "Integer",
4555             "optional": true,
4556             "field": "queueTransferTimeout",
4557             "description": ""
4558           },
4559           {
4560             "group": "Body",
4561             "type": "Boolean",
4562             "optional": true,
4563             "field": "agentTransfer",
4564             "description": ""
4565           },
4566           {
4567             "group": "Body",
4568             "type": "Integer",
4569             "optional": true,
4570             "field": "agentTransferTimeout",
4571             "description": ""
4572           },
4573           {
4574             "group": "Body",
4575             "type": "String",
4576             "optional": true,
4577             "field": "systemAlias",
4578             "description": ""
4579           },
4580           {
4581             "group": "Body",
4582             "type": "Text",
4583             "optional": true,
4584             "field": "systemAvatar",
4585             "description": ""
4586           },
4587           {
4588             "group": "Body",
4589             "type": "Integer",
4590             "optional": true,
4591             "field": "mandatoryDispositionPauseId",
4592             "description": "<p>Status to put when mandatory disposition is enabled</p>"
4593           },
4594           {
4595             "group": "Body",
4596             "type": "Boolean",
4597             "optional": true,
4598             "field": "mandatoryDisposition",
4599             "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
4600           },
4601           {
4602             "group": "Body",
4603             "type": "Boolean",
4604             "optional": true,
4605             "field": "vidaooEscalation",
4606             "description": ""
4607           },
4608           {
4609             "group": "Body",
4610             "type": "String",
4611             "optional": true,
4612             "field": "vidaooApiKey",
4613             "description": ""
4614           }
4615         ]
4616       }
4617     },
4618     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4619     "version": "0.0.0",
4620     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4621     "groupTitle": "Chat_Websites"
4622   },
4623   {
4624     "type": "delete",
4625     "url": "/api/chat/websites/{id}",
4626     "title": "Deletes a Website",
4627     "examples": [
4628       {
4629         "title": "Example usage:",
4630         "content": "curl https://{domain}/api/chat/websites/{id} -v -u {name}:{password} -X DELETE",
4631         "type": "json"
4632       }
4633     ],
4634     "name": "DeleteWebsites",
4635     "group": "Chat_Websites",
4636     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4637     "version": "0.0.0",
4638     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4639     "groupTitle": "Chat_Websites"
4640   },
4641   {
4642     "type": "get",
4643     "url": "/api/chat/websites/describe",
4644     "title": "Gets table info about Websites",
4645     "examples": [
4646       {
4647         "title": "Example usage:",
4648         "content": "curl https://{domain}/api/chat/websites/describe -v -u {name}:{password}",
4649         "type": "json"
4650       }
4651     ],
4652     "name": "DescribeWebsites",
4653     "group": "Chat_Websites",
4654     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4655     "version": "0.0.0",
4656     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4657     "groupTitle": "Chat_Websites"
4658   },
4659   {
4660     "type": "get",
4661     "url": "/api/chat/websites/{id}/users",
4662     "title": "Gets agents from website",
4663     "examples": [
4664       {
4665         "title": "Example usage:",
4666         "content": "curl https://{domain}/api/chat/websites/{id}/users -v -u {name}:{password} -X GET",
4667         "type": "json"
4668       }
4669     ],
4670     "name": "GetAgents",
4671     "group": "Chat_Websites",
4672     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4673     "version": "0.0.0",
4674     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4675     "groupTitle": "Chat_Websites"
4676   },
4677   {
4678     "type": "get",
4679     "url": "/api/chat/websites",
4680     "title": "Gets a list of Websites",
4681     "examples": [
4682       {
4683         "title": "Example usage:",
4684         "content": "curl https://{domain}/api/chat/websites -v -u {name}:{password}",
4685         "type": "json"
4686       }
4687     ],
4688     "name": "GetWebsites",
4689     "group": "Chat_Websites",
4690     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/chat/websites?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/chat/websites?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/chat/websites?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/chat/websites?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/chat/websites?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
4691     "version": "0.0.0",
4692     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4693     "groupTitle": "Chat_Websites"
4694   },
4695   {
4696     "type": "delete",
4697     "url": "/api/chat/websites/{id}/users",
4698     "title": "Removes agents from a website",
4699     "examples": [
4700       {
4701         "title": "Example usage:",
4702         "content": "curl https://{domain}/api/chat/websites/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
4703         "type": "json"
4704       }
4705     ],
4706     "name": "RemoveAgents",
4707     "group": "Chat_Websites",
4708     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4709     "version": "0.0.0",
4710     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4711     "groupTitle": "Chat_Websites"
4712   },
4713   {
4714     "type": "delete",
4715     "url": "/api/chat/websites/{id}/canned_answers",
4716     "title": "Removes canned answers from account",
4717     "examples": [
4718       {
4719         "title": "Example usage:",
4720         "content": "curl https://{domain}/api/chat/websites/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
4721         "type": "json"
4722       }
4723     ],
4724     "name": "RemoveAnswers",
4725     "group": "Chat_Websites",
4726     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4727     "version": "0.0.0",
4728     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4729     "groupTitle": "Chat_Websites"
4730   },
4731   {
4732     "type": "delete",
4733     "url": "/api/chat/websites/{id}/dispositions",
4734     "title": "Removes canned answers from account",
4735     "examples": [
4736       {
4737         "title": "Example usage:",
4738         "content": "curl https://{domain}/api/chat/websites/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
4739         "type": "json"
4740       }
4741     ],
4742     "name": "RemoveDispositions",
4743     "group": "Chat_Websites",
4744     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4745     "version": "0.0.0",
4746     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4747     "groupTitle": "Chat_Websites"
4748   },
4749   {
4750     "type": "get",
4751     "url": "/api/chat/websites/{id}",
4752     "title": "Gets a single Website",
4753     "examples": [
4754       {
4755         "title": "Example usage:",
4756         "content": "curl https://{domain}/api/chat/websites/{id} -v -u {name}:{password}",
4757         "type": "json"
4758       }
4759     ],
4760     "name": "ShowWebsites",
4761     "group": "Chat_Websites",
4762     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4763     "version": "0.0.0",
4764     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4765     "groupTitle": "Chat_Websites"
4766   },
4767   {
4768     "type": "put",
4769     "url": "/api/chat/messages/{id}/accept",
4770     "title": "Accepts message",
4771     "examples": [
4772       {
4773         "title": "Example usage:",
4774         "content": "curl https://{domain}/api/chat/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
4775         "type": "json"
4776       }
4777     ],
4778     "name": "acceptMessage",
4779     "group": "Chat_Websites",
4780     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4781     "version": "0.0.0",
4782     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatMessage/index.js",
4783     "groupTitle": "Chat_Websites"
4784   },
4785   {
4786     "type": "post",
4787     "url": "/api/chat/websites/{id}/canned_answers",
4788     "title": "Creates new canned answer",
4789     "examples": [
4790       {
4791         "title": "Example usage:",
4792         "content": "curl https://{domain}/api/chat/websites/{id}/canned_answers -d '{\"name\": \"vip\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
4793         "type": "json"
4794       }
4795     ],
4796     "name": "addAnswer",
4797     "group": "Chat_Websites",
4798     "parameter": {
4799       "fields": {
4800         "Body": [
4801           {
4802             "group": "Body",
4803             "type": "String",
4804             "optional": false,
4805             "field": "key",
4806             "description": ""
4807           },
4808           {
4809             "group": "Body",
4810             "type": "Text",
4811             "optional": false,
4812             "field": "value",
4813             "description": ""
4814           },
4815           {
4816             "group": "Body",
4817             "type": "String",
4818             "optional": true,
4819             "field": "description",
4820             "description": ""
4821           },
4822           {
4823             "group": "Body",
4824             "type": "Virtual",
4825             "optional": true,
4826             "field": "name",
4827             "description": ""
4828           }
4829         ]
4830       }
4831     },
4832     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4833     "version": "0.0.0",
4834     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4835     "groupTitle": "Chat_Websites"
4836   },
4837   {
4838     "type": "post",
4839     "url": "/api/chat/websites/{id}/applications",
4840     "title": "Creates new applications",
4841     "examples": [
4842       {
4843         "title": "Example usage:",
4844         "content": "curl https://{domain}/api/chat/websites/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
4845         "type": "json"
4846       }
4847     ],
4848     "name": "addApplications",
4849     "group": "Chat_Websites",
4850     "parameter": {
4851       "fields": {
4852         "Body": [
4853           {
4854             "group": "Body",
4855             "type": "Integer",
4856             "optional": false,
4857             "field": "priority",
4858             "description": ""
4859           },
4860           {
4861             "group": "Body",
4862             "type": "String",
4863             "optional": false,
4864             "field": "app",
4865             "description": ""
4866           },
4867           {
4868             "group": "Body",
4869             "type": "Text",
4870             "optional": true,
4871             "field": "appdata",
4872             "description": ""
4873           },
4874           {
4875             "group": "Body",
4876             "type": "String",
4877             "optional": true,
4878             "field": "description",
4879             "description": ""
4880           },
4881           {
4882             "group": "Body",
4883             "type": "String",
4884             "optional": true,
4885             "field": "interval",
4886             "description": ""
4887           }
4888         ]
4889       }
4890     },
4891     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4892     "version": "0.0.0",
4893     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4894     "groupTitle": "Chat_Websites"
4895   },
4896   {
4897     "type": "post",
4898     "url": "/api/chat/websites/{id}/avatar",
4899     "title": "Add avatar",
4900     "examples": [
4901       {
4902         "title": "Example usage:",
4903         "content": "curl https://{domain}/api/chat/websites/{id}/avatar -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
4904         "type": "json"
4905       }
4906     ],
4907     "name": "addAvatar",
4908     "group": "Chat_Websites",
4909     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4910     "version": "0.0.0",
4911     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4912     "groupTitle": "Chat_Websites"
4913   },
4914   {
4915     "type": "post",
4916     "url": "/api/chat/websites/{id}/customer_avatar",
4917     "title": "Add customer avatar",
4918     "examples": [
4919       {
4920         "title": "Example usage:",
4921         "content": "curl https://{domain}/api/chat/websites/{id}/customer_avatar -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
4922         "type": "json"
4923       }
4924     ],
4925     "name": "addCustomerAvatar",
4926     "group": "Chat_Websites",
4927     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4928     "version": "0.0.0",
4929     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4930     "groupTitle": "Chat_Websites"
4931   },
4932   {
4933     "type": "post",
4934     "url": "/api/chat/websites/{id}/dispositions",
4935     "title": "Creates new disposition",
4936     "examples": [
4937       {
4938         "title": "Example usage:",
4939         "content": "curl https://{domain}/api/chat/websites/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
4940         "type": "json"
4941       }
4942     ],
4943     "name": "addDisposition",
4944     "group": "Chat_Websites",
4945     "parameter": {
4946       "fields": {
4947         "Body": [
4948           {
4949             "group": "Body",
4950             "type": "String",
4951             "optional": false,
4952             "field": "name",
4953             "description": ""
4954           },
4955           {
4956             "group": "Body",
4957             "type": "String",
4958             "allowedValues": [
4959               "\"first\"",
4960               "\"second\"",
4961               "\"third\""
4962             ],
4963             "optional": false,
4964             "field": "level",
4965             "description": ""
4966           },
4967           {
4968             "group": "Body",
4969             "type": "String",
4970             "optional": true,
4971             "field": "description",
4972             "description": ""
4973           }
4974         ]
4975       }
4976     },
4977     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4978     "version": "0.0.0",
4979     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
4980     "groupTitle": "Chat_Websites"
4981   },
4982   {
4983     "type": "post",
4984     "url": "/api/chat/websites/{id}/dispositions",
4985     "title": "Creates new disposition",
4986     "examples": [
4987       {
4988         "title": "Example usage:",
4989         "content": "curl https://{domain}/api/chat/websites/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
4990         "type": "json"
4991       }
4992     ],
4993     "name": "addDisposition",
4994     "group": "Chat_Websites",
4995     "parameter": {
4996       "fields": {
4997         "Body": [
4998           {
4999             "group": "Body",
5000             "type": "String",
5001             "optional": false,
5002             "field": "name",
5003             "description": ""
5004           }
5005         ]
5006       }
5007     },
5008     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5009     "version": "0.0.0",
5010     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5011     "groupTitle": "Chat_Websites"
5012   },
5013   {
5014     "type": "post",
5015     "url": "/api/chat/accounts/{id}/interactions",
5016     "title": "Creates new interactions",
5017     "examples": [
5018       {
5019         "title": "Example usage:",
5020         "content": "curl https://{domain}/api/chat/websites/{id}/interactions -d '{\"host\": \"host\", \"username\": \"username\", \"password\": \"password\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
5021         "type": "json"
5022       }
5023     ],
5024     "name": "addInteraction",
5025     "group": "Chat_Websites",
5026     "parameter": {
5027       "fields": {
5028         "Body": [
5029           {
5030             "group": "Body",
5031             "type": "Boolean",
5032             "optional": true,
5033             "field": "closed",
5034             "description": ""
5035           },
5036           {
5037             "group": "Body",
5038             "type": "Integer",
5039             "optional": true,
5040             "field": "ratingValue",
5041             "description": ""
5042           },
5043           {
5044             "group": "Body",
5045             "type": "String",
5046             "allowedValues": [
5047               "\"star\"",
5048               "\"thumb\""
5049             ],
5050             "optional": true,
5051             "field": "ratingType",
5052             "description": ""
5053           },
5054           {
5055             "group": "Body",
5056             "type": "Text",
5057             "optional": true,
5058             "field": "ratingMessage",
5059             "description": ""
5060           },
5061           {
5062             "group": "Body",
5063             "type": "Text",
5064             "optional": true,
5065             "field": "pathTranscript",
5066             "description": ""
5067           },
5068           {
5069             "group": "Body",
5070             "type": "String",
5071             "optional": true,
5072             "field": "mailTranscript",
5073             "description": ""
5074           },
5075           {
5076             "group": "Body",
5077             "type": "String",
5078             "optional": true,
5079             "field": "closedAt",
5080             "description": ""
5081           },
5082           {
5083             "group": "Body",
5084             "type": "String",
5085             "optional": true,
5086             "field": "disposition",
5087             "description": ""
5088           },
5089           {
5090             "group": "Body",
5091             "type": "String",
5092             "optional": true,
5093             "field": "secondDisposition",
5094             "description": ""
5095           },
5096           {
5097             "group": "Body",
5098             "type": "String",
5099             "optional": true,
5100             "field": "thirdDisposition",
5101             "description": ""
5102           },
5103           {
5104             "group": "Body",
5105             "type": "String",
5106             "optional": true,
5107             "field": "note",
5108             "description": ""
5109           },
5110           {
5111             "group": "Body",
5112             "type": "String",
5113             "optional": true,
5114             "field": "browserName",
5115             "description": ""
5116           },
5117           {
5118             "group": "Body",
5119             "type": "String",
5120             "optional": true,
5121             "field": "browserVersion",
5122             "description": ""
5123           },
5124           {
5125             "group": "Body",
5126             "type": "String",
5127             "optional": true,
5128             "field": "osName",
5129             "description": ""
5130           },
5131           {
5132             "group": "Body",
5133             "type": "String",
5134             "optional": true,
5135             "field": "osVersion",
5136             "description": ""
5137           },
5138           {
5139             "group": "Body",
5140             "type": "String",
5141             "optional": true,
5142             "field": "deviceModel",
5143             "description": ""
5144           },
5145           {
5146             "group": "Body",
5147             "type": "String",
5148             "optional": true,
5149             "field": "deviceVendor",
5150             "description": ""
5151           },
5152           {
5153             "group": "Body",
5154             "type": "String",
5155             "optional": true,
5156             "field": "deviceType",
5157             "description": ""
5158           },
5159           {
5160             "group": "Body",
5161             "type": "Text",
5162             "optional": true,
5163             "field": "referer",
5164             "description": ""
5165           },
5166           {
5167             "group": "Body",
5168             "type": "String",
5169             "optional": true,
5170             "field": "customerIp",
5171             "description": ""
5172           },
5173           {
5174             "group": "Body",
5175             "type": "Text",
5176             "optional": true,
5177             "field": "formData",
5178             "description": ""
5179           },
5180           {
5181             "group": "Body",
5182             "type": "String",
5183             "optional": true,
5184             "field": "read1stAt",
5185             "description": ""
5186           },
5187           {
5188             "group": "Body",
5189             "type": "String",
5190             "optional": true,
5191             "field": "lastMsgAt",
5192             "description": ""
5193           },
5194           {
5195             "group": "Body",
5196             "type": "String",
5197             "allowedValues": [
5198               "\"in\"",
5199               "\"out\""
5200             ],
5201             "optional": false,
5202             "field": "lastMsgDirection",
5203             "description": ""
5204           },
5205           {
5206             "group": "Body",
5207             "type": "String",
5208             "optional": true,
5209             "field": "closeReason",
5210             "description": ""
5211           },
5212           {
5213             "group": "Body",
5214             "type": "String",
5215             "optional": true,
5216             "field": "customerPort",
5217             "description": ""
5218           },
5219           {
5220             "group": "Body",
5221             "type": "Text",
5222             "optional": true,
5223             "field": "vidaooSessionId",
5224             "description": ""
5225           }
5226         ]
5227       }
5228     },
5229     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5230     "version": "0.0.0",
5231     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5232     "groupTitle": "Chat_Websites"
5233   },
5234   {
5235     "type": "post",
5236     "url": "/api/chat/websites/{id}/logo",
5237     "title": "Add logo",
5238     "examples": [
5239       {
5240         "title": "Example usage:",
5241         "content": "curl https://{domain}/api/chat/websites/{id}/logo -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
5242         "type": "json"
5243       }
5244     ],
5245     "name": "addLogo",
5246     "group": "Chat_Websites",
5247     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5248     "version": "0.0.0",
5249     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5250     "groupTitle": "Chat_Websites"
5251   },
5252   {
5253     "type": "post",
5254     "url": "/api/chat/websites/{id}/proactive_actions",
5255     "title": "Creates new Proactive Actions",
5256     "examples": [
5257       {
5258         "title": "Example usage:",
5259         "content": "curl https://{domain}/api/chat/websites/{id}/proactive_actions -d '[{\"name\": \"Satisfied\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
5260         "type": "json"
5261       }
5262     ],
5263     "name": "addProactiveActions",
5264     "group": "Chat_Websites",
5265     "parameter": {
5266       "fields": {
5267         "Body": [
5268           {
5269             "group": "Body",
5270             "type": "String",
5271             "optional": false,
5272             "field": "name",
5273             "description": ""
5274           },
5275           {
5276             "group": "Body",
5277             "type": "String",
5278             "allowedValues": [
5279               "\"mouseOver\"",
5280               "\"timeout\""
5281             ],
5282             "optional": true,
5283             "field": "type",
5284             "description": ""
5285           },
5286           {
5287             "group": "Body",
5288             "type": "String",
5289             "optional": true,
5290             "field": "selector",
5291             "description": ""
5292           },
5293           {
5294             "group": "Body",
5295             "type": "Integer",
5296             "optional": true,
5297             "field": "timeout",
5298             "description": ""
5299           }
5300         ]
5301       }
5302     },
5303     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5304     "version": "0.0.0",
5305     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5306     "groupTitle": "Chat_Websites"
5307   },
5308   {
5309     "type": "post",
5310     "url": "/api/chat/websites/{id}/system_avatar",
5311     "title": "Add system avatar",
5312     "examples": [
5313       {
5314         "title": "Example usage:",
5315         "content": "curl https://{domain}/api/chat/websites/{id}/system_avatar -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
5316         "type": "json"
5317       }
5318     ],
5319     "name": "addSystemAvatar",
5320     "group": "Chat_Websites",
5321     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5322     "version": "0.0.0",
5323     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5324     "groupTitle": "Chat_Websites"
5325   },
5326   {
5327     "type": "get",
5328     "url": "/api/chat/websites/{id}/canned_answers",
5329     "title": "Gets account canned answers",
5330     "examples": [
5331       {
5332         "title": "Example usage:",
5333         "content": "curl https://{domain}/api/chat/websites/{id}/canned_answers -v -u {name}:{password} -X GET",
5334         "type": "json"
5335       }
5336     ],
5337     "name": "getAnswers",
5338     "group": "Chat_Websites",
5339     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5340     "version": "0.0.0",
5341     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5342     "groupTitle": "Chat_Websites"
5343   },
5344   {
5345     "type": "get",
5346     "url": "/api/chat/websites/{id}/applications",
5347     "title": "Gets Website Applications",
5348     "examples": [
5349       {
5350         "title": "Example usage:",
5351         "content": "curl https://{domain}/api/chat/websites/{id}/applications -v -u {name}:{password} -X GET",
5352         "type": "json"
5353       }
5354     ],
5355     "name": "getApplications",
5356     "group": "Chat_Websites",
5357     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5358     "version": "0.0.0",
5359     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5360     "groupTitle": "Chat_Websites"
5361   },
5362   {
5363     "type": "get",
5364     "url": "/api/chat/websites/{id}/avatar",
5365     "title": "Get avatar",
5366     "examples": [
5367       {
5368         "title": "Example usage:",
5369         "content": "curl https://{domain}/api/chat/websites/{id}/avatar -v -u {name}:{password} -X GET",
5370         "type": "json"
5371       }
5372     ],
5373     "name": "getAvatar",
5374     "group": "Chat_Websites",
5375     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5376     "version": "0.0.0",
5377     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5378     "groupTitle": "Chat_Websites"
5379   },
5380   {
5381     "type": "get",
5382     "url": "/api/chat/websites/{id}/customer_avatar",
5383     "title": "Get Customer Avatar",
5384     "examples": [
5385       {
5386         "title": "Example usage:",
5387         "content": "curl https://{domain}/api/chat/websites/{id}/customer_avatar -v -u {name}:{password} -X GET",
5388         "type": "json"
5389       }
5390     ],
5391     "name": "getCustomerAvatar",
5392     "group": "Chat_Websites",
5393     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5394     "version": "0.0.0",
5395     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5396     "groupTitle": "Chat_Websites"
5397   },
5398   {
5399     "type": "get",
5400     "url": "/api/chat/websites/{id}/fields",
5401     "title": "Gets Website Fields",
5402     "examples": [
5403       {
5404         "title": "Example usage:",
5405         "content": "curl https://{domain}/api/chat/websites/{id}/fields -v -u {name}:{password} -X GET",
5406         "type": "json"
5407       }
5408     ],
5409     "name": "getFields",
5410     "group": "Chat_Websites",
5411     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5412     "version": "0.0.0",
5413     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5414     "groupTitle": "Chat_Websites"
5415   },
5416   {
5417     "type": "get",
5418     "url": "/api/chat/websites/{id}/interactions",
5419     "title": "Gets Website Interactions",
5420     "examples": [
5421       {
5422         "title": "Example usage:",
5423         "content": "curl https://{domain}/api/chat/websites/{id}/interactions -v -u {name}:{password} -X GET",
5424         "type": "json"
5425       }
5426     ],
5427     "name": "getInteraction",
5428     "group": "Chat_Websites",
5429     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5430     "version": "0.0.0",
5431     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5432     "groupTitle": "Chat_Websites"
5433   },
5434   {
5435     "type": "get",
5436     "url": "/api/chat/websites/{id}/logo",
5437     "title": "Get logo",
5438     "examples": [
5439       {
5440         "title": "Example usage:",
5441         "content": "curl https://{domain}/api/chat/websites/{id}/logo -v -u {name}:{password} -X GET",
5442         "type": "json"
5443       }
5444     ],
5445     "name": "getLogo",
5446     "group": "Chat_Websites",
5447     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5448     "version": "0.0.0",
5449     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5450     "groupTitle": "Chat_Websites"
5451   },
5452   {
5453     "type": "get",
5454     "url": "/api/chat/websites/{id}/offline_messages",
5455     "title": "Gets Website Offline Messages",
5456     "examples": [
5457       {
5458         "title": "Example usage:",
5459         "content": "curl https://{domain}/api/chat/websites/{id}/offline_messages -v -u {name}:{password} -X GET",
5460         "type": "json"
5461       }
5462     ],
5463     "name": "getOfflineMessages",
5464     "group": "Chat_Websites",
5465     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5466     "version": "0.0.0",
5467     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5468     "groupTitle": "Chat_Websites"
5469   },
5470   {
5471     "type": "get",
5472     "url": "/api/chat/websites/{id}/proactive_actions",
5473     "title": "Gets Website Proactive Actions",
5474     "examples": [
5475       {
5476         "title": "Example usage:",
5477         "content": "curl https://{domain}/api/chat/websites/{id}/proactive_actions -v -u {name}:{password} -X GET",
5478         "type": "json"
5479       }
5480     ],
5481     "name": "getProactiveActions",
5482     "group": "Chat_Websites",
5483     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5484     "version": "0.0.0",
5485     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5486     "groupTitle": "Chat_Websites"
5487   },
5488   {
5489     "type": "get",
5490     "url": "/api/chat/websites/{id}/snippet",
5491     "title": "Gets Website Snippet",
5492     "examples": [
5493       {
5494         "title": "Example usage:",
5495         "content": "curl https://{domain}/api/chat/websites/{id}/snippet -v -u {name}:{password} -X GET",
5496         "type": "json"
5497       }
5498     ],
5499     "name": "getSnippet",
5500     "group": "Chat_Websites",
5501     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5502     "version": "0.0.0",
5503     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5504     "groupTitle": "Chat_Websites"
5505   },
5506   {
5507     "type": "get",
5508     "url": "/api/chat/websites/{id}/system_avatar",
5509     "title": "Get System Avatar",
5510     "examples": [
5511       {
5512         "title": "Example usage:",
5513         "content": "curl https://{domain}/api/chat/websites/{id}/system_avatar -v -u {name}:{password} -X GET",
5514         "type": "json"
5515       }
5516     ],
5517     "name": "getSystemAvatar",
5518     "group": "Chat_Websites",
5519     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5520     "version": "0.0.0",
5521     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5522     "groupTitle": "Chat_Websites"
5523   },
5524   {
5525     "type": "post",
5526     "url": "/api/chat/websites/{id}/notify",
5527     "title": "Notify new message",
5528     "examples": [
5529       {
5530         "title": "Example usage:",
5531         "content": "curl https://{domain}/api/chat/websites/{id}/notify -d '{\"body\": \"hello world\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
5532         "type": "json"
5533       }
5534     ],
5535     "name": "notify",
5536     "group": "Chat_Websites",
5537     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <p>This API is used to create a new chat message to be sent to the system.</p>",
5538     "version": "0.0.0",
5539     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5540     "groupTitle": "Chat_Websites"
5541   },
5542   {
5543     "type": "post",
5544     "url": "/api/chat/websites/{id}/offline",
5545     "title": "Offline message",
5546     "examples": [
5547       {
5548         "title": "Example usage:",
5549         "content": "curl https://{domain}/api/chat/websites/{id}/offline -d '{\"body\": \"hello world\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
5550         "type": "json"
5551       }
5552     ],
5553     "name": "offline",
5554     "group": "Chat_Websites",
5555     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5556     "version": "0.0.0",
5557     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5558     "groupTitle": "Chat_Websites"
5559   },
5560   {
5561     "type": "put",
5562     "url": "/api/chat/messages/{id}/reject",
5563     "title": "Rejects message",
5564     "examples": [
5565       {
5566         "title": "Example usage:",
5567         "content": "curl https://{domain}/api/chat/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
5568         "type": "json"
5569       }
5570     ],
5571     "name": "rejectMessage",
5572     "group": "Chat_Websites",
5573     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5574     "version": "0.0.0",
5575     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatMessage/index.js",
5576     "groupTitle": "Chat_Websites"
5577   },
5578   {
5579     "type": "put",
5580     "url": "/api/chat/websites/{id}",
5581     "title": "Update an existing Website",
5582     "examples": [
5583       {
5584         "title": "Example usage:",
5585         "content": "curl https://{domain}/api/chat/websites/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
5586         "type": "json"
5587       }
5588     ],
5589     "name": "updateWebsites",
5590     "group": "Chat_Websites",
5591     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5592     "version": "0.0.0",
5593     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatWebsite/index.js",
5594     "groupTitle": "Chat_Websites"
5595   },
5596   {
5597     "type": "post",
5598     "url": "/api/cloudProviders",
5599     "title": "Creates a new CloudProvider",
5600     "examples": [
5601       {
5602         "title": "Example usage:",
5603         "content": "curl https://{domain}/api/cloudProviders -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
5604         "type": "json"
5605       }
5606     ],
5607     "name": "CreateCloudProviders",
5608     "group": "CloudProviders",
5609     "parameter": {
5610       "fields": {
5611         "Body": [
5612           {
5613             "group": "Body",
5614             "type": "String",
5615             "optional": false,
5616             "field": "name",
5617             "description": ""
5618           },
5619           {
5620             "group": "Body",
5621             "type": "String",
5622             "allowedValues": [
5623               "\"AmazonAWS\"",
5624               "\"Google\""
5625             ],
5626             "optional": false,
5627             "field": "service",
5628             "description": ""
5629           },
5630           {
5631             "group": "Body",
5632             "type": "String",
5633             "optional": true,
5634             "field": "data1",
5635             "description": ""
5636           },
5637           {
5638             "group": "Body",
5639             "type": "String",
5640             "optional": true,
5641             "field": "data2",
5642             "description": ""
5643           }
5644         ]
5645       }
5646     },
5647     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5648     "version": "0.0.0",
5649     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cloudProvider/index.js",
5650     "groupTitle": "CloudProviders"
5651   },
5652   {
5653     "type": "delete",
5654     "url": "/api/cloudProviders/{id}",
5655     "title": "Deletes a CloudProvider",
5656     "examples": [
5657       {
5658         "title": "Example usage:",
5659         "content": "curl https://{domain}/api/cloudProviders/{id} -v -u {name}:{password} -X DELETE",
5660         "type": "json"
5661       }
5662     ],
5663     "name": "DeleteCloudProviders",
5664     "group": "CloudProviders",
5665     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5666     "version": "0.0.0",
5667     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cloudProvider/index.js",
5668     "groupTitle": "CloudProviders"
5669   },
5670   {
5671     "type": "get",
5672     "url": "/api/cloudProviders",
5673     "title": "Gets a list of CloudProviders",
5674     "examples": [
5675       {
5676         "title": "Example usage:",
5677         "content": "curl https://{domain}/api/cloudProviders -v -u {name}:{password}",
5678         "type": "json"
5679       }
5680     ],
5681     "name": "GetCloudProviders",
5682     "group": "CloudProviders",
5683     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/cloudProviders?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/cloudProviders?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/cloudProviders?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/cloudProviders?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/cloudProviders?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
5684     "version": "0.0.0",
5685     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cloudProvider/index.js",
5686     "groupTitle": "CloudProviders"
5687   },
5688   {
5689     "type": "get",
5690     "url": "/api/cloudProviders/{id}",
5691     "title": "Gets a single CloudProvider",
5692     "examples": [
5693       {
5694         "title": "Example usage:",
5695         "content": "curl https://{domain}/api/cloudProviders/{id} -v -u {name}:{password}",
5696         "type": "json"
5697       }
5698     ],
5699     "name": "ShowCloudProviders",
5700     "group": "CloudProviders",
5701     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5702     "version": "0.0.0",
5703     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cloudProvider/index.js",
5704     "groupTitle": "CloudProviders"
5705   },
5706   {
5707     "type": "put",
5708     "url": "/api/cloudProviders/{id}",
5709     "title": "Update an existing CloudProvider",
5710     "examples": [
5711       {
5712         "title": "Example usage:",
5713         "content": "curl https://{domain}/api/cloudProviders/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
5714         "type": "json"
5715       }
5716     ],
5717     "name": "updateCloudProviders",
5718     "group": "CloudProviders",
5719     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5720     "version": "0.0.0",
5721     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cloudProvider/index.js",
5722     "groupTitle": "CloudProviders"
5723   },
5724   {
5725     "type": "post",
5726     "url": "/api/cm/companies",
5727     "title": "Creates a new Company",
5728     "examples": [
5729       {
5730         "title": "Example usage:",
5731         "content": "curl https://{domain}/api/cm/companies -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
5732         "type": "json"
5733       }
5734     ],
5735     "name": "CreateCompanies",
5736     "group": "Cm_Companies",
5737     "parameter": {
5738       "fields": {
5739         "Body": [
5740           {
5741             "group": "Body",
5742             "type": "String",
5743             "optional": false,
5744             "field": "name",
5745             "description": ""
5746           },
5747           {
5748             "group": "Body",
5749             "type": "String",
5750             "optional": true,
5751             "field": "vat",
5752             "description": ""
5753           },
5754           {
5755             "group": "Body",
5756             "type": "String",
5757             "optional": true,
5758             "field": "companyId",
5759             "description": ""
5760           },
5761           {
5762             "group": "Body",
5763             "type": "String",
5764             "optional": true,
5765             "field": "website",
5766             "description": ""
5767           },
5768           {
5769             "group": "Body",
5770             "type": "String",
5771             "optional": true,
5772             "field": "phone",
5773             "description": ""
5774           },
5775           {
5776             "group": "Body",
5777             "type": "String",
5778             "optional": true,
5779             "field": "fax",
5780             "description": ""
5781           },
5782           {
5783             "group": "Body",
5784             "type": "String",
5785             "optional": true,
5786             "field": "type",
5787             "description": ""
5788           },
5789           {
5790             "group": "Body",
5791             "type": "String",
5792             "optional": true,
5793             "field": "street",
5794             "description": ""
5795           },
5796           {
5797             "group": "Body",
5798             "type": "String",
5799             "optional": true,
5800             "field": "postalCode",
5801             "description": ""
5802           },
5803           {
5804             "group": "Body",
5805             "type": "String",
5806             "optional": true,
5807             "field": "city",
5808             "description": ""
5809           },
5810           {
5811             "group": "Body",
5812             "type": "String",
5813             "optional": true,
5814             "field": "country",
5815             "description": ""
5816           },
5817           {
5818             "group": "Body",
5819             "type": "String",
5820             "optional": true,
5821             "field": "email",
5822             "description": ""
5823           },
5824           {
5825             "group": "Body",
5826             "type": "String",
5827             "optional": true,
5828             "field": "emailDomain",
5829             "description": ""
5830           },
5831           {
5832             "group": "Body",
5833             "type": "String",
5834             "optional": true,
5835             "field": "sStreet",
5836             "description": ""
5837           },
5838           {
5839             "group": "Body",
5840             "type": "String",
5841             "optional": true,
5842             "field": "sPostalCode",
5843             "description": ""
5844           },
5845           {
5846             "group": "Body",
5847             "type": "String",
5848             "optional": true,
5849             "field": "sCity",
5850             "description": ""
5851           },
5852           {
5853             "group": "Body",
5854             "type": "String",
5855             "optional": true,
5856             "field": "sCountry",
5857             "description": ""
5858           },
5859           {
5860             "group": "Body",
5861             "type": "String",
5862             "optional": true,
5863             "field": "description",
5864             "description": ""
5865           }
5866         ]
5867       }
5868     },
5869     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5870     "version": "0.0.0",
5871     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCompany/index.js",
5872     "groupTitle": "Cm_Companies"
5873   },
5874   {
5875     "type": "delete",
5876     "url": "/api/cm/companies/{id}",
5877     "title": "Deletes a Company",
5878     "examples": [
5879       {
5880         "title": "Example usage:",
5881         "content": "curl https://{domain}/api/cm/companies/{id} -v -u {name}:{password} -X DELETE",
5882         "type": "json"
5883       }
5884     ],
5885     "name": "DeleteCompanies",
5886     "group": "Cm_Companies",
5887     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5888     "version": "0.0.0",
5889     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCompany/index.js",
5890     "groupTitle": "Cm_Companies"
5891   },
5892   {
5893     "type": "get",
5894     "url": "/api/cm/companies/describe",
5895     "title": "Gets table info about Companies",
5896     "examples": [
5897       {
5898         "title": "Example usage:",
5899         "content": "curl https://{domain}/api/cm/companies/describe -v -u {name}:{password}",
5900         "type": "json"
5901       }
5902     ],
5903     "name": "DescribeCompanies",
5904     "group": "Cm_Companies",
5905     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5906     "version": "0.0.0",
5907     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCompany/index.js",
5908     "groupTitle": "Cm_Companies"
5909   },
5910   {
5911     "type": "get",
5912     "url": "/api/cm/companies",
5913     "title": "Gets a list of Companies",
5914     "examples": [
5915       {
5916         "title": "Example usage:",
5917         "content": "curl https://{domain}/api/cm/companies -v -u {name}:{password}",
5918         "type": "json"
5919       }
5920     ],
5921     "name": "GetCompanies",
5922     "group": "Cm_Companies",
5923     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/cm/companies?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/cm/companies?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/cm/companies?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/cm/companies?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/cm/companies?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
5924     "version": "0.0.0",
5925     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCompany/index.js",
5926     "groupTitle": "Cm_Companies"
5927   },
5928   {
5929     "type": "get",
5930     "url": "/api/cm/companies/{id}",
5931     "title": "Gets a single Company",
5932     "examples": [
5933       {
5934         "title": "Example usage:",
5935         "content": "curl https://{domain}/api/cm/companies/{id} -v -u {name}:{password}",
5936         "type": "json"
5937       }
5938     ],
5939     "name": "ShowCompanies",
5940     "group": "Cm_Companies",
5941     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5942     "version": "0.0.0",
5943     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCompany/index.js",
5944     "groupTitle": "Cm_Companies"
5945   },
5946   {
5947     "type": "post",
5948     "url": "/api/cm/companies/{id}/contacts",
5949     "title": "Creates new contacts",
5950     "examples": [
5951       {
5952         "title": "Example usage:",
5953         "content": "curl https://{domain}/api/cm/companies/{id}/contacts -d '[{\"firstName\": \"John Doe\", \"email\": \"john.doe@xcally.com\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
5954         "type": "json"
5955       }
5956     ],
5957     "name": "addContacts",
5958     "group": "Cm_Companies",
5959     "parameter": {
5960       "fields": {
5961         "Body": [
5962           {
5963             "group": "Body",
5964             "type": "String",
5965             "optional": false,
5966             "field": "firstName",
5967             "description": ""
5968           },
5969           {
5970             "group": "Body",
5971             "type": "String",
5972             "optional": true,
5973             "field": "lastName",
5974             "description": ""
5975           },
5976           {
5977             "group": "Body",
5978             "type": "String",
5979             "optional": true,
5980             "field": "street",
5981             "description": ""
5982           },
5983           {
5984             "group": "Body",
5985             "type": "String",
5986             "optional": true,
5987             "field": "postalCode",
5988             "description": ""
5989           },
5990           {
5991             "group": "Body",
5992             "type": "String",
5993             "optional": true,
5994             "field": "city",
5995             "description": ""
5996           },
5997           {
5998             "group": "Body",
5999             "type": "String",
6000             "optional": true,
6001             "field": "country",
6002             "description": ""
6003           },
6004           {
6005             "group": "Body",
6006             "type": "String",
6007             "optional": true,
6008             "field": "dateOfBirth",
6009             "description": ""
6010           },
6011           {
6012             "group": "Body",
6013             "type": "Text",
6014             "optional": true,
6015             "field": "description",
6016             "description": ""
6017           },
6018           {
6019             "group": "Body",
6020             "type": "String",
6021             "optional": true,
6022             "field": "phone",
6023             "description": ""
6024           },
6025           {
6026             "group": "Body",
6027             "type": "String",
6028             "optional": true,
6029             "field": "mobile",
6030             "description": ""
6031           },
6032           {
6033             "group": "Body",
6034             "type": "String",
6035             "optional": true,
6036             "field": "fax",
6037             "description": ""
6038           },
6039           {
6040             "group": "Body",
6041             "type": "String",
6042             "optional": true,
6043             "field": "email",
6044             "description": ""
6045           },
6046           {
6047             "group": "Body",
6048             "type": "String",
6049             "optional": true,
6050             "field": "url",
6051             "description": ""
6052           },
6053           {
6054             "group": "Body",
6055             "type": "String",
6056             "optional": true,
6057             "field": "facebook",
6058             "description": ""
6059           },
6060           {
6061             "group": "Body",
6062             "type": "String",
6063             "optional": true,
6064             "field": "fb_data",
6065             "description": ""
6066           },
6067           {
6068             "group": "Body",
6069             "type": "String",
6070             "optional": true,
6071             "field": "twitter",
6072             "description": ""
6073           },
6074           {
6075             "group": "Body",
6076             "type": "String",
6077             "optional": true,
6078             "field": "skype",
6079             "description": ""
6080           },
6081           {
6082             "group": "Body",
6083             "type": "String",
6084             "optional": true,
6085             "field": "teams",
6086             "description": ""
6087           },
6088           {
6089             "group": "Body",
6090             "type": "String",
6091             "optional": true,
6092             "field": "viber",
6093             "description": ""
6094           },
6095           {
6096             "group": "Body",
6097             "type": "String",
6098             "optional": true,
6099             "field": "line",
6100             "description": ""
6101           },
6102           {
6103             "group": "Body",
6104             "type": "String",
6105             "optional": true,
6106             "field": "wechat",
6107             "description": ""
6108           },
6109           {
6110             "group": "Body",
6111             "type": "String",
6112             "optional": true,
6113             "field": "telegram",
6114             "description": ""
6115           },
6116           {
6117             "group": "Body",
6118             "type": "Integer",
6119             "optional": true,
6120             "field": "UserId",
6121             "description": ""
6122           },
6123           {
6124             "group": "Body",
6125             "type": "Integer",
6126             "optional": true,
6127             "field": "priority",
6128             "description": ""
6129           },
6130           {
6131             "group": "Body",
6132             "type": "String",
6133             "optional": true,
6134             "field": "scheduledat",
6135             "description": ""
6136           }
6137         ]
6138       }
6139     },
6140     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6141     "version": "0.0.0",
6142     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCompany/index.js",
6143     "groupTitle": "Cm_Companies"
6144   },
6145   {
6146     "type": "get",
6147     "url": "/api/cm/companies/{id}/contacts",
6148     "title": "Gets List Contacts",
6149     "examples": [
6150       {
6151         "title": "Example usage:",
6152         "content": "curl https://{domain}/api/fax/companies/{id}/contacts -v -u {name}:{password} -X GET",
6153         "type": "json"
6154       }
6155     ],
6156     "name": "getContacts",
6157     "group": "Cm_Companies",
6158     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6159     "version": "0.0.0",
6160     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCompany/index.js",
6161     "groupTitle": "Cm_Companies"
6162   },
6163   {
6164     "type": "put",
6165     "url": "/api/cm/companies/{id}",
6166     "title": "Update an existing Company",
6167     "examples": [
6168       {
6169         "title": "Example usage:",
6170         "content": "curl https://{domain}/api/cm/companies/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
6171         "type": "json"
6172       }
6173     ],
6174     "name": "updateCompanies",
6175     "group": "Cm_Companies",
6176     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6177     "version": "0.0.0",
6178     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCompany/index.js",
6179     "groupTitle": "Cm_Companies"
6180   },
6181   {
6182     "type": "post",
6183     "url": "/CreateCmContact",
6184     "title": "Creates a new Contact",
6185     "name": "CreateCmContact",
6186     "group": "Cm_Contacts",
6187     "version": "0.0.0",
6188     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/cmContact.rpc.js",
6189     "groupTitle": "Cm_Contacts"
6190   },
6191   {
6192     "type": "delete",
6193     "url": "/api/cm/contacts/{id}",
6194     "title": "Deletes a Contact",
6195     "examples": [
6196       {
6197         "title": "Example usage:",
6198         "content": "curl https://{domain}/api/cm/contacts/{id} -v -u {name}:{password} -X DELETE",
6199         "type": "json"
6200       }
6201     ],
6202     "name": "DeleteContacts",
6203     "group": "Cm_Contacts",
6204     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6205     "version": "0.0.0",
6206     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6207     "groupTitle": "Cm_Contacts"
6208   },
6209   {
6210     "type": "get",
6211     "url": "/api/cm/contacts/describe",
6212     "title": "Gets table info about Contacts",
6213     "examples": [
6214       {
6215         "title": "Example usage:",
6216         "content": "curl https://{domain}/api/cm/contacts/describe -v -u {name}:{password}",
6217         "type": "json"
6218       }
6219     ],
6220     "name": "DescribeContacts",
6221     "group": "Cm_Contacts",
6222     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6223     "version": "0.0.0",
6224     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6225     "groupTitle": "Cm_Contacts"
6226   },
6227   {
6228     "type": "get",
6229     "url": "/GetCmContact",
6230     "title": "Gets a list of Contacts",
6231     "name": "GetCmContact",
6232     "group": "Cm_Contacts",
6233     "parameter": {
6234       "fields": {
6235         "Body": [
6236           {
6237             "group": "Body",
6238             "type": "Object",
6239             "optional": true,
6240             "field": "options.attributes",
6241             "description": ""
6242           },
6243           {
6244             "group": "Body",
6245             "type": "Object",
6246             "optional": true,
6247             "field": "options.where",
6248             "description": ""
6249           }
6250         ]
6251       }
6252     },
6253     "version": "0.0.0",
6254     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/cmContact.rpc.js",
6255     "groupTitle": "Cm_Contacts"
6256   },
6257   {
6258     "type": "get",
6259     "url": "/api/cm/contacts",
6260     "title": "Gets a list of Contacts",
6261     "examples": [
6262       {
6263         "title": "Example usage:",
6264         "content": "curl https://{domain}/api/cm/contacts -v -u {name}:{password}",
6265         "type": "json"
6266       }
6267     ],
6268     "name": "GetContacts",
6269     "group": "Cm_Contacts",
6270     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/cm/contacts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/cm/contacts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/cm/contacts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/cm/contacts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/cm/contacts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
6271     "version": "0.0.0",
6272     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6273     "groupTitle": "Cm_Contacts"
6274   },
6275   {
6276     "type": "get",
6277     "url": "/api/cm/contacts/{id}/finals",
6278     "title": "Gets contact hopper finals",
6279     "examples": [
6280       {
6281         "title": "Example usage:",
6282         "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_finals -v -u {name}:{password}  -X GET",
6283         "type": "json"
6284       }
6285     ],
6286     "name": "GetHopperFinals",
6287     "group": "Cm_Contacts",
6288     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6289     "version": "0.0.0",
6290     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6291     "groupTitle": "Cm_Contacts"
6292   },
6293   {
6294     "type": "get",
6295     "url": "/api/cm/contacts/{id}/hopper_histories",
6296     "title": "Gets contact hopper histories",
6297     "examples": [
6298       {
6299         "title": "Example usage:",
6300         "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_histories -v -u {name}:{password} -X GET",
6301         "type": "json"
6302       }
6303     ],
6304     "name": "GetHopperHistories",
6305     "group": "Cm_Contacts",
6306     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6307     "version": "0.0.0",
6308     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6309     "groupTitle": "Cm_Contacts"
6310   },
6311   {
6312     "type": "get",
6313     "url": "/api/cm/contacts/{id}/hoppers",
6314     "title": "Gets contact hoppers",
6315     "examples": [
6316       {
6317         "title": "Example usage:",
6318         "content": "curl https://{domain}/api/cm/contacts/{id}/hoppers -v -u {name}:{password} -X GET",
6319         "type": "json"
6320       }
6321     ],
6322     "name": "GetHoppers",
6323     "group": "Cm_Contacts",
6324     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6325     "version": "0.0.0",
6326     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6327     "groupTitle": "Cm_Contacts"
6328   },
6329   {
6330     "type": "post",
6331     "url": "/api/cm/contacts/create_many",
6332     "title": "Create Contacts",
6333     "examples": [
6334       {
6335         "title": "Example usage:",
6336         "content": "curl https://{domain}/api/cm/contacts/create_many -d '[{\"firstName\": \"John\", \"lastName\": \"doe\", \"...\": \"...\"}]' -v -u {name}:{password} -X POST",
6337         "type": "json"
6338       }
6339     ],
6340     "name": "bulkCreate",
6341     "group": "Cm_Contacts",
6342     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6343     "version": "0.0.0",
6344     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6345     "groupTitle": "Cm_Contacts"
6346   },
6347   {
6348     "type": "post",
6349     "url": "/api/cm/contacts",
6350     "title": "Create Contact",
6351     "examples": [
6352       {
6353         "title": "Example usage:",
6354         "content": "curl https://{domain}/api/cm/contacts -d '{\"firstName\": \"John\", \"lastName\": \"doe\", \"...\": \"...\"}' -v -u {name}:{password} -X POST",
6355         "type": "json"
6356       }
6357     ],
6358     "name": "create",
6359     "group": "Cm_Contacts",
6360     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6361     "version": "0.0.0",
6362     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6363     "groupTitle": "Cm_Contacts"
6364   },
6365   {
6366     "type": "get",
6367     "url": "/api/cm/contacts/{id}/jscripty_sessions",
6368     "title": "Gets contact hopper blacks",
6369     "examples": [
6370       {
6371         "title": "Example usage:",
6372         "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_black -v -u {name}:{password}  -X GET",
6373         "type": "json"
6374       }
6375     ],
6376     "name": "getJscriptySessions",
6377     "group": "Cm_Contacts",
6378     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6379     "version": "0.0.0",
6380     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6381     "groupTitle": "Cm_Contacts"
6382   },
6383   {
6384     "type": "get",
6385     "url": "/api/cm/contacts/{id}/tags",
6386     "title": "Gets configurations tags",
6387     "examples": [
6388       {
6389         "title": "Example usage:",
6390         "content": "curl https://{domain}/api/cm/contacts/{id}/tags -v -u {name}:{password} -X GET",
6391         "type": "json"
6392       }
6393     ],
6394     "name": "getTags",
6395     "group": "Cm_Contacts",
6396     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6397     "version": "0.0.0",
6398     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6399     "groupTitle": "Cm_Contacts"
6400   },
6401   {
6402     "type": "post",
6403     "url": "/api/cm/contacts/merge",
6404     "title": "Merge Contact",
6405     "examples": [
6406       {
6407         "title": "Example usage:",
6408         "content": "curl https://{domain}/api/cm/contacts/merge -d '{\"from\": 1, \"to\": 2}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6409         "type": "json"
6410       }
6411     ],
6412     "name": "merge",
6413     "group": "Cm_Contacts",
6414     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6415     "version": "0.0.0",
6416     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6417     "groupTitle": "Cm_Contacts"
6418   },
6419   {
6420     "type": "post",
6421     "url": "/api/cm/contacts/{id}/tags",
6422     "title": "Sets new tags",
6423     "examples": [
6424       {
6425         "title": "Example usage:",
6426         "content": "curl https://{domain}/api/cm/contacts/{id}/tags -d '{\"ids\": [1,12]}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6427         "type": "json"
6428       }
6429     ],
6430     "name": "setTags",
6431     "group": "Cm_Contacts",
6432     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6433     "version": "0.0.0",
6434     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6435     "groupTitle": "Cm_Contacts"
6436   },
6437   {
6438     "type": "get",
6439     "url": "/api/cm/contacts/{id}",
6440     "title": "Gets a single Contact",
6441     "examples": [
6442       {
6443         "title": "Example usage:",
6444         "content": "curl https://{domain}/api/cm/contacts/{id} -v -u {name}:{password} -X GET",
6445         "type": "json"
6446       }
6447     ],
6448     "name": "show",
6449     "group": "Cm_Contacts",
6450     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6451     "version": "0.0.0",
6452     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6453     "groupTitle": "Cm_Contacts"
6454   },
6455   {
6456     "type": "put",
6457     "url": "/api/cm/contacts/{id}",
6458     "title": "Update a single Contact",
6459     "examples": [
6460       {
6461         "title": "Example usage:",
6462         "content": "curl https://{domain}/api/cm/contacts/{id} -d '{\"firstName\": \"John\", \"lastName\": \"Doe\"}' -v -u {name}:{password} -X PUT",
6463         "type": "json"
6464       }
6465     ],
6466     "name": "update",
6467     "group": "Cm_Contacts",
6468     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6469     "version": "0.0.0",
6470     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
6471     "groupTitle": "Cm_Contacts"
6472   },
6473   {
6474     "type": "delete",
6475     "url": "/api/cm/custom_fields/{id}",
6476     "title": "Deletes a Custom Field",
6477     "examples": [
6478       {
6479         "title": "Example usage:",
6480         "content": "curl https://{domain}/api/cm/custom_fields/{id} -v -u {name}:{password} -X DELETE",
6481         "type": "json"
6482       }
6483     ],
6484     "name": "DeleteCustom_Fields",
6485     "group": "Cm_Custom_Fields",
6486     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6487     "version": "0.0.0",
6488     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCustomField/index.js",
6489     "groupTitle": "Cm_Custom_Fields"
6490   },
6491   {
6492     "type": "get",
6493     "url": "/api/cm/custom_fields",
6494     "title": "Gets a list of Custom Fields",
6495     "examples": [
6496       {
6497         "title": "Example usage:",
6498         "content": "curl https://{domain}/api/cm/custom_fields -v -u {name}:{password}",
6499         "type": "json"
6500       }
6501     ],
6502     "name": "GetCustom_Fields",
6503     "group": "Cm_Custom_Fields",
6504     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/cm/custom_fields?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/cm/custom_fields?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/cm/custom_fields?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/cm/custom_fields?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/cm/custom_fields?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
6505     "version": "0.0.0",
6506     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCustomField/index.js",
6507     "groupTitle": "Cm_Custom_Fields"
6508   },
6509   {
6510     "type": "get",
6511     "url": "/api/cm/custom_fields/{id}",
6512     "title": "Gets a single Custom Field",
6513     "examples": [
6514       {
6515         "title": "Example usage:",
6516         "content": "curl https://{domain}/api/cm/custom_fields/{id} -v -u {name}:{password}",
6517         "type": "json"
6518       }
6519     ],
6520     "name": "ShowCustom_Fields",
6521     "group": "Cm_Custom_Fields",
6522     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6523     "version": "0.0.0",
6524     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCustomField/index.js",
6525     "groupTitle": "Cm_Custom_Fields"
6526   },
6527   {
6528     "type": "put",
6529     "url": "/api/cm/custom_fields/{id}",
6530     "title": "Update an existing Custom Field",
6531     "examples": [
6532       {
6533         "title": "Example usage:",
6534         "content": "curl https://{domain}/api/cm/custom_fields/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
6535         "type": "json"
6536       }
6537     ],
6538     "name": "updateCustom_Fields",
6539     "group": "Cm_Custom_Fields",
6540     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6541     "version": "0.0.0",
6542     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCustomField/index.js",
6543     "groupTitle": "Cm_Custom_Fields"
6544   },
6545   {
6546     "type": "post",
6547     "url": "/CreateCmHopper",
6548     "title": "Creates a new Hopper",
6549     "name": "CreateCmHopper",
6550     "group": "Cm_Hopper",
6551     "version": "0.0.0",
6552     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/cmHopper.rpc.js",
6553     "groupTitle": "Cm_Hopper"
6554   },
6555   {
6556     "type": "post",
6557     "url": "/api/cm/hopper",
6558     "title": "Creates a new Hopper",
6559     "examples": [
6560       {
6561         "title": "Example usage:",
6562         "content": "curl https://{domain}/api/cm/hopper -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
6563         "type": "json"
6564       }
6565     ],
6566     "name": "CreateHopper",
6567     "group": "Cm_Hopper",
6568     "parameter": {
6569       "fields": {
6570         "Body": [
6571           {
6572             "group": "Body",
6573             "type": "String",
6574             "optional": false,
6575             "field": "phone",
6576             "description": ""
6577           },
6578           {
6579             "group": "Body",
6580             "type": "Boolean",
6581             "optional": true,
6582             "field": "active",
6583             "description": ""
6584           },
6585           {
6586             "group": "Body",
6587             "type": "String",
6588             "optional": true,
6589             "field": "scheduledat",
6590             "description": ""
6591           },
6592           {
6593             "group": "Body",
6594             "type": "Integer",
6595             "optional": true,
6596             "field": "countbusyretry",
6597             "description": ""
6598           },
6599           {
6600             "group": "Body",
6601             "type": "Integer",
6602             "optional": true,
6603             "field": "countcongestionretry",
6604             "description": ""
6605           },
6606           {
6607             "group": "Body",
6608             "type": "Integer",
6609             "optional": true,
6610             "field": "countnoanswerretry",
6611             "description": ""
6612           },
6613           {
6614             "group": "Body",
6615             "type": "Boolean",
6616             "optional": true,
6617             "field": "callback",
6618             "description": ""
6619           },
6620           {
6621             "group": "Body",
6622             "type": "String",
6623             "optional": true,
6624             "field": "callbackuniqueid",
6625             "description": ""
6626           },
6627           {
6628             "group": "Body",
6629             "type": "String",
6630             "optional": true,
6631             "field": "callbackat",
6632             "description": ""
6633           },
6634           {
6635             "group": "Body",
6636             "type": "Integer",
6637             "optional": true,
6638             "field": "priority",
6639             "description": ""
6640           },
6641           {
6642             "group": "Body",
6643             "type": "Boolean",
6644             "optional": true,
6645             "field": "recallme",
6646             "description": ""
6647           },
6648           {
6649             "group": "Body",
6650             "type": "Integer",
6651             "optional": true,
6652             "field": "ContactId",
6653             "description": ""
6654           },
6655           {
6656             "group": "Body",
6657             "type": "Integer",
6658             "optional": true,
6659             "field": "ListId",
6660             "description": ""
6661           },
6662           {
6663             "group": "Body",
6664             "type": "Integer",
6665             "optional": true,
6666             "field": "UserId",
6667             "description": ""
6668           },
6669           {
6670             "group": "Body",
6671             "type": "Integer",
6672             "optional": true,
6673             "field": "VoiceQueueId",
6674             "description": ""
6675           },
6676           {
6677             "group": "Body",
6678             "type": "Integer",
6679             "optional": true,
6680             "field": "CampaignId",
6681             "description": ""
6682           },
6683           {
6684             "group": "Body",
6685             "type": "Integer",
6686             "optional": true,
6687             "field": "countnosuchnumberretry",
6688             "description": ""
6689           },
6690           {
6691             "group": "Body",
6692             "type": "Integer",
6693             "optional": true,
6694             "field": "countdropretry",
6695             "description": ""
6696           },
6697           {
6698             "group": "Body",
6699             "type": "Integer",
6700             "optional": true,
6701             "field": "countabandonedretry",
6702             "description": ""
6703           },
6704           {
6705             "group": "Body",
6706             "type": "Integer",
6707             "optional": true,
6708             "field": "countmachineretry",
6709             "description": ""
6710           },
6711           {
6712             "group": "Body",
6713             "type": "Integer",
6714             "optional": true,
6715             "field": "countagentrejectretry",
6716             "description": ""
6717           }
6718         ]
6719       }
6720     },
6721     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6722     "version": "0.0.0",
6723     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/index.js",
6724     "groupTitle": "Cm_Hopper"
6725   },
6726   {
6727     "type": "get",
6728     "url": "/api/cm/hopper/describe",
6729     "title": "Gets table info about Hopper",
6730     "examples": [
6731       {
6732         "title": "Example usage:",
6733         "content": "curl https://{domain}/api/cm/hopper/describe -v -u {name}:{password}",
6734         "type": "json"
6735       }
6736     ],
6737     "name": "DescribeHopper",
6738     "group": "Cm_Hopper",
6739     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6740     "version": "0.0.0",
6741     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/index.js",
6742     "groupTitle": "Cm_Hopper"
6743   },
6744   {
6745     "type": "post",
6746     "url": "/DestroyCmHopper",
6747     "title": "Destroy a new Hopper",
6748     "name": "DestroyCmHopper",
6749     "group": "Cm_Hopper",
6750     "parameter": {
6751       "fields": {
6752         "Body": [
6753           {
6754             "group": "Body",
6755             "type": "Object",
6756             "optional": true,
6757             "field": "options.attributes",
6758             "description": ""
6759           },
6760           {
6761             "group": "Body",
6762             "type": "Object",
6763             "optional": false,
6764             "field": "options.where",
6765             "description": ""
6766           }
6767         ]
6768       }
6769     },
6770     "version": "0.0.0",
6771     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/cmHopper.rpc.js",
6772     "groupTitle": "Cm_Hopper"
6773   },
6774   {
6775     "type": "get",
6776     "url": "/GetCmHopper",
6777     "title": "Gets a list of Hopper",
6778     "name": "GetCmHopper",
6779     "group": "Cm_Hopper",
6780     "parameter": {
6781       "fields": {
6782         "Body": [
6783           {
6784             "group": "Body",
6785             "type": "Object",
6786             "optional": true,
6787             "field": "options.attributes",
6788             "description": ""
6789           },
6790           {
6791             "group": "Body",
6792             "type": "Object",
6793             "optional": true,
6794             "field": "options.where",
6795             "description": ""
6796           }
6797         ]
6798       }
6799     },
6800     "version": "0.0.0",
6801     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/cmHopper.rpc.js",
6802     "groupTitle": "Cm_Hopper"
6803   },
6804   {
6805     "type": "get",
6806     "url": "/GetCmHopperPreview",
6807     "title": "",
6808     "name": "GetCmHopperPreview",
6809     "group": "Cm_Hopper",
6810     "version": "0.0.0",
6811     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/cmHopper.rpc.js",
6812     "groupTitle": "Cm_Hopper"
6813   },
6814   {
6815     "type": "get",
6816     "url": "/GetContactDialer",
6817     "title": "Get a contact for dialer",
6818     "name": "GetContactDialer",
6819     "group": "Cm_Hopper",
6820     "version": "0.0.0",
6821     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/cmHopper.rpc.js",
6822     "groupTitle": "Cm_Hopper"
6823   },
6824   {
6825     "type": "get",
6826     "url": "/GetContactRecallMe",
6827     "title": "Get a contact for preview recallme",
6828     "name": "GetContactRecallMe",
6829     "group": "Cm_Hopper",
6830     "version": "0.0.0",
6831     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/cmHopper.rpc.js",
6832     "groupTitle": "Cm_Hopper"
6833   },
6834   {
6835     "type": "get",
6836     "url": "/api/cm/hopper",
6837     "title": "Gets a list of Hopper",
6838     "examples": [
6839       {
6840         "title": "Example usage:",
6841         "content": "curl https://{domain}/api/cm/hopper -v -u {name}:{password}",
6842         "type": "json"
6843       }
6844     ],
6845     "name": "GetHopper",
6846     "group": "Cm_Hopper",
6847     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/cm/hopper?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/cm/hopper?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/cm/hopper?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/cm/hopper?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/cm/hopper?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
6848     "version": "0.0.0",
6849     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/index.js",
6850     "groupTitle": "Cm_Hopper"
6851   },
6852   {
6853     "type": "post",
6854     "url": "/MoveContactManagedDialer",
6855     "title": "move a contact for dialer",
6856     "name": "MoveContactManagedDialer",
6857     "group": "Cm_Hopper",
6858     "version": "0.0.0",
6859     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/cmHopper.rpc.js",
6860     "groupTitle": "Cm_Hopper"
6861   },
6862   {
6863     "type": "get",
6864     "url": "/ShowCmHopper",
6865     "title": "Gets a single Hopper",
6866     "name": "ShowCmHopper",
6867     "group": "Cm_Hopper",
6868     "parameter": {
6869       "fields": {
6870         "Body": [
6871           {
6872             "group": "Body",
6873             "type": "Object",
6874             "optional": true,
6875             "field": "options.attributes",
6876             "description": ""
6877           },
6878           {
6879             "group": "Body",
6880             "type": "Object",
6881             "optional": false,
6882             "field": "options.where",
6883             "description": ""
6884           }
6885         ]
6886       }
6887     },
6888     "version": "0.0.0",
6889     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/cmHopper.rpc.js",
6890     "groupTitle": "Cm_Hopper"
6891   },
6892   {
6893     "type": "get",
6894     "url": "/api/cm/hopper/{id}",
6895     "title": "Gets a single Hopper",
6896     "examples": [
6897       {
6898         "title": "Example usage:",
6899         "content": "curl https://{domain}/api/cm/hopper/{id} -v -u {name}:{password}",
6900         "type": "json"
6901       }
6902     ],
6903     "name": "ShowHopper",
6904     "group": "Cm_Hopper",
6905     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6906     "version": "0.0.0",
6907     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/index.js",
6908     "groupTitle": "Cm_Hopper"
6909   },
6910   {
6911     "type": "post",
6912     "url": "/UpdateCmHopper",
6913     "title": "Updates a new Hopper",
6914     "name": "UpdateCmHopper",
6915     "group": "Cm_Hopper",
6916     "parameter": {
6917       "fields": {
6918         "Body": [
6919           {
6920             "group": "Body",
6921             "type": "Object",
6922             "optional": true,
6923             "field": "options.attributes",
6924             "description": ""
6925           },
6926           {
6927             "group": "Body",
6928             "type": "Object",
6929             "optional": false,
6930             "field": "options.where",
6931             "description": ""
6932           }
6933         ]
6934       }
6935     },
6936     "version": "0.0.0",
6937     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/cmHopper.rpc.js",
6938     "groupTitle": "Cm_Hopper"
6939   },
6940   {
6941     "type": "delete",
6942     "url": "/api/cm/hopper_black/{id}",
6943     "title": "Deletes a Hopper Black",
6944     "examples": [
6945       {
6946         "title": "Example usage:",
6947         "content": "curl https://{domain}/api/cm/hopper_black/{id} -v -u {name}:{password} -X DELETE",
6948         "type": "json"
6949       }
6950     ],
6951     "name": "DeleteHopper_Black",
6952     "group": "Cm_Hopper_Black",
6953     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6954     "version": "0.0.0",
6955     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperBlack/index.js",
6956     "groupTitle": "Cm_Hopper_Black"
6957   },
6958   {
6959     "type": "get",
6960     "url": "/api/cm/hopper_black/describe",
6961     "title": "Gets table info about Hopper Black",
6962     "examples": [
6963       {
6964         "title": "Example usage:",
6965         "content": "curl https://{domain}/api/cm/hopper_black/describe -v -u {name}:{password}",
6966         "type": "json"
6967       }
6968     ],
6969     "name": "DescribeHopper_Black",
6970     "group": "Cm_Hopper_Black",
6971     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6972     "version": "0.0.0",
6973     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperBlack/index.js",
6974     "groupTitle": "Cm_Hopper_Black"
6975   },
6976   {
6977     "type": "post",
6978     "url": "/DestroyCmHopperBlack",
6979     "title": "Destroy a new Hopper Black",
6980     "name": "DestroyCmHopperBlack",
6981     "group": "Cm_Hopper_Black",
6982     "parameter": {
6983       "fields": {
6984         "Body": [
6985           {
6986             "group": "Body",
6987             "type": "Object",
6988             "optional": true,
6989             "field": "options.attributes",
6990             "description": ""
6991           },
6992           {
6993             "group": "Body",
6994             "type": "Object",
6995             "optional": false,
6996             "field": "options.where",
6997             "description": ""
6998           }
6999         ]
7000       }
7001     },
7002     "version": "0.0.0",
7003     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperBlack/cmHopperBlack.rpc.js",
7004     "groupTitle": "Cm_Hopper_Black"
7005   },
7006   {
7007     "type": "get",
7008     "url": "/GetCmHopperBlack",
7009     "title": "Gets a list of Hopper Black",
7010     "name": "GetCmHopperBlack",
7011     "group": "Cm_Hopper_Black",
7012     "parameter": {
7013       "fields": {
7014         "Body": [
7015           {
7016             "group": "Body",
7017             "type": "Object",
7018             "optional": true,
7019             "field": "options.attributes",
7020             "description": ""
7021           },
7022           {
7023             "group": "Body",
7024             "type": "Object",
7025             "optional": true,
7026             "field": "options.where",
7027             "description": ""
7028           }
7029         ]
7030       }
7031     },
7032     "version": "0.0.0",
7033     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperBlack/cmHopperBlack.rpc.js",
7034     "groupTitle": "Cm_Hopper_Black"
7035   },
7036   {
7037     "type": "get",
7038     "url": "/api/cm/hopper_black",
7039     "title": "Gets a list of Hopper Black",
7040     "examples": [
7041       {
7042         "title": "Example usage:",
7043         "content": "curl https://{domain}/api/cm/hopper_black -v -u {name}:{password}",
7044         "type": "json"
7045       }
7046     ],
7047     "name": "GetHopper_Black",
7048     "group": "Cm_Hopper_Black",
7049     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/cm/hopper_black?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/cm/hopper_black?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/cm/hopper_black?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/cm/hopper_black?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/cm/hopper_black?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
7050     "version": "0.0.0",
7051     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperBlack/index.js",
7052     "groupTitle": "Cm_Hopper_Black"
7053   },
7054   {
7055     "type": "get",
7056     "url": "/api/cm/hopper_black/{id}",
7057     "title": "Gets a single Hopper Black",
7058     "examples": [
7059       {
7060         "title": "Example usage:",
7061         "content": "curl https://{domain}/api/cm/hopper_black/{id} -v -u {name}:{password}",
7062         "type": "json"
7063       }
7064     ],
7065     "name": "ShowHopper_Black",
7066     "group": "Cm_Hopper_Black",
7067     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7068     "version": "0.0.0",
7069     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperBlack/index.js",
7070     "groupTitle": "Cm_Hopper_Black"
7071   },
7072   {
7073     "type": "post",
7074     "url": "/UpdateCmHopperBlack",
7075     "title": "Updates a new Hopper Black",
7076     "name": "UpdateCmHopperBlack",
7077     "group": "Cm_Hopper_Black",
7078     "parameter": {
7079       "fields": {
7080         "Body": [
7081           {
7082             "group": "Body",
7083             "type": "Object",
7084             "optional": true,
7085             "field": "options.attributes",
7086             "description": ""
7087           },
7088           {
7089             "group": "Body",
7090             "type": "Object",
7091             "optional": false,
7092             "field": "options.where",
7093             "description": ""
7094           }
7095         ]
7096       }
7097     },
7098     "version": "0.0.0",
7099     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperBlack/cmHopperBlack.rpc.js",
7100     "groupTitle": "Cm_Hopper_Black"
7101   },
7102   {
7103     "type": "put",
7104     "url": "/api/cm/hopper_black/{id}",
7105     "title": "Update an existing Hopper Black",
7106     "examples": [
7107       {
7108         "title": "Example usage:",
7109         "content": "curl https://{domain}/api/cm/hopper_black/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
7110         "type": "json"
7111       }
7112     ],
7113     "name": "updateHopper_Black",
7114     "group": "Cm_Hopper_Black",
7115     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7116     "version": "0.0.0",
7117     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperBlack/index.js",
7118     "groupTitle": "Cm_Hopper_Black"
7119   },
7120   {
7121     "type": "post",
7122     "url": "/api/cm/hopper_final/checkContactHopper",
7123     "title": "Check if contact is in hopper",
7124     "examples": [
7125       {
7126         "title": "Example usage:",
7127         "content": "curl https://{domain}/api/hopper_final/checkContactHopper -d '{\"VoiceQueueId\": \"VoiceQueueId\", \"CampaignId\": \"CampaignId\", \"ContactId\": \"ContactId\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
7128         "type": "json"
7129       }
7130     ],
7131     "name": "/checkContactHopper",
7132     "group": "Cm_Hopper_Final",
7133     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7134     "version": "0.0.0",
7135     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperFinal/index.js",
7136     "groupTitle": "Cm_Hopper_Final"
7137   },
7138   {
7139     "type": "post",
7140     "url": "/CreateCmHopperFinal",
7141     "title": "Creates a new HopperFinal",
7142     "name": "CreateCmHopperFinal",
7143     "group": "Cm_Hopper_Final",
7144     "version": "0.0.0",
7145     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperFinal/cmHopperFinal.rpc.js",
7146     "groupTitle": "Cm_Hopper_Final"
7147   },
7148   {
7149     "type": "get",
7150     "url": "/api/cm/hopper_final/describe",
7151     "title": "Gets table info about HopperFinal",
7152     "examples": [
7153       {
7154         "title": "Example usage:",
7155         "content": "curl https://{domain}/api/cm/hopper_final/describe -v -u {name}:{password}",
7156         "type": "json"
7157       }
7158     ],
7159     "name": "DescribeHopperFinal",
7160     "group": "Cm_Hopper_Final",
7161     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7162     "version": "0.0.0",
7163     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperFinal/index.js",
7164     "groupTitle": "Cm_Hopper_Final"
7165   },
7166   {
7167     "type": "get",
7168     "url": "/api/cm/hopper_final",
7169     "title": "Gets a list of HopperFinal",
7170     "examples": [
7171       {
7172         "title": "Example usage:",
7173         "content": "curl https://{domain}/api/cm/hopper_final -v -u {name}:{password}",
7174         "type": "json"
7175       }
7176     ],
7177     "name": "GetHopperFinal",
7178     "group": "Cm_Hopper_Final",
7179     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/cm/hopper_final?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/cm/hopper_final?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/cm/hopper_final?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/cm/hopper_final?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/cm/hopper_final?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
7180     "version": "0.0.0",
7181     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperFinal/index.js",
7182     "groupTitle": "Cm_Hopper_Final"
7183   },
7184   {
7185     "type": "get",
7186     "url": "/api/cm/hopper_final/{id}",
7187     "title": "Gets a single HopperFinal",
7188     "examples": [
7189       {
7190         "title": "Example usage:",
7191         "content": "curl https://{domain}/api/cm/hopper_final/{id} -v -u {name}:{password}",
7192         "type": "json"
7193       }
7194     ],
7195     "name": "ShowHopperFinal",
7196     "group": "Cm_Hopper_Final",
7197     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7198     "version": "0.0.0",
7199     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperFinal/index.js",
7200     "groupTitle": "Cm_Hopper_Final"
7201   },
7202   {
7203     "type": "get",
7204     "url": "/api/cm/hopper_final/campaign/countAttributes/{id}",
7205     "title": "Return number contacts for attributes",
7206     "examples": [
7207       {
7208         "title": "Example usage:",
7209         "content": "curl https://{domain}/api/hopper_final/campaign/countAttributes/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X GET",
7210         "type": "json"
7211       }
7212     ],
7213     "name": "countContactsIvrCampaignHopperFinal",
7214     "group": "Cm_Hopper_Final",
7215     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7216     "version": "0.0.0",
7217     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperFinal/index.js",
7218     "groupTitle": "Cm_Hopper_Final"
7219   },
7220   {
7221     "type": "get",
7222     "url": "/api/cm/hopper_final/voice/queue/countAttributes/{id}",
7223     "title": "Return number contacts for attributes",
7224     "examples": [
7225       {
7226         "title": "Example usage:",
7227         "content": "curl https://{domain}/api/hopper_final/voice/queue/countAttributes/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X GET",
7228         "type": "json"
7229       }
7230     ],
7231     "name": "countContactsQueueCampaignHopperFinal",
7232     "group": "Cm_Hopper_Final",
7233     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7234     "version": "0.0.0",
7235     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperFinal/index.js",
7236     "groupTitle": "Cm_Hopper_Final"
7237   },
7238   {
7239     "type": "post",
7240     "url": "/api/cm/hopper_final/campaign/{id}",
7241     "title": "Move contacts in hopper",
7242     "examples": [
7243       {
7244         "title": "Example usage:",
7245         "content": "curl https://{domain}/api/hopper_final/campaign/moveContacts/{id} -d '{\"state\": \"state\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
7246         "type": "json"
7247       }
7248     ],
7249     "name": "moveContactsIvrCampaignHopperFinal",
7250     "group": "Cm_Hopper_Final",
7251     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7252     "version": "0.0.0",
7253     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperFinal/index.js",
7254     "groupTitle": "Cm_Hopper_Final"
7255   },
7256   {
7257     "type": "post",
7258     "url": "/api/cm/hopper_final/voice/queue/{id}",
7259     "title": "Move contacts in hopper",
7260     "examples": [
7261       {
7262         "title": "Example usage:",
7263         "content": "curl https://{domain}/api/hopper_final/voice/queue/moveContacts/{id} -d '{\"state\": \"state\"}' -H 'Content-Type: application/json' -v -u {name}:{password}",
7264         "type": "json"
7265       }
7266     ],
7267     "name": "moveContactsQueueCampaignHopperFinal",
7268     "group": "Cm_Hopper_Final",
7269     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7270     "version": "0.0.0",
7271     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperFinal/index.js",
7272     "groupTitle": "Cm_Hopper_Final"
7273   },
7274   {
7275     "type": "put",
7276     "url": "/api/cm/hopper_final/{id}",
7277     "title": "Update a single hopper final",
7278     "examples": [
7279       {
7280         "title": "Example usage:",
7281         "content": "curl https://{domain}/api/hopper_final/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X PUT",
7282         "type": "json"
7283       }
7284     ],
7285     "name": "update",
7286     "group": "Cm_Hopper_Final",
7287     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7288     "version": "0.0.0",
7289     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperFinal/index.js",
7290     "groupTitle": "Cm_Hopper_Final"
7291   },
7292   {
7293     "type": "post",
7294     "url": "/CreateCmHopperHistory",
7295     "title": "Creates a new HopperHistory",
7296     "name": "CreateCmHopperHistory",
7297     "group": "Cm_Hopper_History",
7298     "version": "0.0.0",
7299     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperHistory/cmHopperHistory.rpc.js",
7300     "groupTitle": "Cm_Hopper_History"
7301   },
7302   {
7303     "type": "post",
7304     "url": "/api/cm/hopper_history",
7305     "title": "Creates a new HopperHistory",
7306     "examples": [
7307       {
7308         "title": "Example usage:",
7309         "content": "curl https://{domain}/api/cm/hopper_history -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
7310         "type": "json"
7311       }
7312     ],
7313     "name": "CreateHopperHistory",
7314     "group": "Cm_Hopper_History",
7315     "parameter": {
7316       "fields": {
7317         "Body": [
7318           {
7319             "group": "Body",
7320             "type": "Integer",
7321             "optional": true,
7322             "field": "state",
7323             "description": ""
7324           },
7325           {
7326             "group": "Body",
7327             "type": "String",
7328             "optional": true,
7329             "field": "statedesc",
7330             "description": ""
7331           },
7332           {
7333             "group": "Body",
7334             "type": "String",
7335             "optional": true,
7336             "field": "scheduledat",
7337             "description": ""
7338           },
7339           {
7340             "group": "Body",
7341             "type": "Integer",
7342             "optional": true,
7343             "field": "countbusyretry",
7344             "description": ""
7345           },
7346           {
7347             "group": "Body",
7348             "type": "Integer",
7349             "optional": true,
7350             "field": "countcongestionretry",
7351             "description": ""
7352           },
7353           {
7354             "group": "Body",
7355             "type": "Integer",
7356             "optional": true,
7357             "field": "countnoanswerretry",
7358             "description": ""
7359           },
7360           {
7361             "group": "Body",
7362             "type": "Integer",
7363             "optional": true,
7364             "field": "countglobal",
7365             "description": ""
7366           },
7367           {
7368             "group": "Body",
7369             "type": "String",
7370             "optional": true,
7371             "field": "uniqueid",
7372             "description": ""
7373           },
7374           {
7375             "group": "Body",
7376             "type": "String",
7377             "optional": true,
7378             "field": "originatecalleridnum",
7379             "description": ""
7380           },
7381           {
7382             "group": "Body",
7383             "type": "String",
7384             "optional": true,
7385             "field": "originatecalleridname",
7386             "description": ""
7387           },
7388           {
7389             "group": "Body",
7390             "type": "String",
7391             "optional": true,
7392             "field": "calleridnum",
7393             "description": ""
7394           },
7395           {
7396             "group": "Body",
7397             "type": "String",
7398             "optional": true,
7399             "field": "calleridname",
7400             "description": ""
7401           },
7402           {
7403             "group": "Body",
7404             "type": "String",
7405             "optional": true,
7406             "field": "starttime",
7407             "description": ""
7408           },
7409           {
7410             "group": "Body",
7411             "type": "String",
7412             "optional": true,
7413             "field": "responsetime",
7414             "description": ""
7415           },
7416           {
7417             "group": "Body",
7418             "type": "String",
7419             "optional": true,
7420             "field": "answertime",
7421             "description": ""
7422           },
7423           {
7424             "group": "Body",
7425             "type": "String",
7426             "optional": true,
7427             "field": "droptime",
7428             "description": ""
7429           },
7430           {
7431             "group": "Body",
7432             "type": "String",
7433             "optional": true,
7434             "field": "endtime",
7435             "description": ""
7436           },
7437           {
7438             "group": "Body",
7439             "type": "Integer",
7440             "optional": true,
7441             "field": "ringtime",
7442             "description": ""
7443           },
7444           {
7445             "group": "Body",
7446             "type": "Integer",
7447             "optional": true,
7448             "field": "holdtime",
7449             "description": ""
7450           },
7451           {
7452             "group": "Body",
7453             "type": "Integer",
7454             "optional": true,
7455             "field": "talktime",
7456             "description": ""
7457           },
7458           {
7459             "group": "Body",
7460             "type": "Integer",
7461             "optional": true,
7462             "field": "followuptime",
7463             "description": ""
7464           },
7465           {
7466             "group": "Body",
7467             "type": "String",
7468             "optional": true,
7469             "field": "dropreason",
7470             "description": ""
7471           },
7472           {
7473             "group": "Body",
7474             "type": "String",
7475             "optional": true,
7476             "field": "campaign",
7477             "description": ""
7478           },
7479           {
7480             "group": "Body",
7481             "type": "String",
7482             "optional": true,
7483             "field": "campaigntype",
7484             "description": ""
7485           },
7486           {
7487             "group": "Body",
7488             "type": "String",
7489             "optional": true,
7490             "field": "membername",
7491             "description": ""
7492           },
7493           {
7494             "group": "Body",
7495             "type": "String",
7496             "optional": true,
7497             "field": "reason",
7498             "description": ""
7499           },
7500           {
7501             "group": "Body",
7502             "type": "Boolean",
7503             "optional": true,
7504             "field": "amd",
7505             "description": ""
7506           },
7507           {
7508             "group": "Body",
7509             "type": "Boolean",
7510             "optional": true,
7511             "field": "fax",
7512             "description": ""
7513           },
7514           {
7515             "group": "Body",
7516             "type": "Boolean",
7517             "optional": true,
7518             "field": "callback",
7519             "description": ""
7520           },
7521           {
7522             "group": "Body",
7523             "type": "String",
7524             "optional": true,
7525             "field": "callbackuniqueid",
7526             "description": ""
7527           },
7528           {
7529             "group": "Body",
7530             "type": "String",
7531             "optional": true,
7532             "field": "callbackat",
7533             "description": ""
7534           },
7535           {
7536             "group": "Body",
7537             "type": "Boolean",
7538             "optional": true,
7539             "field": "recallme",
7540             "description": ""
7541           },
7542           {
7543             "group": "Body",
7544             "type": "String",
7545             "optional": true,
7546             "field": "editedat",
7547             "description": ""
7548           },
7549           {
7550             "group": "Body",
7551             "type": "Boolean",
7552             "optional": true,
7553             "field": "edited",
7554             "description": ""
7555           },
7556           {
7557             "group": "Body",
7558             "type": "Integer",
7559             "optional": true,
7560             "field": "countnosuchnumberretry",
7561             "description": ""
7562           },
7563           {
7564             "group": "Body",
7565             "type": "Integer",
7566             "optional": true,
7567             "field": "countdropretry",
7568             "description": ""
7569           },
7570           {
7571             "group": "Body",
7572             "type": "Integer",
7573             "optional": true,
7574             "field": "countabandonedretry",
7575             "description": ""
7576           },
7577           {
7578             "group": "Body",
7579             "type": "Integer",
7580             "optional": true,
7581             "field": "countmachineretry",
7582             "description": ""
7583           },
7584           {
7585             "group": "Body",
7586             "type": "Integer",
7587             "optional": true,
7588             "field": "countagentrejectretry",
7589             "description": ""
7590           }
7591         ]
7592       }
7593     },
7594     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7595     "version": "0.0.0",
7596     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperHistory/index.js",
7597     "groupTitle": "Cm_Hopper_History"
7598   },
7599   {
7600     "type": "get",
7601     "url": "/api/cm/hopper_history/describe",
7602     "title": "Gets table info about HopperHistory",
7603     "examples": [
7604       {
7605         "title": "Example usage:",
7606         "content": "curl https://{domain}/api/cm/hopper_history/describe -v -u {name}:{password}",
7607         "type": "json"
7608       }
7609     ],
7610     "name": "DescribeHopperHistory",
7611     "group": "Cm_Hopper_History",
7612     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7613     "version": "0.0.0",
7614     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperHistory/index.js",
7615     "groupTitle": "Cm_Hopper_History"
7616   },
7617   {
7618     "type": "get",
7619     "url": "/countReschedule",
7620     "title": "Count rescheduled contacts",
7621     "name": "GetCmHopperHistory",
7622     "group": "Cm_Hopper_History",
7623     "parameter": {
7624       "fields": {
7625         "Body": [
7626           {
7627             "group": "Body",
7628             "type": "Object",
7629             "optional": true,
7630             "field": "options.attributes",
7631             "description": ""
7632           },
7633           {
7634             "group": "Body",
7635             "type": "Object",
7636             "optional": true,
7637             "field": "options.where",
7638             "description": ""
7639           }
7640         ]
7641       }
7642     },
7643     "version": "0.0.0",
7644     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/cmHopper.rpc.js",
7645     "groupTitle": "Cm_Hopper_History"
7646   },
7647   {
7648     "type": "get",
7649     "url": "/AvgHandleTime",
7650     "title": "Gets a avg of talktime and holdtime",
7651     "name": "GetCmHopperHistory",
7652     "group": "Cm_Hopper_History",
7653     "parameter": {
7654       "fields": {
7655         "Body": [
7656           {
7657             "group": "Body",
7658             "type": "Object",
7659             "optional": true,
7660             "field": "options.attributes",
7661             "description": ""
7662           },
7663           {
7664             "group": "Body",
7665             "type": "Object",
7666             "optional": true,
7667             "field": "options.where",
7668             "description": ""
7669           }
7670         ]
7671       }
7672     },
7673     "version": "0.0.0",
7674     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperHistory/cmHopperHistory.rpc.js",
7675     "groupTitle": "Cm_Hopper_History"
7676   },
7677   {
7678     "type": "get",
7679     "url": "/getVoiceQueueHopperHistory",
7680     "title": "Counts no succes calls",
7681     "name": "GetCmHopperHistory",
7682     "group": "Cm_Hopper_History",
7683     "parameter": {
7684       "fields": {
7685         "Body": [
7686           {
7687             "group": "Body",
7688             "type": "Object",
7689             "optional": true,
7690             "field": "options.attributes",
7691             "description": ""
7692           },
7693           {
7694             "group": "Body",
7695             "type": "Object",
7696             "optional": true,
7697             "field": "options.where",
7698             "description": ""
7699           }
7700         ]
7701       }
7702     },
7703     "version": "0.0.0",
7704     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperHistory/cmHopperHistory.rpc.js",
7705     "groupTitle": "Cm_Hopper_History"
7706   },
7707   {
7708     "type": "get",
7709     "url": "/getCampaignHopperHistory",
7710     "title": "Counts no succes calls",
7711     "name": "GetCmHopperHistory",
7712     "group": "Cm_Hopper_History",
7713     "parameter": {
7714       "fields": {
7715         "Body": [
7716           {
7717             "group": "Body",
7718             "type": "Object",
7719             "optional": true,
7720             "field": "options.attributes",
7721             "description": ""
7722           },
7723           {
7724             "group": "Body",
7725             "type": "Object",
7726             "optional": true,
7727             "field": "options.where",
7728             "description": ""
7729           }
7730         ]
7731       }
7732     },
7733     "version": "0.0.0",
7734     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperHistory/cmHopperHistory.rpc.js",
7735     "groupTitle": "Cm_Hopper_History"
7736   },
7737   {
7738     "type": "get",
7739     "url": "/api/cm/hopper_history",
7740     "title": "Gets a list of HopperHistory",
7741     "examples": [
7742       {
7743         "title": "Example usage:",
7744         "content": "curl https://{domain}/api/cm/hopper_history -v -u {name}:{password}",
7745         "type": "json"
7746       }
7747     ],
7748     "name": "GetHopperHistory",
7749     "group": "Cm_Hopper_History",
7750     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/cm/hopper_history?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/cm/hopper_history?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/cm/hopper_history?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/cm/hopper_history?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/cm/hopper_history?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
7751     "version": "0.0.0",
7752     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperHistory/index.js",
7753     "groupTitle": "Cm_Hopper_History"
7754   },
7755   {
7756     "type": "get",
7757     "url": "/api/cm/hopper_history/{id}",
7758     "title": "Gets a single HopperHistory",
7759     "examples": [
7760       {
7761         "title": "Example usage:",
7762         "content": "curl https://{domain}/api/cm/hopper_history/{id} -v -u {name}:{password}",
7763         "type": "json"
7764       }
7765     ],
7766     "name": "ShowHopperHistory",
7767     "group": "Cm_Hopper_History",
7768     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7769     "version": "0.0.0",
7770     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperHistory/index.js",
7771     "groupTitle": "Cm_Hopper_History"
7772   },
7773   {
7774     "type": "put",
7775     "url": "/api/cm/hopper_history/{id}",
7776     "title": "Update a single hopper history",
7777     "examples": [
7778       {
7779         "title": "Example usage:",
7780         "content": "curl https://{domain}/api/hopper_history/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X PUT",
7781         "type": "json"
7782       }
7783     ],
7784     "name": "update",
7785     "group": "Cm_Hopper_History",
7786     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7787     "version": "0.0.0",
7788     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopperHistory/index.js",
7789     "groupTitle": "Cm_Hopper_History"
7790   },
7791   {
7792     "type": "delete",
7793     "url": "/api/cm/hopper/{id}",
7794     "title": "Delete Hopper",
7795     "examples": [
7796       {
7797         "title": "Example usage:",
7798         "content": "curl https://{domain}/api/cm/hopper/{id} -v -u {name}:{password} -X DELETE",
7799         "type": "json"
7800       }
7801     ],
7802     "name": "destroy",
7803     "group": "Cm_Hopper",
7804     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7805     "version": "0.0.0",
7806     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/index.js",
7807     "groupTitle": "Cm_Hopper"
7808   },
7809   {
7810     "type": "get",
7811     "url": "/api/cm/hopper/opencontacts",
7812     "title": "Gets Open Contacts",
7813     "examples": [
7814       {
7815         "title": "Example usage:",
7816         "content": "curl https://{domain}/api/cm/hopper/opencontacts -v -u {name}:{password} -X GET",
7817         "type": "json"
7818       }
7819     ],
7820     "name": "getOpenContacts",
7821     "group": "Cm_Hopper",
7822     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7823     "version": "0.0.0",
7824     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/index.js",
7825     "groupTitle": "Cm_Hopper"
7826   },
7827   {
7828     "type": "post",
7829     "url": "/api/cm/hopper/preview",
7830     "title": "Gets Preview Dialer Contacts",
7831     "examples": [
7832       {
7833         "title": "Example usage:",
7834         "content": "curl https://{domain}/api/cm/hopper/preview -d '{\"hopperIds\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X GET",
7835         "type": "json"
7836       }
7837     ],
7838     "name": "getPreview",
7839     "group": "Cm_Hopper",
7840     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7841     "version": "0.0.0",
7842     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/index.js",
7843     "groupTitle": "Cm_Hopper"
7844   },
7845   {
7846     "type": "put",
7847     "url": "/api/cm/hopper/{id}",
7848     "title": "Update an existing Hopper",
7849     "examples": [
7850       {
7851         "title": "Example usage:",
7852         "content": "curl https://{domain}/api/cm/hopper/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
7853         "type": "json"
7854       }
7855     ],
7856     "name": "updateHopper",
7857     "group": "Cm_Hopper",
7858     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7859     "version": "0.0.0",
7860     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmHopper/index.js",
7861     "groupTitle": "Cm_Hopper"
7862   },
7863   {
7864     "type": "post",
7865     "url": "/api/cm/lists",
7866     "title": "Creates a new List",
7867     "examples": [
7868       {
7869         "title": "Example usage:",
7870         "content": "curl https://{domain}/api/cm/lists -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
7871         "type": "json"
7872       }
7873     ],
7874     "name": "CreateLists",
7875     "group": "Cm_Lists",
7876     "parameter": {
7877       "fields": {
7878         "Body": [
7879           {
7880             "group": "Body",
7881             "type": "String",
7882             "optional": false,
7883             "field": "name",
7884             "description": ""
7885           },
7886           {
7887             "group": "Body",
7888             "type": "String",
7889             "optional": true,
7890             "field": "description",
7891             "description": ""
7892           },
7893           {
7894             "group": "Body",
7895             "type": "String",
7896             "optional": true,
7897             "field": "dialPrefix",
7898             "description": ""
7899           }
7900         ]
7901       }
7902     },
7903     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7904     "version": "0.0.0",
7905     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
7906     "groupTitle": "Cm_Lists"
7907   },
7908   {
7909     "type": "delete",
7910     "url": "/api/cm/lists/{id}",
7911     "title": "Deletes a List",
7912     "examples": [
7913       {
7914         "title": "Example usage:",
7915         "content": "curl https://{domain}/api/cm/lists/{id} -v -u {name}:{password} -X DELETE",
7916         "type": "json"
7917       }
7918     ],
7919     "name": "DeleteLists",
7920     "group": "Cm_Lists",
7921     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7922     "version": "0.0.0",
7923     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
7924     "groupTitle": "Cm_Lists"
7925   },
7926   {
7927     "type": "get",
7928     "url": "/api/cm/lists/describe",
7929     "title": "Gets table info about Lists",
7930     "examples": [
7931       {
7932         "title": "Example usage:",
7933         "content": "curl https://{domain}/api/cm/lists/describe -v -u {name}:{password}",
7934         "type": "json"
7935       }
7936     ],
7937     "name": "DescribeLists",
7938     "group": "Cm_Lists",
7939     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7940     "version": "0.0.0",
7941     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
7942     "groupTitle": "Cm_Lists"
7943   },
7944   {
7945     "type": "get",
7946     "url": "/api/cm/lists/{id}/users",
7947     "title": "Gets agents from list",
7948     "examples": [
7949       {
7950         "title": "Example usage:",
7951         "content": "curl https://{domain}/api/cm/lists/{id}/users -v -u {name}:{password} -X GET",
7952         "type": "json"
7953       }
7954     ],
7955     "name": "GetAgents",
7956     "group": "Cm_Lists",
7957     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7958     "version": "0.0.0",
7959     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
7960     "groupTitle": "Cm_Lists"
7961   },
7962   {
7963     "type": "get",
7964     "url": "/api/cm/lists",
7965     "title": "Gets a list of Lists",
7966     "examples": [
7967       {
7968         "title": "Example usage:",
7969         "content": "curl https://{domain}/api/cm/lists -v -u {name}:{password}",
7970         "type": "json"
7971       }
7972     ],
7973     "name": "GetLists",
7974     "group": "Cm_Lists",
7975     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/cm/lists?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/cm/lists?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/cm/lists?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/cm/lists?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/cm/lists?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
7976     "version": "0.0.0",
7977     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
7978     "groupTitle": "Cm_Lists"
7979   },
7980   {
7981     "type": "delete",
7982     "url": "/api/cm/lists/{id}/users",
7983     "title": "Removes agents from a list",
7984     "examples": [
7985       {
7986         "title": "Example usage:",
7987         "content": "curl https://{domain}/api/cm/lists/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
7988         "type": "json"
7989       }
7990     ],
7991     "name": "RemoveAgents",
7992     "group": "Cm_Lists",
7993     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7994     "version": "0.0.0",
7995     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
7996     "groupTitle": "Cm_Lists"
7997   },
7998   {
7999     "type": "delete",
8000     "url": "/api/cm/lists/{id}/dispositions",
8001     "title": "Removes dispositions from account",
8002     "examples": [
8003       {
8004         "title": "Example usage:",
8005         "content": "curl https://{domain}/api/cm/lists/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
8006         "type": "json"
8007       }
8008     ],
8009     "name": "RemoveDispositions",
8010     "group": "Cm_Lists",
8011     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8012     "version": "0.0.0",
8013     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
8014     "groupTitle": "Cm_Lists"
8015   },
8016   {
8017     "type": "get",
8018     "url": "/api/cm/lists/{id}",
8019     "title": "Gets a single List",
8020     "examples": [
8021       {
8022         "title": "Example usage:",
8023         "content": "curl https://{domain}/api/cm/lists/{id} -v -u {name}:{password}",
8024         "type": "json"
8025       }
8026     ],
8027     "name": "ShowLists",
8028     "group": "Cm_Lists",
8029     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8030     "version": "0.0.0",
8031     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
8032     "groupTitle": "Cm_Lists"
8033   },
8034   {
8035     "type": "post",
8036     "url": "/api/cm/lists/{id}/users",
8037     "title": "Adds agents to a list",
8038     "examples": [
8039       {
8040         "title": "Example usage:",
8041         "content": "curl https://{domain}/api/cm/lists/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8042         "type": "json"
8043       }
8044     ],
8045     "name": "addAgents",
8046     "group": "Cm_Lists",
8047     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8048     "version": "0.0.0",
8049     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
8050     "groupTitle": "Cm_Lists"
8051   },
8052   {
8053     "type": "post",
8054     "url": "/api/cm/lists/{id}/contacts",
8055     "title": "Creates new contacts",
8056     "examples": [
8057       {
8058         "title": "Example usage:",
8059         "content": "curl https://{domain}/api/cm/lists/{id}/contacts -d '[{\"firstName\": \"John Doe\", \"email\": \"john.doe@xcally.com\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8060         "type": "json"
8061       }
8062     ],
8063     "name": "addContacts",
8064     "group": "Cm_Lists",
8065     "parameter": {
8066       "fields": {
8067         "Body": [
8068           {
8069             "group": "Body",
8070             "type": "String",
8071             "optional": false,
8072             "field": "firstName",
8073             "description": ""
8074           },
8075           {
8076             "group": "Body",
8077             "type": "String",
8078             "optional": true,
8079             "field": "lastName",
8080             "description": ""
8081           },
8082           {
8083             "group": "Body",
8084             "type": "String",
8085             "optional": true,
8086             "field": "street",
8087             "description": ""
8088           },
8089           {
8090             "group": "Body",
8091             "type": "String",
8092             "optional": true,
8093             "field": "postalCode",
8094             "description": ""
8095           },
8096           {
8097             "group": "Body",
8098             "type": "String",
8099             "optional": true,
8100             "field": "city",
8101             "description": ""
8102           },
8103           {
8104             "group": "Body",
8105             "type": "String",
8106             "optional": true,
8107             "field": "country",
8108             "description": ""
8109           },
8110           {
8111             "group": "Body",
8112             "type": "String",
8113             "optional": true,
8114             "field": "dateOfBirth",
8115             "description": ""
8116           },
8117           {
8118             "group": "Body",
8119             "type": "Text",
8120             "optional": true,
8121             "field": "description",
8122             "description": ""
8123           },
8124           {
8125             "group": "Body",
8126             "type": "String",
8127             "optional": true,
8128             "field": "phone",
8129             "description": ""
8130           },
8131           {
8132             "group": "Body",
8133             "type": "String",
8134             "optional": true,
8135             "field": "mobile",
8136             "description": ""
8137           },
8138           {
8139             "group": "Body",
8140             "type": "String",
8141             "optional": true,
8142             "field": "fax",
8143             "description": ""
8144           },
8145           {
8146             "group": "Body",
8147             "type": "String",
8148             "optional": true,
8149             "field": "email",
8150             "description": ""
8151           },
8152           {
8153             "group": "Body",
8154             "type": "String",
8155             "optional": true,
8156             "field": "url",
8157             "description": ""
8158           },
8159           {
8160             "group": "Body",
8161             "type": "String",
8162             "optional": true,
8163             "field": "facebook",
8164             "description": ""
8165           },
8166           {
8167             "group": "Body",
8168             "type": "String",
8169             "optional": true,
8170             "field": "fb_data",
8171             "description": ""
8172           },
8173           {
8174             "group": "Body",
8175             "type": "String",
8176             "optional": true,
8177             "field": "twitter",
8178             "description": ""
8179           },
8180           {
8181             "group": "Body",
8182             "type": "String",
8183             "optional": true,
8184             "field": "skype",
8185             "description": ""
8186           },
8187           {
8188             "group": "Body",
8189             "type": "String",
8190             "optional": true,
8191             "field": "teams",
8192             "description": ""
8193           },
8194           {
8195             "group": "Body",
8196             "type": "String",
8197             "optional": true,
8198             "field": "viber",
8199             "description": ""
8200           },
8201           {
8202             "group": "Body",
8203             "type": "String",
8204             "optional": true,
8205             "field": "line",
8206             "description": ""
8207           },
8208           {
8209             "group": "Body",
8210             "type": "String",
8211             "optional": true,
8212             "field": "wechat",
8213             "description": ""
8214           },
8215           {
8216             "group": "Body",
8217             "type": "String",
8218             "optional": true,
8219             "field": "telegram",
8220             "description": ""
8221           },
8222           {
8223             "group": "Body",
8224             "type": "Integer",
8225             "optional": true,
8226             "field": "UserId",
8227             "description": ""
8228           },
8229           {
8230             "group": "Body",
8231             "type": "Integer",
8232             "optional": true,
8233             "field": "priority",
8234             "description": ""
8235           },
8236           {
8237             "group": "Body",
8238             "type": "String",
8239             "optional": true,
8240             "field": "scheduledat",
8241             "description": ""
8242           }
8243         ]
8244       }
8245     },
8246     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8247     "version": "0.0.0",
8248     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
8249     "groupTitle": "Cm_Lists"
8250   },
8251   {
8252     "type": "post",
8253     "url": "/api/cm/lists/{id}/fields",
8254     "title": "Creates a new custom field",
8255     "examples": [
8256       {
8257         "title": "Example usage:",
8258         "content": "curl https://{domain}/api/cm/lists/{id}/fields -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8259         "type": "json"
8260       }
8261     ],
8262     "name": "addCustomField",
8263     "group": "Cm_Lists",
8264     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8265     "version": "0.0.0",
8266     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
8267     "groupTitle": "Cm_Lists"
8268   },
8269   {
8270     "type": "post",
8271     "url": "/api/cm/lists/{id}/dispositions",
8272     "title": "Creates new disposition",
8273     "examples": [
8274       {
8275         "title": "Example usage:",
8276         "content": "curl https://{domain}/api/cm/lists/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8277         "type": "json"
8278       }
8279     ],
8280     "name": "addDisposition",
8281     "group": "Cm_Lists",
8282     "parameter": {
8283       "fields": {
8284         "Body": [
8285           {
8286             "group": "Body",
8287             "type": "String",
8288             "optional": false,
8289             "field": "name",
8290             "description": ""
8291           },
8292           {
8293             "group": "Body",
8294             "type": "String",
8295             "allowedValues": [
8296               "\"first\"",
8297               "\"second\"",
8298               "\"third\""
8299             ],
8300             "optional": false,
8301             "field": "level",
8302             "description": ""
8303           },
8304           {
8305             "group": "Body",
8306             "type": "String",
8307             "optional": true,
8308             "field": "description",
8309             "description": ""
8310           }
8311         ]
8312       }
8313     },
8314     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8315     "version": "0.0.0",
8316     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
8317     "groupTitle": "Cm_Lists"
8318   },
8319   {
8320     "type": "get",
8321     "url": "/api/cm/lists/{id}/contacts",
8322     "title": "Gets List Contacts",
8323     "examples": [
8324       {
8325         "title": "Example usage:",
8326         "content": "curl https://{domain}/api/cm/lists/{id}/contacts -v -u {name}:{password} -X GET",
8327         "type": "json"
8328       }
8329     ],
8330     "name": "getContacts",
8331     "group": "Cm_Lists",
8332     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8333     "version": "0.0.0",
8334     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
8335     "groupTitle": "Cm_Lists"
8336   },
8337   {
8338     "type": "get",
8339     "url": "/api/cm/lists/{id}/fields",
8340     "title": "Gets Custom Fields",
8341     "examples": [
8342       {
8343         "title": "Example usage:",
8344         "content": "curl https://{domain}/api/cm/lists/{id}/fields -v -u {name}:{password} -X GET",
8345         "type": "json"
8346       }
8347     ],
8348     "name": "getCustomFields",
8349     "group": "Cm_Lists",
8350     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8351     "version": "0.0.0",
8352     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
8353     "groupTitle": "Cm_Lists"
8354   },
8355   {
8356     "type": "get",
8357     "url": "/api/cm/lists/{id}/dispositions",
8358     "title": "Gets list dispositions",
8359     "examples": [
8360       {
8361         "title": "Example usage:",
8362         "content": "curl https://{domain}/api/cm/lists/{id}/dispositions -v -u {name}:{password} -X GET",
8363         "type": "json"
8364       }
8365     ],
8366     "name": "getDispositions",
8367     "group": "Cm_Lists",
8368     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8369     "version": "0.0.0",
8370     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
8371     "groupTitle": "Cm_Lists"
8372   },
8373   {
8374     "type": "get",
8375     "url": "/api/cm/lists/{id}/contacts/csv",
8376     "title": "Gets CSV List Contacts",
8377     "examples": [
8378       {
8379         "title": "Example usage:",
8380         "content": "curl https://{domain}/api/cm/lists/{id}/contacts/csv -v -u {name}:{password} -X GET",
8381         "type": "json"
8382       }
8383     ],
8384     "name": "grunt",
8385     "group": "Cm_Lists",
8386     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8387     "version": "0.0.0",
8388     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
8389     "groupTitle": "Cm_Lists"
8390   },
8391   {
8392     "type": "put",
8393     "url": "/api/cm/lists/{id}",
8394     "title": "Update an existing List",
8395     "examples": [
8396       {
8397         "title": "Example usage:",
8398         "content": "curl https://{domain}/api/cm/lists/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
8399         "type": "json"
8400       }
8401     ],
8402     "name": "updateLists",
8403     "group": "Cm_Lists",
8404     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8405     "version": "0.0.0",
8406     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmList/index.js",
8407     "groupTitle": "Cm_Lists"
8408   },
8409   {
8410     "type": "post",
8411     "url": "/api/cm/contacts/upload/:id",
8412     "title": "Import new contacts by csv",
8413     "examples": [
8414       {
8415         "title": "Example usage:",
8416         "content": "curl https://{domain}/api/cm/contacts/upload/:id -v -u {name}:{password} -X POST",
8417         "type": "json"
8418       }
8419     ],
8420     "name": "import",
8421     "group": "Cm_contacts",
8422     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8423     "version": "0.0.0",
8424     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
8425     "groupTitle": "Cm_contacts"
8426   },
8427   {
8428     "type": "post",
8429     "url": "/api/cm/contacts/upload",
8430     "title": "Upload csv",
8431     "examples": [
8432       {
8433         "title": "Example usage:",
8434         "content": "curl https://{domain}/api/cm/contacts/upload -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
8435         "type": "json"
8436       }
8437     ],
8438     "name": "upload",
8439     "group": "Cm_contacts",
8440     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8441     "version": "0.0.0",
8442     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
8443     "groupTitle": "Cm_contacts"
8444   },
8445   {
8446     "type": "post",
8447     "url": "/api/cm/contacts/csv",
8448     "title": "Create new contacts by csv",
8449     "examples": [
8450       {
8451         "title": "Example usage:",
8452         "content": "curl https://{domain}/api/cm/contacts/csv -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
8453         "type": "json"
8454       }
8455     ],
8456     "name": "uploadCsv",
8457     "group": "Cm_contacts",
8458     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8459     "version": "0.0.0",
8460     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmContact/index.js",
8461     "groupTitle": "Cm_contacts"
8462   },
8463   {
8464     "type": "delete",
8465     "url": "/api/conditions/{id}",
8466     "title": "Deletes a Condition",
8467     "examples": [
8468       {
8469         "title": "Example usage:",
8470         "content": "curl https://{domain}/api/conditions/{id} -v -u {name}:{password} -X DELETE",
8471         "type": "json"
8472       }
8473     ],
8474     "name": "DeleteConditions",
8475     "group": "Conditions",
8476     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8477     "version": "0.0.0",
8478     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/condition/index.js",
8479     "groupTitle": "Conditions"
8480   },
8481   {
8482     "type": "put",
8483     "url": "/api/conditions/{id}",
8484     "title": "Update an existing Condition",
8485     "examples": [
8486       {
8487         "title": "Example usage:",
8488         "content": "curl https://{domain}/api/conditions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
8489         "type": "json"
8490       }
8491     ],
8492     "name": "updateConditions",
8493     "group": "Conditions",
8494     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8495     "version": "0.0.0",
8496     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/condition/index.js",
8497     "groupTitle": "Conditions"
8498   },
8499   {
8500     "type": "post",
8501     "url": "/api/cm/custom_field",
8502     "title": "Create a new custom field",
8503     "examples": [
8504       {
8505         "title": "Example usage:",
8506         "content": "curl https://{domain}/api/cm/custom_field  -d '{\"name\": \"mycf\", \"type\": \"text\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8507         "type": "json"
8508       }
8509     ],
8510     "name": "CreateCustomField",
8511     "group": "Custom_Fields",
8512     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8513     "version": "0.0.0",
8514     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cmCustomField/index.js",
8515     "groupTitle": "Custom_Fields"
8516   },
8517   {
8518     "type": "post",
8519     "url": "/api/dashboards/items",
8520     "title": "Create dasboard item",
8521     "examples": [
8522       {
8523         "title": "Example usage:",
8524         "content": "curl https://{domain}/api/dashboards/items \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
8525         "type": "json"
8526       }
8527     ],
8528     "name": "Create",
8529     "group": "Dashboard_Items",
8530     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8531     "version": "0.0.0",
8532     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboardItem/index.js",
8533     "groupTitle": "Dashboard_Items"
8534   },
8535   {
8536     "type": "delete",
8537     "url": "/api/dashboards/items/{id}",
8538     "title": "Deletes a Dashboard Item",
8539     "examples": [
8540       {
8541         "title": "Example usage:",
8542         "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password} -X DELETE",
8543         "type": "json"
8544       }
8545     ],
8546     "name": "DeleteDashboard_Items",
8547     "group": "Dashboard_Items",
8548     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8549     "version": "0.0.0",
8550     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboardItem/index.js",
8551     "groupTitle": "Dashboard_Items"
8552   },
8553   {
8554     "type": "get",
8555     "url": "/api/dashboards/items/{id}",
8556     "title": "Gets a single Dashboard Item",
8557     "examples": [
8558       {
8559         "title": "Example usage:",
8560         "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password}",
8561         "type": "json"
8562       }
8563     ],
8564     "name": "ShowDashboard_Items",
8565     "group": "Dashboard_Items",
8566     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8567     "version": "0.0.0",
8568     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboardItem/index.js",
8569     "groupTitle": "Dashboard_Items"
8570   },
8571   {
8572     "type": "put",
8573     "url": "/api/dashboards/items/{id}",
8574     "title": "Update an existing item",
8575     "examples": [
8576       {
8577         "title": "Example usage:",
8578         "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password} -X PUT",
8579         "type": "json"
8580       }
8581     ],
8582     "name": "Update",
8583     "group": "Dashboard_Items",
8584     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8585     "version": "0.0.0",
8586     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboardItem/index.js",
8587     "groupTitle": "Dashboard_Items"
8588   },
8589   {
8590     "type": "post",
8591     "url": "/api/dashboards/clone",
8592     "title": "Clone an existing Dashboard",
8593     "examples": [
8594       {
8595         "title": "Example usage:",
8596         "content": "curl https://{domain}/api/dashboards/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
8597         "type": "json"
8598       }
8599     ],
8600     "name": "CloneDashboards",
8601     "group": "Dashboards",
8602     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8603     "version": "0.0.0",
8604     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboard/index.js",
8605     "groupTitle": "Dashboards"
8606   },
8607   {
8608     "type": "post",
8609     "url": "/api/dashboards",
8610     "title": "Creates a new Dashboard",
8611     "examples": [
8612       {
8613         "title": "Example usage:",
8614         "content": "curl https://{domain}/api/dashboards -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
8615         "type": "json"
8616       }
8617     ],
8618     "name": "CreateDashboards",
8619     "group": "Dashboards",
8620     "parameter": {
8621       "fields": {
8622         "Body": [
8623           {
8624             "group": "Body",
8625             "type": "String",
8626             "optional": false,
8627             "field": "name",
8628             "description": ""
8629           },
8630           {
8631             "group": "Body",
8632             "type": "String",
8633             "optional": true,
8634             "field": "description",
8635             "description": ""
8636           }
8637         ]
8638       }
8639     },
8640     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8641     "version": "0.0.0",
8642     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboard/index.js",
8643     "groupTitle": "Dashboards"
8644   },
8645   {
8646     "type": "delete",
8647     "url": "/api/dashboards/{id}",
8648     "title": "Deletes a Dashboard",
8649     "examples": [
8650       {
8651         "title": "Example usage:",
8652         "content": "curl https://{domain}/api/dashboards/{id} -v -u {name}:{password} -X DELETE",
8653         "type": "json"
8654       }
8655     ],
8656     "name": "DeleteDashboards",
8657     "group": "Dashboards",
8658     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8659     "version": "0.0.0",
8660     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboard/index.js",
8661     "groupTitle": "Dashboards"
8662   },
8663   {
8664     "type": "get",
8665     "url": "/api/dashboards",
8666     "title": "Gets a list of Dashboards",
8667     "examples": [
8668       {
8669         "title": "Example usage:",
8670         "content": "curl https://{domain}/api/dashboards -v -u {name}:{password}",
8671         "type": "json"
8672       }
8673     ],
8674     "name": "GetDashboards",
8675     "group": "Dashboards",
8676     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/dashboards?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/dashboards?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/dashboards?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/dashboards?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/dashboards?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
8677     "version": "0.0.0",
8678     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboard/index.js",
8679     "groupTitle": "Dashboards"
8680   },
8681   {
8682     "type": "get",
8683     "url": "/api/dashboards/{id}",
8684     "title": "Gets a single Dashboard",
8685     "examples": [
8686       {
8687         "title": "Example usage:",
8688         "content": "curl https://{domain}/api/dashboards/{id} -v -u {name}:{password}",
8689         "type": "json"
8690       }
8691     ],
8692     "name": "ShowDashboards",
8693     "group": "Dashboards",
8694     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8695     "version": "0.0.0",
8696     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboard/index.js",
8697     "groupTitle": "Dashboards"
8698   },
8699   {
8700     "type": "post",
8701     "url": "/api/dashboards/{id}/items",
8702     "title": "Creates new item",
8703     "examples": [
8704       {
8705         "title": "Example usage:",
8706         "content": "curl https://{domain}/api/dashboards/{id}/items -d '{\"type\": \"counter\", \"...\": \"...\"}]' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8707         "type": "json"
8708       }
8709     ],
8710     "name": "addItem",
8711     "group": "Dashboards",
8712     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8713     "version": "0.0.0",
8714     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboard/index.js",
8715     "groupTitle": "Dashboards"
8716   },
8717   {
8718     "type": "get",
8719     "url": "/api/dashboards/{id}/items",
8720     "title": "Gets items",
8721     "examples": [
8722       {
8723         "title": "Example usage:",
8724         "content": "curl https://{domain}/api/dashboards/{id}/items -v -u {name}:{password} -X GET",
8725         "type": "json"
8726       }
8727     ],
8728     "name": "getItems",
8729     "group": "Dashboards",
8730     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8731     "version": "0.0.0",
8732     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboard/index.js",
8733     "groupTitle": "Dashboards"
8734   },
8735   {
8736     "type": "put",
8737     "url": "/api/dashboards/{id}",
8738     "title": "Update an existing Dashboard",
8739     "examples": [
8740       {
8741         "title": "Example usage:",
8742         "content": "curl https://{domain}/api/dashboards/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
8743         "type": "json"
8744       }
8745     ],
8746     "name": "updateDashboards",
8747     "group": "Dashboards",
8748     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8749     "version": "0.0.0",
8750     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/dashboard/index.js",
8751     "groupTitle": "Dashboards"
8752   },
8753   {
8754     "type": "post",
8755     "url": "/api/integrations/desk/accounts",
8756     "title": "Creates a new Desk Account",
8757     "examples": [
8758       {
8759         "title": "Example usage:",
8760         "content": "curl https://{domain}/api/integrations/desk/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
8761         "type": "json"
8762       }
8763     ],
8764     "name": "CreateDesk_Accounts",
8765     "group": "Desk_Accounts",
8766     "parameter": {
8767       "fields": {
8768         "Body": [
8769           {
8770             "group": "Body",
8771             "type": "String",
8772             "optional": true,
8773             "field": "name",
8774             "description": ""
8775           },
8776           {
8777             "group": "Body",
8778             "type": "String",
8779             "optional": true,
8780             "field": "description",
8781             "description": ""
8782           },
8783           {
8784             "group": "Body",
8785             "type": "String",
8786             "optional": true,
8787             "field": "username",
8788             "description": ""
8789           },
8790           {
8791             "group": "Body",
8792             "type": "String",
8793             "optional": true,
8794             "field": "remoteUri",
8795             "description": ""
8796           },
8797           {
8798             "group": "Body",
8799             "type": "String",
8800             "allowedValues": [
8801               "\"basic\""
8802             ],
8803             "optional": true,
8804             "field": "authType",
8805             "description": ""
8806           },
8807           {
8808             "group": "Body",
8809             "type": "String",
8810             "optional": true,
8811             "field": "password",
8812             "description": ""
8813           },
8814           {
8815             "group": "Body",
8816             "type": "String",
8817             "optional": true,
8818             "field": "consumerKey",
8819             "description": ""
8820           },
8821           {
8822             "group": "Body",
8823             "type": "String",
8824             "optional": true,
8825             "field": "consumerSecret",
8826             "description": ""
8827           },
8828           {
8829             "group": "Body",
8830             "type": "String",
8831             "optional": true,
8832             "field": "token",
8833             "description": ""
8834           },
8835           {
8836             "group": "Body",
8837             "type": "String",
8838             "optional": true,
8839             "field": "tokenSecret",
8840             "description": ""
8841           },
8842           {
8843             "group": "Body",
8844             "type": "String",
8845             "optional": true,
8846             "field": "serverUrl",
8847             "description": ""
8848           },
8849           {
8850             "group": "Body",
8851             "type": "String",
8852             "allowedValues": [
8853               "\"integrationTab\"",
8854               "\"newTab\""
8855             ],
8856             "optional": true,
8857             "field": "type",
8858             "description": ""
8859           }
8860         ]
8861       }
8862     },
8863     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8864     "version": "0.0.0",
8865     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskAccount/index.js",
8866     "groupTitle": "Desk_Accounts"
8867   },
8868   {
8869     "type": "delete",
8870     "url": "/api/integrations/desk/accounts/{id}",
8871     "title": "Deletes a Desk Account",
8872     "examples": [
8873       {
8874         "title": "Example usage:",
8875         "content": "curl https://{domain}/api/integrations/desk/accounts/{id} -v -u {name}:{password} -X DELETE",
8876         "type": "json"
8877       }
8878     ],
8879     "name": "DeleteDesk_Accounts",
8880     "group": "Desk_Accounts",
8881     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8882     "version": "0.0.0",
8883     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskAccount/index.js",
8884     "groupTitle": "Desk_Accounts"
8885   },
8886   {
8887     "type": "get",
8888     "url": "/GetDeskAccount",
8889     "title": "Gets a list of Desk Accounts",
8890     "name": "GetDeskAccount",
8891     "group": "Desk_Accounts",
8892     "parameter": {
8893       "fields": {
8894         "Body": [
8895           {
8896             "group": "Body",
8897             "type": "Object",
8898             "optional": true,
8899             "field": "options.attributes",
8900             "description": ""
8901           },
8902           {
8903             "group": "Body",
8904             "type": "Object",
8905             "optional": true,
8906             "field": "options.where",
8907             "description": ""
8908           }
8909         ]
8910       }
8911     },
8912     "version": "0.0.0",
8913     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskAccount/intDeskAccount.rpc.js",
8914     "groupTitle": "Desk_Accounts"
8915   },
8916   {
8917     "type": "get",
8918     "url": "/api/integrations/desk/accounts",
8919     "title": "Gets a list of Desk Accounts",
8920     "examples": [
8921       {
8922         "title": "Example usage:",
8923         "content": "curl https://{domain}/api/integrations/desk/accounts -v -u {name}:{password}",
8924         "type": "json"
8925       }
8926     ],
8927     "name": "GetDesk_Accounts",
8928     "group": "Desk_Accounts",
8929     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/desk/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/desk/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/desk/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/desk/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/desk/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
8930     "version": "0.0.0",
8931     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskAccount/index.js",
8932     "groupTitle": "Desk_Accounts"
8933   },
8934   {
8935     "type": "get",
8936     "url": "/ShowDeskAccount",
8937     "title": "Gets a single Desk Account",
8938     "name": "ShowDeskAccount",
8939     "group": "Desk_Accounts",
8940     "parameter": {
8941       "fields": {
8942         "Body": [
8943           {
8944             "group": "Body",
8945             "type": "Object",
8946             "optional": true,
8947             "field": "options.attributes",
8948             "description": ""
8949           },
8950           {
8951             "group": "Body",
8952             "type": "Object",
8953             "optional": false,
8954             "field": "options.where",
8955             "description": ""
8956           }
8957         ]
8958       }
8959     },
8960     "version": "0.0.0",
8961     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskAccount/intDeskAccount.rpc.js",
8962     "groupTitle": "Desk_Accounts"
8963   },
8964   {
8965     "type": "get",
8966     "url": "/api/integrations/desk/accounts/{id}",
8967     "title": "Gets a single Desk Account",
8968     "examples": [
8969       {
8970         "title": "Example usage:",
8971         "content": "curl https://{domain}/api/integrations/desk/accounts/{id} -v -u {name}:{password}",
8972         "type": "json"
8973       }
8974     ],
8975     "name": "ShowDesk_Accounts",
8976     "group": "Desk_Accounts",
8977     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8978     "version": "0.0.0",
8979     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskAccount/index.js",
8980     "groupTitle": "Desk_Accounts"
8981   },
8982   {
8983     "type": "post",
8984     "url": "/api/integrations/desk/accounts/{id}/configurations",
8985     "title": "Creates new configuration",
8986     "examples": [
8987       {
8988         "title": "Example usage:",
8989         "content": "curl https://{domain}/api/integrations/desk/accounts/{id}/configurations -d '{\"name\": \"conf1\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8990         "type": "json"
8991       }
8992     ],
8993     "name": "addConfiguration",
8994     "group": "Desk_Accounts",
8995     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8996     "version": "0.0.0",
8997     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskAccount/index.js",
8998     "groupTitle": "Desk_Accounts"
8999   },
9000   {
9001     "type": "get",
9002     "url": "/api/integrations/desk/accounts/{id}/configurations",
9003     "title": "Gets account configurations",
9004     "examples": [
9005       {
9006         "title": "Example usage:",
9007         "content": "curl https://{domain}/api/integrations/desk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
9008         "type": "json"
9009       }
9010     ],
9011     "name": "getConfigurations",
9012     "group": "Desk_Accounts",
9013     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9014     "version": "0.0.0",
9015     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskAccount/index.js",
9016     "groupTitle": "Desk_Accounts"
9017   },
9018   {
9019     "type": "get",
9020     "url": "/api/integrations/desk/accounts/{id}/fields",
9021     "title": "Gets account fields",
9022     "examples": [
9023       {
9024         "title": "Example usage:",
9025         "content": "curl https://{domain}/api/integrations/desk/accounts/{id}/fields -v -u {name}:{password} -X GET",
9026         "type": "json"
9027       }
9028     ],
9029     "name": "getFields",
9030     "group": "Desk_Accounts",
9031     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9032     "version": "0.0.0",
9033     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskAccount/index.js",
9034     "groupTitle": "Desk_Accounts"
9035   },
9036   {
9037     "type": "put",
9038     "url": "/api/integrations/desk/accounts/{id}",
9039     "title": "Update an existing Desk Account",
9040     "examples": [
9041       {
9042         "title": "Example usage:",
9043         "content": "curl https://{domain}/api/integrations/desk/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
9044         "type": "json"
9045       }
9046     ],
9047     "name": "updateDesk_Accounts",
9048     "group": "Desk_Accounts",
9049     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9050     "version": "0.0.0",
9051     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskAccount/index.js",
9052     "groupTitle": "Desk_Accounts"
9053   },
9054   {
9055     "type": "post",
9056     "url": "/api/integrations/desk/configurations",
9057     "title": "Creates a new Desk Configuration",
9058     "examples": [
9059       {
9060         "title": "Example usage:",
9061         "content": "curl https://{domain}/api/integrations/desk/configurations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
9062         "type": "json"
9063       }
9064     ],
9065     "name": "CreateDesk_Configurations",
9066     "group": "Desk_Configurations",
9067     "parameter": {
9068       "fields": {
9069         "Body": [
9070           {
9071             "group": "Body",
9072             "type": "String",
9073             "optional": true,
9074             "field": "name",
9075             "description": ""
9076           },
9077           {
9078             "group": "Body",
9079             "type": "String",
9080             "optional": true,
9081             "field": "description",
9082             "description": ""
9083           }
9084         ]
9085       }
9086     },
9087     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9088     "version": "0.0.0",
9089     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskConfiguration/index.js",
9090     "groupTitle": "Desk_Configurations"
9091   },
9092   {
9093     "type": "delete",
9094     "url": "/api/integrations/desk/configurations/{id}",
9095     "title": "Deletes a Desk Configuration",
9096     "examples": [
9097       {
9098         "title": "Example usage:",
9099         "content": "curl https://{domain}/api/integrations/desk/configurations/{id} -v -u {name}:{password} -X DELETE",
9100         "type": "json"
9101       }
9102     ],
9103     "name": "DeleteDesk_Configurations",
9104     "group": "Desk_Configurations",
9105     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9106     "version": "0.0.0",
9107     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskConfiguration/index.js",
9108     "groupTitle": "Desk_Configurations"
9109   },
9110   {
9111     "type": "get",
9112     "url": "/api/integrations/desk/configurations",
9113     "title": "Gets a list of Desk Configurations",
9114     "examples": [
9115       {
9116         "title": "Example usage:",
9117         "content": "curl https://{domain}/api/integrations/desk/configurations -v -u {name}:{password}",
9118         "type": "json"
9119       }
9120     ],
9121     "name": "GetDesk_Configurations",
9122     "group": "Desk_Configurations",
9123     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/desk/configurations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/desk/configurations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/desk/configurations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/desk/configurations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/desk/configurations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
9124     "version": "0.0.0",
9125     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskConfiguration/index.js",
9126     "groupTitle": "Desk_Configurations"
9127   },
9128   {
9129     "type": "get",
9130     "url": "/api/integrations/desk/configurations/{id}",
9131     "title": "Gets a single Desk Configuration",
9132     "examples": [
9133       {
9134         "title": "Example usage:",
9135         "content": "curl https://{domain}/api/integrations/desk/configurations/{id} -v -u {name}:{password}",
9136         "type": "json"
9137       }
9138     ],
9139     "name": "ShowDesk_Configurations",
9140     "group": "Desk_Configurations",
9141     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9142     "version": "0.0.0",
9143     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskConfiguration/index.js",
9144     "groupTitle": "Desk_Configurations"
9145   },
9146   {
9147     "type": "get",
9148     "url": "/api/integrations/desk/configurations/{id}/descriptions",
9149     "title": "Gets configurations descriptions",
9150     "examples": [
9151       {
9152         "title": "Example usage:",
9153         "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
9154         "type": "json"
9155       }
9156     ],
9157     "name": "getDescriptions",
9158     "group": "Desk_Configurations",
9159     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9160     "version": "0.0.0",
9161     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskConfiguration/index.js",
9162     "groupTitle": "Desk_Configurations"
9163   },
9164   {
9165     "type": "get",
9166     "url": "/api/integrations/desk/configurations/{id}/fields",
9167     "title": "Gets configurations fields",
9168     "examples": [
9169       {
9170         "title": "Example usage:",
9171         "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/fields -v -u {name}:{password} -X GET",
9172         "type": "json"
9173       }
9174     ],
9175     "name": "getFields",
9176     "group": "Desk_Configurations",
9177     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9178     "version": "0.0.0",
9179     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskConfiguration/index.js",
9180     "groupTitle": "Desk_Configurations"
9181   },
9182   {
9183     "type": "get",
9184     "url": "/api/integrations/desk/configurations/{id}/subjects",
9185     "title": "Gets configurations subjects",
9186     "examples": [
9187       {
9188         "title": "Example usage:",
9189         "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
9190         "type": "json"
9191       }
9192     ],
9193     "name": "getSubjects",
9194     "group": "Desk_Configurations",
9195     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9196     "version": "0.0.0",
9197     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskConfiguration/index.js",
9198     "groupTitle": "Desk_Configurations"
9199   },
9200   {
9201     "type": "get",
9202     "url": "/api/integrations/desk/configurations/{id}/tags",
9203     "title": "Gets configurations tags",
9204     "examples": [
9205       {
9206         "title": "Example usage:",
9207         "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/tags -v -u {name}:{password} -X GET",
9208         "type": "json"
9209       }
9210     ],
9211     "name": "getTags",
9212     "group": "Desk_Configurations",
9213     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9214     "version": "0.0.0",
9215     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskConfiguration/index.js",
9216     "groupTitle": "Desk_Configurations"
9217   },
9218   {
9219     "type": "post",
9220     "url": "/api/integrations/desk/configurations/{id}/tags",
9221     "title": "Sets new tags",
9222     "examples": [
9223       {
9224         "title": "Example usage:",
9225         "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/tags -d '{\"ids\": [1,12]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
9226         "type": "json"
9227       }
9228     ],
9229     "name": "setTags",
9230     "group": "Desk_Configurations",
9231     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9232     "version": "0.0.0",
9233     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskConfiguration/index.js",
9234     "groupTitle": "Desk_Configurations"
9235   },
9236   {
9237     "type": "put",
9238     "url": "/api/integrations/desk/configurations/{id}",
9239     "title": "Update an existing Desk Configuration",
9240     "examples": [
9241       {
9242         "title": "Example usage:",
9243         "content": "curl https://{domain}/api/integrations/desk/configurations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
9244         "type": "json"
9245       }
9246     ],
9247     "name": "updateDesk_Configurations",
9248     "group": "Desk_Configurations",
9249     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9250     "version": "0.0.0",
9251     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskConfiguration/index.js",
9252     "groupTitle": "Desk_Configurations"
9253   },
9254   {
9255     "type": "post",
9256     "url": "/api/integrations/desk/fields",
9257     "title": "Creates a new Desk Field",
9258     "examples": [
9259       {
9260         "title": "Example usage:",
9261         "content": "curl https://{domain}/api/integrations/desk/fields -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
9262         "type": "json"
9263       }
9264     ],
9265     "name": "CreateDesk_Fields",
9266     "group": "Desk_Fields",
9267     "parameter": {
9268       "fields": {
9269         "Body": [
9270           {
9271             "group": "Body",
9272             "type": "String",
9273             "allowedValues": [
9274               "\"string\"",
9275               "\"variable\"",
9276               "\"customVariable\"",
9277               "\"keyValue\""
9278             ],
9279             "optional": true,
9280             "field": "type",
9281             "description": ""
9282           },
9283           {
9284             "group": "Body",
9285             "type": "String",
9286             "optional": true,
9287             "field": "content",
9288             "description": ""
9289           },
9290           {
9291             "group": "Body",
9292             "type": "String",
9293             "optional": true,
9294             "field": "key",
9295             "description": ""
9296           },
9297           {
9298             "group": "Body",
9299             "type": "String",
9300             "allowedValues": [
9301               "\"string\"",
9302               "\"variable\"",
9303               "\"customVariable\""
9304             ],
9305             "optional": true,
9306             "field": "keyType",
9307             "description": ""
9308           },
9309           {
9310             "group": "Body",
9311             "type": "String",
9312             "optional": true,
9313             "field": "keyContent",
9314             "description": ""
9315           },
9316           {
9317             "group": "Body",
9318             "type": "String",
9319             "optional": true,
9320             "field": "idField",
9321             "description": ""
9322           },
9323           {
9324             "group": "Body",
9325             "type": "String",
9326             "optional": true,
9327             "field": "nameField",
9328             "description": ""
9329           },
9330           {
9331             "group": "Body",
9332             "type": "Boolean",
9333             "optional": true,
9334             "field": "customField",
9335             "description": ""
9336           },
9337           {
9338             "group": "Body",
9339             "type": "String",
9340             "optional": true,
9341             "field": "variableName",
9342             "description": ""
9343           }
9344         ]
9345       }
9346     },
9347     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9348     "version": "0.0.0",
9349     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskField/index.js",
9350     "groupTitle": "Desk_Fields"
9351   },
9352   {
9353     "type": "delete",
9354     "url": "/api/integrations/desk/fields/{id}",
9355     "title": "Deletes a Desk Field",
9356     "examples": [
9357       {
9358         "title": "Example usage:",
9359         "content": "curl https://{domain}/api/integrations/desk/fields/{id} -v -u {name}:{password} -X DELETE",
9360         "type": "json"
9361       }
9362     ],
9363     "name": "DeleteDesk_Fields",
9364     "group": "Desk_Fields",
9365     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9366     "version": "0.0.0",
9367     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskField/index.js",
9368     "groupTitle": "Desk_Fields"
9369   },
9370   {
9371     "type": "get",
9372     "url": "/api/integrations/desk/fields",
9373     "title": "Gets a list of Desk Fields",
9374     "examples": [
9375       {
9376         "title": "Example usage:",
9377         "content": "curl https://{domain}/api/integrations/desk/fields -v -u {name}:{password}",
9378         "type": "json"
9379       }
9380     ],
9381     "name": "GetDesk_Fields",
9382     "group": "Desk_Fields",
9383     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/desk/fields?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/desk/fields?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/desk/fields?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/desk/fields?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/desk/fields?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
9384     "version": "0.0.0",
9385     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskField/index.js",
9386     "groupTitle": "Desk_Fields"
9387   },
9388   {
9389     "type": "get",
9390     "url": "/api/integrations/desk/fields/{id}",
9391     "title": "Gets a single Desk Field",
9392     "examples": [
9393       {
9394         "title": "Example usage:",
9395         "content": "curl https://{domain}/api/integrations/desk/fields/{id} -v -u {name}:{password}",
9396         "type": "json"
9397       }
9398     ],
9399     "name": "ShowDesk_Fields",
9400     "group": "Desk_Fields",
9401     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9402     "version": "0.0.0",
9403     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskField/index.js",
9404     "groupTitle": "Desk_Fields"
9405   },
9406   {
9407     "type": "put",
9408     "url": "/api/integrations/desk/fields/{id}",
9409     "title": "Update an existing Desk Field",
9410     "examples": [
9411       {
9412         "title": "Example usage:",
9413         "content": "curl https://{domain}/api/integrations/desk/fields/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
9414         "type": "json"
9415       }
9416     ],
9417     "name": "updateDesk_Fields",
9418     "group": "Desk_Fields",
9419     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9420     "version": "0.0.0",
9421     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDeskField/index.js",
9422     "groupTitle": "Desk_Fields"
9423   },
9424   {
9425     "type": "post",
9426     "url": "/api/dispositions",
9427     "title": "Creates a new Disposition",
9428     "examples": [
9429       {
9430         "title": "Example usage:",
9431         "content": "curl https://{domain}/api/dispositions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
9432         "type": "json"
9433       }
9434     ],
9435     "name": "CreateDispositions",
9436     "group": "Dispositions",
9437     "parameter": {
9438       "fields": {
9439         "Body": [
9440           {
9441             "group": "Body",
9442             "type": "String",
9443             "optional": false,
9444             "field": "name",
9445             "description": ""
9446           },
9447           {
9448             "group": "Body",
9449             "type": "String",
9450             "allowedValues": [
9451               "\"first\"",
9452               "\"second\"",
9453               "\"third\""
9454             ],
9455             "optional": false,
9456             "field": "level",
9457             "description": ""
9458           },
9459           {
9460             "group": "Body",
9461             "type": "String",
9462             "optional": true,
9463             "field": "description",
9464             "description": ""
9465           }
9466         ]
9467       }
9468     },
9469     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9470     "version": "0.0.0",
9471     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/disposition/index.js",
9472     "groupTitle": "Dispositions"
9473   },
9474   {
9475     "type": "delete",
9476     "url": "/api/dispositions/{id}",
9477     "title": "Deletes a Disposition",
9478     "examples": [
9479       {
9480         "title": "Example usage:",
9481         "content": "curl https://{domain}/api/dispositions/{id} -v -u {name}:{password} -X DELETE",
9482         "type": "json"
9483       }
9484     ],
9485     "name": "DeleteDispositions",
9486     "group": "Dispositions",
9487     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9488     "version": "0.0.0",
9489     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/disposition/index.js",
9490     "groupTitle": "Dispositions"
9491   },
9492   {
9493     "type": "get",
9494     "url": "/api/dispositions",
9495     "title": "Gets a list of Dispositions",
9496     "examples": [
9497       {
9498         "title": "Example usage:",
9499         "content": "curl https://{domain}/api/dispositions -v -u {name}:{password}",
9500         "type": "json"
9501       }
9502     ],
9503     "name": "GetDispositions",
9504     "group": "Dispositions",
9505     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/dispositions?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/dispositions?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/dispositions?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/dispositions?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/dispositions?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
9506     "version": "0.0.0",
9507     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/disposition/index.js",
9508     "groupTitle": "Dispositions"
9509   },
9510   {
9511     "type": "get",
9512     "url": "/api/dispositions/{id}",
9513     "title": "Gets a single Disposition",
9514     "examples": [
9515       {
9516         "title": "Example usage:",
9517         "content": "curl https://{domain}/api/dispositions/{id} -v -u {name}:{password}",
9518         "type": "json"
9519       }
9520     ],
9521     "name": "ShowDispositions",
9522     "group": "Dispositions",
9523     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9524     "version": "0.0.0",
9525     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/disposition/index.js",
9526     "groupTitle": "Dispositions"
9527   },
9528   {
9529     "type": "put",
9530     "url": "/api/dispositions/{id}",
9531     "title": "Update an existing Disposition",
9532     "examples": [
9533       {
9534         "title": "Example usage:",
9535         "content": "curl https://{domain}/api/dispositions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
9536         "type": "json"
9537       }
9538     ],
9539     "name": "updateDispositions",
9540     "group": "Dispositions",
9541     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9542     "version": "0.0.0",
9543     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/disposition/index.js",
9544     "groupTitle": "Dispositions"
9545   },
9546   {
9547     "type": "post",
9548     "url": "/api/integrations/dynamics365/accounts",
9549     "title": "Creates a new Dynamics365 Account",
9550     "examples": [
9551       {
9552         "title": "Example usage:",
9553         "content": "curl https://{domain}/api/integrations/dynamics365/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
9554         "type": "json"
9555       }
9556     ],
9557     "name": "CreateDynamics365_Accounts",
9558     "group": "Dynamics365_Accounts",
9559     "parameter": {
9560       "fields": {
9561         "Body": [
9562           {
9563             "group": "Body",
9564             "type": "String",
9565             "optional": true,
9566             "field": "name",
9567             "description": ""
9568           },
9569           {
9570             "group": "Body",
9571             "type": "String",
9572             "optional": true,
9573             "field": "username",
9574             "description": ""
9575           },
9576           {
9577             "group": "Body",
9578             "type": "String",
9579             "optional": true,
9580             "field": "password",
9581             "description": ""
9582           },
9583           {
9584             "group": "Body",
9585             "type": "String",
9586             "optional": true,
9587             "field": "remoteUri",
9588             "description": ""
9589           },
9590           {
9591             "group": "Body",
9592             "type": "String",
9593             "optional": true,
9594             "field": "tenantId",
9595             "description": ""
9596           },
9597           {
9598             "group": "Body",
9599             "type": "String",
9600             "optional": true,
9601             "field": "clientId",
9602             "description": ""
9603           },
9604           {
9605             "group": "Body",
9606             "type": "String",
9607             "optional": true,
9608             "field": "clientSecret",
9609             "description": ""
9610           },
9611           {
9612             "group": "Body",
9613             "type": "String",
9614             "optional": true,
9615             "field": "serverUrl",
9616             "description": ""
9617           },
9618           {
9619             "group": "Body",
9620             "type": "String",
9621             "optional": true,
9622             "field": "description",
9623             "description": ""
9624           }
9625         ]
9626       }
9627     },
9628     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9629     "version": "0.0.0",
9630     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Account/index.js",
9631     "groupTitle": "Dynamics365_Accounts"
9632   },
9633   {
9634     "type": "delete",
9635     "url": "/api/integrations/dynamics365/accounts/{id}",
9636     "title": "Deletes a Dynamics365 Account",
9637     "examples": [
9638       {
9639         "title": "Example usage:",
9640         "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id} -v -u {name}:{password} -X DELETE",
9641         "type": "json"
9642       }
9643     ],
9644     "name": "DeleteDynamics365_Accounts",
9645     "group": "Dynamics365_Accounts",
9646     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9647     "version": "0.0.0",
9648     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Account/index.js",
9649     "groupTitle": "Dynamics365_Accounts"
9650   },
9651   {
9652     "type": "get",
9653     "url": "/GetDynamics365Account",
9654     "title": "Gets a list of Dynamics365 Accounts",
9655     "name": "GetDynamics365Account",
9656     "group": "Dynamics365_Accounts",
9657     "parameter": {
9658       "fields": {
9659         "Body": [
9660           {
9661             "group": "Body",
9662             "type": "Object",
9663             "optional": true,
9664             "field": "options.attributes",
9665             "description": ""
9666           },
9667           {
9668             "group": "Body",
9669             "type": "Object",
9670             "optional": true,
9671             "field": "options.where",
9672             "description": ""
9673           }
9674         ]
9675       }
9676     },
9677     "version": "0.0.0",
9678     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Account/intDynamics365Account.rpc.js",
9679     "groupTitle": "Dynamics365_Accounts"
9680   },
9681   {
9682     "type": "get",
9683     "url": "/api/integrations/dynamics365/accounts",
9684     "title": "Gets a list of Dynamics365 Accounts",
9685     "examples": [
9686       {
9687         "title": "Example usage:",
9688         "content": "curl https://{domain}/api/integrations/dynamics365/accounts -v -u {name}:{password}",
9689         "type": "json"
9690       }
9691     ],
9692     "name": "GetDynamics365_Accounts",
9693     "group": "Dynamics365_Accounts",
9694     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/dynamics365/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/dynamics365/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/dynamics365/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/dynamics365/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/dynamics365/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
9695     "version": "0.0.0",
9696     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Account/index.js",
9697     "groupTitle": "Dynamics365_Accounts"
9698   },
9699   {
9700     "type": "get",
9701     "url": "/ShowDynamics365Account",
9702     "title": "Gets a single Dynamics365 Account",
9703     "name": "ShowDynamics365Account",
9704     "group": "Dynamics365_Accounts",
9705     "parameter": {
9706       "fields": {
9707         "Body": [
9708           {
9709             "group": "Body",
9710             "type": "Object",
9711             "optional": true,
9712             "field": "options.attributes",
9713             "description": ""
9714           },
9715           {
9716             "group": "Body",
9717             "type": "Object",
9718             "optional": false,
9719             "field": "options.where",
9720             "description": ""
9721           }
9722         ]
9723       }
9724     },
9725     "version": "0.0.0",
9726     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Account/intDynamics365Account.rpc.js",
9727     "groupTitle": "Dynamics365_Accounts"
9728   },
9729   {
9730     "type": "get",
9731     "url": "/api/integrations/dynamics365/accounts/{id}",
9732     "title": "Gets a single Dynamics365 Account",
9733     "examples": [
9734       {
9735         "title": "Example usage:",
9736         "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id} -v -u {name}:{password}",
9737         "type": "json"
9738       }
9739     ],
9740     "name": "ShowDynamics365_Accounts",
9741     "group": "Dynamics365_Accounts",
9742     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9743     "version": "0.0.0",
9744     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Account/index.js",
9745     "groupTitle": "Dynamics365_Accounts"
9746   },
9747   {
9748     "type": "post",
9749     "url": "/api/integrations/dynamics365/accounts/{id}/configurations",
9750     "title": "Creates new configuration",
9751     "examples": [
9752       {
9753         "title": "Example usage:",
9754         "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id}/configurations -d '{\"name\": \"conf1\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
9755         "type": "json"
9756       }
9757     ],
9758     "name": "addConfiguration",
9759     "group": "Dynamics365_Accounts",
9760     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9761     "version": "0.0.0",
9762     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Account/index.js",
9763     "groupTitle": "Dynamics365_Accounts"
9764   },
9765   {
9766     "type": "get",
9767     "url": "/api/integrations/dynamics365/accounts/{id}/configurations",
9768     "title": "Gets account configurations",
9769     "examples": [
9770       {
9771         "title": "Example usage:",
9772         "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id}/configurations -v -u {name}:{password} -X GET",
9773         "type": "json"
9774       }
9775     ],
9776     "name": "getConfigurations",
9777     "group": "Dynamics365_Accounts",
9778     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9779     "version": "0.0.0",
9780     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Account/index.js",
9781     "groupTitle": "Dynamics365_Accounts"
9782   },
9783   {
9784     "type": "get",
9785     "url": "/api/integrations/dynamics365/accounts/{id}/fields",
9786     "title": "Gets account fields",
9787     "examples": [
9788       {
9789         "title": "Example usage:",
9790         "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id}/fields -v -u {name}:{password} -X GET",
9791         "type": "json"
9792       }
9793     ],
9794     "name": "getFields",
9795     "group": "Dynamics365_Accounts",
9796     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9797     "version": "0.0.0",
9798     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Account/index.js",
9799     "groupTitle": "Dynamics365_Accounts"
9800   },
9801   {
9802     "type": "put",
9803     "url": "/api/integrations/dynamics365/accounts/{id}",
9804     "title": "Update an existing Dynamics365 Account",
9805     "examples": [
9806       {
9807         "title": "Example usage:",
9808         "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
9809         "type": "json"
9810       }
9811     ],
9812     "name": "updateDynamics365_Accounts",
9813     "group": "Dynamics365_Accounts",
9814     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9815     "version": "0.0.0",
9816     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Account/index.js",
9817     "groupTitle": "Dynamics365_Accounts"
9818   },
9819   {
9820     "type": "post",
9821     "url": "/api/integrations/dynamics365/configurations",
9822     "title": "Creates a new Dynamics365 Configuration",
9823     "examples": [
9824       {
9825         "title": "Example usage:",
9826         "content": "curl https://{domain}/api/integrations/dynamics365/configurations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
9827         "type": "json"
9828       }
9829     ],
9830     "name": "CreateDynamics365_Configurations",
9831     "group": "Dynamics365_Configurations",
9832     "parameter": {
9833       "fields": {
9834         "Body": [
9835           {
9836             "group": "Body",
9837             "type": "String",
9838             "optional": true,
9839             "field": "name",
9840             "description": ""
9841           },
9842           {
9843             "group": "Body",
9844             "type": "String",
9845             "optional": true,
9846             "field": "description",
9847             "description": ""
9848           },
9849           {
9850             "group": "Body",
9851             "type": "String",
9852             "allowedValues": [
9853               "\"incident\"",
9854               "\"phonecall\""
9855             ],
9856             "optional": true,
9857             "field": "ticketType",
9858             "description": ""
9859           }
9860         ]
9861       }
9862     },
9863     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9864     "version": "0.0.0",
9865     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Configuration/index.js",
9866     "groupTitle": "Dynamics365_Configurations"
9867   },
9868   {
9869     "type": "delete",
9870     "url": "/api/integrations/dynamics365/configurations/{id}",
9871     "title": "Deletes a Dynamics365 Configuration",
9872     "examples": [
9873       {
9874         "title": "Example usage:",
9875         "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id} -v -u {name}:{password} -X DELETE",
9876         "type": "json"
9877       }
9878     ],
9879     "name": "DeleteDynamics365_Configurations",
9880     "group": "Dynamics365_Configurations",
9881     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9882     "version": "0.0.0",
9883     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Configuration/index.js",
9884     "groupTitle": "Dynamics365_Configurations"
9885   },
9886   {
9887     "type": "get",
9888     "url": "/api/integrations/dynamics365/configurations",
9889     "title": "Gets a list of Dynamics365 Configurations",
9890     "examples": [
9891       {
9892         "title": "Example usage:",
9893         "content": "curl https://{domain}/api/integrations/dynamics365/configurations -v -u {name}:{password}",
9894         "type": "json"
9895       }
9896     ],
9897     "name": "GetDynamics365_Configurations",
9898     "group": "Dynamics365_Configurations",
9899     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/dynamics365/configurations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/dynamics365/configurations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/dynamics365/configurations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/dynamics365/configurations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/dynamics365/configurations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
9900     "version": "0.0.0",
9901     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Configuration/index.js",
9902     "groupTitle": "Dynamics365_Configurations"
9903   },
9904   {
9905     "type": "get",
9906     "url": "/api/integrations/dynamics365/configurations/{id}",
9907     "title": "Gets a single Dynamics365 Configuration",
9908     "examples": [
9909       {
9910         "title": "Example usage:",
9911         "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id} -v -u {name}:{password}",
9912         "type": "json"
9913       }
9914     ],
9915     "name": "ShowDynamics365_Configurations",
9916     "group": "Dynamics365_Configurations",
9917     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9918     "version": "0.0.0",
9919     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Configuration/index.js",
9920     "groupTitle": "Dynamics365_Configurations"
9921   },
9922   {
9923     "type": "get",
9924     "url": "/api/integrations/dynamics365/configurations/{id}/descriptions",
9925     "title": "Gets configurations descriptions",
9926     "examples": [
9927       {
9928         "title": "Example usage:",
9929         "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
9930         "type": "json"
9931       }
9932     ],
9933     "name": "getDescriptions",
9934     "group": "Dynamics365_Configurations",
9935     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9936     "version": "0.0.0",
9937     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Configuration/index.js",
9938     "groupTitle": "Dynamics365_Configurations"
9939   },
9940   {
9941     "type": "get",
9942     "url": "/api/integrations/dynamics365/configurations/{id}/fields",
9943     "title": "Gets configurations fields",
9944     "examples": [
9945       {
9946         "title": "Example usage:",
9947         "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/fields -v -u {name}:{password} -X GET",
9948         "type": "json"
9949       }
9950     ],
9951     "name": "getFields",
9952     "group": "Dynamics365_Configurations",
9953     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9954     "version": "0.0.0",
9955     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Configuration/index.js",
9956     "groupTitle": "Dynamics365_Configurations"
9957   },
9958   {
9959     "type": "get",
9960     "url": "/api/integrations/zoho/configurations/{id}/subjects",
9961     "title": "Gets configurations subjects",
9962     "examples": [
9963       {
9964         "title": "Example usage:",
9965         "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id}/subjects -v -u {name}:{password} -X GET",
9966         "type": "json"
9967       }
9968     ],
9969     "name": "getSubjects",
9970     "group": "Dynamics365_Configurations",
9971     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9972     "version": "0.0.0",
9973     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Configuration/index.js",
9974     "groupTitle": "Dynamics365_Configurations"
9975   },
9976   {
9977     "type": "put",
9978     "url": "/api/integrations/dynamics365/configurations/{id}",
9979     "title": "Update an existing Dynamics365 Configuration",
9980     "examples": [
9981       {
9982         "title": "Example usage:",
9983         "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
9984         "type": "json"
9985       }
9986     ],
9987     "name": "updateDynamics365_Configurations",
9988     "group": "Dynamics365_Configurations",
9989     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9990     "version": "0.0.0",
9991     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Configuration/index.js",
9992     "groupTitle": "Dynamics365_Configurations"
9993   },
9994   {
9995     "type": "post",
9996     "url": "/api/integrations/dynamics365/fields",
9997     "title": "Creates a new Dynamics365 Field",
9998     "examples": [
9999       {
10000         "title": "Example usage:",
10001         "content": "curl https://{domain}/api/integrations/dynamics365/fields -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
10002         "type": "json"
10003       }
10004     ],
10005     "name": "CreateDynamics365_Fields",
10006     "group": "Dynamics365_Fields",
10007     "parameter": {
10008       "fields": {
10009         "Body": [
10010           {
10011             "group": "Body",
10012             "type": "String",
10013             "allowedValues": [
10014               "\"string\"",
10015               "\"variable\"",
10016               "\"customVariable\"",
10017               "\"keyValue\""
10018             ],
10019             "optional": true,
10020             "field": "type",
10021             "description": ""
10022           },
10023           {
10024             "group": "Body",
10025             "type": "String",
10026             "optional": true,
10027             "field": "content",
10028             "description": ""
10029           },
10030           {
10031             "group": "Body",
10032             "type": "String",
10033             "optional": true,
10034             "field": "key",
10035             "description": ""
10036           },
10037           {
10038             "group": "Body",
10039             "type": "String",
10040             "allowedValues": [
10041               "\"string\"",
10042               "\"variable\"",
10043               "\"customVariable\""
10044             ],
10045             "optional": true,
10046             "field": "keyType",
10047             "description": ""
10048           },
10049           {
10050             "group": "Body",
10051             "type": "String",
10052             "optional": true,
10053             "field": "keyContent",
10054             "description": ""
10055           },
10056           {
10057             "group": "Body",
10058             "type": "String",
10059             "optional": true,
10060             "field": "idField",
10061             "description": ""
10062           },
10063           {
10064             "group": "Body",
10065             "type": "String",
10066             "optional": true,
10067             "field": "nameField",
10068             "description": ""
10069           },
10070           {
10071             "group": "Body",
10072             "type": "Boolean",
10073             "optional": true,
10074             "field": "customField",
10075             "description": ""
10076           },
10077           {
10078             "group": "Body",
10079             "type": "String",
10080             "optional": true,
10081             "field": "variableName",
10082             "description": ""
10083           }
10084         ]
10085       }
10086     },
10087     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10088     "version": "0.0.0",
10089     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Field/index.js",
10090     "groupTitle": "Dynamics365_Fields"
10091   },
10092   {
10093     "type": "delete",
10094     "url": "/api/integrations/dynamics365/fields/{id}",
10095     "title": "Deletes a Dynamics365 Field",
10096     "examples": [
10097       {
10098         "title": "Example usage:",
10099         "content": "curl https://{domain}/api/integrations/dynamics365/fields/{id} -v -u {name}:{password} -X DELETE",
10100         "type": "json"
10101       }
10102     ],
10103     "name": "DeleteDynamics365_Fields",
10104     "group": "Dynamics365_Fields",
10105     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10106     "version": "0.0.0",
10107     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Field/index.js",
10108     "groupTitle": "Dynamics365_Fields"
10109   },
10110   {
10111     "type": "get",
10112     "url": "/api/integrations/dynamics365/fields",
10113     "title": "Gets a list of Dynamics365 Fields",
10114     "examples": [
10115       {
10116         "title": "Example usage:",
10117         "content": "curl https://{domain}/api/integrations/dynamics365/fields -v -u {name}:{password}",
10118         "type": "json"
10119       }
10120     ],
10121     "name": "GetDynamics365_Fields",
10122     "group": "Dynamics365_Fields",
10123     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/dynamics365/fields?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/dynamics365/fields?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/dynamics365/fields?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/dynamics365/fields?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/dynamics365/fields?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
10124     "version": "0.0.0",
10125     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Field/index.js",
10126     "groupTitle": "Dynamics365_Fields"
10127   },
10128   {
10129     "type": "get",
10130     "url": "/api/integrations/dynamics365/fields/{id}",
10131     "title": "Gets a single Dynamics365 Field",
10132     "examples": [
10133       {
10134         "title": "Example usage:",
10135         "content": "curl https://{domain}/api/integrations/dynamics365/fields/{id} -v -u {name}:{password}",
10136         "type": "json"
10137       }
10138     ],
10139     "name": "ShowDynamics365_Fields",
10140     "group": "Dynamics365_Fields",
10141     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10142     "version": "0.0.0",
10143     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Field/index.js",
10144     "groupTitle": "Dynamics365_Fields"
10145   },
10146   {
10147     "type": "put",
10148     "url": "/api/integrations/dynamics365/fields/{id}",
10149     "title": "Update an existing Dynamics365 Field",
10150     "examples": [
10151       {
10152         "title": "Example usage:",
10153         "content": "curl https://{domain}/api/integrations/dynamics365/fields/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
10154         "type": "json"
10155       }
10156     ],
10157     "name": "updateDynamics365_Fields",
10158     "group": "Dynamics365_Fields",
10159     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10160     "version": "0.0.0",
10161     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intDynamics365Field/index.js",
10162     "groupTitle": "Dynamics365_Fields"
10163   },
10164   {
10165     "type": "post",
10166     "url": "/api/fax/accounts/{id}/users",
10167     "title": "Add agents to a fax account",
10168     "examples": [
10169       {
10170         "title": "Example usage:",
10171         "content": "curl https://{domain}/api/fax/accounts/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10172         "type": "json"
10173       }
10174     ],
10175     "name": "AddAgents",
10176     "group": "Fax_Accounts",
10177     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10178     "version": "0.0.0",
10179     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10180     "groupTitle": "Fax_Accounts"
10181   },
10182   {
10183     "type": "post",
10184     "url": "/api/fax/accounts",
10185     "title": "Creates a new Account",
10186     "examples": [
10187       {
10188         "title": "Example usage:",
10189         "content": "curl https://{domain}/api/fax/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
10190         "type": "json"
10191       }
10192     ],
10193     "name": "CreateAccounts",
10194     "group": "Fax_Accounts",
10195     "parameter": {
10196       "fields": {
10197         "Body": [
10198           {
10199             "group": "Body",
10200             "type": "String",
10201             "optional": false,
10202             "field": "name",
10203             "description": ""
10204           },
10205           {
10206             "group": "Body",
10207             "type": "String",
10208             "optional": true,
10209             "field": "description",
10210             "description": ""
10211           },
10212           {
10213             "group": "Body",
10214             "type": "String",
10215             "allowedValues": [
10216               "\"yes\"",
10217               "\"no\""
10218             ],
10219             "optional": true,
10220             "field": "ecm",
10221             "description": ""
10222           },
10223           {
10224             "group": "Body",
10225             "type": "String",
10226             "optional": true,
10227             "field": "headerinfo",
10228             "description": ""
10229           },
10230           {
10231             "group": "Body",
10232             "type": "String",
10233             "optional": true,
10234             "field": "localstationid",
10235             "description": ""
10236           },
10237           {
10238             "group": "Body",
10239             "type": "String",
10240             "allowedValues": [
10241               "\"2400\"",
10242               "\"4800\"",
10243               "\"7200\"",
10244               "\"9600\"",
10245               "\"12000\"",
10246               "\"14400\""
10247             ],
10248             "optional": true,
10249             "field": "minrate",
10250             "description": ""
10251           },
10252           {
10253             "group": "Body",
10254             "type": "String",
10255             "allowedValues": [
10256               "\"2400\"",
10257               "\"4800\"",
10258               "\"7200\"",
10259               "\"9600\"",
10260               "\"12000\"",
10261               "\"14400\""
10262             ],
10263             "optional": true,
10264             "field": "maxrate",
10265             "description": ""
10266           },
10267           {
10268             "group": "Body",
10269             "type": "String",
10270             "optional": true,
10271             "field": "modem",
10272             "description": ""
10273           },
10274           {
10275             "group": "Body",
10276             "type": "String",
10277             "optional": true,
10278             "field": "gateway",
10279             "description": ""
10280           },
10281           {
10282             "group": "Body",
10283             "type": "String",
10284             "optional": true,
10285             "field": "faxdetect",
10286             "description": ""
10287           },
10288           {
10289             "group": "Body",
10290             "type": "Integer",
10291             "optional": true,
10292             "field": "t38timeout",
10293             "description": ""
10294           },
10295           {
10296             "group": "Body",
10297             "type": "String",
10298             "allowedValues": [
10299               "\"SIP\"",
10300               "\"IAX\"",
10301               "\"DADHI\"",
10302               "\"KHOMP\""
10303             ],
10304             "optional": true,
10305             "field": "tech",
10306             "description": ""
10307           },
10308           {
10309             "group": "Body",
10310             "type": "String",
10311             "optional": false,
10312             "field": "key",
10313             "description": ""
10314           },
10315           {
10316             "group": "Body",
10317             "type": "Text",
10318             "optional": true,
10319             "field": "notificationTemplate",
10320             "description": ""
10321           },
10322           {
10323             "group": "Body",
10324             "type": "Boolean",
10325             "optional": true,
10326             "field": "notificationSound",
10327             "description": ""
10328           },
10329           {
10330             "group": "Body",
10331             "type": "Boolean",
10332             "optional": true,
10333             "field": "notificationShake",
10334             "description": ""
10335           },
10336           {
10337             "group": "Body",
10338             "type": "Integer",
10339             "optional": true,
10340             "field": "waitForTheAssignedAgent",
10341             "description": ""
10342           },
10343           {
10344             "group": "Body",
10345             "type": "Boolean",
10346             "optional": true,
10347             "field": "queueTransfer",
10348             "description": ""
10349           },
10350           {
10351             "group": "Body",
10352             "type": "Integer",
10353             "optional": true,
10354             "field": "queueTransferTimeout",
10355             "description": ""
10356           },
10357           {
10358             "group": "Body",
10359             "type": "Boolean",
10360             "optional": true,
10361             "field": "agentTransfer",
10362             "description": ""
10363           },
10364           {
10365             "group": "Body",
10366             "type": "Integer",
10367             "optional": true,
10368             "field": "agentTransferTimeout",
10369             "description": ""
10370           },
10371           {
10372             "group": "Body",
10373             "type": "Integer",
10374             "optional": true,
10375             "field": "mandatoryDispositionPauseId",
10376             "description": "<p>Status to put when mandatory disposition is enabled</p>"
10377           },
10378           {
10379             "group": "Body",
10380             "type": "Boolean",
10381             "optional": true,
10382             "field": "mandatoryDisposition",
10383             "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
10384           }
10385         ]
10386       }
10387     },
10388     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10389     "version": "0.0.0",
10390     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10391     "groupTitle": "Fax_Accounts"
10392   },
10393   {
10394     "type": "delete",
10395     "url": "/api/fax/accounts/{id}",
10396     "title": "Deletes a Account",
10397     "examples": [
10398       {
10399         "title": "Example usage:",
10400         "content": "curl https://{domain}/api/fax/accounts/{id} -v -u {name}:{password} -X DELETE",
10401         "type": "json"
10402       }
10403     ],
10404     "name": "DeleteAccounts",
10405     "group": "Fax_Accounts",
10406     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10407     "version": "0.0.0",
10408     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10409     "groupTitle": "Fax_Accounts"
10410   },
10411   {
10412     "type": "get",
10413     "url": "/api/fax/accounts/describe",
10414     "title": "Gets table info about Accounts",
10415     "examples": [
10416       {
10417         "title": "Example usage:",
10418         "content": "curl https://{domain}/api/fax/accounts/describe -v -u {name}:{password}",
10419         "type": "json"
10420       }
10421     ],
10422     "name": "DescribeAccounts",
10423     "group": "Fax_Accounts",
10424     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10425     "version": "0.0.0",
10426     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10427     "groupTitle": "Fax_Accounts"
10428   },
10429   {
10430     "type": "get",
10431     "url": "/api/fax/accounts",
10432     "title": "Gets a list of Accounts",
10433     "examples": [
10434       {
10435         "title": "Example usage:",
10436         "content": "curl https://{domain}/api/fax/accounts -v -u {name}:{password}",
10437         "type": "json"
10438       }
10439     ],
10440     "name": "GetAccounts",
10441     "group": "Fax_Accounts",
10442     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/fax/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/fax/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/fax/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/fax/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/fax/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
10443     "version": "0.0.0",
10444     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10445     "groupTitle": "Fax_Accounts"
10446   },
10447   {
10448     "type": "get",
10449     "url": "/api/fax/accounts/{id}/users",
10450     "title": "Gets agents from fax account",
10451     "examples": [
10452       {
10453         "title": "Example usage:",
10454         "content": "curl https://{domain}/api/fax/accounts/{id}/users -v -u {name}:{password} -X GET",
10455         "type": "json"
10456       }
10457     ],
10458     "name": "GetAgents",
10459     "group": "Fax_Accounts",
10460     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10461     "version": "0.0.0",
10462     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10463     "groupTitle": "Fax_Accounts"
10464   },
10465   {
10466     "type": "get",
10467     "url": "/GetFaxAccount",
10468     "title": "Gets a list of Accounts",
10469     "name": "GetFaxAccount",
10470     "group": "Fax_Accounts",
10471     "parameter": {
10472       "fields": {
10473         "Body": [
10474           {
10475             "group": "Body",
10476             "type": "Object",
10477             "optional": true,
10478             "field": "options.attributes",
10479             "description": ""
10480           },
10481           {
10482             "group": "Body",
10483             "type": "Object",
10484             "optional": true,
10485             "field": "options.where",
10486             "description": ""
10487           }
10488         ]
10489       }
10490     },
10491     "version": "0.0.0",
10492     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/faxAccount.rpc.js",
10493     "groupTitle": "Fax_Accounts"
10494   },
10495   {
10496     "type": "delete",
10497     "url": "/api/fax/accounts/{id}/users",
10498     "title": "Removes agents from a fax account",
10499     "examples": [
10500       {
10501         "title": "Example usage:",
10502         "content": "curl https://{domain}/api/fax/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
10503         "type": "json"
10504       }
10505     ],
10506     "name": "RemoveAgents",
10507     "group": "Fax_Accounts",
10508     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10509     "version": "0.0.0",
10510     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10511     "groupTitle": "Fax_Accounts"
10512   },
10513   {
10514     "type": "delete",
10515     "url": "/api/fax/accounts/{id}/canned_answers",
10516     "title": "Removes canned answers from account",
10517     "examples": [
10518       {
10519         "title": "Example usage:",
10520         "content": "curl https://{domain}/api/fax/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
10521         "type": "json"
10522       }
10523     ],
10524     "name": "RemoveAnswers",
10525     "group": "Fax_Accounts",
10526     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10527     "version": "0.0.0",
10528     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10529     "groupTitle": "Fax_Accounts"
10530   },
10531   {
10532     "type": "delete",
10533     "url": "/api/fax/accounts/{id}/dispositions",
10534     "title": "Removes dispositions from account",
10535     "examples": [
10536       {
10537         "title": "Example usage:",
10538         "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
10539         "type": "json"
10540       }
10541     ],
10542     "name": "RemoveDispositions",
10543     "group": "Fax_Accounts",
10544     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10545     "version": "0.0.0",
10546     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10547     "groupTitle": "Fax_Accounts"
10548   },
10549   {
10550     "type": "get",
10551     "url": "/api/fax/accounts/{id}",
10552     "title": "Gets a single Account",
10553     "examples": [
10554       {
10555         "title": "Example usage:",
10556         "content": "curl https://{domain}/api/fax/accounts/{id} -v -u {name}:{password}",
10557         "type": "json"
10558       }
10559     ],
10560     "name": "ShowAccounts",
10561     "group": "Fax_Accounts",
10562     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10563     "version": "0.0.0",
10564     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10565     "groupTitle": "Fax_Accounts"
10566   },
10567   {
10568     "type": "post",
10569     "url": "/api/fax/accounts/{id}/canned_answers",
10570     "title": "Creates new canned answer",
10571     "examples": [
10572       {
10573         "title": "Example usage:",
10574         "content": "curl https://{domain}/api/fax/accounts/{id}/canned_answers -d '{\"name\": \"vip\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10575         "type": "json"
10576       }
10577     ],
10578     "name": "addAnswer",
10579     "group": "Fax_Accounts",
10580     "parameter": {
10581       "fields": {
10582         "Body": [
10583           {
10584             "group": "Body",
10585             "type": "String",
10586             "optional": false,
10587             "field": "key",
10588             "description": ""
10589           },
10590           {
10591             "group": "Body",
10592             "type": "Text",
10593             "optional": false,
10594             "field": "value",
10595             "description": ""
10596           },
10597           {
10598             "group": "Body",
10599             "type": "String",
10600             "optional": true,
10601             "field": "description",
10602             "description": ""
10603           },
10604           {
10605             "group": "Body",
10606             "type": "Virtual",
10607             "optional": true,
10608             "field": "name",
10609             "description": ""
10610           }
10611         ]
10612       }
10613     },
10614     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10615     "version": "0.0.0",
10616     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10617     "groupTitle": "Fax_Accounts"
10618   },
10619   {
10620     "type": "post",
10621     "url": "/api/fax/accounts/{id}/applications",
10622     "title": "Creates new applications",
10623     "examples": [
10624       {
10625         "title": "Example usage:",
10626         "content": "curl https://{domain}/api/fax/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10627         "type": "json"
10628       }
10629     ],
10630     "name": "addApplications",
10631     "group": "Fax_Accounts",
10632     "parameter": {
10633       "fields": {
10634         "Body": [
10635           {
10636             "group": "Body",
10637             "type": "Integer",
10638             "optional": false,
10639             "field": "priority",
10640             "description": ""
10641           },
10642           {
10643             "group": "Body",
10644             "type": "String",
10645             "optional": false,
10646             "field": "app",
10647             "description": ""
10648           },
10649           {
10650             "group": "Body",
10651             "type": "Text",
10652             "optional": true,
10653             "field": "appdata",
10654             "description": ""
10655           },
10656           {
10657             "group": "Body",
10658             "type": "String",
10659             "optional": true,
10660             "field": "description",
10661             "description": ""
10662           },
10663           {
10664             "group": "Body",
10665             "type": "String",
10666             "optional": true,
10667             "field": "interval",
10668             "description": ""
10669           }
10670         ]
10671       }
10672     },
10673     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10674     "version": "0.0.0",
10675     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10676     "groupTitle": "Fax_Accounts"
10677   },
10678   {
10679     "type": "post",
10680     "url": "/api/fax/accounts/addaccountapplications",
10681     "title": "Creates new account and applications",
10682     "examples": [
10683       {
10684         "title": "Example usage:",
10685         "content": "curl https://{domain}/api/fax/accounts/addaccountapplications -d '[{\"name\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10686         "type": "json"
10687       }
10688     ],
10689     "name": "addApplications",
10690     "group": "Fax_Accounts",
10691     "parameter": {
10692       "fields": {
10693         "Body": [
10694           {
10695             "group": "Body",
10696             "type": "Integer",
10697             "optional": false,
10698             "field": "priority",
10699             "description": ""
10700           },
10701           {
10702             "group": "Body",
10703             "type": "String",
10704             "optional": false,
10705             "field": "app",
10706             "description": ""
10707           },
10708           {
10709             "group": "Body",
10710             "type": "Text",
10711             "optional": true,
10712             "field": "appdata",
10713             "description": ""
10714           },
10715           {
10716             "group": "Body",
10717             "type": "String",
10718             "optional": true,
10719             "field": "description",
10720             "description": ""
10721           },
10722           {
10723             "group": "Body",
10724             "type": "String",
10725             "optional": true,
10726             "field": "interval",
10727             "description": ""
10728           }
10729         ]
10730       }
10731     },
10732     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10733     "version": "0.0.0",
10734     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10735     "groupTitle": "Fax_Accounts"
10736   },
10737   {
10738     "type": "post",
10739     "url": "/api/fax/accounts/{id}/dispositions",
10740     "title": "Creates new disposition",
10741     "examples": [
10742       {
10743         "title": "Example usage:",
10744         "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10745         "type": "json"
10746       }
10747     ],
10748     "name": "addDisposition",
10749     "group": "Fax_Accounts",
10750     "parameter": {
10751       "fields": {
10752         "Body": [
10753           {
10754             "group": "Body",
10755             "type": "String",
10756             "optional": false,
10757             "field": "name",
10758             "description": ""
10759           },
10760           {
10761             "group": "Body",
10762             "type": "String",
10763             "allowedValues": [
10764               "\"first\"",
10765               "\"second\"",
10766               "\"third\""
10767             ],
10768             "optional": false,
10769             "field": "level",
10770             "description": ""
10771           },
10772           {
10773             "group": "Body",
10774             "type": "String",
10775             "optional": true,
10776             "field": "description",
10777             "description": ""
10778           }
10779         ]
10780       }
10781     },
10782     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10783     "version": "0.0.0",
10784     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10785     "groupTitle": "Fax_Accounts"
10786   },
10787   {
10788     "type": "post",
10789     "url": "/api/fax/accounts/{id}/interactions",
10790     "title": "Creates new interactions",
10791     "examples": [
10792       {
10793         "title": "Example usage:",
10794         "content": "curl https://{domain}/api/fax/accounts/{id}/interactions -d '[{\"host\": \"host\", \"username\": \"username\", \"password\": \"password\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10795         "type": "json"
10796       }
10797     ],
10798     "name": "addInteraction",
10799     "group": "Fax_Accounts",
10800     "parameter": {
10801       "fields": {
10802         "Body": [
10803           {
10804             "group": "Body",
10805             "type": "Boolean",
10806             "optional": true,
10807             "field": "closed",
10808             "description": ""
10809           },
10810           {
10811             "group": "Body",
10812             "type": "String",
10813             "optional": true,
10814             "field": "closedAt",
10815             "description": ""
10816           },
10817           {
10818             "group": "Body",
10819             "type": "String",
10820             "optional": true,
10821             "field": "disposition",
10822             "description": ""
10823           },
10824           {
10825             "group": "Body",
10826             "type": "String",
10827             "optional": true,
10828             "field": "secondDisposition",
10829             "description": ""
10830           },
10831           {
10832             "group": "Body",
10833             "type": "String",
10834             "optional": true,
10835             "field": "thirdDisposition",
10836             "description": ""
10837           },
10838           {
10839             "group": "Body",
10840             "type": "String",
10841             "optional": true,
10842             "field": "note",
10843             "description": ""
10844           },
10845           {
10846             "group": "Body",
10847             "type": "String",
10848             "optional": true,
10849             "field": "read1stAt",
10850             "description": ""
10851           },
10852           {
10853             "group": "Body",
10854             "type": "String",
10855             "optional": true,
10856             "field": "fax",
10857             "description": ""
10858           },
10859           {
10860             "group": "Body",
10861             "type": "String",
10862             "allowedValues": [
10863               "\"in\"",
10864               "\"out\""
10865             ],
10866             "optional": false,
10867             "field": "firstMsgDirection",
10868             "description": ""
10869           },
10870           {
10871             "group": "Body",
10872             "type": "String",
10873             "optional": true,
10874             "field": "lastMsgAt",
10875             "description": ""
10876           },
10877           {
10878             "group": "Body",
10879             "type": "String",
10880             "allowedValues": [
10881               "\"in\"",
10882               "\"out\""
10883             ],
10884             "optional": false,
10885             "field": "lastMsgDirection",
10886             "description": ""
10887           }
10888         ]
10889       }
10890     },
10891     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10892     "version": "0.0.0",
10893     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10894     "groupTitle": "Fax_Accounts"
10895   },
10896   {
10897     "type": "get",
10898     "url": "/api/fax/accounts/{id}/canned_answers",
10899     "title": "Gets account canned answers",
10900     "examples": [
10901       {
10902         "title": "Example usage:",
10903         "content": "curl https://{domain}/api/fax/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
10904         "type": "json"
10905       }
10906     ],
10907     "name": "getAnswers",
10908     "group": "Fax_Accounts",
10909     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10910     "version": "0.0.0",
10911     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10912     "groupTitle": "Fax_Accounts"
10913   },
10914   {
10915     "type": "get",
10916     "url": "/api/fax/accounts/{id}/applications",
10917     "title": "Gets account pplications",
10918     "examples": [
10919       {
10920         "title": "Example usage:",
10921         "content": "curl https://{domain}/api/fax/accounts/{id}/applications -v -u {name}:{password} -X GET",
10922         "type": "json"
10923       }
10924     ],
10925     "name": "getApplications",
10926     "group": "Fax_Accounts",
10927     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10928     "version": "0.0.0",
10929     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10930     "groupTitle": "Fax_Accounts"
10931   },
10932   {
10933     "type": "get",
10934     "url": "/api/fax/accounts/{id}/dispositions",
10935     "title": "Gets account dispositions",
10936     "examples": [
10937       {
10938         "title": "Example usage:",
10939         "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
10940         "type": "json"
10941       }
10942     ],
10943     "name": "getDispositions",
10944     "group": "Fax_Accounts",
10945     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10946     "version": "0.0.0",
10947     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10948     "groupTitle": "Fax_Accounts"
10949   },
10950   {
10951     "type": "get",
10952     "url": "/api/fax/accounts/{id}/interactions",
10953     "title": "Gets account interactions",
10954     "examples": [
10955       {
10956         "title": "Example usage:",
10957         "content": "curl https://{domain}/api/fax/accounts/{id}/interactions -v -u {name}:{password} -X GET",
10958         "type": "json"
10959       }
10960     ],
10961     "name": "getInteraction",
10962     "group": "Fax_Accounts",
10963     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10964     "version": "0.0.0",
10965     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10966     "groupTitle": "Fax_Accounts"
10967   },
10968   {
10969     "type": "get",
10970     "url": "/api/fax/accounts/{id}/messages",
10971     "title": "Gets account messages",
10972     "examples": [
10973       {
10974         "title": "Example usage:",
10975         "content": "curl https://{domain}/api/fax/accounts/{id}/messages -v -u {name}:{password} -X GET",
10976         "type": "json"
10977       }
10978     ],
10979     "name": "getMessages",
10980     "group": "Fax_Accounts",
10981     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10982     "version": "0.0.0",
10983     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
10984     "groupTitle": "Fax_Accounts"
10985   },
10986   {
10987     "type": "post",
10988     "url": "/api/fax/accounts/{id}/send",
10989     "title": "Send new fax",
10990     "examples": [
10991       {
10992         "title": "Example usage:",
10993         "content": "curl https://{domain}/api/fax/accounts/{id}/send -d '{from: '\"John Doe\" <123456>'}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10994         "type": "json"
10995       }
10996     ],
10997     "name": "sendFax",
10998     "group": "Fax_Accounts",
10999     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11000     "version": "0.0.0",
11001     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
11002     "groupTitle": "Fax_Accounts"
11003   },
11004   {
11005     "type": "put",
11006     "url": "/api/fax/accounts/{id}",
11007     "title": "Update an existing Account",
11008     "examples": [
11009       {
11010         "title": "Example usage:",
11011         "content": "curl https://{domain}/api/fax/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
11012         "type": "json"
11013       }
11014     ],
11015     "name": "updateAccounts",
11016     "group": "Fax_Accounts",
11017     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11018     "version": "0.0.0",
11019     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
11020     "groupTitle": "Fax_Accounts"
11021   },
11022   {
11023     "type": "post",
11024     "url": "/api/fax/accounts/updateaccountapplications",
11025     "title": "Update account and applications",
11026     "examples": [
11027       {
11028         "title": "Example usage:",
11029         "content": "curl https://{domain}/api/fax/accounts/updateaccountapplications -d '[{\"name\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
11030         "type": "json"
11031       }
11032     ],
11033     "name": "updateApplications",
11034     "group": "Fax_Accounts",
11035     "parameter": {
11036       "fields": {
11037         "Body": [
11038           {
11039             "group": "Body",
11040             "type": "Integer",
11041             "optional": false,
11042             "field": "priority",
11043             "description": ""
11044           },
11045           {
11046             "group": "Body",
11047             "type": "String",
11048             "optional": false,
11049             "field": "app",
11050             "description": ""
11051           },
11052           {
11053             "group": "Body",
11054             "type": "Text",
11055             "optional": true,
11056             "field": "appdata",
11057             "description": ""
11058           },
11059           {
11060             "group": "Body",
11061             "type": "String",
11062             "optional": true,
11063             "field": "description",
11064             "description": ""
11065           },
11066           {
11067             "group": "Body",
11068             "type": "String",
11069             "optional": true,
11070             "field": "interval",
11071             "description": ""
11072           }
11073         ]
11074       }
11075     },
11076     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11077     "version": "0.0.0",
11078     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxAccount/index.js",
11079     "groupTitle": "Fax_Accounts"
11080   },
11081   {
11082     "type": "post",
11083     "url": "/api/fax/applications",
11084     "title": "Creates a new Application",
11085     "examples": [
11086       {
11087         "title": "Example usage:",
11088         "content": "curl https://{domain}/api/fax/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
11089         "type": "json"
11090       }
11091     ],
11092     "name": "CreateApplications",
11093     "group": "Fax_Applications",
11094     "parameter": {
11095       "fields": {
11096         "Body": [
11097           {
11098             "group": "Body",
11099             "type": "Integer",
11100             "optional": false,
11101             "field": "priority",
11102             "description": ""
11103           },
11104           {
11105             "group": "Body",
11106             "type": "String",
11107             "optional": false,
11108             "field": "app",
11109             "description": ""
11110           },
11111           {
11112             "group": "Body",
11113             "type": "Text",
11114             "optional": true,
11115             "field": "appdata",
11116             "description": ""
11117           },
11118           {
11119             "group": "Body",
11120             "type": "String",
11121             "optional": true,
11122             "field": "description",
11123             "description": ""
11124           },
11125           {
11126             "group": "Body",
11127             "type": "String",
11128             "optional": true,
11129             "field": "interval",
11130             "description": ""
11131           }
11132         ]
11133       }
11134     },
11135     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11136     "version": "0.0.0",
11137     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxApplication/index.js",
11138     "groupTitle": "Fax_Applications"
11139   },
11140   {
11141     "type": "delete",
11142     "url": "/api/fax/applications/{id}",
11143     "title": "Deletes a Application",
11144     "examples": [
11145       {
11146         "title": "Example usage:",
11147         "content": "curl https://{domain}/api/fax/applications/{id} -v -u {name}:{password} -X DELETE",
11148         "type": "json"
11149       }
11150     ],
11151     "name": "DeleteApplications",
11152     "group": "Fax_Applications",
11153     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11154     "version": "0.0.0",
11155     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxApplication/index.js",
11156     "groupTitle": "Fax_Applications"
11157   },
11158   {
11159     "type": "get",
11160     "url": "/api/fax/applications",
11161     "title": "Gets a list of Applications",
11162     "examples": [
11163       {
11164         "title": "Example usage:",
11165         "content": "curl https://{domain}/api/fax/applications -v -u {name}:{password}",
11166         "type": "json"
11167       }
11168     ],
11169     "name": "GetApplications",
11170     "group": "Fax_Applications",
11171     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/fax/applications?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/fax/applications?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/fax/applications?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/fax/applications?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/fax/applications?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
11172     "version": "0.0.0",
11173     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxApplication/index.js",
11174     "groupTitle": "Fax_Applications"
11175   },
11176   {
11177     "type": "get",
11178     "url": "/api/fax/applications/{id}",
11179     "title": "Gets a single Application",
11180     "examples": [
11181       {
11182         "title": "Example usage:",
11183         "content": "curl https://{domain}/api/fax/applications/{id} -v -u {name}:{password}",
11184         "type": "json"
11185       }
11186     ],
11187     "name": "ShowApplications",
11188     "group": "Fax_Applications",
11189     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11190     "version": "0.0.0",
11191     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxApplication/index.js",
11192     "groupTitle": "Fax_Applications"
11193   },
11194   {
11195     "type": "post",
11196     "url": "/UpdateFaxApplication",
11197     "title": "Updates a new Application",
11198     "name": "UpdateFaxApplication",
11199     "group": "Fax_Applications",
11200     "parameter": {
11201       "fields": {
11202         "Body": [
11203           {
11204             "group": "Body",
11205             "type": "Object",
11206             "optional": true,
11207             "field": "options.attributes",
11208             "description": ""
11209           },
11210           {
11211             "group": "Body",
11212             "type": "Object",
11213             "optional": false,
11214             "field": "options.where",
11215             "description": ""
11216           }
11217         ]
11218       }
11219     },
11220     "version": "0.0.0",
11221     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxApplication/faxApplication.rpc.js",
11222     "groupTitle": "Fax_Applications"
11223   },
11224   {
11225     "type": "put",
11226     "url": "/api/fax/applications/{id}",
11227     "title": "Update an existing Application",
11228     "examples": [
11229       {
11230         "title": "Example usage:",
11231         "content": "curl https://{domain}/api/fax/applications/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
11232         "type": "json"
11233       }
11234     ],
11235     "name": "updateApplications",
11236     "group": "Fax_Applications",
11237     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11238     "version": "0.0.0",
11239     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxApplication/index.js",
11240     "groupTitle": "Fax_Applications"
11241   },
11242   {
11243     "type": "post",
11244     "url": "/api/fax/interactions/{id}/tags",
11245     "title": "Add tags to the interaction",
11246     "examples": [
11247       {
11248         "title": "Example usage:",
11249         "content": "curl https://{domain}/api/fax/interaction/{id}/tags -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
11250         "type": "json"
11251       }
11252     ],
11253     "name": "AddTags",
11254     "group": "Fax_Interactions",
11255     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11256     "version": "0.0.0",
11257     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/index.js",
11258     "groupTitle": "Fax_Interactions"
11259   },
11260   {
11261     "type": "post",
11262     "url": "/AddTagsToFaxInteraction",
11263     "title": "Add Tags to Fax interaction",
11264     "name": "AddTagsToFaxInteraction",
11265     "group": "Fax_Interactions",
11266     "parameter": {
11267       "fields": {
11268         "Body": [
11269           {
11270             "group": "Body",
11271             "type": "Object",
11272             "optional": true,
11273             "field": "options.attributes",
11274             "description": ""
11275           },
11276           {
11277             "group": "Body",
11278             "type": "Object",
11279             "optional": false,
11280             "field": "options.where",
11281             "description": ""
11282           }
11283         ]
11284       }
11285     },
11286     "version": "0.0.0",
11287     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/faxInteraction.rpc.js",
11288     "groupTitle": "Fax_Interactions"
11289   },
11290   {
11291     "type": "post",
11292     "url": "/api/fax/interactions",
11293     "title": "Creates a new Interaction",
11294     "examples": [
11295       {
11296         "title": "Example usage:",
11297         "content": "curl https://{domain}/api/fax/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
11298         "type": "json"
11299       }
11300     ],
11301     "name": "CreateInteractions",
11302     "group": "Fax_Interactions",
11303     "parameter": {
11304       "fields": {
11305         "Body": [
11306           {
11307             "group": "Body",
11308             "type": "Boolean",
11309             "optional": true,
11310             "field": "closed",
11311             "description": ""
11312           },
11313           {
11314             "group": "Body",
11315             "type": "String",
11316             "optional": true,
11317             "field": "closedAt",
11318             "description": ""
11319           },
11320           {
11321             "group": "Body",
11322             "type": "String",
11323             "optional": true,
11324             "field": "disposition",
11325             "description": ""
11326           },
11327           {
11328             "group": "Body",
11329             "type": "String",
11330             "optional": true,
11331             "field": "secondDisposition",
11332             "description": ""
11333           },
11334           {
11335             "group": "Body",
11336             "type": "String",
11337             "optional": true,
11338             "field": "thirdDisposition",
11339             "description": ""
11340           },
11341           {
11342             "group": "Body",
11343             "type": "String",
11344             "optional": true,
11345             "field": "note",
11346             "description": ""
11347           },
11348           {
11349             "group": "Body",
11350             "type": "String",
11351             "optional": true,
11352             "field": "read1stAt",
11353             "description": ""
11354           },
11355           {
11356             "group": "Body",
11357             "type": "String",
11358             "optional": true,
11359             "field": "fax",
11360             "description": ""
11361           },
11362           {
11363             "group": "Body",
11364             "type": "String",
11365             "allowedValues": [
11366               "\"in\"",
11367               "\"out\""
11368             ],
11369             "optional": false,
11370             "field": "firstMsgDirection",
11371             "description": ""
11372           },
11373           {
11374             "group": "Body",
11375             "type": "String",
11376             "optional": true,
11377             "field": "lastMsgAt",
11378             "description": ""
11379           },
11380           {
11381             "group": "Body",
11382             "type": "String",
11383             "allowedValues": [
11384               "\"in\"",
11385               "\"out\""
11386             ],
11387             "optional": false,
11388             "field": "lastMsgDirection",
11389             "description": ""
11390           }
11391         ]
11392       }
11393     },
11394     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11395     "version": "0.0.0",
11396     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/index.js",
11397     "groupTitle": "Fax_Interactions"
11398   },
11399   {
11400     "type": "delete",
11401     "url": "/api/fax/interactions/{id}",
11402     "title": "Deletes a Interaction",
11403     "examples": [
11404       {
11405         "title": "Example usage:",
11406         "content": "curl https://{domain}/api/fax/interactions/{id} -v -u {name}:{password} -X DELETE",
11407         "type": "json"
11408       }
11409     ],
11410     "name": "DeleteInteractions",
11411     "group": "Fax_Interactions",
11412     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11413     "version": "0.0.0",
11414     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/index.js",
11415     "groupTitle": "Fax_Interactions"
11416   },
11417   {
11418     "type": "get",
11419     "url": "/api/fax/interactions/describe",
11420     "title": "Gets table info about Interactions",
11421     "examples": [
11422       {
11423         "title": "Example usage:",
11424         "content": "curl https://{domain}/api/fax/interactions/describe -v -u {name}:{password}",
11425         "type": "json"
11426       }
11427     ],
11428     "name": "DescribeInteractions",
11429     "group": "Fax_Interactions",
11430     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11431     "version": "0.0.0",
11432     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/index.js",
11433     "groupTitle": "Fax_Interactions"
11434   },
11435   {
11436     "type": "get",
11437     "url": "/api/fax/interactions",
11438     "title": "Gets a list of Interactions",
11439     "examples": [
11440       {
11441         "title": "Example usage:",
11442         "content": "curl https://{domain}/api/fax/interactions -v -u {name}:{password}",
11443         "type": "json"
11444       }
11445     ],
11446     "name": "GetInteractions",
11447     "group": "Fax_Interactions",
11448     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/fax/interactions?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/fax/interactions?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/fax/interactions?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/fax/interactions?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/fax/interactions?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
11449     "version": "0.0.0",
11450     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/index.js",
11451     "groupTitle": "Fax_Interactions"
11452   },
11453   {
11454     "type": "delete",
11455     "url": "/api/fax/interactions/{id}/tags",
11456     "title": "Removes tags from interaction",
11457     "examples": [
11458       {
11459         "title": "Example usage:",
11460         "content": "curl https://{domain}/api/fax/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
11461         "type": "json"
11462       }
11463     ],
11464     "name": "RemoveTags",
11465     "group": "Fax_Interactions",
11466     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11467     "version": "0.0.0",
11468     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/index.js",
11469     "groupTitle": "Fax_Interactions"
11470   },
11471   {
11472     "type": "get",
11473     "url": "/api/fax/interactions/{id}",
11474     "title": "Gets a single Interaction",
11475     "examples": [
11476       {
11477         "title": "Example usage:",
11478         "content": "curl https://{domain}/api/fax/interactions/{id} -v -u {name}:{password}",
11479         "type": "json"
11480       }
11481     ],
11482     "name": "ShowInteractions",
11483     "group": "Fax_Interactions",
11484     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11485     "version": "0.0.0",
11486     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/index.js",
11487     "groupTitle": "Fax_Interactions"
11488   },
11489   {
11490     "type": "post",
11491     "url": "/UpdateFaxInteraction",
11492     "title": "Updates a new Interaction",
11493     "name": "UpdateFaxInteraction",
11494     "group": "Fax_Interactions",
11495     "parameter": {
11496       "fields": {
11497         "Body": [
11498           {
11499             "group": "Body",
11500             "type": "Object",
11501             "optional": true,
11502             "field": "options.attributes",
11503             "description": ""
11504           },
11505           {
11506             "group": "Body",
11507             "type": "Object",
11508             "optional": false,
11509             "field": "options.where",
11510             "description": ""
11511           }
11512         ]
11513       }
11514     },
11515     "version": "0.0.0",
11516     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/faxInteraction.rpc.js",
11517     "groupTitle": "Fax_Interactions"
11518   },
11519   {
11520     "type": "post",
11521     "url": "/api/fax/interactions/{id}/messages",
11522     "title": "Creates new messages",
11523     "examples": [
11524       {
11525         "title": "Example usage:",
11526         "content": "curl https://{domain}/api/fax/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
11527         "type": "json"
11528       }
11529     ],
11530     "name": "addMessage",
11531     "group": "Fax_Interactions",
11532     "parameter": {
11533       "fields": {
11534         "Body": [
11535           {
11536             "group": "Body",
11537             "type": "Text",
11538             "optional": false,
11539             "field": "body",
11540             "description": ""
11541           },
11542           {
11543             "group": "Body",
11544             "type": "Boolean",
11545             "optional": true,
11546             "field": "read",
11547             "description": ""
11548           },
11549           {
11550             "group": "Body",
11551             "type": "String",
11552             "allowedValues": [
11553               "\"in\"",
11554               "\"out\""
11555             ],
11556             "optional": false,
11557             "field": "direction",
11558             "description": ""
11559           },
11560           {
11561             "group": "Body",
11562             "type": "Text",
11563             "optional": true,
11564             "field": "failMessage",
11565             "description": ""
11566           },
11567           {
11568             "group": "Body",
11569             "type": "String",
11570             "optional": true,
11571             "field": "readAt",
11572             "description": ""
11573           }
11574         ]
11575       }
11576     },
11577     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11578     "version": "0.0.0",
11579     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/index.js",
11580     "groupTitle": "Fax_Interactions"
11581   },
11582   {
11583     "type": "get",
11584     "url": "/api/fax/interactions/{id}/download",
11585     "title": "Get interactions",
11586     "examples": [
11587       {
11588         "title": "Example usage:",
11589         "content": "curl https://{domain}/api/fax/interactions/{id}/download -v -u {name}:{password} -X GET",
11590         "type": "json"
11591       }
11592     ],
11593     "name": "download",
11594     "group": "Fax_Interactions",
11595     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11596     "version": "0.0.0",
11597     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/index.js",
11598     "groupTitle": "Fax_Interactions"
11599   },
11600   {
11601     "type": "get",
11602     "url": "/api/fax/interactions/{id}/messages",
11603     "title": "Gets interaction messages",
11604     "examples": [
11605       {
11606         "title": "Example usage:",
11607         "content": "curl https://{domain}/api/fax/interactions/{id}/messages -v -u {name}:{password} -X GET",
11608         "type": "json"
11609       }
11610     ],
11611     "name": "getMessages",
11612     "group": "Fax_Interactions",
11613     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11614     "version": "0.0.0",
11615     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/index.js",
11616     "groupTitle": "Fax_Interactions"
11617   },
11618   {
11619     "type": "put",
11620     "url": "/api/fax/interactions/{id}",
11621     "title": "Update an existing Interaction",
11622     "examples": [
11623       {
11624         "title": "Example usage:",
11625         "content": "curl https://{domain}/api/fax/interactions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
11626         "type": "json"
11627       }
11628     ],
11629     "name": "updateInteractions",
11630     "group": "Fax_Interactions",
11631     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11632     "version": "0.0.0",
11633     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxInteraction/index.js",
11634     "groupTitle": "Fax_Interactions"
11635   },
11636   {
11637     "type": "get",
11638     "url": "/api/fax/messages/{id}/download",
11639     "title": "Get message",
11640     "examples": [
11641       {
11642         "title": "Example usage:",
11643         "content": "curl https://{domain}/api/fax/messages/{id}/download -v -u {name}:{password} -X GET",
11644         "type": "json"
11645       }
11646     ],
11647     "name": "download",
11648     "group": "Fax_Message",
11649     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11650     "version": "0.0.0",
11651     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxMessage/index.js",
11652     "groupTitle": "Fax_Message"
11653   },
11654   {
11655     "type": "post",
11656     "url": "/CreateFaxMessage",
11657     "title": "Creates a new Message",
11658     "name": "CreateFaxMessage",
11659     "group": "Fax_Messages",
11660     "version": "0.0.0",
11661     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxMessage/faxMessage.rpc.js",
11662     "groupTitle": "Fax_Messages"
11663   },
11664   {
11665     "type": "delete",
11666     "url": "/api/fax/messages/{id}",
11667     "title": "Deletes a Message",
11668     "examples": [
11669       {
11670         "title": "Example usage:",
11671         "content": "curl https://{domain}/api/fax/messages/{id} -v -u {name}:{password} -X DELETE",
11672         "type": "json"
11673       }
11674     ],
11675     "name": "DeleteMessages",
11676     "group": "Fax_Messages",
11677     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11678     "version": "0.0.0",
11679     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxMessage/index.js",
11680     "groupTitle": "Fax_Messages"
11681   },
11682   {
11683     "type": "get",
11684     "url": "/api/fax/messages/describe",
11685     "title": "Gets table info about Messages",
11686     "examples": [
11687       {
11688         "title": "Example usage:",
11689         "content": "curl https://{domain}/api/fax/messages/describe -v -u {name}:{password}",
11690         "type": "json"
11691       }
11692     ],
11693     "name": "DescribeMessages",
11694     "group": "Fax_Messages",
11695     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11696     "version": "0.0.0",
11697     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxMessage/index.js",
11698     "groupTitle": "Fax_Messages"
11699   },
11700   {
11701     "type": "get",
11702     "url": "/api/fax/messages",
11703     "title": "Gets a list of Messages",
11704     "examples": [
11705       {
11706         "title": "Example usage:",
11707         "content": "curl https://{domain}/api/fax/messages -v -u {name}:{password}",
11708         "type": "json"
11709       }
11710     ],
11711     "name": "GetMessages",
11712     "group": "Fax_Messages",
11713     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/fax/messages?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/fax/messages?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/fax/messages?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/fax/messages?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/fax/messages?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
11714     "version": "0.0.0",
11715     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxMessage/index.js",
11716     "groupTitle": "Fax_Messages"
11717   },
11718   {
11719     "type": "get",
11720     "url": "/api/fax/messages/{id}",
11721     "title": "Gets a single Message",
11722     "examples": [
11723       {
11724         "title": "Example usage:",
11725         "content": "curl https://{domain}/api/fax/messages/{id} -v -u {name}:{password}",
11726         "type": "json"
11727       }
11728     ],
11729     "name": "ShowMessages",
11730     "group": "Fax_Messages",
11731     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11732     "version": "0.0.0",
11733     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxMessage/index.js",
11734     "groupTitle": "Fax_Messages"
11735   },
11736   {
11737     "type": "post",
11738     "url": "/UpdateFaxMessage",
11739     "title": "Updates a new Message",
11740     "name": "UpdateFaxMessage",
11741     "group": "Fax_Messages",
11742     "parameter": {
11743       "fields": {
11744         "Body": [
11745           {
11746             "group": "Body",
11747             "type": "Object",
11748             "optional": true,
11749             "field": "options.attributes",
11750             "description": ""
11751           },
11752           {
11753             "group": "Body",
11754             "type": "Object",
11755             "optional": false,
11756             "field": "options.where",
11757             "description": ""
11758           }
11759         ]
11760       }
11761     },
11762     "version": "0.0.0",
11763     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxMessage/faxMessage.rpc.js",
11764     "groupTitle": "Fax_Messages"
11765   },
11766   {
11767     "type": "put",
11768     "url": "/api/fax/messages/{id}/accept",
11769     "title": "Accepts message",
11770     "examples": [
11771       {
11772         "title": "Example usage:",
11773         "content": "curl https://{domain}/api/fax/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
11774         "type": "json"
11775       }
11776     ],
11777     "name": "acceptMessage",
11778     "group": "Fax_Messages",
11779     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11780     "version": "0.0.0",
11781     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxMessage/index.js",
11782     "groupTitle": "Fax_Messages"
11783   },
11784   {
11785     "type": "post",
11786     "url": "/api/fax/messages",
11787     "title": "Create message and send Fax",
11788     "examples": [
11789       {
11790         "title": "Example usage:",
11791         "content": "curl https://{domain}/api/fax/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
11792         "type": "json"
11793       }
11794     ],
11795     "name": "rejectMessage",
11796     "group": "Fax_Messages",
11797     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11798     "version": "0.0.0",
11799     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxMessage/index.js",
11800     "groupTitle": "Fax_Messages"
11801   },
11802   {
11803     "type": "put",
11804     "url": "/api/fax/messages/{id}/reject",
11805     "title": "Rejects message",
11806     "examples": [
11807       {
11808         "title": "Example usage:",
11809         "content": "curl https://{domain}/api/fax/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
11810         "type": "json"
11811       }
11812     ],
11813     "name": "rejectMessage",
11814     "group": "Fax_Messages",
11815     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11816     "version": "0.0.0",
11817     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxMessage/index.js",
11818     "groupTitle": "Fax_Messages"
11819   },
11820   {
11821     "type": "put",
11822     "url": "/api/fax/messages/{id}",
11823     "title": "Update an existing Message",
11824     "examples": [
11825       {
11826         "title": "Example usage:",
11827         "content": "curl https://{domain}/api/fax/messages/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
11828         "type": "json"
11829       }
11830     ],
11831     "name": "updateMessages",
11832     "group": "Fax_Messages",
11833     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11834     "version": "0.0.0",
11835     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxMessage/index.js",
11836     "groupTitle": "Fax_Messages"
11837   },
11838   {
11839     "type": "post",
11840     "url": "/CreateFaxQueueReport",
11841     "title": "Creates a new Fax Queue Report",
11842     "name": "CreateFaxQueueReport",
11843     "group": "Fax_Queue_Reports",
11844     "version": "0.0.0",
11845     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueueReport/faxQueueReport.rpc.js",
11846     "groupTitle": "Fax_Queue_Reports"
11847   },
11848   {
11849     "type": "post",
11850     "url": "/api/fax/reports/queue",
11851     "title": "Creates a new Fax Queue Report",
11852     "examples": [
11853       {
11854         "title": "Example usage:",
11855         "content": "curl https://{domain}/api/fax/reports/queue -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
11856         "type": "json"
11857       }
11858     ],
11859     "name": "CreateFax_Queue_Reports",
11860     "group": "Fax_Queue_Reports",
11861     "parameter": {
11862       "fields": {
11863         "Body": [
11864           {
11865             "group": "Body",
11866             "type": "String",
11867             "optional": false,
11868             "field": "uniqueid",
11869             "description": ""
11870           },
11871           {
11872             "group": "Body",
11873             "type": "String",
11874             "optional": true,
11875             "field": "from",
11876             "description": ""
11877           },
11878           {
11879             "group": "Body",
11880             "type": "String",
11881             "optional": true,
11882             "field": "joinAt",
11883             "description": ""
11884           },
11885           {
11886             "group": "Body",
11887             "type": "String",
11888             "optional": true,
11889             "field": "leaveAt",
11890             "description": ""
11891           },
11892           {
11893             "group": "Body",
11894             "type": "String",
11895             "optional": true,
11896             "field": "acceptAt",
11897             "description": ""
11898           },
11899           {
11900             "group": "Body",
11901             "type": "String",
11902             "optional": true,
11903             "field": "exitAt",
11904             "description": ""
11905           },
11906           {
11907             "group": "Body",
11908             "type": "String",
11909             "optional": true,
11910             "field": "reason",
11911             "description": ""
11912           }
11913         ]
11914       }
11915     },
11916     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11917     "version": "0.0.0",
11918     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueueReport/index.js",
11919     "groupTitle": "Fax_Queue_Reports"
11920   },
11921   {
11922     "type": "delete",
11923     "url": "/api/fax/reports/queue/{id}",
11924     "title": "Deletes a Fax Queue Report",
11925     "examples": [
11926       {
11927         "title": "Example usage:",
11928         "content": "curl https://{domain}/api/fax/reports/queue/{id} -v -u {name}:{password} -X DELETE",
11929         "type": "json"
11930       }
11931     ],
11932     "name": "DeleteFax_Queue_Reports",
11933     "group": "Fax_Queue_Reports",
11934     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11935     "version": "0.0.0",
11936     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueueReport/index.js",
11937     "groupTitle": "Fax_Queue_Reports"
11938   },
11939   {
11940     "type": "get",
11941     "url": "/api/fax/reports/queue/describe",
11942     "title": "Gets table info about Fax Queue Reports",
11943     "examples": [
11944       {
11945         "title": "Example usage:",
11946         "content": "curl https://{domain}/api/fax/reports/queue/describe -v -u {name}:{password}",
11947         "type": "json"
11948       }
11949     ],
11950     "name": "DescribeFax_Queue_Reports",
11951     "group": "Fax_Queue_Reports",
11952     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11953     "version": "0.0.0",
11954     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueueReport/index.js",
11955     "groupTitle": "Fax_Queue_Reports"
11956   },
11957   {
11958     "type": "get",
11959     "url": "/api/fax/reports/queue",
11960     "title": "Gets a list of Fax Queue Reports",
11961     "examples": [
11962       {
11963         "title": "Example usage:",
11964         "content": "curl https://{domain}/api/fax/reports/queue -v -u {name}:{password}",
11965         "type": "json"
11966       }
11967     ],
11968     "name": "GetFax_Queue_Reports",
11969     "group": "Fax_Queue_Reports",
11970     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/fax/reports/queue?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/fax/reports/queue?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/fax/reports/queue?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/fax/reports/queue?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/fax/reports/queue?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
11971     "version": "0.0.0",
11972     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueueReport/index.js",
11973     "groupTitle": "Fax_Queue_Reports"
11974   },
11975   {
11976     "type": "get",
11977     "url": "/api/fax/reports/queue/{id}",
11978     "title": "Gets a single Fax Queue Report",
11979     "examples": [
11980       {
11981         "title": "Example usage:",
11982         "content": "curl https://{domain}/api/fax/reports/queue/{id} -v -u {name}:{password}",
11983         "type": "json"
11984       }
11985     ],
11986     "name": "ShowFax_Queue_Reports",
11987     "group": "Fax_Queue_Reports",
11988     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11989     "version": "0.0.0",
11990     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueueReport/index.js",
11991     "groupTitle": "Fax_Queue_Reports"
11992   },
11993   {
11994     "type": "post",
11995     "url": "/UpdateFaxQueueReport",
11996     "title": "Updates a new Fax Queue Report",
11997     "name": "UpdateFaxQueueReport",
11998     "group": "Fax_Queue_Reports",
11999     "parameter": {
12000       "fields": {
12001         "Body": [
12002           {
12003             "group": "Body",
12004             "type": "Object",
12005             "optional": true,
12006             "field": "options.attributes",
12007             "description": ""
12008           },
12009           {
12010             "group": "Body",
12011             "type": "Object",
12012             "optional": false,
12013             "field": "options.where",
12014             "description": ""
12015           }
12016         ]
12017       }
12018     },
12019     "version": "0.0.0",
12020     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueueReport/faxQueueReport.rpc.js",
12021     "groupTitle": "Fax_Queue_Reports"
12022   },
12023   {
12024     "type": "put",
12025     "url": "/api/fax/reports/queue/{id}",
12026     "title": "Update an existing Fax Queue Report",
12027     "examples": [
12028       {
12029         "title": "Example usage:",
12030         "content": "curl https://{domain}/api/fax/reports/queue/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
12031         "type": "json"
12032       }
12033     ],
12034     "name": "updateFax_Queue_Reports",
12035     "group": "Fax_Queue_Reports",
12036     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12037     "version": "0.0.0",
12038     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueueReport/index.js",
12039     "groupTitle": "Fax_Queue_Reports"
12040   },
12041   {
12042     "type": "post",
12043     "url": "/api/fax/queues/{id}/users",
12044     "title": "Add agents to a queue",
12045     "examples": [
12046       {
12047         "title": "Example usage:",
12048         "content": "curl https://{domain}/api/fax/queues/{id}/users -d '{\"ids\": [1,2], \"penalty\": 2}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
12049         "type": "json"
12050       }
12051     ],
12052     "name": "AddAgents",
12053     "group": "Fax_Queues",
12054     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12055     "version": "0.0.0",
12056     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12057     "groupTitle": "Fax_Queues"
12058   },
12059   {
12060     "type": "post",
12061     "url": "/api/fax/queues/{id}/teams",
12062     "title": "Add teams to a queue",
12063     "examples": [
12064       {
12065         "title": "Example usage:",
12066         "content": "curl https://{domain}/api/fax/queues/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
12067         "type": "json"
12068       }
12069     ],
12070     "name": "AddTeams",
12071     "group": "Fax_Queues",
12072     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12073     "version": "0.0.0",
12074     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12075     "groupTitle": "Fax_Queues"
12076   },
12077   {
12078     "type": "post",
12079     "url": "/api/fax/queues",
12080     "title": "Creates a new Queue",
12081     "examples": [
12082       {
12083         "title": "Example usage:",
12084         "content": "curl https://{domain}/api/fax/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
12085         "type": "json"
12086       }
12087     ],
12088     "name": "CreateQueues",
12089     "group": "Fax_Queues",
12090     "parameter": {
12091       "fields": {
12092         "Body": [
12093           {
12094             "group": "Body",
12095             "type": "String",
12096             "optional": false,
12097             "field": "name",
12098             "description": ""
12099           },
12100           {
12101             "group": "Body",
12102             "type": "String",
12103             "optional": true,
12104             "field": "description",
12105             "description": ""
12106           },
12107           {
12108             "group": "Body",
12109             "type": "Integer",
12110             "optional": false,
12111             "field": "timeout",
12112             "description": ""
12113           },
12114           {
12115             "group": "Body",
12116             "type": "String",
12117             "allowedValues": [
12118               "\"rrmemory\"",
12119               "\"beepall\"",
12120               "\"roundrobin\""
12121             ],
12122             "optional": false,
12123             "field": "strategy",
12124             "description": ""
12125           },
12126           {
12127             "group": "Body",
12128             "type": "Integer",
12129             "optional": true,
12130             "field": "lastAgent",
12131             "description": ""
12132           }
12133         ]
12134       }
12135     },
12136     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12137     "version": "0.0.0",
12138     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12139     "groupTitle": "Fax_Queues"
12140   },
12141   {
12142     "type": "delete",
12143     "url": "/api/fax/queues/{id}",
12144     "title": "Deletes a Queue",
12145     "examples": [
12146       {
12147         "title": "Example usage:",
12148         "content": "curl https://{domain}/api/fax/queues/{id} -v -u {name}:{password} -X DELETE",
12149         "type": "json"
12150       }
12151     ],
12152     "name": "DeleteQueues",
12153     "group": "Fax_Queues",
12154     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12155     "version": "0.0.0",
12156     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12157     "groupTitle": "Fax_Queues"
12158   },
12159   {
12160     "type": "get",
12161     "url": "/api/fax/queues/describe",
12162     "title": "Gets table info about Queues",
12163     "examples": [
12164       {
12165         "title": "Example usage:",
12166         "content": "curl https://{domain}/api/fax/queues/describe -v -u {name}:{password}",
12167         "type": "json"
12168       }
12169     ],
12170     "name": "DescribeQueues",
12171     "group": "Fax_Queues",
12172     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12173     "version": "0.0.0",
12174     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12175     "groupTitle": "Fax_Queues"
12176   },
12177   {
12178     "type": "get",
12179     "url": "/api/fax/queues/{id}/users",
12180     "title": "Gets queue agents",
12181     "examples": [
12182       {
12183         "title": "Example usage:",
12184         "content": "curl https://{domain}/api/fax/queues/{id}/users -v -u {name}:{password} -X POST",
12185         "type": "json"
12186       }
12187     ],
12188     "name": "GetAgents",
12189     "group": "Fax_Queues",
12190     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12191     "version": "0.0.0",
12192     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12193     "groupTitle": "Fax_Queues"
12194   },
12195   {
12196     "type": "get",
12197     "url": "/GetFaxQueue",
12198     "title": "Gets a list of Queues",
12199     "name": "GetFaxQueue",
12200     "group": "Fax_Queues",
12201     "parameter": {
12202       "fields": {
12203         "Body": [
12204           {
12205             "group": "Body",
12206             "type": "Object",
12207             "optional": true,
12208             "field": "options.attributes",
12209             "description": ""
12210           },
12211           {
12212             "group": "Body",
12213             "type": "Object",
12214             "optional": true,
12215             "field": "options.where",
12216             "description": ""
12217           }
12218         ]
12219       }
12220     },
12221     "version": "0.0.0",
12222     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/faxQueue.rpc.js",
12223     "groupTitle": "Fax_Queues"
12224   },
12225   {
12226     "type": "get",
12227     "url": "/api/fax/queues/{id}/members",
12228     "title": "GetMembers",
12229     "examples": [
12230       {
12231         "title": "Example usage:",
12232         "content": "curl https://{domain}/api/fax/queues/{id}/members  -v -u {name}:{password}",
12233         "type": "json"
12234       }
12235     ],
12236     "name": "GetMembers",
12237     "group": "Fax_Queues",
12238     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12239     "version": "0.0.0",
12240     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12241     "groupTitle": "Fax_Queues"
12242   },
12243   {
12244     "type": "get",
12245     "url": "/api/fax/queues",
12246     "title": "Gets a list of Queues",
12247     "examples": [
12248       {
12249         "title": "Example usage:",
12250         "content": "curl https://{domain}/api/fax/queues -v -u {name}:{password}",
12251         "type": "json"
12252       }
12253     ],
12254     "name": "GetQueues",
12255     "group": "Fax_Queues",
12256     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/fax/queues?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/fax/queues?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/fax/queues?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/fax/queues?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/fax/queues?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
12257     "version": "0.0.0",
12258     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12259     "groupTitle": "Fax_Queues"
12260   },
12261   {
12262     "type": "get",
12263     "url": "/api/fax/queues/{id}/teams",
12264     "title": "Gets queues list",
12265     "examples": [
12266       {
12267         "title": "Example usage:",
12268         "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password}",
12269         "type": "json"
12270       }
12271     ],
12272     "name": "GetTeams",
12273     "group": "Fax_Queues",
12274     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12275     "version": "0.0.0",
12276     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12277     "groupTitle": "Fax_Queues"
12278   },
12279   {
12280     "type": "delete",
12281     "url": "/api/fax/queues/{id}/users",
12282     "title": "Removes agents from a queue",
12283     "examples": [
12284       {
12285         "title": "Example usage:",
12286         "content": "curl https://{domain}/api/fax/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
12287         "type": "json"
12288       }
12289     ],
12290     "name": "RemoveAgents",
12291     "group": "Fax_Queues",
12292     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12293     "version": "0.0.0",
12294     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12295     "groupTitle": "Fax_Queues"
12296   },
12297   {
12298     "type": "get",
12299     "url": "/ShowFaxQueue",
12300     "title": "Gets a single Queue",
12301     "name": "ShowFaxQueue",
12302     "group": "Fax_Queues",
12303     "parameter": {
12304       "fields": {
12305         "Body": [
12306           {
12307             "group": "Body",
12308             "type": "Object",
12309             "optional": true,
12310             "field": "options.attributes",
12311             "description": ""
12312           },
12313           {
12314             "group": "Body",
12315             "type": "Object",
12316             "optional": false,
12317             "field": "options.where",
12318             "description": ""
12319           }
12320         ]
12321       }
12322     },
12323     "version": "0.0.0",
12324     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/faxQueue.rpc.js",
12325     "groupTitle": "Fax_Queues"
12326   },
12327   {
12328     "type": "get",
12329     "url": "/api/fax/queues/{id}",
12330     "title": "Gets a single Queue",
12331     "examples": [
12332       {
12333         "title": "Example usage:",
12334         "content": "curl https://{domain}/api/fax/queues/{id} -v -u {name}:{password}",
12335         "type": "json"
12336       }
12337     ],
12338     "name": "ShowQueues",
12339     "group": "Fax_Queues",
12340     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12341     "version": "0.0.0",
12342     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12343     "groupTitle": "Fax_Queues"
12344   },
12345   {
12346     "type": "put",
12347     "url": "/api/fax/queues/{id}",
12348     "title": "Update an existing Queue",
12349     "examples": [
12350       {
12351         "title": "Example usage:",
12352         "content": "curl https://{domain}/api/fax/queues/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
12353         "type": "json"
12354       }
12355     ],
12356     "name": "updateQueues",
12357     "group": "Fax_Queues",
12358     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12359     "version": "0.0.0",
12360     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
12361     "groupTitle": "Fax_Queues"
12362   },
12363   {
12364     "type": "post",
12365     "url": "/api/fax/reports/transfer",
12366     "title": "Creates a new Fax Transfer Report",
12367     "examples": [
12368       {
12369         "title": "Example usage:",
12370         "content": "curl https://{domain}/api/fax/reports/transfer -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
12371         "type": "json"
12372       }
12373     ],
12374     "name": "CreateFax_Transfer_Reports",
12375     "group": "Fax_Transfer_Reports",
12376     "parameter": {
12377       "fields": {
12378         "Body": [
12379           {
12380             "group": "Body",
12381             "type": "String",
12382             "optional": false,
12383             "field": "uniqueid",
12384             "description": ""
12385           },
12386           {
12387             "group": "Body",
12388             "type": "String",
12389             "allowedValues": [
12390               "\"account\"",
12391               "\"agent\"",
12392               "\"queue\""
12393             ],
12394             "optional": false,
12395             "field": "type",
12396             "description": ""
12397           },
12398           {
12399             "group": "Body",
12400             "type": "String",
12401             "optional": false,
12402             "field": "transferredAt",
12403             "description": ""
12404           }
12405         ]
12406       }
12407     },
12408     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12409     "version": "0.0.0",
12410     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxTransferReport/index.js",
12411     "groupTitle": "Fax_Transfer_Reports"
12412   },
12413   {
12414     "type": "delete",
12415     "url": "/api/fax/reports/transfer/{id}",
12416     "title": "Deletes a Fax Transfer Report",
12417     "examples": [
12418       {
12419         "title": "Example usage:",
12420         "content": "curl https://{domain}/api/fax/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
12421         "type": "json"
12422       }
12423     ],
12424     "name": "DeleteFax_Transfer_Reports",
12425     "group": "Fax_Transfer_Reports",
12426     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12427     "version": "0.0.0",
12428     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxTransferReport/index.js",
12429     "groupTitle": "Fax_Transfer_Reports"
12430   },
12431   {
12432     "type": "get",
12433     "url": "/api/fax/reports/transfer/describe",
12434     "title": "Gets table info about Fax Transfer Reports",
12435     "examples": [
12436       {
12437         "title": "Example usage:",
12438         "content": "curl https://{domain}/api/fax/reports/transfer/describe -v -u {name}:{password}",
12439         "type": "json"
12440       }
12441     ],
12442     "name": "DescribeFax_Transfer_Reports",
12443     "group": "Fax_Transfer_Reports",
12444     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12445     "version": "0.0.0",
12446     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxTransferReport/index.js",
12447     "groupTitle": "Fax_Transfer_Reports"
12448   },
12449   {
12450     "type": "get",
12451     "url": "/api/fax/reports/transfer",
12452     "title": "Gets a list of Fax Transfer Reports",
12453     "examples": [
12454       {
12455         "title": "Example usage:",
12456         "content": "curl https://{domain}/api/fax/reports/transfer -v -u {name}:{password}",
12457         "type": "json"
12458       }
12459     ],
12460     "name": "GetFax_Transfer_Reports",
12461     "group": "Fax_Transfer_Reports",
12462     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/fax/reports/transfer?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/fax/reports/transfer?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/fax/reports/transfer?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/fax/reports/transfer?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/fax/reports/transfer?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
12463     "version": "0.0.0",
12464     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxTransferReport/index.js",
12465     "groupTitle": "Fax_Transfer_Reports"
12466   },
12467   {
12468     "type": "get",
12469     "url": "/api/fax/reports/transfer/{id}",
12470     "title": "Gets a single Fax Transfer Report",
12471     "examples": [
12472       {
12473         "title": "Example usage:",
12474         "content": "curl https://{domain}/api/fax/reports/transfer/{id} -v -u {name}:{password}",
12475         "type": "json"
12476       }
12477     ],
12478     "name": "ShowFax_Transfer_Reports",
12479     "group": "Fax_Transfer_Reports",
12480     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12481     "version": "0.0.0",
12482     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxTransferReport/index.js",
12483     "groupTitle": "Fax_Transfer_Reports"
12484   },
12485   {
12486     "type": "put",
12487     "url": "/api/fax/reports/transfer/{id}",
12488     "title": "Update an existing Fax Transfer Report",
12489     "examples": [
12490       {
12491         "title": "Example usage:",
12492         "content": "curl https://{domain}/api/fax/reports/transfer/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
12493         "type": "json"
12494       }
12495     ],
12496     "name": "updateFax_Transfer_Reports",
12497     "group": "Fax_Transfer_Reports",
12498     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12499     "version": "0.0.0",
12500     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxTransferReport/index.js",
12501     "groupTitle": "Fax_Transfer_Reports"
12502   },
12503   {
12504     "type": "post",
12505     "url": "/api/integrations/freshdesk/accounts",
12506     "title": "Creates a new Freshdesk Account",
12507     "examples": [
12508       {
12509         "title": "Example usage:",
12510         "content": "curl https://{domain}/api/integrations/freshdesk/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
12511         "type": "json"
12512       }
12513     ],
12514     "name": "CreateFreshdesk_Accounts",
12515     "group": "Freshdesk_Accounts",
12516     "parameter": {
12517       "fields": {
12518         "Body": [
12519           {
12520             "group": "Body",
12521             "type": "String",
12522             "optional": true,
12523             "field": "name",
12524             "description": ""
12525           },
12526           {
12527             "group": "Body",
12528             "type": "String",
12529             "optional": true,
12530             "field": "description",
12531             "description": ""
12532           },
12533           {
12534             "group": "Body",
12535             "type": "String",
12536             "optional": true,
12537             "field": "username",
12538             "description": ""
12539           },
12540           {
12541             "group": "Body",
12542             "type": "String",
12543             "optional": true,
12544             "field": "apiKey",
12545             "description": ""
12546           },
12547           {
12548             "group": "Body",
12549             "type": "String",
12550             "optional": true,
12551             "field": "remoteUri",
12552             "description": ""
12553           },
12554           {
12555             "group": "Body",
12556             "type": "String",
12557             "optional": true,
12558             "field": "serverUrl",
12559             "description": ""
12560           }
12561         ]
12562       }
12563     },
12564     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12565     "version": "0.0.0",
12566     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskAccount/index.js",
12567     "groupTitle": "Freshdesk_Accounts"
12568   },
12569   {
12570     "type": "delete",
12571     "url": "/api/integrations/freshdesk/accounts/{id}",
12572     "title": "Deletes a Freshdesk Account",
12573     "examples": [
12574       {
12575         "title": "Example usage:",
12576         "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id} -v -u {name}:{password} -X DELETE",
12577         "type": "json"
12578       }
12579     ],
12580     "name": "DeleteFreshdesk_Accounts",
12581     "group": "Freshdesk_Accounts",
12582     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12583     "version": "0.0.0",
12584     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskAccount/index.js",
12585     "groupTitle": "Freshdesk_Accounts"
12586   },
12587   {
12588     "type": "get",
12589     "url": "/GetFreshdeskAccount",
12590     "title": "Gets a list of Freshdesk Accounts",
12591     "name": "GetFreshdeskAccount",
12592     "group": "Freshdesk_Accounts",
12593     "parameter": {
12594       "fields": {
12595         "Body": [
12596           {
12597             "group": "Body",
12598             "type": "Object",
12599             "optional": true,
12600             "field": "options.attributes",
12601             "description": ""
12602           },
12603           {
12604             "group": "Body",
12605             "type": "Object",
12606             "optional": true,
12607             "field": "options.where",
12608             "description": ""
12609           }
12610         ]
12611       }
12612     },
12613     "version": "0.0.0",
12614     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskAccount/intFreshdeskAccount.rpc.js",
12615     "groupTitle": "Freshdesk_Accounts"
12616   },
12617   {
12618     "type": "get",
12619     "url": "/api/integrations/freshdesk/accounts",
12620     "title": "Gets a list of Freshdesk Accounts",
12621     "examples": [
12622       {
12623         "title": "Example usage:",
12624         "content": "curl https://{domain}/api/integrations/freshdesk/accounts -v -u {name}:{password}",
12625         "type": "json"
12626       }
12627     ],
12628     "name": "GetFreshdesk_Accounts",
12629     "group": "Freshdesk_Accounts",
12630     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/freshdesk/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/freshdesk/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/freshdesk/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/freshdesk/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/freshdesk/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
12631     "version": "0.0.0",
12632     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskAccount/index.js",
12633     "groupTitle": "Freshdesk_Accounts"
12634   },
12635   {
12636     "type": "get",
12637     "url": "/ShowFreshdeskAccount",
12638     "title": "Gets a single Freshdesk Account",
12639     "name": "ShowFreshdeskAccount",
12640     "group": "Freshdesk_Accounts",
12641     "parameter": {
12642       "fields": {
12643         "Body": [
12644           {
12645             "group": "Body",
12646             "type": "Object",
12647             "optional": true,
12648             "field": "options.attributes",
12649             "description": ""
12650           },
12651           {
12652             "group": "Body",
12653             "type": "Object",
12654             "optional": false,
12655             "field": "options.where",
12656             "description": ""
12657           }
12658         ]
12659       }
12660     },
12661     "version": "0.0.0",
12662     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskAccount/intFreshdeskAccount.rpc.js",
12663     "groupTitle": "Freshdesk_Accounts"
12664   },
12665   {
12666     "type": "get",
12667     "url": "/api/integrations/freshdesk/accounts/{id}",
12668     "title": "Gets a single Freshdesk Account",
12669     "examples": [
12670       {
12671         "title": "Example usage:",
12672         "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id} -v -u {name}:{password}",
12673         "type": "json"
12674       }
12675     ],
12676     "name": "ShowFreshdesk_Accounts",
12677     "group": "Freshdesk_Accounts",
12678     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12679     "version": "0.0.0",
12680     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskAccount/index.js",
12681     "groupTitle": "Freshdesk_Accounts"
12682   },
12683   {
12684     "type": "post",
12685     "url": "/api/integrations/freshdesk/accounts/{id}/configurations",
12686     "title": "Creates new configuration",
12687     "examples": [
12688       {
12689         "title": "Example usage:",
12690         "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id}/configurations -d '{\"name\": \"conf1\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
12691         "type": "json"
12692       }
12693     ],
12694     "name": "addConfiguration",
12695     "group": "Freshdesk_Accounts",
12696     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12697     "version": "0.0.0",
12698     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskAccount/index.js",
12699     "groupTitle": "Freshdesk_Accounts"
12700   },
12701   {
12702     "type": "get",
12703     "url": "/api/integrations/freshdesk/accounts/{id}/configurations",
12704     "title": "Gets account configurations",
12705     "examples": [
12706       {
12707         "title": "Example usage:",
12708         "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
12709         "type": "json"
12710       }
12711     ],
12712     "name": "getConfigurations",
12713     "group": "Freshdesk_Accounts",
12714     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12715     "version": "0.0.0",
12716     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskAccount/index.js",
12717     "groupTitle": "Freshdesk_Accounts"
12718   },
12719   {
12720     "type": "get",
12721     "url": "/api/integrations/freshdesk/accounts/{id}/fields",
12722     "title": "Gets account fields",
12723     "examples": [
12724       {
12725         "title": "Example usage:",
12726         "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id}/fields -v -u {name}:{password} -X GET",
12727         "type": "json"
12728       }
12729     ],
12730     "name": "getFields",
12731     "group": "Freshdesk_Accounts",
12732     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12733     "version": "0.0.0",
12734     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskAccount/index.js",
12735     "groupTitle": "Freshdesk_Accounts"
12736   },
12737   {
12738     "type": "put",
12739     "url": "/api/integrations/freshdesk/accounts/{id}",
12740     "title": "Update an existing Freshdesk Account",
12741     "examples": [
12742       {
12743         "title": "Example usage:",
12744         "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
12745         "type": "json"
12746       }
12747     ],
12748     "name": "updateFreshdesk_Accounts",
12749     "group": "Freshdesk_Accounts",
12750     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12751     "version": "0.0.0",
12752     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskAccount/index.js",
12753     "groupTitle": "Freshdesk_Accounts"
12754   },
12755   {
12756     "type": "post",
12757     "url": "/api/integrations/freshdesk/configurations",
12758     "title": "Creates a new Freshdesk Configuration",
12759     "examples": [
12760       {
12761         "title": "Example usage:",
12762         "content": "curl https://{domain}/api/integrations/freshdesk/configurations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
12763         "type": "json"
12764       }
12765     ],
12766     "name": "CreateFreshdesk_Configurations",
12767     "group": "Freshdesk_Configurations",
12768     "parameter": {
12769       "fields": {
12770         "Body": [
12771           {
12772             "group": "Body",
12773             "type": "String",
12774             "optional": true,
12775             "field": "name",
12776             "description": ""
12777           },
12778           {
12779             "group": "Body",
12780             "type": "String",
12781             "optional": true,
12782             "field": "description",
12783             "description": ""
12784           }
12785         ]
12786       }
12787     },
12788     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12789     "version": "0.0.0",
12790     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskConfiguration/index.js",
12791     "groupTitle": "Freshdesk_Configurations"
12792   },
12793   {
12794     "type": "delete",
12795     "url": "/api/integrations/freshdesk/configurations/{id}",
12796     "title": "Deletes a Freshdesk Configuration",
12797     "examples": [
12798       {
12799         "title": "Example usage:",
12800         "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id} -v -u {name}:{password} -X DELETE",
12801         "type": "json"
12802       }
12803     ],
12804     "name": "DeleteFreshdesk_Configurations",
12805     "group": "Freshdesk_Configurations",
12806     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12807     "version": "0.0.0",
12808     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskConfiguration/index.js",
12809     "groupTitle": "Freshdesk_Configurations"
12810   },
12811   {
12812     "type": "get",
12813     "url": "/api/integrations/freshdesk/configurations",
12814     "title": "Gets a list of Freshdesk Configurations",
12815     "examples": [
12816       {
12817         "title": "Example usage:",
12818         "content": "curl https://{domain}/api/integrations/freshdesk/configurations -v -u {name}:{password}",
12819         "type": "json"
12820       }
12821     ],
12822     "name": "GetFreshdesk_Configurations",
12823     "group": "Freshdesk_Configurations",
12824     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/freshdesk/configurations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/freshdesk/configurations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/freshdesk/configurations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/freshdesk/configurations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/freshdesk/configurations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
12825     "version": "0.0.0",
12826     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskConfiguration/index.js",
12827     "groupTitle": "Freshdesk_Configurations"
12828   },
12829   {
12830     "type": "get",
12831     "url": "/api/integrations/freshdesk/configurations/{id}",
12832     "title": "Gets a single Freshdesk Configuration",
12833     "examples": [
12834       {
12835         "title": "Example usage:",
12836         "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id} -v -u {name}:{password}",
12837         "type": "json"
12838       }
12839     ],
12840     "name": "ShowFreshdesk_Configurations",
12841     "group": "Freshdesk_Configurations",
12842     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12843     "version": "0.0.0",
12844     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskConfiguration/index.js",
12845     "groupTitle": "Freshdesk_Configurations"
12846   },
12847   {
12848     "type": "get",
12849     "url": "/api/integrations/freshdesk/configurations/{id}/descriptions",
12850     "title": "Gets configurations descriptions",
12851     "examples": [
12852       {
12853         "title": "Example usage:",
12854         "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
12855         "type": "json"
12856       }
12857     ],
12858     "name": "getDescriptions",
12859     "group": "Freshdesk_Configurations",
12860     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12861     "version": "0.0.0",
12862     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskConfiguration/index.js",
12863     "groupTitle": "Freshdesk_Configurations"
12864   },
12865   {
12866     "type": "get",
12867     "url": "/api/integrations/freshdesk/configurations/{id}/fields",
12868     "title": "Gets configurations fields",
12869     "examples": [
12870       {
12871         "title": "Example usage:",
12872         "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/fields -v -u {name}:{password} -X GET",
12873         "type": "json"
12874       }
12875     ],
12876     "name": "getFields",
12877     "group": "Freshdesk_Configurations",
12878     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12879     "version": "0.0.0",
12880     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskConfiguration/index.js",
12881     "groupTitle": "Freshdesk_Configurations"
12882   },
12883   {
12884     "type": "get",
12885     "url": "/api/integrations/freshdesk/configurations/{id}/subjects",
12886     "title": "Gets configurations subjects",
12887     "examples": [
12888       {
12889         "title": "Example usage:",
12890         "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
12891         "type": "json"
12892       }
12893     ],
12894     "name": "getSubjects",
12895     "group": "Freshdesk_Configurations",
12896     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12897     "version": "0.0.0",
12898     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskConfiguration/index.js",
12899     "groupTitle": "Freshdesk_Configurations"
12900   },
12901   {
12902     "type": "get",
12903     "url": "/api/integrations/freshdesk/configurations/{id}/tags",
12904     "title": "Gets configurations tags",
12905     "examples": [
12906       {
12907         "title": "Example usage:",
12908         "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/tags -v -u {name}:{password} -X GET",
12909         "type": "json"
12910       }
12911     ],
12912     "name": "getTags",
12913     "group": "Freshdesk_Configurations",
12914     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12915     "version": "0.0.0",
12916     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskConfiguration/index.js",
12917     "groupTitle": "Freshdesk_Configurations"
12918   },
12919   {
12920     "type": "post",
12921     "url": "/api/integrations/freshdesk/configurations/{id}/tags",
12922     "title": "Sets new tags",
12923     "examples": [
12924       {
12925         "title": "Example usage:",
12926         "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/tags -d '{\"ids\": [1,12]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
12927         "type": "json"
12928       }
12929     ],
12930     "name": "setTags",
12931     "group": "Freshdesk_Configurations",
12932     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12933     "version": "0.0.0",
12934     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskConfiguration/index.js",
12935     "groupTitle": "Freshdesk_Configurations"
12936   },
12937   {
12938     "type": "put",
12939     "url": "/api/integrations/freshdesk/configurations/{id}",
12940     "title": "Update an existing Freshdesk Configuration",
12941     "examples": [
12942       {
12943         "title": "Example usage:",
12944         "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
12945         "type": "json"
12946       }
12947     ],
12948     "name": "updateFreshdesk_Configurations",
12949     "group": "Freshdesk_Configurations",
12950     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12951     "version": "0.0.0",
12952     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskConfiguration/index.js",
12953     "groupTitle": "Freshdesk_Configurations"
12954   },
12955   {
12956     "type": "post",
12957     "url": "/api/integrations/freshdesk/fields",
12958     "title": "Creates a new Freshdesk Field",
12959     "examples": [
12960       {
12961         "title": "Example usage:",
12962         "content": "curl https://{domain}/api/integrations/freshdesk/fields -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
12963         "type": "json"
12964       }
12965     ],
12966     "name": "CreateFreshdesk_Fields",
12967     "group": "Freshdesk_Fields",
12968     "parameter": {
12969       "fields": {
12970         "Body": [
12971           {
12972             "group": "Body",
12973             "type": "String",
12974             "allowedValues": [
12975               "\"string\"",
12976               "\"variable\"",
12977               "\"customVariable\"",
12978               "\"keyValue\""
12979             ],
12980             "optional": true,
12981             "field": "type",
12982             "description": ""
12983           },
12984           {
12985             "group": "Body",
12986             "type": "String",
12987             "optional": true,
12988             "field": "content",
12989             "description": ""
12990           },
12991           {
12992             "group": "Body",
12993             "type": "String",
12994             "optional": true,
12995             "field": "key",
12996             "description": ""
12997           },
12998           {
12999             "group": "Body",
13000             "type": "String",
13001             "allowedValues": [
13002               "\"string\"",
13003               "\"variable\"",
13004               "\"customVariable\""
13005             ],
13006             "optional": true,
13007             "field": "keyType",
13008             "description": ""
13009           },
13010           {
13011             "group": "Body",
13012             "type": "String",
13013             "optional": true,
13014             "field": "keyContent",
13015             "description": ""
13016           },
13017           {
13018             "group": "Body",
13019             "type": "String",
13020             "optional": true,
13021             "field": "idField",
13022             "description": ""
13023           },
13024           {
13025             "group": "Body",
13026             "type": "String",
13027             "optional": true,
13028             "field": "nameField",
13029             "description": ""
13030           },
13031           {
13032             "group": "Body",
13033             "type": "Boolean",
13034             "optional": true,
13035             "field": "customField",
13036             "description": ""
13037           },
13038           {
13039             "group": "Body",
13040             "type": "String",
13041             "optional": true,
13042             "field": "variableName",
13043             "description": ""
13044           }
13045         ]
13046       }
13047     },
13048     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13049     "version": "0.0.0",
13050     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskField/index.js",
13051     "groupTitle": "Freshdesk_Fields"
13052   },
13053   {
13054     "type": "delete",
13055     "url": "/api/integrations/freshdesk/fields/{id}",
13056     "title": "Deletes a Freshdesk Field",
13057     "examples": [
13058       {
13059         "title": "Example usage:",
13060         "content": "curl https://{domain}/api/integrations/freshdesk/fields/{id} -v -u {name}:{password} -X DELETE",
13061         "type": "json"
13062       }
13063     ],
13064     "name": "DeleteFreshdesk_Fields",
13065     "group": "Freshdesk_Fields",
13066     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13067     "version": "0.0.0",
13068     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskField/index.js",
13069     "groupTitle": "Freshdesk_Fields"
13070   },
13071   {
13072     "type": "get",
13073     "url": "/api/integrations/freshdesk/fields",
13074     "title": "Gets a list of Freshdesk Fields",
13075     "examples": [
13076       {
13077         "title": "Example usage:",
13078         "content": "curl https://{domain}/api/integrations/freshdesk/fields -v -u {name}:{password}",
13079         "type": "json"
13080       }
13081     ],
13082     "name": "GetFreshdesk_Fields",
13083     "group": "Freshdesk_Fields",
13084     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/freshdesk/fields?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/freshdesk/fields?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/freshdesk/fields?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/freshdesk/fields?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/freshdesk/fields?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
13085     "version": "0.0.0",
13086     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskField/index.js",
13087     "groupTitle": "Freshdesk_Fields"
13088   },
13089   {
13090     "type": "get",
13091     "url": "/api/integrations/freshdesk/fields/{id}",
13092     "title": "Gets a single Freshdesk Field",
13093     "examples": [
13094       {
13095         "title": "Example usage:",
13096         "content": "curl https://{domain}/api/integrations/freshdesk/fields/{id} -v -u {name}:{password}",
13097         "type": "json"
13098       }
13099     ],
13100     "name": "ShowFreshdesk_Fields",
13101     "group": "Freshdesk_Fields",
13102     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13103     "version": "0.0.0",
13104     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskField/index.js",
13105     "groupTitle": "Freshdesk_Fields"
13106   },
13107   {
13108     "type": "put",
13109     "url": "/api/integrations/freshdesk/fields/{id}",
13110     "title": "Update an existing Freshdesk Field",
13111     "examples": [
13112       {
13113         "title": "Example usage:",
13114         "content": "curl https://{domain}/api/integrations/freshdesk/fields/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
13115         "type": "json"
13116       }
13117     ],
13118     "name": "updateFreshdesk_Fields",
13119     "group": "Freshdesk_Fields",
13120     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13121     "version": "0.0.0",
13122     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshdeskField/index.js",
13123     "groupTitle": "Freshdesk_Fields"
13124   },
13125   {
13126     "type": "post",
13127     "url": "/api/integrations/freshsales/accounts",
13128     "title": "Creates a new Freshsales Account",
13129     "examples": [
13130       {
13131         "title": "Example usage:",
13132         "content": "curl https://{domain}/api/integrations/freshsales/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13133         "type": "json"
13134       }
13135     ],
13136     "name": "CreateFreshsales_Accounts",
13137     "group": "Freshsales_Accounts",
13138     "parameter": {
13139       "fields": {
13140         "Body": [
13141           {
13142             "group": "Body",
13143             "type": "String",
13144             "optional": true,
13145             "field": "name",
13146             "description": ""
13147           },
13148           {
13149             "group": "Body",
13150             "type": "String",
13151             "optional": true,
13152             "field": "description",
13153             "description": ""
13154           },
13155           {
13156             "group": "Body",
13157             "type": "String",
13158             "optional": true,
13159             "field": "username",
13160             "description": ""
13161           },
13162           {
13163             "group": "Body",
13164             "type": "String",
13165             "optional": true,
13166             "field": "apiKey",
13167             "description": ""
13168           },
13169           {
13170             "group": "Body",
13171             "type": "String",
13172             "optional": true,
13173             "field": "remoteUri",
13174             "description": ""
13175           },
13176           {
13177             "group": "Body",
13178             "type": "String",
13179             "optional": true,
13180             "field": "serverUrl",
13181             "description": ""
13182           }
13183         ]
13184       }
13185     },
13186     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13187     "version": "0.0.0",
13188     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesAccount/index.js",
13189     "groupTitle": "Freshsales_Accounts"
13190   },
13191   {
13192     "type": "delete",
13193     "url": "/api/integrations/freshsales/accounts/{id}",
13194     "title": "Deletes a Freshsales Account",
13195     "examples": [
13196       {
13197         "title": "Example usage:",
13198         "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id} -v -u {name}:{password} -X DELETE",
13199         "type": "json"
13200       }
13201     ],
13202     "name": "DeleteFreshsales_Accounts",
13203     "group": "Freshsales_Accounts",
13204     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13205     "version": "0.0.0",
13206     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesAccount/index.js",
13207     "groupTitle": "Freshsales_Accounts"
13208   },
13209   {
13210     "type": "get",
13211     "url": "/GetFreshsalesAccount",
13212     "title": "Gets a list of Freshsales Accounts",
13213     "name": "GetFreshsalesAccount",
13214     "group": "Freshsales_Accounts",
13215     "parameter": {
13216       "fields": {
13217         "Body": [
13218           {
13219             "group": "Body",
13220             "type": "Object",
13221             "optional": true,
13222             "field": "options.attributes",
13223             "description": ""
13224           },
13225           {
13226             "group": "Body",
13227             "type": "Object",
13228             "optional": true,
13229             "field": "options.where",
13230             "description": ""
13231           }
13232         ]
13233       }
13234     },
13235     "version": "0.0.0",
13236     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesAccount/intFreshsalesAccount.rpc.js",
13237     "groupTitle": "Freshsales_Accounts"
13238   },
13239   {
13240     "type": "get",
13241     "url": "/api/integrations/freshsales/accounts",
13242     "title": "Gets a list of Freshsales Accounts",
13243     "examples": [
13244       {
13245         "title": "Example usage:",
13246         "content": "curl https://{domain}/api/integrations/freshsales/accounts -v -u {name}:{password}",
13247         "type": "json"
13248       }
13249     ],
13250     "name": "GetFreshsales_Accounts",
13251     "group": "Freshsales_Accounts",
13252     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/freshsales/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/freshsales/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/freshsales/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/freshsales/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/freshsales/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
13253     "version": "0.0.0",
13254     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesAccount/index.js",
13255     "groupTitle": "Freshsales_Accounts"
13256   },
13257   {
13258     "type": "get",
13259     "url": "/ShowFreshsalesAccount",
13260     "title": "Gets a single Freshsales Account",
13261     "name": "ShowFreshsalesAccount",
13262     "group": "Freshsales_Accounts",
13263     "parameter": {
13264       "fields": {
13265         "Body": [
13266           {
13267             "group": "Body",
13268             "type": "Object",
13269             "optional": true,
13270             "field": "options.attributes",
13271             "description": ""
13272           },
13273           {
13274             "group": "Body",
13275             "type": "Object",
13276             "optional": false,
13277             "field": "options.where",
13278             "description": ""
13279           }
13280         ]
13281       }
13282     },
13283     "version": "0.0.0",
13284     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesAccount/intFreshsalesAccount.rpc.js",
13285     "groupTitle": "Freshsales_Accounts"
13286   },
13287   {
13288     "type": "get",
13289     "url": "/api/integrations/freshsales/accounts/{id}",
13290     "title": "Gets a single Freshsales Account",
13291     "examples": [
13292       {
13293         "title": "Example usage:",
13294         "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id} -v -u {name}:{password}",
13295         "type": "json"
13296       }
13297     ],
13298     "name": "ShowFreshsales_Accounts",
13299     "group": "Freshsales_Accounts",
13300     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13301     "version": "0.0.0",
13302     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesAccount/index.js",
13303     "groupTitle": "Freshsales_Accounts"
13304   },
13305   {
13306     "type": "post",
13307     "url": "/api/integrations/freshsales/accounts/{id}/configurations",
13308     "title": "Creates new configuration",
13309     "examples": [
13310       {
13311         "title": "Example usage:",
13312         "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id}/configurations -d '{\"name\": \"conf1\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
13313         "type": "json"
13314       }
13315     ],
13316     "name": "addConfiguration",
13317     "group": "Freshsales_Accounts",
13318     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13319     "version": "0.0.0",
13320     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesAccount/index.js",
13321     "groupTitle": "Freshsales_Accounts"
13322   },
13323   {
13324     "type": "get",
13325     "url": "/api/integrations/freshsales/accounts/{id}/configurations",
13326     "title": "Gets account configurations",
13327     "examples": [
13328       {
13329         "title": "Example usage:",
13330         "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id}/configurations -v -u {name}:{password} -X GET",
13331         "type": "json"
13332       }
13333     ],
13334     "name": "getConfigurations",
13335     "group": "Freshsales_Accounts",
13336     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13337     "version": "0.0.0",
13338     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesAccount/index.js",
13339     "groupTitle": "Freshsales_Accounts"
13340   },
13341   {
13342     "type": "get",
13343     "url": "/api/integrations/freshsales/accounts/{id}/fields",
13344     "title": "Gets account fields",
13345     "examples": [
13346       {
13347         "title": "Example usage:",
13348         "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id}/fields -v -u {name}:{password} -X GET",
13349         "type": "json"
13350       }
13351     ],
13352     "name": "getFields",
13353     "group": "Freshsales_Accounts",
13354     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13355     "version": "0.0.0",
13356     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesAccount/index.js",
13357     "groupTitle": "Freshsales_Accounts"
13358   },
13359   {
13360     "type": "put",
13361     "url": "/api/integrations/freshsales/accounts/{id}",
13362     "title": "Update an existing Freshsales Account",
13363     "examples": [
13364       {
13365         "title": "Example usage:",
13366         "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
13367         "type": "json"
13368       }
13369     ],
13370     "name": "updateFreshsales_Accounts",
13371     "group": "Freshsales_Accounts",
13372     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13373     "version": "0.0.0",
13374     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesAccount/index.js",
13375     "groupTitle": "Freshsales_Accounts"
13376   },
13377   {
13378     "type": "post",
13379     "url": "/api/integrations/freshsales/configurations",
13380     "title": "Creates a new Freshsales Configuration",
13381     "examples": [
13382       {
13383         "title": "Example usage:",
13384         "content": "curl https://{domain}/api/integrations/freshsales/configurations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13385         "type": "json"
13386       }
13387     ],
13388     "name": "CreateFreshsales_Configurations",
13389     "group": "Freshsales_Configurations",
13390     "parameter": {
13391       "fields": {
13392         "Body": [
13393           {
13394             "group": "Body",
13395             "type": "String",
13396             "optional": true,
13397             "field": "name",
13398             "description": ""
13399           },
13400           {
13401             "group": "Body",
13402             "type": "String",
13403             "optional": true,
13404             "field": "description",
13405             "description": ""
13406           }
13407         ]
13408       }
13409     },
13410     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13411     "version": "0.0.0",
13412     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesConfiguration/index.js",
13413     "groupTitle": "Freshsales_Configurations"
13414   },
13415   {
13416     "type": "delete",
13417     "url": "/api/integrations/freshsales/configurations/{id}",
13418     "title": "Deletes a Freshsales Configuration",
13419     "examples": [
13420       {
13421         "title": "Example usage:",
13422         "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id} -v -u {name}:{password} -X DELETE",
13423         "type": "json"
13424       }
13425     ],
13426     "name": "DeleteFreshsales_Configurations",
13427     "group": "Freshsales_Configurations",
13428     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13429     "version": "0.0.0",
13430     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesConfiguration/index.js",
13431     "groupTitle": "Freshsales_Configurations"
13432   },
13433   {
13434     "type": "get",
13435     "url": "/api/integrations/freshsales/configurations",
13436     "title": "Gets a list of Freshsales Configurations",
13437     "examples": [
13438       {
13439         "title": "Example usage:",
13440         "content": "curl https://{domain}/api/integrations/freshsales/configurations -v -u {name}:{password}",
13441         "type": "json"
13442       }
13443     ],
13444     "name": "GetFreshsales_Configurations",
13445     "group": "Freshsales_Configurations",
13446     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/freshsales/configurations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/freshsales/configurations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/freshsales/configurations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/freshsales/configurations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/freshsales/configurations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
13447     "version": "0.0.0",
13448     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesConfiguration/index.js",
13449     "groupTitle": "Freshsales_Configurations"
13450   },
13451   {
13452     "type": "get",
13453     "url": "/api/integrations/freshsales/configurations/{id}",
13454     "title": "Gets a single Freshsales Configuration",
13455     "examples": [
13456       {
13457         "title": "Example usage:",
13458         "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id} -v -u {name}:{password}",
13459         "type": "json"
13460       }
13461     ],
13462     "name": "ShowFreshsales_Configurations",
13463     "group": "Freshsales_Configurations",
13464     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13465     "version": "0.0.0",
13466     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesConfiguration/index.js",
13467     "groupTitle": "Freshsales_Configurations"
13468   },
13469   {
13470     "type": "get",
13471     "url": "/api/integrations/freshsales/configurations/{id}/descriptions",
13472     "title": "Gets configurations descriptions",
13473     "examples": [
13474       {
13475         "title": "Example usage:",
13476         "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
13477         "type": "json"
13478       }
13479     ],
13480     "name": "getDescriptions",
13481     "group": "Freshsales_Configurations",
13482     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13483     "version": "0.0.0",
13484     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesConfiguration/index.js",
13485     "groupTitle": "Freshsales_Configurations"
13486   },
13487   {
13488     "type": "get",
13489     "url": "/api/integrations/freshsales/configurations/{id}/fields",
13490     "title": "Gets configurations fields",
13491     "examples": [
13492       {
13493         "title": "Example usage:",
13494         "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/fields -v -u {name}:{password} -X GET",
13495         "type": "json"
13496       }
13497     ],
13498     "name": "getFields",
13499     "group": "Freshsales_Configurations",
13500     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13501     "version": "0.0.0",
13502     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesConfiguration/index.js",
13503     "groupTitle": "Freshsales_Configurations"
13504   },
13505   {
13506     "type": "get",
13507     "url": "/api/integrations/freshsales/configurations/{id}/subjects",
13508     "title": "Gets configurations subjects",
13509     "examples": [
13510       {
13511         "title": "Example usage:",
13512         "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/subjects -v -u {name}:{password} -X GET",
13513         "type": "json"
13514       }
13515     ],
13516     "name": "getSubjects",
13517     "group": "Freshsales_Configurations",
13518     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13519     "version": "0.0.0",
13520     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesConfiguration/index.js",
13521     "groupTitle": "Freshsales_Configurations"
13522   },
13523   {
13524     "type": "put",
13525     "url": "/api/integrations/freshsales/configurations/{id}",
13526     "title": "Update an existing Freshsales Configuration",
13527     "examples": [
13528       {
13529         "title": "Example usage:",
13530         "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
13531         "type": "json"
13532       }
13533     ],
13534     "name": "updateFreshsales_Configurations",
13535     "group": "Freshsales_Configurations",
13536     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13537     "version": "0.0.0",
13538     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesConfiguration/index.js",
13539     "groupTitle": "Freshsales_Configurations"
13540   },
13541   {
13542     "type": "post",
13543     "url": "/api/integrations/freshsales/fields",
13544     "title": "Creates a new Freshsales Field",
13545     "examples": [
13546       {
13547         "title": "Example usage:",
13548         "content": "curl https://{domain}/api/integrations/freshsales/fields -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13549         "type": "json"
13550       }
13551     ],
13552     "name": "CreateFreshsales_Fields",
13553     "group": "Freshsales_Fields",
13554     "parameter": {
13555       "fields": {
13556         "Body": [
13557           {
13558             "group": "Body",
13559             "type": "String",
13560             "allowedValues": [
13561               "\"string\"",
13562               "\"variable\"",
13563               "\"customVariable\"",
13564               "\"keyValue\""
13565             ],
13566             "optional": true,
13567             "field": "type",
13568             "description": ""
13569           },
13570           {
13571             "group": "Body",
13572             "type": "String",
13573             "optional": true,
13574             "field": "content",
13575             "description": ""
13576           },
13577           {
13578             "group": "Body",
13579             "type": "String",
13580             "optional": true,
13581             "field": "key",
13582             "description": ""
13583           },
13584           {
13585             "group": "Body",
13586             "type": "String",
13587             "allowedValues": [
13588               "\"string\"",
13589               "\"variable\"",
13590               "\"customVariable\""
13591             ],
13592             "optional": true,
13593             "field": "keyType",
13594             "description": ""
13595           },
13596           {
13597             "group": "Body",
13598             "type": "String",
13599             "optional": true,
13600             "field": "keyContent",
13601             "description": ""
13602           },
13603           {
13604             "group": "Body",
13605             "type": "String",
13606             "optional": true,
13607             "field": "idField",
13608             "description": ""
13609           },
13610           {
13611             "group": "Body",
13612             "type": "String",
13613             "optional": true,
13614             "field": "nameField",
13615             "description": ""
13616           },
13617           {
13618             "group": "Body",
13619             "type": "Boolean",
13620             "optional": true,
13621             "field": "customField",
13622             "description": ""
13623           },
13624           {
13625             "group": "Body",
13626             "type": "String",
13627             "optional": true,
13628             "field": "variableName",
13629             "description": ""
13630           }
13631         ]
13632       }
13633     },
13634     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13635     "version": "0.0.0",
13636     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesField/index.js",
13637     "groupTitle": "Freshsales_Fields"
13638   },
13639   {
13640     "type": "delete",
13641     "url": "/api/integrations/freshsales/fields/{id}",
13642     "title": "Deletes a Freshsales Field",
13643     "examples": [
13644       {
13645         "title": "Example usage:",
13646         "content": "curl https://{domain}/api/integrations/freshsales/fields/{id} -v -u {name}:{password} -X DELETE",
13647         "type": "json"
13648       }
13649     ],
13650     "name": "DeleteFreshsales_Fields",
13651     "group": "Freshsales_Fields",
13652     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13653     "version": "0.0.0",
13654     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesField/index.js",
13655     "groupTitle": "Freshsales_Fields"
13656   },
13657   {
13658     "type": "get",
13659     "url": "/api/integrations/freshsales/fields",
13660     "title": "Gets a list of Freshsales Fields",
13661     "examples": [
13662       {
13663         "title": "Example usage:",
13664         "content": "curl https://{domain}/api/integrations/freshsales/fields -v -u {name}:{password}",
13665         "type": "json"
13666       }
13667     ],
13668     "name": "GetFreshsales_Fields",
13669     "group": "Freshsales_Fields",
13670     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/freshsales/fields?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/freshsales/fields?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/freshsales/fields?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/freshsales/fields?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/freshsales/fields?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
13671     "version": "0.0.0",
13672     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesField/index.js",
13673     "groupTitle": "Freshsales_Fields"
13674   },
13675   {
13676     "type": "get",
13677     "url": "/api/integrations/freshsales/fields/{id}",
13678     "title": "Gets a single Freshsales Field",
13679     "examples": [
13680       {
13681         "title": "Example usage:",
13682         "content": "curl https://{domain}/api/integrations/freshsales/fields/{id} -v -u {name}:{password}",
13683         "type": "json"
13684       }
13685     ],
13686     "name": "ShowFreshsales_Fields",
13687     "group": "Freshsales_Fields",
13688     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13689     "version": "0.0.0",
13690     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesField/index.js",
13691     "groupTitle": "Freshsales_Fields"
13692   },
13693   {
13694     "type": "put",
13695     "url": "/api/integrations/freshsales/fields/{id}",
13696     "title": "Update an existing Freshsales Field",
13697     "examples": [
13698       {
13699         "title": "Example usage:",
13700         "content": "curl https://{domain}/api/integrations/freshsales/fields/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
13701         "type": "json"
13702       }
13703     ],
13704     "name": "updateFreshsales_Fields",
13705     "group": "Freshsales_Fields",
13706     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13707     "version": "0.0.0",
13708     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intFreshsalesField/index.js",
13709     "groupTitle": "Freshsales_Fields"
13710   },
13711   {
13712     "type": "post",
13713     "url": "/api/campaigns/{id}/blacklists",
13714     "title": "Add blacklists to an IVR campaign",
13715     "examples": [
13716       {
13717         "title": "Example usage:",
13718         "content": "curl https://{domain}/api/campaigns/{id}/blacklists -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
13719         "type": "json"
13720       }
13721     ],
13722     "name": "AddBlackLists",
13723     "group": "IVR_Campaigns",
13724     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13725     "version": "0.0.0",
13726     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
13727     "groupTitle": "IVR_Campaigns"
13728   },
13729   {
13730     "type": "post",
13731     "url": "/api/campaigns/{id}/lists",
13732     "title": "Add lists to an IVR campaign",
13733     "examples": [
13734       {
13735         "title": "Example usage:",
13736         "content": "curl https://{domain}/api/campaigns/{id}/lists -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
13737         "type": "json"
13738       }
13739     ],
13740     "name": "AddLists",
13741     "group": "IVR_Campaigns",
13742     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13743     "version": "0.0.0",
13744     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
13745     "groupTitle": "IVR_Campaigns"
13746   },
13747   {
13748     "type": "post",
13749     "url": "/api/campaigns/clone",
13750     "title": "Clone an existing IVR Campaign",
13751     "examples": [
13752       {
13753         "title": "Example usage:",
13754         "content": "curl https://{domain}/api/campaigns/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13755         "type": "json"
13756       }
13757     ],
13758     "name": "CloneIVR_Campaigns",
13759     "group": "IVR_Campaigns",
13760     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13761     "version": "0.0.0",
13762     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
13763     "groupTitle": "IVR_Campaigns"
13764   },
13765   {
13766     "type": "post",
13767     "url": "/api/campaigns",
13768     "title": "Creates a new IVR Campaign",
13769     "examples": [
13770       {
13771         "title": "Example usage:",
13772         "content": "curl https://{domain}/api/campaigns -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13773         "type": "json"
13774       }
13775     ],
13776     "name": "CreateIVR_Campaigns",
13777     "group": "IVR_Campaigns",
13778     "parameter": {
13779       "fields": {
13780         "Body": [
13781           {
13782             "group": "Body",
13783             "type": "String",
13784             "optional": false,
13785             "field": "name",
13786             "description": ""
13787           },
13788           {
13789             "group": "Body",
13790             "type": "String",
13791             "allowedValues": [
13792               "\"ivr\""
13793             ],
13794             "optional": false,
13795             "field": "type",
13796             "description": ""
13797           },
13798           {
13799             "group": "Body",
13800             "type": "String",
13801             "optional": true,
13802             "field": "description",
13803             "description": ""
13804           },
13805           {
13806             "group": "Body",
13807             "type": "Boolean",
13808             "optional": true,
13809             "field": "active",
13810             "description": "<p>Active/Disactive Campaign</p>"
13811           },
13812           {
13813             "group": "Body",
13814             "type": "Integer",
13815             "optional": true,
13816             "field": "limitCalls",
13817             "description": "<p>Max 200 calls.</p>"
13818           },
13819           {
13820             "group": "Body",
13821             "type": "String",
13822             "optional": true,
13823             "field": "dialOriginateCallerIdName",
13824             "description": ""
13825           },
13826           {
13827             "group": "Body",
13828             "type": "String",
13829             "optional": true,
13830             "field": "dialOriginateCallerIdNumber",
13831             "description": ""
13832           },
13833           {
13834             "group": "Body",
13835             "type": "Integer",
13836             "optional": true,
13837             "field": "dialOriginateTimeout",
13838             "description": "<p>Originate Timeout Seconds (min:1, max:999)</p>"
13839           },
13840           {
13841             "group": "Body",
13842             "type": "Integer",
13843             "optional": true,
13844             "field": "dialCongestionMaxRetry",
13845             "description": "<p>#Congestion Retry (min:1, max:999)</p>"
13846           },
13847           {
13848             "group": "Body",
13849             "type": "Integer",
13850             "optional": true,
13851             "field": "dialCongestionRetryFrequency",
13852             "description": "<p>Congestion Retry Frequency Minutes (min:1, max:99999)</p>"
13853           },
13854           {
13855             "group": "Body",
13856             "type": "Integer",
13857             "optional": true,
13858             "field": "dialBusyMaxRetry",
13859             "description": "<p>#Busy Retry (min:1, max:999)</p>"
13860           },
13861           {
13862             "group": "Body",
13863             "type": "Integer",
13864             "optional": true,
13865             "field": "dialBusyRetryFrequency",
13866             "description": "<p>Busy Retry Frequency Minutes (min:1, max:99999)</p>"
13867           },
13868           {
13869             "group": "Body",
13870             "type": "Integer",
13871             "optional": true,
13872             "field": "dialNoAnswerMaxRetry",
13873             "description": "<p>#NoAnswer Retry (min:1, max:999)</p>"
13874           },
13875           {
13876             "group": "Body",
13877             "type": "Integer",
13878             "optional": true,
13879             "field": "dialNoAnswerRetryFrequency",
13880             "description": "<p>NoAnswer Retry Frequency Minutes (min:1, max:99999)</p>"
13881           },
13882           {
13883             "group": "Body",
13884             "type": "Integer",
13885             "optional": true,
13886             "field": "dialGlobalMaxRetry",
13887             "description": "<p>#Global Max Retry (min:1, max:999)</p>"
13888           },
13889           {
13890             "group": "Body",
13891             "type": "String",
13892             "optional": true,
13893             "field": "dialTimezone",
13894             "description": ""
13895           },
13896           {
13897             "group": "Body",
13898             "type": "String",
13899             "optional": true,
13900             "field": "dialGlobalInterval",
13901             "description": ""
13902           },
13903           {
13904             "group": "Body",
13905             "type": "String",
13906             "allowedValues": [
13907               "\"always\"",
13908               "\"never\"",
13909               "\"onlyIfOpen\""
13910             ],
13911             "optional": true,
13912             "field": "dialCheckDuplicateType",
13913             "description": ""
13914           },
13915           {
13916             "group": "Body",
13917             "type": "Boolean",
13918             "optional": true,
13919             "field": "dialAMDActive",
13920             "description": "<p>Active/Disactive AMD</p>"
13921           },
13922           {
13923             "group": "Body",
13924             "type": "Integer",
13925             "optional": true,
13926             "field": "dialAMDInitialSilence",
13927             "description": "<p>#AMD Initial Silence</p>"
13928           },
13929           {
13930             "group": "Body",
13931             "type": "Integer",
13932             "optional": true,
13933             "field": "dialAMDGreeting",
13934             "description": "<p>#AMD Greeting</p>"
13935           },
13936           {
13937             "group": "Body",
13938             "type": "Integer",
13939             "optional": true,
13940             "field": "dialAMDAfterGreetingSilence",
13941             "description": "<p>#AMD After Greeting Silence</p>"
13942           },
13943           {
13944             "group": "Body",
13945             "type": "Integer",
13946             "optional": true,
13947             "field": "dialAMDTotalAnalysisTime",
13948             "description": "<p>#AMD Total Analysis Time</p>"
13949           },
13950           {
13951             "group": "Body",
13952             "type": "Integer",
13953             "optional": true,
13954             "field": "dialAMDMinWordLength",
13955             "description": "<p>#AMD Min Word Length</p>"
13956           },
13957           {
13958             "group": "Body",
13959             "type": "Integer",
13960             "optional": true,
13961             "field": "dialAMDBetweenWordsSilence",
13962             "description": "<p>#AMD Between Words Silence</p>"
13963           },
13964           {
13965             "group": "Body",
13966             "type": "Integer",
13967             "optional": true,
13968             "field": "dialAMDMaximumNumberOfWords",
13969             "description": "<p>#AMD Maximum Number Of Words</p>"
13970           },
13971           {
13972             "group": "Body",
13973             "type": "Integer",
13974             "optional": true,
13975             "field": "dialAMDSilenceThreshold",
13976             "description": "<p>#AMD Silence Threshold (min:0, max:32767)</p>"
13977           },
13978           {
13979             "group": "Body",
13980             "type": "Integer",
13981             "optional": true,
13982             "field": "dialAMDMaximumWordLength",
13983             "description": "<p>#AMD Maximum Word Length</p>"
13984           },
13985           {
13986             "group": "Body",
13987             "type": "String",
13988             "allowedValues": [
13989               "\"DESC\"",
13990               "\"ASC\""
13991             ],
13992             "optional": true,
13993             "field": "dialOrderByScheduledAt",
13994             "description": ""
13995           },
13996           {
13997             "group": "Body",
13998             "type": "String",
13999             "optional": true,
14000             "field": "dialPrefix",
14001             "description": ""
14002           },
14003           {
14004             "group": "Body",
14005             "type": "Integer",
14006             "optional": true,
14007             "field": "dialRandomLastDigitCallerIdNumber",
14008             "description": "<p>Random Last Digit (min:1, max:15)</p>"
14009           },
14010           {
14011             "group": "Body",
14012             "type": "Integer",
14013             "optional": true,
14014             "field": "dialCutDigit",
14015             "description": "<p>Cut Digit (min:1, max:15)</p>"
14016           },
14017           {
14018             "group": "Body",
14019             "type": "Integer",
14020             "optional": true,
14021             "field": "dialNoSuchNumberMaxRetry",
14022             "description": "<p>#NoSuchNumber Retry (min:1, max:999)</p>"
14023           },
14024           {
14025             "group": "Body",
14026             "type": "Integer",
14027             "optional": true,
14028             "field": "dialNoSuchNumberRetryFrequency",
14029             "description": "<p>NoSuchNumber Retry Frequency Minutes (min:1, max:99999)</p>"
14030           },
14031           {
14032             "group": "Body",
14033             "type": "Integer",
14034             "optional": true,
14035             "field": "dialDropMaxRetry",
14036             "description": "<p>#Drop Retry (min:1, max:999)</p>"
14037           },
14038           {
14039             "group": "Body",
14040             "type": "Integer",
14041             "optional": true,
14042             "field": "dialDropRetryFrequency",
14043             "description": "<p>Drop Retry Frequency Minutes (min:1, max:99999)</p>"
14044           },
14045           {
14046             "group": "Body",
14047             "type": "Integer",
14048             "optional": true,
14049             "field": "dialAbandonedMaxRetry",
14050             "description": "<p>#Abandoned Retry (min:1, max:999)</p>"
14051           },
14052           {
14053             "group": "Body",
14054             "type": "Integer",
14055             "optional": true,
14056             "field": "dialAbandonedRetryFrequency",
14057             "description": "<p>Abandoned Retry Frequency Minutes (min:1, max:99999)</p>"
14058           },
14059           {
14060             "group": "Body",
14061             "type": "Integer",
14062             "optional": true,
14063             "field": "dialMachineMaxRetry",
14064             "description": "<p>#Machine Retry (min:1, max:999)</p>"
14065           },
14066           {
14067             "group": "Body",
14068             "type": "Integer",
14069             "optional": true,
14070             "field": "dialMachineRetryFrequency",
14071             "description": "<p>Machine Retry Frequency Minutes (min:1, max:99999)</p>"
14072           },
14073           {
14074             "group": "Body",
14075             "type": "Integer",
14076             "optional": true,
14077             "field": "dialAgentRejectMaxRetry",
14078             "description": "<p>#AgentReject Retry (min:1, max:999)</p>"
14079           },
14080           {
14081             "group": "Body",
14082             "type": "Integer",
14083             "optional": true,
14084             "field": "dialAgentRejectRetryFrequency",
14085             "description": "<p>AgentReject Retry Frequency Minutes (min:1, max:99999)</p>"
14086           }
14087         ]
14088       }
14089     },
14090     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14091     "version": "0.0.0",
14092     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14093     "groupTitle": "IVR_Campaigns"
14094   },
14095   {
14096     "type": "delete",
14097     "url": "/api/campaigns/{id}",
14098     "title": "Deletes a IVR Campaign",
14099     "examples": [
14100       {
14101         "title": "Example usage:",
14102         "content": "curl https://{domain}/api/campaigns/{id} -v -u {name}:{password} -X DELETE",
14103         "type": "json"
14104       }
14105     ],
14106     "name": "DeleteIVR_Campaigns",
14107     "group": "IVR_Campaigns",
14108     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14109     "version": "0.0.0",
14110     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14111     "groupTitle": "IVR_Campaigns"
14112   },
14113   {
14114     "type": "get",
14115     "url": "/api/campaigns/{id}/blacklists",
14116     "title": "Get IVR campaign blacklists",
14117     "examples": [
14118       {
14119         "title": "Example usage:",
14120         "content": "curl https://{domain}/api/campaigns/{id}/blacklists -v -u {name}:{password} -X GET",
14121         "type": "json"
14122       }
14123     ],
14124     "name": "GetBlackLists",
14125     "group": "IVR_Campaigns",
14126     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14127     "version": "0.0.0",
14128     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14129     "groupTitle": "IVR_Campaigns"
14130   },
14131   {
14132     "type": "get",
14133     "url": "/GetCampaign",
14134     "title": "Gets a list of IVR Campaigns",
14135     "name": "GetCampaign",
14136     "group": "IVR_Campaigns",
14137     "parameter": {
14138       "fields": {
14139         "Body": [
14140           {
14141             "group": "Body",
14142             "type": "Object",
14143             "optional": true,
14144             "field": "options.attributes",
14145             "description": ""
14146           },
14147           {
14148             "group": "Body",
14149             "type": "Object",
14150             "optional": true,
14151             "field": "options.where",
14152             "description": ""
14153           }
14154         ]
14155       }
14156     },
14157     "version": "0.0.0",
14158     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/campaign.rpc.js",
14159     "groupTitle": "IVR_Campaigns"
14160   },
14161   {
14162     "type": "get",
14163     "url": "/api/campaigns/{id}/finals",
14164     "title": "Gets IVR campaign hopper finals",
14165     "examples": [
14166       {
14167         "title": "Example usage:",
14168         "content": "curl https://{domain}/api/campaigns/{id}/hopper_finals -v -u {name}:{password}  -X GET",
14169         "type": "json"
14170       }
14171     ],
14172     "name": "GetHopperFinals",
14173     "group": "IVR_Campaigns",
14174     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14175     "version": "0.0.0",
14176     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14177     "groupTitle": "IVR_Campaigns"
14178   },
14179   {
14180     "type": "get",
14181     "url": "/api/campaigns/{id}/hopper_histories",
14182     "title": "Gets IVR campaign hopper histories",
14183     "examples": [
14184       {
14185         "title": "Example usage:",
14186         "content": "curl https://{domain}/api/campaigns/{id}/hopper_histories -v -u {name}:{password} -X GET",
14187         "type": "json"
14188       }
14189     ],
14190     "name": "GetHopperHistories",
14191     "group": "IVR_Campaigns",
14192     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14193     "version": "0.0.0",
14194     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14195     "groupTitle": "IVR_Campaigns"
14196   },
14197   {
14198     "type": "get",
14199     "url": "/api/campaigns/{id}/hoppers",
14200     "title": "Gets IVR campaign hoppers",
14201     "examples": [
14202       {
14203         "title": "Example usage:",
14204         "content": "curl https://{domain}/api/campaigns/{id}/hoppers -v -u {name}:{password} -X GET",
14205         "type": "json"
14206       }
14207     ],
14208     "name": "GetHoppers",
14209     "group": "IVR_Campaigns",
14210     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14211     "version": "0.0.0",
14212     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14213     "groupTitle": "IVR_Campaigns"
14214   },
14215   {
14216     "type": "get",
14217     "url": "/api/campaigns",
14218     "title": "Gets a list of IVR Campaigns",
14219     "examples": [
14220       {
14221         "title": "Example usage:",
14222         "content": "curl https://{domain}/api/campaigns -v -u {name}:{password}",
14223         "type": "json"
14224       }
14225     ],
14226     "name": "GetIVR_Campaigns",
14227     "group": "IVR_Campaigns",
14228     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/campaigns?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/campaigns?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/campaigns?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/campaigns?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/campaigns?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
14229     "version": "0.0.0",
14230     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14231     "groupTitle": "IVR_Campaigns"
14232   },
14233   {
14234     "type": "get",
14235     "url": "/api/campaigns/{id}/lists",
14236     "title": "Get IVR campaign lists",
14237     "examples": [
14238       {
14239         "title": "Example usage:",
14240         "content": "curl https://{domain}/api/campaigns/{id}/lists -v -u {name}:{password} -X GET",
14241         "type": "json"
14242       }
14243     ],
14244     "name": "GetLists",
14245     "group": "IVR_Campaigns",
14246     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14247     "version": "0.0.0",
14248     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14249     "groupTitle": "IVR_Campaigns"
14250   },
14251   {
14252     "type": "delete",
14253     "url": "/api/campaigns/{id}/blacklists",
14254     "title": "Remove blacklists from an IVR Campaign",
14255     "examples": [
14256       {
14257         "title": "Example usage:",
14258         "content": "curl https://{domain}/api/campaigns/{id}/blacklists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
14259         "type": "json"
14260       }
14261     ],
14262     "name": "RemoveBlackLists",
14263     "group": "IVR_Campaigns",
14264     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14265     "version": "0.0.0",
14266     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14267     "groupTitle": "IVR_Campaigns"
14268   },
14269   {
14270     "type": "delete",
14271     "url": "/api/campaigns/{id}/lists",
14272     "title": "Remove lists from an IVR Campaign",
14273     "examples": [
14274       {
14275         "title": "Example usage:",
14276         "content": "curl https://{domain}/api/campaigns/{id}/lists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
14277         "type": "json"
14278       }
14279     ],
14280     "name": "RemoveLists",
14281     "group": "IVR_Campaigns",
14282     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14283     "version": "0.0.0",
14284     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14285     "groupTitle": "IVR_Campaigns"
14286   },
14287   {
14288     "type": "get",
14289     "url": "/api/campaigns/{id}",
14290     "title": "Gets a single IVR Campaign",
14291     "examples": [
14292       {
14293         "title": "Example usage:",
14294         "content": "curl https://{domain}/api/campaigns/{id} -v -u {name}:{password}",
14295         "type": "json"
14296       }
14297     ],
14298     "name": "ShowIVR_Campaigns",
14299     "group": "IVR_Campaigns",
14300     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14301     "version": "0.0.0",
14302     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14303     "groupTitle": "IVR_Campaigns"
14304   },
14305   {
14306     "type": "get",
14307     "url": "/api/campaigns/{id}/blacks",
14308     "title": "Gets IVR campaign hopper blacks",
14309     "examples": [
14310       {
14311         "title": "Example usage:",
14312         "content": "curl https://{domain}/api/campaigns/{id}/hopper_black -v -u {name}:{password}  -X GET",
14313         "type": "json"
14314       }
14315     ],
14316     "name": "getHopperBlacks",
14317     "group": "IVR_Campaigns",
14318     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14319     "version": "0.0.0",
14320     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14321     "groupTitle": "IVR_Campaigns"
14322   },
14323   {
14324     "type": "put",
14325     "url": "/api/campaigns/{id}",
14326     "title": "Update an existing IVR Campaign",
14327     "examples": [
14328       {
14329         "title": "Example usage:",
14330         "content": "curl https://{domain}/api/campaigns/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
14331         "type": "json"
14332       }
14333     ],
14334     "name": "updateIVR_Campaigns",
14335     "group": "IVR_Campaigns",
14336     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14337     "version": "0.0.0",
14338     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/campaign/index.js",
14339     "groupTitle": "IVR_Campaigns"
14340   },
14341   {
14342     "type": "post",
14343     "url": "/api/integrations/reports",
14344     "title": "Creates a new Integration Report",
14345     "examples": [
14346       {
14347         "title": "Example usage:",
14348         "content": "curl https://{domain}/api/integrations/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
14349         "type": "json"
14350       }
14351     ],
14352     "name": "CreateIntegration_Reports",
14353     "group": "Integration_Reports",
14354     "parameter": {
14355       "fields": {
14356         "Body": [
14357           {
14358             "group": "Body",
14359             "type": "String",
14360             "optional": true,
14361             "field": "integration",
14362             "description": ""
14363           },
14364           {
14365             "group": "Body",
14366             "type": "String",
14367             "optional": true,
14368             "field": "eventChannel",
14369             "description": ""
14370           },
14371           {
14372             "group": "Body",
14373             "type": "String",
14374             "optional": true,
14375             "field": "exitStatus",
14376             "description": ""
14377           },
14378           {
14379             "group": "Body",
14380             "type": "String",
14381             "optional": true,
14382             "field": "ticketId",
14383             "description": ""
14384           },
14385           {
14386             "group": "Body",
14387             "type": "Integer",
14388             "optional": true,
14389             "field": "integrationId",
14390             "description": ""
14391           },
14392           {
14393             "group": "Body",
14394             "type": "String",
14395             "optional": true,
14396             "field": "contacts",
14397             "description": ""
14398           },
14399           {
14400             "group": "Body",
14401             "type": "String",
14402             "optional": true,
14403             "field": "uniqueid",
14404             "description": ""
14405           },
14406           {
14407             "group": "Body",
14408             "type": "String",
14409             "optional": true,
14410             "field": "calleridnum",
14411             "description": ""
14412           },
14413           {
14414             "group": "Body",
14415             "type": "String",
14416             "optional": true,
14417             "field": "calleridname",
14418             "description": ""
14419           },
14420           {
14421             "group": "Body",
14422             "type": "String",
14423             "optional": true,
14424             "field": "queue",
14425             "description": ""
14426           },
14427           {
14428             "group": "Body",
14429             "type": "String",
14430             "optional": true,
14431             "field": "interface",
14432             "description": ""
14433           },
14434           {
14435             "group": "Body",
14436             "type": "String",
14437             "optional": true,
14438             "field": "membername",
14439             "description": ""
14440           },
14441           {
14442             "group": "Body",
14443             "type": "String",
14444             "optional": true,
14445             "field": "agentcalledAt",
14446             "description": ""
14447           },
14448           {
14449             "group": "Body",
14450             "type": "String",
14451             "optional": true,
14452             "field": "agentconnectAt",
14453             "description": ""
14454           },
14455           {
14456             "group": "Body",
14457             "type": "Integer",
14458             "optional": true,
14459             "field": "holdtime",
14460             "description": ""
14461           },
14462           {
14463             "group": "Body",
14464             "type": "Boolean",
14465             "optional": true,
14466             "field": "agentcomplete",
14467             "description": ""
14468           },
14469           {
14470             "group": "Body",
14471             "type": "String",
14472             "optional": true,
14473             "field": "agentcompleteAt",
14474             "description": ""
14475           },
14476           {
14477             "group": "Body",
14478             "type": "Integer",
14479             "optional": true,
14480             "field": "talktime",
14481             "description": ""
14482           },
14483           {
14484             "group": "Body",
14485             "type": "Boolean",
14486             "optional": true,
14487             "field": "agentacw",
14488             "description": ""
14489           },
14490           {
14491             "group": "Body",
14492             "type": "Integer",
14493             "optional": true,
14494             "field": "acwtime",
14495             "description": ""
14496           },
14497           {
14498             "group": "Body",
14499             "type": "String",
14500             "optional": true,
14501             "field": "reason",
14502             "description": ""
14503           },
14504           {
14505             "group": "Body",
14506             "type": "Boolean",
14507             "optional": true,
14508             "field": "agentringnoanswer",
14509             "description": ""
14510           },
14511           {
14512             "group": "Body",
14513             "type": "String",
14514             "optional": true,
14515             "field": "agentringnoanswerAt",
14516             "description": ""
14517           },
14518           {
14519             "group": "Body",
14520             "type": "Boolean",
14521             "optional": true,
14522             "field": "agentdump",
14523             "description": ""
14524           },
14525           {
14526             "group": "Body",
14527             "type": "String",
14528             "optional": true,
14529             "field": "agentdumpAt",
14530             "description": ""
14531           },
14532           {
14533             "group": "Body",
14534             "type": "String",
14535             "optional": true,
14536             "field": "lastevent",
14537             "description": ""
14538           },
14539           {
14540             "group": "Body",
14541             "type": "String",
14542             "optional": true,
14543             "field": "channel",
14544             "description": ""
14545           },
14546           {
14547             "group": "Body",
14548             "type": "Integer",
14549             "optional": true,
14550             "field": "channelstate",
14551             "description": ""
14552           },
14553           {
14554             "group": "Body",
14555             "type": "String",
14556             "optional": true,
14557             "field": "channelstatedesc",
14558             "description": ""
14559           },
14560           {
14561             "group": "Body",
14562             "type": "String",
14563             "optional": true,
14564             "field": "connectedlinenum",
14565             "description": ""
14566           },
14567           {
14568             "group": "Body",
14569             "type": "String",
14570             "optional": true,
14571             "field": "connectedlinename",
14572             "description": ""
14573           },
14574           {
14575             "group": "Body",
14576             "type": "String",
14577             "optional": true,
14578             "field": "language",
14579             "description": ""
14580           },
14581           {
14582             "group": "Body",
14583             "type": "String",
14584             "optional": true,
14585             "field": "accountcode",
14586             "description": ""
14587           },
14588           {
14589             "group": "Body",
14590             "type": "String",
14591             "optional": true,
14592             "field": "context",
14593             "description": ""
14594           },
14595           {
14596             "group": "Body",
14597             "type": "String",
14598             "optional": true,
14599             "field": "exten",
14600             "description": ""
14601           },
14602           {
14603             "group": "Body",
14604             "type": "String",
14605             "optional": true,
14606             "field": "priority",
14607             "description": ""
14608           },
14609           {
14610             "group": "Body",
14611             "type": "String",
14612             "optional": true,
14613             "field": "destchannel",
14614             "description": ""
14615           },
14616           {
14617             "group": "Body",
14618             "type": "Integer",
14619             "optional": true,
14620             "field": "destchannelstate",
14621             "description": ""
14622           },
14623           {
14624             "group": "Body",
14625             "type": "String",
14626             "optional": true,
14627             "field": "destchannelstatedesc",
14628             "description": ""
14629           },
14630           {
14631             "group": "Body",
14632             "type": "String",
14633             "optional": true,
14634             "field": "destcalleridnum",
14635             "description": ""
14636           },
14637           {
14638             "group": "Body",
14639             "type": "String",
14640             "optional": true,
14641             "field": "destcalleridname",
14642             "description": ""
14643           },
14644           {
14645             "group": "Body",
14646             "type": "String",
14647             "optional": true,
14648             "field": "destconnectedlinenum",
14649             "description": ""
14650           },
14651           {
14652             "group": "Body",
14653             "type": "String",
14654             "optional": true,
14655             "field": "destconnectedlinename",
14656             "description": ""
14657           },
14658           {
14659             "group": "Body",
14660             "type": "String",
14661             "optional": true,
14662             "field": "destlanguage",
14663             "description": ""
14664           },
14665           {
14666             "group": "Body",
14667             "type": "String",
14668             "optional": true,
14669             "field": "destaccountcode",
14670             "description": ""
14671           },
14672           {
14673             "group": "Body",
14674             "type": "String",
14675             "optional": true,
14676             "field": "destcontext",
14677             "description": ""
14678           },
14679           {
14680             "group": "Body",
14681             "type": "String",
14682             "optional": true,
14683             "field": "destexten",
14684             "description": ""
14685           },
14686           {
14687             "group": "Body",
14688             "type": "String",
14689             "optional": true,
14690             "field": "destpriority",
14691             "description": ""
14692           },
14693           {
14694             "group": "Body",
14695             "type": "String",
14696             "optional": true,
14697             "field": "destuniqueid",
14698             "description": ""
14699           },
14700           {
14701             "group": "Body",
14702             "type": "String",
14703             "optional": true,
14704             "field": "messageId",
14705             "description": ""
14706           },
14707           {
14708             "group": "Body",
14709             "type": "String",
14710             "optional": true,
14711             "field": "inReplyTo",
14712             "description": ""
14713           },
14714           {
14715             "group": "Body",
14716             "type": "String",
14717             "optional": true,
14718             "field": "subject",
14719             "description": ""
14720           },
14721           {
14722             "group": "Body",
14723             "type": "String",
14724             "optional": true,
14725             "field": "from",
14726             "description": ""
14727           },
14728           {
14729             "group": "Body",
14730             "type": "String",
14731             "optional": true,
14732             "field": "to",
14733             "description": ""
14734           },
14735           {
14736             "group": "Body",
14737             "type": "String",
14738             "optional": true,
14739             "field": "cc",
14740             "description": ""
14741           },
14742           {
14743             "group": "Body",
14744             "type": "Text",
14745             "optional": true,
14746             "field": "attachment",
14747             "description": ""
14748           },
14749           {
14750             "group": "Body",
14751             "type": "Text",
14752             "optional": true,
14753             "field": "html",
14754             "description": ""
14755           },
14756           {
14757             "group": "Body",
14758             "type": "Text",
14759             "optional": true,
14760             "field": "text",
14761             "description": ""
14762           },
14763           {
14764             "group": "Body",
14765             "type": "String",
14766             "allowedValues": [
14767               "\"SENT\"",
14768               "\"SENDING\"",
14769               "\"RECEIVED\"",
14770               "\"FAILED\""
14771             ],
14772             "optional": true,
14773             "field": "status",
14774             "description": ""
14775           },
14776           {
14777             "group": "Body",
14778             "type": "String",
14779             "optional": true,
14780             "field": "url",
14781             "description": ""
14782           },
14783           {
14784             "group": "Body",
14785             "type": "String",
14786             "optional": true,
14787             "field": "app",
14788             "description": ""
14789           },
14790           {
14791             "group": "Body",
14792             "type": "String",
14793             "optional": true,
14794             "field": "appdata",
14795             "description": ""
14796           },
14797           {
14798             "group": "Body",
14799             "type": "Integer",
14800             "optional": true,
14801             "field": "projectId",
14802             "description": ""
14803           }
14804         ]
14805       }
14806     },
14807     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14808     "version": "0.0.0",
14809     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/integrationReport/index.js",
14810     "groupTitle": "Integration_Reports"
14811   },
14812   {
14813     "type": "delete",
14814     "url": "/api/integrations/reports/{id}",
14815     "title": "Deletes a Integration Report",
14816     "examples": [
14817       {
14818         "title": "Example usage:",
14819         "content": "curl https://{domain}/api/integrations/reports/{id} -v -u {name}:{password} -X DELETE",
14820         "type": "json"
14821       }
14822     ],
14823     "name": "DeleteIntegration_Reports",
14824     "group": "Integration_Reports",
14825     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14826     "version": "0.0.0",
14827     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/integrationReport/index.js",
14828     "groupTitle": "Integration_Reports"
14829   },
14830   {
14831     "type": "get",
14832     "url": "/api/integrations/reports/describe",
14833     "title": "Gets table info about Integration Reports",
14834     "examples": [
14835       {
14836         "title": "Example usage:",
14837         "content": "curl https://{domain}/api/integrations/reports/describe -v -u {name}:{password}",
14838         "type": "json"
14839       }
14840     ],
14841     "name": "DescribeIntegration_Reports",
14842     "group": "Integration_Reports",
14843     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14844     "version": "0.0.0",
14845     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/integrationReport/index.js",
14846     "groupTitle": "Integration_Reports"
14847   },
14848   {
14849     "type": "get",
14850     "url": "/api/integrations/reports",
14851     "title": "Gets a list of Integration Reports",
14852     "examples": [
14853       {
14854         "title": "Example usage:",
14855         "content": "curl https://{domain}/api/integrations/reports -v -u {name}:{password}",
14856         "type": "json"
14857       }
14858     ],
14859     "name": "GetIntegration_Reports",
14860     "group": "Integration_Reports",
14861     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
14862     "version": "0.0.0",
14863     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/integrationReport/index.js",
14864     "groupTitle": "Integration_Reports"
14865   },
14866   {
14867     "type": "get",
14868     "url": "/api/integrations/reports/{id}",
14869     "title": "Gets a single Integration Report",
14870     "examples": [
14871       {
14872         "title": "Example usage:",
14873         "content": "curl https://{domain}/api/integrations/reports/{id} -v -u {name}:{password}",
14874         "type": "json"
14875       }
14876     ],
14877     "name": "ShowIntegration_Reports",
14878     "group": "Integration_Reports",
14879     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14880     "version": "0.0.0",
14881     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/integrationReport/index.js",
14882     "groupTitle": "Integration_Reports"
14883   },
14884   {
14885     "type": "put",
14886     "url": "/api/integrations/reports/{id}",
14887     "title": "Update an existing Integration Report",
14888     "examples": [
14889       {
14890         "title": "Example usage:",
14891         "content": "curl https://{domain}/api/integrations/reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
14892         "type": "json"
14893       }
14894     ],
14895     "name": "updateIntegration_Reports",
14896     "group": "Integration_Reports",
14897     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14898     "version": "0.0.0",
14899     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/integrationReport/index.js",
14900     "groupTitle": "Integration_Reports"
14901   },
14902   {
14903     "type": "post",
14904     "url": "/api/intervals",
14905     "title": "Creates a new Interval",
14906     "examples": [
14907       {
14908         "title": "Example usage:",
14909         "content": "curl https://{domain}/api/intervals -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
14910         "type": "json"
14911       }
14912     ],
14913     "name": "CreateIntervals",
14914     "group": "Intervals",
14915     "parameter": {
14916       "fields": {
14917         "Body": [
14918           {
14919             "group": "Body",
14920             "type": "String",
14921             "optional": true,
14922             "field": "name",
14923             "description": ""
14924           },
14925           {
14926             "group": "Body",
14927             "type": "String",
14928             "optional": true,
14929             "field": "description",
14930             "description": ""
14931           },
14932           {
14933             "group": "Body",
14934             "type": "String",
14935             "optional": true,
14936             "field": "interval",
14937             "description": ""
14938           }
14939         ]
14940       }
14941     },
14942     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14943     "version": "0.0.0",
14944     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/interval/index.js",
14945     "groupTitle": "Intervals"
14946   },
14947   {
14948     "type": "delete",
14949     "url": "/api/intervals/{id}",
14950     "title": "Deletes a Interval",
14951     "examples": [
14952       {
14953         "title": "Example usage:",
14954         "content": "curl https://{domain}/api/intervals/{id} -v -u {name}:{password} -X DELETE",
14955         "type": "json"
14956       }
14957     ],
14958     "name": "DeleteIntervals",
14959     "group": "Intervals",
14960     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14961     "version": "0.0.0",
14962     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/interval/index.js",
14963     "groupTitle": "Intervals"
14964   },
14965   {
14966     "type": "get",
14967     "url": "/GetInterval",
14968     "title": "Gets a list of Intervals",
14969     "name": "GetInterval",
14970     "group": "Intervals",
14971     "parameter": {
14972       "fields": {
14973         "Body": [
14974           {
14975             "group": "Body",
14976             "type": "Object",
14977             "optional": true,
14978             "field": "options.attributes",
14979             "description": ""
14980           },
14981           {
14982             "group": "Body",
14983             "type": "Object",
14984             "optional": true,
14985             "field": "options.where",
14986             "description": ""
14987           }
14988         ]
14989       }
14990     },
14991     "version": "0.0.0",
14992     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/interval/interval.rpc.js",
14993     "groupTitle": "Intervals"
14994   },
14995   {
14996     "type": "get",
14997     "url": "/api/intervals",
14998     "title": "Gets a list of Intervals",
14999     "examples": [
15000       {
15001         "title": "Example usage:",
15002         "content": "curl https://{domain}/api/intervals -v -u {name}:{password}",
15003         "type": "json"
15004       }
15005     ],
15006     "name": "GetIntervals",
15007     "group": "Intervals",
15008     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/intervals?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/intervals?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/intervals?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/intervals?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/intervals?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
15009     "version": "0.0.0",
15010     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/interval/index.js",
15011     "groupTitle": "Intervals"
15012   },
15013   {
15014     "type": "get",
15015     "url": "/ShowInterval",
15016     "title": "Gets a single Interval",
15017     "name": "ShowInterval",
15018     "group": "Intervals",
15019     "parameter": {
15020       "fields": {
15021         "Body": [
15022           {
15023             "group": "Body",
15024             "type": "Object",
15025             "optional": true,
15026             "field": "options.attributes",
15027             "description": ""
15028           },
15029           {
15030             "group": "Body",
15031             "type": "Object",
15032             "optional": false,
15033             "field": "options.where",
15034             "description": ""
15035           }
15036         ]
15037       }
15038     },
15039     "version": "0.0.0",
15040     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/interval/interval.rpc.js",
15041     "groupTitle": "Intervals"
15042   },
15043   {
15044     "type": "get",
15045     "url": "/api/intervals/{id}",
15046     "title": "Gets a single Interval",
15047     "examples": [
15048       {
15049         "title": "Example usage:",
15050         "content": "curl https://{domain}/api/intervals/{id} -v -u {name}:{password}",
15051         "type": "json"
15052       }
15053     ],
15054     "name": "ShowIntervals",
15055     "group": "Intervals",
15056     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15057     "version": "0.0.0",
15058     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/interval/index.js",
15059     "groupTitle": "Intervals"
15060   },
15061   {
15062     "type": "post",
15063     "url": "/api/intervals/{id}/sub_intervals",
15064     "title": "Creates a new sub interval",
15065     "examples": [
15066       {
15067         "title": "Example usage:",
15068         "content": "curl https://{domain}/api/intervals/{id}/sub_intervals -d '{\"interval\": \"00:00-08:30,mon-fri,*,*\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
15069         "type": "json"
15070       }
15071     ],
15072     "name": "addInterval",
15073     "group": "Intervals",
15074     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15075     "version": "0.0.0",
15076     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/interval/index.js",
15077     "groupTitle": "Intervals"
15078   },
15079   {
15080     "type": "post",
15081     "url": "/api/intervals/{id}/sub_intervals/create_many",
15082     "title": "Create new sub intervals set",
15083     "examples": [
15084       {
15085         "title": "Example usage:",
15086         "content": "curl https://{domain}/api/intervals/{id}/sub_intervals -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
15087         "type": "json"
15088       }
15089     ],
15090     "name": "addIntervals",
15091     "group": "Intervals",
15092     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15093     "version": "0.0.0",
15094     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/interval/index.js",
15095     "groupTitle": "Intervals"
15096   },
15097   {
15098     "type": "get",
15099     "url": "/api/intervals/{id}/sub_intervals",
15100     "title": "Get sub intervals set",
15101     "examples": [
15102       {
15103         "title": "Example usage:",
15104         "content": "curl https://{domain}/api/intervals/{id}/sub_intervals -v -u {name}:{password} -X GET",
15105         "type": "json"
15106       }
15107     ],
15108     "name": "getIntervals",
15109     "group": "Intervals",
15110     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15111     "version": "0.0.0",
15112     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/interval/index.js",
15113     "groupTitle": "Intervals"
15114   },
15115   {
15116     "type": "put",
15117     "url": "/api/intervals/{id}",
15118     "title": "Update an existing Interval",
15119     "examples": [
15120       {
15121         "title": "Example usage:",
15122         "content": "curl https://{domain}/api/intervals/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
15123         "type": "json"
15124       }
15125     ],
15126     "name": "updateIntervals",
15127     "group": "Intervals",
15128     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15129     "version": "0.0.0",
15130     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/interval/index.js",
15131     "groupTitle": "Intervals"
15132   },
15133   {
15134     "type": "post",
15135     "url": "/api/jira",
15136     "title": "Creates a new issue",
15137     "examples": [
15138       {
15139         "title": "Example usage:",
15140         "content": "curl https://{domain}/api/jira -d '{\"key\": \"Bug\", \"description\": \"I can't do it!\"}' \\\n -H \"Content-Type: application/json\" -X POST -v -u {name}:{password}",
15141         "type": "json"
15142       }
15143     ],
15144     "name": "Creates_Issue",
15145     "group": "Issue",
15146     "parameter": {
15147       "fields": {
15148         "Body": [
15149           {
15150             "group": "Body",
15151             "type": "String",
15152             "allowedValues": [
15153               "\"Bug\""
15154             ],
15155             "optional": true,
15156             "field": "issuetype",
15157             "description": ""
15158           },
15159           {
15160             "group": "Body",
15161             "type": "String",
15162             "optional": false,
15163             "field": "summary",
15164             "description": ""
15165           },
15166           {
15167             "group": "Body",
15168             "type": "String",
15169             "optional": false,
15170             "field": "description",
15171             "description": ""
15172           }
15173         ]
15174       }
15175     },
15176     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15177     "version": "0.0.0",
15178     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jira/index.js",
15179     "groupTitle": "Issue"
15180   },
15181   {
15182     "type": "post",
15183     "url": "/api/jscripty/answers/reports",
15184     "title": "Creates a new Report",
15185     "examples": [
15186       {
15187         "title": "Example usage:",
15188         "content": "curl https://{domain}/api/jscripty/answers/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
15189         "type": "json"
15190       }
15191     ],
15192     "name": "CreateReports",
15193     "group": "JscriptyAnswerReport",
15194     "parameter": {
15195       "fields": {
15196         "Body": [
15197           {
15198             "group": "Body",
15199             "type": "String",
15200             "optional": true,
15201             "field": "question",
15202             "description": ""
15203           },
15204           {
15205             "group": "Body",
15206             "type": "Text",
15207             "optional": true,
15208             "field": "answer",
15209             "description": ""
15210           },
15211           {
15212             "group": "Body",
15213             "type": "String",
15214             "optional": true,
15215             "field": "membername",
15216             "description": ""
15217           },
15218           {
15219             "group": "Body",
15220             "type": "String",
15221             "optional": true,
15222             "field": "projectname",
15223             "description": ""
15224           },
15225           {
15226             "group": "Body",
15227             "type": "String",
15228             "optional": true,
15229             "field": "queue",
15230             "description": ""
15231           },
15232           {
15233             "group": "Body",
15234             "type": "String",
15235             "optional": true,
15236             "field": "uniqueid",
15237             "description": ""
15238           },
15239           {
15240             "group": "Body",
15241             "type": "String",
15242             "optional": true,
15243             "field": "calleridname",
15244             "description": ""
15245           },
15246           {
15247             "group": "Body",
15248             "type": "String",
15249             "optional": true,
15250             "field": "calleridnum",
15251             "description": ""
15252           },
15253           {
15254             "group": "Body",
15255             "type": "String",
15256             "optional": true,
15257             "field": "questionId",
15258             "description": ""
15259           }
15260         ]
15261       }
15262     },
15263     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15264     "version": "0.0.0",
15265     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyAnswerReport/index.js",
15266     "groupTitle": "JscriptyAnswerReport"
15267   },
15268   {
15269     "type": "delete",
15270     "url": "/api/jscripty/answers/reports/{id}",
15271     "title": "Deletes a Report",
15272     "examples": [
15273       {
15274         "title": "Example usage:",
15275         "content": "curl https://{domain}/api/jscripty/answers/reports/{id} -v -u {name}:{password} -X DELETE",
15276         "type": "json"
15277       }
15278     ],
15279     "name": "DeleteReports",
15280     "group": "JscriptyAnswerReport",
15281     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15282     "version": "0.0.0",
15283     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyAnswerReport/index.js",
15284     "groupTitle": "JscriptyAnswerReport"
15285   },
15286   {
15287     "type": "get",
15288     "url": "/api/jscripty/answers/reports/describe",
15289     "title": "Gets table info about Reports",
15290     "examples": [
15291       {
15292         "title": "Example usage:",
15293         "content": "curl https://{domain}/api/jscripty/answers/reports/describe -v -u {name}:{password}",
15294         "type": "json"
15295       }
15296     ],
15297     "name": "DescribeReports",
15298     "group": "JscriptyAnswerReport",
15299     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15300     "version": "0.0.0",
15301     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyAnswerReport/index.js",
15302     "groupTitle": "JscriptyAnswerReport"
15303   },
15304   {
15305     "type": "get",
15306     "url": "/api/jscripty/answers/reports",
15307     "title": "Gets a list of Reports",
15308     "examples": [
15309       {
15310         "title": "Example usage:",
15311         "content": "curl https://{domain}/api/jscripty/answers/reports -v -u {name}:{password}",
15312         "type": "json"
15313       }
15314     ],
15315     "name": "GetReports",
15316     "group": "JscriptyAnswerReport",
15317     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/jscripty/answers/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/jscripty/answers/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/jscripty/answers/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/jscripty/answers/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/jscripty/answers/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
15318     "version": "0.0.0",
15319     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyAnswerReport/index.js",
15320     "groupTitle": "JscriptyAnswerReport"
15321   },
15322   {
15323     "type": "get",
15324     "url": "/api/jscripty/answers/reports/{id}",
15325     "title": "Gets a single Report",
15326     "examples": [
15327       {
15328         "title": "Example usage:",
15329         "content": "curl https://{domain}/api/jscripty/answers/reports/{id} -v -u {name}:{password}",
15330         "type": "json"
15331       }
15332     ],
15333     "name": "ShowReports",
15334     "group": "JscriptyAnswerReport",
15335     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15336     "version": "0.0.0",
15337     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyAnswerReport/index.js",
15338     "groupTitle": "JscriptyAnswerReport"
15339   },
15340   {
15341     "type": "put",
15342     "url": "/api/jscripty/answers/reports/{id}",
15343     "title": "Update an existing Report",
15344     "examples": [
15345       {
15346         "title": "Example usage:",
15347         "content": "curl https://{domain}/api/jscripty/answers/reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
15348         "type": "json"
15349       }
15350     ],
15351     "name": "updateReports",
15352     "group": "JscriptyAnswerReport",
15353     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15354     "version": "0.0.0",
15355     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyAnswerReport/index.js",
15356     "groupTitle": "JscriptyAnswerReport"
15357   },
15358   {
15359     "type": "post",
15360     "url": "/api/jscripty/questions/reports",
15361     "title": "Creates a new Report",
15362     "examples": [
15363       {
15364         "title": "Example usage:",
15365         "content": "curl https://{domain}/api/jscripty/questions/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
15366         "type": "json"
15367       }
15368     ],
15369     "name": "CreateReports",
15370     "group": "JscriptyQuestionReport",
15371     "parameter": {
15372       "fields": {
15373         "Body": [
15374           {
15375             "group": "Body",
15376             "type": "String",
15377             "optional": true,
15378             "field": "question",
15379             "description": ""
15380           },
15381           {
15382             "group": "Body",
15383             "type": "Text",
15384             "optional": true,
15385             "field": "answer",
15386             "description": ""
15387           },
15388           {
15389             "group": "Body",
15390             "type": "String",
15391             "optional": true,
15392             "field": "membername",
15393             "description": ""
15394           },
15395           {
15396             "group": "Body",
15397             "type": "String",
15398             "optional": true,
15399             "field": "projectname",
15400             "description": ""
15401           },
15402           {
15403             "group": "Body",
15404             "type": "String",
15405             "optional": true,
15406             "field": "queue",
15407             "description": ""
15408           },
15409           {
15410             "group": "Body",
15411             "type": "String",
15412             "optional": true,
15413             "field": "uniqueid",
15414             "description": ""
15415           },
15416           {
15417             "group": "Body",
15418             "type": "String",
15419             "optional": true,
15420             "field": "calleridname",
15421             "description": ""
15422           },
15423           {
15424             "group": "Body",
15425             "type": "String",
15426             "optional": true,
15427             "field": "calleridnum",
15428             "description": ""
15429           },
15430           {
15431             "group": "Body",
15432             "type": "String",
15433             "optional": true,
15434             "field": "questionId",
15435             "description": ""
15436           }
15437         ]
15438       }
15439     },
15440     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15441     "version": "0.0.0",
15442     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyQuestionReport/index.js",
15443     "groupTitle": "JscriptyQuestionReport"
15444   },
15445   {
15446     "type": "delete",
15447     "url": "/api/jscripty/questions/reports/{id}",
15448     "title": "Deletes a Report",
15449     "examples": [
15450       {
15451         "title": "Example usage:",
15452         "content": "curl https://{domain}/api/jscripty/questions/reports/{id} -v -u {name}:{password} -X DELETE",
15453         "type": "json"
15454       }
15455     ],
15456     "name": "DeleteReports",
15457     "group": "JscriptyQuestionReport",
15458     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15459     "version": "0.0.0",
15460     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyQuestionReport/index.js",
15461     "groupTitle": "JscriptyQuestionReport"
15462   },
15463   {
15464     "type": "get",
15465     "url": "/api/jscripty/questions/reports/describe",
15466     "title": "Gets table info about Reports",
15467     "examples": [
15468       {
15469         "title": "Example usage:",
15470         "content": "curl https://{domain}/api/jscripty/questions/reports/describe -v -u {name}:{password}",
15471         "type": "json"
15472       }
15473     ],
15474     "name": "DescribeReports",
15475     "group": "JscriptyQuestionReport",
15476     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15477     "version": "0.0.0",
15478     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyQuestionReport/index.js",
15479     "groupTitle": "JscriptyQuestionReport"
15480   },
15481   {
15482     "type": "get",
15483     "url": "/api/jscripty/questions/reports",
15484     "title": "Gets a list of Reports",
15485     "examples": [
15486       {
15487         "title": "Example usage:",
15488         "content": "curl https://{domain}/api/jscripty/questions/reports -v -u {name}:{password}",
15489         "type": "json"
15490       }
15491     ],
15492     "name": "GetReports",
15493     "group": "JscriptyQuestionReport",
15494     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/jscripty/questions/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/jscripty/questions/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/jscripty/questions/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/jscripty/questions/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/jscripty/questions/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
15495     "version": "0.0.0",
15496     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyQuestionReport/index.js",
15497     "groupTitle": "JscriptyQuestionReport"
15498   },
15499   {
15500     "type": "get",
15501     "url": "/api/jscripty/questions/reports/{id}",
15502     "title": "Gets a single Report",
15503     "examples": [
15504       {
15505         "title": "Example usage:",
15506         "content": "curl https://{domain}/api/jscripty/questions/reports/{id} -v -u {name}:{password}",
15507         "type": "json"
15508       }
15509     ],
15510     "name": "ShowReports",
15511     "group": "JscriptyQuestionReport",
15512     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15513     "version": "0.0.0",
15514     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyQuestionReport/index.js",
15515     "groupTitle": "JscriptyQuestionReport"
15516   },
15517   {
15518     "type": "put",
15519     "url": "/api/jscripty/questions/reports/{id}",
15520     "title": "Update an existing Report",
15521     "examples": [
15522       {
15523         "title": "Example usage:",
15524         "content": "curl https://{domain}/api/jscripty/questions/reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
15525         "type": "json"
15526       }
15527     ],
15528     "name": "updateReports",
15529     "group": "JscriptyQuestionReport",
15530     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15531     "version": "0.0.0",
15532     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyQuestionReport/index.js",
15533     "groupTitle": "JscriptyQuestionReport"
15534   },
15535   {
15536     "type": "post",
15537     "url": "/api/jscripty/sessions/reports",
15538     "title": "Creates a new Report",
15539     "examples": [
15540       {
15541         "title": "Example usage:",
15542         "content": "curl https://{domain}/api/jscripty/sessions/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
15543         "type": "json"
15544       }
15545     ],
15546     "name": "CreateReports",
15547     "group": "JscriptySessionReport",
15548     "parameter": {
15549       "fields": {
15550         "Body": [
15551           {
15552             "group": "Body",
15553             "type": "String",
15554             "optional": true,
15555             "field": "starttime",
15556             "description": ""
15557           },
15558           {
15559             "group": "Body",
15560             "type": "String",
15561             "optional": true,
15562             "field": "endtime",
15563             "description": ""
15564           },
15565           {
15566             "group": "Body",
15567             "type": "String",
15568             "optional": true,
15569             "field": "membername",
15570             "description": ""
15571           },
15572           {
15573             "group": "Body",
15574             "type": "String",
15575             "optional": true,
15576             "field": "projectname",
15577             "description": ""
15578           },
15579           {
15580             "group": "Body",
15581             "type": "String",
15582             "optional": true,
15583             "field": "queue",
15584             "description": ""
15585           },
15586           {
15587             "group": "Body",
15588             "type": "String",
15589             "optional": true,
15590             "field": "uniqueid",
15591             "description": ""
15592           },
15593           {
15594             "group": "Body",
15595             "type": "String",
15596             "optional": true,
15597             "field": "calleridname",
15598             "description": ""
15599           },
15600           {
15601             "group": "Body",
15602             "type": "String",
15603             "optional": true,
15604             "field": "calleridnum",
15605             "description": ""
15606           },
15607           {
15608             "group": "Body",
15609             "type": "Boolean",
15610             "optional": true,
15611             "field": "completed",
15612             "description": ""
15613           }
15614         ]
15615       }
15616     },
15617     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15618     "version": "0.0.0",
15619     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptySessionReport/index.js",
15620     "groupTitle": "JscriptySessionReport"
15621   },
15622   {
15623     "type": "delete",
15624     "url": "/api/jscripty/sessions/reports/{id}",
15625     "title": "Deletes a Report",
15626     "examples": [
15627       {
15628         "title": "Example usage:",
15629         "content": "curl https://{domain}/api/jscripty/sessions/reports/{id} -v -u {name}:{password} -X DELETE",
15630         "type": "json"
15631       }
15632     ],
15633     "name": "DeleteReports",
15634     "group": "JscriptySessionReport",
15635     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15636     "version": "0.0.0",
15637     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptySessionReport/index.js",
15638     "groupTitle": "JscriptySessionReport"
15639   },
15640   {
15641     "type": "get",
15642     "url": "/api/jscripty/sessions/reports/describe",
15643     "title": "Gets table info about Reports",
15644     "examples": [
15645       {
15646         "title": "Example usage:",
15647         "content": "curl https://{domain}/api/jscripty/sessions/reports/describe -v -u {name}:{password}",
15648         "type": "json"
15649       }
15650     ],
15651     "name": "DescribeReports",
15652     "group": "JscriptySessionReport",
15653     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15654     "version": "0.0.0",
15655     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptySessionReport/index.js",
15656     "groupTitle": "JscriptySessionReport"
15657   },
15658   {
15659     "type": "get",
15660     "url": "/api/jscripty/sessions/reports",
15661     "title": "Gets a list of Reports",
15662     "examples": [
15663       {
15664         "title": "Example usage:",
15665         "content": "curl https://{domain}/api/jscripty/sessions/reports -v -u {name}:{password}",
15666         "type": "json"
15667       }
15668     ],
15669     "name": "GetReports",
15670     "group": "JscriptySessionReport",
15671     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/jscripty/sessions/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/jscripty/sessions/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/jscripty/sessions/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/jscripty/sessions/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/jscripty/sessions/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
15672     "version": "0.0.0",
15673     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptySessionReport/index.js",
15674     "groupTitle": "JscriptySessionReport"
15675   },
15676   {
15677     "type": "get",
15678     "url": "/api/jscripty/sessions/reports/{id}",
15679     "title": "Gets a single Report",
15680     "examples": [
15681       {
15682         "title": "Example usage:",
15683         "content": "curl https://{domain}/api/jscripty/sessions/reports/{id} -v -u {name}:{password}",
15684         "type": "json"
15685       }
15686     ],
15687     "name": "ShowReports",
15688     "group": "JscriptySessionReport",
15689     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15690     "version": "0.0.0",
15691     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptySessionReport/index.js",
15692     "groupTitle": "JscriptySessionReport"
15693   },
15694   {
15695     "type": "get",
15696     "url": "/api/jscripty/sessions/reports/{id}/questions",
15697     "title": "Gets Jscripty Session questions",
15698     "examples": [
15699       {
15700         "title": "Example usage:",
15701         "content": "curl https://{domain}/api/jscripty/sessions/reports/{id}/questions -v -u {name}:{password}  -X GET",
15702         "type": "json"
15703       }
15704     ],
15705     "name": "getQuestions",
15706     "group": "JscriptySessionReport",
15707     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15708     "version": "0.0.0",
15709     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptySessionReport/index.js",
15710     "groupTitle": "JscriptySessionReport"
15711   },
15712   {
15713     "type": "put",
15714     "url": "/api/jscripty/sessions/reports/{id}",
15715     "title": "Update an existing Report",
15716     "examples": [
15717       {
15718         "title": "Example usage:",
15719         "content": "curl https://{domain}/api/jscripty/sessions/reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
15720         "type": "json"
15721       }
15722     ],
15723     "name": "updateReports",
15724     "group": "JscriptySessionReport",
15725     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15726     "version": "0.0.0",
15727     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptySessionReport/index.js",
15728     "groupTitle": "JscriptySessionReport"
15729   },
15730   {
15731     "type": "post",
15732     "url": "/api/jscripty/projects/clone",
15733     "title": "Clone an existing Project",
15734     "examples": [
15735       {
15736         "title": "Example usage:",
15737         "content": "curl https://{domain}/api/jscripty/projects/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
15738         "type": "json"
15739       }
15740     ],
15741     "name": "CloneProjects",
15742     "group": "Jscripty_Projects",
15743     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15744     "version": "0.0.0",
15745     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyProject/index.js",
15746     "groupTitle": "Jscripty_Projects"
15747   },
15748   {
15749     "type": "post",
15750     "url": "/api/jscripty/projects",
15751     "title": "Creates a new Project",
15752     "examples": [
15753       {
15754         "title": "Example usage:",
15755         "content": "curl https://{domain}/api/jscripty/projects -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
15756         "type": "json"
15757       }
15758     ],
15759     "name": "CreateProjects",
15760     "group": "Jscripty_Projects",
15761     "parameter": {
15762       "fields": {
15763         "Body": [
15764           {
15765             "group": "Body",
15766             "type": "String",
15767             "optional": true,
15768             "field": "name",
15769             "description": ""
15770           },
15771           {
15772             "group": "Body",
15773             "type": "String",
15774             "optional": true,
15775             "field": "description",
15776             "description": ""
15777           },
15778           {
15779             "group": "Body",
15780             "type": "Text",
15781             "optional": true,
15782             "field": "formData",
15783             "description": ""
15784           },
15785           {
15786             "group": "Body",
15787             "type": "Boolean",
15788             "optional": true,
15789             "field": "enableUncompleteSave",
15790             "description": ""
15791           },
15792           {
15793             "group": "Body",
15794             "type": "Boolean",
15795             "optional": true,
15796             "field": "sendUnpauseOnSubmit",
15797             "description": ""
15798           }
15799         ]
15800       }
15801     },
15802     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15803     "version": "0.0.0",
15804     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyProject/index.js",
15805     "groupTitle": "Jscripty_Projects"
15806   },
15807   {
15808     "type": "delete",
15809     "url": "/api/jscripty/projects/{id}",
15810     "title": "Deletes a Project",
15811     "examples": [
15812       {
15813         "title": "Example usage:",
15814         "content": "curl https://{domain}/api/jscripty/projects/{id} -v -u {name}:{password} -X DELETE",
15815         "type": "json"
15816       }
15817     ],
15818     "name": "DeleteProjects",
15819     "group": "Jscripty_Projects",
15820     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15821     "version": "0.0.0",
15822     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyProject/index.js",
15823     "groupTitle": "Jscripty_Projects"
15824   },
15825   {
15826     "type": "get",
15827     "url": "/api/jscripty/projects",
15828     "title": "Gets a list of Projects",
15829     "examples": [
15830       {
15831         "title": "Example usage:",
15832         "content": "curl https://{domain}/api/jscripty/projects -v -u {name}:{password}",
15833         "type": "json"
15834       }
15835     ],
15836     "name": "GetProjects",
15837     "group": "Jscripty_Projects",
15838     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/jscripty/projects?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/jscripty/projects?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/jscripty/projects?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/jscripty/projects?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/jscripty/projects?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
15839     "version": "0.0.0",
15840     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyProject/index.js",
15841     "groupTitle": "Jscripty_Projects"
15842   },
15843   {
15844     "type": "get",
15845     "url": "/api/jscripty/projects/{id}",
15846     "title": "Gets a single Project",
15847     "examples": [
15848       {
15849         "title": "Example usage:",
15850         "content": "curl https://{domain}/api/jscripty/projects/{id} -v -u {name}:{password}",
15851         "type": "json"
15852       }
15853     ],
15854     "name": "ShowProjects",
15855     "group": "Jscripty_Projects",
15856     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15857     "version": "0.0.0",
15858     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyProject/index.js",
15859     "groupTitle": "Jscripty_Projects"
15860   },
15861   {
15862     "type": "get",
15863     "url": "/api/jscripty/projects/{id}/answers",
15864     "title": "Gets jscripty project answers",
15865     "examples": [
15866       {
15867         "title": "Example usage:",
15868         "content": "curl https://{domain}/api/jscripty/projects/{id}/answers -v -u {name}:{password}  -X GET",
15869         "type": "json"
15870       }
15871     ],
15872     "name": "getAnswers",
15873     "group": "Jscripty_Projects",
15874     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15875     "version": "0.0.0",
15876     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyProject/index.js",
15877     "groupTitle": "Jscripty_Projects"
15878   },
15879   {
15880     "type": "get",
15881     "url": "/api/jscripty/projects/{id}/sessions",
15882     "title": "Gets jscripty project sessions",
15883     "examples": [
15884       {
15885         "title": "Example usage:",
15886         "content": "curl https://{domain}/api/jscripty/projects/{id}/sessions -v -u {name}:{password}  -X GET",
15887         "type": "json"
15888       }
15889     ],
15890     "name": "getSessions",
15891     "group": "Jscripty_Projects",
15892     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15893     "version": "0.0.0",
15894     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyProject/index.js",
15895     "groupTitle": "Jscripty_Projects"
15896   },
15897   {
15898     "type": "get",
15899     "url": "/api/jscripty/projects/{id}/summary",
15900     "title": "Gets jscripty project summary",
15901     "examples": [
15902       {
15903         "title": "Example usage:",
15904         "content": "curl https://{domain}/api/jscripty/projects/{id}/summary -v -u {name}:{password}  -X GET",
15905         "type": "json"
15906       }
15907     ],
15908     "name": "getSummary",
15909     "group": "Jscripty_Projects",
15910     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15911     "version": "0.0.0",
15912     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyProject/index.js",
15913     "groupTitle": "Jscripty_Projects"
15914   },
15915   {
15916     "type": "put",
15917     "url": "/api/jscripty/projects/{id}",
15918     "title": "Update an existing Project",
15919     "examples": [
15920       {
15921         "title": "Example usage:",
15922         "content": "curl https://{domain}/api/jscripty/projects/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
15923         "type": "json"
15924       }
15925     ],
15926     "name": "updateProjects",
15927     "group": "Jscripty_Projects",
15928     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15929     "version": "0.0.0",
15930     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/jscriptyProject/index.js",
15931     "groupTitle": "Jscripty_Projects"
15932   },
15933   {
15934     "type": "get",
15935     "url": "/api/license",
15936     "title": "Gets License Info",
15937     "examples": [
15938       {
15939         "title": "Example usage:",
15940         "content": "curl https://{domain}/api/license -v -u {name}:{password} -X GET",
15941         "type": "json"
15942       }
15943     ],
15944     "name": "index",
15945     "group": "License",
15946     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15947     "version": "0.0.0",
15948     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/license/index.js",
15949     "groupTitle": "License"
15950   },
15951   {
15952     "type": "put",
15953     "url": "/api/license/{id}",
15954     "title": "Update License Info",
15955     "examples": [
15956       {
15957         "title": "Example usage:",
15958         "content": "curl https://{domain}/api/license/{id} -v -u {name}:{password} -X PUT",
15959         "type": "json"
15960       }
15961     ],
15962     "name": "update",
15963     "group": "License",
15964     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15965     "version": "0.0.0",
15966     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/license/index.js",
15967     "groupTitle": "License"
15968   },
15969   {
15970     "type": "post",
15971     "url": "/api/mail/accounts/{id}/users",
15972     "title": "Add agents to a mail account",
15973     "examples": [
15974       {
15975         "title": "Example usage:",
15976         "content": "curl https://{domain}/api/mail/accounts/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
15977         "type": "json"
15978       }
15979     ],
15980     "name": "AddAgents",
15981     "group": "Mail_Accounts",
15982     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15983     "version": "0.0.0",
15984     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
15985     "groupTitle": "Mail_Accounts"
15986   },
15987   {
15988     "type": "post",
15989     "url": "/api/mail/accounts/{id}/in_servers",
15990     "title": "Creates a new IMAP server",
15991     "examples": [
15992       {
15993         "title": "Example usage:",
15994         "content": "curl https://{domain}/api/mail/accounts/{id}/in_servers -d '{\"host\": \"host\", \"username\": \"username\", \"password\": \"password\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
15995         "type": "json"
15996       }
15997     ],
15998     "name": "AddImap",
15999     "group": "Mail_Accounts",
16000     "parameter": {
16001       "fields": {
16002         "Body": [
16003           {
16004             "group": "Body",
16005             "type": "String",
16006             "optional": true,
16007             "field": "description",
16008             "description": ""
16009           },
16010           {
16011             "group": "Body",
16012             "type": "String",
16013             "optional": true,
16014             "field": "host",
16015             "description": ""
16016           },
16017           {
16018             "group": "Body",
16019             "type": "Boolean",
16020             "optional": true,
16021             "field": "authentication",
16022             "description": ""
16023           },
16024           {
16025             "group": "Body",
16026             "type": "String",
16027             "optional": true,
16028             "field": "user",
16029             "description": ""
16030           },
16031           {
16032             "group": "Body",
16033             "type": "String",
16034             "optional": true,
16035             "field": "password",
16036             "description": ""
16037           },
16038           {
16039             "group": "Body",
16040             "type": "Integer",
16041             "optional": true,
16042             "field": "port",
16043             "description": ""
16044           },
16045           {
16046             "group": "Body",
16047             "type": "Boolean",
16048             "optional": true,
16049             "field": "tls",
16050             "description": ""
16051           },
16052           {
16053             "group": "Body",
16054             "type": "String",
16055             "optional": true,
16056             "field": "mailbox",
16057             "description": ""
16058           },
16059           {
16060             "group": "Body",
16061             "type": "Integer",
16062             "optional": true,
16063             "field": "connTimeout",
16064             "description": ""
16065           },
16066           {
16067             "group": "Body",
16068             "type": "Integer",
16069             "optional": true,
16070             "field": "authTimeout",
16071             "description": ""
16072           },
16073           {
16074             "group": "Body",
16075             "type": "String",
16076             "optional": true,
16077             "field": "service",
16078             "description": ""
16079           }
16080         ]
16081       }
16082     },
16083     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16084     "version": "0.0.0",
16085     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16086     "groupTitle": "Mail_Accounts"
16087   },
16088   {
16089     "type": "post",
16090     "url": "/api/mail/accounts/{id}/out_servers",
16091     "title": "Creates a new SMTP server",
16092     "examples": [
16093       {
16094         "title": "Example usage:",
16095         "content": "curl https://{domain}/api/mail/accounts/{id}/out_servers -d '{\"host\": \"host\", \"username\": \"username\", \"password\": \"password\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16096         "type": "json"
16097       }
16098     ],
16099     "name": "AddSmtp",
16100     "group": "Mail_Accounts",
16101     "parameter": {
16102       "fields": {
16103         "Body": [
16104           {
16105             "group": "Body",
16106             "type": "String",
16107             "optional": true,
16108             "field": "description",
16109             "description": ""
16110           },
16111           {
16112             "group": "Body",
16113             "type": "String",
16114             "optional": true,
16115             "field": "host",
16116             "description": ""
16117           },
16118           {
16119             "group": "Body",
16120             "type": "String",
16121             "optional": true,
16122             "field": "user",
16123             "description": ""
16124           },
16125           {
16126             "group": "Body",
16127             "type": "String",
16128             "optional": true,
16129             "field": "pass",
16130             "description": ""
16131           },
16132           {
16133             "group": "Body",
16134             "type": "Integer",
16135             "optional": true,
16136             "field": "port",
16137             "description": ""
16138           },
16139           {
16140             "group": "Body",
16141             "type": "Boolean",
16142             "optional": true,
16143             "field": "secure",
16144             "description": ""
16145           },
16146           {
16147             "group": "Body",
16148             "type": "String",
16149             "optional": true,
16150             "field": "service",
16151             "description": ""
16152           },
16153           {
16154             "group": "Body",
16155             "type": "Boolean",
16156             "optional": true,
16157             "field": "authentication",
16158             "description": ""
16159           }
16160         ]
16161       }
16162     },
16163     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16164     "version": "0.0.0",
16165     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16166     "groupTitle": "Mail_Accounts"
16167   },
16168   {
16169     "type": "delete",
16170     "url": "/api/mail/accounts/{id}",
16171     "title": "Deletes a mail account",
16172     "examples": [
16173       {
16174         "title": "Example usage:",
16175         "content": "curl https://{domain}/api/mail/accounts/{id} -v -u {name}:{password} -X DELETE",
16176         "type": "json"
16177       }
16178     ],
16179     "name": "DeleteMailAccounts",
16180     "group": "Mail_Accounts",
16181     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16182     "version": "0.0.0",
16183     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16184     "groupTitle": "Mail_Accounts"
16185   },
16186   {
16187     "type": "get",
16188     "url": "/api/mail/accounts/describe",
16189     "title": "Gets table info about Accounts",
16190     "examples": [
16191       {
16192         "title": "Example usage:",
16193         "content": "curl https://{domain}/api/mail/accounts/describe -v -u {name}:{password}",
16194         "type": "json"
16195       }
16196     ],
16197     "name": "DescribeAccounts",
16198     "group": "Mail_Accounts",
16199     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16200     "version": "0.0.0",
16201     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16202     "groupTitle": "Mail_Accounts"
16203   },
16204   {
16205     "type": "get",
16206     "url": "/api/mail/accounts",
16207     "title": "Gets a list of Accounts",
16208     "examples": [
16209       {
16210         "title": "Example usage:",
16211         "content": "curl https://{domain}/api/mail/accounts -v -u {name}:{password}",
16212         "type": "json"
16213       }
16214     ],
16215     "name": "GetAccounts",
16216     "group": "Mail_Accounts",
16217     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/mail/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/mail/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/mail/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/mail/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/mail/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
16218     "version": "0.0.0",
16219     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16220     "groupTitle": "Mail_Accounts"
16221   },
16222   {
16223     "type": "get",
16224     "url": "/api/mail/accounts/{id}/users",
16225     "title": "Gets agents from mail account",
16226     "examples": [
16227       {
16228         "title": "Example usage:",
16229         "content": "curl https://{domain}/api/mail/accounts/{id}/users -v -u {name}:{password} -X GET",
16230         "type": "json"
16231       }
16232     ],
16233     "name": "GetAgents",
16234     "group": "Mail_Accounts",
16235     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16236     "version": "0.0.0",
16237     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16238     "groupTitle": "Mail_Accounts"
16239   },
16240   {
16241     "type": "get",
16242     "url": "/api/mail/accounts/{id}/in_servers",
16243     "title": "Gets account IMAP server",
16244     "examples": [
16245       {
16246         "title": "Example usage:",
16247         "content": "curl https://{domain}/api/mail/accounts/{id}/in_servers -v -u {name}:{password} -X GET",
16248         "type": "json"
16249       }
16250     ],
16251     "name": "GetImap",
16252     "group": "Mail_Accounts",
16253     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16254     "version": "0.0.0",
16255     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16256     "groupTitle": "Mail_Accounts"
16257   },
16258   {
16259     "type": "get",
16260     "url": "/GetMailAccount",
16261     "title": "Gets a list of Accounts",
16262     "name": "GetMailAccount",
16263     "group": "Mail_Accounts",
16264     "parameter": {
16265       "fields": {
16266         "Body": [
16267           {
16268             "group": "Body",
16269             "type": "Object",
16270             "optional": true,
16271             "field": "options.attributes",
16272             "description": ""
16273           },
16274           {
16275             "group": "Body",
16276             "type": "Object",
16277             "optional": true,
16278             "field": "options.where",
16279             "description": ""
16280           }
16281         ]
16282       }
16283     },
16284     "version": "0.0.0",
16285     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/mailAccount.rpc.js",
16286     "groupTitle": "Mail_Accounts"
16287   },
16288   {
16289     "type": "get",
16290     "url": "/api/mail/accounts/{id}/out_servers",
16291     "title": "Gets account SMTP server",
16292     "examples": [
16293       {
16294         "title": "Example usage:",
16295         "content": "curl https://{domain}/api/mail/accounts/{id}/out_servers -v -u {name}:{password} -X GET",
16296         "type": "json"
16297       }
16298     ],
16299     "name": "GetSmtp",
16300     "group": "Mail_Accounts",
16301     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16302     "version": "0.0.0",
16303     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16304     "groupTitle": "Mail_Accounts"
16305   },
16306   {
16307     "type": "post",
16308     "url": "/NotifyMailAccount",
16309     "title": "",
16310     "name": "NotifyMailAccount",
16311     "group": "Mail_Accounts",
16312     "version": "0.0.0",
16313     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/mailAccount.rpc.js",
16314     "groupTitle": "Mail_Accounts"
16315   },
16316   {
16317     "type": "delete",
16318     "url": "/api/mail/accounts/{id}/users",
16319     "title": "Removes agents from a mail account",
16320     "examples": [
16321       {
16322         "title": "Example usage:",
16323         "content": "curl https://{domain}/api/mail/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
16324         "type": "json"
16325       }
16326     ],
16327     "name": "RemoveAgents",
16328     "group": "Mail_Accounts",
16329     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16330     "version": "0.0.0",
16331     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16332     "groupTitle": "Mail_Accounts"
16333   },
16334   {
16335     "type": "delete",
16336     "url": "/api/mail/accounts/{id}/canned_answers",
16337     "title": "Removes canned answers from account",
16338     "examples": [
16339       {
16340         "title": "Example usage:",
16341         "content": "curl https://{domain}/api/mail/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
16342         "type": "json"
16343       }
16344     ],
16345     "name": "RemoveAnswers",
16346     "group": "Mail_Accounts",
16347     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16348     "version": "0.0.0",
16349     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16350     "groupTitle": "Mail_Accounts"
16351   },
16352   {
16353     "type": "delete",
16354     "url": "/api/mail/accounts/{id}/dispositions",
16355     "title": "Removes dispositions from account",
16356     "examples": [
16357       {
16358         "title": "Example usage:",
16359         "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
16360         "type": "json"
16361       }
16362     ],
16363     "name": "RemoveDispositions",
16364     "group": "Mail_Accounts",
16365     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16366     "version": "0.0.0",
16367     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16368     "groupTitle": "Mail_Accounts"
16369   },
16370   {
16371     "type": "delete",
16372     "url": "/api/mail/accounts/{id}/in_servers",
16373     "title": "Removes IMAP server from an account",
16374     "examples": [
16375       {
16376         "title": "Example usage:",
16377         "content": "curl https://{domain}/api/mail/accounts/{id}/in_servers -v -u {name}:{password} -X DELETE",
16378         "type": "json"
16379       }
16380     ],
16381     "name": "RemoveImmap",
16382     "group": "Mail_Accounts",
16383     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16384     "version": "0.0.0",
16385     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16386     "groupTitle": "Mail_Accounts"
16387   },
16388   {
16389     "type": "delete",
16390     "url": "/api/mail/accounts/{id}/out_servers",
16391     "title": "Removes SMTP server from an account",
16392     "examples": [
16393       {
16394         "title": "Example usage:",
16395         "content": "curl https://{domain}/api/mail/accounts/{id}/out_servers -v -u {name}:{password} -X DELETE",
16396         "type": "json"
16397       }
16398     ],
16399     "name": "RemoveSmtp",
16400     "group": "Mail_Accounts",
16401     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16402     "version": "0.0.0",
16403     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16404     "groupTitle": "Mail_Accounts"
16405   },
16406   {
16407     "type": "get",
16408     "url": "/api/mail/accounts/{id}",
16409     "title": "Gets a single Account",
16410     "examples": [
16411       {
16412         "title": "Example usage:",
16413         "content": "curl https://{domain}/api/mail/accounts/{id} -v -u {name}:{password}",
16414         "type": "json"
16415       }
16416     ],
16417     "name": "ShowAccounts",
16418     "group": "Mail_Accounts",
16419     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16420     "version": "0.0.0",
16421     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16422     "groupTitle": "Mail_Accounts"
16423   },
16424   {
16425     "type": "get",
16426     "url": "/ShowMailAccount",
16427     "title": "Gets a single Account",
16428     "name": "ShowMailAccount",
16429     "group": "Mail_Accounts",
16430     "parameter": {
16431       "fields": {
16432         "Body": [
16433           {
16434             "group": "Body",
16435             "type": "Object",
16436             "optional": true,
16437             "field": "options.attributes",
16438             "description": ""
16439           },
16440           {
16441             "group": "Body",
16442             "type": "Object",
16443             "optional": false,
16444             "field": "options.where",
16445             "description": ""
16446           }
16447         ]
16448       }
16449     },
16450     "version": "0.0.0",
16451     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/mailAccount.rpc.js",
16452     "groupTitle": "Mail_Accounts"
16453   },
16454   {
16455     "type": "post",
16456     "url": "/api/mail/accounts/{id}/canned_answers",
16457     "title": "Creates new canned answer",
16458     "examples": [
16459       {
16460         "title": "Example usage:",
16461         "content": "curl https://{domain}/api/mail/accounts/{id}/canned_answers -d '{\"name\": \"vip\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16462         "type": "json"
16463       }
16464     ],
16465     "name": "addAnswer",
16466     "group": "Mail_Accounts",
16467     "parameter": {
16468       "fields": {
16469         "Body": [
16470           {
16471             "group": "Body",
16472             "type": "String",
16473             "optional": false,
16474             "field": "key",
16475             "description": ""
16476           },
16477           {
16478             "group": "Body",
16479             "type": "Text",
16480             "optional": false,
16481             "field": "value",
16482             "description": ""
16483           },
16484           {
16485             "group": "Body",
16486             "type": "String",
16487             "optional": true,
16488             "field": "description",
16489             "description": ""
16490           },
16491           {
16492             "group": "Body",
16493             "type": "Virtual",
16494             "optional": true,
16495             "field": "name",
16496             "description": ""
16497           }
16498         ]
16499       }
16500     },
16501     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16502     "version": "0.0.0",
16503     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16504     "groupTitle": "Mail_Accounts"
16505   },
16506   {
16507     "type": "post",
16508     "url": "/api/mail/accounts/{id}/applications",
16509     "title": "Creates new applications",
16510     "examples": [
16511       {
16512         "title": "Example usage:",
16513         "content": "curl https://{domain}/api/mail/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16514         "type": "json"
16515       }
16516     ],
16517     "name": "addApplications",
16518     "group": "Mail_Accounts",
16519     "parameter": {
16520       "fields": {
16521         "Body": [
16522           {
16523             "group": "Body",
16524             "type": "Integer",
16525             "optional": false,
16526             "field": "priority",
16527             "description": ""
16528           },
16529           {
16530             "group": "Body",
16531             "type": "String",
16532             "optional": false,
16533             "field": "app",
16534             "description": ""
16535           },
16536           {
16537             "group": "Body",
16538             "type": "Text",
16539             "optional": true,
16540             "field": "appdata",
16541             "description": ""
16542           },
16543           {
16544             "group": "Body",
16545             "type": "String",
16546             "optional": true,
16547             "field": "description",
16548             "description": ""
16549           },
16550           {
16551             "group": "Body",
16552             "type": "String",
16553             "optional": true,
16554             "field": "interval",
16555             "description": ""
16556           }
16557         ]
16558       }
16559     },
16560     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16561     "version": "0.0.0",
16562     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16563     "groupTitle": "Mail_Accounts"
16564   },
16565   {
16566     "type": "post",
16567     "url": "/api/mail/accounts/{id}/dispositions",
16568     "title": "Creates new disposition",
16569     "examples": [
16570       {
16571         "title": "Example usage:",
16572         "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16573         "type": "json"
16574       }
16575     ],
16576     "name": "addDisposition",
16577     "group": "Mail_Accounts",
16578     "parameter": {
16579       "fields": {
16580         "Body": [
16581           {
16582             "group": "Body",
16583             "type": "String",
16584             "optional": false,
16585             "field": "name",
16586             "description": ""
16587           },
16588           {
16589             "group": "Body",
16590             "type": "String",
16591             "allowedValues": [
16592               "\"first\"",
16593               "\"second\"",
16594               "\"third\""
16595             ],
16596             "optional": false,
16597             "field": "level",
16598             "description": ""
16599           },
16600           {
16601             "group": "Body",
16602             "type": "String",
16603             "optional": true,
16604             "field": "description",
16605             "description": ""
16606           }
16607         ]
16608       }
16609     },
16610     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16611     "version": "0.0.0",
16612     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16613     "groupTitle": "Mail_Accounts"
16614   },
16615   {
16616     "type": "post",
16617     "url": "/api/mail/accounts/{id}/interactions",
16618     "title": "Creates new interactions",
16619     "examples": [
16620       {
16621         "title": "Example usage:",
16622         "content": "curl https://{domain}/api/mail/accounts/{id}/interactions -d '[{\"subject\": \"My printer is on fire!\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16623         "type": "json"
16624       }
16625     ],
16626     "name": "addInteraction",
16627     "group": "Mail_Accounts",
16628     "parameter": {
16629       "fields": {
16630         "Body": [
16631           {
16632             "group": "Body",
16633             "type": "Boolean",
16634             "optional": true,
16635             "field": "closed",
16636             "description": ""
16637           },
16638           {
16639             "group": "Body",
16640             "type": "String",
16641             "optional": true,
16642             "field": "closedAt",
16643             "description": ""
16644           },
16645           {
16646             "group": "Body",
16647             "type": "String",
16648             "optional": true,
16649             "field": "disposition",
16650             "description": ""
16651           },
16652           {
16653             "group": "Body",
16654             "type": "String",
16655             "optional": true,
16656             "field": "secondDisposition",
16657             "description": ""
16658           },
16659           {
16660             "group": "Body",
16661             "type": "String",
16662             "optional": true,
16663             "field": "thirdDisposition",
16664             "description": ""
16665           },
16666           {
16667             "group": "Body",
16668             "type": "String",
16669             "optional": true,
16670             "field": "note",
16671             "description": ""
16672           },
16673           {
16674             "group": "Body",
16675             "type": "String",
16676             "optional": true,
16677             "field": "inReplyTo",
16678             "description": ""
16679           },
16680           {
16681             "group": "Body",
16682             "type": "String",
16683             "optional": true,
16684             "field": "to",
16685             "description": ""
16686           },
16687           {
16688             "group": "Body",
16689             "type": "Text",
16690             "optional": true,
16691             "field": "cc",
16692             "description": ""
16693           },
16694           {
16695             "group": "Body",
16696             "type": "Text",
16697             "optional": true,
16698             "field": "subject",
16699             "description": ""
16700           },
16701           {
16702             "group": "Body",
16703             "type": "Boolean",
16704             "optional": true,
16705             "field": "attach",
16706             "description": ""
16707           },
16708           {
16709             "group": "Body",
16710             "type": "String",
16711             "optional": true,
16712             "field": "read1stAt",
16713             "description": ""
16714           },
16715           {
16716             "group": "Body",
16717             "type": "String",
16718             "optional": true,
16719             "field": "substatus",
16720             "description": ""
16721           },
16722           {
16723             "group": "Body",
16724             "type": "String",
16725             "optional": true,
16726             "field": "substatusAt",
16727             "description": ""
16728           },
16729           {
16730             "group": "Body",
16731             "type": "String",
16732             "allowedValues": [
16733               "\"in\"",
16734               "\"out\""
16735             ],
16736             "optional": false,
16737             "field": "firstMsgDirection",
16738             "description": ""
16739           },
16740           {
16741             "group": "Body",
16742             "type": "String",
16743             "optional": true,
16744             "field": "lastMsgAt",
16745             "description": ""
16746           },
16747           {
16748             "group": "Body",
16749             "type": "String",
16750             "allowedValues": [
16751               "\"in\"",
16752               "\"out\""
16753             ],
16754             "optional": false,
16755             "field": "lastMsgDirection",
16756             "description": ""
16757           },
16758           {
16759             "group": "Body",
16760             "type": "Text",
16761             "optional": true,
16762             "field": "lastMsgBody",
16763             "description": ""
16764           },
16765           {
16766             "group": "Body",
16767             "type": "Text",
16768             "optional": true,
16769             "field": "lastMsgText",
16770             "description": ""
16771           }
16772         ]
16773       }
16774     },
16775     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16776     "version": "0.0.0",
16777     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16778     "groupTitle": "Mail_Accounts"
16779   },
16780   {
16781     "type": "post",
16782     "url": "/api/mail/accounts",
16783     "title": "Create a mail account",
16784     "examples": [
16785       {
16786         "title": "Example usage:",
16787         "content": "curl https://{domain}/api/mail/accounts \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16788         "type": "json"
16789       }
16790     ],
16791     "name": "create",
16792     "group": "Mail_Accounts",
16793     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16794     "version": "0.0.0",
16795     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16796     "groupTitle": "Mail_Accounts"
16797   },
16798   {
16799     "type": "get",
16800     "url": "/api/mail/accounts/{id}/canned_answers",
16801     "title": "Gets account canned answers",
16802     "examples": [
16803       {
16804         "title": "Example usage:",
16805         "content": "curl https://{domain}/api/mail/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
16806         "type": "json"
16807       }
16808     ],
16809     "name": "getAnswers",
16810     "group": "Mail_Accounts",
16811     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16812     "version": "0.0.0",
16813     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16814     "groupTitle": "Mail_Accounts"
16815   },
16816   {
16817     "type": "get",
16818     "url": "/api/mail/accounts/{id}/applications",
16819     "title": "Gets account applications",
16820     "examples": [
16821       {
16822         "title": "Example usage:",
16823         "content": "curl https://{domain}/api/mail/accounts/{id}/applications -v -u {name}:{password} -X GET",
16824         "type": "json"
16825       }
16826     ],
16827     "name": "getApplications",
16828     "group": "Mail_Accounts",
16829     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16830     "version": "0.0.0",
16831     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16832     "groupTitle": "Mail_Accounts"
16833   },
16834   {
16835     "type": "get",
16836     "url": "/api/mail/accounts/{id}/dispositions",
16837     "title": "Gets account dispositions",
16838     "examples": [
16839       {
16840         "title": "Example usage:",
16841         "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
16842         "type": "json"
16843       }
16844     ],
16845     "name": "getDispositions",
16846     "group": "Mail_Accounts",
16847     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16848     "version": "0.0.0",
16849     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16850     "groupTitle": "Mail_Accounts"
16851   },
16852   {
16853     "type": "get",
16854     "url": "/api/mail/accounts/{id}/interactions",
16855     "title": "Gets account interactions",
16856     "examples": [
16857       {
16858         "title": "Example usage:",
16859         "content": "curl https://{domain}/api/mail/accounts/{id}/interactions -v -u {name}:{password} -X GET",
16860         "type": "json"
16861       }
16862     ],
16863     "name": "getInteraction",
16864     "group": "Mail_Accounts",
16865     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16866     "version": "0.0.0",
16867     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16868     "groupTitle": "Mail_Accounts"
16869   },
16870   {
16871     "type": "get",
16872     "url": "/api/mail/accounts/{id}/messages",
16873     "title": "Gets account messages",
16874     "examples": [
16875       {
16876         "title": "Example usage:",
16877         "content": "curl https://{domain}/api/mail/accounts/{id}/messages -v -u {name}:{password} -X GET",
16878         "type": "json"
16879       }
16880     ],
16881     "name": "getMessages",
16882     "group": "Mail_Accounts",
16883     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16884     "version": "0.0.0",
16885     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16886     "groupTitle": "Mail_Accounts"
16887   },
16888   {
16889     "type": "post",
16890     "url": "/api/mail/accounts/{id}/send",
16891     "title": "Send new mail",
16892     "examples": [
16893       {
16894         "title": "Example usage:",
16895         "content": "curl https://{domain}/api/mail/accounts/{id}/send -d '{from: '\"John Doe\" <john.doe@xcally.com>'}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16896         "type": "json"
16897       }
16898     ],
16899     "name": "sendMail",
16900     "group": "Mail_Accounts",
16901     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16902     "version": "0.0.0",
16903     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16904     "groupTitle": "Mail_Accounts"
16905   },
16906   {
16907     "type": "put",
16908     "url": "/api/mail/accounts/{id}",
16909     "title": "Update an existing Account",
16910     "examples": [
16911       {
16912         "title": "Example usage:",
16913         "content": "curl https://{domain}/api/mail/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
16914         "type": "json"
16915       }
16916     ],
16917     "name": "updateAccounts",
16918     "group": "Mail_Accounts",
16919     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16920     "version": "0.0.0",
16921     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16922     "groupTitle": "Mail_Accounts"
16923   },
16924   {
16925     "type": "get",
16926     "url": "/api/mail/accounts/{id}/verify",
16927     "title": "Verify mail account",
16928     "examples": [
16929       {
16930         "title": "Example usage:",
16931         "content": "curl https://{domain}/api/mail/accounts/{id}/verify -v -u {name}:{password} -X GET",
16932         "type": "json"
16933       }
16934     ],
16935     "name": "verifySmtp",
16936     "group": "Mail_Accounts",
16937     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16938     "version": "0.0.0",
16939     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailAccount/index.js",
16940     "groupTitle": "Mail_Accounts"
16941   },
16942   {
16943     "type": "delete",
16944     "url": "/api/mail/applications/{id}",
16945     "title": "Deletes a Application",
16946     "examples": [
16947       {
16948         "title": "Example usage:",
16949         "content": "curl https://{domain}/api/mail/applications/{id} -v -u {name}:{password} -X DELETE",
16950         "type": "json"
16951       }
16952     ],
16953     "name": "DeleteApplications",
16954     "group": "Mail_Applications",
16955     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16956     "version": "0.0.0",
16957     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailApplication/index.js",
16958     "groupTitle": "Mail_Applications"
16959   },
16960   {
16961     "type": "get",
16962     "url": "/api/mail/applications/{id}",
16963     "title": "Gets a single Application",
16964     "examples": [
16965       {
16966         "title": "Example usage:",
16967         "content": "curl https://{domain}/api/mail/applications/{id} -v -u {name}:{password}",
16968         "type": "json"
16969       }
16970     ],
16971     "name": "ShowApplications",
16972     "group": "Mail_Applications",
16973     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16974     "version": "0.0.0",
16975     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailApplication/index.js",
16976     "groupTitle": "Mail_Applications"
16977   },
16978   {
16979     "type": "post",
16980     "url": "/UpdateMailApplication",
16981     "title": "Updates a new Application",
16982     "name": "UpdateMailApplication",
16983     "group": "Mail_Applications",
16984     "parameter": {
16985       "fields": {
16986         "Body": [
16987           {
16988             "group": "Body",
16989             "type": "Object",
16990             "optional": true,
16991             "field": "options.attributes",
16992             "description": ""
16993           },
16994           {
16995             "group": "Body",
16996             "type": "Object",
16997             "optional": false,
16998             "field": "options.where",
16999             "description": ""
17000           }
17001         ]
17002       }
17003     },
17004     "version": "0.0.0",
17005     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailApplication/mailApplication.rpc.js",
17006     "groupTitle": "Mail_Applications"
17007   },
17008   {
17009     "type": "put",
17010     "url": "/api/mail/applications/{id}",
17011     "title": "Update an existing Application",
17012     "examples": [
17013       {
17014         "title": "Example usage:",
17015         "content": "curl https://{domain}/api/mail/applications/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
17016         "type": "json"
17017       }
17018     ],
17019     "name": "updateApplications",
17020     "group": "Mail_Applications",
17021     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17022     "version": "0.0.0",
17023     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailApplication/index.js",
17024     "groupTitle": "Mail_Applications"
17025   },
17026   {
17027     "type": "get",
17028     "url": "/GetMailServerIn",
17029     "title": "Gets a list of IMAPs",
17030     "name": "GetMailServerIn",
17031     "group": "Mail_IMAP",
17032     "parameter": {
17033       "fields": {
17034         "Body": [
17035           {
17036             "group": "Body",
17037             "type": "Object",
17038             "optional": true,
17039             "field": "options.attributes",
17040             "description": ""
17041           },
17042           {
17043             "group": "Body",
17044             "type": "Object",
17045             "optional": true,
17046             "field": "options.where",
17047             "description": ""
17048           }
17049         ]
17050       }
17051     },
17052     "version": "0.0.0",
17053     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailServerIn/mailServerIn.rpc.js",
17054     "groupTitle": "Mail_IMAP"
17055   },
17056   {
17057     "type": "post",
17058     "url": "/api/mail/interactions/{id}/tags",
17059     "title": "Add tags to the interaction",
17060     "examples": [
17061       {
17062         "title": "Example usage:",
17063         "content": "curl https://{domain}/api/mail/interaction/{id}/tags -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
17064         "type": "json"
17065       }
17066     ],
17067     "name": "AddTags",
17068     "group": "Mail_Interactions",
17069     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17070     "version": "0.0.0",
17071     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/index.js",
17072     "groupTitle": "Mail_Interactions"
17073   },
17074   {
17075     "type": "post",
17076     "url": "/AddTagsToMailInteraction",
17077     "title": "Add Tags to Mail interaction",
17078     "name": "AddTagsToMailInteraction",
17079     "group": "Mail_Interactions",
17080     "parameter": {
17081       "fields": {
17082         "Body": [
17083           {
17084             "group": "Body",
17085             "type": "Object",
17086             "optional": true,
17087             "field": "options.attributes",
17088             "description": ""
17089           },
17090           {
17091             "group": "Body",
17092             "type": "Object",
17093             "optional": false,
17094             "field": "options.where",
17095             "description": ""
17096           }
17097         ]
17098       }
17099     },
17100     "version": "0.0.0",
17101     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/mailInteraction.rpc.js",
17102     "groupTitle": "Mail_Interactions"
17103   },
17104   {
17105     "type": "post",
17106     "url": "/api/mail/interactions",
17107     "title": "Creates a new Interaction",
17108     "examples": [
17109       {
17110         "title": "Example usage:",
17111         "content": "curl https://{domain}/api/mail/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
17112         "type": "json"
17113       }
17114     ],
17115     "name": "CreateInteractions",
17116     "group": "Mail_Interactions",
17117     "parameter": {
17118       "fields": {
17119         "Body": [
17120           {
17121             "group": "Body",
17122             "type": "Boolean",
17123             "optional": true,
17124             "field": "closed",
17125             "description": ""
17126           },
17127           {
17128             "group": "Body",
17129             "type": "String",
17130             "optional": true,
17131             "field": "closedAt",
17132             "description": ""
17133           },
17134           {
17135             "group": "Body",
17136             "type": "String",
17137             "optional": true,
17138             "field": "disposition",
17139             "description": ""
17140           },
17141           {
17142             "group": "Body",
17143             "type": "String",
17144             "optional": true,
17145             "field": "secondDisposition",
17146             "description": ""
17147           },
17148           {
17149             "group": "Body",
17150             "type": "String",
17151             "optional": true,
17152             "field": "thirdDisposition",
17153             "description": ""
17154           },
17155           {
17156             "group": "Body",
17157             "type": "String",
17158             "optional": true,
17159             "field": "note",
17160             "description": ""
17161           },
17162           {
17163             "group": "Body",
17164             "type": "String",
17165             "optional": true,
17166             "field": "inReplyTo",
17167             "description": ""
17168           },
17169           {
17170             "group": "Body",
17171             "type": "String",
17172             "optional": true,
17173             "field": "to",
17174             "description": ""
17175           },
17176           {
17177             "group": "Body",
17178             "type": "Text",
17179             "optional": true,
17180             "field": "cc",
17181             "description": ""
17182           },
17183           {
17184             "group": "Body",
17185             "type": "Text",
17186             "optional": true,
17187             "field": "subject",
17188             "description": ""
17189           },
17190           {
17191             "group": "Body",
17192             "type": "Boolean",
17193             "optional": true,
17194             "field": "attach",
17195             "description": ""
17196           },
17197           {
17198             "group": "Body",
17199             "type": "String",
17200             "optional": true,
17201             "field": "read1stAt",
17202             "description": ""
17203           },
17204           {
17205             "group": "Body",
17206             "type": "String",
17207             "optional": true,
17208             "field": "substatus",
17209             "description": ""
17210           },
17211           {
17212             "group": "Body",
17213             "type": "String",
17214             "optional": true,
17215             "field": "substatusAt",
17216             "description": ""
17217           },
17218           {
17219             "group": "Body",
17220             "type": "String",
17221             "allowedValues": [
17222               "\"in\"",
17223               "\"out\""
17224             ],
17225             "optional": false,
17226             "field": "firstMsgDirection",
17227             "description": ""
17228           },
17229           {
17230             "group": "Body",
17231             "type": "String",
17232             "optional": true,
17233             "field": "lastMsgAt",
17234             "description": ""
17235           },
17236           {
17237             "group": "Body",
17238             "type": "String",
17239             "allowedValues": [
17240               "\"in\"",
17241               "\"out\""
17242             ],
17243             "optional": false,
17244             "field": "lastMsgDirection",
17245             "description": ""
17246           },
17247           {
17248             "group": "Body",
17249             "type": "Text",
17250             "optional": true,
17251             "field": "lastMsgBody",
17252             "description": ""
17253           },
17254           {
17255             "group": "Body",
17256             "type": "Text",
17257             "optional": true,
17258             "field": "lastMsgText",
17259             "description": ""
17260           }
17261         ]
17262       }
17263     },
17264     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17265     "version": "0.0.0",
17266     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/index.js",
17267     "groupTitle": "Mail_Interactions"
17268   },
17269   {
17270     "type": "delete",
17271     "url": "/api/mail/interactions/{id}",
17272     "title": "Deletes a Interaction",
17273     "examples": [
17274       {
17275         "title": "Example usage:",
17276         "content": "curl https://{domain}/api/mail/interactions/{id} -v -u {name}:{password} -X DELETE",
17277         "type": "json"
17278       }
17279     ],
17280     "name": "DeleteInteractions",
17281     "group": "Mail_Interactions",
17282     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17283     "version": "0.0.0",
17284     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/index.js",
17285     "groupTitle": "Mail_Interactions"
17286   },
17287   {
17288     "type": "get",
17289     "url": "/api/mail/interactions/describe",
17290     "title": "Gets table info about Interactions",
17291     "examples": [
17292       {
17293         "title": "Example usage:",
17294         "content": "curl https://{domain}/api/mail/interactions/describe -v -u {name}:{password}",
17295         "type": "json"
17296       }
17297     ],
17298     "name": "DescribeInteractions",
17299     "group": "Mail_Interactions",
17300     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17301     "version": "0.0.0",
17302     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/index.js",
17303     "groupTitle": "Mail_Interactions"
17304   },
17305   {
17306     "type": "get",
17307     "url": "/api/mail/interactions",
17308     "title": "Gets a list of Interactions",
17309     "examples": [
17310       {
17311         "title": "Example usage:",
17312         "content": "curl https://{domain}/api/mail/interactions -v -u {name}:{password}",
17313         "type": "json"
17314       }
17315     ],
17316     "name": "GetInteractions",
17317     "group": "Mail_Interactions",
17318     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/mail/interactions?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/mail/interactions?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/mail/interactions?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/mail/interactions?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/mail/interactions?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
17319     "version": "0.0.0",
17320     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/index.js",
17321     "groupTitle": "Mail_Interactions"
17322   },
17323   {
17324     "type": "delete",
17325     "url": "/api/mail/interactions/{id}/tags",
17326     "title": "Removes tags from interaction",
17327     "examples": [
17328       {
17329         "title": "Example usage:",
17330         "content": "curl https://{domain}/api/mail/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
17331         "type": "json"
17332       }
17333     ],
17334     "name": "RemoveTags",
17335     "group": "Mail_Interactions",
17336     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17337     "version": "0.0.0",
17338     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/index.js",
17339     "groupTitle": "Mail_Interactions"
17340   },
17341   {
17342     "type": "get",
17343     "url": "/api/mail/interactions/{id}",
17344     "title": "Gets a single Interaction",
17345     "examples": [
17346       {
17347         "title": "Example usage:",
17348         "content": "curl https://{domain}/api/mail/interactions/{id} -v -u {name}:{password}",
17349         "type": "json"
17350       }
17351     ],
17352     "name": "ShowInteractions",
17353     "group": "Mail_Interactions",
17354     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17355     "version": "0.0.0",
17356     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/index.js",
17357     "groupTitle": "Mail_Interactions"
17358   },
17359   {
17360     "type": "post",
17361     "url": "/UpdateMailInteraction",
17362     "title": "Updates a new Interaction",
17363     "name": "UpdateMailInteraction",
17364     "group": "Mail_Interactions",
17365     "parameter": {
17366       "fields": {
17367         "Body": [
17368           {
17369             "group": "Body",
17370             "type": "Object",
17371             "optional": true,
17372             "field": "options.attributes",
17373             "description": ""
17374           },
17375           {
17376             "group": "Body",
17377             "type": "Object",
17378             "optional": false,
17379             "field": "options.where",
17380             "description": ""
17381           }
17382         ]
17383       }
17384     },
17385     "version": "0.0.0",
17386     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/mailInteraction.rpc.js",
17387     "groupTitle": "Mail_Interactions"
17388   },
17389   {
17390     "type": "post",
17391     "url": "/api/mail/interactions/{id}/messages",
17392     "title": "Creates new message",
17393     "examples": [
17394       {
17395         "title": "Example usage:",
17396         "content": "curl https://{domain}/api/mail/interactions/{id}/messages -d '[{\"to\": \"sales@xcally.com\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
17397         "type": "json"
17398       }
17399     ],
17400     "name": "addMessage",
17401     "group": "Mail_Interactions",
17402     "parameter": {
17403       "fields": {
17404         "Body": [
17405           {
17406             "group": "Body",
17407             "type": "Text",
17408             "optional": false,
17409             "field": "body",
17410             "description": ""
17411           },
17412           {
17413             "group": "Body",
17414             "type": "Text",
17415             "optional": true,
17416             "field": "plainBody",
17417             "description": ""
17418           },
17419           {
17420             "group": "Body",
17421             "type": "Boolean",
17422             "optional": true,
17423             "field": "read",
17424             "description": ""
17425           },
17426           {
17427             "group": "Body",
17428             "type": "String",
17429             "allowedValues": [
17430               "\"in\"",
17431               "\"out\""
17432             ],
17433             "optional": false,
17434             "field": "direction",
17435             "description": ""
17436           },
17437           {
17438             "group": "Body",
17439             "type": "String",
17440             "optional": true,
17441             "field": "messageId",
17442             "description": ""
17443           },
17444           {
17445             "group": "Body",
17446             "type": "String",
17447             "optional": true,
17448             "field": "from",
17449             "description": ""
17450           },
17451           {
17452             "group": "Body",
17453             "type": "Text",
17454             "optional": true,
17455             "field": "to",
17456             "description": ""
17457           },
17458           {
17459             "group": "Body",
17460             "type": "Text",
17461             "optional": true,
17462             "field": "cc",
17463             "description": ""
17464           },
17465           {
17466             "group": "Body",
17467             "type": "Text",
17468             "optional": true,
17469             "field": "bcc",
17470             "description": ""
17471           },
17472           {
17473             "group": "Body",
17474             "type": "Text",
17475             "optional": true,
17476             "field": "subject",
17477             "description": ""
17478           },
17479           {
17480             "group": "Body",
17481             "type": "String",
17482             "optional": true,
17483             "field": "sentAt",
17484             "description": ""
17485           },
17486           {
17487             "group": "Body",
17488             "type": "Integer",
17489             "optional": true,
17490             "field": "attach",
17491             "description": ""
17492           },
17493           {
17494             "group": "Body",
17495             "type": "Boolean",
17496             "optional": true,
17497             "field": "secret",
17498             "description": ""
17499           },
17500           {
17501             "group": "Body",
17502             "type": "String",
17503             "optional": true,
17504             "field": "readAt",
17505             "description": ""
17506           },
17507           {
17508             "group": "Body",
17509             "type": "Text",
17510             "optional": true,
17511             "field": "originTo",
17512             "description": ""
17513           },
17514           {
17515             "group": "Body",
17516             "type": "Text",
17517             "optional": true,
17518             "field": "originCc",
17519             "description": ""
17520           }
17521         ]
17522       }
17523     },
17524     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17525     "version": "0.0.0",
17526     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/index.js",
17527     "groupTitle": "Mail_Interactions"
17528   },
17529   {
17530     "type": "get",
17531     "url": "/api/mail/interactions/{id}/download",
17532     "title": "Gets interaction",
17533     "examples": [
17534       {
17535         "title": "Example usage:",
17536         "content": "curl https://{domain}/api/mail/interactions/{id}/download -v -u {name}:{password} -X GET",
17537         "type": "json"
17538       }
17539     ],
17540     "name": "download",
17541     "group": "Mail_Interactions",
17542     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17543     "version": "0.0.0",
17544     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/index.js",
17545     "groupTitle": "Mail_Interactions"
17546   },
17547   {
17548     "type": "get",
17549     "url": "/api/mail/interactions/{id}/messages",
17550     "title": "Gets interaction messages",
17551     "examples": [
17552       {
17553         "title": "Example usage:",
17554         "content": "curl https://{domain}/api/mail/interactions/{id}/messages -v -u {name}:{password} -X GET",
17555         "type": "json"
17556       }
17557     ],
17558     "name": "getMessages",
17559     "group": "Mail_Interactions",
17560     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17561     "version": "0.0.0",
17562     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/index.js",
17563     "groupTitle": "Mail_Interactions"
17564   },
17565   {
17566     "type": "put",
17567     "url": "/api/mail/interactions/{id}",
17568     "title": "Update an existing Interaction",
17569     "examples": [
17570       {
17571         "title": "Example usage:",
17572         "content": "curl https://{domain}/api/mail/interactions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
17573         "type": "json"
17574       }
17575     ],
17576     "name": "updateInteractions",
17577     "group": "Mail_Interactions",
17578     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17579     "version": "0.0.0",
17580     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailInteraction/index.js",
17581     "groupTitle": "Mail_Interactions"
17582   },
17583   {
17584     "type": "post",
17585     "url": "/CreateMailMessage",
17586     "title": "Creates a new Message",
17587     "name": "CreateMailMessage",
17588     "group": "Mail_Messages",
17589     "version": "0.0.0",
17590     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailMessage/mailMessage.rpc.js",
17591     "groupTitle": "Mail_Messages"
17592   },
17593   {
17594     "type": "delete",
17595     "url": "/api/mail/messages/{id}",
17596     "title": "Deletes a Message",
17597     "examples": [
17598       {
17599         "title": "Example usage:",
17600         "content": "curl https://{domain}/api/mail/messages/{id} -v -u {name}:{password} -X DELETE",
17601         "type": "json"
17602       }
17603     ],
17604     "name": "DeleteMessages",
17605     "group": "Mail_Messages",
17606     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17607     "version": "0.0.0",
17608     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailMessage/index.js",
17609     "groupTitle": "Mail_Messages"
17610   },
17611   {
17612     "type": "get",
17613     "url": "/api/mail/messages/describe",
17614     "title": "Gets table info about Messages",
17615     "examples": [
17616       {
17617         "title": "Example usage:",
17618         "content": "curl https://{domain}/api/mail/messages/describe -v -u {name}:{password}",
17619         "type": "json"
17620       }
17621     ],
17622     "name": "DescribeMessages",
17623     "group": "Mail_Messages",
17624     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17625     "version": "0.0.0",
17626     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailMessage/index.js",
17627     "groupTitle": "Mail_Messages"
17628   },
17629   {
17630     "type": "get",
17631     "url": "/api/mail/messages",
17632     "title": "Gets a list of Messages",
17633     "examples": [
17634       {
17635         "title": "Example usage:",
17636         "content": "curl https://{domain}/api/mail/messages -v -u {name}:{password}",
17637         "type": "json"
17638       }
17639     ],
17640     "name": "GetMessages",
17641     "group": "Mail_Messages",
17642     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/mail/messages?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/mail/messages?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/mail/messages?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/mail/messages?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/mail/messages?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
17643     "version": "0.0.0",
17644     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailMessage/index.js",
17645     "groupTitle": "Mail_Messages"
17646   },
17647   {
17648     "type": "get",
17649     "url": "/api/mail/messages/{id}",
17650     "title": "Gets a single Message",
17651     "examples": [
17652       {
17653         "title": "Example usage:",
17654         "content": "curl https://{domain}/api/mail/messages/{id} -v -u {name}:{password}",
17655         "type": "json"
17656       }
17657     ],
17658     "name": "ShowMessages",
17659     "group": "Mail_Messages",
17660     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17661     "version": "0.0.0",
17662     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailMessage/index.js",
17663     "groupTitle": "Mail_Messages"
17664   },
17665   {
17666     "type": "put",
17667     "url": "/api/mail/messages/{id}/accept",
17668     "title": "Accepts message",
17669     "examples": [
17670       {
17671         "title": "Example usage:",
17672         "content": "curl https://{domain}/api/mail/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
17673         "type": "json"
17674       }
17675     ],
17676     "name": "acceptMessage",
17677     "group": "Mail_Messages",
17678     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17679     "version": "0.0.0",
17680     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailMessage/index.js",
17681     "groupTitle": "Mail_Messages"
17682   },
17683   {
17684     "type": "post",
17685     "url": "/api/mail/messages",
17686     "title": "Create a message",
17687     "examples": [
17688       {
17689         "title": "Example usage:",
17690         "content": "curl https://{domain}/api/mail/messages \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
17691         "type": "json"
17692       }
17693     ],
17694     "name": "createMessage",
17695     "group": "Mail_Messages",
17696     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17697     "version": "0.0.0",
17698     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailMessage/index.js",
17699     "groupTitle": "Mail_Messages"
17700   },
17701   {
17702     "type": "get",
17703     "url": "/api/mail/messages/{id}/download",
17704     "title": "Gets message",
17705     "examples": [
17706       {
17707         "title": "Example usage:",
17708         "content": "curl https://{domain}/api/mail/messages/{id}/download -v -u {name}:{password} -X GET",
17709         "type": "json"
17710       }
17711     ],
17712     "name": "download",
17713     "group": "Mail_Messages",
17714     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17715     "version": "0.0.0",
17716     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailMessage/index.js",
17717     "groupTitle": "Mail_Messages"
17718   },
17719   {
17720     "type": "put",
17721     "url": "/api/mail/messages/{id}/reject",
17722     "title": "Rejects message",
17723     "examples": [
17724       {
17725         "title": "Example usage:",
17726         "content": "curl https://{domain}/api/mail/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
17727         "type": "json"
17728       }
17729     ],
17730     "name": "rejectMessage",
17731     "group": "Mail_Messages",
17732     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17733     "version": "0.0.0",
17734     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailMessage/index.js",
17735     "groupTitle": "Mail_Messages"
17736   },
17737   {
17738     "type": "put",
17739     "url": "/api/mail/messages/{id}",
17740     "title": "Update an existing Message",
17741     "examples": [
17742       {
17743         "title": "Example usage:",
17744         "content": "curl https://{domain}/api/mail/messages/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
17745         "type": "json"
17746       }
17747     ],
17748     "name": "updateMessages",
17749     "group": "Mail_Messages",
17750     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17751     "version": "0.0.0",
17752     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailMessage/index.js",
17753     "groupTitle": "Mail_Messages"
17754   },
17755   {
17756     "type": "post",
17757     "url": "/CreateMailQueueReport",
17758     "title": "Creates a new Mail Queue Report",
17759     "name": "CreateMailQueueReport",
17760     "group": "Mail_Queue_Reports",
17761     "version": "0.0.0",
17762     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueueReport/mailQueueReport.rpc.js",
17763     "groupTitle": "Mail_Queue_Reports"
17764   },
17765   {
17766     "type": "post",
17767     "url": "/api/mail/reports/queue",
17768     "title": "Creates a new Mail Queue Report",
17769     "examples": [
17770       {
17771         "title": "Example usage:",
17772         "content": "curl https://{domain}/api/mail/reports/queue -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
17773         "type": "json"
17774       }
17775     ],
17776     "name": "CreateMail_Queue_Reports",
17777     "group": "Mail_Queue_Reports",
17778     "parameter": {
17779       "fields": {
17780         "Body": [
17781           {
17782             "group": "Body",
17783             "type": "String",
17784             "optional": false,
17785             "field": "uniqueid",
17786             "description": ""
17787           },
17788           {
17789             "group": "Body",
17790             "type": "String",
17791             "optional": true,
17792             "field": "from",
17793             "description": ""
17794           },
17795           {
17796             "group": "Body",
17797             "type": "String",
17798             "optional": true,
17799             "field": "joinAt",
17800             "description": ""
17801           },
17802           {
17803             "group": "Body",
17804             "type": "String",
17805             "optional": true,
17806             "field": "leaveAt",
17807             "description": ""
17808           },
17809           {
17810             "group": "Body",
17811             "type": "String",
17812             "optional": true,
17813             "field": "acceptAt",
17814             "description": ""
17815           },
17816           {
17817             "group": "Body",
17818             "type": "String",
17819             "optional": true,
17820             "field": "exitAt",
17821             "description": ""
17822           },
17823           {
17824             "group": "Body",
17825             "type": "String",
17826             "optional": true,
17827             "field": "reason",
17828             "description": ""
17829           }
17830         ]
17831       }
17832     },
17833     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17834     "version": "0.0.0",
17835     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueueReport/index.js",
17836     "groupTitle": "Mail_Queue_Reports"
17837   },
17838   {
17839     "type": "delete",
17840     "url": "/api/mail/reports/queue/{id}",
17841     "title": "Deletes a Mail Queue Report",
17842     "examples": [
17843       {
17844         "title": "Example usage:",
17845         "content": "curl https://{domain}/api/mail/reports/queue/{id} -v -u {name}:{password} -X DELETE",
17846         "type": "json"
17847       }
17848     ],
17849     "name": "DeleteMail_Queue_Reports",
17850     "group": "Mail_Queue_Reports",
17851     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17852     "version": "0.0.0",
17853     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueueReport/index.js",
17854     "groupTitle": "Mail_Queue_Reports"
17855   },
17856   {
17857     "type": "get",
17858     "url": "/api/mail/reports/queue/describe",
17859     "title": "Gets table info about Mail Queue Reports",
17860     "examples": [
17861       {
17862         "title": "Example usage:",
17863         "content": "curl https://{domain}/api/mail/reports/queue/describe -v -u {name}:{password}",
17864         "type": "json"
17865       }
17866     ],
17867     "name": "DescribeMail_Queue_Reports",
17868     "group": "Mail_Queue_Reports",
17869     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17870     "version": "0.0.0",
17871     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueueReport/index.js",
17872     "groupTitle": "Mail_Queue_Reports"
17873   },
17874   {
17875     "type": "get",
17876     "url": "/api/mail/reports/queue",
17877     "title": "Gets a list of Mail Queue Reports",
17878     "examples": [
17879       {
17880         "title": "Example usage:",
17881         "content": "curl https://{domain}/api/mail/reports/queue -v -u {name}:{password}",
17882         "type": "json"
17883       }
17884     ],
17885     "name": "GetMail_Queue_Reports",
17886     "group": "Mail_Queue_Reports",
17887     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/mail/reports/queue?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/mail/reports/queue?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/mail/reports/queue?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/mail/reports/queue?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/mail/reports/queue?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
17888     "version": "0.0.0",
17889     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueueReport/index.js",
17890     "groupTitle": "Mail_Queue_Reports"
17891   },
17892   {
17893     "type": "get",
17894     "url": "/api/mail/reports/queue/{id}",
17895     "title": "Gets a single Mail Queue Report",
17896     "examples": [
17897       {
17898         "title": "Example usage:",
17899         "content": "curl https://{domain}/api/mail/reports/queue/{id} -v -u {name}:{password}",
17900         "type": "json"
17901       }
17902     ],
17903     "name": "ShowMail_Queue_Reports",
17904     "group": "Mail_Queue_Reports",
17905     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17906     "version": "0.0.0",
17907     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueueReport/index.js",
17908     "groupTitle": "Mail_Queue_Reports"
17909   },
17910   {
17911     "type": "post",
17912     "url": "/UpdateMailQueueReport",
17913     "title": "Updates a new Mail Queue Report",
17914     "name": "UpdateMailQueueReport",
17915     "group": "Mail_Queue_Reports",
17916     "parameter": {
17917       "fields": {
17918         "Body": [
17919           {
17920             "group": "Body",
17921             "type": "Object",
17922             "optional": true,
17923             "field": "options.attributes",
17924             "description": ""
17925           },
17926           {
17927             "group": "Body",
17928             "type": "Object",
17929             "optional": false,
17930             "field": "options.where",
17931             "description": ""
17932           }
17933         ]
17934       }
17935     },
17936     "version": "0.0.0",
17937     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueueReport/mailQueueReport.rpc.js",
17938     "groupTitle": "Mail_Queue_Reports"
17939   },
17940   {
17941     "type": "put",
17942     "url": "/api/mail/reports/queue/{id}",
17943     "title": "Update an existing Mail Queue Report",
17944     "examples": [
17945       {
17946         "title": "Example usage:",
17947         "content": "curl https://{domain}/api/mail/reports/queue/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
17948         "type": "json"
17949       }
17950     ],
17951     "name": "updateMail_Queue_Reports",
17952     "group": "Mail_Queue_Reports",
17953     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17954     "version": "0.0.0",
17955     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueueReport/index.js",
17956     "groupTitle": "Mail_Queue_Reports"
17957   },
17958   {
17959     "type": "post",
17960     "url": "/api/mail/queues/{id}/users",
17961     "title": "Add agents to a queue",
17962     "examples": [
17963       {
17964         "title": "Example usage:",
17965         "content": "curl https://{domain}/api/mail/queues/{id}/users -d '{\"ids\": [1,2], \"penalty\": 2}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
17966         "type": "json"
17967       }
17968     ],
17969     "name": "AddAgents",
17970     "group": "Mail_Queues",
17971     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17972     "version": "0.0.0",
17973     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
17974     "groupTitle": "Mail_Queues"
17975   },
17976   {
17977     "type": "post",
17978     "url": "/api/mail/queues/{id}/teams",
17979     "title": "Add teams to a queue",
17980     "examples": [
17981       {
17982         "title": "Example usage:",
17983         "content": "curl https://{domain}/api/mail/queues/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
17984         "type": "json"
17985       }
17986     ],
17987     "name": "AddTeams",
17988     "group": "Mail_Queues",
17989     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17990     "version": "0.0.0",
17991     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
17992     "groupTitle": "Mail_Queues"
17993   },
17994   {
17995     "type": "post",
17996     "url": "/api/mail/queues",
17997     "title": "Creates a new Queue",
17998     "examples": [
17999       {
18000         "title": "Example usage:",
18001         "content": "curl https://{domain}/api/mail/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18002         "type": "json"
18003       }
18004     ],
18005     "name": "CreateQueues",
18006     "group": "Mail_Queues",
18007     "parameter": {
18008       "fields": {
18009         "Body": [
18010           {
18011             "group": "Body",
18012             "type": "String",
18013             "optional": true,
18014             "field": "name",
18015             "description": ""
18016           },
18017           {
18018             "group": "Body",
18019             "type": "String",
18020             "optional": true,
18021             "field": "description",
18022             "description": ""
18023           },
18024           {
18025             "group": "Body",
18026             "type": "Integer",
18027             "optional": true,
18028             "field": "timeout",
18029             "description": ""
18030           },
18031           {
18032             "group": "Body",
18033             "type": "String",
18034             "allowedValues": [
18035               "\"rrmemory\"",
18036               "\"beepall\"",
18037               "\"roundrobin\""
18038             ],
18039             "optional": true,
18040             "field": "strategy",
18041             "description": ""
18042           }
18043         ]
18044       }
18045     },
18046     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18047     "version": "0.0.0",
18048     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
18049     "groupTitle": "Mail_Queues"
18050   },
18051   {
18052     "type": "delete",
18053     "url": "/api/mail/queues/{id}",
18054     "title": "Deletes a Queue",
18055     "examples": [
18056       {
18057         "title": "Example usage:",
18058         "content": "curl https://{domain}/api/mail/queues/{id} -v -u {name}:{password} -X DELETE",
18059         "type": "json"
18060       }
18061     ],
18062     "name": "DeleteQueues",
18063     "group": "Mail_Queues",
18064     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18065     "version": "0.0.0",
18066     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
18067     "groupTitle": "Mail_Queues"
18068   },
18069   {
18070     "type": "get",
18071     "url": "/api/mail/queues/describe",
18072     "title": "Gets table info about Queues",
18073     "examples": [
18074       {
18075         "title": "Example usage:",
18076         "content": "curl https://{domain}/api/mail/queues/describe -v -u {name}:{password}",
18077         "type": "json"
18078       }
18079     ],
18080     "name": "DescribeQueues",
18081     "group": "Mail_Queues",
18082     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18083     "version": "0.0.0",
18084     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
18085     "groupTitle": "Mail_Queues"
18086   },
18087   {
18088     "type": "get",
18089     "url": "/api/mail/queues/{id}/users",
18090     "title": "Gets queue agents",
18091     "examples": [
18092       {
18093         "title": "Example usage:",
18094         "content": "curl https://{domain}/api/mail/queues/{id}/users -v -u {name}:{password} -X POST",
18095         "type": "json"
18096       }
18097     ],
18098     "name": "GetAgents",
18099     "group": "Mail_Queues",
18100     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18101     "version": "0.0.0",
18102     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
18103     "groupTitle": "Mail_Queues"
18104   },
18105   {
18106     "type": "get",
18107     "url": "/GetMailQueue",
18108     "title": "Gets a list of Queues",
18109     "name": "GetMailQueue",
18110     "group": "Mail_Queues",
18111     "parameter": {
18112       "fields": {
18113         "Body": [
18114           {
18115             "group": "Body",
18116             "type": "Object",
18117             "optional": true,
18118             "field": "options.attributes",
18119             "description": ""
18120           },
18121           {
18122             "group": "Body",
18123             "type": "Object",
18124             "optional": true,
18125             "field": "options.where",
18126             "description": ""
18127           }
18128         ]
18129       }
18130     },
18131     "version": "0.0.0",
18132     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/mailQueue.rpc.js",
18133     "groupTitle": "Mail_Queues"
18134   },
18135   {
18136     "type": "get",
18137     "url": "/api/mail/queues/{id}/members",
18138     "title": "GetMembers",
18139     "examples": [
18140       {
18141         "title": "Example usage:",
18142         "content": "curl https://{domain}/api/mail/queues/{id}/members  -v -u {name}:{password}",
18143         "type": "json"
18144       }
18145     ],
18146     "name": "GetMembers",
18147     "group": "Mail_Queues",
18148     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18149     "version": "0.0.0",
18150     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
18151     "groupTitle": "Mail_Queues"
18152   },
18153   {
18154     "type": "get",
18155     "url": "/api/mail/queues",
18156     "title": "Gets a list of Queues",
18157     "examples": [
18158       {
18159         "title": "Example usage:",
18160         "content": "curl https://{domain}/api/mail/queues -v -u {name}:{password}",
18161         "type": "json"
18162       }
18163     ],
18164     "name": "GetQueues",
18165     "group": "Mail_Queues",
18166     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/mail/queues?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/mail/queues?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/mail/queues?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/mail/queues?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/mail/queues?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
18167     "version": "0.0.0",
18168     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
18169     "groupTitle": "Mail_Queues"
18170   },
18171   {
18172     "type": "get",
18173     "url": "/api/mail/queues/{id}/teams",
18174     "title": "Gets queues list",
18175     "examples": [
18176       {
18177         "title": "Example usage:",
18178         "content": "curl https://{domain}/api/mail/queues/{id}/teams -v -u {name}:{password}",
18179         "type": "json"
18180       }
18181     ],
18182     "name": "GetTeams",
18183     "group": "Mail_Queues",
18184     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18185     "version": "0.0.0",
18186     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
18187     "groupTitle": "Mail_Queues"
18188   },
18189   {
18190     "type": "delete",
18191     "url": "/api/mail/queues/{id}/users",
18192     "title": "Removes agents from a queue",
18193     "examples": [
18194       {
18195         "title": "Example usage:",
18196         "content": "curl https://{domain}/api/mail/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
18197         "type": "json"
18198       }
18199     ],
18200     "name": "RemoveAgents",
18201     "group": "Mail_Queues",
18202     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18203     "version": "0.0.0",
18204     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
18205     "groupTitle": "Mail_Queues"
18206   },
18207   {
18208     "type": "get",
18209     "url": "/ShowMailQueue",
18210     "title": "Gets a single Queue",
18211     "name": "ShowMailQueue",
18212     "group": "Mail_Queues",
18213     "parameter": {
18214       "fields": {
18215         "Body": [
18216           {
18217             "group": "Body",
18218             "type": "Object",
18219             "optional": true,
18220             "field": "options.attributes",
18221             "description": ""
18222           },
18223           {
18224             "group": "Body",
18225             "type": "Object",
18226             "optional": false,
18227             "field": "options.where",
18228             "description": ""
18229           }
18230         ]
18231       }
18232     },
18233     "version": "0.0.0",
18234     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/mailQueue.rpc.js",
18235     "groupTitle": "Mail_Queues"
18236   },
18237   {
18238     "type": "get",
18239     "url": "/api/mail/queues/{id}",
18240     "title": "Gets a single Queue",
18241     "examples": [
18242       {
18243         "title": "Example usage:",
18244         "content": "curl https://{domain}/api/mail/queues/{id} -v -u {name}:{password}",
18245         "type": "json"
18246       }
18247     ],
18248     "name": "ShowQueues",
18249     "group": "Mail_Queues",
18250     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18251     "version": "0.0.0",
18252     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
18253     "groupTitle": "Mail_Queues"
18254   },
18255   {
18256     "type": "put",
18257     "url": "/api/mail/queues/{id}",
18258     "title": "Update an existing Queue",
18259     "examples": [
18260       {
18261         "title": "Example usage:",
18262         "content": "curl https://{domain}/api/mail/queues/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
18263         "type": "json"
18264       }
18265     ],
18266     "name": "updateQueues",
18267     "group": "Mail_Queues",
18268     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18269     "version": "0.0.0",
18270     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
18271     "groupTitle": "Mail_Queues"
18272   },
18273   {
18274     "type": "post",
18275     "url": "/api/mail/out_servers",
18276     "title": "Creates a new SMTP",
18277     "examples": [
18278       {
18279         "title": "Example usage:",
18280         "content": "curl https://{domain}/api/mail/out_servers -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18281         "type": "json"
18282       }
18283     ],
18284     "name": "CreateSMTPs",
18285     "group": "Mail_SMTP",
18286     "parameter": {
18287       "fields": {
18288         "Body": [
18289           {
18290             "group": "Body",
18291             "type": "String",
18292             "optional": true,
18293             "field": "description",
18294             "description": ""
18295           },
18296           {
18297             "group": "Body",
18298             "type": "String",
18299             "optional": true,
18300             "field": "host",
18301             "description": ""
18302           },
18303           {
18304             "group": "Body",
18305             "type": "String",
18306             "optional": true,
18307             "field": "user",
18308             "description": ""
18309           },
18310           {
18311             "group": "Body",
18312             "type": "String",
18313             "optional": true,
18314             "field": "pass",
18315             "description": ""
18316           },
18317           {
18318             "group": "Body",
18319             "type": "Integer",
18320             "optional": true,
18321             "field": "port",
18322             "description": ""
18323           },
18324           {
18325             "group": "Body",
18326             "type": "Boolean",
18327             "optional": true,
18328             "field": "secure",
18329             "description": ""
18330           },
18331           {
18332             "group": "Body",
18333             "type": "String",
18334             "optional": true,
18335             "field": "service",
18336             "description": ""
18337           },
18338           {
18339             "group": "Body",
18340             "type": "Boolean",
18341             "optional": true,
18342             "field": "authentication",
18343             "description": ""
18344           }
18345         ]
18346       }
18347     },
18348     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18349     "version": "0.0.0",
18350     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailServerOut/index.js",
18351     "groupTitle": "Mail_SMTP"
18352   },
18353   {
18354     "type": "delete",
18355     "url": "/api/mail/out_servers/{id}",
18356     "title": "Deletes a SMTP",
18357     "examples": [
18358       {
18359         "title": "Example usage:",
18360         "content": "curl https://{domain}/api/mail/out_servers/{id} -v -u {name}:{password} -X DELETE",
18361         "type": "json"
18362       }
18363     ],
18364     "name": "DeleteSMTPs",
18365     "group": "Mail_SMTP",
18366     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18367     "version": "0.0.0",
18368     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailServerOut/index.js",
18369     "groupTitle": "Mail_SMTP"
18370   },
18371   {
18372     "type": "get",
18373     "url": "/api/mail/out_servers",
18374     "title": "Gets a list of SMTPs",
18375     "examples": [
18376       {
18377         "title": "Example usage:",
18378         "content": "curl https://{domain}/api/mail/out_servers -v -u {name}:{password}",
18379         "type": "json"
18380       }
18381     ],
18382     "name": "GetSMTPs",
18383     "group": "Mail_SMTP",
18384     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/mail/out_servers?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/mail/out_servers?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/mail/out_servers?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/mail/out_servers?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/mail/out_servers?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
18385     "version": "0.0.0",
18386     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailServerOut/index.js",
18387     "groupTitle": "Mail_SMTP"
18388   },
18389   {
18390     "type": "get",
18391     "url": "/api/mail/out_servers/{id}",
18392     "title": "Gets a single SMTP",
18393     "examples": [
18394       {
18395         "title": "Example usage:",
18396         "content": "curl https://{domain}/api/mail/out_servers/{id} -v -u {name}:{password}",
18397         "type": "json"
18398       }
18399     ],
18400     "name": "ShowSMTPs",
18401     "group": "Mail_SMTP",
18402     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18403     "version": "0.0.0",
18404     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailServerOut/index.js",
18405     "groupTitle": "Mail_SMTP"
18406   },
18407   {
18408     "type": "put",
18409     "url": "/api/mail/out_servers/{id}",
18410     "title": "Update an existing SMTP",
18411     "examples": [
18412       {
18413         "title": "Example usage:",
18414         "content": "curl https://{domain}/api/mail/out_servers/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
18415         "type": "json"
18416       }
18417     ],
18418     "name": "updateSMTPs",
18419     "group": "Mail_SMTP",
18420     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18421     "version": "0.0.0",
18422     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailServerOut/index.js",
18423     "groupTitle": "Mail_SMTP"
18424   },
18425   {
18426     "type": "post",
18427     "url": "/api/mail/substatuses",
18428     "title": "Creates a new Queue",
18429     "examples": [
18430       {
18431         "title": "Example usage:",
18432         "content": "curl https://{domain}/api/mail/substatuses -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18433         "type": "json"
18434       }
18435     ],
18436     "name": "CreateSubstatuses",
18437     "group": "Mail_Substatuses",
18438     "parameter": {
18439       "fields": {
18440         "Body": [
18441           {
18442             "group": "Body",
18443             "type": "String",
18444             "optional": false,
18445             "field": "name",
18446             "description": ""
18447           },
18448           {
18449             "group": "Body",
18450             "type": "String",
18451             "optional": true,
18452             "field": "description",
18453             "description": ""
18454           }
18455         ]
18456       }
18457     },
18458     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18459     "version": "0.0.0",
18460     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailSubstatus/index.js",
18461     "groupTitle": "Mail_Substatuses"
18462   },
18463   {
18464     "type": "delete",
18465     "url": "/api/mail/substatuses/{id}",
18466     "title": "Deletes a Queue",
18467     "examples": [
18468       {
18469         "title": "Example usage:",
18470         "content": "curl https://{domain}/api/mail/substatuses/{id} -v -u {name}:{password} -X DELETE",
18471         "type": "json"
18472       }
18473     ],
18474     "name": "DeleteSubstatuses",
18475     "group": "Mail_Substatuses",
18476     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18477     "version": "0.0.0",
18478     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailSubstatus/index.js",
18479     "groupTitle": "Mail_Substatuses"
18480   },
18481   {
18482     "type": "get",
18483     "url": "/api/mail/substatuses/describe",
18484     "title": "Gets table info about Substatuses",
18485     "examples": [
18486       {
18487         "title": "Example usage:",
18488         "content": "curl https://{domain}/api/mail/substatuses/describe -v -u {name}:{password}",
18489         "type": "json"
18490       }
18491     ],
18492     "name": "DescribeSubstatuses",
18493     "group": "Mail_Substatuses",
18494     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18495     "version": "0.0.0",
18496     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailSubstatus/index.js",
18497     "groupTitle": "Mail_Substatuses"
18498   },
18499   {
18500     "type": "get",
18501     "url": "/api/mail/substatuses",
18502     "title": "Gets a list of Substatuses",
18503     "examples": [
18504       {
18505         "title": "Example usage:",
18506         "content": "curl https://{domain}/api/mail/substatuses -v -u {name}:{password}",
18507         "type": "json"
18508       }
18509     ],
18510     "name": "GetSubstatuses",
18511     "group": "Mail_Substatuses",
18512     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/mail/substatuses?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/mail/substatuses?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/mail/substatuses?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/mail/substatuses?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/mail/substatuses?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
18513     "version": "0.0.0",
18514     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailSubstatus/index.js",
18515     "groupTitle": "Mail_Substatuses"
18516   },
18517   {
18518     "type": "get",
18519     "url": "/api/mail/substatuses/{id}",
18520     "title": "Gets a single Queue",
18521     "examples": [
18522       {
18523         "title": "Example usage:",
18524         "content": "curl https://{domain}/api/mail/substatuses/{id} -v -u {name}:{password}",
18525         "type": "json"
18526       }
18527     ],
18528     "name": "ShowSubstatuses",
18529     "group": "Mail_Substatuses",
18530     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18531     "version": "0.0.0",
18532     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailSubstatus/index.js",
18533     "groupTitle": "Mail_Substatuses"
18534   },
18535   {
18536     "type": "put",
18537     "url": "/api/mail/substatuses/{id}",
18538     "title": "Update an existing Queue",
18539     "examples": [
18540       {
18541         "title": "Example usage:",
18542         "content": "curl https://{domain}/api/mail/substatuses/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
18543         "type": "json"
18544       }
18545     ],
18546     "name": "updateSubstatuses",
18547     "group": "Mail_Substatuses",
18548     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18549     "version": "0.0.0",
18550     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailSubstatus/index.js",
18551     "groupTitle": "Mail_Substatuses"
18552   },
18553   {
18554     "type": "post",
18555     "url": "/api/mail/reports/transfer",
18556     "title": "Creates a new Mail Transfer Report",
18557     "examples": [
18558       {
18559         "title": "Example usage:",
18560         "content": "curl https://{domain}/api/mail/reports/transfer -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18561         "type": "json"
18562       }
18563     ],
18564     "name": "CreateMail_Transfer_Reports",
18565     "group": "Mail_Transfer_Reports",
18566     "parameter": {
18567       "fields": {
18568         "Body": [
18569           {
18570             "group": "Body",
18571             "type": "String",
18572             "optional": false,
18573             "field": "uniqueid",
18574             "description": ""
18575           },
18576           {
18577             "group": "Body",
18578             "type": "String",
18579             "allowedValues": [
18580               "\"account\"",
18581               "\"agent\"",
18582               "\"queue\""
18583             ],
18584             "optional": false,
18585             "field": "type",
18586             "description": ""
18587           },
18588           {
18589             "group": "Body",
18590             "type": "String",
18591             "optional": false,
18592             "field": "transferredAt",
18593             "description": ""
18594           }
18595         ]
18596       }
18597     },
18598     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18599     "version": "0.0.0",
18600     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailTransferReport/index.js",
18601     "groupTitle": "Mail_Transfer_Reports"
18602   },
18603   {
18604     "type": "delete",
18605     "url": "/api/mail/reports/transfer/{id}",
18606     "title": "Deletes a Mail Transfer Report",
18607     "examples": [
18608       {
18609         "title": "Example usage:",
18610         "content": "curl https://{domain}/api/mail/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
18611         "type": "json"
18612       }
18613     ],
18614     "name": "DeleteMail_Transfer_Reports",
18615     "group": "Mail_Transfer_Reports",
18616     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18617     "version": "0.0.0",
18618     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailTransferReport/index.js",
18619     "groupTitle": "Mail_Transfer_Reports"
18620   },
18621   {
18622     "type": "get",
18623     "url": "/api/mail/reports/transfer/describe",
18624     "title": "Gets table info about Mail Transfer Reports",
18625     "examples": [
18626       {
18627         "title": "Example usage:",
18628         "content": "curl https://{domain}/api/mail/reports/transfer/describe -v -u {name}:{password}",
18629         "type": "json"
18630       }
18631     ],
18632     "name": "DescribeMail_Transfer_Reports",
18633     "group": "Mail_Transfer_Reports",
18634     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18635     "version": "0.0.0",
18636     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailTransferReport/index.js",
18637     "groupTitle": "Mail_Transfer_Reports"
18638   },
18639   {
18640     "type": "get",
18641     "url": "/api/mail/reports/transfer",
18642     "title": "Gets a list of Mail Transfer Reports",
18643     "examples": [
18644       {
18645         "title": "Example usage:",
18646         "content": "curl https://{domain}/api/mail/reports/transfer -v -u {name}:{password}",
18647         "type": "json"
18648       }
18649     ],
18650     "name": "GetMail_Transfer_Reports",
18651     "group": "Mail_Transfer_Reports",
18652     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/mail/reports/transfer?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/mail/reports/transfer?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/mail/reports/transfer?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/mail/reports/transfer?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/mail/reports/transfer?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
18653     "version": "0.0.0",
18654     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailTransferReport/index.js",
18655     "groupTitle": "Mail_Transfer_Reports"
18656   },
18657   {
18658     "type": "get",
18659     "url": "/api/mail/reports/transfer/{id}",
18660     "title": "Gets a single Mail Transfer Report",
18661     "examples": [
18662       {
18663         "title": "Example usage:",
18664         "content": "curl https://{domain}/api/mail/reports/transfer/{id} -v -u {name}:{password}",
18665         "type": "json"
18666       }
18667     ],
18668     "name": "ShowMail_Transfer_Reports",
18669     "group": "Mail_Transfer_Reports",
18670     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18671     "version": "0.0.0",
18672     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailTransferReport/index.js",
18673     "groupTitle": "Mail_Transfer_Reports"
18674   },
18675   {
18676     "type": "put",
18677     "url": "/api/mail/reports/transfer/{id}",
18678     "title": "Update an existing Mail Transfer Report",
18679     "examples": [
18680       {
18681         "title": "Example usage:",
18682         "content": "curl https://{domain}/api/mail/reports/transfer/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
18683         "type": "json"
18684       }
18685     ],
18686     "name": "updateMail_Transfer_Reports",
18687     "group": "Mail_Transfer_Reports",
18688     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18689     "version": "0.0.0",
18690     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailTransferReport/index.js",
18691     "groupTitle": "Mail_Transfer_Reports"
18692   },
18693   {
18694     "type": "post",
18695     "url": "/CreateMemberReport",
18696     "title": "Creates a new Member Report",
18697     "name": "CreateMemberReport",
18698     "group": "Member_Reports",
18699     "version": "0.0.0",
18700     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/memberReport/memberReport.rpc.js",
18701     "groupTitle": "Member_Reports"
18702   },
18703   {
18704     "type": "get",
18705     "url": "/api/members/reports/describe",
18706     "title": "Gets table info about Member Reports",
18707     "examples": [
18708       {
18709         "title": "Example usage:",
18710         "content": "curl https://{domain}/api/members/reports/describe -v -u {name}:{password}",
18711         "type": "json"
18712       }
18713     ],
18714     "name": "DescribeMember_Reports",
18715     "group": "Member_Reports",
18716     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18717     "version": "0.0.0",
18718     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/memberReport/index.js",
18719     "groupTitle": "Member_Reports"
18720   },
18721   {
18722     "type": "get",
18723     "url": "/GetMemberReport",
18724     "title": "Gets a list of Member Reports",
18725     "name": "GetMemberReport",
18726     "group": "Member_Reports",
18727     "parameter": {
18728       "fields": {
18729         "Body": [
18730           {
18731             "group": "Body",
18732             "type": "Object",
18733             "optional": true,
18734             "field": "options.attributes",
18735             "description": ""
18736           },
18737           {
18738             "group": "Body",
18739             "type": "Object",
18740             "optional": true,
18741             "field": "options.where",
18742             "description": ""
18743           }
18744         ]
18745       }
18746     },
18747     "version": "0.0.0",
18748     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/memberReport/memberReport.rpc.js",
18749     "groupTitle": "Member_Reports"
18750   },
18751   {
18752     "type": "get",
18753     "url": "/api/members/reports",
18754     "title": "Gets a list of Member Reports",
18755     "examples": [
18756       {
18757         "title": "Example usage:",
18758         "content": "curl https://{domain}/api/members/reports -v -u {name}:{password}",
18759         "type": "json"
18760       }
18761     ],
18762     "name": "GetMember_Reports",
18763     "group": "Member_Reports",
18764     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/members/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/members/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/members/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/members/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/members/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
18765     "version": "0.0.0",
18766     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/memberReport/index.js",
18767     "groupTitle": "Member_Reports"
18768   },
18769   {
18770     "type": "get",
18771     "url": "/api/members/reports/{id}",
18772     "title": "Gets a single Member Report",
18773     "examples": [
18774       {
18775         "title": "Example usage:",
18776         "content": "curl https://{domain}/api/members/reports/{id} -v -u {name}:{password}",
18777         "type": "json"
18778       }
18779     ],
18780     "name": "ShowMember_Reports",
18781     "group": "Member_Reports",
18782     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18783     "version": "0.0.0",
18784     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/memberReport/index.js",
18785     "groupTitle": "Member_Reports"
18786   },
18787   {
18788     "type": "post",
18789     "url": "/UpdateMemberReport",
18790     "title": "Updates a new Member Report",
18791     "name": "UpdateMemberReport",
18792     "group": "Member_Reports",
18793     "parameter": {
18794       "fields": {
18795         "Body": [
18796           {
18797             "group": "Body",
18798             "type": "Object",
18799             "optional": true,
18800             "field": "options.attributes",
18801             "description": ""
18802           },
18803           {
18804             "group": "Body",
18805             "type": "Object",
18806             "optional": false,
18807             "field": "options.where",
18808             "description": ""
18809           }
18810         ]
18811       }
18812     },
18813     "version": "0.0.0",
18814     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/memberReport/memberReport.rpc.js",
18815     "groupTitle": "Member_Reports"
18816   },
18817   {
18818     "type": "get",
18819     "url": "/api/migrations",
18820     "title": "Gets a list of Migrations",
18821     "examples": [
18822       {
18823         "title": "Example usage:",
18824         "content": "curl https://{domain}/api/migrations -v -u {name}:{password}",
18825         "type": "json"
18826       }
18827     ],
18828     "name": "GetMigrations",
18829     "group": "Migrations",
18830     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/migrations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/migrations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/migrations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/migrations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/migrations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
18831     "version": "0.0.0",
18832     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/migration/index.js",
18833     "groupTitle": "Migrations"
18834   },
18835   {
18836     "type": "post",
18837     "url": "/api/voice/networks",
18838     "title": "Create a new network",
18839     "examples": [
18840       {
18841         "title": "Example usage:",
18842         "content": "curl https://{domain}/api/voice/networks -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
18843         "type": "json"
18844       }
18845     ],
18846     "name": "Create",
18847     "group": "Networks",
18848     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18849     "version": "0.0.0",
18850     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/network/index.js",
18851     "groupTitle": "Networks"
18852   },
18853   {
18854     "type": "delete",
18855     "url": "/api/voice/networks/{id}",
18856     "title": "Deletes a network",
18857     "examples": [
18858       {
18859         "title": "Example usage:",
18860         "content": "curl https://{domain}/api/voice/networks/{id} -v -u {name}:{password} -X DELETE",
18861         "type": "json"
18862       }
18863     ],
18864     "name": "Delete",
18865     "group": "Networks",
18866     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18867     "version": "0.0.0",
18868     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/network/index.js",
18869     "groupTitle": "Networks"
18870   },
18871   {
18872     "type": "get",
18873     "url": "/api/networks",
18874     "title": "Gets a list of Networks",
18875     "examples": [
18876       {
18877         "title": "Example usage:",
18878         "content": "curl https://{domain}/api/networks -v -u {name}:{password}",
18879         "type": "json"
18880       }
18881     ],
18882     "name": "GetNetworks",
18883     "group": "Networks",
18884     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/networks?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/networks?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/networks?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/networks?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/networks?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
18885     "version": "0.0.0",
18886     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/network/index.js",
18887     "groupTitle": "Networks"
18888   },
18889   {
18890     "type": "get",
18891     "url": "/api/networks/{id}",
18892     "title": "Gets a single Network",
18893     "examples": [
18894       {
18895         "title": "Example usage:",
18896         "content": "curl https://{domain}/api/networks/{id} -v -u {name}:{password}",
18897         "type": "json"
18898       }
18899     ],
18900     "name": "ShowNetworks",
18901     "group": "Networks",
18902     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18903     "version": "0.0.0",
18904     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/network/index.js",
18905     "groupTitle": "Networks"
18906   },
18907   {
18908     "type": "put",
18909     "url": "/api/voice/networks/{id}",
18910     "title": "Update an existing network",
18911     "examples": [
18912       {
18913         "title": "Example usage:",
18914         "content": "curl https://{domain}/api/voice/networks/{id} -v -u {name}:{password} -X PUT",
18915         "type": "json"
18916       }
18917     ],
18918     "name": "Update",
18919     "group": "Networks",
18920     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18921     "version": "0.0.0",
18922     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/network/index.js",
18923     "groupTitle": "Networks"
18924   },
18925   {
18926     "type": "post",
18927     "url": "/api/notifications",
18928     "title": "Send notification to user",
18929     "examples": [
18930       {
18931         "title": "Example usage:",
18932         "content": "curl https://{domain}/api/notifications -d '{\"text\": \"Hello!\", \"TemplateId\": 1}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
18933         "type": "json"
18934       }
18935     ],
18936     "name": "Send",
18937     "group": "Notifications",
18938     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18939     "version": "0.0.0",
18940     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/notification/index.js",
18941     "groupTitle": "Notifications"
18942   },
18943   {
18944     "type": "post",
18945     "url": "/api/openchannel/accounts/{id}/users",
18946     "title": "Add agents to a openchannel account",
18947     "examples": [
18948       {
18949         "title": "Example usage:",
18950         "content": "curl https://{domain}/api/openchannel/accounts/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
18951         "type": "json"
18952       }
18953     ],
18954     "name": "AddAgents",
18955     "group": "Openchannel_Accounts",
18956     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18957     "version": "0.0.0",
18958     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
18959     "groupTitle": "Openchannel_Accounts"
18960   },
18961   {
18962     "type": "post",
18963     "url": "/api/openchannel/accounts",
18964     "title": "Creates a new Account",
18965     "examples": [
18966       {
18967         "title": "Example usage:",
18968         "content": "curl https://{domain}/api/openchannel/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18969         "type": "json"
18970       }
18971     ],
18972     "name": "CreateAccounts",
18973     "group": "Openchannel_Accounts",
18974     "parameter": {
18975       "fields": {
18976         "Body": [
18977           {
18978             "group": "Body",
18979             "type": "String",
18980             "optional": false,
18981             "field": "name",
18982             "description": ""
18983           },
18984           {
18985             "group": "Body",
18986             "type": "String",
18987             "optional": true,
18988             "field": "description",
18989             "description": ""
18990           },
18991           {
18992             "group": "Body",
18993             "type": "String",
18994             "optional": true,
18995             "field": "token",
18996             "description": ""
18997           },
18998           {
18999             "group": "Body",
19000             "type": "String",
19001             "optional": true,
19002             "field": "replyUri",
19003             "description": ""
19004           },
19005           {
19006             "group": "Body",
19007             "type": "String",
19008             "optional": false,
19009             "field": "key",
19010             "description": ""
19011           },
19012           {
19013             "group": "Body",
19014             "type": "Text",
19015             "optional": true,
19016             "field": "notificationTemplate",
19017             "description": ""
19018           },
19019           {
19020             "group": "Body",
19021             "type": "Boolean",
19022             "optional": true,
19023             "field": "notificationSound",
19024             "description": ""
19025           },
19026           {
19027             "group": "Body",
19028             "type": "Boolean",
19029             "optional": true,
19030             "field": "notificationShake",
19031             "description": ""
19032           },
19033           {
19034             "group": "Body",
19035             "type": "Integer",
19036             "optional": true,
19037             "field": "waitForTheAssignedAgent",
19038             "description": ""
19039           },
19040           {
19041             "group": "Body",
19042             "type": "String",
19043             "optional": true,
19044             "field": "mapKey",
19045             "description": ""
19046           },
19047           {
19048             "group": "Body",
19049             "type": "Boolean",
19050             "optional": true,
19051             "field": "queueTransfer",
19052             "description": ""
19053           },
19054           {
19055             "group": "Body",
19056             "type": "Integer",
19057             "optional": true,
19058             "field": "queueTransferTimeout",
19059             "description": ""
19060           },
19061           {
19062             "group": "Body",
19063             "type": "Boolean",
19064             "optional": true,
19065             "field": "agentTransfer",
19066             "description": ""
19067           },
19068           {
19069             "group": "Body",
19070             "type": "Integer",
19071             "optional": true,
19072             "field": "agentTransferTimeout",
19073             "description": ""
19074           },
19075           {
19076             "group": "Body",
19077             "type": "Integer",
19078             "optional": true,
19079             "field": "mandatoryDispositionPauseId",
19080             "description": "<p>Status to put when mandatory disposition is enabled</p>"
19081           },
19082           {
19083             "group": "Body",
19084             "type": "Boolean",
19085             "optional": true,
19086             "field": "mandatoryDisposition",
19087             "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
19088           }
19089         ]
19090       }
19091     },
19092     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19093     "version": "0.0.0",
19094     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19095     "groupTitle": "Openchannel_Accounts"
19096   },
19097   {
19098     "type": "delete",
19099     "url": "/api/openchannel/accounts/{id}",
19100     "title": "Deletes a Account",
19101     "examples": [
19102       {
19103         "title": "Example usage:",
19104         "content": "curl https://{domain}/api/openchannel/accounts/{id} -v -u {name}:{password} -X DELETE",
19105         "type": "json"
19106       }
19107     ],
19108     "name": "DeleteAccounts",
19109     "group": "Openchannel_Accounts",
19110     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19111     "version": "0.0.0",
19112     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19113     "groupTitle": "Openchannel_Accounts"
19114   },
19115   {
19116     "type": "get",
19117     "url": "/api/openchannel/accounts/describe",
19118     "title": "Gets table info about Accounts",
19119     "examples": [
19120       {
19121         "title": "Example usage:",
19122         "content": "curl https://{domain}/api/openchannel/accounts/describe -v -u {name}:{password}",
19123         "type": "json"
19124       }
19125     ],
19126     "name": "DescribeAccounts",
19127     "group": "Openchannel_Accounts",
19128     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19129     "version": "0.0.0",
19130     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19131     "groupTitle": "Openchannel_Accounts"
19132   },
19133   {
19134     "type": "get",
19135     "url": "/api/openchannel/accounts",
19136     "title": "Gets a list of Accounts",
19137     "examples": [
19138       {
19139         "title": "Example usage:",
19140         "content": "curl https://{domain}/api/openchannel/accounts -v -u {name}:{password}",
19141         "type": "json"
19142       }
19143     ],
19144     "name": "GetAccounts",
19145     "group": "Openchannel_Accounts",
19146     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/openchannel/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/openchannel/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/openchannel/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/openchannel/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/openchannel/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
19147     "version": "0.0.0",
19148     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19149     "groupTitle": "Openchannel_Accounts"
19150   },
19151   {
19152     "type": "get",
19153     "url": "/api/openchannel/accounts/{id}/users",
19154     "title": "Gets agents from openchannel account",
19155     "examples": [
19156       {
19157         "title": "Example usage:",
19158         "content": "curl https://{domain}/api/openchannel/accounts/{id}/users -v -u {name}:{password} -X GET",
19159         "type": "json"
19160       }
19161     ],
19162     "name": "GetAgents",
19163     "group": "Openchannel_Accounts",
19164     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19165     "version": "0.0.0",
19166     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19167     "groupTitle": "Openchannel_Accounts"
19168   },
19169   {
19170     "type": "delete",
19171     "url": "/api/openchannel/accounts/{id}/users",
19172     "title": "Removes agents from a openchannel account",
19173     "examples": [
19174       {
19175         "title": "Example usage:",
19176         "content": "curl https://{domain}/api/openchannel/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
19177         "type": "json"
19178       }
19179     ],
19180     "name": "RemoveAgents",
19181     "group": "Openchannel_Accounts",
19182     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19183     "version": "0.0.0",
19184     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19185     "groupTitle": "Openchannel_Accounts"
19186   },
19187   {
19188     "type": "delete",
19189     "url": "/api/openchannel/accounts/{id}/canned_answers",
19190     "title": "Removes canned answers from account",
19191     "examples": [
19192       {
19193         "title": "Example usage:",
19194         "content": "curl https://{domain}/api/openchannel/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
19195         "type": "json"
19196       }
19197     ],
19198     "name": "RemoveAnswers",
19199     "group": "Openchannel_Accounts",
19200     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19201     "version": "0.0.0",
19202     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19203     "groupTitle": "Openchannel_Accounts"
19204   },
19205   {
19206     "type": "delete",
19207     "url": "/api/openchannel/accounts/{id}/dispositions",
19208     "title": "Removes dispositions from account",
19209     "examples": [
19210       {
19211         "title": "Example usage:",
19212         "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
19213         "type": "json"
19214       }
19215     ],
19216     "name": "RemoveDispositions",
19217     "group": "Openchannel_Accounts",
19218     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19219     "version": "0.0.0",
19220     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19221     "groupTitle": "Openchannel_Accounts"
19222   },
19223   {
19224     "type": "get",
19225     "url": "/api/openchannel/accounts/{id}",
19226     "title": "Gets a single Account",
19227     "examples": [
19228       {
19229         "title": "Example usage:",
19230         "content": "curl https://{domain}/api/openchannel/accounts/{id} -v -u {name}:{password}",
19231         "type": "json"
19232       }
19233     ],
19234     "name": "ShowAccounts",
19235     "group": "Openchannel_Accounts",
19236     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19237     "version": "0.0.0",
19238     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19239     "groupTitle": "Openchannel_Accounts"
19240   },
19241   {
19242     "type": "post",
19243     "url": "/api/openchannel/accounts/{id}/canned_answers",
19244     "title": "Creates new canned answer",
19245     "examples": [
19246       {
19247         "title": "Example usage:",
19248         "content": "curl https://{domain}/api/openchannel/accounts/{id}/canned_answers -d '{\"name\": \"vip\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
19249         "type": "json"
19250       }
19251     ],
19252     "name": "addAnswer",
19253     "group": "Openchannel_Accounts",
19254     "parameter": {
19255       "fields": {
19256         "Body": [
19257           {
19258             "group": "Body",
19259             "type": "String",
19260             "optional": false,
19261             "field": "key",
19262             "description": ""
19263           },
19264           {
19265             "group": "Body",
19266             "type": "Text",
19267             "optional": false,
19268             "field": "value",
19269             "description": ""
19270           },
19271           {
19272             "group": "Body",
19273             "type": "String",
19274             "optional": true,
19275             "field": "description",
19276             "description": ""
19277           },
19278           {
19279             "group": "Body",
19280             "type": "Virtual",
19281             "optional": true,
19282             "field": "name",
19283             "description": ""
19284           }
19285         ]
19286       }
19287     },
19288     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19289     "version": "0.0.0",
19290     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19291     "groupTitle": "Openchannel_Accounts"
19292   },
19293   {
19294     "type": "post",
19295     "url": "/api/openchannel/accounts/{id}/applications",
19296     "title": "Creates new applications",
19297     "examples": [
19298       {
19299         "title": "Example usage:",
19300         "content": "curl https://{domain}/api/openchannel/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
19301         "type": "json"
19302       }
19303     ],
19304     "name": "addApplications",
19305     "group": "Openchannel_Accounts",
19306     "parameter": {
19307       "fields": {
19308         "Body": [
19309           {
19310             "group": "Body",
19311             "type": "Integer",
19312             "optional": false,
19313             "field": "priority",
19314             "description": ""
19315           },
19316           {
19317             "group": "Body",
19318             "type": "String",
19319             "optional": false,
19320             "field": "app",
19321             "description": ""
19322           },
19323           {
19324             "group": "Body",
19325             "type": "Text",
19326             "optional": true,
19327             "field": "appdata",
19328             "description": ""
19329           },
19330           {
19331             "group": "Body",
19332             "type": "String",
19333             "optional": true,
19334             "field": "description",
19335             "description": ""
19336           },
19337           {
19338             "group": "Body",
19339             "type": "String",
19340             "optional": true,
19341             "field": "interval",
19342             "description": ""
19343           }
19344         ]
19345       }
19346     },
19347     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19348     "version": "0.0.0",
19349     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19350     "groupTitle": "Openchannel_Accounts"
19351   },
19352   {
19353     "type": "post",
19354     "url": "/api/openchannel/accounts/{id}/dispositions",
19355     "title": "Creates new disposition",
19356     "examples": [
19357       {
19358         "title": "Example usage:",
19359         "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
19360         "type": "json"
19361       }
19362     ],
19363     "name": "addDisposition",
19364     "group": "Openchannel_Accounts",
19365     "parameter": {
19366       "fields": {
19367         "Body": [
19368           {
19369             "group": "Body",
19370             "type": "String",
19371             "optional": false,
19372             "field": "name",
19373             "description": ""
19374           },
19375           {
19376             "group": "Body",
19377             "type": "String",
19378             "allowedValues": [
19379               "\"first\"",
19380               "\"second\"",
19381               "\"third\""
19382             ],
19383             "optional": false,
19384             "field": "level",
19385             "description": ""
19386           },
19387           {
19388             "group": "Body",
19389             "type": "String",
19390             "optional": true,
19391             "field": "description",
19392             "description": ""
19393           }
19394         ]
19395       }
19396     },
19397     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19398     "version": "0.0.0",
19399     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19400     "groupTitle": "Openchannel_Accounts"
19401   },
19402   {
19403     "type": "get",
19404     "url": "/api/openchannel/accounts/{id}/canned_answers",
19405     "title": "Gets account canned answers",
19406     "examples": [
19407       {
19408         "title": "Example usage:",
19409         "content": "curl https://{domain}/api/openchannel/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
19410         "type": "json"
19411       }
19412     ],
19413     "name": "getAnswers",
19414     "group": "Openchannel_Accounts",
19415     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19416     "version": "0.0.0",
19417     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19418     "groupTitle": "Openchannel_Accounts"
19419   },
19420   {
19421     "type": "get",
19422     "url": "/api/openchannel/accounts/{id}/applications",
19423     "title": "Gets account applications",
19424     "examples": [
19425       {
19426         "title": "Example usage:",
19427         "content": "curl https://{domain}/api/openchannel/accounts/{id}/applications -v -u {name}:{password} -X GET",
19428         "type": "json"
19429       }
19430     ],
19431     "name": "getApplications",
19432     "group": "Openchannel_Accounts",
19433     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19434     "version": "0.0.0",
19435     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19436     "groupTitle": "Openchannel_Accounts"
19437   },
19438   {
19439     "type": "get",
19440     "url": "/api/openchannel/accounts/{id}/dispositions",
19441     "title": "Gets account dispositions",
19442     "examples": [
19443       {
19444         "title": "Example usage:",
19445         "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
19446         "type": "json"
19447       }
19448     ],
19449     "name": "getDispositions",
19450     "group": "Openchannel_Accounts",
19451     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19452     "version": "0.0.0",
19453     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19454     "groupTitle": "Openchannel_Accounts"
19455   },
19456   {
19457     "type": "get",
19458     "url": "/api/openchannel/accounts/{id}/interactions",
19459     "title": "Gets Openchannel Account Interactions",
19460     "examples": [
19461       {
19462         "title": "Example usage:",
19463         "content": "curl https://{domain}/api/openchannel/accounts/{id}/interactions -v -u {name}:{password} -X GET",
19464         "type": "json"
19465       }
19466     ],
19467     "name": "getInteractions",
19468     "group": "Openchannel_Accounts",
19469     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19470     "version": "0.0.0",
19471     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19472     "groupTitle": "Openchannel_Accounts"
19473   },
19474   {
19475     "type": "post",
19476     "url": "/api/openchannel/accounts/{id}/notify",
19477     "title": "Notify new message",
19478     "examples": [
19479       {
19480         "title": "Example usage:",
19481         "content": "curl https://{domain}/api/openchannel/accounts/{id}/notify -d '{\"body\": \"hello world\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
19482         "type": "json"
19483       }
19484     ],
19485     "name": "notify",
19486     "group": "Openchannel_Accounts",
19487     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <p>Follow this link to check the documentation: <pre><a target=\"_blank\" href=\"https://wiki.xcallymotion.com/display/XMV/New+Channels+Configuration+Steps#NewChannelsConfigurationSteps-BuildyourownChannelservice\">https://wiki.xcallymotion.com/display/XMV/New+Channels+Configuration+Steps#NewChannelsConfigurationSteps-BuildyourownChannelservice</a></pre></p>",
19488     "version": "0.0.0",
19489     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19490     "groupTitle": "Openchannel_Accounts"
19491   },
19492   {
19493     "type": "post",
19494     "url": "/api/openchannel/accounts/{id}/send",
19495     "title": "Send new openchannel message",
19496     "examples": [
19497       {
19498         "title": "Example usage:",
19499         "content": "curl https://{domain}/api/openchannel/accounts/{id}/send -d '{from: 'John Doe', body: 'This is a test'}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
19500         "type": "json"
19501       }
19502     ],
19503     "name": "sendOpenchannel",
19504     "group": "Openchannel_Accounts",
19505     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19506     "version": "0.0.0",
19507     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19508     "groupTitle": "Openchannel_Accounts"
19509   },
19510   {
19511     "type": "put",
19512     "url": "/api/openchannel/accounts/{id}",
19513     "title": "Update an existing Account",
19514     "examples": [
19515       {
19516         "title": "Example usage:",
19517         "content": "curl https://{domain}/api/openchannel/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
19518         "type": "json"
19519       }
19520     ],
19521     "name": "updateAccounts",
19522     "group": "Openchannel_Accounts",
19523     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19524     "version": "0.0.0",
19525     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelAccount/index.js",
19526     "groupTitle": "Openchannel_Accounts"
19527   },
19528   {
19529     "type": "post",
19530     "url": "/api/openchannel/applications",
19531     "title": "Creates a new Application",
19532     "examples": [
19533       {
19534         "title": "Example usage:",
19535         "content": "curl https://{domain}/api/openchannel/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
19536         "type": "json"
19537       }
19538     ],
19539     "name": "CreateApplications",
19540     "group": "Openchannel_Applications",
19541     "parameter": {
19542       "fields": {
19543         "Body": [
19544           {
19545             "group": "Body",
19546             "type": "Integer",
19547             "optional": false,
19548             "field": "priority",
19549             "description": ""
19550           },
19551           {
19552             "group": "Body",
19553             "type": "String",
19554             "optional": false,
19555             "field": "app",
19556             "description": ""
19557           },
19558           {
19559             "group": "Body",
19560             "type": "Text",
19561             "optional": true,
19562             "field": "appdata",
19563             "description": ""
19564           },
19565           {
19566             "group": "Body",
19567             "type": "String",
19568             "optional": true,
19569             "field": "description",
19570             "description": ""
19571           },
19572           {
19573             "group": "Body",
19574             "type": "String",
19575             "optional": true,
19576             "field": "interval",
19577             "description": ""
19578           }
19579         ]
19580       }
19581     },
19582     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19583     "version": "0.0.0",
19584     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelApplication/index.js",
19585     "groupTitle": "Openchannel_Applications"
19586   },
19587   {
19588     "type": "delete",
19589     "url": "/api/openchannel/applications/{id}",
19590     "title": "Deletes a Application",
19591     "examples": [
19592       {
19593         "title": "Example usage:",
19594         "content": "curl https://{domain}/api/openchannel/applications/{id} -v -u {name}:{password} -X DELETE",
19595         "type": "json"
19596       }
19597     ],
19598     "name": "DeleteApplications",
19599     "group": "Openchannel_Applications",
19600     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19601     "version": "0.0.0",
19602     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelApplication/index.js",
19603     "groupTitle": "Openchannel_Applications"
19604   },
19605   {
19606     "type": "get",
19607     "url": "/api/openchannel/applications",
19608     "title": "Gets a list of Applications",
19609     "examples": [
19610       {
19611         "title": "Example usage:",
19612         "content": "curl https://{domain}/api/openchannel/applications -v -u {name}:{password}",
19613         "type": "json"
19614       }
19615     ],
19616     "name": "GetApplications",
19617     "group": "Openchannel_Applications",
19618     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/openchannel/applications?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/openchannel/applications?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/openchannel/applications?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/openchannel/applications?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/openchannel/applications?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
19619     "version": "0.0.0",
19620     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelApplication/index.js",
19621     "groupTitle": "Openchannel_Applications"
19622   },
19623   {
19624     "type": "get",
19625     "url": "/api/openchannel/applications/{id}",
19626     "title": "Gets a single Application",
19627     "examples": [
19628       {
19629         "title": "Example usage:",
19630         "content": "curl https://{domain}/api/openchannel/applications/{id} -v -u {name}:{password}",
19631         "type": "json"
19632       }
19633     ],
19634     "name": "ShowApplications",
19635     "group": "Openchannel_Applications",
19636     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19637     "version": "0.0.0",
19638     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelApplication/index.js",
19639     "groupTitle": "Openchannel_Applications"
19640   },
19641   {
19642     "type": "post",
19643     "url": "/UpdateOpenchannelApplication",
19644     "title": "Updates a new Application",
19645     "name": "UpdateOpenchannelApplication",
19646     "group": "Openchannel_Applications",
19647     "parameter": {
19648       "fields": {
19649         "Body": [
19650           {
19651             "group": "Body",
19652             "type": "Object",
19653             "optional": true,
19654             "field": "options.attributes",
19655             "description": ""
19656           },
19657           {
19658             "group": "Body",
19659             "type": "Object",
19660             "optional": false,
19661             "field": "options.where",
19662             "description": ""
19663           }
19664         ]
19665       }
19666     },
19667     "version": "0.0.0",
19668     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelApplication/openchannelApplication.rpc.js",
19669     "groupTitle": "Openchannel_Applications"
19670   },
19671   {
19672     "type": "put",
19673     "url": "/api/openchannel/applications/{id}",
19674     "title": "Update an existing Application",
19675     "examples": [
19676       {
19677         "title": "Example usage:",
19678         "content": "curl https://{domain}/api/openchannel/applications/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
19679         "type": "json"
19680       }
19681     ],
19682     "name": "updateApplications",
19683     "group": "Openchannel_Applications",
19684     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19685     "version": "0.0.0",
19686     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelApplication/index.js",
19687     "groupTitle": "Openchannel_Applications"
19688   },
19689   {
19690     "type": "post",
19691     "url": "/api/openchannel/interactions/{id}/tags",
19692     "title": "Add tags to the interaction",
19693     "examples": [
19694       {
19695         "title": "Example usage:",
19696         "content": "curl https://{domain}/api/openchannel/interaction/{id}/tags -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
19697         "type": "json"
19698       }
19699     ],
19700     "name": "AddTags",
19701     "group": "Openchannel_Interactions",
19702     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19703     "version": "0.0.0",
19704     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/index.js",
19705     "groupTitle": "Openchannel_Interactions"
19706   },
19707   {
19708     "type": "post",
19709     "url": "/AddTagsToOpenchannelInteraction",
19710     "title": "Add Tags to Openchannel interaction",
19711     "name": "AddTagsToOpenchannelInteraction",
19712     "group": "Openchannel_Interactions",
19713     "parameter": {
19714       "fields": {
19715         "Body": [
19716           {
19717             "group": "Body",
19718             "type": "Object",
19719             "optional": true,
19720             "field": "options.attributes",
19721             "description": ""
19722           },
19723           {
19724             "group": "Body",
19725             "type": "Object",
19726             "optional": false,
19727             "field": "options.where",
19728             "description": ""
19729           }
19730         ]
19731       }
19732     },
19733     "version": "0.0.0",
19734     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/openchannelInteraction.rpc.js",
19735     "groupTitle": "Openchannel_Interactions"
19736   },
19737   {
19738     "type": "post",
19739     "url": "/api/openchannel/interactions",
19740     "title": "Creates a new Interaction",
19741     "examples": [
19742       {
19743         "title": "Example usage:",
19744         "content": "curl https://{domain}/api/openchannel/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
19745         "type": "json"
19746       }
19747     ],
19748     "name": "CreateInteractions",
19749     "group": "Openchannel_Interactions",
19750     "parameter": {
19751       "fields": {
19752         "Body": [
19753           {
19754             "group": "Body",
19755             "type": "Boolean",
19756             "optional": true,
19757             "field": "closed",
19758             "description": ""
19759           },
19760           {
19761             "group": "Body",
19762             "type": "String",
19763             "optional": true,
19764             "field": "closedAt",
19765             "description": ""
19766           },
19767           {
19768             "group": "Body",
19769             "type": "String",
19770             "optional": true,
19771             "field": "disposition",
19772             "description": ""
19773           },
19774           {
19775             "group": "Body",
19776             "type": "String",
19777             "optional": true,
19778             "field": "secondDisposition",
19779             "description": ""
19780           },
19781           {
19782             "group": "Body",
19783             "type": "String",
19784             "optional": true,
19785             "field": "thirdDisposition",
19786             "description": ""
19787           },
19788           {
19789             "group": "Body",
19790             "type": "String",
19791             "optional": true,
19792             "field": "note",
19793             "description": ""
19794           },
19795           {
19796             "group": "Body",
19797             "type": "String",
19798             "optional": true,
19799             "field": "read1stAt",
19800             "description": ""
19801           },
19802           {
19803             "group": "Body",
19804             "type": "String",
19805             "optional": true,
19806             "field": "threadId",
19807             "description": ""
19808           },
19809           {
19810             "group": "Body",
19811             "type": "String",
19812             "optional": true,
19813             "field": "externalUrl",
19814             "description": ""
19815           },
19816           {
19817             "group": "Body",
19818             "type": "String",
19819             "optional": true,
19820             "field": "lastMsgAt",
19821             "description": ""
19822           },
19823           {
19824             "group": "Body",
19825             "type": "String",
19826             "allowedValues": [
19827               "\"in\"",
19828               "\"out\""
19829             ],
19830             "optional": false,
19831             "field": "lastMsgDirection",
19832             "description": ""
19833           },
19834           {
19835             "group": "Body",
19836             "type": "String",
19837             "optional": true,
19838             "field": "from",
19839             "description": ""
19840           }
19841         ]
19842       }
19843     },
19844     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19845     "version": "0.0.0",
19846     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/index.js",
19847     "groupTitle": "Openchannel_Interactions"
19848   },
19849   {
19850     "type": "delete",
19851     "url": "/api/openchannel/interactions/{id}",
19852     "title": "Deletes a Interaction",
19853     "examples": [
19854       {
19855         "title": "Example usage:",
19856         "content": "curl https://{domain}/api/openchannel/interactions/{id} -v -u {name}:{password} -X DELETE",
19857         "type": "json"
19858       }
19859     ],
19860     "name": "DeleteInteractions",
19861     "group": "Openchannel_Interactions",
19862     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19863     "version": "0.0.0",
19864     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/index.js",
19865     "groupTitle": "Openchannel_Interactions"
19866   },
19867   {
19868     "type": "get",
19869     "url": "/api/openchannel/interactions/describe",
19870     "title": "Gets table info about Interactions",
19871     "examples": [
19872       {
19873         "title": "Example usage:",
19874         "content": "curl https://{domain}/api/openchannel/interactions/describe -v -u {name}:{password}",
19875         "type": "json"
19876       }
19877     ],
19878     "name": "DescribeInteractions",
19879     "group": "Openchannel_Interactions",
19880     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19881     "version": "0.0.0",
19882     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/index.js",
19883     "groupTitle": "Openchannel_Interactions"
19884   },
19885   {
19886     "type": "get",
19887     "url": "/api/openchannel/interactions",
19888     "title": "Gets a list of Interactions",
19889     "examples": [
19890       {
19891         "title": "Example usage:",
19892         "content": "curl https://{domain}/api/openchannel/interactions -v -u {name}:{password}",
19893         "type": "json"
19894       }
19895     ],
19896     "name": "GetInteractions",
19897     "group": "Openchannel_Interactions",
19898     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/openchannel/interactions?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/openchannel/interactions?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/openchannel/interactions?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/openchannel/interactions?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/openchannel/interactions?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
19899     "version": "0.0.0",
19900     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/index.js",
19901     "groupTitle": "Openchannel_Interactions"
19902   },
19903   {
19904     "type": "delete",
19905     "url": "/api/openchannel/interactions/{id}/tags",
19906     "title": "Removes tags from interaction",
19907     "examples": [
19908       {
19909         "title": "Example usage:",
19910         "content": "curl https://{domain}/api/openchannel/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
19911         "type": "json"
19912       }
19913     ],
19914     "name": "RemoveTags",
19915     "group": "Openchannel_Interactions",
19916     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19917     "version": "0.0.0",
19918     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/index.js",
19919     "groupTitle": "Openchannel_Interactions"
19920   },
19921   {
19922     "type": "get",
19923     "url": "/api/openchannel/interactions/{id}",
19924     "title": "Gets a single Interaction",
19925     "examples": [
19926       {
19927         "title": "Example usage:",
19928         "content": "curl https://{domain}/api/openchannel/interactions/{id} -v -u {name}:{password}",
19929         "type": "json"
19930       }
19931     ],
19932     "name": "ShowInteractions",
19933     "group": "Openchannel_Interactions",
19934     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19935     "version": "0.0.0",
19936     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/index.js",
19937     "groupTitle": "Openchannel_Interactions"
19938   },
19939   {
19940     "type": "post",
19941     "url": "/UpdateOpenchannelInteraction",
19942     "title": "Updates a new Interaction",
19943     "name": "UpdateOpenchannelInteraction",
19944     "group": "Openchannel_Interactions",
19945     "parameter": {
19946       "fields": {
19947         "Body": [
19948           {
19949             "group": "Body",
19950             "type": "Object",
19951             "optional": true,
19952             "field": "options.attributes",
19953             "description": ""
19954           },
19955           {
19956             "group": "Body",
19957             "type": "Object",
19958             "optional": false,
19959             "field": "options.where",
19960             "description": ""
19961           }
19962         ]
19963       }
19964     },
19965     "version": "0.0.0",
19966     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/openchannelInteraction.rpc.js",
19967     "groupTitle": "Openchannel_Interactions"
19968   },
19969   {
19970     "type": "post",
19971     "url": "/api/openchannel/interactions/{id}/messages",
19972     "title": "Creates new messages",
19973     "examples": [
19974       {
19975         "title": "Example usage:",
19976         "content": "curl https://{domain}/api/openchannel/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
19977         "type": "json"
19978       }
19979     ],
19980     "name": "addMessage",
19981     "group": "Openchannel_Interactions",
19982     "parameter": {
19983       "fields": {
19984         "Body": [
19985           {
19986             "group": "Body",
19987             "type": "Text",
19988             "optional": false,
19989             "field": "body",
19990             "description": ""
19991           },
19992           {
19993             "group": "Body",
19994             "type": "Boolean",
19995             "optional": true,
19996             "field": "read",
19997             "description": ""
19998           },
19999           {
20000             "group": "Body",
20001             "type": "Boolean",
20002             "optional": true,
20003             "field": "secret",
20004             "description": ""
20005           },
20006           {
20007             "group": "Body",
20008             "type": "String",
20009             "allowedValues": [
20010               "\"in\"",
20011               "\"out\""
20012             ],
20013             "optional": false,
20014             "field": "direction",
20015             "description": ""
20016           },
20017           {
20018             "group": "Body",
20019             "type": "String",
20020             "optional": true,
20021             "field": "readAt",
20022             "description": ""
20023           },
20024           {
20025             "group": "Body",
20026             "type": "String",
20027             "optional": true,
20028             "field": "providerName",
20029             "description": ""
20030           },
20031           {
20032             "group": "Body",
20033             "type": "Text",
20034             "optional": true,
20035             "field": "providerResponse",
20036             "description": ""
20037           }
20038         ]
20039       }
20040     },
20041     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20042     "version": "0.0.0",
20043     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/index.js",
20044     "groupTitle": "Openchannel_Interactions"
20045   },
20046   {
20047     "type": "get",
20048     "url": "/api/openchannel/interactions/{id}/download",
20049     "title": "Gets interaction",
20050     "examples": [
20051       {
20052         "title": "Example usage:",
20053         "content": "curl https://{domain}/api/openchannel/interactions/{id}/download -v -u {name}:{password} -X GET",
20054         "type": "json"
20055       }
20056     ],
20057     "name": "download",
20058     "group": "Openchannel_Interactions",
20059     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20060     "version": "0.0.0",
20061     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/index.js",
20062     "groupTitle": "Openchannel_Interactions"
20063   },
20064   {
20065     "type": "get",
20066     "url": "/api/openchannel/interactions/{id}/messages",
20067     "title": "Gets interaction messages",
20068     "examples": [
20069       {
20070         "title": "Example usage:",
20071         "content": "curl https://{domain}/api/openchannel/interactions/{id}/messages -v -u {name}:{password} -X GET",
20072         "type": "json"
20073       }
20074     ],
20075     "name": "getMessages",
20076     "group": "Openchannel_Interactions",
20077     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20078     "version": "0.0.0",
20079     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/index.js",
20080     "groupTitle": "Openchannel_Interactions"
20081   },
20082   {
20083     "type": "put",
20084     "url": "/api/openchannel/interactions/{id}",
20085     "title": "Update an existing Interaction",
20086     "examples": [
20087       {
20088         "title": "Example usage:",
20089         "content": "curl https://{domain}/api/openchannel/interactions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
20090         "type": "json"
20091       }
20092     ],
20093     "name": "updateInteractions",
20094     "group": "Openchannel_Interactions",
20095     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20096     "version": "0.0.0",
20097     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelInteraction/index.js",
20098     "groupTitle": "Openchannel_Interactions"
20099   },
20100   {
20101     "type": "post",
20102     "url": "/api/openchannel/messages",
20103     "title": "Creates a new Message",
20104     "examples": [
20105       {
20106         "title": "Example usage:",
20107         "content": "curl https://{domain}/api/openchannel/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
20108         "type": "json"
20109       }
20110     ],
20111     "name": "CreateMessages",
20112     "group": "Openchannel_Messages",
20113     "parameter": {
20114       "fields": {
20115         "Body": [
20116           {
20117             "group": "Body",
20118             "type": "Text",
20119             "optional": false,
20120             "field": "body",
20121             "description": ""
20122           },
20123           {
20124             "group": "Body",
20125             "type": "Boolean",
20126             "optional": true,
20127             "field": "read",
20128             "description": ""
20129           },
20130           {
20131             "group": "Body",
20132             "type": "Boolean",
20133             "optional": true,
20134             "field": "secret",
20135             "description": ""
20136           },
20137           {
20138             "group": "Body",
20139             "type": "String",
20140             "allowedValues": [
20141               "\"in\"",
20142               "\"out\""
20143             ],
20144             "optional": false,
20145             "field": "direction",
20146             "description": ""
20147           },
20148           {
20149             "group": "Body",
20150             "type": "String",
20151             "optional": true,
20152             "field": "readAt",
20153             "description": ""
20154           },
20155           {
20156             "group": "Body",
20157             "type": "String",
20158             "optional": true,
20159             "field": "providerName",
20160             "description": ""
20161           },
20162           {
20163             "group": "Body",
20164             "type": "Text",
20165             "optional": true,
20166             "field": "providerResponse",
20167             "description": ""
20168           }
20169         ]
20170       }
20171     },
20172     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20173     "version": "0.0.0",
20174     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelMessage/index.js",
20175     "groupTitle": "Openchannel_Messages"
20176   },
20177   {
20178     "type": "post",
20179     "url": "/CreateOpenchannelMessage",
20180     "title": "Creates a new Message",
20181     "name": "CreateOpenchannelMessage",
20182     "group": "Openchannel_Messages",
20183     "version": "0.0.0",
20184     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelMessage/openchannelMessage.rpc.js",
20185     "groupTitle": "Openchannel_Messages"
20186   },
20187   {
20188     "type": "delete",
20189     "url": "/api/openchannel/messages/{id}",
20190     "title": "Deletes a Message",
20191     "examples": [
20192       {
20193         "title": "Example usage:",
20194         "content": "curl https://{domain}/api/openchannel/messages/{id} -v -u {name}:{password} -X DELETE",
20195         "type": "json"
20196       }
20197     ],
20198     "name": "DeleteMessages",
20199     "group": "Openchannel_Messages",
20200     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20201     "version": "0.0.0",
20202     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelMessage/index.js",
20203     "groupTitle": "Openchannel_Messages"
20204   },
20205   {
20206     "type": "get",
20207     "url": "/api/openchannel/messages/describe",
20208     "title": "Gets table info about Messages",
20209     "examples": [
20210       {
20211         "title": "Example usage:",
20212         "content": "curl https://{domain}/api/openchannel/messages/describe -v -u {name}:{password}",
20213         "type": "json"
20214       }
20215     ],
20216     "name": "DescribeMessages",
20217     "group": "Openchannel_Messages",
20218     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20219     "version": "0.0.0",
20220     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelMessage/index.js",
20221     "groupTitle": "Openchannel_Messages"
20222   },
20223   {
20224     "type": "get",
20225     "url": "/api/openchannel/messages",
20226     "title": "Gets a list of Messages",
20227     "examples": [
20228       {
20229         "title": "Example usage:",
20230         "content": "curl https://{domain}/api/openchannel/messages -v -u {name}:{password}",
20231         "type": "json"
20232       }
20233     ],
20234     "name": "GetMessages",
20235     "group": "Openchannel_Messages",
20236     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/openchannel/messages?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/openchannel/messages?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/openchannel/messages?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/openchannel/messages?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/openchannel/messages?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
20237     "version": "0.0.0",
20238     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelMessage/index.js",
20239     "groupTitle": "Openchannel_Messages"
20240   },
20241   {
20242     "type": "get",
20243     "url": "/api/openchannel/messages/{id}",
20244     "title": "Gets a single Message",
20245     "examples": [
20246       {
20247         "title": "Example usage:",
20248         "content": "curl https://{domain}/api/openchannel/messages/{id} -v -u {name}:{password}",
20249         "type": "json"
20250       }
20251     ],
20252     "name": "ShowMessages",
20253     "group": "Openchannel_Messages",
20254     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20255     "version": "0.0.0",
20256     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelMessage/index.js",
20257     "groupTitle": "Openchannel_Messages"
20258   },
20259   {
20260     "type": "put",
20261     "url": "/api/openchannel/messages/{id}/accept",
20262     "title": "Accepts message",
20263     "examples": [
20264       {
20265         "title": "Example usage:",
20266         "content": "curl https://{domain}/api/openchannel/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
20267         "type": "json"
20268       }
20269     ],
20270     "name": "acceptMessage",
20271     "group": "Openchannel_Messages",
20272     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20273     "version": "0.0.0",
20274     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelMessage/index.js",
20275     "groupTitle": "Openchannel_Messages"
20276   },
20277   {
20278     "type": "put",
20279     "url": "/api/openchannel/messages/{id}/reject",
20280     "title": "Rejects message",
20281     "examples": [
20282       {
20283         "title": "Example usage:",
20284         "content": "curl https://{domain}/api/openchannel/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
20285         "type": "json"
20286       }
20287     ],
20288     "name": "rejectMessage",
20289     "group": "Openchannel_Messages",
20290     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20291     "version": "0.0.0",
20292     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelMessage/index.js",
20293     "groupTitle": "Openchannel_Messages"
20294   },
20295   {
20296     "type": "put",
20297     "url": "/api/openchannel/messages/{id}",
20298     "title": "Update an existing Message",
20299     "examples": [
20300       {
20301         "title": "Example usage:",
20302         "content": "curl https://{domain}/api/openchannel/messages/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
20303         "type": "json"
20304       }
20305     ],
20306     "name": "updateMessages",
20307     "group": "Openchannel_Messages",
20308     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20309     "version": "0.0.0",
20310     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelMessage/index.js",
20311     "groupTitle": "Openchannel_Messages"
20312   },
20313   {
20314     "type": "post",
20315     "url": "/CreateOpenchannelQueueReport",
20316     "title": "Creates a new Openchannel Queue Report",
20317     "name": "CreateOpenchannelQueueReport",
20318     "group": "Openchannel_Queue_Reports",
20319     "version": "0.0.0",
20320     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueueReport/openchannelQueueReport.rpc.js",
20321     "groupTitle": "Openchannel_Queue_Reports"
20322   },
20323   {
20324     "type": "post",
20325     "url": "/api/openchannel/reports/queue",
20326     "title": "Creates a new Openchannel Queue Report",
20327     "examples": [
20328       {
20329         "title": "Example usage:",
20330         "content": "curl https://{domain}/api/openchannel/reports/queue -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
20331         "type": "json"
20332       }
20333     ],
20334     "name": "CreateOpenchannel_Queue_Reports",
20335     "group": "Openchannel_Queue_Reports",
20336     "parameter": {
20337       "fields": {
20338         "Body": [
20339           {
20340             "group": "Body",
20341             "type": "String",
20342             "optional": false,
20343             "field": "uniqueid",
20344             "description": ""
20345           },
20346           {
20347             "group": "Body",
20348             "type": "String",
20349             "optional": true,
20350             "field": "from",
20351             "description": ""
20352           },
20353           {
20354             "group": "Body",
20355             "type": "String",
20356             "optional": true,
20357             "field": "joinAt",
20358             "description": ""
20359           },
20360           {
20361             "group": "Body",
20362             "type": "String",
20363             "optional": true,
20364             "field": "leaveAt",
20365             "description": ""
20366           },
20367           {
20368             "group": "Body",
20369             "type": "String",
20370             "optional": true,
20371             "field": "acceptAt",
20372             "description": ""
20373           },
20374           {
20375             "group": "Body",
20376             "type": "String",
20377             "optional": true,
20378             "field": "exitAt",
20379             "description": ""
20380           },
20381           {
20382             "group": "Body",
20383             "type": "String",
20384             "optional": true,
20385             "field": "reason",
20386             "description": ""
20387           }
20388         ]
20389       }
20390     },
20391     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20392     "version": "0.0.0",
20393     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueueReport/index.js",
20394     "groupTitle": "Openchannel_Queue_Reports"
20395   },
20396   {
20397     "type": "delete",
20398     "url": "/api/openchannel/reports/queue/{id}",
20399     "title": "Deletes a Openchannel Queue Report",
20400     "examples": [
20401       {
20402         "title": "Example usage:",
20403         "content": "curl https://{domain}/api/openchannel/reports/queue/{id} -v -u {name}:{password} -X DELETE",
20404         "type": "json"
20405       }
20406     ],
20407     "name": "DeleteOpenchannel_Queue_Reports",
20408     "group": "Openchannel_Queue_Reports",
20409     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20410     "version": "0.0.0",
20411     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueueReport/index.js",
20412     "groupTitle": "Openchannel_Queue_Reports"
20413   },
20414   {
20415     "type": "get",
20416     "url": "/api/openchannel/reports/queue/describe",
20417     "title": "Gets table info about Openchannel Queue Reports",
20418     "examples": [
20419       {
20420         "title": "Example usage:",
20421         "content": "curl https://{domain}/api/openchannel/reports/queue/describe -v -u {name}:{password}",
20422         "type": "json"
20423       }
20424     ],
20425     "name": "DescribeOpenchannel_Queue_Reports",
20426     "group": "Openchannel_Queue_Reports",
20427     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20428     "version": "0.0.0",
20429     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueueReport/index.js",
20430     "groupTitle": "Openchannel_Queue_Reports"
20431   },
20432   {
20433     "type": "get",
20434     "url": "/api/openchannel/reports/queue",
20435     "title": "Gets a list of Openchannel Queue Reports",
20436     "examples": [
20437       {
20438         "title": "Example usage:",
20439         "content": "curl https://{domain}/api/openchannel/reports/queue -v -u {name}:{password}",
20440         "type": "json"
20441       }
20442     ],
20443     "name": "GetOpenchannel_Queue_Reports",
20444     "group": "Openchannel_Queue_Reports",
20445     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/openchannel/reports/queue?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/openchannel/reports/queue?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/openchannel/reports/queue?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/openchannel/reports/queue?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/openchannel/reports/queue?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
20446     "version": "0.0.0",
20447     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueueReport/index.js",
20448     "groupTitle": "Openchannel_Queue_Reports"
20449   },
20450   {
20451     "type": "get",
20452     "url": "/api/openchannel/reports/queue/{id}",
20453     "title": "Gets a single Openchannel Queue Report",
20454     "examples": [
20455       {
20456         "title": "Example usage:",
20457         "content": "curl https://{domain}/api/openchannel/reports/queue/{id} -v -u {name}:{password}",
20458         "type": "json"
20459       }
20460     ],
20461     "name": "ShowOpenchannel_Queue_Reports",
20462     "group": "Openchannel_Queue_Reports",
20463     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20464     "version": "0.0.0",
20465     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueueReport/index.js",
20466     "groupTitle": "Openchannel_Queue_Reports"
20467   },
20468   {
20469     "type": "post",
20470     "url": "/UpdateOpenchannelQueueReport",
20471     "title": "Updates a new Openchannel Queue Report",
20472     "name": "UpdateOpenchannelQueueReport",
20473     "group": "Openchannel_Queue_Reports",
20474     "parameter": {
20475       "fields": {
20476         "Body": [
20477           {
20478             "group": "Body",
20479             "type": "Object",
20480             "optional": true,
20481             "field": "options.attributes",
20482             "description": ""
20483           },
20484           {
20485             "group": "Body",
20486             "type": "Object",
20487             "optional": false,
20488             "field": "options.where",
20489             "description": ""
20490           }
20491         ]
20492       }
20493     },
20494     "version": "0.0.0",
20495     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueueReport/openchannelQueueReport.rpc.js",
20496     "groupTitle": "Openchannel_Queue_Reports"
20497   },
20498   {
20499     "type": "put",
20500     "url": "/api/openchannel/reports/queue/{id}",
20501     "title": "Update an existing Openchannel Queue Report",
20502     "examples": [
20503       {
20504         "title": "Example usage:",
20505         "content": "curl https://{domain}/api/openchannel/reports/queue/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
20506         "type": "json"
20507       }
20508     ],
20509     "name": "updateOpenchannel_Queue_Reports",
20510     "group": "Openchannel_Queue_Reports",
20511     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20512     "version": "0.0.0",
20513     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueueReport/index.js",
20514     "groupTitle": "Openchannel_Queue_Reports"
20515   },
20516   {
20517     "type": "post",
20518     "url": "/api/openchannel/queues/{id}/users",
20519     "title": "Add agents to a queue",
20520     "examples": [
20521       {
20522         "title": "Example usage:",
20523         "content": "curl https://{domain}/api/openchannel/queues/{id}/users -d '{\"ids\": [1,2], \"penalty\": 2}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
20524         "type": "json"
20525       }
20526     ],
20527     "name": "AddAgents",
20528     "group": "Openchannel_Queues",
20529     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20530     "version": "0.0.0",
20531     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20532     "groupTitle": "Openchannel_Queues"
20533   },
20534   {
20535     "type": "post",
20536     "url": "/api/openchannel/queues/{id}/teams",
20537     "title": "Add teams to a queue",
20538     "examples": [
20539       {
20540         "title": "Example usage:",
20541         "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
20542         "type": "json"
20543       }
20544     ],
20545     "name": "AddTeams",
20546     "group": "Openchannel_Queues",
20547     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20548     "version": "0.0.0",
20549     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20550     "groupTitle": "Openchannel_Queues"
20551   },
20552   {
20553     "type": "post",
20554     "url": "/api/openchannel/queues",
20555     "title": "Creates a new Queue",
20556     "examples": [
20557       {
20558         "title": "Example usage:",
20559         "content": "curl https://{domain}/api/openchannel/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
20560         "type": "json"
20561       }
20562     ],
20563     "name": "CreateQueues",
20564     "group": "Openchannel_Queues",
20565     "parameter": {
20566       "fields": {
20567         "Body": [
20568           {
20569             "group": "Body",
20570             "type": "String",
20571             "optional": true,
20572             "field": "name",
20573             "description": ""
20574           },
20575           {
20576             "group": "Body",
20577             "type": "String",
20578             "optional": true,
20579             "field": "description",
20580             "description": ""
20581           },
20582           {
20583             "group": "Body",
20584             "type": "Integer",
20585             "optional": true,
20586             "field": "timeout",
20587             "description": ""
20588           },
20589           {
20590             "group": "Body",
20591             "type": "String",
20592             "allowedValues": [
20593               "\"rrmemory\"",
20594               "\"beepall\"",
20595               "\"roundrobin\""
20596             ],
20597             "optional": true,
20598             "field": "strategy",
20599             "description": ""
20600           }
20601         ]
20602       }
20603     },
20604     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20605     "version": "0.0.0",
20606     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20607     "groupTitle": "Openchannel_Queues"
20608   },
20609   {
20610     "type": "delete",
20611     "url": "/api/openchannel/queues/{id}",
20612     "title": "Deletes a Queue",
20613     "examples": [
20614       {
20615         "title": "Example usage:",
20616         "content": "curl https://{domain}/api/openchannel/queues/{id} -v -u {name}:{password} -X DELETE",
20617         "type": "json"
20618       }
20619     ],
20620     "name": "DeleteQueues",
20621     "group": "Openchannel_Queues",
20622     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20623     "version": "0.0.0",
20624     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20625     "groupTitle": "Openchannel_Queues"
20626   },
20627   {
20628     "type": "get",
20629     "url": "/api/openchannel/queues/describe",
20630     "title": "Gets table info about Queues",
20631     "examples": [
20632       {
20633         "title": "Example usage:",
20634         "content": "curl https://{domain}/api/openchannel/queues/describe -v -u {name}:{password}",
20635         "type": "json"
20636       }
20637     ],
20638     "name": "DescribeQueues",
20639     "group": "Openchannel_Queues",
20640     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20641     "version": "0.0.0",
20642     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20643     "groupTitle": "Openchannel_Queues"
20644   },
20645   {
20646     "type": "get",
20647     "url": "/api/openchannel/queues/{id}/users",
20648     "title": "Gets queue agents",
20649     "examples": [
20650       {
20651         "title": "Example usage:",
20652         "content": "curl https://{domain}/api/openchannel/queues/{id}/users -v -u {name}:{password} -X POST",
20653         "type": "json"
20654       }
20655     ],
20656     "name": "GetAgents",
20657     "group": "Openchannel_Queues",
20658     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20659     "version": "0.0.0",
20660     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20661     "groupTitle": "Openchannel_Queues"
20662   },
20663   {
20664     "type": "get",
20665     "url": "/api/openchannel/queues/{id}/members",
20666     "title": "GetMembers",
20667     "examples": [
20668       {
20669         "title": "Example usage:",
20670         "content": "curl https://{domain}/api/openchannel/queues/{id}/members  -v -u {name}:{password}",
20671         "type": "json"
20672       }
20673     ],
20674     "name": "GetMembers",
20675     "group": "Openchannel_Queues",
20676     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20677     "version": "0.0.0",
20678     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20679     "groupTitle": "Openchannel_Queues"
20680   },
20681   {
20682     "type": "get",
20683     "url": "/GetOpenchannelQueue",
20684     "title": "Gets a list of Queues",
20685     "name": "GetOpenchannelQueue",
20686     "group": "Openchannel_Queues",
20687     "parameter": {
20688       "fields": {
20689         "Body": [
20690           {
20691             "group": "Body",
20692             "type": "Object",
20693             "optional": true,
20694             "field": "options.attributes",
20695             "description": ""
20696           },
20697           {
20698             "group": "Body",
20699             "type": "Object",
20700             "optional": true,
20701             "field": "options.where",
20702             "description": ""
20703           }
20704         ]
20705       }
20706     },
20707     "version": "0.0.0",
20708     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/openchannelQueue.rpc.js",
20709     "groupTitle": "Openchannel_Queues"
20710   },
20711   {
20712     "type": "get",
20713     "url": "/api/openchannel/queues",
20714     "title": "Gets a list of Queues",
20715     "examples": [
20716       {
20717         "title": "Example usage:",
20718         "content": "curl https://{domain}/api/openchannel/queues -v -u {name}:{password}",
20719         "type": "json"
20720       }
20721     ],
20722     "name": "GetQueues",
20723     "group": "Openchannel_Queues",
20724     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/openchannel/queues?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/openchannel/queues?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/openchannel/queues?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/openchannel/queues?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/openchannel/queues?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
20725     "version": "0.0.0",
20726     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20727     "groupTitle": "Openchannel_Queues"
20728   },
20729   {
20730     "type": "get",
20731     "url": "/api/openchannel/queues/{id}/teams",
20732     "title": "Gets queues list",
20733     "examples": [
20734       {
20735         "title": "Example usage:",
20736         "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password}",
20737         "type": "json"
20738       }
20739     ],
20740     "name": "GetTeams",
20741     "group": "Openchannel_Queues",
20742     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20743     "version": "0.0.0",
20744     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20745     "groupTitle": "Openchannel_Queues"
20746   },
20747   {
20748     "type": "delete",
20749     "url": "/api/openchannel/queues/{id}/users",
20750     "title": "Removes agents from a queue",
20751     "examples": [
20752       {
20753         "title": "Example usage:",
20754         "content": "curl https://{domain}/api/openchannel/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
20755         "type": "json"
20756       }
20757     ],
20758     "name": "RemoveAgents",
20759     "group": "Openchannel_Queues",
20760     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20761     "version": "0.0.0",
20762     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20763     "groupTitle": "Openchannel_Queues"
20764   },
20765   {
20766     "type": "get",
20767     "url": "/ShowOpenchannelQueue",
20768     "title": "Gets a single Queue",
20769     "name": "ShowOpenchannelQueue",
20770     "group": "Openchannel_Queues",
20771     "parameter": {
20772       "fields": {
20773         "Body": [
20774           {
20775             "group": "Body",
20776             "type": "Object",
20777             "optional": true,
20778             "field": "options.attributes",
20779             "description": ""
20780           },
20781           {
20782             "group": "Body",
20783             "type": "Object",
20784             "optional": false,
20785             "field": "options.where",
20786             "description": ""
20787           }
20788         ]
20789       }
20790     },
20791     "version": "0.0.0",
20792     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/openchannelQueue.rpc.js",
20793     "groupTitle": "Openchannel_Queues"
20794   },
20795   {
20796     "type": "get",
20797     "url": "/api/openchannel/queues/{id}",
20798     "title": "Gets a single Queue",
20799     "examples": [
20800       {
20801         "title": "Example usage:",
20802         "content": "curl https://{domain}/api/openchannel/queues/{id} -v -u {name}:{password}",
20803         "type": "json"
20804       }
20805     ],
20806     "name": "ShowQueues",
20807     "group": "Openchannel_Queues",
20808     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20809     "version": "0.0.0",
20810     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20811     "groupTitle": "Openchannel_Queues"
20812   },
20813   {
20814     "type": "put",
20815     "url": "/api/openchannel/queues/{id}",
20816     "title": "Update an existing Queue",
20817     "examples": [
20818       {
20819         "title": "Example usage:",
20820         "content": "curl https://{domain}/api/openchannel/queues/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
20821         "type": "json"
20822       }
20823     ],
20824     "name": "updateQueues",
20825     "group": "Openchannel_Queues",
20826     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20827     "version": "0.0.0",
20828     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
20829     "groupTitle": "Openchannel_Queues"
20830   },
20831   {
20832     "type": "post",
20833     "url": "/api/openchannel/reports/transfer",
20834     "title": "Creates a new Openchannel Transfer Report",
20835     "examples": [
20836       {
20837         "title": "Example usage:",
20838         "content": "curl https://{domain}/api/openchannel/reports/transfer -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
20839         "type": "json"
20840       }
20841     ],
20842     "name": "CreateOpenchannel_Transfer_Reports",
20843     "group": "Openchannel_Transfer_Reports",
20844     "parameter": {
20845       "fields": {
20846         "Body": [
20847           {
20848             "group": "Body",
20849             "type": "String",
20850             "optional": false,
20851             "field": "uniqueid",
20852             "description": ""
20853           },
20854           {
20855             "group": "Body",
20856             "type": "String",
20857             "allowedValues": [
20858               "\"account\"",
20859               "\"agent\"",
20860               "\"queue\""
20861             ],
20862             "optional": false,
20863             "field": "type",
20864             "description": ""
20865           },
20866           {
20867             "group": "Body",
20868             "type": "String",
20869             "optional": false,
20870             "field": "transferredAt",
20871             "description": ""
20872           }
20873         ]
20874       }
20875     },
20876     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20877     "version": "0.0.0",
20878     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelTransferReport/index.js",
20879     "groupTitle": "Openchannel_Transfer_Reports"
20880   },
20881   {
20882     "type": "delete",
20883     "url": "/api/openchannel/reports/transfer/{id}",
20884     "title": "Deletes a Openchannel Transfer Report",
20885     "examples": [
20886       {
20887         "title": "Example usage:",
20888         "content": "curl https://{domain}/api/openchannel/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
20889         "type": "json"
20890       }
20891     ],
20892     "name": "DeleteOpenchannel_Transfer_Reports",
20893     "group": "Openchannel_Transfer_Reports",
20894     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20895     "version": "0.0.0",
20896     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelTransferReport/index.js",
20897     "groupTitle": "Openchannel_Transfer_Reports"
20898   },
20899   {
20900     "type": "get",
20901     "url": "/api/openchannel/reports/transfer/describe",
20902     "title": "Gets table info about Openchannel Transfer Reports",
20903     "examples": [
20904       {
20905         "title": "Example usage:",
20906         "content": "curl https://{domain}/api/openchannel/reports/transfer/describe -v -u {name}:{password}",
20907         "type": "json"
20908       }
20909     ],
20910     "name": "DescribeOpenchannel_Transfer_Reports",
20911     "group": "Openchannel_Transfer_Reports",
20912     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20913     "version": "0.0.0",
20914     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelTransferReport/index.js",
20915     "groupTitle": "Openchannel_Transfer_Reports"
20916   },
20917   {
20918     "type": "get",
20919     "url": "/api/openchannel/reports/transfer",
20920     "title": "Gets a list of Openchannel Transfer Reports",
20921     "examples": [
20922       {
20923         "title": "Example usage:",
20924         "content": "curl https://{domain}/api/openchannel/reports/transfer -v -u {name}:{password}",
20925         "type": "json"
20926       }
20927     ],
20928     "name": "GetOpenchannel_Transfer_Reports",
20929     "group": "Openchannel_Transfer_Reports",
20930     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/openchannel/reports/transfer?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/openchannel/reports/transfer?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/openchannel/reports/transfer?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/openchannel/reports/transfer?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/openchannel/reports/transfer?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
20931     "version": "0.0.0",
20932     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelTransferReport/index.js",
20933     "groupTitle": "Openchannel_Transfer_Reports"
20934   },
20935   {
20936     "type": "get",
20937     "url": "/api/openchannel/reports/transfer/{id}",
20938     "title": "Gets a single Openchannel Transfer Report",
20939     "examples": [
20940       {
20941         "title": "Example usage:",
20942         "content": "curl https://{domain}/api/openchannel/reports/transfer/{id} -v -u {name}:{password}",
20943         "type": "json"
20944       }
20945     ],
20946     "name": "ShowOpenchannel_Transfer_Reports",
20947     "group": "Openchannel_Transfer_Reports",
20948     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20949     "version": "0.0.0",
20950     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelTransferReport/index.js",
20951     "groupTitle": "Openchannel_Transfer_Reports"
20952   },
20953   {
20954     "type": "put",
20955     "url": "/api/openchannel/reports/transfer/{id}",
20956     "title": "Update an existing Openchannel Transfer Report",
20957     "examples": [
20958       {
20959         "title": "Example usage:",
20960         "content": "curl https://{domain}/api/openchannel/reports/transfer/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
20961         "type": "json"
20962       }
20963     ],
20964     "name": "updateOpenchannel_Transfer_Reports",
20965     "group": "Openchannel_Transfer_Reports",
20966     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20967     "version": "0.0.0",
20968     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelTransferReport/index.js",
20969     "groupTitle": "Openchannel_Transfer_Reports"
20970   },
20971   {
20972     "type": "post",
20973     "url": "/api/pauses",
20974     "title": "Creates a new Pause",
20975     "examples": [
20976       {
20977         "title": "Example usage:",
20978         "content": "curl https://{domain}/api/pauses -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
20979         "type": "json"
20980       }
20981     ],
20982     "name": "CreatePauses",
20983     "group": "Pauses",
20984     "parameter": {
20985       "fields": {
20986         "Body": [
20987           {
20988             "group": "Body",
20989             "type": "String",
20990             "optional": false,
20991             "field": "name",
20992             "description": ""
20993           },
20994           {
20995             "group": "Body",
20996             "type": "String",
20997             "optional": true,
20998             "field": "description",
20999             "description": ""
21000           }
21001         ]
21002       }
21003     },
21004     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21005     "version": "0.0.0",
21006     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/pause/index.js",
21007     "groupTitle": "Pauses"
21008   },
21009   {
21010     "type": "delete",
21011     "url": "/api/pauses/{id}",
21012     "title": "Deletes a Pause",
21013     "examples": [
21014       {
21015         "title": "Example usage:",
21016         "content": "curl https://{domain}/api/pauses/{id} -v -u {name}:{password} -X DELETE",
21017         "type": "json"
21018       }
21019     ],
21020     "name": "DeletePauses",
21021     "group": "Pauses",
21022     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21023     "version": "0.0.0",
21024     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/pause/index.js",
21025     "groupTitle": "Pauses"
21026   },
21027   {
21028     "type": "get",
21029     "url": "/api/pauses",
21030     "title": "Gets a list of Pauses",
21031     "examples": [
21032       {
21033         "title": "Example usage:",
21034         "content": "curl https://{domain}/api/pauses -v -u {name}:{password}",
21035         "type": "json"
21036       }
21037     ],
21038     "name": "GetPauses",
21039     "group": "Pauses",
21040     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/pauses?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/pauses?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/pauses?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/pauses?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/pauses?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
21041     "version": "0.0.0",
21042     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/pause/index.js",
21043     "groupTitle": "Pauses"
21044   },
21045   {
21046     "type": "get",
21047     "url": "/ShowPause",
21048     "title": "Gets a single Pause",
21049     "name": "ShowPause",
21050     "group": "Pauses",
21051     "parameter": {
21052       "fields": {
21053         "Body": [
21054           {
21055             "group": "Body",
21056             "type": "Object",
21057             "optional": true,
21058             "field": "options.attributes",
21059             "description": ""
21060           },
21061           {
21062             "group": "Body",
21063             "type": "Object",
21064             "optional": false,
21065             "field": "options.where",
21066             "description": ""
21067           }
21068         ]
21069       }
21070     },
21071     "version": "0.0.0",
21072     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/pause/pause.rpc.js",
21073     "groupTitle": "Pauses"
21074   },
21075   {
21076     "type": "get",
21077     "url": "/api/pauses/{id}",
21078     "title": "Gets a single Pause",
21079     "examples": [
21080       {
21081         "title": "Example usage:",
21082         "content": "curl https://{domain}/api/pauses/{id} -v -u {name}:{password}",
21083         "type": "json"
21084       }
21085     ],
21086     "name": "ShowPauses",
21087     "group": "Pauses",
21088     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21089     "version": "0.0.0",
21090     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/pause/index.js",
21091     "groupTitle": "Pauses"
21092   },
21093   {
21094     "type": "put",
21095     "url": "/api/pauses/{id}",
21096     "title": "Update an existing Pause",
21097     "examples": [
21098       {
21099         "title": "Example usage:",
21100         "content": "curl https://{domain}/api/pauses/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
21101         "type": "json"
21102       }
21103     ],
21104     "name": "updatePauses",
21105     "group": "Pauses",
21106     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21107     "version": "0.0.0",
21108     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/pause/index.js",
21109     "groupTitle": "Pauses"
21110   },
21111   {
21112     "type": "post",
21113     "url": "/CreatePlugin",
21114     "title": "Creates a new Plugin",
21115     "name": "CreatePlugin",
21116     "group": "Plugins",
21117     "version": "0.0.0",
21118     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/plugin/plugin.rpc.js",
21119     "groupTitle": "Plugins"
21120   },
21121   {
21122     "type": "get",
21123     "url": "/api/plugins",
21124     "title": "Gets a list of Plugins",
21125     "examples": [
21126       {
21127         "title": "Example usage:",
21128         "content": "curl https://{domain}/api/plugins -v -u {name}:{password}",
21129         "type": "json"
21130       }
21131     ],
21132     "name": "GetPlugins",
21133     "group": "Plugins",
21134     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/plugins?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/plugins?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/plugins?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/plugins?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/plugins?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
21135     "version": "0.0.0",
21136     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/plugin/index.js",
21137     "groupTitle": "Plugins"
21138   },
21139   {
21140     "type": "get",
21141     "url": "/api/plugins/{id}",
21142     "title": "Gets a single Plugin",
21143     "examples": [
21144       {
21145         "title": "Example usage:",
21146         "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password}",
21147         "type": "json"
21148       }
21149     ],
21150     "name": "ShowPlugins",
21151     "group": "Plugins",
21152     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21153     "version": "0.0.0",
21154     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/plugin/index.js",
21155     "groupTitle": "Plugins"
21156   },
21157   {
21158     "type": "delete",
21159     "url": "/api/plugins/{id}",
21160     "title": "Delete a plugin",
21161     "examples": [
21162       {
21163         "title": "Example usage:",
21164         "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password} -X DELETE",
21165         "type": "json"
21166       }
21167     ],
21168     "name": "destroyPlugin",
21169     "group": "Plugins",
21170     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21171     "version": "0.0.0",
21172     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/plugin/index.js",
21173     "groupTitle": "Plugins"
21174   },
21175   {
21176     "type": "get",
21177     "url": "/api/plugins/{id}/download",
21178     "title": "Download plugin source code",
21179     "examples": [
21180       {
21181         "title": "Example usage:",
21182         "content": "curl https://{domain}/api/plugins/{id}/download -v -u {name}:{password} -X GET",
21183         "type": "json"
21184       }
21185     ],
21186     "name": "download",
21187     "group": "Plugins",
21188     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21189     "version": "0.0.0",
21190     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/plugin/index.js",
21191     "groupTitle": "Plugins"
21192   },
21193   {
21194     "type": "put",
21195     "url": "/api/plugins/{id}",
21196     "title": "Update an existing plugin",
21197     "examples": [
21198       {
21199         "title": "Example usage:",
21200         "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password} -X PUT",
21201         "type": "json"
21202       }
21203     ],
21204     "name": "updatePlugin",
21205     "group": "Plugins",
21206     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21207     "version": "0.0.0",
21208     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/plugin/index.js",
21209     "groupTitle": "Plugins"
21210   },
21211   {
21212     "type": "post",
21213     "url": "/api/plugins",
21214     "title": "Upload new plugin",
21215     "examples": [
21216       {
21217         "title": "Example usage:",
21218         "content": "curl https://{domain}/api/plugins -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
21219         "type": "json"
21220       }
21221     ],
21222     "name": "uploadPlugin",
21223     "group": "Plugins",
21224     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21225     "version": "0.0.0",
21226     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/plugin/index.js",
21227     "groupTitle": "Plugins"
21228   },
21229   {
21230     "type": "get",
21231     "url": "/api/plugins/webhook?hostname={host}&port={port}&encoding={encoding}&json={json}&path={path}",
21232     "title": "Redirect a plugin request to the specified path",
21233     "examples": [
21234       {
21235         "title": "Example usage:",
21236         "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -v -u {name}:{password} -X GET",
21237         "type": "json"
21238       }
21239     ],
21240     "name": "webhookPlugin",
21241     "group": "Plugins",
21242     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21243     "version": "0.0.0",
21244     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/plugin/index.js",
21245     "groupTitle": "Plugins"
21246   },
21247   {
21248     "type": "post",
21249     "url": "/api/plugins/webhook?hostname={host}&port={port}&encoding={encoding}&json={json}&path={path}",
21250     "title": "Redirect a plugin request to the specified path",
21251     "examples": [
21252       {
21253         "title": "Example usage:",
21254         "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -H 'Content-Type: application/json' -X POST",
21255         "type": "json"
21256       }
21257     ],
21258     "name": "webhookPlugin",
21259     "group": "Plugins",
21260     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21261     "version": "0.0.0",
21262     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/plugin/index.js",
21263     "groupTitle": "Plugins"
21264   },
21265   {
21266     "type": "delete",
21267     "url": "/api/pm2/{id}",
21268     "title": "Deletes an existing process",
21269     "examples": [
21270       {
21271         "title": "Example usage:",
21272         "content": "curl https://{domain}/api/pm2/{id} -v -u {name}:{password} -X DELETE",
21273         "type": "json"
21274       }
21275     ],
21276     "name": "DeletePm2Process",
21277     "group": "Pm2",
21278     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21279     "version": "0.0.0",
21280     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/pm2/index.js",
21281     "groupTitle": "Pm2"
21282   },
21283   {
21284     "type": "get",
21285     "url": "/api/pm2/{id}",
21286     "title": "Gets a single pm2 process",
21287     "examples": [
21288       {
21289         "title": "Example usage:",
21290         "content": "curl https://{domain}/api/pm2/{id} -v -u {name}:{password}",
21291         "type": "json"
21292       }
21293     ],
21294     "name": "GetPm2Process",
21295     "group": "Pm2",
21296     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21297     "version": "0.0.0",
21298     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/pm2/index.js",
21299     "groupTitle": "Pm2"
21300   },
21301   {
21302     "type": "get",
21303     "url": "/api/pm2",
21304     "title": "Gets pm2 processes",
21305     "examples": [
21306       {
21307         "title": "Example usage:",
21308         "content": "curl https://{domain}/api/pm2 -v -u {name}:{password}",
21309         "type": "json"
21310       }
21311     ],
21312     "name": "GetPm2Processes",
21313     "group": "Pm2",
21314     "description": "<p>Motion returns the pm2 processes list.</p>",
21315     "version": "0.0.0",
21316     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/pm2/index.js",
21317     "groupTitle": "Pm2"
21318   },
21319   {
21320     "type": "post",
21321     "url": "/api/pm2",
21322     "title": "Start a single pm2 process",
21323     "examples": [
21324       {
21325         "title": "Example usage:",
21326         "content": "curl https://{domain}/api/pm2 -d '{\"name\": \"process_name\", \"script\": \"/index.js\"}'\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
21327         "type": "json"
21328       }
21329     ],
21330     "name": "StartPm2Process",
21331     "group": "Pm2",
21332     "parameter": {
21333       "fields": {
21334         "Body": [
21335           {
21336             "group": "Body",
21337             "type": "String",
21338             "optional": false,
21339             "field": "name",
21340             "description": ""
21341           },
21342           {
21343             "group": "Body",
21344             "type": "String",
21345             "optional": false,
21346             "field": "script",
21347             "description": ""
21348           }
21349         ]
21350       }
21351     },
21352     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21353     "version": "0.0.0",
21354     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/pm2/index.js",
21355     "groupTitle": "Pm2"
21356   },
21357   {
21358     "type": "put",
21359     "url": "/api/pm2/{id}",
21360     "title": "Update an existing process",
21361     "examples": [
21362       {
21363         "title": "Example usage:",
21364         "content": "curl https://{domain}/api/pm2/{id} -d '{\"status\": \"online\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
21365         "type": "json"
21366       }
21367     ],
21368     "name": "UpdatePm2Process",
21369     "group": "Pm2",
21370     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21371     "version": "0.0.0",
21372     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/pm2/index.js",
21373     "groupTitle": "Pm2"
21374   },
21375   {
21376     "type": "get",
21377     "url": "/api/rpc/campaigns/",
21378     "title": "Gets a list of campaigns",
21379     "examples": [
21380       {
21381         "title": "Example usage:",
21382         "content": "curl https://{domain}/api/rpc/campaigns -v -u {name}:{password}",
21383         "type": "json"
21384       }
21385     ],
21386     "name": "Campaigns",
21387     "group": "RPC_Realtime",
21388     "description": "<p>Motion will return a list of realtime campaigns parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21389     "version": "0.0.0",
21390     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21391     "groupTitle": "RPC_Realtime"
21392   },
21393   {
21394     "type": "get",
21395     "url": "/api/rpc/fax/accounts",
21396     "title": "Gets a list of FaxAccounts",
21397     "examples": [
21398       {
21399         "title": "Example usage:",
21400         "content": "curl https://{domain}/api/rpc/fax/accounts -v -u {name}:{password}",
21401         "type": "json"
21402       }
21403     ],
21404     "name": "FaxAccounts",
21405     "group": "RPC_Realtime",
21406     "description": "<p>Motion will return a list of realtime fax account parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21407     "version": "0.0.0",
21408     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21409     "groupTitle": "RPC_Realtime"
21410   },
21411   {
21412     "type": "put",
21413     "url": "/api/rpc/agents/:id/capacity",
21414     "title": "Sets agent capacity",
21415     "examples": [
21416       {
21417         "title": "Example usage:",
21418         "content": "curl https://{domain}/api/rpc/agents/:id/capacity -v -u {name}:{password}",
21419         "type": "json"
21420       }
21421     ],
21422     "name": "RTAgentCapacity",
21423     "group": "RPC_Realtime",
21424     "description": "<p>Motion will return the current agent capacity.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21425     "version": "0.0.0",
21426     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21427     "groupTitle": "RPC_Realtime"
21428   },
21429   {
21430     "type": "get",
21431     "url": "/api/rpc/agents",
21432     "title": "Gets a list of RTAgents",
21433     "examples": [
21434       {
21435         "title": "Example usage:",
21436         "content": "curl https://{domain}/api/rpc/agents -v -u {name}:{password}",
21437         "type": "json"
21438       }
21439     ],
21440     "name": "RTAgents",
21441     "group": "RPC_Realtime",
21442     "description": "<p>Motion will return a list of realtime agents parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21443     "version": "0.0.0",
21444     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21445     "groupTitle": "RPC_Realtime"
21446   },
21447   {
21448     "type": "get",
21449     "url": "/api/rpc/chat/queues",
21450     "title": "Gets a list of RTChatQueues",
21451     "examples": [
21452       {
21453         "title": "Example usage:",
21454         "content": "curl https://{domain}/api/rpc/chat/queues -v -u {name}:{password}",
21455         "type": "json"
21456       }
21457     ],
21458     "name": "RTChatQueues",
21459     "group": "RPC_Realtime",
21460     "description": "<p>Motion will return a list of realtime chat queues parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21461     "version": "0.0.0",
21462     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21463     "groupTitle": "RPC_Realtime"
21464   },
21465   {
21466     "type": "get",
21467     "url": "/api/rpc/fax/queues",
21468     "title": "Gets a list of RTFaxQueues",
21469     "examples": [
21470       {
21471         "title": "Example usage:",
21472         "content": "curl https://{domain}/api/rpc/fax/queues -v -u {name}:{password}",
21473         "type": "json"
21474       }
21475     ],
21476     "name": "RTFaxQueues",
21477     "group": "RPC_Realtime",
21478     "description": "<p>Motion will return a list of realtime fax queues parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21479     "version": "0.0.0",
21480     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21481     "groupTitle": "RPC_Realtime"
21482   },
21483   {
21484     "type": "get",
21485     "url": "/api/rpc/mail/accounts",
21486     "title": "Gets a list of RTMailAccounts",
21487     "examples": [
21488       {
21489         "title": "Example usage:",
21490         "content": "curl https://{domain}/api/rpc/mail/accounts -v -u {name}:{password}",
21491         "type": "json"
21492       }
21493     ],
21494     "name": "RTMailAccounts",
21495     "group": "RPC_Realtime",
21496     "description": "<p>Motion will return a list of realtime mail account parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21497     "version": "0.0.0",
21498     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21499     "groupTitle": "RPC_Realtime"
21500   },
21501   {
21502     "type": "get",
21503     "url": "/api/rpc/mail/queues",
21504     "title": "Gets a list of RTMailQueues",
21505     "examples": [
21506       {
21507         "title": "Example usage:",
21508         "content": "curl https://{domain}/api/rpc/mail/queues -v -u {name}:{password}",
21509         "type": "json"
21510       }
21511     ],
21512     "name": "RTMailQueues",
21513     "group": "RPC_Realtime",
21514     "description": "<p>Motion will return a list of realtime mail queues parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21515     "version": "0.0.0",
21516     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21517     "groupTitle": "RPC_Realtime"
21518   },
21519   {
21520     "type": "get",
21521     "url": "/api/rpc/openchannel/queues",
21522     "title": "Gets a list of RTOpenchannelQueues",
21523     "examples": [
21524       {
21525         "title": "Example usage:",
21526         "content": "curl https://{domain}/api/rpc/openchannel/queues -v -u {name}:{password}",
21527         "type": "json"
21528       }
21529     ],
21530     "name": "RTOpenchannelQueues",
21531     "group": "RPC_Realtime",
21532     "description": "<p>Motion will return a list of realtime openchannel queues parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21533     "version": "0.0.0",
21534     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21535     "groupTitle": "RPC_Realtime"
21536   },
21537   {
21538     "type": "get",
21539     "url": "/api/rpc/outbound/channels",
21540     "title": "Gets a list of RTOutboundChannels",
21541     "examples": [
21542       {
21543         "title": "Example usage:",
21544         "content": "curl https://{domain}/api/rpc/outbound/channels -v -u {name}:{password}",
21545         "type": "json"
21546       }
21547     ],
21548     "name": "RTOutboundChannels",
21549     "group": "RPC_Realtime",
21550     "description": "<p>Motion will return a list of realtime outbound channels.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21551     "version": "0.0.0",
21552     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21553     "groupTitle": "RPC_Realtime"
21554   },
21555   {
21556     "type": "get",
21557     "url": "/api/rpc/sms/queues",
21558     "title": "Gets a list of RTSmsQueues",
21559     "examples": [
21560       {
21561         "title": "Example usage:",
21562         "content": "curl https://{domain}/api/rpc/sms/queues -v -u {name}:{password}",
21563         "type": "json"
21564       }
21565     ],
21566     "name": "RTSmsQueues",
21567     "group": "RPC_Realtime",
21568     "description": "<p>Motion will return a list of realtime sms queues parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21569     "version": "0.0.0",
21570     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21571     "groupTitle": "RPC_Realtime"
21572   },
21573   {
21574     "type": "get",
21575     "url": "/api/rpc/telephones",
21576     "title": "Gets a list of RTTelephones",
21577     "examples": [
21578       {
21579         "title": "Example usage:",
21580         "content": "curl https://{domain}/api/rpc/telephones -v -u {name}:{password}",
21581         "type": "json"
21582       }
21583     ],
21584     "name": "RTTelephones",
21585     "group": "RPC_Realtime",
21586     "description": "<p>Motion will return a list of telephones parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21587     "version": "0.0.0",
21588     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21589     "groupTitle": "RPC_Realtime"
21590   },
21591   {
21592     "type": "get",
21593     "url": "/api/rpc/trunks",
21594     "title": "Gets a list of RTTrunks",
21595     "examples": [
21596       {
21597         "title": "Example usage:",
21598         "content": "curl https://{domain}/api/rpc/trunks -v -u {name}:{password}",
21599         "type": "json"
21600       }
21601     ],
21602     "name": "RTTrunks",
21603     "group": "RPC_Realtime",
21604     "description": "<p>Motion will return a list of realtime trunks parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21605     "version": "0.0.0",
21606     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21607     "groupTitle": "RPC_Realtime"
21608   },
21609   {
21610     "type": "get",
21611     "url": "/api/rpc/voice/channels",
21612     "title": "Gets a list of RTVoiceChannelMixMonitor",
21613     "examples": [
21614       {
21615         "title": "Example usage:",
21616         "content": "curl https://{domain}/api/rpc/voice/channels/{uniqueid}/mixmonitor -v -u {name}:{password}",
21617         "type": "json"
21618       }
21619     ],
21620     "name": "RTVoiceChannelMixMonitor",
21621     "group": "RPC_Realtime",
21622     "description": "<p>Motion will return a list of realtime voice channel mixmonitor.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21623     "version": "0.0.0",
21624     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21625     "groupTitle": "RPC_Realtime"
21626   },
21627   {
21628     "type": "get",
21629     "url": "/api/rpc/voice/channels",
21630     "title": "Gets a list of RTVoiceChannelStopMixMonitor",
21631     "examples": [
21632       {
21633         "title": "Example usage:",
21634         "content": "curl https://{domain}/api/rpc/voice/channels/{uniqueid}/stopmixmonitor -v -u {name}:{password}",
21635         "type": "json"
21636       }
21637     ],
21638     "name": "RTVoiceChannelStopMixMonitor",
21639     "group": "RPC_Realtime",
21640     "description": "<p>Motion will return a list of realtime voice channel stopmixmonitor.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21641     "version": "0.0.0",
21642     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21643     "groupTitle": "RPC_Realtime"
21644   },
21645   {
21646     "type": "get",
21647     "url": "/api/rpc/voice/channels",
21648     "title": "Gets a list of RTVoiceChannels",
21649     "examples": [
21650       {
21651         "title": "Example usage:",
21652         "content": "curl https://{domain}/api/rpc/voice/channels -v -u {name}:{password}",
21653         "type": "json"
21654       }
21655     ],
21656     "name": "RTVoiceChannels",
21657     "group": "RPC_Realtime",
21658     "description": "<p>Motion will return a list of realtime voice channels.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21659     "version": "0.0.0",
21660     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21661     "groupTitle": "RPC_Realtime"
21662   },
21663   {
21664     "type": "get",
21665     "url": "/api/rpc/voice/queues/channels/{uniqueid}",
21666     "title": "Gets a single RTVoiceQueueChannel",
21667     "examples": [
21668       {
21669         "title": "Example usage:",
21670         "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid} -v -u {name}:{password}",
21671         "type": "json"
21672       }
21673     ],
21674     "name": "RTVoiceQueueChannel",
21675     "group": "RPC_Realtime",
21676     "description": "<p>Motion will return a specific realtime voice queue channel.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21677     "version": "0.0.0",
21678     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21679     "groupTitle": "RPC_Realtime"
21680   },
21681   {
21682     "type": "get",
21683     "url": "/api/rpc/voice/queues/channels/{uniqueid}/hangup",
21684     "title": "Hangup a single RTVoiceQueueChannel",
21685     "examples": [
21686       {
21687         "title": "Example usage:",
21688         "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid}/hangup -v -u {name}:{password}",
21689         "type": "json"
21690       }
21691     ],
21692     "name": "RTVoiceQueueChannelHangup",
21693     "group": "RPC_Realtime",
21694     "description": "<p>Motion will hangup a specific realtime voice queue channel.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21695     "version": "0.0.0",
21696     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21697     "groupTitle": "RPC_Realtime"
21698   },
21699   {
21700     "type": "get",
21701     "url": "/api/rpc/voice/queues/channels/{uniqueid}/redirect/{exten}",
21702     "title": "Hangup a single RTVoiceQueueChannel",
21703     "examples": [
21704       {
21705         "title": "Example usage:",
21706         "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid}/redirect/{exten} -v -u {name}:{password}",
21707         "type": "json"
21708       }
21709     ],
21710     "name": "RTVoiceQueueChannelRedirect",
21711     "group": "RPC_Realtime",
21712     "description": "<p>Motion will redirect a specific realtime voice queue channel to a specific extension.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21713     "version": "0.0.0",
21714     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21715     "groupTitle": "RPC_Realtime"
21716   },
21717   {
21718     "type": "get",
21719     "url": "/api/rpc/voice/queues/preview/{id}",
21720     "title": "Gets a single preview contact",
21721     "examples": [
21722       {
21723         "title": "Example usage:",
21724         "content": "curl https://{domain}/api/rpc/voice/queues/preview/{id} -v -u {name}:{password}",
21725         "type": "json"
21726       }
21727     ],
21728     "name": "RTVoiceQueuePreview",
21729     "group": "RPC_Realtime",
21730     "description": "<p>Motion will return a specific preview contact.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21731     "version": "0.0.0",
21732     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21733     "groupTitle": "RPC_Realtime"
21734   },
21735   {
21736     "type": "get",
21737     "url": "/api/rpc/voice/queues",
21738     "title": "Gets a list of RTVoiceQueues",
21739     "examples": [
21740       {
21741         "title": "Example usage:",
21742         "content": "curl https://{domain}/api/rpc/voice/queues -v -u {name}:{password}",
21743         "type": "json"
21744       }
21745     ],
21746     "name": "RTVoiceQueues",
21747     "group": "RPC_Realtime",
21748     "description": "<p>Motion will return a list of realtime voice queues parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21749     "version": "0.0.0",
21750     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21751     "groupTitle": "RPC_Realtime"
21752   },
21753   {
21754     "type": "get",
21755     "url": "/api/rpc/outbound",
21756     "title": "Gets a list of RTOutbound",
21757     "examples": [
21758       {
21759         "title": "Example usage:",
21760         "content": "curl https://{domain}/api/rpc/outbound -v -u {name}:{password}",
21761         "type": "json"
21762       }
21763     ],
21764     "name": "RTVoiceQueues",
21765     "group": "RPC_Realtime",
21766     "description": "<p>Motion will return a list of realtime outbound parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21767     "version": "0.0.0",
21768     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21769     "groupTitle": "RPC_Realtime"
21770   },
21771   {
21772     "type": "get",
21773     "url": "/api/rpc/voice/queues/channels",
21774     "title": "Gets a list of RTVoiceQueuesChannels",
21775     "examples": [
21776       {
21777         "title": "Example usage:",
21778         "content": "curl https://{domain}/api/rpc/voice/queues/channels -v -u {name}:{password}",
21779         "type": "json"
21780       }
21781     ],
21782     "name": "RTVoiceQueuesChannels",
21783     "group": "RPC_Realtime",
21784     "description": "<p>Motion will return a list of realtime voice queues channels.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21785     "version": "0.0.0",
21786     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21787     "groupTitle": "RPC_Realtime"
21788   },
21789   {
21790     "type": "get",
21791     "url": "/api/rpc/chat/queues/{id}",
21792     "title": "Gets a single RTChatQueue",
21793     "examples": [
21794       {
21795         "title": "Example usage:",
21796         "content": "curl https://{domain}/api/rpc/chat/queues/{id} -v -u {name}:{password}",
21797         "type": "json"
21798       }
21799     ],
21800     "name": "ShowRTChatQueues",
21801     "group": "RPC_Realtime",
21802     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21803     "version": "0.0.0",
21804     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21805     "groupTitle": "RPC_Realtime"
21806   },
21807   {
21808     "type": "get",
21809     "url": "/api/rpc/fax/queues/{id}",
21810     "title": "Gets a single RTFaxQueue",
21811     "examples": [
21812       {
21813         "title": "Example usage:",
21814         "content": "curl https://{domain}/api/rpc/fax/queues/{id} -v -u {name}:{password}",
21815         "type": "json"
21816       }
21817     ],
21818     "name": "ShowRTFaxQueues",
21819     "group": "RPC_Realtime",
21820     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21821     "version": "0.0.0",
21822     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21823     "groupTitle": "RPC_Realtime"
21824   },
21825   {
21826     "type": "get",
21827     "url": "/api/rpc/mail/queues/{id}",
21828     "title": "Gets a single RTMailQueue",
21829     "examples": [
21830       {
21831         "title": "Example usage:",
21832         "content": "curl https://{domain}/api/rpc/mail/queues/{id} -v -u {name}:{password}",
21833         "type": "json"
21834       }
21835     ],
21836     "name": "ShowRTMailQueues",
21837     "group": "RPC_Realtime",
21838     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21839     "version": "0.0.0",
21840     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21841     "groupTitle": "RPC_Realtime"
21842   },
21843   {
21844     "type": "get",
21845     "url": "/api/rpc/openchannel/queues/{id}",
21846     "title": "Gets a single RTOpenchannelQueue",
21847     "examples": [
21848       {
21849         "title": "Example usage:",
21850         "content": "curl https://{domain}/api/rpc/openchannel/queues/{id} -v -u {name}:{password}",
21851         "type": "json"
21852       }
21853     ],
21854     "name": "ShowRTOpenchannelQueues",
21855     "group": "RPC_Realtime",
21856     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21857     "version": "0.0.0",
21858     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21859     "groupTitle": "RPC_Realtime"
21860   },
21861   {
21862     "type": "get",
21863     "url": "/api/rpc/sms/queues/{id}",
21864     "title": "Gets a single RTSmsQueue",
21865     "examples": [
21866       {
21867         "title": "Example usage:",
21868         "content": "curl https://{domain}/api/rpc/sms/queues/{id} -v -u {name}:{password}",
21869         "type": "json"
21870       }
21871     ],
21872     "name": "ShowRTSmsQueues",
21873     "group": "RPC_Realtime",
21874     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21875     "version": "0.0.0",
21876     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21877     "groupTitle": "RPC_Realtime"
21878   },
21879   {
21880     "type": "get",
21881     "url": "/api/rpc/voice/queues/{id}",
21882     "title": "Gets a single RTVoiceQueue",
21883     "examples": [
21884       {
21885         "title": "Example usage:",
21886         "content": "curl https://{domain}/api/rpc/voice/queues/{id} -v -u {name}:{password}",
21887         "type": "json"
21888       }
21889     ],
21890     "name": "ShowRTVoiceQueues",
21891     "group": "RPC_Realtime",
21892     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21893     "version": "0.0.0",
21894     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21895     "groupTitle": "RPC_Realtime"
21896   },
21897   {
21898     "type": "post",
21899     "url": "/api/rpc/agents/:id/notify",
21900     "title": "Notify message to a specific agent",
21901     "examples": [
21902       {
21903         "title": "Example usage:",
21904         "content": "curl https://{domain}/api/rpc/agents/:id/notify -d '{\"messageId\": \"5080\", \"channel\": \"mail\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
21905         "type": "json"
21906       }
21907     ],
21908     "name": "agentNotify",
21909     "group": "RPC_Realtime",
21910     "description": "<p>Notify message to a specific agent.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21911     "version": "0.0.0",
21912     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21913     "groupTitle": "RPC_Realtime"
21914   },
21915   {
21916     "type": "post",
21917     "url": "/api/rpc/chat/queues/:id/notify",
21918     "title": "Notify message to a specific queue",
21919     "examples": [
21920       {
21921         "title": "Example usage:",
21922         "content": "curl https://{domain}/api/rpc/chat/queues/:id/notify -d '{\"messageId\": \"5080\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
21923         "type": "json"
21924       }
21925     ],
21926     "name": "chatQueueNotify",
21927     "group": "RPC_Realtime",
21928     "description": "<p>Notify message to a specific queue.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21929     "version": "0.0.0",
21930     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21931     "groupTitle": "RPC_Realtime"
21932   },
21933   {
21934     "type": "get",
21935     "url": "/api/rpc/chat/queues/waitinginteractions",
21936     "title": "Gets a list of chatQueuesWaitingInteractions",
21937     "examples": [
21938       {
21939         "title": "Example usage:",
21940         "content": "curl https://{domain}/api/rpc/chat/queues/waitinginteractions -v -u {name}:{password}",
21941         "type": "json"
21942       }
21943     ],
21944     "name": "chatQueuesWaitingInteractions",
21945     "group": "RPC_Realtime",
21946     "description": "<p>Motion will return a list of realtime waiting chat queues interctions.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21947     "version": "0.0.0",
21948     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21949     "groupTitle": "RPC_Realtime"
21950   },
21951   {
21952     "type": "post",
21953     "url": "/api/rpc/fax/queues/:id/notify",
21954     "title": "Notify message to a specific queue",
21955     "examples": [
21956       {
21957         "title": "Example usage:",
21958         "content": "curl https://{domain}/api/rpc/fax/queues/:id/notify -d '{\"messageId\": \"5080\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
21959         "type": "json"
21960       }
21961     ],
21962     "name": "faxQueueNotify",
21963     "group": "RPC_Realtime",
21964     "description": "<p>Notify message to a specific queue.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21965     "version": "0.0.0",
21966     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21967     "groupTitle": "RPC_Realtime"
21968   },
21969   {
21970     "type": "get",
21971     "url": "/api/rpc/fax/queues/waitinginteractions",
21972     "title": "Gets a list of faxQueuesWaitingInteractions",
21973     "examples": [
21974       {
21975         "title": "Example usage:",
21976         "content": "curl https://{domain}/api/rpc/fax/queues/waitinginteractions -v -u {name}:{password}",
21977         "type": "json"
21978       }
21979     ],
21980     "name": "faxQueuesWaitingInteractions",
21981     "group": "RPC_Realtime",
21982     "description": "<p>Motion will return a list of realtime waiting fax queues interctions.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21983     "version": "0.0.0",
21984     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
21985     "groupTitle": "RPC_Realtime"
21986   },
21987   {
21988     "type": "post",
21989     "url": "/api/rpc/mail/queues/:id/notify",
21990     "title": "Notify message to a specific queue",
21991     "examples": [
21992       {
21993         "title": "Example usage:",
21994         "content": "curl https://{domain}/api/rpc/mail/queues/:id/notify -d '{\"messageId\": \"5080\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
21995         "type": "json"
21996       }
21997     ],
21998     "name": "mailQueueNotify",
21999     "group": "RPC_Realtime",
22000     "description": "<p>Notify message to a specific queue.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22001     "version": "0.0.0",
22002     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
22003     "groupTitle": "RPC_Realtime"
22004   },
22005   {
22006     "type": "get",
22007     "url": "/api/rpc/mail/queues/waitinginteractions",
22008     "title": "Gets a list of mailQueuesWaitingInteractions",
22009     "examples": [
22010       {
22011         "title": "Example usage:",
22012         "content": "curl https://{domain}/api/rpc/mail/queues/waitinginteractions -v -u {name}:{password}",
22013         "type": "json"
22014       }
22015     ],
22016     "name": "mailQueuesWaitingInteractions",
22017     "group": "RPC_Realtime",
22018     "description": "<p>Motion will return a list of realtime waiting mail queues interctions.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22019     "version": "0.0.0",
22020     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
22021     "groupTitle": "RPC_Realtime"
22022   },
22023   {
22024     "type": "post",
22025     "url": "/api/rpc/openchannel/queues/:id/notify",
22026     "title": "Notify message to a specific queue",
22027     "examples": [
22028       {
22029         "title": "Example usage:",
22030         "content": "curl https://{domain}/api/rpc/openchannel/queues/:id/notify -d '{\"messageId\": \"5080\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
22031         "type": "json"
22032       }
22033     ],
22034     "name": "openchannelQueueNotify",
22035     "group": "RPC_Realtime",
22036     "description": "<p>Notify message to a specific queue.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22037     "version": "0.0.0",
22038     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
22039     "groupTitle": "RPC_Realtime"
22040   },
22041   {
22042     "type": "get",
22043     "url": "/api/rpc/openchannel/queues/:id/waitinginteractions",
22044     "title": "Gets a list of openchannelQueuesIdWaitingInteractions",
22045     "examples": [
22046       {
22047         "title": "Example usage:",
22048         "content": "curl https://{domain}/api/rpc/openchannel/queues/:id/waitinginteractions -v -u {name}:{password}",
22049         "type": "json"
22050       }
22051     ],
22052     "name": "openchannelQueuesIdWaitingInteractions",
22053     "group": "RPC_Realtime",
22054     "description": "<p>Motion will return a list of realtime waiting openchannel queues interctions.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22055     "version": "0.0.0",
22056     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
22057     "groupTitle": "RPC_Realtime"
22058   },
22059   {
22060     "type": "get",
22061     "url": "/api/rpc/openchannel/queues/waitinginteractions",
22062     "title": "Gets a list of openchannelQueuesWaitingInteractions",
22063     "examples": [
22064       {
22065         "title": "Example usage:",
22066         "content": "curl https://{domain}/api/rpc/openchannel/queues/waitinginteractions -v -u {name}:{password}",
22067         "type": "json"
22068       }
22069     ],
22070     "name": "openchannelQueuesWaitingInteractions",
22071     "group": "RPC_Realtime",
22072     "description": "<p>Motion will return a list of realtime waiting openchannel queues interctions.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22073     "version": "0.0.0",
22074     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
22075     "groupTitle": "RPC_Realtime"
22076   },
22077   {
22078     "type": "post",
22079     "url": "/api/rpc/sms/queues/:id/notify",
22080     "title": "Notify message to a specific queue",
22081     "examples": [
22082       {
22083         "title": "Example usage:",
22084         "content": "curl https://{domain}/api/rpc/sms/queues/:id/notify -d '{\"messageId\": \"5080\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
22085         "type": "json"
22086       }
22087     ],
22088     "name": "smsQueueNotify",
22089     "group": "RPC_Realtime",
22090     "description": "<p>Notify message to a specific queue.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22091     "version": "0.0.0",
22092     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
22093     "groupTitle": "RPC_Realtime"
22094   },
22095   {
22096     "type": "get",
22097     "url": "/api/rpc/sms/queues/waitinginteractions",
22098     "title": "Gets a list of smsQueuesWaitingInteractions",
22099     "examples": [
22100       {
22101         "title": "Example usage:",
22102         "content": "curl https://{domain}/api/rpc/sms/queues/waitinginteractions -v -u {name}:{password}",
22103         "type": "json"
22104       }
22105     ],
22106     "name": "smsQueuesWaitingInteractions",
22107     "group": "RPC_Realtime",
22108     "description": "<p>Motion will return a list of realtime waiting sms queues interctions.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22109     "version": "0.0.0",
22110     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/rpc/index.js",
22111     "groupTitle": "RPC_Realtime"
22112   },
22113   {
22114     "type": "post",
22115     "url": "/CreateReportAgentPreview",
22116     "title": "Creates a new ReportAgentPreview",
22117     "name": "CreateReportAgentPreview",
22118     "group": "Report_Agent_Preview",
22119     "version": "0.0.0",
22120     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/reportAgentPreview/reportAgentPreview.rpc.js",
22121     "groupTitle": "Report_Agent_Preview"
22122   },
22123   {
22124     "type": "post",
22125     "url": "/api/integrations/salesforce/accounts",
22126     "title": "Creates a new Salesforce Account",
22127     "examples": [
22128       {
22129         "title": "Example usage:",
22130         "content": "curl https://{domain}/api/integrations/salesforce/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
22131         "type": "json"
22132       }
22133     ],
22134     "name": "CreateSalesforce_Accounts",
22135     "group": "Salesforce_Accounts",
22136     "parameter": {
22137       "fields": {
22138         "Body": [
22139           {
22140             "group": "Body",
22141             "type": "String",
22142             "optional": true,
22143             "field": "name",
22144             "description": ""
22145           },
22146           {
22147             "group": "Body",
22148             "type": "String",
22149             "optional": true,
22150             "field": "description",
22151             "description": ""
22152           },
22153           {
22154             "group": "Body",
22155             "type": "String",
22156             "optional": true,
22157             "field": "username",
22158             "description": ""
22159           },
22160           {
22161             "group": "Body",
22162             "type": "String",
22163             "optional": true,
22164             "field": "remoteUri",
22165             "description": ""
22166           },
22167           {
22168             "group": "Body",
22169             "type": "String",
22170             "optional": true,
22171             "field": "password",
22172             "description": ""
22173           },
22174           {
22175             "group": "Body",
22176             "type": "String",
22177             "optional": true,
22178             "field": "clientId",
22179             "description": ""
22180           },
22181           {
22182             "group": "Body",
22183             "type": "String",
22184             "optional": true,
22185             "field": "clientSecret",
22186             "description": ""
22187           },
22188           {
22189             "group": "Body",
22190             "type": "String",
22191             "optional": true,
22192             "field": "securityToken",
22193             "description": ""
22194           },
22195           {
22196             "group": "Body",
22197             "type": "String",
22198             "optional": true,
22199             "field": "serverUrl",
22200             "description": ""
22201           },
22202           {
22203             "group": "Body",
22204             "type": "String",
22205             "allowedValues": [
22206               "\"integrationTab\"",
22207               "\"newTab\""
22208             ],
22209             "optional": true,
22210             "field": "type",
22211             "description": ""
22212           }
22213         ]
22214       }
22215     },
22216     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22217     "version": "0.0.0",
22218     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceAccount/index.js",
22219     "groupTitle": "Salesforce_Accounts"
22220   },
22221   {
22222     "type": "delete",
22223     "url": "/api/integrations/salesforce/accounts/{id}",
22224     "title": "Deletes a Salesforce Account",
22225     "examples": [
22226       {
22227         "title": "Example usage:",
22228         "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id} -v -u {name}:{password} -X DELETE",
22229         "type": "json"
22230       }
22231     ],
22232     "name": "DeleteSalesforce_Accounts",
22233     "group": "Salesforce_Accounts",
22234     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22235     "version": "0.0.0",
22236     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceAccount/index.js",
22237     "groupTitle": "Salesforce_Accounts"
22238   },
22239   {
22240     "type": "get",
22241     "url": "/GetSalesforceAccount",
22242     "title": "Gets a list of Salesforce Accounts",
22243     "name": "GetSalesforceAccount",
22244     "group": "Salesforce_Accounts",
22245     "parameter": {
22246       "fields": {
22247         "Body": [
22248           {
22249             "group": "Body",
22250             "type": "Object",
22251             "optional": true,
22252             "field": "options.attributes",
22253             "description": ""
22254           },
22255           {
22256             "group": "Body",
22257             "type": "Object",
22258             "optional": true,
22259             "field": "options.where",
22260             "description": ""
22261           }
22262         ]
22263       }
22264     },
22265     "version": "0.0.0",
22266     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceAccount/intSalesforceAccount.rpc.js",
22267     "groupTitle": "Salesforce_Accounts"
22268   },
22269   {
22270     "type": "get",
22271     "url": "/api/integrations/salesforce/accounts",
22272     "title": "Gets a list of Salesforce Accounts",
22273     "examples": [
22274       {
22275         "title": "Example usage:",
22276         "content": "curl https://{domain}/api/integrations/salesforce/accounts -v -u {name}:{password}",
22277         "type": "json"
22278       }
22279     ],
22280     "name": "GetSalesforce_Accounts",
22281     "group": "Salesforce_Accounts",
22282     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/salesforce/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/salesforce/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/salesforce/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/salesforce/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/salesforce/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
22283     "version": "0.0.0",
22284     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceAccount/index.js",
22285     "groupTitle": "Salesforce_Accounts"
22286   },
22287   {
22288     "type": "get",
22289     "url": "/ShowSalesforceAccount",
22290     "title": "Gets a single Salesforce Account",
22291     "name": "ShowSalesforceAccount",
22292     "group": "Salesforce_Accounts",
22293     "parameter": {
22294       "fields": {
22295         "Body": [
22296           {
22297             "group": "Body",
22298             "type": "Object",
22299             "optional": true,
22300             "field": "options.attributes",
22301             "description": ""
22302           },
22303           {
22304             "group": "Body",
22305             "type": "Object",
22306             "optional": false,
22307             "field": "options.where",
22308             "description": ""
22309           }
22310         ]
22311       }
22312     },
22313     "version": "0.0.0",
22314     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceAccount/intSalesforceAccount.rpc.js",
22315     "groupTitle": "Salesforce_Accounts"
22316   },
22317   {
22318     "type": "get",
22319     "url": "/api/integrations/salesforce/accounts/{id}",
22320     "title": "Gets a single Salesforce Account",
22321     "examples": [
22322       {
22323         "title": "Example usage:",
22324         "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id} -v -u {name}:{password}",
22325         "type": "json"
22326       }
22327     ],
22328     "name": "ShowSalesforce_Accounts",
22329     "group": "Salesforce_Accounts",
22330     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22331     "version": "0.0.0",
22332     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceAccount/index.js",
22333     "groupTitle": "Salesforce_Accounts"
22334   },
22335   {
22336     "type": "post",
22337     "url": "/api/integrations/salesforce/accounts/{id}/configurations",
22338     "title": "Creates new configuration",
22339     "examples": [
22340       {
22341         "title": "Example usage:",
22342         "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id}/configurations -d '{\"name\": \"conf1\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
22343         "type": "json"
22344       }
22345     ],
22346     "name": "addConfiguration",
22347     "group": "Salesforce_Accounts",
22348     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22349     "version": "0.0.0",
22350     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceAccount/index.js",
22351     "groupTitle": "Salesforce_Accounts"
22352   },
22353   {
22354     "type": "get",
22355     "url": "/api/integrations/salesforce/accounts/{id}/configurations",
22356     "title": "Gets account configurations",
22357     "examples": [
22358       {
22359         "title": "Example usage:",
22360         "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id}/configurations -v -u {name}:{password} -X GET",
22361         "type": "json"
22362       }
22363     ],
22364     "name": "getConfigurations",
22365     "group": "Salesforce_Accounts",
22366     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22367     "version": "0.0.0",
22368     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceAccount/index.js",
22369     "groupTitle": "Salesforce_Accounts"
22370   },
22371   {
22372     "type": "get",
22373     "url": "/api/integrations/salesforce/accounts/{id}/fields",
22374     "title": "Gets account fields",
22375     "examples": [
22376       {
22377         "title": "Example usage:",
22378         "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id}/fields -v -u {name}:{password} -X GET",
22379         "type": "json"
22380       }
22381     ],
22382     "name": "getFields",
22383     "group": "Salesforce_Accounts",
22384     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22385     "version": "0.0.0",
22386     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceAccount/index.js",
22387     "groupTitle": "Salesforce_Accounts"
22388   },
22389   {
22390     "type": "put",
22391     "url": "/api/integrations/salesforce/accounts/{id}",
22392     "title": "Update an existing Salesforce Account",
22393     "examples": [
22394       {
22395         "title": "Example usage:",
22396         "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
22397         "type": "json"
22398       }
22399     ],
22400     "name": "updateSalesforce_Accounts",
22401     "group": "Salesforce_Accounts",
22402     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22403     "version": "0.0.0",
22404     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceAccount/index.js",
22405     "groupTitle": "Salesforce_Accounts"
22406   },
22407   {
22408     "type": "post",
22409     "url": "/api/integrations/salesforce/configurations",
22410     "title": "Creates a new Salesforce Configuration",
22411     "examples": [
22412       {
22413         "title": "Example usage:",
22414         "content": "curl https://{domain}/api/integrations/salesforce/configurations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
22415         "type": "json"
22416       }
22417     ],
22418     "name": "CreateSalesforce_Configurations",
22419     "group": "Salesforce_Configurations",
22420     "parameter": {
22421       "fields": {
22422         "Body": [
22423           {
22424             "group": "Body",
22425             "type": "String",
22426             "optional": true,
22427             "field": "name",
22428             "description": ""
22429           },
22430           {
22431             "group": "Body",
22432             "type": "String",
22433             "optional": true,
22434             "field": "description",
22435             "description": ""
22436           },
22437           {
22438             "group": "Body",
22439             "type": "String",
22440             "allowedValues": [
22441               "\"Task\"",
22442               "\"Case\""
22443             ],
22444             "optional": true,
22445             "field": "ticketType",
22446             "description": ""
22447           },
22448           {
22449             "group": "Body",
22450             "type": "String",
22451             "allowedValues": [
22452               "\"contact_lead\"",
22453               "\"contact\"",
22454               "\"lead\""
22455             ],
22456             "optional": true,
22457             "field": "moduleSearch",
22458             "description": ""
22459           },
22460           {
22461             "group": "Body",
22462             "type": "String",
22463             "allowedValues": [
22464               "\"nothing\"",
22465               "\"contact\"",
22466               "\"lead\""
22467             ],
22468             "optional": true,
22469             "field": "moduleCreate",
22470             "description": ""
22471           }
22472         ]
22473       }
22474     },
22475     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22476     "version": "0.0.0",
22477     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceConfiguration/index.js",
22478     "groupTitle": "Salesforce_Configurations"
22479   },
22480   {
22481     "type": "delete",
22482     "url": "/api/integrations/salesforce/configurations/{id}",
22483     "title": "Deletes a Salesforce Configuration",
22484     "examples": [
22485       {
22486         "title": "Example usage:",
22487         "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id} -v -u {name}:{password} -X DELETE",
22488         "type": "json"
22489       }
22490     ],
22491     "name": "DeleteSalesforce_Configurations",
22492     "group": "Salesforce_Configurations",
22493     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22494     "version": "0.0.0",
22495     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceConfiguration/index.js",
22496     "groupTitle": "Salesforce_Configurations"
22497   },
22498   {
22499     "type": "get",
22500     "url": "/api/integrations/salesforce/configurations",
22501     "title": "Gets a list of Salesforce Configurations",
22502     "examples": [
22503       {
22504         "title": "Example usage:",
22505         "content": "curl https://{domain}/api/integrations/salesforce/configurations -v -u {name}:{password}",
22506         "type": "json"
22507       }
22508     ],
22509     "name": "GetSalesforce_Configurations",
22510     "group": "Salesforce_Configurations",
22511     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/salesforce/configurations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/salesforce/configurations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/salesforce/configurations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/salesforce/configurations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/salesforce/configurations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
22512     "version": "0.0.0",
22513     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceConfiguration/index.js",
22514     "groupTitle": "Salesforce_Configurations"
22515   },
22516   {
22517     "type": "get",
22518     "url": "/api/integrations/salesforce/configurations/{id}",
22519     "title": "Gets a single Salesforce Configuration",
22520     "examples": [
22521       {
22522         "title": "Example usage:",
22523         "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id} -v -u {name}:{password}",
22524         "type": "json"
22525       }
22526     ],
22527     "name": "ShowSalesforce_Configurations",
22528     "group": "Salesforce_Configurations",
22529     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22530     "version": "0.0.0",
22531     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceConfiguration/index.js",
22532     "groupTitle": "Salesforce_Configurations"
22533   },
22534   {
22535     "type": "get",
22536     "url": "/api/integrations/salesforce/configurations/{id}/descriptions",
22537     "title": "Gets configurations descriptions",
22538     "examples": [
22539       {
22540         "title": "Example usage:",
22541         "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
22542         "type": "json"
22543       }
22544     ],
22545     "name": "getDescriptions",
22546     "group": "Salesforce_Configurations",
22547     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22548     "version": "0.0.0",
22549     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceConfiguration/index.js",
22550     "groupTitle": "Salesforce_Configurations"
22551   },
22552   {
22553     "type": "get",
22554     "url": "/api/integrations/salesforce/configurations/{id}/fields",
22555     "title": "Gets configurations fields",
22556     "examples": [
22557       {
22558         "title": "Example usage:",
22559         "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/fields -v -u {name}:{password} -X GET",
22560         "type": "json"
22561       }
22562     ],
22563     "name": "getFields",
22564     "group": "Salesforce_Configurations",
22565     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22566     "version": "0.0.0",
22567     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceConfiguration/index.js",
22568     "groupTitle": "Salesforce_Configurations"
22569   },
22570   {
22571     "type": "get",
22572     "url": "/api/integrations/salesforce/configurations/{id}/subjects",
22573     "title": "Gets configurations subjects",
22574     "examples": [
22575       {
22576         "title": "Example usage:",
22577         "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/subjects -v -u {name}:{password} -X GET",
22578         "type": "json"
22579       }
22580     ],
22581     "name": "getSubjects",
22582     "group": "Salesforce_Configurations",
22583     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22584     "version": "0.0.0",
22585     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceConfiguration/index.js",
22586     "groupTitle": "Salesforce_Configurations"
22587   },
22588   {
22589     "type": "put",
22590     "url": "/api/integrations/salesforce/configurations/{id}",
22591     "title": "Update an existing Salesforce Configuration",
22592     "examples": [
22593       {
22594         "title": "Example usage:",
22595         "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
22596         "type": "json"
22597       }
22598     ],
22599     "name": "updateSalesforce_Configurations",
22600     "group": "Salesforce_Configurations",
22601     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22602     "version": "0.0.0",
22603     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceConfiguration/index.js",
22604     "groupTitle": "Salesforce_Configurations"
22605   },
22606   {
22607     "type": "post",
22608     "url": "/api/integrations/salesforce/fields",
22609     "title": "Creates a new Salesforce Field",
22610     "examples": [
22611       {
22612         "title": "Example usage:",
22613         "content": "curl https://{domain}/api/integrations/salesforce/fields -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
22614         "type": "json"
22615       }
22616     ],
22617     "name": "CreateSalesforce_Fields",
22618     "group": "Salesforce_Fields",
22619     "parameter": {
22620       "fields": {
22621         "Body": [
22622           {
22623             "group": "Body",
22624             "type": "String",
22625             "allowedValues": [
22626               "\"string\"",
22627               "\"variable\"",
22628               "\"customVariable\"",
22629               "\"keyValue\""
22630             ],
22631             "optional": true,
22632             "field": "type",
22633             "description": ""
22634           },
22635           {
22636             "group": "Body",
22637             "type": "String",
22638             "optional": true,
22639             "field": "content",
22640             "description": ""
22641           },
22642           {
22643             "group": "Body",
22644             "type": "String",
22645             "optional": true,
22646             "field": "key",
22647             "description": ""
22648           },
22649           {
22650             "group": "Body",
22651             "type": "String",
22652             "allowedValues": [
22653               "\"string\"",
22654               "\"variable\"",
22655               "\"customVariable\""
22656             ],
22657             "optional": true,
22658             "field": "keyType",
22659             "description": ""
22660           },
22661           {
22662             "group": "Body",
22663             "type": "String",
22664             "optional": true,
22665             "field": "keyContent",
22666             "description": ""
22667           },
22668           {
22669             "group": "Body",
22670             "type": "String",
22671             "optional": true,
22672             "field": "idField",
22673             "description": ""
22674           },
22675           {
22676             "group": "Body",
22677             "type": "String",
22678             "optional": true,
22679             "field": "variableName",
22680             "description": ""
22681           }
22682         ]
22683       }
22684     },
22685     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22686     "version": "0.0.0",
22687     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceField/index.js",
22688     "groupTitle": "Salesforce_Fields"
22689   },
22690   {
22691     "type": "delete",
22692     "url": "/api/integrations/salesforce/fields/{id}",
22693     "title": "Deletes a Salesforce Field",
22694     "examples": [
22695       {
22696         "title": "Example usage:",
22697         "content": "curl https://{domain}/api/integrations/salesforce/fields/{id} -v -u {name}:{password} -X DELETE",
22698         "type": "json"
22699       }
22700     ],
22701     "name": "DeleteSalesforce_Fields",
22702     "group": "Salesforce_Fields",
22703     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22704     "version": "0.0.0",
22705     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceField/index.js",
22706     "groupTitle": "Salesforce_Fields"
22707   },
22708   {
22709     "type": "get",
22710     "url": "/api/integrations/salesforce/fields",
22711     "title": "Gets a list of Salesforce Fields",
22712     "examples": [
22713       {
22714         "title": "Example usage:",
22715         "content": "curl https://{domain}/api/integrations/salesforce/fields -v -u {name}:{password}",
22716         "type": "json"
22717       }
22718     ],
22719     "name": "GetSalesforce_Fields",
22720     "group": "Salesforce_Fields",
22721     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/salesforce/fields?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/salesforce/fields?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/salesforce/fields?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/salesforce/fields?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/salesforce/fields?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
22722     "version": "0.0.0",
22723     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceField/index.js",
22724     "groupTitle": "Salesforce_Fields"
22725   },
22726   {
22727     "type": "get",
22728     "url": "/api/integrations/salesforce/fields/{id}",
22729     "title": "Gets a single Salesforce Field",
22730     "examples": [
22731       {
22732         "title": "Example usage:",
22733         "content": "curl https://{domain}/api/integrations/salesforce/fields/{id} -v -u {name}:{password}",
22734         "type": "json"
22735       }
22736     ],
22737     "name": "ShowSalesforce_Fields",
22738     "group": "Salesforce_Fields",
22739     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22740     "version": "0.0.0",
22741     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceField/index.js",
22742     "groupTitle": "Salesforce_Fields"
22743   },
22744   {
22745     "type": "put",
22746     "url": "/api/integrations/salesforce/fields/{id}",
22747     "title": "Update an existing Salesforce Field",
22748     "examples": [
22749       {
22750         "title": "Example usage:",
22751         "content": "curl https://{domain}/api/integrations/salesforce/fields/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
22752         "type": "json"
22753       }
22754     ],
22755     "name": "updateSalesforce_Fields",
22756     "group": "Salesforce_Fields",
22757     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22758     "version": "0.0.0",
22759     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSalesforceField/index.js",
22760     "groupTitle": "Salesforce_Fields"
22761   },
22762   {
22763     "type": "post",
22764     "url": "/api/schedules",
22765     "title": "Creates a new Schedule",
22766     "examples": [
22767       {
22768         "title": "Example usage:",
22769         "content": "curl https://{domain}/api/schedules -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
22770         "type": "json"
22771       }
22772     ],
22773     "name": "CreateSchedules",
22774     "group": "Schedules",
22775     "parameter": {
22776       "fields": {
22777         "Body": [
22778           {
22779             "group": "Body",
22780             "type": "String",
22781             "optional": false,
22782             "field": "name",
22783             "description": ""
22784           },
22785           {
22786             "group": "Body",
22787             "type": "String",
22788             "optional": true,
22789             "field": "description",
22790             "description": ""
22791           },
22792           {
22793             "group": "Body",
22794             "type": "Boolean",
22795             "optional": false,
22796             "field": "active",
22797             "description": ""
22798           },
22799           {
22800             "group": "Body",
22801             "type": "String",
22802             "optional": false,
22803             "field": "cron",
22804             "description": ""
22805           },
22806           {
22807             "group": "Body",
22808             "type": "String",
22809             "optional": false,
22810             "field": "startAt",
22811             "description": ""
22812           },
22813           {
22814             "group": "Body",
22815             "type": "String",
22816             "optional": false,
22817             "field": "endAt",
22818             "description": ""
22819           },
22820           {
22821             "group": "Body",
22822             "type": "Integer",
22823             "optional": false,
22824             "field": "subtractNumber",
22825             "description": ""
22826           },
22827           {
22828             "group": "Body",
22829             "type": "String",
22830             "allowedValues": [
22831               "\"years\"",
22832               "\"quarters\"",
22833               "\"months\"",
22834               "\"weeks\"",
22835               "\"days\"",
22836               "\"hours\"",
22837               "\"minutes\""
22838             ],
22839             "optional": false,
22840             "field": "subtractUnit",
22841             "description": ""
22842           },
22843           {
22844             "group": "Body",
22845             "type": "String",
22846             "allowedValues": [
22847               "\"csv\"",
22848               "\"pdf\"",
22849               "\"xlsx\""
22850             ],
22851             "optional": false,
22852             "field": "output",
22853             "description": ""
22854           },
22855           {
22856             "group": "Body",
22857             "type": "String",
22858             "allowedValues": [
22859               "\"custom\"",
22860               "\"default\""
22861             ],
22862             "optional": false,
22863             "field": "type",
22864             "description": ""
22865           },
22866           {
22867             "group": "Body",
22868             "type": "Boolean",
22869             "optional": true,
22870             "field": "sendMail",
22871             "description": ""
22872           },
22873           {
22874             "group": "Body",
22875             "type": "String",
22876             "optional": true,
22877             "field": "email",
22878             "description": ""
22879           },
22880           {
22881             "group": "Body",
22882             "type": "Text",
22883             "optional": true,
22884             "field": "cc",
22885             "description": ""
22886           },
22887           {
22888             "group": "Body",
22889             "type": "Text",
22890             "optional": true,
22891             "field": "bcc",
22892             "description": ""
22893           },
22894           {
22895             "group": "Body",
22896             "type": "Boolean",
22897             "optional": true,
22898             "field": "sendIfEmpty",
22899             "description": ""
22900           }
22901         ]
22902       }
22903     },
22904     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22905     "version": "0.0.0",
22906     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/schedule/index.js",
22907     "groupTitle": "Schedules"
22908   },
22909   {
22910     "type": "delete",
22911     "url": "/api/schedules/{id}",
22912     "title": "Deletes a Schedule",
22913     "examples": [
22914       {
22915         "title": "Example usage:",
22916         "content": "curl https://{domain}/api/schedules/{id} -v -u {name}:{password} -X DELETE",
22917         "type": "json"
22918       }
22919     ],
22920     "name": "DeleteSchedules",
22921     "group": "Schedules",
22922     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22923     "version": "0.0.0",
22924     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/schedule/index.js",
22925     "groupTitle": "Schedules"
22926   },
22927   {
22928     "type": "get",
22929     "url": "/api/schedules",
22930     "title": "Gets a list of Schedules",
22931     "examples": [
22932       {
22933         "title": "Example usage:",
22934         "content": "curl https://{domain}/api/schedules -v -u {name}:{password}",
22935         "type": "json"
22936       }
22937     ],
22938     "name": "GetSchedules",
22939     "group": "Schedules",
22940     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/schedules?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/schedules?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/schedules?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/schedules?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/schedules?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
22941     "version": "0.0.0",
22942     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/schedule/index.js",
22943     "groupTitle": "Schedules"
22944   },
22945   {
22946     "type": "get",
22947     "url": "/api/schedules/{id}",
22948     "title": "Gets a single Schedule",
22949     "examples": [
22950       {
22951         "title": "Example usage:",
22952         "content": "curl https://{domain}/api/schedules/{id} -v -u {name}:{password}",
22953         "type": "json"
22954       }
22955     ],
22956     "name": "ShowSchedules",
22957     "group": "Schedules",
22958     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22959     "version": "0.0.0",
22960     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/schedule/index.js",
22961     "groupTitle": "Schedules"
22962   },
22963   {
22964     "type": "get",
22965     "url": "/api/schedules/{id}/run",
22966     "title": "Run Scheduler",
22967     "examples": [
22968       {
22969         "title": "Example usage:",
22970         "content": "curl https://{domain}/api/schedules/{id}/run -v -u {name}:{password} -X GET",
22971         "type": "json"
22972       }
22973     ],
22974     "name": "run",
22975     "group": "Schedules",
22976     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22977     "version": "0.0.0",
22978     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/schedule/index.js",
22979     "groupTitle": "Schedules"
22980   },
22981   {
22982     "type": "put",
22983     "url": "/api/schedules/{id}",
22984     "title": "Update an existing Schedule",
22985     "examples": [
22986       {
22987         "title": "Example usage:",
22988         "content": "curl https://{domain}/api/schedules/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
22989         "type": "json"
22990       }
22991     ],
22992     "name": "updateSchedules",
22993     "group": "Schedules",
22994     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22995     "version": "0.0.0",
22996     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/schedule/index.js",
22997     "groupTitle": "Schedules"
22998   },
22999   {
23000     "type": "post",
23001     "url": "/api/screen/recordings",
23002     "title": "Creates a new Recording",
23003     "examples": [
23004       {
23005         "title": "Example usage:",
23006         "content": "curl https://{domain}/api/screen/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23007         "type": "json"
23008       }
23009     ],
23010     "name": "CreateRecordings",
23011     "group": "Screen_Recordings",
23012     "parameter": {
23013       "fields": {
23014         "Body": [
23015           {
23016             "group": "Body",
23017             "type": "Virtual",
23018             "optional": true,
23019             "field": "format",
23020             "description": ""
23021           },
23022           {
23023             "group": "Body",
23024             "type": "String",
23025             "optional": true,
23026             "field": "interactionid",
23027             "description": ""
23028           },
23029           {
23030             "group": "Body",
23031             "type": "String",
23032             "optional": true,
23033             "field": "channel",
23034             "description": ""
23035           },
23036           {
23037             "group": "Body",
23038             "type": "String",
23039             "optional": true,
23040             "field": "value",
23041             "description": ""
23042           },
23043           {
23044             "group": "Body",
23045             "type": "Integer",
23046             "optional": true,
23047             "field": "rating",
23048             "description": ""
23049           },
23050           {
23051             "group": "Body",
23052             "type": "Integer",
23053             "optional": true,
23054             "field": "duration",
23055             "description": ""
23056           },
23057           {
23058             "group": "Body",
23059             "type": "String",
23060             "optional": true,
23061             "field": "startedAt",
23062             "description": ""
23063           },
23064           {
23065             "group": "Body",
23066             "type": "String",
23067             "optional": true,
23068             "field": "closedAt",
23069             "description": ""
23070           },
23071           {
23072             "group": "Body",
23073             "type": "String",
23074             "optional": true,
23075             "field": "createdAt",
23076             "description": ""
23077           },
23078           {
23079             "group": "Body",
23080             "type": "String",
23081             "optional": true,
23082             "field": "updatedAt",
23083             "description": ""
23084           }
23085         ]
23086       }
23087     },
23088     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23089     "version": "0.0.0",
23090     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/screenRecording/index.js",
23091     "groupTitle": "Screen_Recordings"
23092   },
23093   {
23094     "type": "get",
23095     "url": "/api/screen/recordings/describe",
23096     "title": "Gets table info about Recordings",
23097     "examples": [
23098       {
23099         "title": "Example usage:",
23100         "content": "curl https://{domain}/api/screen/recordings/describe -v -u {name}:{password}",
23101         "type": "json"
23102       }
23103     ],
23104     "name": "DescribeRecordings",
23105     "group": "Screen_Recordings",
23106     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23107     "version": "0.0.0",
23108     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/screenRecording/index.js",
23109     "groupTitle": "Screen_Recordings"
23110   },
23111   {
23112     "type": "get",
23113     "url": "/api/screen/recordings",
23114     "title": "Gets a list of Recordings",
23115     "examples": [
23116       {
23117         "title": "Example usage:",
23118         "content": "curl https://{domain}/api/screen/recordings -v -u {name}:{password}",
23119         "type": "json"
23120       }
23121     ],
23122     "name": "GetRecordings",
23123     "group": "Screen_Recordings",
23124     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/screen/recordings?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/screen/recordings?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/screen/recordings?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/screen/recordings?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/screen/recordings?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
23125     "version": "0.0.0",
23126     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/screenRecording/index.js",
23127     "groupTitle": "Screen_Recordings"
23128   },
23129   {
23130     "type": "get",
23131     "url": "/api/screen/recordings/{id}",
23132     "title": "Gets a single Recording",
23133     "examples": [
23134       {
23135         "title": "Example usage:",
23136         "content": "curl https://{domain}/api/screen/recordings/{id} -v -u {name}:{password}",
23137         "type": "json"
23138       }
23139     ],
23140     "name": "ShowRecordings",
23141     "group": "Screen_Recordings",
23142     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23143     "version": "0.0.0",
23144     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/screenRecording/index.js",
23145     "groupTitle": "Screen_Recordings"
23146   },
23147   {
23148     "type": "delete",
23149     "url": "/api/screen/recordings/{id}",
23150     "title": "Delete screen recording",
23151     "examples": [
23152       {
23153         "title": "Example usage:",
23154         "content": "curl https://{domain}/api/screen/recordings/{id} -v -u {name}:{password} -X DELETE",
23155         "type": "json"
23156       }
23157     ],
23158     "name": "destroy",
23159     "group": "Screen_Recordings",
23160     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23161     "version": "0.0.0",
23162     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/screenRecording/index.js",
23163     "groupTitle": "Screen_Recordings"
23164   },
23165   {
23166     "type": "get",
23167     "url": "/api/screen/recordings/{id}/download",
23168     "title": "Download Recording",
23169     "examples": [
23170       {
23171         "title": "Example usage:",
23172         "content": "curl https://{domain}/api/screen/recordings/{id}/download -v -u {name}:{password} -X GET",
23173         "type": "json"
23174       }
23175     ],
23176     "name": "download",
23177     "group": "Screen_Recordings",
23178     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23179     "version": "0.0.0",
23180     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/screenRecording/index.js",
23181     "groupTitle": "Screen_Recordings"
23182   },
23183   {
23184     "type": "put",
23185     "url": "/api/screen/recordings/{id}",
23186     "title": "Update an existing Recording",
23187     "examples": [
23188       {
23189         "title": "Example usage:",
23190         "content": "curl https://{domain}/api/screen/recordings/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
23191         "type": "json"
23192       }
23193     ],
23194     "name": "updateRecordings",
23195     "group": "Screen_Recordings",
23196     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23197     "version": "0.0.0",
23198     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/screenRecording/index.js",
23199     "groupTitle": "Screen_Recordings"
23200   },
23201   {
23202     "type": "post",
23203     "url": "/api/integrations/servicenow/accounts",
23204     "title": "Creates a new Servicenow Account",
23205     "examples": [
23206       {
23207         "title": "Example usage:",
23208         "content": "curl https://{domain}/api/integrations/servicenow/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23209         "type": "json"
23210       }
23211     ],
23212     "name": "CreateServicenow_Accounts",
23213     "group": "Servicenow_Accounts",
23214     "parameter": {
23215       "fields": {
23216         "Body": [
23217           {
23218             "group": "Body",
23219             "type": "String",
23220             "optional": true,
23221             "field": "name",
23222             "description": ""
23223           },
23224           {
23225             "group": "Body",
23226             "type": "String",
23227             "optional": true,
23228             "field": "description",
23229             "description": ""
23230           },
23231           {
23232             "group": "Body",
23233             "type": "String",
23234             "optional": true,
23235             "field": "username",
23236             "description": ""
23237           },
23238           {
23239             "group": "Body",
23240             "type": "String",
23241             "optional": true,
23242             "field": "password",
23243             "description": ""
23244           },
23245           {
23246             "group": "Body",
23247             "type": "String",
23248             "optional": true,
23249             "field": "email",
23250             "description": ""
23251           },
23252           {
23253             "group": "Body",
23254             "type": "String",
23255             "optional": true,
23256             "field": "remoteUri",
23257             "description": ""
23258           },
23259           {
23260             "group": "Body",
23261             "type": "String",
23262             "optional": true,
23263             "field": "serverUrl",
23264             "description": ""
23265           }
23266         ]
23267       }
23268     },
23269     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23270     "version": "0.0.0",
23271     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowAccount/index.js",
23272     "groupTitle": "Servicenow_Accounts"
23273   },
23274   {
23275     "type": "delete",
23276     "url": "/api/integrations/servicenow/accounts/{id}",
23277     "title": "Deletes a Servicenow Account",
23278     "examples": [
23279       {
23280         "title": "Example usage:",
23281         "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id} -v -u {name}:{password} -X DELETE",
23282         "type": "json"
23283       }
23284     ],
23285     "name": "DeleteServicenow_Accounts",
23286     "group": "Servicenow_Accounts",
23287     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23288     "version": "0.0.0",
23289     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowAccount/index.js",
23290     "groupTitle": "Servicenow_Accounts"
23291   },
23292   {
23293     "type": "get",
23294     "url": "/GetServicenowAccount",
23295     "title": "Gets a list of Servicenow Accounts",
23296     "name": "GetServicenowAccount",
23297     "group": "Servicenow_Accounts",
23298     "parameter": {
23299       "fields": {
23300         "Body": [
23301           {
23302             "group": "Body",
23303             "type": "Object",
23304             "optional": true,
23305             "field": "options.attributes",
23306             "description": ""
23307           },
23308           {
23309             "group": "Body",
23310             "type": "Object",
23311             "optional": true,
23312             "field": "options.where",
23313             "description": ""
23314           }
23315         ]
23316       }
23317     },
23318     "version": "0.0.0",
23319     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowAccount/intServicenowAccount.rpc.js",
23320     "groupTitle": "Servicenow_Accounts"
23321   },
23322   {
23323     "type": "get",
23324     "url": "/api/integrations/servicenow/accounts",
23325     "title": "Gets a list of Servicenow Accounts",
23326     "examples": [
23327       {
23328         "title": "Example usage:",
23329         "content": "curl https://{domain}/api/integrations/servicenow/accounts -v -u {name}:{password}",
23330         "type": "json"
23331       }
23332     ],
23333     "name": "GetServicenow_Accounts",
23334     "group": "Servicenow_Accounts",
23335     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/servicenow/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/servicenow/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/servicenow/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/servicenow/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/servicenow/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
23336     "version": "0.0.0",
23337     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowAccount/index.js",
23338     "groupTitle": "Servicenow_Accounts"
23339   },
23340   {
23341     "type": "get",
23342     "url": "/ShowServicenowAccount",
23343     "title": "Gets a single Servicenow Account",
23344     "name": "ShowServicenowAccount",
23345     "group": "Servicenow_Accounts",
23346     "parameter": {
23347       "fields": {
23348         "Body": [
23349           {
23350             "group": "Body",
23351             "type": "Object",
23352             "optional": true,
23353             "field": "options.attributes",
23354             "description": ""
23355           },
23356           {
23357             "group": "Body",
23358             "type": "Object",
23359             "optional": false,
23360             "field": "options.where",
23361             "description": ""
23362           }
23363         ]
23364       }
23365     },
23366     "version": "0.0.0",
23367     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowAccount/intServicenowAccount.rpc.js",
23368     "groupTitle": "Servicenow_Accounts"
23369   },
23370   {
23371     "type": "get",
23372     "url": "/api/integrations/servicenow/accounts/{id}",
23373     "title": "Gets a single Servicenow Account",
23374     "examples": [
23375       {
23376         "title": "Example usage:",
23377         "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id} -v -u {name}:{password}",
23378         "type": "json"
23379       }
23380     ],
23381     "name": "ShowServicenow_Accounts",
23382     "group": "Servicenow_Accounts",
23383     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23384     "version": "0.0.0",
23385     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowAccount/index.js",
23386     "groupTitle": "Servicenow_Accounts"
23387   },
23388   {
23389     "type": "post",
23390     "url": "/api/integrations/servicenow/accounts/{id}/configurations",
23391     "title": "Creates new configuration",
23392     "examples": [
23393       {
23394         "title": "Example usage:",
23395         "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id}/configurations -d '{\"name\": \"conf1\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
23396         "type": "json"
23397       }
23398     ],
23399     "name": "addConfiguration",
23400     "group": "Servicenow_Accounts",
23401     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23402     "version": "0.0.0",
23403     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowAccount/index.js",
23404     "groupTitle": "Servicenow_Accounts"
23405   },
23406   {
23407     "type": "get",
23408     "url": "/api/integrations/servicenow/accounts/{id}/configurations",
23409     "title": "Gets account configurations",
23410     "examples": [
23411       {
23412         "title": "Example usage:",
23413         "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id}/configurations -v -u {name}:{password} -X GET",
23414         "type": "json"
23415       }
23416     ],
23417     "name": "getConfigurations",
23418     "group": "Servicenow_Accounts",
23419     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23420     "version": "0.0.0",
23421     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowAccount/index.js",
23422     "groupTitle": "Servicenow_Accounts"
23423   },
23424   {
23425     "type": "get",
23426     "url": "/api/integrations/servicenow/accounts/{id}/fields",
23427     "title": "Gets account fields",
23428     "examples": [
23429       {
23430         "title": "Example usage:",
23431         "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id}/fields -v -u {name}:{password} -X GET",
23432         "type": "json"
23433       }
23434     ],
23435     "name": "getFields",
23436     "group": "Servicenow_Accounts",
23437     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23438     "version": "0.0.0",
23439     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowAccount/index.js",
23440     "groupTitle": "Servicenow_Accounts"
23441   },
23442   {
23443     "type": "put",
23444     "url": "/api/integrations/servicenow/accounts/{id}",
23445     "title": "Update an existing Servicenow Account",
23446     "examples": [
23447       {
23448         "title": "Example usage:",
23449         "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
23450         "type": "json"
23451       }
23452     ],
23453     "name": "updateServicenow_Accounts",
23454     "group": "Servicenow_Accounts",
23455     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23456     "version": "0.0.0",
23457     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowAccount/index.js",
23458     "groupTitle": "Servicenow_Accounts"
23459   },
23460   {
23461     "type": "post",
23462     "url": "/api/integrations/servicenow/configurations",
23463     "title": "Creates a new Servicenow Configuration",
23464     "examples": [
23465       {
23466         "title": "Example usage:",
23467         "content": "curl https://{domain}/api/integrations/servicenow/configurations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23468         "type": "json"
23469       }
23470     ],
23471     "name": "CreateServicenow_Configurations",
23472     "group": "Servicenow_Configurations",
23473     "parameter": {
23474       "fields": {
23475         "Body": [
23476           {
23477             "group": "Body",
23478             "type": "String",
23479             "optional": true,
23480             "field": "name",
23481             "description": ""
23482           },
23483           {
23484             "group": "Body",
23485             "type": "String",
23486             "optional": true,
23487             "field": "description",
23488             "description": ""
23489           }
23490         ]
23491       }
23492     },
23493     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23494     "version": "0.0.0",
23495     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowConfiguration/index.js",
23496     "groupTitle": "Servicenow_Configurations"
23497   },
23498   {
23499     "type": "delete",
23500     "url": "/api/integrations/servicenow/configurations/{id}",
23501     "title": "Deletes a Servicenow Configuration",
23502     "examples": [
23503       {
23504         "title": "Example usage:",
23505         "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id} -v -u {name}:{password} -X DELETE",
23506         "type": "json"
23507       }
23508     ],
23509     "name": "DeleteServicenow_Configurations",
23510     "group": "Servicenow_Configurations",
23511     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23512     "version": "0.0.0",
23513     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowConfiguration/index.js",
23514     "groupTitle": "Servicenow_Configurations"
23515   },
23516   {
23517     "type": "get",
23518     "url": "/api/integrations/servicenow/configurations",
23519     "title": "Gets a list of Servicenow Configurations",
23520     "examples": [
23521       {
23522         "title": "Example usage:",
23523         "content": "curl https://{domain}/api/integrations/servicenow/configurations -v -u {name}:{password}",
23524         "type": "json"
23525       }
23526     ],
23527     "name": "GetServicenow_Configurations",
23528     "group": "Servicenow_Configurations",
23529     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/servicenow/configurations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/servicenow/configurations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/servicenow/configurations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/servicenow/configurations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/servicenow/configurations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
23530     "version": "0.0.0",
23531     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowConfiguration/index.js",
23532     "groupTitle": "Servicenow_Configurations"
23533   },
23534   {
23535     "type": "get",
23536     "url": "/api/integrations/servicenow/configurations/{id}",
23537     "title": "Gets a single Servicenow Configuration",
23538     "examples": [
23539       {
23540         "title": "Example usage:",
23541         "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id} -v -u {name}:{password}",
23542         "type": "json"
23543       }
23544     ],
23545     "name": "ShowServicenow_Configurations",
23546     "group": "Servicenow_Configurations",
23547     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23548     "version": "0.0.0",
23549     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowConfiguration/index.js",
23550     "groupTitle": "Servicenow_Configurations"
23551   },
23552   {
23553     "type": "get",
23554     "url": "/api/integrations/servicenow/configurations/{id}/descriptions",
23555     "title": "Gets configurations descriptions",
23556     "examples": [
23557       {
23558         "title": "Example usage:",
23559         "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
23560         "type": "json"
23561       }
23562     ],
23563     "name": "getDescriptions",
23564     "group": "Servicenow_Configurations",
23565     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23566     "version": "0.0.0",
23567     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowConfiguration/index.js",
23568     "groupTitle": "Servicenow_Configurations"
23569   },
23570   {
23571     "type": "get",
23572     "url": "/api/integrations/servicenow/configurations/{id}/fields",
23573     "title": "Gets configurations fields",
23574     "examples": [
23575       {
23576         "title": "Example usage:",
23577         "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/fields -v -u {name}:{password} -X GET",
23578         "type": "json"
23579       }
23580     ],
23581     "name": "getFields",
23582     "group": "Servicenow_Configurations",
23583     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23584     "version": "0.0.0",
23585     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowConfiguration/index.js",
23586     "groupTitle": "Servicenow_Configurations"
23587   },
23588   {
23589     "type": "get",
23590     "url": "/api/integrations/servicenow/configurations/{id}/subjects",
23591     "title": "Gets configurations subjects",
23592     "examples": [
23593       {
23594         "title": "Example usage:",
23595         "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/subjects -v -u {name}:{password} -X GET",
23596         "type": "json"
23597       }
23598     ],
23599     "name": "getSubjects",
23600     "group": "Servicenow_Configurations",
23601     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23602     "version": "0.0.0",
23603     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowConfiguration/index.js",
23604     "groupTitle": "Servicenow_Configurations"
23605   },
23606   {
23607     "type": "put",
23608     "url": "/api/integrations/servicenow/configurations/{id}",
23609     "title": "Update an existing Servicenow Configuration",
23610     "examples": [
23611       {
23612         "title": "Example usage:",
23613         "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
23614         "type": "json"
23615       }
23616     ],
23617     "name": "updateServicenow_Configurations",
23618     "group": "Servicenow_Configurations",
23619     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23620     "version": "0.0.0",
23621     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowConfiguration/index.js",
23622     "groupTitle": "Servicenow_Configurations"
23623   },
23624   {
23625     "type": "post",
23626     "url": "/api/integrations/servicenow/fields",
23627     "title": "Creates a new Servicenow Field",
23628     "examples": [
23629       {
23630         "title": "Example usage:",
23631         "content": "curl https://{domain}/api/integrations/servicenow/fields -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23632         "type": "json"
23633       }
23634     ],
23635     "name": "CreateServicenow_Fields",
23636     "group": "Servicenow_Fields",
23637     "parameter": {
23638       "fields": {
23639         "Body": [
23640           {
23641             "group": "Body",
23642             "type": "String",
23643             "allowedValues": [
23644               "\"string\"",
23645               "\"variable\"",
23646               "\"customVariable\"",
23647               "\"keyValue\""
23648             ],
23649             "optional": true,
23650             "field": "type",
23651             "description": ""
23652           },
23653           {
23654             "group": "Body",
23655             "type": "String",
23656             "optional": true,
23657             "field": "content",
23658             "description": ""
23659           },
23660           {
23661             "group": "Body",
23662             "type": "String",
23663             "optional": true,
23664             "field": "key",
23665             "description": ""
23666           },
23667           {
23668             "group": "Body",
23669             "type": "String",
23670             "allowedValues": [
23671               "\"string\"",
23672               "\"variable\"",
23673               "\"customVariable\""
23674             ],
23675             "optional": true,
23676             "field": "keyType",
23677             "description": ""
23678           },
23679           {
23680             "group": "Body",
23681             "type": "String",
23682             "optional": true,
23683             "field": "keyContent",
23684             "description": ""
23685           },
23686           {
23687             "group": "Body",
23688             "type": "String",
23689             "optional": true,
23690             "field": "idField",
23691             "description": ""
23692           },
23693           {
23694             "group": "Body",
23695             "type": "String",
23696             "optional": true,
23697             "field": "nameField",
23698             "description": ""
23699           },
23700           {
23701             "group": "Body",
23702             "type": "Boolean",
23703             "optional": true,
23704             "field": "customField",
23705             "description": ""
23706           },
23707           {
23708             "group": "Body",
23709             "type": "String",
23710             "optional": true,
23711             "field": "variableName",
23712             "description": ""
23713           }
23714         ]
23715       }
23716     },
23717     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23718     "version": "0.0.0",
23719     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowField/index.js",
23720     "groupTitle": "Servicenow_Fields"
23721   },
23722   {
23723     "type": "delete",
23724     "url": "/api/integrations/servicenow/fields/{id}",
23725     "title": "Deletes a Servicenow Field",
23726     "examples": [
23727       {
23728         "title": "Example usage:",
23729         "content": "curl https://{domain}/api/integrations/servicenow/fields/{id} -v -u {name}:{password} -X DELETE",
23730         "type": "json"
23731       }
23732     ],
23733     "name": "DeleteServicenow_Fields",
23734     "group": "Servicenow_Fields",
23735     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23736     "version": "0.0.0",
23737     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowField/index.js",
23738     "groupTitle": "Servicenow_Fields"
23739   },
23740   {
23741     "type": "get",
23742     "url": "/api/integrations/servicenow/fields",
23743     "title": "Gets a list of Servicenow Fields",
23744     "examples": [
23745       {
23746         "title": "Example usage:",
23747         "content": "curl https://{domain}/api/integrations/servicenow/fields -v -u {name}:{password}",
23748         "type": "json"
23749       }
23750     ],
23751     "name": "GetServicenow_Fields",
23752     "group": "Servicenow_Fields",
23753     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/servicenow/fields?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/servicenow/fields?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/servicenow/fields?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/servicenow/fields?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/servicenow/fields?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
23754     "version": "0.0.0",
23755     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowField/index.js",
23756     "groupTitle": "Servicenow_Fields"
23757   },
23758   {
23759     "type": "get",
23760     "url": "/api/integrations/servicenow/fields/{id}",
23761     "title": "Gets a single Servicenow Field",
23762     "examples": [
23763       {
23764         "title": "Example usage:",
23765         "content": "curl https://{domain}/api/integrations/servicenow/fields/{id} -v -u {name}:{password}",
23766         "type": "json"
23767       }
23768     ],
23769     "name": "ShowServicenow_Fields",
23770     "group": "Servicenow_Fields",
23771     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23772     "version": "0.0.0",
23773     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowField/index.js",
23774     "groupTitle": "Servicenow_Fields"
23775   },
23776   {
23777     "type": "put",
23778     "url": "/api/integrations/servicenow/fields/{id}",
23779     "title": "Update an existing Servicenow Field",
23780     "examples": [
23781       {
23782         "title": "Example usage:",
23783         "content": "curl https://{domain}/api/integrations/servicenow/fields/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
23784         "type": "json"
23785       }
23786     ],
23787     "name": "updateServicenow_Fields",
23788     "group": "Servicenow_Fields",
23789     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23790     "version": "0.0.0",
23791     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intServicenowField/index.js",
23792     "groupTitle": "Servicenow_Fields"
23793   },
23794   {
23795     "type": "get",
23796     "url": "/api/settings",
23797     "title": "Gets a list of Settings",
23798     "examples": [
23799       {
23800         "title": "Example usage:",
23801         "content": "curl https://{domain}/api/settings -v -u {name}:{password}",
23802         "type": "json"
23803       }
23804     ],
23805     "name": "GetSettings",
23806     "group": "Settings",
23807     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/settings?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/settings?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/settings?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/settings?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/settings?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
23808     "version": "0.0.0",
23809     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
23810     "groupTitle": "Settings"
23811   },
23812   {
23813     "type": "get",
23814     "url": "/api/settings/{id}",
23815     "title": "Gets a single Setting",
23816     "examples": [
23817       {
23818         "title": "Example usage:",
23819         "content": "curl https://{domain}/api/settings/{id} -v -u {name}:{password}",
23820         "type": "json"
23821       }
23822     ],
23823     "name": "ShowSettings",
23824     "group": "Settings",
23825     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23826     "version": "0.0.0",
23827     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
23828     "groupTitle": "Settings"
23829   },
23830   {
23831     "type": "post",
23832     "url": "/api/settings/{id}/favicon",
23833     "title": "Add Favicon",
23834     "examples": [
23835       {
23836         "title": "Example usage:",
23837         "content": "curl https://{domain}/api/settings/{id}/favicon -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
23838         "type": "json"
23839       }
23840     ],
23841     "name": "addFavicon",
23842     "group": "Settings",
23843     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23844     "version": "0.0.0",
23845     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
23846     "groupTitle": "Settings"
23847   },
23848   {
23849     "type": "post",
23850     "url": "/api/settings/{id}/logo",
23851     "title": "Add logo",
23852     "examples": [
23853       {
23854         "title": "Example usage:",
23855         "content": "curl https://{domain}/api/settings/{id}/logo -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
23856         "type": "json"
23857       }
23858     ],
23859     "name": "addLogo",
23860     "group": "Settings",
23861     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23862     "version": "0.0.0",
23863     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
23864     "groupTitle": "Settings"
23865   },
23866   {
23867     "type": "post",
23868     "url": "/api/settings/{id}/logo_login",
23869     "title": "Add logo login",
23870     "examples": [
23871       {
23872         "title": "Example usage:",
23873         "content": "curl https://{domain}/api/settings/{id}/logo_login -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
23874         "type": "json"
23875       }
23876     ],
23877     "name": "addLogoLogin",
23878     "group": "Settings",
23879     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23880     "version": "0.0.0",
23881     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
23882     "groupTitle": "Settings"
23883   },
23884   {
23885     "type": "post",
23886     "url": "/api/settings/{id}/preferred",
23887     "title": "Add Preferred",
23888     "examples": [
23889       {
23890         "title": "Example usage:",
23891         "content": "curl https://{domain}/api/settings/{id}/preferred -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
23892         "type": "json"
23893       }
23894     ],
23895     "name": "addPreferred",
23896     "group": "Settings",
23897     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23898     "version": "0.0.0",
23899     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
23900     "groupTitle": "Settings"
23901   },
23902   {
23903     "type": "get",
23904     "url": "/api/settings/{id}/favicon",
23905     "title": "Get Favicon",
23906     "examples": [
23907       {
23908         "title": "Example usage:",
23909         "content": "curl https://{domain}/api/settings/{id}/favicon -v -X GET",
23910         "type": "json"
23911       }
23912     ],
23913     "name": "getFavicon",
23914     "group": "Settings",
23915     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23916     "version": "0.0.0",
23917     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
23918     "groupTitle": "Settings"
23919   },
23920   {
23921     "type": "get",
23922     "url": "/api/settings/{id}/gdpr",
23923     "title": "Get gdpr settings",
23924     "examples": [
23925       {
23926         "title": "Example usage:",
23927         "content": "curl https://{domain}/api/settings/{id}/gdpr -v -u {name}:{password} -X GET",
23928         "type": "json"
23929       }
23930     ],
23931     "name": "getGdpr",
23932     "group": "Settings",
23933     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23934     "version": "0.0.0",
23935     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
23936     "groupTitle": "Settings"
23937   },
23938   {
23939     "type": "get",
23940     "url": "/api/settings/{id}/logo",
23941     "title": "Get logo",
23942     "examples": [
23943       {
23944         "title": "Example usage:",
23945         "content": "curl https://{domain}/api/settings/{id}/logo -v -X GET",
23946         "type": "json"
23947       }
23948     ],
23949     "name": "getLogo",
23950     "group": "Settings",
23951     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23952     "version": "0.0.0",
23953     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
23954     "groupTitle": "Settings"
23955   },
23956   {
23957     "type": "get",
23958     "url": "/api/settings/{id}/logo_login",
23959     "title": "Get logo login",
23960     "examples": [
23961       {
23962         "title": "Example usage:",
23963         "content": "curl https://{domain}/api/settings/{id}/logo_login -v -X GET",
23964         "type": "json"
23965       }
23966     ],
23967     "name": "getLogoLogin",
23968     "group": "Settings",
23969     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23970     "version": "0.0.0",
23971     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
23972     "groupTitle": "Settings"
23973   },
23974   {
23975     "type": "get",
23976     "url": "/api/settings/{id}/preferred",
23977     "title": "Get Preferred",
23978     "examples": [
23979       {
23980         "title": "Example usage:",
23981         "content": "curl https://{domain}/api/settings/{id}/preferred -v -X GET",
23982         "type": "json"
23983       }
23984     ],
23985     "name": "getPreferred",
23986     "group": "Settings",
23987     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23988     "version": "0.0.0",
23989     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
23990     "groupTitle": "Settings"
23991   },
23992   {
23993     "type": "put",
23994     "url": "/api/settings/{id}",
23995     "title": "Update an existing Setting",
23996     "examples": [
23997       {
23998         "title": "Example usage:",
23999         "content": "curl https://{domain}/api/settings/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
24000         "type": "json"
24001       }
24002     ],
24003     "name": "updateSettings",
24004     "group": "Settings",
24005     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24006     "version": "0.0.0",
24007     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/setting/index.js",
24008     "groupTitle": "Settings"
24009   },
24010   {
24011     "type": "post",
24012     "url": "/api/sms/accounts/{id}/users",
24013     "title": "Add agents to a sms account",
24014     "examples": [
24015       {
24016         "title": "Example usage:",
24017         "content": "curl https://{domain}/api/sms/accounts/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
24018         "type": "json"
24019       }
24020     ],
24021     "name": "AddAgents",
24022     "group": "Sms_Accounts",
24023     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24024     "version": "0.0.0",
24025     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24026     "groupTitle": "Sms_Accounts"
24027   },
24028   {
24029     "type": "post",
24030     "url": "/api/sms/accounts",
24031     "title": "Creates a new Account",
24032     "examples": [
24033       {
24034         "title": "Example usage:",
24035         "content": "curl https://{domain}/api/sms/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24036         "type": "json"
24037       }
24038     ],
24039     "name": "CreateAccounts",
24040     "group": "Sms_Accounts",
24041     "parameter": {
24042       "fields": {
24043         "Body": [
24044           {
24045             "group": "Body",
24046             "type": "String",
24047             "optional": false,
24048             "field": "name",
24049             "description": ""
24050           },
24051           {
24052             "group": "Body",
24053             "type": "String",
24054             "optional": false,
24055             "field": "key",
24056             "description": ""
24057           },
24058           {
24059             "group": "Body",
24060             "type": "String",
24061             "optional": false,
24062             "field": "remote",
24063             "description": ""
24064           },
24065           {
24066             "group": "Body",
24067             "type": "String",
24068             "optional": true,
24069             "field": "token",
24070             "description": ""
24071           },
24072           {
24073             "group": "Body",
24074             "type": "String",
24075             "optional": true,
24076             "field": "phone",
24077             "description": ""
24078           },
24079           {
24080             "group": "Body",
24081             "type": "String",
24082             "allowedValues": [
24083               "\"twilio\"",
24084               "\"skebby\"",
24085               "\"connectel\"",
24086               "\"clicksend\"",
24087               "\"plivo\"",
24088               "\"clickatell\"",
24089               "\"csc\"",
24090               "\"infobip\"",
24091               "\"intelepeer\""
24092             ],
24093             "optional": true,
24094             "field": "type",
24095             "description": ""
24096           },
24097           {
24098             "group": "Body",
24099             "type": "String",
24100             "optional": true,
24101             "field": "accountSid",
24102             "description": ""
24103           },
24104           {
24105             "group": "Body",
24106             "type": "String",
24107             "optional": true,
24108             "field": "authId",
24109             "description": ""
24110           },
24111           {
24112             "group": "Body",
24113             "type": "String",
24114             "optional": true,
24115             "field": "authToken",
24116             "description": ""
24117           },
24118           {
24119             "group": "Body",
24120             "type": "String",
24121             "allowedValues": [
24122               "\"SI\"",
24123               "\"TI\"",
24124               "\"GP\""
24125             ],
24126             "optional": true,
24127             "field": "smsMethod",
24128             "description": ""
24129           },
24130           {
24131             "group": "Body",
24132             "type": "String",
24133             "optional": true,
24134             "field": "username",
24135             "description": ""
24136           },
24137           {
24138             "group": "Body",
24139             "type": "String",
24140             "optional": true,
24141             "field": "password",
24142             "description": ""
24143           },
24144           {
24145             "group": "Body",
24146             "type": "String",
24147             "optional": true,
24148             "field": "apiKey",
24149             "description": ""
24150           },
24151           {
24152             "group": "Body",
24153             "type": "String",
24154             "optional": true,
24155             "field": "senderString",
24156             "description": ""
24157           },
24158           {
24159             "group": "Body",
24160             "type": "Boolean",
24161             "optional": true,
24162             "field": "deliveryReport",
24163             "description": ""
24164           },
24165           {
24166             "group": "Body",
24167             "type": "String",
24168             "optional": true,
24169             "field": "description",
24170             "description": ""
24171           },
24172           {
24173             "group": "Body",
24174             "type": "Text",
24175             "optional": true,
24176             "field": "notificationTemplate",
24177             "description": ""
24178           },
24179           {
24180             "group": "Body",
24181             "type": "Boolean",
24182             "optional": true,
24183             "field": "notificationSound",
24184             "description": ""
24185           },
24186           {
24187             "group": "Body",
24188             "type": "Boolean",
24189             "optional": true,
24190             "field": "notificationShake",
24191             "description": ""
24192           },
24193           {
24194             "group": "Body",
24195             "type": "Integer",
24196             "optional": true,
24197             "field": "waitForTheAssignedAgent",
24198             "description": ""
24199           },
24200           {
24201             "group": "Body",
24202             "type": "Boolean",
24203             "optional": true,
24204             "field": "queueTransfer",
24205             "description": ""
24206           },
24207           {
24208             "group": "Body",
24209             "type": "Integer",
24210             "optional": true,
24211             "field": "queueTransferTimeout",
24212             "description": ""
24213           },
24214           {
24215             "group": "Body",
24216             "type": "Boolean",
24217             "optional": true,
24218             "field": "agentTransfer",
24219             "description": ""
24220           },
24221           {
24222             "group": "Body",
24223             "type": "Integer",
24224             "optional": true,
24225             "field": "agentTransferTimeout",
24226             "description": ""
24227           },
24228           {
24229             "group": "Body",
24230             "type": "String",
24231             "optional": true,
24232             "field": "baseUrl",
24233             "description": ""
24234           },
24235           {
24236             "group": "Body",
24237             "type": "Integer",
24238             "optional": true,
24239             "field": "mandatoryDispositionPauseId",
24240             "description": "<p>Status to put when mandatory disposition is enabled</p>"
24241           },
24242           {
24243             "group": "Body",
24244             "type": "Boolean",
24245             "optional": true,
24246             "field": "mandatoryDisposition",
24247             "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
24248           }
24249         ]
24250       }
24251     },
24252     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24253     "version": "0.0.0",
24254     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24255     "groupTitle": "Sms_Accounts"
24256   },
24257   {
24258     "type": "delete",
24259     "url": "/api/sms/accounts/{id}",
24260     "title": "Deletes a Account",
24261     "examples": [
24262       {
24263         "title": "Example usage:",
24264         "content": "curl https://{domain}/api/sms/accounts/{id} -v -u {name}:{password} -X DELETE",
24265         "type": "json"
24266       }
24267     ],
24268     "name": "DeleteAccounts",
24269     "group": "Sms_Accounts",
24270     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24271     "version": "0.0.0",
24272     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24273     "groupTitle": "Sms_Accounts"
24274   },
24275   {
24276     "type": "get",
24277     "url": "/api/sms/accounts/describe",
24278     "title": "Gets table info about Accounts",
24279     "examples": [
24280       {
24281         "title": "Example usage:",
24282         "content": "curl https://{domain}/api/sms/accounts/describe -v -u {name}:{password}",
24283         "type": "json"
24284       }
24285     ],
24286     "name": "DescribeAccounts",
24287     "group": "Sms_Accounts",
24288     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24289     "version": "0.0.0",
24290     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24291     "groupTitle": "Sms_Accounts"
24292   },
24293   {
24294     "type": "get",
24295     "url": "/api/sms/accounts",
24296     "title": "Gets a list of Accounts",
24297     "examples": [
24298       {
24299         "title": "Example usage:",
24300         "content": "curl https://{domain}/api/sms/accounts -v -u {name}:{password}",
24301         "type": "json"
24302       }
24303     ],
24304     "name": "GetAccounts",
24305     "group": "Sms_Accounts",
24306     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/sms/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/sms/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/sms/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/sms/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/sms/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
24307     "version": "0.0.0",
24308     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24309     "groupTitle": "Sms_Accounts"
24310   },
24311   {
24312     "type": "get",
24313     "url": "/api/sms/accounts/{id}/users",
24314     "title": "Gets agents from sms account",
24315     "examples": [
24316       {
24317         "title": "Example usage:",
24318         "content": "curl https://{domain}/api/sms/accounts/{id}/users -v -u {name}:{password} -X GET",
24319         "type": "json"
24320       }
24321     ],
24322     "name": "GetAgents",
24323     "group": "Sms_Accounts",
24324     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24325     "version": "0.0.0",
24326     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24327     "groupTitle": "Sms_Accounts"
24328   },
24329   {
24330     "type": "delete",
24331     "url": "/api/sms/accounts/{id}/users",
24332     "title": "Removes agents from a sms account",
24333     "examples": [
24334       {
24335         "title": "Example usage:",
24336         "content": "curl https://{domain}/api/sms/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
24337         "type": "json"
24338       }
24339     ],
24340     "name": "RemoveAgents",
24341     "group": "Sms_Accounts",
24342     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24343     "version": "0.0.0",
24344     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24345     "groupTitle": "Sms_Accounts"
24346   },
24347   {
24348     "type": "delete",
24349     "url": "/api/sms/accounts/{id}/canned_answers",
24350     "title": "Removes canned answers from account",
24351     "examples": [
24352       {
24353         "title": "Example usage:",
24354         "content": "curl https://{domain}/api/sms/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
24355         "type": "json"
24356       }
24357     ],
24358     "name": "RemoveAnswers",
24359     "group": "Sms_Accounts",
24360     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24361     "version": "0.0.0",
24362     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24363     "groupTitle": "Sms_Accounts"
24364   },
24365   {
24366     "type": "delete",
24367     "url": "/api/sms/accounts/{id}/dispositions",
24368     "title": "Removes dispositions from account",
24369     "examples": [
24370       {
24371         "title": "Example usage:",
24372         "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
24373         "type": "json"
24374       }
24375     ],
24376     "name": "RemoveDispositions",
24377     "group": "Sms_Accounts",
24378     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24379     "version": "0.0.0",
24380     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24381     "groupTitle": "Sms_Accounts"
24382   },
24383   {
24384     "type": "get",
24385     "url": "/api/sms/accounts/{id}",
24386     "title": "Gets a single Account",
24387     "examples": [
24388       {
24389         "title": "Example usage:",
24390         "content": "curl https://{domain}/api/sms/accounts/{id} -v -u {name}:{password}",
24391         "type": "json"
24392       }
24393     ],
24394     "name": "ShowAccounts",
24395     "group": "Sms_Accounts",
24396     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24397     "version": "0.0.0",
24398     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24399     "groupTitle": "Sms_Accounts"
24400   },
24401   {
24402     "type": "get",
24403     "url": "/ShowSmsAccount",
24404     "title": "Gets a single Account",
24405     "name": "ShowSmsAccount",
24406     "group": "Sms_Accounts",
24407     "parameter": {
24408       "fields": {
24409         "Body": [
24410           {
24411             "group": "Body",
24412             "type": "Object",
24413             "optional": true,
24414             "field": "options.attributes",
24415             "description": ""
24416           },
24417           {
24418             "group": "Body",
24419             "type": "Object",
24420             "optional": false,
24421             "field": "options.where",
24422             "description": ""
24423           }
24424         ]
24425       }
24426     },
24427     "version": "0.0.0",
24428     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/smsAccount.rpc.js",
24429     "groupTitle": "Sms_Accounts"
24430   },
24431   {
24432     "type": "put",
24433     "url": "/api/sms/messages/{id}/accept",
24434     "title": "Accepts message",
24435     "examples": [
24436       {
24437         "title": "Example usage:",
24438         "content": "curl https://{domain}/api/sms/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
24439         "type": "json"
24440       }
24441     ],
24442     "name": "acceptMessage",
24443     "group": "Sms_Accounts",
24444     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24445     "version": "0.0.0",
24446     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsMessage/index.js",
24447     "groupTitle": "Sms_Accounts"
24448   },
24449   {
24450     "type": "post",
24451     "url": "/api/sms/accounts/{id}/canned_answers",
24452     "title": "Creates new canned answer",
24453     "examples": [
24454       {
24455         "title": "Example usage:",
24456         "content": "curl https://{domain}/api/sms/accounts/{id}/canned_answers -d '{\"name\": \"vip\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
24457         "type": "json"
24458       }
24459     ],
24460     "name": "addAnswer",
24461     "group": "Sms_Accounts",
24462     "parameter": {
24463       "fields": {
24464         "Body": [
24465           {
24466             "group": "Body",
24467             "type": "String",
24468             "optional": false,
24469             "field": "key",
24470             "description": ""
24471           },
24472           {
24473             "group": "Body",
24474             "type": "Text",
24475             "optional": false,
24476             "field": "value",
24477             "description": ""
24478           },
24479           {
24480             "group": "Body",
24481             "type": "String",
24482             "optional": true,
24483             "field": "description",
24484             "description": ""
24485           },
24486           {
24487             "group": "Body",
24488             "type": "Virtual",
24489             "optional": true,
24490             "field": "name",
24491             "description": ""
24492           }
24493         ]
24494       }
24495     },
24496     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24497     "version": "0.0.0",
24498     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24499     "groupTitle": "Sms_Accounts"
24500   },
24501   {
24502     "type": "post",
24503     "url": "/api/sms/accounts/{id}/applications",
24504     "title": "Creates new applications",
24505     "examples": [
24506       {
24507         "title": "Example usage:",
24508         "content": "curl https://{domain}/api/sms/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
24509         "type": "json"
24510       }
24511     ],
24512     "name": "addApplications",
24513     "group": "Sms_Accounts",
24514     "parameter": {
24515       "fields": {
24516         "Body": [
24517           {
24518             "group": "Body",
24519             "type": "Integer",
24520             "optional": false,
24521             "field": "priority",
24522             "description": ""
24523           },
24524           {
24525             "group": "Body",
24526             "type": "String",
24527             "optional": false,
24528             "field": "app",
24529             "description": ""
24530           },
24531           {
24532             "group": "Body",
24533             "type": "Text",
24534             "optional": true,
24535             "field": "appdata",
24536             "description": ""
24537           },
24538           {
24539             "group": "Body",
24540             "type": "String",
24541             "optional": true,
24542             "field": "description",
24543             "description": ""
24544           },
24545           {
24546             "group": "Body",
24547             "type": "String",
24548             "optional": true,
24549             "field": "interval",
24550             "description": ""
24551           }
24552         ]
24553       }
24554     },
24555     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24556     "version": "0.0.0",
24557     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24558     "groupTitle": "Sms_Accounts"
24559   },
24560   {
24561     "type": "post",
24562     "url": "/api/sms/accounts/{id}/dispositions",
24563     "title": "Creates new disposition",
24564     "examples": [
24565       {
24566         "title": "Example usage:",
24567         "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
24568         "type": "json"
24569       }
24570     ],
24571     "name": "addDisposition",
24572     "group": "Sms_Accounts",
24573     "parameter": {
24574       "fields": {
24575         "Body": [
24576           {
24577             "group": "Body",
24578             "type": "String",
24579             "optional": false,
24580             "field": "name",
24581             "description": ""
24582           },
24583           {
24584             "group": "Body",
24585             "type": "String",
24586             "allowedValues": [
24587               "\"first\"",
24588               "\"second\"",
24589               "\"third\""
24590             ],
24591             "optional": false,
24592             "field": "level",
24593             "description": ""
24594           },
24595           {
24596             "group": "Body",
24597             "type": "String",
24598             "optional": true,
24599             "field": "description",
24600             "description": ""
24601           }
24602         ]
24603       }
24604     },
24605     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24606     "version": "0.0.0",
24607     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24608     "groupTitle": "Sms_Accounts"
24609   },
24610   {
24611     "type": "get",
24612     "url": "/api/sms/accounts/{id}/canned_answers",
24613     "title": "Gets account canned answers",
24614     "examples": [
24615       {
24616         "title": "Example usage:",
24617         "content": "curl https://{domain}/api/sms/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
24618         "type": "json"
24619       }
24620     ],
24621     "name": "getAnswers",
24622     "group": "Sms_Accounts",
24623     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24624     "version": "0.0.0",
24625     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24626     "groupTitle": "Sms_Accounts"
24627   },
24628   {
24629     "type": "get",
24630     "url": "/api/sms/accounts/{id}/applications",
24631     "title": "Gets account applications",
24632     "examples": [
24633       {
24634         "title": "Example usage:",
24635         "content": "curl https://{domain}/api/sms/accounts/{id}/applications -v -u {name}:{password} -X GET",
24636         "type": "json"
24637       }
24638     ],
24639     "name": "getApplications",
24640     "group": "Sms_Accounts",
24641     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24642     "version": "0.0.0",
24643     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24644     "groupTitle": "Sms_Accounts"
24645   },
24646   {
24647     "type": "get",
24648     "url": "/api/sms/accounts/{id}/dispositions",
24649     "title": "Gets account dispositions",
24650     "examples": [
24651       {
24652         "title": "Example usage:",
24653         "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
24654         "type": "json"
24655       }
24656     ],
24657     "name": "getDispositions",
24658     "group": "Sms_Accounts",
24659     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24660     "version": "0.0.0",
24661     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24662     "groupTitle": "Sms_Accounts"
24663   },
24664   {
24665     "type": "get",
24666     "url": "/api/sms/accounts/{id}/interactions",
24667     "title": "Gets Sms Account interactions",
24668     "examples": [
24669       {
24670         "title": "Example usage:",
24671         "content": "curl https://{domain}/api/sms/accounts/{id}/interactions -v -u {name}:{password} -X GET",
24672         "type": "json"
24673       }
24674     ],
24675     "name": "getInteractions",
24676     "group": "Sms_Accounts",
24677     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24678     "version": "0.0.0",
24679     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24680     "groupTitle": "Sms_Accounts"
24681   },
24682   {
24683     "type": "post",
24684     "url": "/api/sms/accounts/{id}/notify",
24685     "title": "Notify new message",
24686     "examples": [
24687       {
24688         "title": "Example usage:",
24689         "content": "curl https://{domain}/api/sms/accounts/{id}/notify -d '{\"body\": \"hello world\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
24690         "type": "json"
24691       }
24692     ],
24693     "name": "notify",
24694     "group": "Sms_Accounts",
24695     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <p>This API is used to create a new sms message to be sent to the system.</p>",
24696     "version": "0.0.0",
24697     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24698     "groupTitle": "Sms_Accounts"
24699   },
24700   {
24701     "type": "put",
24702     "url": "/api/sms/messages/{id}/reject",
24703     "title": "Rejects message",
24704     "examples": [
24705       {
24706         "title": "Example usage:",
24707         "content": "curl https://{domain}/api/sms/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
24708         "type": "json"
24709       }
24710     ],
24711     "name": "rejectMessage",
24712     "group": "Sms_Accounts",
24713     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24714     "version": "0.0.0",
24715     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsMessage/index.js",
24716     "groupTitle": "Sms_Accounts"
24717   },
24718   {
24719     "type": "post",
24720     "url": "/api/sms/accounts/{id}/send",
24721     "title": "Send new sms message",
24722     "examples": [
24723       {
24724         "title": "Example usage:",
24725         "content": "curl https://{domain}/api/sms/accounts/{id}/send -d '{from: '+39333123456', body: 'This is a test'}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
24726         "type": "json"
24727       }
24728     ],
24729     "name": "sendSms",
24730     "group": "Sms_Accounts",
24731     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24732     "version": "0.0.0",
24733     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24734     "groupTitle": "Sms_Accounts"
24735   },
24736   {
24737     "type": "get",
24738     "url": "/api/sms/accounts/{id}/status",
24739     "title": "Receive message status as get request",
24740     "examples": [
24741       {
24742         "title": "Example usage:",
24743         "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET",
24744         "type": "json"
24745       }
24746     ],
24747     "name": "statusMessage",
24748     "group": "Sms_Accounts",
24749     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24750     "version": "0.0.0",
24751     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24752     "groupTitle": "Sms_Accounts"
24753   },
24754   {
24755     "type": "post",
24756     "url": "/api/sms/accounts/{id}/status",
24757     "title": "Receive message status",
24758     "examples": [
24759       {
24760         "title": "Example usage:",
24761         "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST",
24762         "type": "json"
24763       }
24764     ],
24765     "name": "statusMessage",
24766     "group": "Sms_Accounts",
24767     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24768     "version": "0.0.0",
24769     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24770     "groupTitle": "Sms_Accounts"
24771   },
24772   {
24773     "type": "post",
24774     "url": "/api/sms/messages/{id}/status",
24775     "title": "Receive message status",
24776     "examples": [
24777       {
24778         "title": "Example usage:",
24779         "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST",
24780         "type": "json"
24781       }
24782     ],
24783     "name": "statusMessage",
24784     "group": "Sms_Accounts",
24785     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24786     "version": "0.0.0",
24787     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsMessage/index.js",
24788     "groupTitle": "Sms_Accounts"
24789   },
24790   {
24791     "type": "put",
24792     "url": "/api/sms/accounts/{id}",
24793     "title": "Update an existing Account",
24794     "examples": [
24795       {
24796         "title": "Example usage:",
24797         "content": "curl https://{domain}/api/sms/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
24798         "type": "json"
24799       }
24800     ],
24801     "name": "updateAccounts",
24802     "group": "Sms_Accounts",
24803     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24804     "version": "0.0.0",
24805     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsAccount/index.js",
24806     "groupTitle": "Sms_Accounts"
24807   },
24808   {
24809     "type": "post",
24810     "url": "/api/sms/applications",
24811     "title": "Creates a new Application",
24812     "examples": [
24813       {
24814         "title": "Example usage:",
24815         "content": "curl https://{domain}/api/sms/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24816         "type": "json"
24817       }
24818     ],
24819     "name": "CreateApplications",
24820     "group": "Sms_Applications",
24821     "parameter": {
24822       "fields": {
24823         "Body": [
24824           {
24825             "group": "Body",
24826             "type": "Integer",
24827             "optional": false,
24828             "field": "priority",
24829             "description": ""
24830           },
24831           {
24832             "group": "Body",
24833             "type": "String",
24834             "optional": false,
24835             "field": "app",
24836             "description": ""
24837           },
24838           {
24839             "group": "Body",
24840             "type": "Text",
24841             "optional": true,
24842             "field": "appdata",
24843             "description": ""
24844           },
24845           {
24846             "group": "Body",
24847             "type": "String",
24848             "optional": true,
24849             "field": "description",
24850             "description": ""
24851           },
24852           {
24853             "group": "Body",
24854             "type": "String",
24855             "optional": true,
24856             "field": "interval",
24857             "description": ""
24858           }
24859         ]
24860       }
24861     },
24862     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24863     "version": "0.0.0",
24864     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsApplication/index.js",
24865     "groupTitle": "Sms_Applications"
24866   },
24867   {
24868     "type": "delete",
24869     "url": "/api/sms/applications/{id}",
24870     "title": "Deletes a Application",
24871     "examples": [
24872       {
24873         "title": "Example usage:",
24874         "content": "curl https://{domain}/api/sms/applications/{id} -v -u {name}:{password} -X DELETE",
24875         "type": "json"
24876       }
24877     ],
24878     "name": "DeleteApplications",
24879     "group": "Sms_Applications",
24880     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24881     "version": "0.0.0",
24882     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsApplication/index.js",
24883     "groupTitle": "Sms_Applications"
24884   },
24885   {
24886     "type": "get",
24887     "url": "/api/sms/applications",
24888     "title": "Gets a list of Applications",
24889     "examples": [
24890       {
24891         "title": "Example usage:",
24892         "content": "curl https://{domain}/api/sms/applications -v -u {name}:{password}",
24893         "type": "json"
24894       }
24895     ],
24896     "name": "GetApplications",
24897     "group": "Sms_Applications",
24898     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/sms/applications?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/sms/applications?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/sms/applications?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/sms/applications?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/sms/applications?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
24899     "version": "0.0.0",
24900     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsApplication/index.js",
24901     "groupTitle": "Sms_Applications"
24902   },
24903   {
24904     "type": "get",
24905     "url": "/api/sms/applications/{id}",
24906     "title": "Gets a single Application",
24907     "examples": [
24908       {
24909         "title": "Example usage:",
24910         "content": "curl https://{domain}/api/sms/applications/{id} -v -u {name}:{password}",
24911         "type": "json"
24912       }
24913     ],
24914     "name": "ShowApplications",
24915     "group": "Sms_Applications",
24916     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24917     "version": "0.0.0",
24918     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsApplication/index.js",
24919     "groupTitle": "Sms_Applications"
24920   },
24921   {
24922     "type": "put",
24923     "url": "/api/sms/applications/{id}",
24924     "title": "Update an existing Application",
24925     "examples": [
24926       {
24927         "title": "Example usage:",
24928         "content": "curl https://{domain}/api/sms/applications/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
24929         "type": "json"
24930       }
24931     ],
24932     "name": "updateApplications",
24933     "group": "Sms_Applications",
24934     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24935     "version": "0.0.0",
24936     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsApplication/index.js",
24937     "groupTitle": "Sms_Applications"
24938   },
24939   {
24940     "type": "post",
24941     "url": "/api/sms/interactions/{id}/tags",
24942     "title": "Add tags to the interaction",
24943     "examples": [
24944       {
24945         "title": "Example usage:",
24946         "content": "curl https://{domain}/api/sms/interaction/{id}/tags -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
24947         "type": "json"
24948       }
24949     ],
24950     "name": "AddTags",
24951     "group": "Sms_Interactions",
24952     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24953     "version": "0.0.0",
24954     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/index.js",
24955     "groupTitle": "Sms_Interactions"
24956   },
24957   {
24958     "type": "post",
24959     "url": "/AddTagsToSmsInteraction",
24960     "title": "Add Tags to Sms interaction",
24961     "name": "AddTagsToSmsInteraction",
24962     "group": "Sms_Interactions",
24963     "parameter": {
24964       "fields": {
24965         "Body": [
24966           {
24967             "group": "Body",
24968             "type": "Object",
24969             "optional": true,
24970             "field": "options.attributes",
24971             "description": ""
24972           },
24973           {
24974             "group": "Body",
24975             "type": "Object",
24976             "optional": false,
24977             "field": "options.where",
24978             "description": ""
24979           }
24980         ]
24981       }
24982     },
24983     "version": "0.0.0",
24984     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/smsInteraction.rpc.js",
24985     "groupTitle": "Sms_Interactions"
24986   },
24987   {
24988     "type": "post",
24989     "url": "/api/sms/interactions",
24990     "title": "Creates a new Interaction",
24991     "examples": [
24992       {
24993         "title": "Example usage:",
24994         "content": "curl https://{domain}/api/sms/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24995         "type": "json"
24996       }
24997     ],
24998     "name": "CreateInteractions",
24999     "group": "Sms_Interactions",
25000     "parameter": {
25001       "fields": {
25002         "Body": [
25003           {
25004             "group": "Body",
25005             "type": "Boolean",
25006             "optional": true,
25007             "field": "closed",
25008             "description": ""
25009           },
25010           {
25011             "group": "Body",
25012             "type": "String",
25013             "optional": true,
25014             "field": "closedAt",
25015             "description": ""
25016           },
25017           {
25018             "group": "Body",
25019             "type": "String",
25020             "optional": true,
25021             "field": "disposition",
25022             "description": ""
25023           },
25024           {
25025             "group": "Body",
25026             "type": "String",
25027             "optional": true,
25028             "field": "secondDisposition",
25029             "description": ""
25030           },
25031           {
25032             "group": "Body",
25033             "type": "String",
25034             "optional": true,
25035             "field": "thirdDisposition",
25036             "description": ""
25037           },
25038           {
25039             "group": "Body",
25040             "type": "String",
25041             "optional": true,
25042             "field": "note",
25043             "description": ""
25044           },
25045           {
25046             "group": "Body",
25047             "type": "String",
25048             "optional": true,
25049             "field": "phone",
25050             "description": ""
25051           },
25052           {
25053             "group": "Body",
25054             "type": "String",
25055             "optional": true,
25056             "field": "read1stAt",
25057             "description": ""
25058           },
25059           {
25060             "group": "Body",
25061             "type": "String",
25062             "allowedValues": [
25063               "\"in\"",
25064               "\"out\""
25065             ],
25066             "optional": false,
25067             "field": "firstMsgDirection",
25068             "description": ""
25069           },
25070           {
25071             "group": "Body",
25072             "type": "String",
25073             "optional": true,
25074             "field": "lastMsgAt",
25075             "description": ""
25076           },
25077           {
25078             "group": "Body",
25079             "type": "String",
25080             "allowedValues": [
25081               "\"in\"",
25082               "\"out\""
25083             ],
25084             "optional": false,
25085             "field": "lastMsgDirection",
25086             "description": ""
25087           }
25088         ]
25089       }
25090     },
25091     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25092     "version": "0.0.0",
25093     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/index.js",
25094     "groupTitle": "Sms_Interactions"
25095   },
25096   {
25097     "type": "delete",
25098     "url": "/api/sms/interactions/{id}",
25099     "title": "Deletes a Interaction",
25100     "examples": [
25101       {
25102         "title": "Example usage:",
25103         "content": "curl https://{domain}/api/sms/interactions/{id} -v -u {name}:{password} -X DELETE",
25104         "type": "json"
25105       }
25106     ],
25107     "name": "DeleteInteractions",
25108     "group": "Sms_Interactions",
25109     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25110     "version": "0.0.0",
25111     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/index.js",
25112     "groupTitle": "Sms_Interactions"
25113   },
25114   {
25115     "type": "get",
25116     "url": "/api/sms/interactions/describe",
25117     "title": "Gets table info about Interactions",
25118     "examples": [
25119       {
25120         "title": "Example usage:",
25121         "content": "curl https://{domain}/api/sms/interactions/describe -v -u {name}:{password}",
25122         "type": "json"
25123       }
25124     ],
25125     "name": "DescribeInteractions",
25126     "group": "Sms_Interactions",
25127     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25128     "version": "0.0.0",
25129     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/index.js",
25130     "groupTitle": "Sms_Interactions"
25131   },
25132   {
25133     "type": "get",
25134     "url": "/api/sms/interactions",
25135     "title": "Gets a list of Interactions",
25136     "examples": [
25137       {
25138         "title": "Example usage:",
25139         "content": "curl https://{domain}/api/sms/interactions -v -u {name}:{password}",
25140         "type": "json"
25141       }
25142     ],
25143     "name": "GetInteractions",
25144     "group": "Sms_Interactions",
25145     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/sms/interactions?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/sms/interactions?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/sms/interactions?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/sms/interactions?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/sms/interactions?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
25146     "version": "0.0.0",
25147     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/index.js",
25148     "groupTitle": "Sms_Interactions"
25149   },
25150   {
25151     "type": "delete",
25152     "url": "/api/sms/interactions/{id}/tags",
25153     "title": "Removes tags from interaction",
25154     "examples": [
25155       {
25156         "title": "Example usage:",
25157         "content": "curl https://{domain}/api/sms/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
25158         "type": "json"
25159       }
25160     ],
25161     "name": "RemoveTags",
25162     "group": "Sms_Interactions",
25163     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25164     "version": "0.0.0",
25165     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/index.js",
25166     "groupTitle": "Sms_Interactions"
25167   },
25168   {
25169     "type": "get",
25170     "url": "/api/sms/interactions/{id}",
25171     "title": "Gets a single Interaction",
25172     "examples": [
25173       {
25174         "title": "Example usage:",
25175         "content": "curl https://{domain}/api/sms/interactions/{id} -v -u {name}:{password}",
25176         "type": "json"
25177       }
25178     ],
25179     "name": "ShowInteractions",
25180     "group": "Sms_Interactions",
25181     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25182     "version": "0.0.0",
25183     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/index.js",
25184     "groupTitle": "Sms_Interactions"
25185   },
25186   {
25187     "type": "post",
25188     "url": "/UpdateSmsInteraction",
25189     "title": "Updates a new Interaction",
25190     "name": "UpdateSmsInteraction",
25191     "group": "Sms_Interactions",
25192     "parameter": {
25193       "fields": {
25194         "Body": [
25195           {
25196             "group": "Body",
25197             "type": "Object",
25198             "optional": true,
25199             "field": "options.attributes",
25200             "description": ""
25201           },
25202           {
25203             "group": "Body",
25204             "type": "Object",
25205             "optional": false,
25206             "field": "options.where",
25207             "description": ""
25208           }
25209         ]
25210       }
25211     },
25212     "version": "0.0.0",
25213     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/smsInteraction.rpc.js",
25214     "groupTitle": "Sms_Interactions"
25215   },
25216   {
25217     "type": "post",
25218     "url": "/api/sms/interactions/{id}/messages",
25219     "title": "Creates new messages",
25220     "examples": [
25221       {
25222         "title": "Example usage:",
25223         "content": "curl https://{domain}/api/sms/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
25224         "type": "json"
25225       }
25226     ],
25227     "name": "addMessage",
25228     "group": "Sms_Interactions",
25229     "parameter": {
25230       "fields": {
25231         "Body": [
25232           {
25233             "group": "Body",
25234             "type": "Text",
25235             "optional": false,
25236             "field": "body",
25237             "description": ""
25238           },
25239           {
25240             "group": "Body",
25241             "type": "Boolean",
25242             "optional": true,
25243             "field": "read",
25244             "description": ""
25245           },
25246           {
25247             "group": "Body",
25248             "type": "String",
25249             "allowedValues": [
25250               "\"in\"",
25251               "\"out\""
25252             ],
25253             "optional": false,
25254             "field": "direction",
25255             "description": ""
25256           },
25257           {
25258             "group": "Body",
25259             "type": "String",
25260             "optional": true,
25261             "field": "messageId",
25262             "description": ""
25263           },
25264           {
25265             "group": "Body",
25266             "type": "String",
25267             "optional": true,
25268             "field": "phone",
25269             "description": ""
25270           },
25271           {
25272             "group": "Body",
25273             "type": "String",
25274             "optional": true,
25275             "field": "readAt",
25276             "description": ""
25277           },
25278           {
25279             "group": "Body",
25280             "type": "Boolean",
25281             "optional": true,
25282             "field": "secret",
25283             "description": ""
25284           },
25285           {
25286             "group": "Body",
25287             "type": "String",
25288             "optional": true,
25289             "field": "providerName",
25290             "description": ""
25291           },
25292           {
25293             "group": "Body",
25294             "type": "Text",
25295             "optional": true,
25296             "field": "providerResponse",
25297             "description": ""
25298           }
25299         ]
25300       }
25301     },
25302     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25303     "version": "0.0.0",
25304     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/index.js",
25305     "groupTitle": "Sms_Interactions"
25306   },
25307   {
25308     "type": "get",
25309     "url": "/api/sms/interactions/{id}/download",
25310     "title": "Gets interaction",
25311     "examples": [
25312       {
25313         "title": "Example usage:",
25314         "content": "curl https://{domain}/api/sms/interactions/{id}/download -v -u {name}:{password} -X GET",
25315         "type": "json"
25316       }
25317     ],
25318     "name": "download",
25319     "group": "Sms_Interactions",
25320     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25321     "version": "0.0.0",
25322     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/index.js",
25323     "groupTitle": "Sms_Interactions"
25324   },
25325   {
25326     "type": "get",
25327     "url": "/api/sms/interactions/{id}/messages",
25328     "title": "Gets interaction messages",
25329     "examples": [
25330       {
25331         "title": "Example usage:",
25332         "content": "curl https://{domain}/api/sms/interactions/{id}/messages -v -u {name}:{password} -X GET",
25333         "type": "json"
25334       }
25335     ],
25336     "name": "getMessages",
25337     "group": "Sms_Interactions",
25338     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25339     "version": "0.0.0",
25340     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/index.js",
25341     "groupTitle": "Sms_Interactions"
25342   },
25343   {
25344     "type": "put",
25345     "url": "/api/sms/interactions/{id}",
25346     "title": "Update an existing Interaction",
25347     "examples": [
25348       {
25349         "title": "Example usage:",
25350         "content": "curl https://{domain}/api/sms/interactions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
25351         "type": "json"
25352       }
25353     ],
25354     "name": "updateInteractions",
25355     "group": "Sms_Interactions",
25356     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25357     "version": "0.0.0",
25358     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsInteraction/index.js",
25359     "groupTitle": "Sms_Interactions"
25360   },
25361   {
25362     "type": "post",
25363     "url": "/api/sms/messages",
25364     "title": "Creates a new Message",
25365     "examples": [
25366       {
25367         "title": "Example usage:",
25368         "content": "curl https://{domain}/api/sms/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25369         "type": "json"
25370       }
25371     ],
25372     "name": "CreateMessages",
25373     "group": "Sms_Messages",
25374     "parameter": {
25375       "fields": {
25376         "Body": [
25377           {
25378             "group": "Body",
25379             "type": "Text",
25380             "optional": false,
25381             "field": "body",
25382             "description": ""
25383           },
25384           {
25385             "group": "Body",
25386             "type": "Boolean",
25387             "optional": true,
25388             "field": "read",
25389             "description": ""
25390           },
25391           {
25392             "group": "Body",
25393             "type": "String",
25394             "allowedValues": [
25395               "\"in\"",
25396               "\"out\""
25397             ],
25398             "optional": false,
25399             "field": "direction",
25400             "description": ""
25401           },
25402           {
25403             "group": "Body",
25404             "type": "String",
25405             "optional": true,
25406             "field": "messageId",
25407             "description": ""
25408           },
25409           {
25410             "group": "Body",
25411             "type": "String",
25412             "optional": true,
25413             "field": "phone",
25414             "description": ""
25415           },
25416           {
25417             "group": "Body",
25418             "type": "String",
25419             "optional": true,
25420             "field": "readAt",
25421             "description": ""
25422           },
25423           {
25424             "group": "Body",
25425             "type": "Boolean",
25426             "optional": true,
25427             "field": "secret",
25428             "description": ""
25429           },
25430           {
25431             "group": "Body",
25432             "type": "String",
25433             "optional": true,
25434             "field": "providerName",
25435             "description": ""
25436           },
25437           {
25438             "group": "Body",
25439             "type": "Text",
25440             "optional": true,
25441             "field": "providerResponse",
25442             "description": ""
25443           }
25444         ]
25445       }
25446     },
25447     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25448     "version": "0.0.0",
25449     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsMessage/index.js",
25450     "groupTitle": "Sms_Messages"
25451   },
25452   {
25453     "type": "post",
25454     "url": "/CreateSmsMessage",
25455     "title": "Creates a new Message",
25456     "name": "CreateSmsMessage",
25457     "group": "Sms_Messages",
25458     "version": "0.0.0",
25459     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsMessage/smsMessage.rpc.js",
25460     "groupTitle": "Sms_Messages"
25461   },
25462   {
25463     "type": "delete",
25464     "url": "/api/sms/messages/{id}",
25465     "title": "Deletes a Message",
25466     "examples": [
25467       {
25468         "title": "Example usage:",
25469         "content": "curl https://{domain}/api/sms/messages/{id} -v -u {name}:{password} -X DELETE",
25470         "type": "json"
25471       }
25472     ],
25473     "name": "DeleteMessages",
25474     "group": "Sms_Messages",
25475     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25476     "version": "0.0.0",
25477     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsMessage/index.js",
25478     "groupTitle": "Sms_Messages"
25479   },
25480   {
25481     "type": "get",
25482     "url": "/api/sms/messages/describe",
25483     "title": "Gets table info about Messages",
25484     "examples": [
25485       {
25486         "title": "Example usage:",
25487         "content": "curl https://{domain}/api/sms/messages/describe -v -u {name}:{password}",
25488         "type": "json"
25489       }
25490     ],
25491     "name": "DescribeMessages",
25492     "group": "Sms_Messages",
25493     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25494     "version": "0.0.0",
25495     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsMessage/index.js",
25496     "groupTitle": "Sms_Messages"
25497   },
25498   {
25499     "type": "get",
25500     "url": "/api/sms/messages",
25501     "title": "Gets a list of Messages",
25502     "examples": [
25503       {
25504         "title": "Example usage:",
25505         "content": "curl https://{domain}/api/sms/messages -v -u {name}:{password}",
25506         "type": "json"
25507       }
25508     ],
25509     "name": "GetMessages",
25510     "group": "Sms_Messages",
25511     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/sms/messages?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/sms/messages?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/sms/messages?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/sms/messages?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/sms/messages?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
25512     "version": "0.0.0",
25513     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsMessage/index.js",
25514     "groupTitle": "Sms_Messages"
25515   },
25516   {
25517     "type": "get",
25518     "url": "/api/sms/messages/{id}",
25519     "title": "Gets a single Message",
25520     "examples": [
25521       {
25522         "title": "Example usage:",
25523         "content": "curl https://{domain}/api/sms/messages/{id} -v -u {name}:{password}",
25524         "type": "json"
25525       }
25526     ],
25527     "name": "ShowMessages",
25528     "group": "Sms_Messages",
25529     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25530     "version": "0.0.0",
25531     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsMessage/index.js",
25532     "groupTitle": "Sms_Messages"
25533   },
25534   {
25535     "type": "put",
25536     "url": "/api/sms/messages/{id}",
25537     "title": "Update an existing Message",
25538     "examples": [
25539       {
25540         "title": "Example usage:",
25541         "content": "curl https://{domain}/api/sms/messages/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
25542         "type": "json"
25543       }
25544     ],
25545     "name": "updateMessages",
25546     "group": "Sms_Messages",
25547     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25548     "version": "0.0.0",
25549     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsMessage/index.js",
25550     "groupTitle": "Sms_Messages"
25551   },
25552   {
25553     "type": "post",
25554     "url": "/CreateSmsQueueReport",
25555     "title": "Creates a new Sms Queue Report",
25556     "name": "CreateSmsQueueReport",
25557     "group": "Sms_Queue_Reports",
25558     "version": "0.0.0",
25559     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueueReport/smsQueueReport.rpc.js",
25560     "groupTitle": "Sms_Queue_Reports"
25561   },
25562   {
25563     "type": "post",
25564     "url": "/api/sms/reports/queue",
25565     "title": "Creates a new Sms Queue Report",
25566     "examples": [
25567       {
25568         "title": "Example usage:",
25569         "content": "curl https://{domain}/api/sms/reports/queue -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25570         "type": "json"
25571       }
25572     ],
25573     "name": "CreateSms_Queue_Reports",
25574     "group": "Sms_Queue_Reports",
25575     "parameter": {
25576       "fields": {
25577         "Body": [
25578           {
25579             "group": "Body",
25580             "type": "String",
25581             "optional": false,
25582             "field": "uniqueid",
25583             "description": ""
25584           },
25585           {
25586             "group": "Body",
25587             "type": "String",
25588             "optional": true,
25589             "field": "from",
25590             "description": ""
25591           },
25592           {
25593             "group": "Body",
25594             "type": "String",
25595             "optional": true,
25596             "field": "joinAt",
25597             "description": ""
25598           },
25599           {
25600             "group": "Body",
25601             "type": "String",
25602             "optional": true,
25603             "field": "leaveAt",
25604             "description": ""
25605           },
25606           {
25607             "group": "Body",
25608             "type": "String",
25609             "optional": true,
25610             "field": "acceptAt",
25611             "description": ""
25612           },
25613           {
25614             "group": "Body",
25615             "type": "String",
25616             "optional": true,
25617             "field": "exitAt",
25618             "description": ""
25619           },
25620           {
25621             "group": "Body",
25622             "type": "String",
25623             "optional": true,
25624             "field": "reason",
25625             "description": ""
25626           }
25627         ]
25628       }
25629     },
25630     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25631     "version": "0.0.0",
25632     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueueReport/index.js",
25633     "groupTitle": "Sms_Queue_Reports"
25634   },
25635   {
25636     "type": "delete",
25637     "url": "/api/sms/reports/queue/{id}",
25638     "title": "Deletes a Sms Queue Report",
25639     "examples": [
25640       {
25641         "title": "Example usage:",
25642         "content": "curl https://{domain}/api/sms/reports/queue/{id} -v -u {name}:{password} -X DELETE",
25643         "type": "json"
25644       }
25645     ],
25646     "name": "DeleteSms_Queue_Reports",
25647     "group": "Sms_Queue_Reports",
25648     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25649     "version": "0.0.0",
25650     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueueReport/index.js",
25651     "groupTitle": "Sms_Queue_Reports"
25652   },
25653   {
25654     "type": "get",
25655     "url": "/api/sms/reports/queue/describe",
25656     "title": "Gets table info about Sms Queue Reports",
25657     "examples": [
25658       {
25659         "title": "Example usage:",
25660         "content": "curl https://{domain}/api/sms/reports/queue/describe -v -u {name}:{password}",
25661         "type": "json"
25662       }
25663     ],
25664     "name": "DescribeSms_Queue_Reports",
25665     "group": "Sms_Queue_Reports",
25666     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25667     "version": "0.0.0",
25668     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueueReport/index.js",
25669     "groupTitle": "Sms_Queue_Reports"
25670   },
25671   {
25672     "type": "get",
25673     "url": "/api/sms/reports/queue",
25674     "title": "Gets a list of Sms Queue Reports",
25675     "examples": [
25676       {
25677         "title": "Example usage:",
25678         "content": "curl https://{domain}/api/sms/reports/queue -v -u {name}:{password}",
25679         "type": "json"
25680       }
25681     ],
25682     "name": "GetSms_Queue_Reports",
25683     "group": "Sms_Queue_Reports",
25684     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/sms/reports/queue?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/sms/reports/queue?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/sms/reports/queue?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/sms/reports/queue?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/sms/reports/queue?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
25685     "version": "0.0.0",
25686     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueueReport/index.js",
25687     "groupTitle": "Sms_Queue_Reports"
25688   },
25689   {
25690     "type": "get",
25691     "url": "/api/sms/reports/queue/{id}",
25692     "title": "Gets a single Sms Queue Report",
25693     "examples": [
25694       {
25695         "title": "Example usage:",
25696         "content": "curl https://{domain}/api/sms/reports/queue/{id} -v -u {name}:{password}",
25697         "type": "json"
25698       }
25699     ],
25700     "name": "ShowSms_Queue_Reports",
25701     "group": "Sms_Queue_Reports",
25702     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25703     "version": "0.0.0",
25704     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueueReport/index.js",
25705     "groupTitle": "Sms_Queue_Reports"
25706   },
25707   {
25708     "type": "post",
25709     "url": "/UpdateSmsQueueReport",
25710     "title": "Updates a new Sms Queue Report",
25711     "name": "UpdateSmsQueueReport",
25712     "group": "Sms_Queue_Reports",
25713     "parameter": {
25714       "fields": {
25715         "Body": [
25716           {
25717             "group": "Body",
25718             "type": "Object",
25719             "optional": true,
25720             "field": "options.attributes",
25721             "description": ""
25722           },
25723           {
25724             "group": "Body",
25725             "type": "Object",
25726             "optional": false,
25727             "field": "options.where",
25728             "description": ""
25729           }
25730         ]
25731       }
25732     },
25733     "version": "0.0.0",
25734     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueueReport/smsQueueReport.rpc.js",
25735     "groupTitle": "Sms_Queue_Reports"
25736   },
25737   {
25738     "type": "put",
25739     "url": "/api/sms/reports/queue/{id}",
25740     "title": "Update an existing Sms Queue Report",
25741     "examples": [
25742       {
25743         "title": "Example usage:",
25744         "content": "curl https://{domain}/api/sms/reports/queue/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
25745         "type": "json"
25746       }
25747     ],
25748     "name": "updateSms_Queue_Reports",
25749     "group": "Sms_Queue_Reports",
25750     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25751     "version": "0.0.0",
25752     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueueReport/index.js",
25753     "groupTitle": "Sms_Queue_Reports"
25754   },
25755   {
25756     "type": "post",
25757     "url": "/api/sms/queues/{id}/users",
25758     "title": "Add agents to a queue",
25759     "examples": [
25760       {
25761         "title": "Example usage:",
25762         "content": "curl https://{domain}/api/sms/queues/{id}/users -d '{\"ids\": [1,2], \"penalty\": 2}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
25763         "type": "json"
25764       }
25765     ],
25766     "name": "AddAgents",
25767     "group": "Sms_Queues",
25768     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25769     "version": "0.0.0",
25770     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
25771     "groupTitle": "Sms_Queues"
25772   },
25773   {
25774     "type": "post",
25775     "url": "/api/sms/queues/{id}/teams",
25776     "title": "Add teams to a queue",
25777     "examples": [
25778       {
25779         "title": "Example usage:",
25780         "content": "curl https://{domain}/api/sms/queues/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
25781         "type": "json"
25782       }
25783     ],
25784     "name": "AddTeams",
25785     "group": "Sms_Queues",
25786     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25787     "version": "0.0.0",
25788     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
25789     "groupTitle": "Sms_Queues"
25790   },
25791   {
25792     "type": "post",
25793     "url": "/api/sms/queues",
25794     "title": "Creates a new Queue",
25795     "examples": [
25796       {
25797         "title": "Example usage:",
25798         "content": "curl https://{domain}/api/sms/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25799         "type": "json"
25800       }
25801     ],
25802     "name": "CreateQueues",
25803     "group": "Sms_Queues",
25804     "parameter": {
25805       "fields": {
25806         "Body": [
25807           {
25808             "group": "Body",
25809             "type": "String",
25810             "optional": true,
25811             "field": "name",
25812             "description": ""
25813           },
25814           {
25815             "group": "Body",
25816             "type": "String",
25817             "optional": true,
25818             "field": "description",
25819             "description": ""
25820           },
25821           {
25822             "group": "Body",
25823             "type": "Integer",
25824             "optional": true,
25825             "field": "timeout",
25826             "description": ""
25827           },
25828           {
25829             "group": "Body",
25830             "type": "String",
25831             "allowedValues": [
25832               "\"rrmemory\"",
25833               "\"beepall\"",
25834               "\"roundrobin\""
25835             ],
25836             "optional": true,
25837             "field": "strategy",
25838             "description": ""
25839           }
25840         ]
25841       }
25842     },
25843     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25844     "version": "0.0.0",
25845     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
25846     "groupTitle": "Sms_Queues"
25847   },
25848   {
25849     "type": "delete",
25850     "url": "/api/sms/queues/{id}",
25851     "title": "Deletes a Queue",
25852     "examples": [
25853       {
25854         "title": "Example usage:",
25855         "content": "curl https://{domain}/api/sms/queues/{id} -v -u {name}:{password} -X DELETE",
25856         "type": "json"
25857       }
25858     ],
25859     "name": "DeleteQueues",
25860     "group": "Sms_Queues",
25861     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25862     "version": "0.0.0",
25863     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
25864     "groupTitle": "Sms_Queues"
25865   },
25866   {
25867     "type": "get",
25868     "url": "/api/sms/queues/describe",
25869     "title": "Gets table info about Queues",
25870     "examples": [
25871       {
25872         "title": "Example usage:",
25873         "content": "curl https://{domain}/api/sms/queues/describe -v -u {name}:{password}",
25874         "type": "json"
25875       }
25876     ],
25877     "name": "DescribeQueues",
25878     "group": "Sms_Queues",
25879     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25880     "version": "0.0.0",
25881     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
25882     "groupTitle": "Sms_Queues"
25883   },
25884   {
25885     "type": "get",
25886     "url": "/api/sms/queues/{id}/users",
25887     "title": "Gets queue agents",
25888     "examples": [
25889       {
25890         "title": "Example usage:",
25891         "content": "curl https://{domain}/api/sms/queues/{id}/users -v -u {name}:{password} -X POST",
25892         "type": "json"
25893       }
25894     ],
25895     "name": "GetAgents",
25896     "group": "Sms_Queues",
25897     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25898     "version": "0.0.0",
25899     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
25900     "groupTitle": "Sms_Queues"
25901   },
25902   {
25903     "type": "get",
25904     "url": "/api/sms/queues/{id}/members",
25905     "title": "GetMembers",
25906     "examples": [
25907       {
25908         "title": "Example usage:",
25909         "content": "curl https://{domain}/api/sms/queues/{id}/members  -v -u {name}:{password}",
25910         "type": "json"
25911       }
25912     ],
25913     "name": "GetMembers",
25914     "group": "Sms_Queues",
25915     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25916     "version": "0.0.0",
25917     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
25918     "groupTitle": "Sms_Queues"
25919   },
25920   {
25921     "type": "get",
25922     "url": "/api/sms/queues",
25923     "title": "Gets a list of Queues",
25924     "examples": [
25925       {
25926         "title": "Example usage:",
25927         "content": "curl https://{domain}/api/sms/queues -v -u {name}:{password}",
25928         "type": "json"
25929       }
25930     ],
25931     "name": "GetQueues",
25932     "group": "Sms_Queues",
25933     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/sms/queues?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/sms/queues?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/sms/queues?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/sms/queues?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/sms/queues?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
25934     "version": "0.0.0",
25935     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
25936     "groupTitle": "Sms_Queues"
25937   },
25938   {
25939     "type": "get",
25940     "url": "/GetSmsQueue",
25941     "title": "Gets a list of Queues",
25942     "name": "GetSmsQueue",
25943     "group": "Sms_Queues",
25944     "parameter": {
25945       "fields": {
25946         "Body": [
25947           {
25948             "group": "Body",
25949             "type": "Object",
25950             "optional": true,
25951             "field": "options.attributes",
25952             "description": ""
25953           },
25954           {
25955             "group": "Body",
25956             "type": "Object",
25957             "optional": true,
25958             "field": "options.where",
25959             "description": ""
25960           }
25961         ]
25962       }
25963     },
25964     "version": "0.0.0",
25965     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/smsQueue.rpc.js",
25966     "groupTitle": "Sms_Queues"
25967   },
25968   {
25969     "type": "get",
25970     "url": "/api/sms/queues/{id}/teams",
25971     "title": "Gets queues list",
25972     "examples": [
25973       {
25974         "title": "Example usage:",
25975         "content": "curl https://{domain}/api/sms/queues/{id}/teams -v -u {name}:{password}",
25976         "type": "json"
25977       }
25978     ],
25979     "name": "GetTeams",
25980     "group": "Sms_Queues",
25981     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25982     "version": "0.0.0",
25983     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
25984     "groupTitle": "Sms_Queues"
25985   },
25986   {
25987     "type": "delete",
25988     "url": "/api/sms/queues/{id}/users",
25989     "title": "Removes agents from a queue",
25990     "examples": [
25991       {
25992         "title": "Example usage:",
25993         "content": "curl https://{domain}/api/sms/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
25994         "type": "json"
25995       }
25996     ],
25997     "name": "RemoveAgents",
25998     "group": "Sms_Queues",
25999     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26000     "version": "0.0.0",
26001     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
26002     "groupTitle": "Sms_Queues"
26003   },
26004   {
26005     "type": "get",
26006     "url": "/api/sms/queues/{id}",
26007     "title": "Gets a single Queue",
26008     "examples": [
26009       {
26010         "title": "Example usage:",
26011         "content": "curl https://{domain}/api/sms/queues/{id} -v -u {name}:{password}",
26012         "type": "json"
26013       }
26014     ],
26015     "name": "ShowQueues",
26016     "group": "Sms_Queues",
26017     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26018     "version": "0.0.0",
26019     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
26020     "groupTitle": "Sms_Queues"
26021   },
26022   {
26023     "type": "get",
26024     "url": "/ShowSmsQueue",
26025     "title": "Gets a single Queue",
26026     "name": "ShowSmsQueue",
26027     "group": "Sms_Queues",
26028     "parameter": {
26029       "fields": {
26030         "Body": [
26031           {
26032             "group": "Body",
26033             "type": "Object",
26034             "optional": true,
26035             "field": "options.attributes",
26036             "description": ""
26037           },
26038           {
26039             "group": "Body",
26040             "type": "Object",
26041             "optional": false,
26042             "field": "options.where",
26043             "description": ""
26044           }
26045         ]
26046       }
26047     },
26048     "version": "0.0.0",
26049     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/smsQueue.rpc.js",
26050     "groupTitle": "Sms_Queues"
26051   },
26052   {
26053     "type": "put",
26054     "url": "/api/sms/queues/{id}",
26055     "title": "Update an existing Queue",
26056     "examples": [
26057       {
26058         "title": "Example usage:",
26059         "content": "curl https://{domain}/api/sms/queues/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26060         "type": "json"
26061       }
26062     ],
26063     "name": "updateQueues",
26064     "group": "Sms_Queues",
26065     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26066     "version": "0.0.0",
26067     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
26068     "groupTitle": "Sms_Queues"
26069   },
26070   {
26071     "type": "post",
26072     "url": "/api/sms/reports/transfer",
26073     "title": "Creates a new Sms Transfer Report",
26074     "examples": [
26075       {
26076         "title": "Example usage:",
26077         "content": "curl https://{domain}/api/sms/reports/transfer -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26078         "type": "json"
26079       }
26080     ],
26081     "name": "CreateSms_Transfer_Reports",
26082     "group": "Sms_Transfer_Reports",
26083     "parameter": {
26084       "fields": {
26085         "Body": [
26086           {
26087             "group": "Body",
26088             "type": "String",
26089             "optional": false,
26090             "field": "uniqueid",
26091             "description": ""
26092           },
26093           {
26094             "group": "Body",
26095             "type": "String",
26096             "allowedValues": [
26097               "\"account\"",
26098               "\"agent\"",
26099               "\"queue\""
26100             ],
26101             "optional": false,
26102             "field": "type",
26103             "description": ""
26104           },
26105           {
26106             "group": "Body",
26107             "type": "String",
26108             "optional": false,
26109             "field": "transferredAt",
26110             "description": ""
26111           }
26112         ]
26113       }
26114     },
26115     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26116     "version": "0.0.0",
26117     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsTransferReport/index.js",
26118     "groupTitle": "Sms_Transfer_Reports"
26119   },
26120   {
26121     "type": "delete",
26122     "url": "/api/sms/reports/transfer/{id}",
26123     "title": "Deletes a Sms Transfer Report",
26124     "examples": [
26125       {
26126         "title": "Example usage:",
26127         "content": "curl https://{domain}/api/sms/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
26128         "type": "json"
26129       }
26130     ],
26131     "name": "DeleteSms_Transfer_Reports",
26132     "group": "Sms_Transfer_Reports",
26133     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26134     "version": "0.0.0",
26135     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsTransferReport/index.js",
26136     "groupTitle": "Sms_Transfer_Reports"
26137   },
26138   {
26139     "type": "get",
26140     "url": "/api/sms/reports/transfer/describe",
26141     "title": "Gets table info about Sms Transfer Reports",
26142     "examples": [
26143       {
26144         "title": "Example usage:",
26145         "content": "curl https://{domain}/api/sms/reports/transfer/describe -v -u {name}:{password}",
26146         "type": "json"
26147       }
26148     ],
26149     "name": "DescribeSms_Transfer_Reports",
26150     "group": "Sms_Transfer_Reports",
26151     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26152     "version": "0.0.0",
26153     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsTransferReport/index.js",
26154     "groupTitle": "Sms_Transfer_Reports"
26155   },
26156   {
26157     "type": "get",
26158     "url": "/api/sms/reports/transfer",
26159     "title": "Gets a list of Sms Transfer Reports",
26160     "examples": [
26161       {
26162         "title": "Example usage:",
26163         "content": "curl https://{domain}/api/sms/reports/transfer -v -u {name}:{password}",
26164         "type": "json"
26165       }
26166     ],
26167     "name": "GetSms_Transfer_Reports",
26168     "group": "Sms_Transfer_Reports",
26169     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/sms/reports/transfer?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/sms/reports/transfer?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/sms/reports/transfer?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/sms/reports/transfer?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/sms/reports/transfer?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
26170     "version": "0.0.0",
26171     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsTransferReport/index.js",
26172     "groupTitle": "Sms_Transfer_Reports"
26173   },
26174   {
26175     "type": "get",
26176     "url": "/api/sms/reports/transfer/{id}",
26177     "title": "Gets a single Sms Transfer Report",
26178     "examples": [
26179       {
26180         "title": "Example usage:",
26181         "content": "curl https://{domain}/api/sms/reports/transfer/{id} -v -u {name}:{password}",
26182         "type": "json"
26183       }
26184     ],
26185     "name": "ShowSms_Transfer_Reports",
26186     "group": "Sms_Transfer_Reports",
26187     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26188     "version": "0.0.0",
26189     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsTransferReport/index.js",
26190     "groupTitle": "Sms_Transfer_Reports"
26191   },
26192   {
26193     "type": "put",
26194     "url": "/api/sms/reports/transfer/{id}",
26195     "title": "Update an existing Sms Transfer Report",
26196     "examples": [
26197       {
26198         "title": "Example usage:",
26199         "content": "curl https://{domain}/api/sms/reports/transfer/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26200         "type": "json"
26201       }
26202     ],
26203     "name": "updateSms_Transfer_Reports",
26204     "group": "Sms_Transfer_Reports",
26205     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26206     "version": "0.0.0",
26207     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsTransferReport/index.js",
26208     "groupTitle": "Sms_Transfer_Reports"
26209   },
26210   {
26211     "type": "get",
26212     "url": "/api/sounds",
26213     "title": "Gets a list of Sounds",
26214     "examples": [
26215       {
26216         "title": "Example usage:",
26217         "content": "curl https://{domain}/api/sounds -v -u {name}:{password}",
26218         "type": "json"
26219       }
26220     ],
26221     "name": "GetSounds",
26222     "group": "Sounds",
26223     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/sounds?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/sounds?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/sounds?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/sounds?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/sounds?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
26224     "version": "0.0.0",
26225     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/sound/index.js",
26226     "groupTitle": "Sounds"
26227   },
26228   {
26229     "type": "get",
26230     "url": "/ShowSound",
26231     "title": "Gets a single Sound",
26232     "name": "ShowSound",
26233     "group": "Sounds",
26234     "parameter": {
26235       "fields": {
26236         "Body": [
26237           {
26238             "group": "Body",
26239             "type": "Object",
26240             "optional": true,
26241             "field": "options.attributes",
26242             "description": ""
26243           },
26244           {
26245             "group": "Body",
26246             "type": "Object",
26247             "optional": false,
26248             "field": "options.where",
26249             "description": ""
26250           }
26251         ]
26252       }
26253     },
26254     "version": "0.0.0",
26255     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/sound/sound.rpc.js",
26256     "groupTitle": "Sounds"
26257   },
26258   {
26259     "type": "get",
26260     "url": "/api/sounds/{id}",
26261     "title": "Gets a single Sound",
26262     "examples": [
26263       {
26264         "title": "Example usage:",
26265         "content": "curl https://{domain}/api/sounds/{id} -v -u {name}:{password}",
26266         "type": "json"
26267       }
26268     ],
26269     "name": "ShowSounds",
26270     "group": "Sounds",
26271     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26272     "version": "0.0.0",
26273     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/sound/index.js",
26274     "groupTitle": "Sounds"
26275   },
26276   {
26277     "type": "post",
26278     "url": "/api/sounds",
26279     "title": "Create a new sound",
26280     "examples": [
26281       {
26282         "title": "Example usage:",
26283         "content": "curl https://{domain}/api/sounds -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
26284         "type": "json"
26285       }
26286     ],
26287     "name": "addSound",
26288     "group": "Sounds",
26289     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26290     "version": "0.0.0",
26291     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/sound/index.js",
26292     "groupTitle": "Sounds"
26293   },
26294   {
26295     "type": "delete",
26296     "url": "/api/sounds/{id}",
26297     "title": "Deletes a sound",
26298     "examples": [
26299       {
26300         "title": "Example usage:",
26301         "content": "curl https://{domain}/api/sounds/{id} -v -u {name}:{password} -X DELETE",
26302         "type": "json"
26303       }
26304     ],
26305     "name": "destroySound",
26306     "group": "Sounds",
26307     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26308     "version": "0.0.0",
26309     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/sound/index.js",
26310     "groupTitle": "Sounds"
26311   },
26312   {
26313     "type": "get",
26314     "url": "/api/sounds/{id}/download",
26315     "title": "Download Sound",
26316     "examples": [
26317       {
26318         "title": "Example usage:",
26319         "content": "curl https://{domain}/api/sounds/{id}/download -v -u {name}:{password} -X GET",
26320         "type": "json"
26321       }
26322     ],
26323     "name": "download",
26324     "group": "Sounds",
26325     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26326     "version": "0.0.0",
26327     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/sound/index.js",
26328     "groupTitle": "Sounds"
26329   },
26330   {
26331     "type": "put",
26332     "url": "/api/sounds",
26333     "title": "Update an existing new sound",
26334     "examples": [
26335       {
26336         "title": "Example usage:",
26337         "content": "curl https://{domain}/api/sounds -d '[\"name\": \"sound_name\", \"description\": \"sound_desc\"]' -v -u {name}:{password} -X PUT",
26338         "type": "json"
26339       }
26340     ],
26341     "name": "updateSound",
26342     "group": "Sounds",
26343     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26344     "version": "0.0.0",
26345     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/sound/index.js",
26346     "groupTitle": "Sounds"
26347   },
26348   {
26349     "type": "post",
26350     "url": "/CreateSquareDetailsReport",
26351     "title": "Creates a new Square Detail Report",
26352     "name": "CreateSquareDetailsReport",
26353     "group": "Square_Details_Reports",
26354     "version": "0.0.0",
26355     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReportDetail/squareReportDetail.rpc.js",
26356     "groupTitle": "Square_Details_Reports"
26357   },
26358   {
26359     "type": "post",
26360     "url": "/api/square/details/reports",
26361     "title": "Creates a new Square Detail Report",
26362     "examples": [
26363       {
26364         "title": "Example usage:",
26365         "content": "curl https://{domain}/api/square/details/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26366         "type": "json"
26367       }
26368     ],
26369     "name": "CreateSquare_Detail_Reports",
26370     "group": "Square_Details_Reports",
26371     "parameter": {
26372       "fields": {
26373         "Body": [
26374           {
26375             "group": "Body",
26376             "type": "String",
26377             "optional": true,
26378             "field": "uniqueid",
26379             "description": ""
26380           },
26381           {
26382             "group": "Body",
26383             "type": "String",
26384             "optional": true,
26385             "field": "node",
26386             "description": ""
26387           },
26388           {
26389             "group": "Body",
26390             "type": "String",
26391             "optional": true,
26392             "field": "application",
26393             "description": ""
26394           },
26395           {
26396             "group": "Body",
26397             "type": "Text",
26398             "optional": true,
26399             "field": "data",
26400             "description": ""
26401           },
26402           {
26403             "group": "Body",
26404             "type": "String",
26405             "optional": true,
26406             "field": "project_name",
26407             "description": ""
26408           },
26409           {
26410             "group": "Body",
26411             "type": "String",
26412             "optional": true,
26413             "field": "callerid",
26414             "description": ""
26415           }
26416         ]
26417       }
26418     },
26419     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26420     "version": "0.0.0",
26421     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReportDetail/index.js",
26422     "groupTitle": "Square_Details_Reports"
26423   },
26424   {
26425     "type": "delete",
26426     "url": "/api/square/details/reports/{id}",
26427     "title": "Deletes a Square Detail Report",
26428     "examples": [
26429       {
26430         "title": "Example usage:",
26431         "content": "curl https://{domain}/api/square/details/reports/{id} -v -u {name}:{password} -X DELETE",
26432         "type": "json"
26433       }
26434     ],
26435     "name": "DeleteSquare_Detail_Reports",
26436     "group": "Square_Details_Reports",
26437     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26438     "version": "0.0.0",
26439     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReportDetail/index.js",
26440     "groupTitle": "Square_Details_Reports"
26441   },
26442   {
26443     "type": "get",
26444     "url": "/api/square/details/reports/describe",
26445     "title": "Gets table info about Square Detail Reports",
26446     "examples": [
26447       {
26448         "title": "Example usage:",
26449         "content": "curl https://{domain}/api/square/details/reports/describe -v -u {name}:{password}",
26450         "type": "json"
26451       }
26452     ],
26453     "name": "DescribeSquare_Detail_Reports",
26454     "group": "Square_Details_Reports",
26455     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26456     "version": "0.0.0",
26457     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReportDetail/index.js",
26458     "groupTitle": "Square_Details_Reports"
26459   },
26460   {
26461     "type": "get",
26462     "url": "/api/square/details/reports",
26463     "title": "Gets a list of Square Detail Reports",
26464     "examples": [
26465       {
26466         "title": "Example usage:",
26467         "content": "curl https://{domain}/api/square/details/reports -v -u {name}:{password}",
26468         "type": "json"
26469       }
26470     ],
26471     "name": "GetSquare_Detail_Reports",
26472     "group": "Square_Details_Reports",
26473     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/square/details/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/square/details/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/square/details/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/square/details/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/square/details/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
26474     "version": "0.0.0",
26475     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReportDetail/index.js",
26476     "groupTitle": "Square_Details_Reports"
26477   },
26478   {
26479     "type": "get",
26480     "url": "/api/square/details/reports/{id}",
26481     "title": "Gets a single Square Detail Report",
26482     "examples": [
26483       {
26484         "title": "Example usage:",
26485         "content": "curl https://{domain}/api/square/details/reports/{id} -v -u {name}:{password}",
26486         "type": "json"
26487       }
26488     ],
26489     "name": "ShowSquare_Detail_Reports",
26490     "group": "Square_Details_Reports",
26491     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26492     "version": "0.0.0",
26493     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReportDetail/index.js",
26494     "groupTitle": "Square_Details_Reports"
26495   },
26496   {
26497     "type": "put",
26498     "url": "/api/square/details/reports/{id}",
26499     "title": "Update an existing Square Detail Report",
26500     "examples": [
26501       {
26502         "title": "Example usage:",
26503         "content": "curl https://{domain}/api/square/details/reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26504         "type": "json"
26505       }
26506     ],
26507     "name": "updateSquare_Detail_Reports",
26508     "group": "Square_Details_Reports",
26509     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26510     "version": "0.0.0",
26511     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReportDetail/index.js",
26512     "groupTitle": "Square_Details_Reports"
26513   },
26514   {
26515     "type": "post",
26516     "url": "/api/square/messages",
26517     "title": "Creates a new Message",
26518     "examples": [
26519       {
26520         "title": "Example usage:",
26521         "content": "curl https://{domain}/api/square/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26522         "type": "json"
26523       }
26524     ],
26525     "name": "CreateMessages",
26526     "group": "Square_Messages",
26527     "parameter": {
26528       "fields": {
26529         "Body": [
26530           {
26531             "group": "Body",
26532             "type": "String",
26533             "optional": true,
26534             "field": "uniqueid",
26535             "description": ""
26536           },
26537           {
26538             "group": "Body",
26539             "type": "Text",
26540             "optional": false,
26541             "field": "body",
26542             "description": ""
26543           },
26544           {
26545             "group": "Body",
26546             "type": "String",
26547             "allowedValues": [
26548               "\"in\"",
26549               "\"out\""
26550             ],
26551             "optional": false,
26552             "field": "direction",
26553             "description": ""
26554           },
26555           {
26556             "group": "Body",
26557             "type": "String",
26558             "optional": true,
26559             "field": "providerName",
26560             "description": ""
26561           },
26562           {
26563             "group": "Body",
26564             "type": "Text",
26565             "optional": true,
26566             "field": "providerResponse",
26567             "description": ""
26568           }
26569         ]
26570       }
26571     },
26572     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26573     "version": "0.0.0",
26574     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareMessage/index.js",
26575     "groupTitle": "Square_Messages"
26576   },
26577   {
26578     "type": "post",
26579     "url": "/CreateSquareMessage",
26580     "title": "Creates a new Message",
26581     "name": "CreateSquareMessage",
26582     "group": "Square_Messages",
26583     "version": "0.0.0",
26584     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareMessage/squareMessage.rpc.js",
26585     "groupTitle": "Square_Messages"
26586   },
26587   {
26588     "type": "delete",
26589     "url": "/api/square/messages/{id}",
26590     "title": "Deletes a Message",
26591     "examples": [
26592       {
26593         "title": "Example usage:",
26594         "content": "curl https://{domain}/api/square/messages/{id} -v -u {name}:{password} -X DELETE",
26595         "type": "json"
26596       }
26597     ],
26598     "name": "DeleteMessages",
26599     "group": "Square_Messages",
26600     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26601     "version": "0.0.0",
26602     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareMessage/index.js",
26603     "groupTitle": "Square_Messages"
26604   },
26605   {
26606     "type": "get",
26607     "url": "/api/square/messages",
26608     "title": "Gets a list of Messages",
26609     "examples": [
26610       {
26611         "title": "Example usage:",
26612         "content": "curl https://{domain}/api/square/messages -v -u {name}:{password}",
26613         "type": "json"
26614       }
26615     ],
26616     "name": "GetMessages",
26617     "group": "Square_Messages",
26618     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/square/messages?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/square/messages?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/square/messages?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/square/messages?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/square/messages?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
26619     "version": "0.0.0",
26620     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareMessage/index.js",
26621     "groupTitle": "Square_Messages"
26622   },
26623   {
26624     "type": "get",
26625     "url": "/api/square/messages/{id}",
26626     "title": "Gets a single Message",
26627     "examples": [
26628       {
26629         "title": "Example usage:",
26630         "content": "curl https://{domain}/api/square/messages/{id} -v -u {name}:{password}",
26631         "type": "json"
26632       }
26633     ],
26634     "name": "ShowMessages",
26635     "group": "Square_Messages",
26636     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26637     "version": "0.0.0",
26638     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareMessage/index.js",
26639     "groupTitle": "Square_Messages"
26640   },
26641   {
26642     "type": "put",
26643     "url": "/api/square/messages/{id}",
26644     "title": "Update an existing Message",
26645     "examples": [
26646       {
26647         "title": "Example usage:",
26648         "content": "curl https://{domain}/api/square/messages/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26649         "type": "json"
26650       }
26651     ],
26652     "name": "updateMessages",
26653     "group": "Square_Messages",
26654     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26655     "version": "0.0.0",
26656     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareMessage/index.js",
26657     "groupTitle": "Square_Messages"
26658   },
26659   {
26660     "type": "post",
26661     "url": "/api/square/odbc",
26662     "title": "Creates a new ODBC",
26663     "examples": [
26664       {
26665         "title": "Example usage:",
26666         "content": "curl https://{domain}/api/square/odbc -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26667         "type": "json"
26668       }
26669     ],
26670     "name": "CreateODBCs",
26671     "group": "Square_ODBC",
26672     "parameter": {
26673       "fields": {
26674         "Body": [
26675           {
26676             "group": "Body",
26677             "type": "String",
26678             "optional": false,
26679             "field": "name",
26680             "description": ""
26681           },
26682           {
26683             "group": "Body",
26684             "type": "String",
26685             "optional": true,
26686             "field": "dsn",
26687             "description": ""
26688           },
26689           {
26690             "group": "Body",
26691             "type": "String",
26692             "optional": true,
26693             "field": "description",
26694             "description": ""
26695           }
26696         ]
26697       }
26698     },
26699     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26700     "version": "0.0.0",
26701     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareOdbc/index.js",
26702     "groupTitle": "Square_ODBC"
26703   },
26704   {
26705     "type": "delete",
26706     "url": "/api/square/odbc/{id}",
26707     "title": "Deletes a ODBC",
26708     "examples": [
26709       {
26710         "title": "Example usage:",
26711         "content": "curl https://{domain}/api/square/odbc/{id} -v -u {name}:{password} -X DELETE",
26712         "type": "json"
26713       }
26714     ],
26715     "name": "DeleteODBCs",
26716     "group": "Square_ODBC",
26717     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26718     "version": "0.0.0",
26719     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareOdbc/index.js",
26720     "groupTitle": "Square_ODBC"
26721   },
26722   {
26723     "type": "get",
26724     "url": "/api/square/odbc",
26725     "title": "Gets a list of ODBCs",
26726     "examples": [
26727       {
26728         "title": "Example usage:",
26729         "content": "curl https://{domain}/api/square/odbc -v -u {name}:{password}",
26730         "type": "json"
26731       }
26732     ],
26733     "name": "GetODBCs",
26734     "group": "Square_ODBC",
26735     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/square/odbc?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/square/odbc?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/square/odbc?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/square/odbc?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/square/odbc?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
26736     "version": "0.0.0",
26737     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareOdbc/index.js",
26738     "groupTitle": "Square_ODBC"
26739   },
26740   {
26741     "type": "get",
26742     "url": "/api/square/odbc/{id}",
26743     "title": "Gets a single ODBC",
26744     "examples": [
26745       {
26746         "title": "Example usage:",
26747         "content": "curl https://{domain}/api/square/odbc/{id} -v -u {name}:{password}",
26748         "type": "json"
26749       }
26750     ],
26751     "name": "ShowODBCs",
26752     "group": "Square_ODBC",
26753     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26754     "version": "0.0.0",
26755     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareOdbc/index.js",
26756     "groupTitle": "Square_ODBC"
26757   },
26758   {
26759     "type": "get",
26760     "url": "/ShowSquareOdbc",
26761     "title": "Gets a single ODBC",
26762     "name": "ShowSquareOdbc",
26763     "group": "Square_ODBC",
26764     "parameter": {
26765       "fields": {
26766         "Body": [
26767           {
26768             "group": "Body",
26769             "type": "Object",
26770             "optional": true,
26771             "field": "options.attributes",
26772             "description": ""
26773           },
26774           {
26775             "group": "Body",
26776             "type": "Object",
26777             "optional": false,
26778             "field": "options.where",
26779             "description": ""
26780           }
26781         ]
26782       }
26783     },
26784     "version": "0.0.0",
26785     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareOdbc/squareOdbc.rpc.js",
26786     "groupTitle": "Square_ODBC"
26787   },
26788   {
26789     "type": "get",
26790     "url": "/api/square/odbc/{id}/test",
26791     "title": "Test Odbc",
26792     "examples": [
26793       {
26794         "title": "Example usage:",
26795         "content": "curl https://{domain}/api/square/odbc/{id}/test -v -u {name}:{password} -X GET",
26796         "type": "json"
26797       }
26798     ],
26799     "name": "test",
26800     "group": "Square_ODBC",
26801     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26802     "version": "0.0.0",
26803     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareOdbc/index.js",
26804     "groupTitle": "Square_ODBC"
26805   },
26806   {
26807     "type": "put",
26808     "url": "/api/square/odbc/{id}",
26809     "title": "Update an existing ODBC",
26810     "examples": [
26811       {
26812         "title": "Example usage:",
26813         "content": "curl https://{domain}/api/square/odbc/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26814         "type": "json"
26815       }
26816     ],
26817     "name": "updateODBCs",
26818     "group": "Square_ODBC",
26819     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26820     "version": "0.0.0",
26821     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareOdbc/index.js",
26822     "groupTitle": "Square_ODBC"
26823   },
26824   {
26825     "type": "post",
26826     "url": "/api/square/projects",
26827     "title": "Creates a new Project",
26828     "examples": [
26829       {
26830         "title": "Example usage:",
26831         "content": "curl https://{domain}/api/square/projects -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26832         "type": "json"
26833       }
26834     ],
26835     "name": "CreateProjects",
26836     "group": "Square_Projects",
26837     "parameter": {
26838       "fields": {
26839         "Body": [
26840           {
26841             "group": "Body",
26842             "type": "String",
26843             "optional": false,
26844             "field": "name",
26845             "description": ""
26846           },
26847           {
26848             "group": "Body",
26849             "type": "String",
26850             "optional": true,
26851             "field": "description",
26852             "description": ""
26853           },
26854           {
26855             "group": "Body",
26856             "type": "Text",
26857             "optional": true,
26858             "field": "notes",
26859             "description": ""
26860           },
26861           {
26862             "group": "Body",
26863             "type": "Blob",
26864             "optional": true,
26865             "field": "preproduction",
26866             "description": ""
26867           },
26868           {
26869             "group": "Body",
26870             "type": "Blob",
26871             "optional": true,
26872             "field": "production",
26873             "description": ""
26874           }
26875         ]
26876       }
26877     },
26878     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26879     "version": "0.0.0",
26880     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareProject/index.js",
26881     "groupTitle": "Square_Projects"
26882   },
26883   {
26884     "type": "delete",
26885     "url": "/api/square/projects/{id}",
26886     "title": "Deletes a Project",
26887     "examples": [
26888       {
26889         "title": "Example usage:",
26890         "content": "curl https://{domain}/api/square/projects/{id} -v -u {name}:{password} -X DELETE",
26891         "type": "json"
26892       }
26893     ],
26894     "name": "DeleteProjects",
26895     "group": "Square_Projects",
26896     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26897     "version": "0.0.0",
26898     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareProject/index.js",
26899     "groupTitle": "Square_Projects"
26900   },
26901   {
26902     "type": "get",
26903     "url": "/api/square/projects",
26904     "title": "Gets a list of Projects",
26905     "examples": [
26906       {
26907         "title": "Example usage:",
26908         "content": "curl https://{domain}/api/square/projects -v -u {name}:{password}",
26909         "type": "json"
26910       }
26911     ],
26912     "name": "GetProjects",
26913     "group": "Square_Projects",
26914     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/square/projects?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/square/projects?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/square/projects?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/square/projects?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/square/projects?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
26915     "version": "0.0.0",
26916     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareProject/index.js",
26917     "groupTitle": "Square_Projects"
26918   },
26919   {
26920     "type": "get",
26921     "url": "/api/square/projects/{id}",
26922     "title": "Gets a single Project",
26923     "examples": [
26924       {
26925         "title": "Example usage:",
26926         "content": "curl https://{domain}/api/square/projects/{id} -v -u {name}:{password}",
26927         "type": "json"
26928       }
26929     ],
26930     "name": "ShowProjects",
26931     "group": "Square_Projects",
26932     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26933     "version": "0.0.0",
26934     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareProject/index.js",
26935     "groupTitle": "Square_Projects"
26936   },
26937   {
26938     "type": "get",
26939     "url": "/ShowSquareProject",
26940     "title": "Gets a single Project",
26941     "name": "ShowSquareProject",
26942     "group": "Square_Projects",
26943     "parameter": {
26944       "fields": {
26945         "Body": [
26946           {
26947             "group": "Body",
26948             "type": "Object",
26949             "optional": true,
26950             "field": "options.attributes",
26951             "description": ""
26952           },
26953           {
26954             "group": "Body",
26955             "type": "Object",
26956             "optional": false,
26957             "field": "options.where",
26958             "description": ""
26959           }
26960         ]
26961       }
26962     },
26963     "version": "0.0.0",
26964     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareProject/squareProject.rpc.js",
26965     "groupTitle": "Square_Projects"
26966   },
26967   {
26968     "type": "post",
26969     "url": "/api/square/projects/{id}/users",
26970     "title": "Adds user permissions to a Project",
26971     "examples": [
26972       {
26973         "title": "Example usage:",
26974         "content": "curl https://{domain}/api/square/projects/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
26975         "type": "json"
26976       }
26977     ],
26978     "name": "addUsers",
26979     "group": "Square_Projects",
26980     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26981     "version": "0.0.0",
26982     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareProject/index.js",
26983     "groupTitle": "Square_Projects"
26984   },
26985   {
26986     "type": "get",
26987     "url": "/api/square/projects/{id}/users",
26988     "title": "Gets users permissions from Project",
26989     "examples": [
26990       {
26991         "title": "Example usage:",
26992         "content": "curl https://{domain}/api/square/projects/{id}/users -v -u {name}:{password} -X GET",
26993         "type": "json"
26994       }
26995     ],
26996     "name": "getUsers",
26997     "group": "Square_Projects",
26998     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26999     "version": "0.0.0",
27000     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareProject/index.js",
27001     "groupTitle": "Square_Projects"
27002   },
27003   {
27004     "type": "delete",
27005     "url": "/api/square/projects/{id}/users",
27006     "title": "Removes user permissions from a Project",
27007     "examples": [
27008       {
27009         "title": "Example usage:",
27010         "content": "curl https://{domain}/api/square/projects/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
27011         "type": "json"
27012       }
27013     ],
27014     "name": "removeUsers",
27015     "group": "Square_Projects",
27016     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27017     "version": "0.0.0",
27018     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareProject/index.js",
27019     "groupTitle": "Square_Projects"
27020   },
27021   {
27022     "type": "put",
27023     "url": "/api/square/projects/{id}",
27024     "title": "Update an existing Project",
27025     "examples": [
27026       {
27027         "title": "Example usage:",
27028         "content": "curl https://{domain}/api/square/projects/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
27029         "type": "json"
27030       }
27031     ],
27032     "name": "updateProjects",
27033     "group": "Square_Projects",
27034     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27035     "version": "0.0.0",
27036     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareProject/index.js",
27037     "groupTitle": "Square_Projects"
27038   },
27039   {
27040     "type": "post",
27041     "url": "/api/square/recordings",
27042     "title": "Creates a new Recording",
27043     "examples": [
27044       {
27045         "title": "Example usage:",
27046         "content": "curl https://{domain}/api/square/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
27047         "type": "json"
27048       }
27049     ],
27050     "name": "CreateRecordings",
27051     "group": "Square_Recordings",
27052     "parameter": {
27053       "fields": {
27054         "Body": [
27055           {
27056             "group": "Body",
27057             "type": "String",
27058             "optional": true,
27059             "field": "uniqueid",
27060             "description": ""
27061           },
27062           {
27063             "group": "Body",
27064             "type": "String",
27065             "optional": true,
27066             "field": "callerid",
27067             "description": ""
27068           },
27069           {
27070             "group": "Body",
27071             "type": "String",
27072             "optional": true,
27073             "field": "calleridname",
27074             "description": ""
27075           },
27076           {
27077             "group": "Body",
27078             "type": "String",
27079             "optional": true,
27080             "field": "context",
27081             "description": ""
27082           },
27083           {
27084             "group": "Body",
27085             "type": "String",
27086             "optional": true,
27087             "field": "extension",
27088             "description": ""
27089           },
27090           {
27091             "group": "Body",
27092             "type": "String",
27093             "optional": true,
27094             "field": "priority",
27095             "description": ""
27096           },
27097           {
27098             "group": "Body",
27099             "type": "String",
27100             "optional": true,
27101             "field": "accountcode",
27102             "description": ""
27103           },
27104           {
27105             "group": "Body",
27106             "type": "String",
27107             "optional": true,
27108             "field": "dnid",
27109             "description": ""
27110           },
27111           {
27112             "group": "Body",
27113             "type": "String",
27114             "optional": true,
27115             "field": "projectName",
27116             "description": ""
27117           },
27118           {
27119             "group": "Body",
27120             "type": "String",
27121             "optional": true,
27122             "field": "saveName",
27123             "description": ""
27124           },
27125           {
27126             "group": "Body",
27127             "type": "String",
27128             "optional": true,
27129             "field": "filename",
27130             "description": ""
27131           },
27132           {
27133             "group": "Body",
27134             "type": "String",
27135             "optional": true,
27136             "field": "savePath",
27137             "description": ""
27138           },
27139           {
27140             "group": "Body",
27141             "type": "Virtual",
27142             "optional": true,
27143             "field": "format",
27144             "description": ""
27145           }
27146         ]
27147       }
27148     },
27149     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27150     "version": "0.0.0",
27151     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareRecording/index.js",
27152     "groupTitle": "Square_Recordings"
27153   },
27154   {
27155     "type": "post",
27156     "url": "/CreateSquareRecording",
27157     "title": "Creates a new Recording",
27158     "name": "CreateSquareRecording",
27159     "group": "Square_Recordings",
27160     "version": "0.0.0",
27161     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareRecording/squareRecording.rpc.js",
27162     "groupTitle": "Square_Recordings"
27163   },
27164   {
27165     "type": "get",
27166     "url": "/api/square/recordings",
27167     "title": "Gets a list of Recordings",
27168     "examples": [
27169       {
27170         "title": "Example usage:",
27171         "content": "curl https://{domain}/api/square/recordings -v -u {name}:{password}",
27172         "type": "json"
27173       }
27174     ],
27175     "name": "GetRecordings",
27176     "group": "Square_Recordings",
27177     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/square/recordings?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/square/recordings?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/square/recordings?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/square/recordings?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/square/recordings?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
27178     "version": "0.0.0",
27179     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareRecording/index.js",
27180     "groupTitle": "Square_Recordings"
27181   },
27182   {
27183     "type": "get",
27184     "url": "/api/square/recordings/{id}",
27185     "title": "Gets a single Recording",
27186     "examples": [
27187       {
27188         "title": "Example usage:",
27189         "content": "curl https://{domain}/api/square/recordings/{id} -v -u {name}:{password}",
27190         "type": "json"
27191       }
27192     ],
27193     "name": "ShowRecordings",
27194     "group": "Square_Recordings",
27195     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27196     "version": "0.0.0",
27197     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareRecording/index.js",
27198     "groupTitle": "Square_Recordings"
27199   },
27200   {
27201     "type": "delete",
27202     "url": "/api/square/recordings/{id}/delete",
27203     "title": "Delete recording",
27204     "examples": [
27205       {
27206         "title": "Example usage:",
27207         "content": "curl https://{domain}/api/square/recordings/{id}/delete -v -u {name}:{password} -X DELETE",
27208         "type": "json"
27209       }
27210     ],
27211     "name": "destroy",
27212     "group": "Square_Recordings",
27213     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27214     "version": "0.0.0",
27215     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareRecording/index.js",
27216     "groupTitle": "Square_Recordings"
27217   },
27218   {
27219     "type": "get",
27220     "url": "/api/square/recordings/{id}/download",
27221     "title": "Download Recording",
27222     "examples": [
27223       {
27224         "title": "Example usage:",
27225         "content": "curl https://{domain}/api/square/recordings/{id}/download -v -u {name}:{password} -X GET",
27226         "type": "json"
27227       }
27228     ],
27229     "name": "download",
27230     "group": "Square_Recordings",
27231     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27232     "version": "0.0.0",
27233     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareRecording/index.js",
27234     "groupTitle": "Square_Recordings"
27235   },
27236   {
27237     "type": "put",
27238     "url": "/api/square/recordings/{id}",
27239     "title": "Update an existing Recording",
27240     "examples": [
27241       {
27242         "title": "Example usage:",
27243         "content": "curl https://{domain}/api/square/recordings/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
27244         "type": "json"
27245       }
27246     ],
27247     "name": "updateRecordings",
27248     "group": "Square_Recordings",
27249     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27250     "version": "0.0.0",
27251     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareRecording/index.js",
27252     "groupTitle": "Square_Recordings"
27253   },
27254   {
27255     "type": "post",
27256     "url": "/CreateSquareReport",
27257     "title": "Creates a new Square Report",
27258     "name": "CreateSquareReport",
27259     "group": "Square_Reports",
27260     "version": "0.0.0",
27261     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReport/squareReport.rpc.js",
27262     "groupTitle": "Square_Reports"
27263   },
27264   {
27265     "type": "post",
27266     "url": "/api/square/reports",
27267     "title": "Creates a new Square Report",
27268     "examples": [
27269       {
27270         "title": "Example usage:",
27271         "content": "curl https://{domain}/api/square/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
27272         "type": "json"
27273       }
27274     ],
27275     "name": "CreateSquare_Reports",
27276     "group": "Square_Reports",
27277     "parameter": {
27278       "fields": {
27279         "Body": [
27280           {
27281             "group": "Body",
27282             "type": "String",
27283             "optional": true,
27284             "field": "network",
27285             "description": ""
27286           },
27287           {
27288             "group": "Body",
27289             "type": "String",
27290             "optional": true,
27291             "field": "network_script",
27292             "description": ""
27293           },
27294           {
27295             "group": "Body",
27296             "type": "String",
27297             "optional": true,
27298             "field": "request",
27299             "description": ""
27300           },
27301           {
27302             "group": "Body",
27303             "type": "String",
27304             "optional": true,
27305             "field": "channel",
27306             "description": ""
27307           },
27308           {
27309             "group": "Body",
27310             "type": "String",
27311             "optional": true,
27312             "field": "language",
27313             "description": ""
27314           },
27315           {
27316             "group": "Body",
27317             "type": "String",
27318             "optional": true,
27319             "field": "type",
27320             "description": ""
27321           },
27322           {
27323             "group": "Body",
27324             "type": "String",
27325             "optional": true,
27326             "field": "uniqueid",
27327             "description": ""
27328           },
27329           {
27330             "group": "Body",
27331             "type": "String",
27332             "optional": true,
27333             "field": "version",
27334             "description": ""
27335           },
27336           {
27337             "group": "Body",
27338             "type": "String",
27339             "optional": true,
27340             "field": "callerid",
27341             "description": ""
27342           },
27343           {
27344             "group": "Body",
27345             "type": "String",
27346             "optional": true,
27347             "field": "calleridname",
27348             "description": ""
27349           },
27350           {
27351             "group": "Body",
27352             "type": "String",
27353             "optional": true,
27354             "field": "callingpres",
27355             "description": ""
27356           },
27357           {
27358             "group": "Body",
27359             "type": "String",
27360             "optional": true,
27361             "field": "callingani2",
27362             "description": ""
27363           },
27364           {
27365             "group": "Body",
27366             "type": "String",
27367             "optional": true,
27368             "field": "callington",
27369             "description": ""
27370           },
27371           {
27372             "group": "Body",
27373             "type": "String",
27374             "optional": true,
27375             "field": "callingtns",
27376             "description": ""
27377           },
27378           {
27379             "group": "Body",
27380             "type": "String",
27381             "optional": true,
27382             "field": "dnid",
27383             "description": ""
27384           },
27385           {
27386             "group": "Body",
27387             "type": "String",
27388             "optional": true,
27389             "field": "rdnis",
27390             "description": ""
27391           },
27392           {
27393             "group": "Body",
27394             "type": "String",
27395             "optional": true,
27396             "field": "context",
27397             "description": ""
27398           },
27399           {
27400             "group": "Body",
27401             "type": "String",
27402             "optional": true,
27403             "field": "extension",
27404             "description": ""
27405           },
27406           {
27407             "group": "Body",
27408             "type": "String",
27409             "optional": true,
27410             "field": "priority",
27411             "description": ""
27412           },
27413           {
27414             "group": "Body",
27415             "type": "String",
27416             "optional": true,
27417             "field": "enhanced",
27418             "description": ""
27419           },
27420           {
27421             "group": "Body",
27422             "type": "String",
27423             "optional": true,
27424             "field": "accountcode",
27425             "description": ""
27426           },
27427           {
27428             "group": "Body",
27429             "type": "String",
27430             "optional": true,
27431             "field": "threadid",
27432             "description": ""
27433           },
27434           {
27435             "group": "Body",
27436             "type": "String",
27437             "optional": true,
27438             "field": "project_name",
27439             "description": ""
27440           },
27441           {
27442             "group": "Body",
27443             "type": "String",
27444             "optional": true,
27445             "field": "joinAt",
27446             "description": ""
27447           },
27448           {
27449             "group": "Body",
27450             "type": "String",
27451             "optional": true,
27452             "field": "leaveAt",
27453             "description": ""
27454           },
27455           {
27456             "group": "Body",
27457             "type": "Boolean",
27458             "optional": true,
27459             "field": "bot",
27460             "description": ""
27461           }
27462         ]
27463       }
27464     },
27465     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27466     "version": "0.0.0",
27467     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReport/index.js",
27468     "groupTitle": "Square_Reports"
27469   },
27470   {
27471     "type": "delete",
27472     "url": "/api/square/reports/{id}",
27473     "title": "Deletes a Square Report",
27474     "examples": [
27475       {
27476         "title": "Example usage:",
27477         "content": "curl https://{domain}/api/square/reports/{id} -v -u {name}:{password} -X DELETE",
27478         "type": "json"
27479       }
27480     ],
27481     "name": "DeleteSquare_Reports",
27482     "group": "Square_Reports",
27483     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27484     "version": "0.0.0",
27485     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReport/index.js",
27486     "groupTitle": "Square_Reports"
27487   },
27488   {
27489     "type": "get",
27490     "url": "/api/square/reports/describe",
27491     "title": "Gets table info about Square Reports",
27492     "examples": [
27493       {
27494         "title": "Example usage:",
27495         "content": "curl https://{domain}/api/square/reports/describe -v -u {name}:{password}",
27496         "type": "json"
27497       }
27498     ],
27499     "name": "DescribeSquare_Reports",
27500     "group": "Square_Reports",
27501     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27502     "version": "0.0.0",
27503     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReport/index.js",
27504     "groupTitle": "Square_Reports"
27505   },
27506   {
27507     "type": "get",
27508     "url": "/api/square/reports",
27509     "title": "Gets a list of Square Reports",
27510     "examples": [
27511       {
27512         "title": "Example usage:",
27513         "content": "curl https://{domain}/api/square/reports -v -u {name}:{password}",
27514         "type": "json"
27515       }
27516     ],
27517     "name": "GetSquare_Reports",
27518     "group": "Square_Reports",
27519     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/square/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/square/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/square/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/square/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/square/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
27520     "version": "0.0.0",
27521     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReport/index.js",
27522     "groupTitle": "Square_Reports"
27523   },
27524   {
27525     "type": "get",
27526     "url": "/api/square/reports/{id}",
27527     "title": "Gets a single Square Report",
27528     "examples": [
27529       {
27530         "title": "Example usage:",
27531         "content": "curl https://{domain}/api/square/reports/{id} -v -u {name}:{password}",
27532         "type": "json"
27533       }
27534     ],
27535     "name": "ShowSquare_Reports",
27536     "group": "Square_Reports",
27537     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27538     "version": "0.0.0",
27539     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReport/index.js",
27540     "groupTitle": "Square_Reports"
27541   },
27542   {
27543     "type": "post",
27544     "url": "/UpdateSquareReport",
27545     "title": "Updates a new Square Report",
27546     "name": "UpdateSquareReport",
27547     "group": "Square_Reports",
27548     "parameter": {
27549       "fields": {
27550         "Body": [
27551           {
27552             "group": "Body",
27553             "type": "Object",
27554             "optional": true,
27555             "field": "options.attributes",
27556             "description": ""
27557           },
27558           {
27559             "group": "Body",
27560             "type": "Object",
27561             "optional": false,
27562             "field": "options.where",
27563             "description": ""
27564           }
27565         ]
27566       }
27567     },
27568     "version": "0.0.0",
27569     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReport/squareReport.rpc.js",
27570     "groupTitle": "Square_Reports"
27571   },
27572   {
27573     "type": "put",
27574     "url": "/api/square/reports/{id}",
27575     "title": "Update an existing Square Report",
27576     "examples": [
27577       {
27578         "title": "Example usage:",
27579         "content": "curl https://{domain}/api/square/reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
27580         "type": "json"
27581       }
27582     ],
27583     "name": "updateSquare_Reports",
27584     "group": "Square_Reports",
27585     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27586     "version": "0.0.0",
27587     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/squareReport/index.js",
27588     "groupTitle": "Square_Reports"
27589   },
27590   {
27591     "type": "post",
27592     "url": "/api/integrations/sugarcrm/configurations",
27593     "title": "Creates a new SugarCRM Configuration",
27594     "examples": [
27595       {
27596         "title": "Example usage:",
27597         "content": "curl https://{domain}/api/integrations/sugarcrm/configurations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
27598         "type": "json"
27599       }
27600     ],
27601     "name": "CreateSugarCRM_Configurations",
27602     "group": "SugarCRM_Configurations",
27603     "parameter": {
27604       "fields": {
27605         "Body": [
27606           {
27607             "group": "Body",
27608             "type": "String",
27609             "optional": true,
27610             "field": "name",
27611             "description": ""
27612           },
27613           {
27614             "group": "Body",
27615             "type": "String",
27616             "optional": true,
27617             "field": "description",
27618             "description": ""
27619           }
27620         ]
27621       }
27622     },
27623     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27624     "version": "0.0.0",
27625     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmConfiguration/index.js",
27626     "groupTitle": "SugarCRM_Configurations"
27627   },
27628   {
27629     "type": "delete",
27630     "url": "/api/integrations/sugarcrm/configurations/{id}",
27631     "title": "Deletes a SugarCRM Configuration",
27632     "examples": [
27633       {
27634         "title": "Example usage:",
27635         "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id} -v -u {name}:{password} -X DELETE",
27636         "type": "json"
27637       }
27638     ],
27639     "name": "DeleteSugarCRM_Configurations",
27640     "group": "SugarCRM_Configurations",
27641     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27642     "version": "0.0.0",
27643     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmConfiguration/index.js",
27644     "groupTitle": "SugarCRM_Configurations"
27645   },
27646   {
27647     "type": "get",
27648     "url": "/api/integrations/sugarcrm/configurations",
27649     "title": "Gets a list of SugarCRM Configurations",
27650     "examples": [
27651       {
27652         "title": "Example usage:",
27653         "content": "curl https://{domain}/api/integrations/sugarcrm/configurations -v -u {name}:{password}",
27654         "type": "json"
27655       }
27656     ],
27657     "name": "GetSugarCRM_Configurations",
27658     "group": "SugarCRM_Configurations",
27659     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/sugarcrm/configurations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/sugarcrm/configurations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/sugarcrm/configurations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/sugarcrm/configurations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/sugarcrm/configurations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
27660     "version": "0.0.0",
27661     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmConfiguration/index.js",
27662     "groupTitle": "SugarCRM_Configurations"
27663   },
27664   {
27665     "type": "get",
27666     "url": "/api/integrations/sugarcrm/configurations/{id}",
27667     "title": "Gets a single SugarCRM Configuration",
27668     "examples": [
27669       {
27670         "title": "Example usage:",
27671         "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id} -v -u {name}:{password}",
27672         "type": "json"
27673       }
27674     ],
27675     "name": "ShowSugarCRM_Configurations",
27676     "group": "SugarCRM_Configurations",
27677     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27678     "version": "0.0.0",
27679     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmConfiguration/index.js",
27680     "groupTitle": "SugarCRM_Configurations"
27681   },
27682   {
27683     "type": "put",
27684     "url": "/api/integrations/sugarcrm/configurations/{id}",
27685     "title": "Update an existing SugarCRM Configuration",
27686     "examples": [
27687       {
27688         "title": "Example usage:",
27689         "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
27690         "type": "json"
27691       }
27692     ],
27693     "name": "updateSugarCRM_Configurations",
27694     "group": "SugarCRM_Configurations",
27695     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27696     "version": "0.0.0",
27697     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmConfiguration/index.js",
27698     "groupTitle": "SugarCRM_Configurations"
27699   },
27700   {
27701     "type": "post",
27702     "url": "/api/integrations/sugarcrm/accounts",
27703     "title": "Creates a new Sugarcrm Account",
27704     "examples": [
27705       {
27706         "title": "Example usage:",
27707         "content": "curl https://{domain}/api/integrations/sugarcrm/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
27708         "type": "json"
27709       }
27710     ],
27711     "name": "CreateSugarcrm_Accounts",
27712     "group": "Sugarcrm_Accounts",
27713     "parameter": {
27714       "fields": {
27715         "Body": [
27716           {
27717             "group": "Body",
27718             "type": "String",
27719             "optional": true,
27720             "field": "name",
27721             "description": ""
27722           },
27723           {
27724             "group": "Body",
27725             "type": "String",
27726             "optional": true,
27727             "field": "description",
27728             "description": ""
27729           },
27730           {
27731             "group": "Body",
27732             "type": "String",
27733             "optional": true,
27734             "field": "username",
27735             "description": ""
27736           },
27737           {
27738             "group": "Body",
27739             "type": "String",
27740             "optional": true,
27741             "field": "password",
27742             "description": ""
27743           },
27744           {
27745             "group": "Body",
27746             "type": "String",
27747             "optional": true,
27748             "field": "remoteUri",
27749             "description": ""
27750           },
27751           {
27752             "group": "Body",
27753             "type": "String",
27754             "optional": true,
27755             "field": "serverUrl",
27756             "description": ""
27757           }
27758         ]
27759       }
27760     },
27761     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27762     "version": "0.0.0",
27763     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmAccount/index.js",
27764     "groupTitle": "Sugarcrm_Accounts"
27765   },
27766   {
27767     "type": "delete",
27768     "url": "/api/integrations/sugarcrm/accounts/{id}",
27769     "title": "Deletes a Sugarcrm Account",
27770     "examples": [
27771       {
27772         "title": "Example usage:",
27773         "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id} -v -u {name}:{password} -X DELETE",
27774         "type": "json"
27775       }
27776     ],
27777     "name": "DeleteSugarcrm_Accounts",
27778     "group": "Sugarcrm_Accounts",
27779     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27780     "version": "0.0.0",
27781     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmAccount/index.js",
27782     "groupTitle": "Sugarcrm_Accounts"
27783   },
27784   {
27785     "type": "get",
27786     "url": "/GetSugarcrmAccount",
27787     "title": "Gets a list of Sugarcrm Accounts",
27788     "name": "GetSugarcrmAccount",
27789     "group": "Sugarcrm_Accounts",
27790     "parameter": {
27791       "fields": {
27792         "Body": [
27793           {
27794             "group": "Body",
27795             "type": "Object",
27796             "optional": true,
27797             "field": "options.attributes",
27798             "description": ""
27799           },
27800           {
27801             "group": "Body",
27802             "type": "Object",
27803             "optional": true,
27804             "field": "options.where",
27805             "description": ""
27806           }
27807         ]
27808       }
27809     },
27810     "version": "0.0.0",
27811     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmAccount/intSugarcrmAccount.rpc.js",
27812     "groupTitle": "Sugarcrm_Accounts"
27813   },
27814   {
27815     "type": "get",
27816     "url": "/api/integrations/sugarcrm/accounts",
27817     "title": "Gets a list of Sugarcrm Accounts",
27818     "examples": [
27819       {
27820         "title": "Example usage:",
27821         "content": "curl https://{domain}/api/integrations/sugarcrm/accounts -v -u {name}:{password}",
27822         "type": "json"
27823       }
27824     ],
27825     "name": "GetSugarcrm_Accounts",
27826     "group": "Sugarcrm_Accounts",
27827     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/sugarcrm/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/sugarcrm/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/sugarcrm/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/sugarcrm/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/sugarcrm/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
27828     "version": "0.0.0",
27829     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmAccount/index.js",
27830     "groupTitle": "Sugarcrm_Accounts"
27831   },
27832   {
27833     "type": "get",
27834     "url": "/ShowSugarcrmAccount",
27835     "title": "Gets a single Sugarcrm Account",
27836     "name": "ShowSugarcrmAccount",
27837     "group": "Sugarcrm_Accounts",
27838     "parameter": {
27839       "fields": {
27840         "Body": [
27841           {
27842             "group": "Body",
27843             "type": "Object",
27844             "optional": true,
27845             "field": "options.attributes",
27846             "description": ""
27847           },
27848           {
27849             "group": "Body",
27850             "type": "Object",
27851             "optional": false,
27852             "field": "options.where",
27853             "description": ""
27854           }
27855         ]
27856       }
27857     },
27858     "version": "0.0.0",
27859     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmAccount/intSugarcrmAccount.rpc.js",
27860     "groupTitle": "Sugarcrm_Accounts"
27861   },
27862   {
27863     "type": "get",
27864     "url": "/api/integrations/sugarcrm/accounts/{id}",
27865     "title": "Gets a single Sugarcrm Account",
27866     "examples": [
27867       {
27868         "title": "Example usage:",
27869         "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id} -v -u {name}:{password}",
27870         "type": "json"
27871       }
27872     ],
27873     "name": "ShowSugarcrm_Accounts",
27874     "group": "Sugarcrm_Accounts",
27875     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27876     "version": "0.0.0",
27877     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmAccount/index.js",
27878     "groupTitle": "Sugarcrm_Accounts"
27879   },
27880   {
27881     "type": "post",
27882     "url": "/api/integrations/sugarcrm/accounts/{id}/configurations",
27883     "title": "Creates new configuration",
27884     "examples": [
27885       {
27886         "title": "Example usage:",
27887         "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id}/configurations -d '{\"name\": \"conf1\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
27888         "type": "json"
27889       }
27890     ],
27891     "name": "addConfiguration",
27892     "group": "Sugarcrm_Accounts",
27893     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27894     "version": "0.0.0",
27895     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmAccount/index.js",
27896     "groupTitle": "Sugarcrm_Accounts"
27897   },
27898   {
27899     "type": "get",
27900     "url": "/api/integrations/sugarcrm/accounts/{id}/configurations",
27901     "title": "Gets account configurations",
27902     "examples": [
27903       {
27904         "title": "Example usage:",
27905         "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id}/configurations -v -u {name}:{password} -X GET",
27906         "type": "json"
27907       }
27908     ],
27909     "name": "getConfigurations",
27910     "group": "Sugarcrm_Accounts",
27911     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27912     "version": "0.0.0",
27913     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmAccount/index.js",
27914     "groupTitle": "Sugarcrm_Accounts"
27915   },
27916   {
27917     "type": "get",
27918     "url": "/api/integrations/sugarcrm/accounts/{id}/fields",
27919     "title": "Gets account fields",
27920     "examples": [
27921       {
27922         "title": "Example usage:",
27923         "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id}/fields -v -u {name}:{password} -X GET",
27924         "type": "json"
27925       }
27926     ],
27927     "name": "getFields",
27928     "group": "Sugarcrm_Accounts",
27929     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27930     "version": "0.0.0",
27931     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmAccount/index.js",
27932     "groupTitle": "Sugarcrm_Accounts"
27933   },
27934   {
27935     "type": "put",
27936     "url": "/api/integrations/sugarcrm/accounts/{id}",
27937     "title": "Update an existing Sugarcrm Account",
27938     "examples": [
27939       {
27940         "title": "Example usage:",
27941         "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
27942         "type": "json"
27943       }
27944     ],
27945     "name": "updateSugarcrm_Accounts",
27946     "group": "Sugarcrm_Accounts",
27947     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27948     "version": "0.0.0",
27949     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmAccount/index.js",
27950     "groupTitle": "Sugarcrm_Accounts"
27951   },
27952   {
27953     "type": "get",
27954     "url": "/api/integrations/sugarcrm/configurations/{id}/descriptions",
27955     "title": "Gets configurations descriptions",
27956     "examples": [
27957       {
27958         "title": "Example usage:",
27959         "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
27960         "type": "json"
27961       }
27962     ],
27963     "name": "getDescriptions",
27964     "group": "Sugarcrm_Configurations",
27965     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27966     "version": "0.0.0",
27967     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmConfiguration/index.js",
27968     "groupTitle": "Sugarcrm_Configurations"
27969   },
27970   {
27971     "type": "get",
27972     "url": "/api/integrations/sugarcrm/configurations/{id}/fields",
27973     "title": "Gets configurations fields",
27974     "examples": [
27975       {
27976         "title": "Example usage:",
27977         "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/fields -v -u {name}:{password} -X GET",
27978         "type": "json"
27979       }
27980     ],
27981     "name": "getFields",
27982     "group": "Sugarcrm_Configurations",
27983     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27984     "version": "0.0.0",
27985     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmConfiguration/index.js",
27986     "groupTitle": "Sugarcrm_Configurations"
27987   },
27988   {
27989     "type": "get",
27990     "url": "/api/integrations/sugarcrm/configurations/{id}/subjects",
27991     "title": "Gets configurations subjects",
27992     "examples": [
27993       {
27994         "title": "Example usage:",
27995         "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/subjects -v -u {name}:{password} -X GET",
27996         "type": "json"
27997       }
27998     ],
27999     "name": "getSubjects",
28000     "group": "Sugarcrm_Configurations",
28001     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28002     "version": "0.0.0",
28003     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmConfiguration/index.js",
28004     "groupTitle": "Sugarcrm_Configurations"
28005   },
28006   {
28007     "type": "post",
28008     "url": "/api/integrations/sugarcrm/fields",
28009     "title": "Creates a new Sugarcrm Field",
28010     "examples": [
28011       {
28012         "title": "Example usage:",
28013         "content": "curl https://{domain}/api/integrations/sugarcrm/fields -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28014         "type": "json"
28015       }
28016     ],
28017     "name": "CreateSugarcrm_Fields",
28018     "group": "Sugarcrm_Fields",
28019     "parameter": {
28020       "fields": {
28021         "Body": [
28022           {
28023             "group": "Body",
28024             "type": "String",
28025             "allowedValues": [
28026               "\"string\"",
28027               "\"variable\"",
28028               "\"customVariable\"",
28029               "\"keyValue\""
28030             ],
28031             "optional": true,
28032             "field": "type",
28033             "description": ""
28034           },
28035           {
28036             "group": "Body",
28037             "type": "String",
28038             "optional": true,
28039             "field": "content",
28040             "description": ""
28041           },
28042           {
28043             "group": "Body",
28044             "type": "String",
28045             "optional": true,
28046             "field": "key",
28047             "description": ""
28048           },
28049           {
28050             "group": "Body",
28051             "type": "String",
28052             "allowedValues": [
28053               "\"string\"",
28054               "\"variable\"",
28055               "\"customVariable\""
28056             ],
28057             "optional": true,
28058             "field": "keyType",
28059             "description": ""
28060           },
28061           {
28062             "group": "Body",
28063             "type": "String",
28064             "optional": true,
28065             "field": "keyContent",
28066             "description": ""
28067           },
28068           {
28069             "group": "Body",
28070             "type": "String",
28071             "optional": true,
28072             "field": "idField",
28073             "description": ""
28074           },
28075           {
28076             "group": "Body",
28077             "type": "String",
28078             "optional": true,
28079             "field": "nameField",
28080             "description": ""
28081           },
28082           {
28083             "group": "Body",
28084             "type": "Boolean",
28085             "optional": true,
28086             "field": "customField",
28087             "description": ""
28088           },
28089           {
28090             "group": "Body",
28091             "type": "String",
28092             "optional": true,
28093             "field": "variableName",
28094             "description": ""
28095           }
28096         ]
28097       }
28098     },
28099     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28100     "version": "0.0.0",
28101     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmField/index.js",
28102     "groupTitle": "Sugarcrm_Fields"
28103   },
28104   {
28105     "type": "delete",
28106     "url": "/api/integrations/sugarcrm/fields/{id}",
28107     "title": "Deletes a Sugarcrm Field",
28108     "examples": [
28109       {
28110         "title": "Example usage:",
28111         "content": "curl https://{domain}/api/integrations/sugarcrm/fields/{id} -v -u {name}:{password} -X DELETE",
28112         "type": "json"
28113       }
28114     ],
28115     "name": "DeleteSugarcrm_Fields",
28116     "group": "Sugarcrm_Fields",
28117     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28118     "version": "0.0.0",
28119     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmField/index.js",
28120     "groupTitle": "Sugarcrm_Fields"
28121   },
28122   {
28123     "type": "get",
28124     "url": "/api/integrations/sugarcrm/fields",
28125     "title": "Gets a list of Sugarcrm Fields",
28126     "examples": [
28127       {
28128         "title": "Example usage:",
28129         "content": "curl https://{domain}/api/integrations/sugarcrm/fields -v -u {name}:{password}",
28130         "type": "json"
28131       }
28132     ],
28133     "name": "GetSugarcrm_Fields",
28134     "group": "Sugarcrm_Fields",
28135     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/sugarcrm/fields?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/sugarcrm/fields?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/sugarcrm/fields?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/sugarcrm/fields?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/sugarcrm/fields?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
28136     "version": "0.0.0",
28137     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmField/index.js",
28138     "groupTitle": "Sugarcrm_Fields"
28139   },
28140   {
28141     "type": "get",
28142     "url": "/api/integrations/sugarcrm/fields/{id}",
28143     "title": "Gets a single Sugarcrm Field",
28144     "examples": [
28145       {
28146         "title": "Example usage:",
28147         "content": "curl https://{domain}/api/integrations/sugarcrm/fields/{id} -v -u {name}:{password}",
28148         "type": "json"
28149       }
28150     ],
28151     "name": "ShowSugarcrm_Fields",
28152     "group": "Sugarcrm_Fields",
28153     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28154     "version": "0.0.0",
28155     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmField/index.js",
28156     "groupTitle": "Sugarcrm_Fields"
28157   },
28158   {
28159     "type": "put",
28160     "url": "/api/integrations/sugarcrm/fields/{id}",
28161     "title": "Update an existing Sugarcrm Field",
28162     "examples": [
28163       {
28164         "title": "Example usage:",
28165         "content": "curl https://{domain}/api/integrations/sugarcrm/fields/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
28166         "type": "json"
28167       }
28168     ],
28169     "name": "updateSugarcrm_Fields",
28170     "group": "Sugarcrm_Fields",
28171     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28172     "version": "0.0.0",
28173     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intSugarcrmField/index.js",
28174     "groupTitle": "Sugarcrm_Fields"
28175   },
28176   {
28177     "type": "get",
28178     "url": "/api/system",
28179     "title": "Gets system information",
28180     "examples": [
28181       {
28182         "title": "Example usage:",
28183         "content": "curl https://{domain}/api/system -v -u {name}:{password}",
28184         "type": "json"
28185       }
28186     ],
28187     "name": "GetSystemInformation",
28188     "group": "System_Information",
28189     "description": "<p>Motion returns the system information.</p>",
28190     "version": "0.0.0",
28191     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/system/index.js",
28192     "groupTitle": "System_Information"
28193   },
28194   {
28195     "type": "get",
28196     "url": "/api/system/process",
28197     "title": "Gets system information",
28198     "examples": [
28199       {
28200         "title": "Example usage:",
28201         "content": "curl https://{domain}/api/system -v -u {name}:{password}",
28202         "type": "json"
28203       }
28204     ],
28205     "name": "GetSystemInformation",
28206     "group": "System_Information",
28207     "description": "<p>Motion returns the system information.</p>",
28208     "version": "0.0.0",
28209     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/system/index.js",
28210     "groupTitle": "System_Information"
28211   },
28212   {
28213     "type": "post",
28214     "url": "/api/tags",
28215     "title": "Creates a new Tag",
28216     "examples": [
28217       {
28218         "title": "Example usage:",
28219         "content": "curl https://{domain}/api/tags -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28220         "type": "json"
28221       }
28222     ],
28223     "name": "CreateTags",
28224     "group": "Tags",
28225     "parameter": {
28226       "fields": {
28227         "Body": [
28228           {
28229             "group": "Body",
28230             "type": "String",
28231             "optional": false,
28232             "field": "name",
28233             "description": ""
28234           },
28235           {
28236             "group": "Body",
28237             "type": "String",
28238             "optional": true,
28239             "field": "color",
28240             "description": ""
28241           },
28242           {
28243             "group": "Body",
28244             "type": "String",
28245             "optional": true,
28246             "field": "description",
28247             "description": ""
28248           }
28249         ]
28250       }
28251     },
28252     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28253     "version": "0.0.0",
28254     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/tag/index.js",
28255     "groupTitle": "Tags"
28256   },
28257   {
28258     "type": "delete",
28259     "url": "/api/tags/{id}",
28260     "title": "Deletes a Tag",
28261     "examples": [
28262       {
28263         "title": "Example usage:",
28264         "content": "curl https://{domain}/api/tags/{id} -v -u {name}:{password} -X DELETE",
28265         "type": "json"
28266       }
28267     ],
28268     "name": "DeleteTags",
28269     "group": "Tags",
28270     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28271     "version": "0.0.0",
28272     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/tag/index.js",
28273     "groupTitle": "Tags"
28274   },
28275   {
28276     "type": "get",
28277     "url": "/api/tags",
28278     "title": "Gets a list of Tags",
28279     "examples": [
28280       {
28281         "title": "Example usage:",
28282         "content": "curl https://{domain}/api/tags -v -u {name}:{password}",
28283         "type": "json"
28284       }
28285     ],
28286     "name": "GetTags",
28287     "group": "Tags",
28288     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/tags?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/tags?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/tags?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/tags?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/tags?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
28289     "version": "0.0.0",
28290     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/tag/index.js",
28291     "groupTitle": "Tags"
28292   },
28293   {
28294     "type": "get",
28295     "url": "/api/tags/{id}",
28296     "title": "Gets a single Tag",
28297     "examples": [
28298       {
28299         "title": "Example usage:",
28300         "content": "curl https://{domain}/api/tags/{id} -v -u {name}:{password}",
28301         "type": "json"
28302       }
28303     ],
28304     "name": "ShowTags",
28305     "group": "Tags",
28306     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28307     "version": "0.0.0",
28308     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/tag/index.js",
28309     "groupTitle": "Tags"
28310   },
28311   {
28312     "type": "put",
28313     "url": "/api/tags/{id}",
28314     "title": "Update an existing Tag",
28315     "examples": [
28316       {
28317         "title": "Example usage:",
28318         "content": "curl https://{domain}/api/tags/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
28319         "type": "json"
28320       }
28321     ],
28322     "name": "updateTags",
28323     "group": "Tags",
28324     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28325     "version": "0.0.0",
28326     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/tag/index.js",
28327     "groupTitle": "Tags"
28328   },
28329   {
28330     "type": "post",
28331     "url": "/api/teams/{id}/queues",
28332     "title": "Add queues to a team",
28333     "examples": [
28334       {
28335         "title": "Example usage:",
28336         "content": "curl https://{domain}/api/teams/{id}/queues -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28337         "type": "json"
28338       }
28339     ],
28340     "name": "AddQueues",
28341     "group": "Teams",
28342     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28343     "version": "0.0.0",
28344     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/team/index.js",
28345     "groupTitle": "Teams"
28346   },
28347   {
28348     "type": "post",
28349     "url": "/api/teams",
28350     "title": "Creates a new Team",
28351     "examples": [
28352       {
28353         "title": "Example usage:",
28354         "content": "curl https://{domain}/api/teams -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28355         "type": "json"
28356       }
28357     ],
28358     "name": "CreateTeams",
28359     "group": "Teams",
28360     "parameter": {
28361       "fields": {
28362         "Body": [
28363           {
28364             "group": "Body",
28365             "type": "String",
28366             "optional": false,
28367             "field": "name",
28368             "description": ""
28369           },
28370           {
28371             "group": "Body",
28372             "type": "String",
28373             "optional": true,
28374             "field": "description",
28375             "description": ""
28376           }
28377         ]
28378       }
28379     },
28380     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28381     "version": "0.0.0",
28382     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/team/index.js",
28383     "groupTitle": "Teams"
28384   },
28385   {
28386     "type": "delete",
28387     "url": "/api/teams/{id}",
28388     "title": "Deletes a Team",
28389     "examples": [
28390       {
28391         "title": "Example usage:",
28392         "content": "curl https://{domain}/api/teams/{id} -v -u {name}:{password} -X DELETE",
28393         "type": "json"
28394       }
28395     ],
28396     "name": "DeleteTeams",
28397     "group": "Teams",
28398     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28399     "version": "0.0.0",
28400     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/team/index.js",
28401     "groupTitle": "Teams"
28402   },
28403   {
28404     "type": "get",
28405     "url": "/api/teams/{id}/users",
28406     "title": "Gets agents from team",
28407     "examples": [
28408       {
28409         "title": "Example usage:",
28410         "content": "curl https://{domain}/api/teams/{id}/users -v -u {name}:{password} -X GET",
28411         "type": "json"
28412       }
28413     ],
28414     "name": "GetAgents",
28415     "group": "Teams",
28416     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28417     "version": "0.0.0",
28418     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/team/index.js",
28419     "groupTitle": "Teams"
28420   },
28421   {
28422     "type": "get",
28423     "url": "/api/teams/{id}/queues?channel={channel}",
28424     "title": "Gets Queues list",
28425     "examples": [
28426       {
28427         "title": "Example usage:",
28428         "content": "curl https://{domain}/api/teams/{id}/queues?channel={channel} -v -u {name}:{password}",
28429         "type": "json"
28430       }
28431     ],
28432     "name": "GetQueues",
28433     "group": "Teams",
28434     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28435     "version": "0.0.0",
28436     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/team/index.js",
28437     "groupTitle": "Teams"
28438   },
28439   {
28440     "type": "get",
28441     "url": "/api/teams",
28442     "title": "Gets a list of Teams",
28443     "examples": [
28444       {
28445         "title": "Example usage:",
28446         "content": "curl https://{domain}/api/teams -v -u {name}:{password}",
28447         "type": "json"
28448       }
28449     ],
28450     "name": "GetTeams",
28451     "group": "Teams",
28452     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/teams?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/teams?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/teams?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/teams?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/teams?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
28453     "version": "0.0.0",
28454     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/team/index.js",
28455     "groupTitle": "Teams"
28456   },
28457   {
28458     "type": "delete",
28459     "url": "/api/teams/{id}/users",
28460     "title": "Removes agents from a team",
28461     "examples": [
28462       {
28463         "title": "Example usage:",
28464         "content": "curl https://{domain}/api/teams/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
28465         "type": "json"
28466       }
28467     ],
28468     "name": "RemoveAgents",
28469     "group": "Teams",
28470     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28471     "version": "0.0.0",
28472     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/team/index.js",
28473     "groupTitle": "Teams"
28474   },
28475   {
28476     "type": "delete",
28477     "url": "/api/teams/{id}/queues",
28478     "title": "Remove queues to a team",
28479     "examples": [
28480       {
28481         "title": "Example usage:",
28482         "content": "curl https://{domain}/api/teams/{id}/queues?channel=voice&ids=1&ids=2 -v -u {name}:{password} -X DELETE",
28483         "type": "json"
28484       }
28485     ],
28486     "name": "RemoveQueues",
28487     "group": "Teams",
28488     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28489     "version": "0.0.0",
28490     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/team/index.js",
28491     "groupTitle": "Teams"
28492   },
28493   {
28494     "type": "delete",
28495     "url": "/api/chat/queues/{id}/teams",
28496     "title": "Remove teams from a queue",
28497     "examples": [
28498       {
28499         "title": "Example usage:",
28500         "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password} -X DELETE",
28501         "type": "json"
28502       }
28503     ],
28504     "name": "RemoveTeams",
28505     "group": "Teams",
28506     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28507     "version": "0.0.0",
28508     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/chatQueue/index.js",
28509     "groupTitle": "Teams"
28510   },
28511   {
28512     "type": "delete",
28513     "url": "/api/fax/queues/{id}/teams",
28514     "title": "Remove teams from a queue",
28515     "examples": [
28516       {
28517         "title": "Example usage:",
28518         "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password} -X DELETE",
28519         "type": "json"
28520       }
28521     ],
28522     "name": "RemoveTeams",
28523     "group": "Teams",
28524     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28525     "version": "0.0.0",
28526     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/faxQueue/index.js",
28527     "groupTitle": "Teams"
28528   },
28529   {
28530     "type": "delete",
28531     "url": "/api/mail/queues/{id}/teams",
28532     "title": "Remove teams from a queue",
28533     "examples": [
28534       {
28535         "title": "Example usage:",
28536         "content": "curl https://{domain}/api/mail/queues/{id}/teams -v -u {name}:{password} -X DELETE",
28537         "type": "json"
28538       }
28539     ],
28540     "name": "RemoveTeams",
28541     "group": "Teams",
28542     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28543     "version": "0.0.0",
28544     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/mailQueue/index.js",
28545     "groupTitle": "Teams"
28546   },
28547   {
28548     "type": "delete",
28549     "url": "/api/openchannel/queues/{id}/teams",
28550     "title": "Remove teams from a queue",
28551     "examples": [
28552       {
28553         "title": "Example usage:",
28554         "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password} -X DELETE",
28555         "type": "json"
28556       }
28557     ],
28558     "name": "RemoveTeams",
28559     "group": "Teams",
28560     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28561     "version": "0.0.0",
28562     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/openchannelQueue/index.js",
28563     "groupTitle": "Teams"
28564   },
28565   {
28566     "type": "delete",
28567     "url": "/api/sms/queues/{id}/teams",
28568     "title": "Remove teams from a queue",
28569     "examples": [
28570       {
28571         "title": "Example usage:",
28572         "content": "curl https://{domain}/api/sms/queues/{id}/teams -v -u {name}:{password} -X DELETE",
28573         "type": "json"
28574       }
28575     ],
28576     "name": "RemoveTeams",
28577     "group": "Teams",
28578     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28579     "version": "0.0.0",
28580     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/smsQueue/index.js",
28581     "groupTitle": "Teams"
28582   },
28583   {
28584     "type": "delete",
28585     "url": "/api/voice/queues/{id}/teams",
28586     "title": "Remove teams from a queue",
28587     "examples": [
28588       {
28589         "title": "Example usage:",
28590         "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE",
28591         "type": "json"
28592       }
28593     ],
28594     "name": "RemoveTeams",
28595     "group": "Teams",
28596     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28597     "version": "0.0.0",
28598     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
28599     "groupTitle": "Teams"
28600   },
28601   {
28602     "type": "delete",
28603     "url": "/api/whatsapp/queues/{id}/teams",
28604     "title": "Remove teams from a queue",
28605     "examples": [
28606       {
28607         "title": "Example usage:",
28608         "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password} -X DELETE",
28609         "type": "json"
28610       }
28611     ],
28612     "name": "RemoveTeams",
28613     "group": "Teams",
28614     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28615     "version": "0.0.0",
28616     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
28617     "groupTitle": "Teams"
28618   },
28619   {
28620     "type": "get",
28621     "url": "/api/teams/{id}",
28622     "title": "Gets a single Team",
28623     "examples": [
28624       {
28625         "title": "Example usage:",
28626         "content": "curl https://{domain}/api/teams/{id} -v -u {name}:{password}",
28627         "type": "json"
28628       }
28629     ],
28630     "name": "ShowTeams",
28631     "group": "Teams",
28632     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28633     "version": "0.0.0",
28634     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/team/index.js",
28635     "groupTitle": "Teams"
28636   },
28637   {
28638     "type": "post",
28639     "url": "/api/teams/{id}/users",
28640     "title": "Adds agents to a team",
28641     "examples": [
28642       {
28643         "title": "Example usage:",
28644         "content": "curl https://{domain}/api/teams/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28645         "type": "json"
28646       }
28647     ],
28648     "name": "addAgents",
28649     "group": "Teams",
28650     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28651     "version": "0.0.0",
28652     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/team/index.js",
28653     "groupTitle": "Teams"
28654   },
28655   {
28656     "type": "put",
28657     "url": "/api/teams/{id}",
28658     "title": "Update an existing Team",
28659     "examples": [
28660       {
28661         "title": "Example usage:",
28662         "content": "curl https://{domain}/api/teams/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
28663         "type": "json"
28664       }
28665     ],
28666     "name": "updateTeams",
28667     "group": "Teams",
28668     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28669     "version": "0.0.0",
28670     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/team/index.js",
28671     "groupTitle": "Teams"
28672   },
28673   {
28674     "type": "post",
28675     "url": "/api/templates",
28676     "title": "Creates a new Template",
28677     "examples": [
28678       {
28679         "title": "Example usage:",
28680         "content": "curl https://{domain}/api/templates -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28681         "type": "json"
28682       }
28683     ],
28684     "name": "CreateTemplates",
28685     "group": "Templates",
28686     "parameter": {
28687       "fields": {
28688         "Body": [
28689           {
28690             "group": "Body",
28691             "type": "String",
28692             "optional": true,
28693             "field": "name",
28694             "description": ""
28695           },
28696           {
28697             "group": "Body",
28698             "type": "String",
28699             "optional": true,
28700             "field": "description",
28701             "description": ""
28702           },
28703           {
28704             "group": "Body",
28705             "type": "Text",
28706             "optional": true,
28707             "field": "html",
28708             "description": ""
28709           }
28710         ]
28711       }
28712     },
28713     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28714     "version": "0.0.0",
28715     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/template/index.js",
28716     "groupTitle": "Templates"
28717   },
28718   {
28719     "type": "delete",
28720     "url": "/api/templates/{id}",
28721     "title": "Deletes a Template",
28722     "examples": [
28723       {
28724         "title": "Example usage:",
28725         "content": "curl https://{domain}/api/templates/{id} -v -u {name}:{password} -X DELETE",
28726         "type": "json"
28727       }
28728     ],
28729     "name": "DeleteTemplates",
28730     "group": "Templates",
28731     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28732     "version": "0.0.0",
28733     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/template/index.js",
28734     "groupTitle": "Templates"
28735   },
28736   {
28737     "type": "get",
28738     "url": "/GetTemplate",
28739     "title": "Gets a list of Templates",
28740     "name": "GetTemplate",
28741     "group": "Templates",
28742     "parameter": {
28743       "fields": {
28744         "Body": [
28745           {
28746             "group": "Body",
28747             "type": "Object",
28748             "optional": true,
28749             "field": "options.attributes",
28750             "description": ""
28751           },
28752           {
28753             "group": "Body",
28754             "type": "Object",
28755             "optional": true,
28756             "field": "options.where",
28757             "description": ""
28758           }
28759         ]
28760       }
28761     },
28762     "version": "0.0.0",
28763     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/template/template.rpc.js",
28764     "groupTitle": "Templates"
28765   },
28766   {
28767     "type": "get",
28768     "url": "/api/templates",
28769     "title": "Gets a list of Templates",
28770     "examples": [
28771       {
28772         "title": "Example usage:",
28773         "content": "curl https://{domain}/api/templates -v -u {name}:{password}",
28774         "type": "json"
28775       }
28776     ],
28777     "name": "GetTemplates",
28778     "group": "Templates",
28779     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/templates?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/templates?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/templates?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/templates?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/templates?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
28780     "version": "0.0.0",
28781     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/template/index.js",
28782     "groupTitle": "Templates"
28783   },
28784   {
28785     "type": "get",
28786     "url": "/api/templates/{id}",
28787     "title": "Gets a single Template",
28788     "examples": [
28789       {
28790         "title": "Example usage:",
28791         "content": "curl https://{domain}/api/templates/{id} -v -u {name}:{password}",
28792         "type": "json"
28793       }
28794     ],
28795     "name": "ShowTemplates",
28796     "group": "Templates",
28797     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28798     "version": "0.0.0",
28799     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/template/index.js",
28800     "groupTitle": "Templates"
28801   },
28802   {
28803     "type": "put",
28804     "url": "/api/templates/{id}",
28805     "title": "Update an existing Template",
28806     "examples": [
28807       {
28808         "title": "Example usage:",
28809         "content": "curl https://{domain}/api/templates/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
28810         "type": "json"
28811       }
28812     ],
28813     "name": "updateTemplates",
28814     "group": "Templates",
28815     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28816     "version": "0.0.0",
28817     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/template/index.js",
28818     "groupTitle": "Templates"
28819   },
28820   {
28821     "type": "post",
28822     "url": "/api/triggers",
28823     "title": "Creates a new Trigger",
28824     "examples": [
28825       {
28826         "title": "Example usage:",
28827         "content": "curl https://{domain}/api/triggers -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28828         "type": "json"
28829       }
28830     ],
28831     "name": "CreateTriggers",
28832     "group": "Triggers",
28833     "parameter": {
28834       "fields": {
28835         "Body": [
28836           {
28837             "group": "Body",
28838             "type": "String",
28839             "optional": true,
28840             "field": "name",
28841             "description": ""
28842           },
28843           {
28844             "group": "Body",
28845             "type": "String",
28846             "optional": true,
28847             "field": "channel",
28848             "description": ""
28849           },
28850           {
28851             "group": "Body",
28852             "type": "String",
28853             "optional": true,
28854             "field": "description",
28855             "description": ""
28856           },
28857           {
28858             "group": "Body",
28859             "type": "Boolean",
28860             "optional": true,
28861             "field": "status",
28862             "description": ""
28863           }
28864         ]
28865       }
28866     },
28867     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28868     "version": "0.0.0",
28869     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/index.js",
28870     "groupTitle": "Triggers"
28871   },
28872   {
28873     "type": "delete",
28874     "url": "/api/triggers/{id}",
28875     "title": "Deletes a Trigger",
28876     "examples": [
28877       {
28878         "title": "Example usage:",
28879         "content": "curl https://{domain}/api/triggers/{id} -v -u {name}:{password} -X DELETE",
28880         "type": "json"
28881       }
28882     ],
28883     "name": "DeleteTriggers",
28884     "group": "Triggers",
28885     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28886     "version": "0.0.0",
28887     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/index.js",
28888     "groupTitle": "Triggers"
28889   },
28890   {
28891     "type": "get",
28892     "url": "/GetTrigger",
28893     "title": "Gets a list of Triggers",
28894     "name": "GetTrigger",
28895     "group": "Triggers",
28896     "parameter": {
28897       "fields": {
28898         "Body": [
28899           {
28900             "group": "Body",
28901             "type": "Object",
28902             "optional": true,
28903             "field": "options.attributes",
28904             "description": ""
28905           },
28906           {
28907             "group": "Body",
28908             "type": "Object",
28909             "optional": true,
28910             "field": "options.where",
28911             "description": ""
28912           }
28913         ]
28914       }
28915     },
28916     "version": "0.0.0",
28917     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/trigger.rpc.js",
28918     "groupTitle": "Triggers"
28919   },
28920   {
28921     "type": "get",
28922     "url": "/api/triggers",
28923     "title": "Gets a list of Triggers",
28924     "examples": [
28925       {
28926         "title": "Example usage:",
28927         "content": "curl https://{domain}/api/triggers -v -u {name}:{password}",
28928         "type": "json"
28929       }
28930     ],
28931     "name": "GetTriggers",
28932     "group": "Triggers",
28933     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/triggers?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/triggers?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/triggers?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/triggers?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/triggers?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
28934     "version": "0.0.0",
28935     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/index.js",
28936     "groupTitle": "Triggers"
28937   },
28938   {
28939     "type": "get",
28940     "url": "/ShowTrigger",
28941     "title": "Gets a single Trigger",
28942     "name": "ShowTrigger",
28943     "group": "Triggers",
28944     "parameter": {
28945       "fields": {
28946         "Body": [
28947           {
28948             "group": "Body",
28949             "type": "Object",
28950             "optional": true,
28951             "field": "options.attributes",
28952             "description": ""
28953           },
28954           {
28955             "group": "Body",
28956             "type": "Object",
28957             "optional": false,
28958             "field": "options.where",
28959             "description": ""
28960           }
28961         ]
28962       }
28963     },
28964     "version": "0.0.0",
28965     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/trigger.rpc.js",
28966     "groupTitle": "Triggers"
28967   },
28968   {
28969     "type": "get",
28970     "url": "/api/triggers/{id}",
28971     "title": "Gets a single Trigger",
28972     "examples": [
28973       {
28974         "title": "Example usage:",
28975         "content": "curl https://{domain}/api/triggers/{id} -v -u {name}:{password}",
28976         "type": "json"
28977       }
28978     ],
28979     "name": "ShowTriggers",
28980     "group": "Triggers",
28981     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28982     "version": "0.0.0",
28983     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/index.js",
28984     "groupTitle": "Triggers"
28985   },
28986   {
28987     "type": "post",
28988     "url": "/api/triggers/{id}/actions",
28989     "title": "Creates new actions",
28990     "examples": [
28991       {
28992         "title": "Example usage:",
28993         "content": "curl https://{domain}/api/triggers/{id}/actions -d '{\"action\": \"contactManager\",\"data1\": \"1\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28994         "type": "json"
28995       }
28996     ],
28997     "name": "addAction",
28998     "group": "Triggers",
28999     "parameter": {
29000       "fields": {
29001         "Body": [
29002           {
29003             "group": "Body",
29004             "type": "Virtual",
29005             "optional": true,
29006             "field": "name",
29007             "description": ""
29008           },
29009           {
29010             "group": "Body",
29011             "type": "String",
29012             "optional": false,
29013             "field": "action",
29014             "description": "<p>Allowed values: contactManager, integration, motionbar, jscripty, urlForward, browser, bot, script</p>"
29015           },
29016           {
29017             "group": "Body",
29018             "type": "String",
29019             "optional": true,
29020             "field": "data1",
29021             "description": "<p>contactManager[ListId], integration[intName(zendesk)], motionbar[Popup(0),URL(1),WinApp(2)], urlForward[GET,POST], browser[TemplateId(0),URL(1)]</p>"
29022           },
29023           {
29024             "group": "Body",
29025             "type": "String",
29026             "optional": true,
29027             "field": "data2",
29028             "description": "<p>integration[AccountId], motionbar[TemplateId,URL,WinAppPath], urlForward[URL]</p>"
29029           },
29030           {
29031             "group": "Body",
29032             "type": "String",
29033             "optional": true,
29034             "field": "data3",
29035             "description": "<p>motionbar[NULL,NULL,WinAppArguments]</p>"
29036           },
29037           {
29038             "group": "Body",
29039             "type": "String",
29040             "optional": true,
29041             "field": "data4",
29042             "description": ""
29043           },
29044           {
29045             "group": "Body",
29046             "type": "String",
29047             "optional": true,
29048             "field": "data5",
29049             "description": ""
29050           },
29051           {
29052             "group": "Body",
29053             "type": "String",
29054             "optional": true,
29055             "field": "data6",
29056             "description": ""
29057           },
29058           {
29059             "group": "Body",
29060             "type": "Text",
29061             "optional": true,
29062             "field": "data7",
29063             "description": ""
29064           }
29065         ]
29066       }
29067     },
29068     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29069     "version": "0.0.0",
29070     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/index.js",
29071     "groupTitle": "Triggers"
29072   },
29073   {
29074     "type": "post",
29075     "url": "/api/triggers/{id}/all_conditions",
29076     "title": "Creates a new \"AND\"condition",
29077     "examples": [
29078       {
29079         "title": "Example usage:",
29080         "content": "curl https://{domain}/api/triggers/{id}/all_conditions -d '{\"field\": \"name\", \"operator\": \"equal\", \"value\": \"John Doe\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
29081         "type": "json"
29082       }
29083     ],
29084     "name": "addAllCondition",
29085     "group": "Triggers",
29086     "parameter": {
29087       "fields": {
29088         "Body": [
29089           {
29090             "group": "Body",
29091             "type": "Virtual",
29092             "optional": true,
29093             "field": "name",
29094             "description": ""
29095           },
29096           {
29097             "group": "Body",
29098             "type": "String",
29099             "optional": false,
29100             "field": "field",
29101             "description": ""
29102           },
29103           {
29104             "group": "Body",
29105             "type": "String",
29106             "optional": false,
29107             "field": "operator",
29108             "description": ""
29109           },
29110           {
29111             "group": "Body",
29112             "type": "String",
29113             "optional": false,
29114             "field": "value",
29115             "description": ""
29116           }
29117         ]
29118       }
29119     },
29120     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29121     "version": "0.0.0",
29122     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/index.js",
29123     "groupTitle": "Triggers"
29124   },
29125   {
29126     "type": "post",
29127     "url": "/api/triggers/{id}/any_conditions",
29128     "title": "Creates a new \"OR\"condition",
29129     "examples": [
29130       {
29131         "title": "Example usage:",
29132         "content": "curl https://{domain}/api/triggers/{id}/any_conditions -d '{\"field\": \"name\", \"operator\": \"equal\", \"value\": \"John Doe\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
29133         "type": "json"
29134       }
29135     ],
29136     "name": "addAnyCondition",
29137     "group": "Triggers",
29138     "parameter": {
29139       "fields": {
29140         "Body": [
29141           {
29142             "group": "Body",
29143             "type": "Virtual",
29144             "optional": true,
29145             "field": "name",
29146             "description": ""
29147           },
29148           {
29149             "group": "Body",
29150             "type": "String",
29151             "optional": false,
29152             "field": "field",
29153             "description": ""
29154           },
29155           {
29156             "group": "Body",
29157             "type": "String",
29158             "optional": false,
29159             "field": "operator",
29160             "description": ""
29161           },
29162           {
29163             "group": "Body",
29164             "type": "String",
29165             "optional": false,
29166             "field": "value",
29167             "description": ""
29168           }
29169         ]
29170       }
29171     },
29172     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29173     "version": "0.0.0",
29174     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/index.js",
29175     "groupTitle": "Triggers"
29176   },
29177   {
29178     "type": "get",
29179     "url": "/api/triggers/{id}/actions",
29180     "title": "Gets Trigger Actions",
29181     "examples": [
29182       {
29183         "title": "Example usage:",
29184         "content": "curl https://{domain}/api/triggers/{id}/actions -v -u {name}:{password} -X GET",
29185         "type": "json"
29186       }
29187     ],
29188     "name": "getActions",
29189     "group": "Triggers",
29190     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29191     "version": "0.0.0",
29192     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/index.js",
29193     "groupTitle": "Triggers"
29194   },
29195   {
29196     "type": "get",
29197     "url": "/api/triggers/{id}/all_conditions",
29198     "title": "Gets \"AND\" Trigger Conditions",
29199     "examples": [
29200       {
29201         "title": "Example usage:",
29202         "content": "curl https://{domain}/api/triggers/{id}/all_conditions -v -u {name}:{password} -X GET",
29203         "type": "json"
29204       }
29205     ],
29206     "name": "getAllConditions",
29207     "group": "Triggers",
29208     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29209     "version": "0.0.0",
29210     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/index.js",
29211     "groupTitle": "Triggers"
29212   },
29213   {
29214     "type": "get",
29215     "url": "/api/triggers/{id}/any_conditions",
29216     "title": "Gets \"OR\" Trigger Conditions",
29217     "examples": [
29218       {
29219         "title": "Example usage:",
29220         "content": "curl https://{domain}/api/triggers/{id}/any_conditions -v -u {name}:{password} -X GET",
29221         "type": "json"
29222       }
29223     ],
29224     "name": "getAnyConditions",
29225     "group": "Triggers",
29226     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29227     "version": "0.0.0",
29228     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/index.js",
29229     "groupTitle": "Triggers"
29230   },
29231   {
29232     "type": "put",
29233     "url": "/api/triggers/{id}",
29234     "title": "Update an existing Trigger",
29235     "examples": [
29236       {
29237         "title": "Example usage:",
29238         "content": "curl https://{domain}/api/triggers/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
29239         "type": "json"
29240       }
29241     ],
29242     "name": "updateTriggers",
29243     "group": "Triggers",
29244     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29245     "version": "0.0.0",
29246     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trigger/index.js",
29247     "groupTitle": "Triggers"
29248   },
29249   {
29250     "type": "post",
29251     "url": "/api/trunks/clone",
29252     "title": "Clone an existing Trunk",
29253     "examples": [
29254       {
29255         "title": "Example usage:",
29256         "content": "curl https://{domain}/api/trunks/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
29257         "type": "json"
29258       }
29259     ],
29260     "name": "CloneTrunks",
29261     "group": "Trunks",
29262     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29263     "version": "0.0.0",
29264     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trunk/index.js",
29265     "groupTitle": "Trunks"
29266   },
29267   {
29268     "type": "post",
29269     "url": "/api/trunks",
29270     "title": "Create a new trunk",
29271     "examples": [
29272       {
29273         "title": "Example usage:",
29274         "content": "curl https://{domain}/api/trunks -v -u {name}:{password} -X POST",
29275         "type": "json"
29276       }
29277     ],
29278     "name": "Create",
29279     "group": "Trunks",
29280     "parameter": {
29281       "fields": {
29282         "Body": [
29283           {
29284             "group": "Body",
29285             "type": "String",
29286             "optional": false,
29287             "field": "name",
29288             "description": ""
29289           },
29290           {
29291             "group": "Body",
29292             "type": "String",
29293             "allowedValues": [
29294               "\"friend\"",
29295               "\"user\"",
29296               "\"peer\""
29297             ],
29298             "optional": false,
29299             "field": "type",
29300             "description": ""
29301           },
29302           {
29303             "group": "Body",
29304             "type": "String",
29305             "optional": false,
29306             "field": "context",
29307             "description": ""
29308           },
29309           {
29310             "group": "Body",
29311             "type": "String",
29312             "allowedValues": [
29313               "\"ALLOWED_NOT_SCREENED\"",
29314               "\"ALLOWED_PASSED_SCREEN\"",
29315               "\"ALLOWED_FAILED_SCREEN\"",
29316               "\"ALLOWED\"",
29317               "\"PROHIB_NOT_SCREENED\"",
29318               "\"PROHIB_PASSED_SCREEN\"",
29319               "\"PROHIB_FAILED_SCREEN\"",
29320               "\"PROHIB\""
29321             ],
29322             "optional": true,
29323             "field": "callingpres",
29324             "description": ""
29325           },
29326           {
29327             "group": "Body",
29328             "type": "String",
29329             "optional": true,
29330             "field": "deny",
29331             "description": ""
29332           },
29333           {
29334             "group": "Body",
29335             "type": "String",
29336             "optional": true,
29337             "field": "permit",
29338             "description": ""
29339           },
29340           {
29341             "group": "Body",
29342             "type": "String",
29343             "optional": true,
29344             "field": "secret",
29345             "description": ""
29346           },
29347           {
29348             "group": "Body",
29349             "type": "String",
29350             "optional": true,
29351             "field": "md5secret",
29352             "description": ""
29353           },
29354           {
29355             "group": "Body",
29356             "type": "String",
29357             "optional": true,
29358             "field": "remotesecret",
29359             "description": ""
29360           },
29361           {
29362             "group": "Body",
29363             "type": "String",
29364             "optional": true,
29365             "field": "transport",
29366             "description": "<p>String is deprecated. Please use an Array as [&quot;udp&quot;, &quot;tcp&quot;]</p>"
29367           },
29368           {
29369             "group": "Body",
29370             "type": "String",
29371             "allowedValues": [
29372               "\"rfc2833\"",
29373               "\"info\"",
29374               "\"shortinfo\"",
29375               "\"inband\"",
29376               "\"auto\""
29377             ],
29378             "optional": true,
29379             "field": "dtmfmode",
29380             "description": ""
29381           },
29382           {
29383             "group": "Body",
29384             "type": "String",
29385             "allowedValues": [
29386               "\"yes\"",
29387               "\"no\"",
29388               "\"nonat\"",
29389               "\"update\"",
29390               "\"outgoing\""
29391             ],
29392             "optional": true,
29393             "field": "directmedia",
29394             "description": ""
29395           },
29396           {
29397             "group": "Body",
29398             "type": "String",
29399             "allowedValues": [
29400               "\"yes\"",
29401               "\"no\""
29402             ],
29403             "optional": true,
29404             "field": "directrtpsetup",
29405             "description": ""
29406           },
29407           {
29408             "group": "Body",
29409             "type": "String",
29410             "optional": true,
29411             "field": "directmediapermit",
29412             "description": ""
29413           },
29414           {
29415             "group": "Body",
29416             "type": "String",
29417             "optional": true,
29418             "field": "directmediadeny",
29419             "description": ""
29420           },
29421           {
29422             "group": "Body",
29423             "type": "String",
29424             "optional": true,
29425             "field": "nat",
29426             "description": "<p>String is deprecated. Please use an Array as [&quot;force_rport&quot;, &quot;comedia&quot;]</p>"
29427           },
29428           {
29429             "group": "Body",
29430             "type": "String",
29431             "optional": true,
29432             "field": "callgroup",
29433             "description": ""
29434           },
29435           {
29436             "group": "Body",
29437             "type": "String",
29438             "optional": true,
29439             "field": "namedcallgroup",
29440             "description": ""
29441           },
29442           {
29443             "group": "Body",
29444             "type": "String",
29445             "optional": true,
29446             "field": "pickupgroup",
29447             "description": ""
29448           },
29449           {
29450             "group": "Body",
29451             "type": "String",
29452             "optional": true,
29453             "field": "namedpickupgroup",
29454             "description": ""
29455           },
29456           {
29457             "group": "Body",
29458             "type": "String",
29459             "optional": true,
29460             "field": "language",
29461             "description": ""
29462           },
29463           {
29464             "group": "Body",
29465             "type": "String",
29466             "optional": true,
29467             "field": "tonezone",
29468             "description": ""
29469           },
29470           {
29471             "group": "Body",
29472             "type": "String",
29473             "optional": true,
29474             "field": "disallow",
29475             "description": ""
29476           },
29477           {
29478             "group": "Body",
29479             "type": "String",
29480             "optional": false,
29481             "field": "allow",
29482             "description": "<p>String is deprecated. Please use an Array as [&quot;ulaw&quot;, &quot;alaw&quot;, &quot;alaw&quot;]</p>"
29483           },
29484           {
29485             "group": "Body",
29486             "type": "String",
29487             "allowedValues": [
29488               "\"yes\"",
29489               "\"no\""
29490             ],
29491             "optional": true,
29492             "field": "autoframing",
29493             "description": ""
29494           },
29495           {
29496             "group": "Body",
29497             "type": "String",
29498             "optional": true,
29499             "field": "insecure",
29500             "description": "<p>String is deprecated. Please use an Array as [&quot;port&quot;, &quot;invite&quot;]</p>"
29501           },
29502           {
29503             "group": "Body",
29504             "type": "String",
29505             "allowedValues": [
29506               "\"yes\"",
29507               "\"no\""
29508             ],
29509             "optional": true,
29510             "field": "trustrpid",
29511             "description": ""
29512           },
29513           {
29514             "group": "Body",
29515             "type": "String",
29516             "allowedValues": [
29517               "\"yes\"",
29518               "\"no\""
29519             ],
29520             "optional": true,
29521             "field": "trust_id_outbound",
29522             "description": ""
29523           },
29524           {
29525             "group": "Body",
29526             "type": "String",
29527             "allowedValues": [
29528               "\"yes\"",
29529               "\"no\"",
29530               "\"never\""
29531             ],
29532             "optional": true,
29533             "field": "progressinband",
29534             "description": ""
29535           },
29536           {
29537             "group": "Body",
29538             "type": "String",
29539             "allowedValues": [
29540               "\"yes\"",
29541               "\"no\""
29542             ],
29543             "optional": true,
29544             "field": "promiscredir",
29545             "description": ""
29546           },
29547           {
29548             "group": "Body",
29549             "type": "String",
29550             "allowedValues": [
29551               "\"yes\"",
29552               "\"no\""
29553             ],
29554             "optional": true,
29555             "field": "useclientcode",
29556             "description": ""
29557           },
29558           {
29559             "group": "Body",
29560             "type": "Integer",
29561             "optional": true,
29562             "field": "accountcode",
29563             "description": ""
29564           },
29565           {
29566             "group": "Body",
29567             "type": "String",
29568             "optional": true,
29569             "field": "setvar",
29570             "description": ""
29571           },
29572           {
29573             "group": "Body",
29574             "type": "String",
29575             "optional": true,
29576             "field": "callerid",
29577             "description": ""
29578           },
29579           {
29580             "group": "Body",
29581             "type": "String",
29582             "optional": true,
29583             "field": "amaflags",
29584             "description": ""
29585           },
29586           {
29587             "group": "Body",
29588             "type": "String",
29589             "allowedValues": [
29590               "\"yes\"",
29591               "\"no\""
29592             ],
29593             "optional": true,
29594             "field": "callcounter",
29595             "description": ""
29596           },
29597           {
29598             "group": "Body",
29599             "type": "Integer",
29600             "optional": true,
29601             "field": "busylevel",
29602             "description": ""
29603           },
29604           {
29605             "group": "Body",
29606             "type": "String",
29607             "allowedValues": [
29608               "\"yes\"",
29609               "\"no\""
29610             ],
29611             "optional": true,
29612             "field": "allowoverlap",
29613             "description": ""
29614           },
29615           {
29616             "group": "Body",
29617             "type": "String",
29618             "allowedValues": [
29619               "\"yes\"",
29620               "\"no\""
29621             ],
29622             "optional": true,
29623             "field": "allowsubscribe",
29624             "description": ""
29625           },
29626           {
29627             "group": "Body",
29628             "type": "String",
29629             "allowedValues": [
29630               "\"yes\"",
29631               "\"no\""
29632             ],
29633             "optional": true,
29634             "field": "allowtransfer",
29635             "description": ""
29636           },
29637           {
29638             "group": "Body",
29639             "type": "String",
29640             "allowedValues": [
29641               "\"yes\"",
29642               "\"no\""
29643             ],
29644             "optional": true,
29645             "field": "ignoresdpversion",
29646             "description": ""
29647           },
29648           {
29649             "group": "Body",
29650             "type": "String",
29651             "optional": true,
29652             "field": "subscribecontext",
29653             "description": ""
29654           },
29655           {
29656             "group": "Body",
29657             "type": "String",
29658             "optional": true,
29659             "field": "template",
29660             "description": ""
29661           },
29662           {
29663             "group": "Body",
29664             "type": "String",
29665             "allowedValues": [
29666               "\"yes\"",
29667               "\"no\"",
29668               "\"always\""
29669             ],
29670             "optional": true,
29671             "field": "videosupport",
29672             "description": ""
29673           },
29674           {
29675             "group": "Body",
29676             "type": "Integer",
29677             "optional": true,
29678             "field": "maxcallbitrate",
29679             "description": ""
29680           },
29681           {
29682             "group": "Body",
29683             "type": "String",
29684             "allowedValues": [
29685               "\"yes\"",
29686               "\"no\""
29687             ],
29688             "optional": true,
29689             "field": "rfc2833compensate",
29690             "description": ""
29691           },
29692           {
29693             "group": "Body",
29694             "type": "String",
29695             "optional": true,
29696             "field": "mailbox",
29697             "description": ""
29698           },
29699           {
29700             "group": "Body",
29701             "type": "String",
29702             "allowedValues": [
29703               "\"accept\"",
29704               "\"refuse\"",
29705               "\"originate\""
29706             ],
29707             "optional": true,
29708             "field": "session_timers",
29709             "description": ""
29710           },
29711           {
29712             "group": "Body",
29713             "type": "Integer",
29714             "optional": true,
29715             "field": "session_expires",
29716             "description": ""
29717           },
29718           {
29719             "group": "Body",
29720             "type": "Integer",
29721             "optional": true,
29722             "field": "session_minse",
29723             "description": ""
29724           },
29725           {
29726             "group": "Body",
29727             "type": "String",
29728             "allowedValues": [
29729               "\"uac\"",
29730               "\"uas\""
29731             ],
29732             "optional": true,
29733             "field": "session_refresher",
29734             "description": ""
29735           },
29736           {
29737             "group": "Body",
29738             "type": "String",
29739             "optional": true,
29740             "field": "t38pt_usertpsource",
29741             "description": ""
29742           },
29743           {
29744             "group": "Body",
29745             "type": "String",
29746             "optional": true,
29747             "field": "regexten",
29748             "description": ""
29749           },
29750           {
29751             "group": "Body",
29752             "type": "String",
29753             "optional": true,
29754             "field": "fromdomain",
29755             "description": ""
29756           },
29757           {
29758             "group": "Body",
29759             "type": "String",
29760             "optional": true,
29761             "field": "fromuser",
29762             "description": ""
29763           },
29764           {
29765             "group": "Body",
29766             "type": "Integer",
29767             "optional": true,
29768             "field": "port",
29769             "description": ""
29770           },
29771           {
29772             "group": "Body",
29773             "type": "String",
29774             "allowedValues": [
29775               "\"yes\"",
29776               "\"no\""
29777             ],
29778             "optional": true,
29779             "field": "qualify",
29780             "description": ""
29781           },
29782           {
29783             "group": "Body",
29784             "type": "Integer",
29785             "optional": true,
29786             "field": "keepalive",
29787             "description": ""
29788           },
29789           {
29790             "group": "Body",
29791             "type": "String",
29792             "optional": true,
29793             "field": "defaultip",
29794             "description": ""
29795           },
29796           {
29797             "group": "Body",
29798             "type": "String",
29799             "optional": true,
29800             "field": "defaultuser",
29801             "description": ""
29802           },
29803           {
29804             "group": "Body",
29805             "type": "Integer",
29806             "optional": true,
29807             "field": "rtptimeout",
29808             "description": ""
29809           },
29810           {
29811             "group": "Body",
29812             "type": "Integer",
29813             "optional": true,
29814             "field": "rtpholdtimeout",
29815             "description": ""
29816           },
29817           {
29818             "group": "Body",
29819             "type": "Integer",
29820             "optional": true,
29821             "field": "rtpkeepalive",
29822             "description": ""
29823           },
29824           {
29825             "group": "Body",
29826             "type": "String",
29827             "allowedValues": [
29828               "\"yes\"",
29829               "\"no\"",
29830               "\"pai\""
29831             ],
29832             "optional": true,
29833             "field": "sendrpid",
29834             "description": ""
29835           },
29836           {
29837             "group": "Body",
29838             "type": "String",
29839             "optional": true,
29840             "field": "outboundproxy",
29841             "description": ""
29842           },
29843           {
29844             "group": "Body",
29845             "type": "String",
29846             "optional": true,
29847             "field": "callbackextension",
29848             "description": ""
29849           },
29850           {
29851             "group": "Body",
29852             "type": "Integer",
29853             "optional": true,
29854             "field": "timert1",
29855             "description": ""
29856           },
29857           {
29858             "group": "Body",
29859             "type": "Integer",
29860             "optional": true,
29861             "field": "timerb",
29862             "description": ""
29863           },
29864           {
29865             "group": "Body",
29866             "type": "Integer",
29867             "optional": true,
29868             "field": "qualifyfreq",
29869             "description": ""
29870           },
29871           {
29872             "group": "Body",
29873             "type": "String",
29874             "optional": true,
29875             "field": "contactpermit",
29876             "description": ""
29877           },
29878           {
29879             "group": "Body",
29880             "type": "String",
29881             "optional": true,
29882             "field": "contactdeny",
29883             "description": ""
29884           },
29885           {
29886             "group": "Body",
29887             "type": "String",
29888             "optional": true,
29889             "field": "contactacl",
29890             "description": ""
29891           },
29892           {
29893             "group": "Body",
29894             "type": "String",
29895             "optional": true,
29896             "field": "unsolicited_mailbox",
29897             "description": ""
29898           },
29899           {
29900             "group": "Body",
29901             "type": "String",
29902             "optional": true,
29903             "field": "use_q850_reason",
29904             "description": ""
29905           },
29906           {
29907             "group": "Body",
29908             "type": "Integer",
29909             "optional": true,
29910             "field": "maxforwards",
29911             "description": ""
29912           },
29913           {
29914             "group": "Body",
29915             "type": "String",
29916             "allowedValues": [
29917               "\"yes\"",
29918               "\"no\""
29919             ],
29920             "optional": true,
29921             "field": "encryption",
29922             "description": ""
29923           },
29924           {
29925             "group": "Body",
29926             "type": "String",
29927             "allowedValues": [
29928               "\"yes\"",
29929               "\"no\""
29930             ],
29931             "optional": true,
29932             "field": "avpf",
29933             "description": ""
29934           },
29935           {
29936             "group": "Body",
29937             "type": "String",
29938             "allowedValues": [
29939               "\"yes\"",
29940               "\"no\""
29941             ],
29942             "optional": true,
29943             "field": "force_avp",
29944             "description": ""
29945           },
29946           {
29947             "group": "Body",
29948             "type": "String",
29949             "allowedValues": [
29950               "\"yes\"",
29951               "\"no\""
29952             ],
29953             "optional": true,
29954             "field": "icesupport",
29955             "description": ""
29956           },
29957           {
29958             "group": "Body",
29959             "type": "String",
29960             "allowedValues": [
29961               "\"yes\"",
29962               "\"no\""
29963             ],
29964             "optional": true,
29965             "field": "dtlsenable",
29966             "description": ""
29967           },
29968           {
29969             "group": "Body",
29970             "type": "String",
29971             "allowedValues": [
29972               "\"yes\"",
29973               "\"no\"",
29974               "\"fingerprint\"",
29975               "\"certificate\""
29976             ],
29977             "optional": true,
29978             "field": "dtlsverify",
29979             "description": ""
29980           },
29981           {
29982             "group": "Body",
29983             "type": "Integer",
29984             "optional": true,
29985             "field": "dtlsrekey",
29986             "description": ""
29987           },
29988           {
29989             "group": "Body",
29990             "type": "String",
29991             "optional": true,
29992             "field": "dtlscertfile",
29993             "description": ""
29994           },
29995           {
29996             "group": "Body",
29997             "type": "String",
29998             "optional": true,
29999             "field": "dtlsprivatekey",
30000             "description": ""
30001           },
30002           {
30003             "group": "Body",
30004             "type": "String",
30005             "optional": true,
30006             "field": "dtlscipher",
30007             "description": ""
30008           },
30009           {
30010             "group": "Body",
30011             "type": "String",
30012             "optional": true,
30013             "field": "dtlscafile",
30014             "description": ""
30015           },
30016           {
30017             "group": "Body",
30018             "type": "String",
30019             "optional": true,
30020             "field": "dtlscapath",
30021             "description": ""
30022           },
30023           {
30024             "group": "Body",
30025             "type": "String",
30026             "allowedValues": [
30027               "\"active\"",
30028               "\"passive\"",
30029               "\"actpass\""
30030             ],
30031             "optional": true,
30032             "field": "dtlssetup",
30033             "description": ""
30034           },
30035           {
30036             "group": "Body",
30037             "type": "String",
30038             "optional": true,
30039             "field": "dtlsfingerprint",
30040             "description": ""
30041           },
30042           {
30043             "group": "Body",
30044             "type": "String",
30045             "allowedValues": [
30046               "\"yes\"",
30047               "\"no\""
30048             ],
30049             "optional": true,
30050             "field": "usereqphone",
30051             "description": ""
30052           },
30053           {
30054             "group": "Body",
30055             "type": "String",
30056             "optional": true,
30057             "field": "recordonfeature",
30058             "description": ""
30059           },
30060           {
30061             "group": "Body",
30062             "type": "String",
30063             "optional": true,
30064             "field": "recordofffeature",
30065             "description": ""
30066           },
30067           {
30068             "group": "Body",
30069             "type": "Integer",
30070             "optional": true,
30071             "field": "call_limit",
30072             "description": ""
30073           },
30074           {
30075             "group": "Body",
30076             "type": "String",
30077             "allowedValues": [
30078               "\"yes\"",
30079               "\"no\""
30080             ],
30081             "optional": true,
30082             "field": "registertrying",
30083             "description": ""
30084           },
30085           {
30086             "group": "Body",
30087             "type": "String",
30088             "allowedValues": [
30089               "\"yes\"",
30090               "\"no\""
30091             ],
30092             "optional": true,
30093             "field": "subscribemwi",
30094             "description": ""
30095           },
30096           {
30097             "group": "Body",
30098             "type": "String",
30099             "optional": true,
30100             "field": "vmexten",
30101             "description": ""
30102           },
30103           {
30104             "group": "Body",
30105             "type": "String",
30106             "optional": true,
30107             "field": "mohinterpret",
30108             "description": ""
30109           },
30110           {
30111             "group": "Body",
30112             "type": "String",
30113             "optional": true,
30114             "field": "mohsuggest",
30115             "description": ""
30116           },
30117           {
30118             "group": "Body",
30119             "type": "String",
30120             "optional": true,
30121             "field": "parkinglot",
30122             "description": ""
30123           },
30124           {
30125             "group": "Body",
30126             "type": "String",
30127             "optional": true,
30128             "field": "description",
30129             "description": ""
30130           },
30131           {
30132             "group": "Body",
30133             "type": "String",
30134             "optional": true,
30135             "field": "host",
30136             "description": ""
30137           },
30138           {
30139             "group": "Body",
30140             "type": "String",
30141             "allowedValues": [
30142               "\"yes\"",
30143               "\"no\"",
30144               "\"nonat\"",
30145               "\"update\"",
30146               "\"update,nonat\""
30147             ],
30148             "optional": true,
30149             "field": "canreinvite",
30150             "description": ""
30151           },
30152           {
30153             "group": "Body",
30154             "type": "String",
30155             "optional": true,
30156             "field": "registry",
30157             "description": ""
30158           },
30159           {
30160             "group": "Body",
30161             "type": "String",
30162             "optional": true,
30163             "field": "otherFields",
30164             "description": ""
30165           },
30166           {
30167             "group": "Body",
30168             "type": "Boolean",
30169             "optional": false,
30170             "field": "active",
30171             "description": ""
30172           },
30173           {
30174             "group": "Body",
30175             "type": "String",
30176             "optional": true,
30177             "field": "t38pt_udptl",
30178             "description": ""
30179           }
30180         ]
30181       }
30182     },
30183     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30184     "version": "0.0.0",
30185     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trunk/index.js",
30186     "groupTitle": "Trunks"
30187   },
30188   {
30189     "type": "delete",
30190     "url": "/api/trunks/{id}",
30191     "title": "Deletes a trunk",
30192     "examples": [
30193       {
30194         "title": "Example usage:",
30195         "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password} -X DELETE",
30196         "type": "json"
30197       }
30198     ],
30199     "name": "Delete",
30200     "group": "Trunks",
30201     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30202     "version": "0.0.0",
30203     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trunk/index.js",
30204     "groupTitle": "Trunks"
30205   },
30206   {
30207     "type": "get",
30208     "url": "/GetTrunk",
30209     "title": "Gets a list of Trunks",
30210     "name": "GetTrunk",
30211     "group": "Trunks",
30212     "parameter": {
30213       "fields": {
30214         "Body": [
30215           {
30216             "group": "Body",
30217             "type": "Object",
30218             "optional": true,
30219             "field": "options.attributes",
30220             "description": ""
30221           },
30222           {
30223             "group": "Body",
30224             "type": "Object",
30225             "optional": true,
30226             "field": "options.where",
30227             "description": ""
30228           }
30229         ]
30230       }
30231     },
30232     "version": "0.0.0",
30233     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trunk/trunk.rpc.js",
30234     "groupTitle": "Trunks"
30235   },
30236   {
30237     "type": "get",
30238     "url": "/api/trunks",
30239     "title": "Gets a list of Trunks",
30240     "examples": [
30241       {
30242         "title": "Example usage:",
30243         "content": "curl https://{domain}/api/trunks -v -u {name}:{password}",
30244         "type": "json"
30245       }
30246     ],
30247     "name": "GetTrunks",
30248     "group": "Trunks",
30249     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/trunks?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/trunks?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/trunks?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/trunks?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/trunks?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
30250     "version": "0.0.0",
30251     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trunk/index.js",
30252     "groupTitle": "Trunks"
30253   },
30254   {
30255     "type": "get",
30256     "url": "/ShowTrunk",
30257     "title": "Gets a single Trunk",
30258     "name": "ShowTrunk",
30259     "group": "Trunks",
30260     "parameter": {
30261       "fields": {
30262         "Body": [
30263           {
30264             "group": "Body",
30265             "type": "Object",
30266             "optional": true,
30267             "field": "options.attributes",
30268             "description": ""
30269           },
30270           {
30271             "group": "Body",
30272             "type": "Object",
30273             "optional": false,
30274             "field": "options.where",
30275             "description": ""
30276           }
30277         ]
30278       }
30279     },
30280     "version": "0.0.0",
30281     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trunk/trunk.rpc.js",
30282     "groupTitle": "Trunks"
30283   },
30284   {
30285     "type": "get",
30286     "url": "/api/trunks/{id}",
30287     "title": "Gets a single Trunk",
30288     "examples": [
30289       {
30290         "title": "Example usage:",
30291         "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password}",
30292         "type": "json"
30293       }
30294     ],
30295     "name": "ShowTrunks",
30296     "group": "Trunks",
30297     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30298     "version": "0.0.0",
30299     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trunk/index.js",
30300     "groupTitle": "Trunks"
30301   },
30302   {
30303     "type": "put",
30304     "url": "/api/trunks/{id}",
30305     "title": "Update an existing trunk",
30306     "examples": [
30307       {
30308         "title": "Example usage:",
30309         "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password} -X PUT",
30310         "type": "json"
30311       }
30312     ],
30313     "name": "Update",
30314     "group": "Trunks",
30315     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30316     "version": "0.0.0",
30317     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/trunk/index.js",
30318     "groupTitle": "Trunks"
30319   },
30320   {
30321     "type": "get",
30322     "url": "/getVoiceQueueRtPauses",
30323     "title": "Counts queue pauses",
30324     "name": "GetVoiceQueueRtPauses",
30325     "group": "UserVoiceQueueRt",
30326     "parameter": {
30327       "fields": {
30328         "Body": [
30329           {
30330             "group": "Body",
30331             "type": "Object",
30332             "optional": true,
30333             "field": "options.attributes",
30334             "description": ""
30335           },
30336           {
30337             "group": "Body",
30338             "type": "Object",
30339             "optional": true,
30340             "field": "options.where",
30341             "description": ""
30342           }
30343         ]
30344       }
30345     },
30346     "version": "0.0.0",
30347     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userVoiceQueueRt/userVoiceQueueRt.rpc.js",
30348     "groupTitle": "UserVoiceQueueRt"
30349   },
30350   {
30351     "type": "post",
30352     "url": "/api/userProfile/resources",
30353     "title": "Creates a new User Profile Resource",
30354     "examples": [
30355       {
30356         "title": "Example usage:",
30357         "content": "curl https://{domain}/api/userProfile/resources -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
30358         "type": "json"
30359       }
30360     ],
30361     "name": "CreateUser_Profile_Resources",
30362     "group": "User_Profile_Resources",
30363     "parameter": {
30364       "fields": {
30365         "Body": [
30366           {
30367             "group": "Body",
30368             "type": "String",
30369             "optional": false,
30370             "field": "name",
30371             "description": ""
30372           },
30373           {
30374             "group": "Body",
30375             "type": "Integer",
30376             "optional": false,
30377             "field": "resourceId",
30378             "description": ""
30379           },
30380           {
30381             "group": "Body",
30382             "type": "String",
30383             "optional": false,
30384             "field": "type",
30385             "description": ""
30386           }
30387         ]
30388       }
30389     },
30390     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30391     "version": "0.0.0",
30392     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileResource/index.js",
30393     "groupTitle": "User_Profile_Resources"
30394   },
30395   {
30396     "type": "delete",
30397     "url": "/api/userProfile/resources/{id}",
30398     "title": "Deletes a User Profile Resource",
30399     "examples": [
30400       {
30401         "title": "Example usage:",
30402         "content": "curl https://{domain}/api/userProfile/resources/{id} -v -u {name}:{password} -X DELETE",
30403         "type": "json"
30404       }
30405     ],
30406     "name": "DeleteUser_Profile_Resources",
30407     "group": "User_Profile_Resources",
30408     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30409     "version": "0.0.0",
30410     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileResource/index.js",
30411     "groupTitle": "User_Profile_Resources"
30412   },
30413   {
30414     "type": "get",
30415     "url": "/api/userProfile/resources/describe",
30416     "title": "Gets table info about User Profile Resources",
30417     "examples": [
30418       {
30419         "title": "Example usage:",
30420         "content": "curl https://{domain}/api/userProfile/resources/describe -v -u {name}:{password}",
30421         "type": "json"
30422       }
30423     ],
30424     "name": "DescribeUser_Profile_Resources",
30425     "group": "User_Profile_Resources",
30426     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30427     "version": "0.0.0",
30428     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileResource/index.js",
30429     "groupTitle": "User_Profile_Resources"
30430   },
30431   {
30432     "type": "get",
30433     "url": "/api/userProfile/resources",
30434     "title": "Gets a list of User Profile Resources",
30435     "examples": [
30436       {
30437         "title": "Example usage:",
30438         "content": "curl https://{domain}/api/userProfile/resources -v -u {name}:{password}",
30439         "type": "json"
30440       }
30441     ],
30442     "name": "GetUser_Profile_Resources",
30443     "group": "User_Profile_Resources",
30444     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/userProfile/resources?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/userProfile/resources?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/userProfile/resources?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/userProfile/resources?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/userProfile/resources?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
30445     "version": "0.0.0",
30446     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileResource/index.js",
30447     "groupTitle": "User_Profile_Resources"
30448   },
30449   {
30450     "type": "get",
30451     "url": "/api/userProfile/resources/{id}",
30452     "title": "Gets a single User Profile Resource",
30453     "examples": [
30454       {
30455         "title": "Example usage:",
30456         "content": "curl https://{domain}/api/userProfile/resources/{id} -v -u {name}:{password}",
30457         "type": "json"
30458       }
30459     ],
30460     "name": "ShowUser_Profile_Resources",
30461     "group": "User_Profile_Resources",
30462     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30463     "version": "0.0.0",
30464     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileResource/index.js",
30465     "groupTitle": "User_Profile_Resources"
30466   },
30467   {
30468     "type": "put",
30469     "url": "/api/userProfile/resources/{id}",
30470     "title": "Update an existing User Profile Resource",
30471     "examples": [
30472       {
30473         "title": "Example usage:",
30474         "content": "curl https://{domain}/api/userProfile/resources/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
30475         "type": "json"
30476       }
30477     ],
30478     "name": "updateUser_Profile_Resources",
30479     "group": "User_Profile_Resources",
30480     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30481     "version": "0.0.0",
30482     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileResource/index.js",
30483     "groupTitle": "User_Profile_Resources"
30484   },
30485   {
30486     "type": "post",
30487     "url": "/api/userProfile/sections",
30488     "title": "Creates a new User Profile Section",
30489     "examples": [
30490       {
30491         "title": "Example usage:",
30492         "content": "curl https://{domain}/api/userProfile/sections -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
30493         "type": "json"
30494       }
30495     ],
30496     "name": "CreateUser_Profile_Sections",
30497     "group": "User_Profile_Sections",
30498     "parameter": {
30499       "fields": {
30500         "Body": [
30501           {
30502             "group": "Body",
30503             "type": "String",
30504             "optional": false,
30505             "field": "name",
30506             "description": ""
30507           },
30508           {
30509             "group": "Body",
30510             "type": "String",
30511             "optional": false,
30512             "field": "category",
30513             "description": ""
30514           },
30515           {
30516             "group": "Body",
30517             "type": "Integer",
30518             "optional": false,
30519             "field": "sectionId",
30520             "description": ""
30521           },
30522           {
30523             "group": "Body",
30524             "type": "Boolean",
30525             "optional": true,
30526             "field": "enabled",
30527             "description": ""
30528           },
30529           {
30530             "group": "Body",
30531             "type": "Boolean",
30532             "optional": true,
30533             "field": "autoAssociation",
30534             "description": ""
30535           },
30536           {
30537             "group": "Body",
30538             "type": "String",
30539             "optional": true,
30540             "field": "crudPermissions",
30541             "description": ""
30542           }
30543         ]
30544       }
30545     },
30546     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30547     "version": "0.0.0",
30548     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileSection/index.js",
30549     "groupTitle": "User_Profile_Sections"
30550   },
30551   {
30552     "type": "delete",
30553     "url": "/api/userProfile/sections/{id}",
30554     "title": "Deletes a User Profile Section",
30555     "examples": [
30556       {
30557         "title": "Example usage:",
30558         "content": "curl https://{domain}/api/userProfile/sections/{id} -v -u {name}:{password} -X DELETE",
30559         "type": "json"
30560       }
30561     ],
30562     "name": "DeleteUser_Profile_Sections",
30563     "group": "User_Profile_Sections",
30564     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30565     "version": "0.0.0",
30566     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileSection/index.js",
30567     "groupTitle": "User_Profile_Sections"
30568   },
30569   {
30570     "type": "get",
30571     "url": "/api/userProfile/sections/describe",
30572     "title": "Gets table info about User Profile Sections",
30573     "examples": [
30574       {
30575         "title": "Example usage:",
30576         "content": "curl https://{domain}/api/userProfile/sections/describe -v -u {name}:{password}",
30577         "type": "json"
30578       }
30579     ],
30580     "name": "DescribeUser_Profile_Sections",
30581     "group": "User_Profile_Sections",
30582     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30583     "version": "0.0.0",
30584     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileSection/index.js",
30585     "groupTitle": "User_Profile_Sections"
30586   },
30587   {
30588     "type": "get",
30589     "url": "/api/userProfile/sections",
30590     "title": "Gets a list of User Profile Sections",
30591     "examples": [
30592       {
30593         "title": "Example usage:",
30594         "content": "curl https://{domain}/api/userProfile/sections -v -u {name}:{password}",
30595         "type": "json"
30596       }
30597     ],
30598     "name": "GetUser_Profile_Sections",
30599     "group": "User_Profile_Sections",
30600     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/userProfile/sections?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/userProfile/sections?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/userProfile/sections?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/userProfile/sections?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/userProfile/sections?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
30601     "version": "0.0.0",
30602     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileSection/index.js",
30603     "groupTitle": "User_Profile_Sections"
30604   },
30605   {
30606     "type": "get",
30607     "url": "/api/userProfile/sections/{id}",
30608     "title": "Gets a single User Profile Section",
30609     "examples": [
30610       {
30611         "title": "Example usage:",
30612         "content": "curl https://{domain}/api/userProfile/sections/{id} -v -u {name}:{password}",
30613         "type": "json"
30614       }
30615     ],
30616     "name": "ShowUser_Profile_Sections",
30617     "group": "User_Profile_Sections",
30618     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30619     "version": "0.0.0",
30620     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileSection/index.js",
30621     "groupTitle": "User_Profile_Sections"
30622   },
30623   {
30624     "type": "put",
30625     "url": "/api/userProfile/sections/{id}",
30626     "title": "Update an existing User Profile Section",
30627     "examples": [
30628       {
30629         "title": "Example usage:",
30630         "content": "curl https://{domain}/api/userProfile/sections/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
30631         "type": "json"
30632       }
30633     ],
30634     "name": "updateUser_Profile_Sections",
30635     "group": "User_Profile_Sections",
30636     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30637     "version": "0.0.0",
30638     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfileSection/index.js",
30639     "groupTitle": "User_Profile_Sections"
30640   },
30641   {
30642     "type": "post",
30643     "url": "/api/userProfiles/{id}/resources",
30644     "title": "Add resources' permissions to User Profile",
30645     "examples": [
30646       {
30647         "title": "Example usage:",
30648         "content": "curl https://{domain}/api/userProfiles/{id}/resources -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
30649         "type": "json"
30650       }
30651     ],
30652     "name": "AddResources",
30653     "group": "User_Profiles",
30654     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30655     "version": "0.0.0",
30656     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30657     "groupTitle": "User_Profiles"
30658   },
30659   {
30660     "type": "post",
30661     "url": "/api/userProfiles/{id}/sections",
30662     "title": "Add sections' permissions to User Profile",
30663     "examples": [
30664       {
30665         "title": "Example usage:",
30666         "content": "curl https://{domain}/api/userProfiles/{id}/sections -d '[{\"sectionId\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
30667         "type": "json"
30668       }
30669     ],
30670     "name": "AddSections",
30671     "group": "User_Profiles",
30672     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30673     "version": "0.0.0",
30674     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30675     "groupTitle": "User_Profiles"
30676   },
30677   {
30678     "type": "post",
30679     "url": "/api/userProfiles/clone",
30680     "title": "Clone an existing User Profile",
30681     "examples": [
30682       {
30683         "title": "Example usage:",
30684         "content": "curl https://{domain}/api/userProfiles/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
30685         "type": "json"
30686       }
30687     ],
30688     "name": "CloneUser_Profiles",
30689     "group": "User_Profiles",
30690     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30691     "version": "0.0.0",
30692     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30693     "groupTitle": "User_Profiles"
30694   },
30695   {
30696     "type": "post",
30697     "url": "/api/userProfiles",
30698     "title": "Creates a new User Profile",
30699     "examples": [
30700       {
30701         "title": "Example usage:",
30702         "content": "curl https://{domain}/api/userProfiles -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
30703         "type": "json"
30704       }
30705     ],
30706     "name": "CreateUser_Profiles",
30707     "group": "User_Profiles",
30708     "parameter": {
30709       "fields": {
30710         "Body": [
30711           {
30712             "group": "Body",
30713             "type": "String",
30714             "optional": false,
30715             "field": "name",
30716             "description": ""
30717           },
30718           {
30719             "group": "Body",
30720             "type": "String",
30721             "optional": false,
30722             "field": "crudPermissions",
30723             "description": ""
30724           },
30725           {
30726             "group": "Body",
30727             "type": "String",
30728             "optional": true,
30729             "field": "description",
30730             "description": ""
30731           }
30732         ]
30733       }
30734     },
30735     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30736     "version": "0.0.0",
30737     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30738     "groupTitle": "User_Profiles"
30739   },
30740   {
30741     "type": "delete",
30742     "url": "/api/userProfiles/{id}",
30743     "title": "Deletes a User Profile",
30744     "examples": [
30745       {
30746         "title": "Example usage:",
30747         "content": "curl https://{domain}/api/userProfiles/{id} -v -u {name}:{password} -X DELETE",
30748         "type": "json"
30749       }
30750     ],
30751     "name": "DeleteUser_Profiles",
30752     "group": "User_Profiles",
30753     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30754     "version": "0.0.0",
30755     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30756     "groupTitle": "User_Profiles"
30757   },
30758   {
30759     "type": "get",
30760     "url": "/api/userProfiles/describe",
30761     "title": "Gets table info about User Profiles",
30762     "examples": [
30763       {
30764         "title": "Example usage:",
30765         "content": "curl https://{domain}/api/userProfiles/describe -v -u {name}:{password}",
30766         "type": "json"
30767       }
30768     ],
30769     "name": "DescribeUser_Profiles",
30770     "group": "User_Profiles",
30771     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30772     "version": "0.0.0",
30773     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30774     "groupTitle": "User_Profiles"
30775   },
30776   {
30777     "type": "get",
30778     "url": "/api/userProfiles/{id}/resources?section={section}",
30779     "title": "Get Resources assigned to a Section",
30780     "examples": [
30781       {
30782         "title": "Example usage:",
30783         "content": "curl https://{domain}/api/userProfiles/{id}/resources?section={section} -v -u {name}:{password} -X GET",
30784         "type": "json"
30785       }
30786     ],
30787     "name": "GetResources",
30788     "group": "User_Profiles",
30789     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30790     "version": "0.0.0",
30791     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30792     "groupTitle": "User_Profiles"
30793   },
30794   {
30795     "type": "get",
30796     "url": "/api/userProfiles/{id}/sections",
30797     "title": "Get sections associated to a User Profile",
30798     "examples": [
30799       {
30800         "title": "Example usage:",
30801         "content": "curl https://{domain}/api/userProfiles/{id}/sections -v -u {name}:{password} -X GET",
30802         "type": "json"
30803       }
30804     ],
30805     "name": "GetSections",
30806     "group": "User_Profiles",
30807     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30808     "version": "0.0.0",
30809     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30810     "groupTitle": "User_Profiles"
30811   },
30812   {
30813     "type": "get",
30814     "url": "/api/userProfiles",
30815     "title": "Gets a list of User Profiles",
30816     "examples": [
30817       {
30818         "title": "Example usage:",
30819         "content": "curl https://{domain}/api/userProfiles -v -u {name}:{password}",
30820         "type": "json"
30821       }
30822     ],
30823     "name": "GetUser_Profiles",
30824     "group": "User_Profiles",
30825     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/userProfiles?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/userProfiles?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/userProfiles?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/userProfiles?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/userProfiles?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
30826     "version": "0.0.0",
30827     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30828     "groupTitle": "User_Profiles"
30829   },
30830   {
30831     "type": "delete",
30832     "url": "/api/userProfiles/{id}/resources",
30833     "title": "Removes resources' permissions from User Profile",
30834     "examples": [
30835       {
30836         "title": "Example usage:",
30837         "content": "curl https://{domain}/api/userProfiles/{id}/resources?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30838         "type": "json"
30839       }
30840     ],
30841     "name": "RemoveResources",
30842     "group": "User_Profiles",
30843     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30844     "version": "0.0.0",
30845     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30846     "groupTitle": "User_Profiles"
30847   },
30848   {
30849     "type": "delete",
30850     "url": "/api/userProfiles/{id}/sections",
30851     "title": "Removes sections' permissions from User Profile",
30852     "examples": [
30853       {
30854         "title": "Example usage:",
30855         "content": "curl https://{domain}/api/userProfiles/{id}/sections?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30856         "type": "json"
30857       }
30858     ],
30859     "name": "RemoveSections",
30860     "group": "User_Profiles",
30861     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30862     "version": "0.0.0",
30863     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30864     "groupTitle": "User_Profiles"
30865   },
30866   {
30867     "type": "get",
30868     "url": "/api/userProfiles/{id}",
30869     "title": "Gets a single User Profile",
30870     "examples": [
30871       {
30872         "title": "Example usage:",
30873         "content": "curl https://{domain}/api/userProfiles/{id} -v -u {name}:{password}",
30874         "type": "json"
30875       }
30876     ],
30877     "name": "ShowUser_Profiles",
30878     "group": "User_Profiles",
30879     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30880     "version": "0.0.0",
30881     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30882     "groupTitle": "User_Profiles"
30883   },
30884   {
30885     "type": "put",
30886     "url": "/api/userProfiles/{id}",
30887     "title": "Update an existing User Profile",
30888     "examples": [
30889       {
30890         "title": "Example usage:",
30891         "content": "curl https://{domain}/api/userProfiles/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
30892         "type": "json"
30893       }
30894     ],
30895     "name": "updateUser_Profiles",
30896     "group": "User_Profiles",
30897     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30898     "version": "0.0.0",
30899     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/userProfile/index.js",
30900     "groupTitle": "User_Profiles"
30901   },
30902   {
30903     "type": "post",
30904     "url": "/api/users/{id}/chat_interactions",
30905     "title": "Add chat interaction tabs to an agent",
30906     "examples": [
30907       {
30908         "title": "Example usage:",
30909         "content": "curl https://{domain}/api/users/{id}/chat_interactions -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
30910         "type": "json"
30911       }
30912     ],
30913     "name": "AddChatInteractions",
30914     "group": "Users",
30915     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30916     "version": "0.0.0",
30917     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
30918     "groupTitle": "Users"
30919   },
30920   {
30921     "type": "post",
30922     "url": "/api/users/{id}/chat_websites",
30923     "title": "Add a Chat Website to a user",
30924     "examples": [
30925       {
30926         "title": "Example usage:",
30927         "content": "curl https://{domain}/api/users/{id}/chat_websites -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
30928         "type": "json"
30929       }
30930     ],
30931     "name": "AddChatWebsites",
30932     "group": "Users",
30933     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30934     "version": "0.0.0",
30935     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
30936     "groupTitle": "Users"
30937   },
30938   {
30939     "type": "post",
30940     "url": "/api/users/{id}/contacts",
30941     "title": "Add contacts to a user",
30942     "examples": [
30943       {
30944         "title": "Example usage:",
30945         "content": "curl https://{domain}/api/users/{id}/contacts -d '{\"ids\": [1,2]}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
30946         "type": "json"
30947       }
30948     ],
30949     "name": "AddContacts",
30950     "group": "Users",
30951     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30952     "version": "0.0.0",
30953     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
30954     "groupTitle": "Users"
30955   },
30956   {
30957     "type": "post",
30958     "url": "/api/users/{id}/fax_accounts",
30959     "title": "Add a Fax Account to a user",
30960     "examples": [
30961       {
30962         "title": "Example usage:",
30963         "content": "curl https://{domain}/api/users/{id}/fax_accounts -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
30964         "type": "json"
30965       }
30966     ],
30967     "name": "AddFaxAccounts",
30968     "group": "Users",
30969     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30970     "version": "0.0.0",
30971     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
30972     "groupTitle": "Users"
30973   },
30974   {
30975     "type": "post",
30976     "url": "/api/users/{id}/fax_interactions",
30977     "title": "Add fax interaction tabs to an agent",
30978     "examples": [
30979       {
30980         "title": "Example usage:",
30981         "content": "curl https://{domain}/api/users/{id}/fax_interactions -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
30982         "type": "json"
30983       }
30984     ],
30985     "name": "AddFaxInteractions",
30986     "group": "Users",
30987     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30988     "version": "0.0.0",
30989     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
30990     "groupTitle": "Users"
30991   },
30992   {
30993     "type": "post",
30994     "url": "/api/users/{id}/mail_accounts",
30995     "title": "Add a Mail Account to a user",
30996     "examples": [
30997       {
30998         "title": "Example usage:",
30999         "content": "curl https://{domain}/api/users/{id}/mail_accounts -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31000         "type": "json"
31001       }
31002     ],
31003     "name": "AddMailAccounts",
31004     "group": "Users",
31005     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31006     "version": "0.0.0",
31007     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31008     "groupTitle": "Users"
31009   },
31010   {
31011     "type": "post",
31012     "url": "/api/users/{id}/mail_interactions",
31013     "title": "Add mail interaction tabs to an agent",
31014     "examples": [
31015       {
31016         "title": "Example usage:",
31017         "content": "curl https://{domain}/api/users/{id}/mail_interactions -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31018         "type": "json"
31019       }
31020     ],
31021     "name": "AddMailInteractions",
31022     "group": "Users",
31023     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31024     "version": "0.0.0",
31025     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31026     "groupTitle": "Users"
31027   },
31028   {
31029     "type": "post",
31030     "url": "/api/users/{id}/openchannel_accounts",
31031     "title": "Add a Open Channel Account to a user",
31032     "examples": [
31033       {
31034         "title": "Example usage:",
31035         "content": "curl https://{domain}/api/users/{id}/openchannel_accounts -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31036         "type": "json"
31037       }
31038     ],
31039     "name": "AddOpenchannelAccounts",
31040     "group": "Users",
31041     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31042     "version": "0.0.0",
31043     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31044     "groupTitle": "Users"
31045   },
31046   {
31047     "type": "post",
31048     "url": "/api/users/{id}/openchannel_interactions",
31049     "title": "Add openchannel interaction tabs to an agent",
31050     "examples": [
31051       {
31052         "title": "Example usage:",
31053         "content": "curl https://{domain}/api/users/{id}/openchannel_interactions -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31054         "type": "json"
31055       }
31056     ],
31057     "name": "AddOpenchannelInteractions",
31058     "group": "Users",
31059     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31060     "version": "0.0.0",
31061     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31062     "groupTitle": "Users"
31063   },
31064   {
31065     "type": "post",
31066     "url": "/api/users/{id}/queues",
31067     "title": "Add queues to an agent",
31068     "examples": [
31069       {
31070         "title": "Example usage:",
31071         "content": "curl https://{domain}/api/users/{id}/queues -d '{\"ids\": [1,2], \"penalty\": 2}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31072         "type": "json"
31073       }
31074     ],
31075     "name": "AddQueues",
31076     "group": "Users",
31077     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31078     "version": "0.0.0",
31079     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31080     "groupTitle": "Users"
31081   },
31082   {
31083     "type": "post",
31084     "url": "/api/users/{id}/sms_accounts",
31085     "title": "Add a Sms Account to a user",
31086     "examples": [
31087       {
31088         "title": "Example usage:",
31089         "content": "curl https://{domain}/api/users/{id}/sms_accounts -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31090         "type": "json"
31091       }
31092     ],
31093     "name": "AddSmsAccounts",
31094     "group": "Users",
31095     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31096     "version": "0.0.0",
31097     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31098     "groupTitle": "Users"
31099   },
31100   {
31101     "type": "post",
31102     "url": "/api/users/{id}/sms_interactions",
31103     "title": "Add sms interaction tabs to an agent",
31104     "examples": [
31105       {
31106         "title": "Example usage:",
31107         "content": "curl https://{domain}/api/users/{id}/sms_interactions -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31108         "type": "json"
31109       }
31110     ],
31111     "name": "AddSmsInteractions",
31112     "group": "Users",
31113     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31114     "version": "0.0.0",
31115     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31116     "groupTitle": "Users"
31117   },
31118   {
31119     "type": "post",
31120     "url": "/api/users/{id}/square_projects",
31121     "title": "Add a Square Project to a user",
31122     "examples": [
31123       {
31124         "title": "Example usage:",
31125         "content": "curl https://{domain}/api/users/{id}/square_projects -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31126         "type": "json"
31127       }
31128     ],
31129     "name": "AddSquareProjects",
31130     "group": "Users",
31131     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31132     "version": "0.0.0",
31133     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31134     "groupTitle": "Users"
31135   },
31136   {
31137     "type": "post",
31138     "url": "/api/users/{id}/teams",
31139     "title": "Add teams to an agent",
31140     "examples": [
31141       {
31142         "title": "Example usage:",
31143         "content": "curl https://{domain}/api/users/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31144         "type": "json"
31145       }
31146     ],
31147     "name": "AddTeams",
31148     "group": "Users",
31149     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31150     "version": "0.0.0",
31151     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31152     "groupTitle": "Users"
31153   },
31154   {
31155     "type": "post",
31156     "url": "/api/users/{id}/whatsapp_accounts",
31157     "title": "Add a Whatsapp Account to a user",
31158     "examples": [
31159       {
31160         "title": "Example usage:",
31161         "content": "curl https://{domain}/api/users/{id}/whatsapp_accounts -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31162         "type": "json"
31163       }
31164     ],
31165     "name": "AddWhatsappAccounts",
31166     "group": "Users",
31167     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31168     "version": "0.0.0",
31169     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31170     "groupTitle": "Users"
31171   },
31172   {
31173     "type": "post",
31174     "url": "/api/users/{id}/whatsapp_interactions",
31175     "title": "Add Whatsapp interaction tabs to an agent",
31176     "examples": [
31177       {
31178         "title": "Example usage:",
31179         "content": "curl https://{domain}/api/users/{id}/whatsapp_interactions -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31180         "type": "json"
31181       }
31182     ],
31183     "name": "AddWhatsappInteractions",
31184     "group": "Users",
31185     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31186     "version": "0.0.0",
31187     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31188     "groupTitle": "Users"
31189   },
31190   {
31191     "type": "put",
31192     "url": "/api/users/{id}/password",
31193     "title": "Change user password",
31194     "examples": [
31195       {
31196         "title": "Example usage:",
31197         "content": "curl https://{domain}/api/users/{id}/password -d '{\"oldPassword\": \"1234\", \"newPassword\": \"5678\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
31198         "type": "json"
31199       }
31200     ],
31201     "name": "ChangePwd",
31202     "group": "Users",
31203     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31204     "version": "0.0.0",
31205     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31206     "groupTitle": "Users"
31207   },
31208   {
31209     "type": "post",
31210     "url": "/api/users",
31211     "title": "Create a new user",
31212     "examples": [
31213       {
31214         "title": "Example usage:",
31215         "content": "curl https://{domain}/api/users -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31216         "type": "json"
31217       }
31218     ],
31219     "name": "Create",
31220     "group": "Users",
31221     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31222     "version": "0.0.0",
31223     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31224     "groupTitle": "Users"
31225   },
31226   {
31227     "type": "post",
31228     "url": "/api/users/{id}/api_key",
31229     "title": "Create a new API access key for the user",
31230     "examples": [
31231       {
31232         "title": "Example usage:",
31233         "content": "curl https://{domain}/api/users/:id/api_key -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31234         "type": "json"
31235       }
31236     ],
31237     "name": "CreateApiKey",
31238     "group": "Users",
31239     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31240     "version": "0.0.0",
31241     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31242     "groupTitle": "Users"
31243   },
31244   {
31245     "type": "delete",
31246     "url": "/api/users/{id}",
31247     "title": "Deletes a user",
31248     "examples": [
31249       {
31250         "title": "Example usage:",
31251         "content": "curl https://{domain}/api/users/{id} -v -u {name}:{password} -X DELETE",
31252         "type": "json"
31253       }
31254     ],
31255     "name": "Delete",
31256     "group": "Users",
31257     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31258     "version": "0.0.0",
31259     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31260     "groupTitle": "Users"
31261   },
31262   {
31263     "type": "get",
31264     "url": "/api/users/describe",
31265     "title": "Gets table info about Users",
31266     "examples": [
31267       {
31268         "title": "Example usage:",
31269         "content": "curl https://{domain}/api/users/describe -v -u {name}:{password}",
31270         "type": "json"
31271       }
31272     ],
31273     "name": "DescribeUsers",
31274     "group": "Users",
31275     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31276     "version": "0.0.0",
31277     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31278     "groupTitle": "Users"
31279   },
31280   {
31281     "type": "get",
31282     "url": "/api/users/{id}/agents",
31283     "title": "GetAgents",
31284     "examples": [
31285       {
31286         "title": "Example usage:",
31287         "content": "curl https://{domain}/api/users/{id}/agents -v -u {name}:{password} -X GET",
31288         "type": "json"
31289       }
31290     ],
31291     "name": "GetAgents",
31292     "group": "Users",
31293     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31294     "version": "0.0.0",
31295     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31296     "groupTitle": "Users"
31297   },
31298   {
31299     "type": "get",
31300     "url": "/api/users/{id}/api_key",
31301     "title": "Get the API access key for the user",
31302     "examples": [
31303       {
31304         "title": "Example usage:",
31305         "content": "curl https://{domain}/api/users/:id/api_key -v -u {name}:{password} -X GET",
31306         "type": "json"
31307       }
31308     ],
31309     "name": "GetApiKey",
31310     "group": "Users",
31311     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31312     "version": "0.0.0",
31313     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31314     "groupTitle": "Users"
31315   },
31316   {
31317     "type": "get",
31318     "url": "/api/users/{id}/groups",
31319     "title": "GetChatGroups",
31320     "examples": [
31321       {
31322         "title": "Example usage:",
31323         "content": "curl https://{domain}/api/users/{id}/groups -v -u {name}:{password} -X GET",
31324         "type": "json"
31325       }
31326     ],
31327     "name": "GetChatGroups",
31328     "group": "Users",
31329     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31330     "version": "0.0.0",
31331     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31332     "groupTitle": "Users"
31333   },
31334   {
31335     "type": "get",
31336     "url": "/api/users/{id}/chat/interactions",
31337     "title": "GetChatInteractions",
31338     "examples": [
31339       {
31340         "title": "Example usage:",
31341         "content": "curl https://{domain}/api/users/{id}/chat/interactions -v -u {name}:{password} -X GET",
31342         "type": "json"
31343       }
31344     ],
31345     "name": "GetChatInteractions",
31346     "group": "Users",
31347     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31348     "version": "0.0.0",
31349     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31350     "groupTitle": "Users"
31351   },
31352   {
31353     "type": "get",
31354     "url": "/api/users/{id}/chat_websites",
31355     "title": "GetChatWebsites",
31356     "examples": [
31357       {
31358         "title": "Example usage:",
31359         "content": "curl https://{domain}/api/users/{id}/chat_websites -v -u {name}:{password} -X GET",
31360         "type": "json"
31361       }
31362     ],
31363     "name": "GetChatWebsites",
31364     "group": "Users",
31365     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31366     "version": "0.0.0",
31367     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31368     "groupTitle": "Users"
31369   },
31370   {
31371     "type": "get",
31372     "url": "/api/users/{id}/contacts",
31373     "title": "GetContacts",
31374     "examples": [
31375       {
31376         "title": "Example usage:",
31377         "content": "curl https://{domain}/api/users/{id}/contacts -v -u {name}:{password} -X GET",
31378         "type": "json"
31379       }
31380     ],
31381     "name": "GetContacts",
31382     "group": "Users",
31383     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31384     "version": "0.0.0",
31385     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31386     "groupTitle": "Users"
31387   },
31388   {
31389     "type": "get",
31390     "url": "/api/users/{id}/fax_accounts",
31391     "title": "GetFaxAccounts",
31392     "examples": [
31393       {
31394         "title": "Example usage:",
31395         "content": "curl https://{domain}/api/users/{id}/fax_accounts -v -u {name}:{password} -X GET",
31396         "type": "json"
31397       }
31398     ],
31399     "name": "GetFaxAccounts",
31400     "group": "Users",
31401     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31402     "version": "0.0.0",
31403     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31404     "groupTitle": "Users"
31405   },
31406   {
31407     "type": "get",
31408     "url": "/api/users/{id}/fax/interactions",
31409     "title": "GetFaxInteractions",
31410     "examples": [
31411       {
31412         "title": "Example usage:",
31413         "content": "curl https://{domain}/api/users/{id}/fax/interactions -v -u {name}:{password} -X GET",
31414         "type": "json"
31415       }
31416     ],
31417     "name": "GetFaxInteractions",
31418     "group": "Users",
31419     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31420     "version": "0.0.0",
31421     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31422     "groupTitle": "Users"
31423   },
31424   {
31425     "type": "get",
31426     "url": "/api/users/{id}/lists",
31427     "title": "GetLists",
31428     "examples": [
31429       {
31430         "title": "Example usage:",
31431         "content": "curl https://{domain}/api/users/{id}/lists -v -u {name}:{password} -X GET",
31432         "type": "json"
31433       }
31434     ],
31435     "name": "GetLists",
31436     "group": "Users",
31437     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31438     "version": "0.0.0",
31439     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31440     "groupTitle": "Users"
31441   },
31442   {
31443     "type": "get",
31444     "url": "/api/users/{id}/mail_accounts",
31445     "title": "GetMailAccounts",
31446     "examples": [
31447       {
31448         "title": "Example usage:",
31449         "content": "curl https://{domain}/api/users/{id}/mail_accounts -v -u {name}:{password} -X GET",
31450         "type": "json"
31451       }
31452     ],
31453     "name": "GetMailAccounts",
31454     "group": "Users",
31455     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31456     "version": "0.0.0",
31457     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31458     "groupTitle": "Users"
31459   },
31460   {
31461     "type": "get",
31462     "url": "/api/users/{id}/mail/interactions",
31463     "title": "GetMailInteractions",
31464     "examples": [
31465       {
31466         "title": "Example usage:",
31467         "content": "curl https://{domain}/api/users/{id}/mail/interactions -v -u {name}:{password} -X GET",
31468         "type": "json"
31469       }
31470     ],
31471     "name": "GetMailInteractions",
31472     "group": "Users",
31473     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31474     "version": "0.0.0",
31475     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31476     "groupTitle": "Users"
31477   },
31478   {
31479     "type": "get",
31480     "url": "/api/users/{id}/openchannel_accounts",
31481     "title": "GetOpenchannelAccounts",
31482     "examples": [
31483       {
31484         "title": "Example usage:",
31485         "content": "curl https://{domain}/api/users/{id}/openchannel_accounts -v -u {name}:{password} -X GET",
31486         "type": "json"
31487       }
31488     ],
31489     "name": "GetOpenchannelAccounts",
31490     "group": "Users",
31491     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31492     "version": "0.0.0",
31493     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31494     "groupTitle": "Users"
31495   },
31496   {
31497     "type": "get",
31498     "url": "/api/users/{id}/openchannel/interactions",
31499     "title": "GetOpenchannelInteractions",
31500     "examples": [
31501       {
31502         "title": "Example usage:",
31503         "content": "curl https://{domain}/api/users/{id}/openchannel/interactions -v -u {name}:{password}",
31504         "type": "json"
31505       }
31506     ],
31507     "name": "GetOpenchannelInteractions",
31508     "group": "Users",
31509     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31510     "version": "0.0.0",
31511     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31512     "groupTitle": "Users"
31513   },
31514   {
31515     "type": "get",
31516     "url": "/api/users/{id}/prefixes",
31517     "title": "GetPrefixes",
31518     "examples": [
31519       {
31520         "title": "Example usage:",
31521         "content": "curl https://{domain}/api/users/{id}/prefixes -v -u {name}:{password} -X GET",
31522         "type": "json"
31523       }
31524     ],
31525     "name": "GetPrefixes",
31526     "group": "Users",
31527     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31528     "version": "0.0.0",
31529     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31530     "groupTitle": "Users"
31531   },
31532   {
31533     "type": "get",
31534     "url": "/api/users/{id}/queues?channel={channel}",
31535     "title": "Gets Queues list",
31536     "examples": [
31537       {
31538         "title": "Example usage:",
31539         "content": "curl https://{domain}/api/users/{id}/queues/?channel={channel} -v -u {name}:{password} -X GET",
31540         "type": "json"
31541       }
31542     ],
31543     "name": "GetQueues",
31544     "group": "Users",
31545     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31546     "version": "0.0.0",
31547     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31548     "groupTitle": "Users"
31549   },
31550   {
31551     "type": "get",
31552     "url": "/api/users/{id}/recordings",
31553     "title": "GetRecordings",
31554     "examples": [
31555       {
31556         "title": "Example usage:",
31557         "content": "curl https://{domain}/api/users/{id}/recordings -v -u {name}:{password} -X GET",
31558         "type": "json"
31559       }
31560     ],
31561     "name": "GetRecordings",
31562     "group": "Users",
31563     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31564     "version": "0.0.0",
31565     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31566     "groupTitle": "Users"
31567   },
31568   {
31569     "type": "get",
31570     "url": "/api/users/{id}/scheduled_calls",
31571     "title": "GetScheduledCalls",
31572     "examples": [
31573       {
31574         "title": "Example usage:",
31575         "content": "curl https://{domain}/api/users/{id}/scheduled_calls -v -u {name}:{password} -X GET",
31576         "type": "json"
31577       }
31578     ],
31579     "name": "GetScheduledCalls",
31580     "group": "Users",
31581     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31582     "version": "0.0.0",
31583     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31584     "groupTitle": "Users"
31585   },
31586   {
31587     "type": "get",
31588     "url": "/api/users/{id}/screen_recordings",
31589     "title": "GetScreenRecordings",
31590     "examples": [
31591       {
31592         "title": "Example usage:",
31593         "content": "curl https://{domain}/api/users/{id}/screen_recordings -v -u {name}:{password} -X GET",
31594         "type": "json"
31595       }
31596     ],
31597     "name": "GetScreenRecordings",
31598     "group": "Users",
31599     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31600     "version": "0.0.0",
31601     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31602     "groupTitle": "Users"
31603   },
31604   {
31605     "type": "get",
31606     "url": "/api/users/{id}/sms_accounts",
31607     "title": "GetSmsAccounts",
31608     "examples": [
31609       {
31610         "title": "Example usage:",
31611         "content": "curl https://{domain}/api/users/{id}/sms_accounts -v -u {name}:{password} -X GET",
31612         "type": "json"
31613       }
31614     ],
31615     "name": "GetSmsAccounts",
31616     "group": "Users",
31617     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31618     "version": "0.0.0",
31619     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31620     "groupTitle": "Users"
31621   },
31622   {
31623     "type": "get",
31624     "url": "/api/users/{id}/sms/interactions",
31625     "title": "GetSmsInteractions",
31626     "examples": [
31627       {
31628         "title": "Example usage:",
31629         "content": "curl https://{domain}/api/users/{id}/sms/interactions -v -u {name}:{password} -X GET",
31630         "type": "json"
31631       }
31632     ],
31633     "name": "GetSmsInteractions",
31634     "group": "Users",
31635     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31636     "version": "0.0.0",
31637     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31638     "groupTitle": "Users"
31639   },
31640   {
31641     "type": "get",
31642     "url": "/api/users/{id}/square_projects",
31643     "title": "GetSquareProjects",
31644     "examples": [
31645       {
31646         "title": "Example usage:",
31647         "content": "curl https://{domain}/api/users/{id}/square_projects -v -u {name}:{password} -X GET",
31648         "type": "json"
31649       }
31650     ],
31651     "name": "GetSquareProjects",
31652     "group": "Users",
31653     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31654     "version": "0.0.0",
31655     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31656     "groupTitle": "Users"
31657   },
31658   {
31659     "type": "get",
31660     "url": "/api/users/{id}/teams",
31661     "title": "GetTeams",
31662     "examples": [
31663       {
31664         "title": "Example usage:",
31665         "content": "curl https://{domain}/api/users/{id}/teams -v -u {name}:{password} -X GET",
31666         "type": "json"
31667       }
31668     ],
31669     "name": "GetTeams",
31670     "group": "Users",
31671     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31672     "version": "0.0.0",
31673     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31674     "groupTitle": "Users"
31675   },
31676   {
31677     "type": "get",
31678     "url": "/GetUser",
31679     "title": "Gets a list of Users",
31680     "name": "GetUser",
31681     "group": "Users",
31682     "parameter": {
31683       "fields": {
31684         "Body": [
31685           {
31686             "group": "Body",
31687             "type": "Object",
31688             "optional": true,
31689             "field": "options.attributes",
31690             "description": ""
31691           },
31692           {
31693             "group": "Body",
31694             "type": "Object",
31695             "optional": true,
31696             "field": "options.where",
31697             "description": ""
31698           }
31699         ]
31700       }
31701     },
31702     "version": "0.0.0",
31703     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.rpc.js",
31704     "groupTitle": "Users"
31705   },
31706   {
31707     "type": "get",
31708     "url": "/api/users",
31709     "title": "Gets a list of Users",
31710     "examples": [
31711       {
31712         "title": "Example usage:",
31713         "content": "curl https://{domain}/api/users -v -u {name}:{password}",
31714         "type": "json"
31715       }
31716     ],
31717     "name": "GetUsers",
31718     "group": "Users",
31719     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/users?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/users?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/users?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/users?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/users?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
31720     "version": "0.0.0",
31721     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31722     "groupTitle": "Users"
31723   },
31724   {
31725     "type": "get",
31726     "url": "/api/users/{id}/queues_rt",
31727     "title": "GetVoiceQueuesRt",
31728     "examples": [
31729       {
31730         "title": "Example usage:",
31731         "content": "curl https://{domain}/api/users/{id}/queues_rt -v -u {name}:{password} -X GET",
31732         "type": "json"
31733       }
31734     ],
31735     "name": "GetVoiceQueuesRt",
31736     "group": "Users",
31737     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31738     "version": "0.0.0",
31739     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31740     "groupTitle": "Users"
31741   },
31742   {
31743     "type": "get",
31744     "url": "/api/users/{id}/whatsapp_accounts",
31745     "title": "GetWhatsappAccounts",
31746     "examples": [
31747       {
31748         "title": "Example usage:",
31749         "content": "curl https://{domain}/api/users/{id}/whatsapp_accounts -v -u {name}:{password} -X GET",
31750         "type": "json"
31751       }
31752     ],
31753     "name": "GetWhatsappAccounts",
31754     "group": "Users",
31755     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31756     "version": "0.0.0",
31757     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31758     "groupTitle": "Users"
31759   },
31760   {
31761     "type": "get",
31762     "url": "/api/users/{id}/whatsapp/interactions",
31763     "title": "GetWhatsappInteractions",
31764     "examples": [
31765       {
31766         "title": "Example usage:",
31767         "content": "curl https://{domain}/api/users/{id}/whatsapp/interactions -v -u {name}:{password} -X GET",
31768         "type": "json"
31769       }
31770     ],
31771     "name": "GetWhatsappInteractions",
31772     "group": "Users",
31773     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31774     "version": "0.0.0",
31775     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31776     "groupTitle": "Users"
31777   },
31778   {
31779     "type": "post",
31780     "url": "/api/users/{id}/login",
31781     "title": "Login",
31782     "examples": [
31783       {
31784         "title": "Example usage:",
31785         "content": "curl https://{domain}/api/users/{id}/login  -v -u {name}:{password} -X POST",
31786         "type": "json"
31787       }
31788     ],
31789     "name": "Login",
31790     "group": "Users",
31791     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31792     "version": "0.0.0",
31793     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31794     "groupTitle": "Users"
31795   },
31796   {
31797     "type": "post",
31798     "url": "/LoginUser",
31799     "title": "",
31800     "name": "LoginUser",
31801     "group": "Users",
31802     "parameter": {
31803       "fields": {
31804         "Body": [
31805           {
31806             "group": "Body",
31807             "type": "Object",
31808             "optional": true,
31809             "field": "options.attributes",
31810             "description": ""
31811           },
31812           {
31813             "group": "Body",
31814             "type": "Object",
31815             "optional": false,
31816             "field": "options.where",
31817             "description": ""
31818           }
31819         ]
31820       }
31821     },
31822     "version": "0.0.0",
31823     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.rpc.js",
31824     "groupTitle": "Users"
31825   },
31826   {
31827     "type": "post",
31828     "url": "/api/users/{id}/logout",
31829     "title": "Logout",
31830     "examples": [
31831       {
31832         "title": "Example usage:",
31833         "content": "curl https://{domain}/api/users/{id}/logout -v -u {name}:{password} -X POST",
31834         "type": "json"
31835       }
31836     ],
31837     "name": "Logout",
31838     "group": "Users",
31839     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31840     "version": "0.0.0",
31841     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31842     "groupTitle": "Users"
31843   },
31844   {
31845     "type": "post",
31846     "url": "/LogoutUser",
31847     "title": "",
31848     "name": "LogoutUser",
31849     "group": "Users",
31850     "parameter": {
31851       "fields": {
31852         "Body": [
31853           {
31854             "group": "Body",
31855             "type": "Object",
31856             "optional": true,
31857             "field": "options.attributes",
31858             "description": ""
31859           },
31860           {
31861             "group": "Body",
31862             "type": "Object",
31863             "optional": false,
31864             "field": "options.where",
31865             "description": ""
31866           }
31867         ]
31868       }
31869     },
31870     "version": "0.0.0",
31871     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.rpc.js",
31872     "groupTitle": "Users"
31873   },
31874   {
31875     "type": "post",
31876     "url": "/api/users/{id}/pause",
31877     "title": "Pause",
31878     "examples": [
31879       {
31880         "title": "Example usage:",
31881         "content": "curl https://{domain}/api/users/{id}/pause -v -u {name}:{password} -X POST",
31882         "type": "json"
31883       }
31884     ],
31885     "name": "Pause",
31886     "group": "Users",
31887     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31888     "version": "0.0.0",
31889     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31890     "groupTitle": "Users"
31891   },
31892   {
31893     "type": "post",
31894     "url": "/PauseUser",
31895     "title": "Put in pause a User",
31896     "name": "PauseUser",
31897     "group": "Users",
31898     "parameter": {
31899       "fields": {
31900         "Body": [
31901           {
31902             "group": "Body",
31903             "type": "Object",
31904             "optional": true,
31905             "field": "options.attributes",
31906             "description": ""
31907           },
31908           {
31909             "group": "Body",
31910             "type": "Object",
31911             "optional": false,
31912             "field": "options.where",
31913             "description": ""
31914           }
31915         ]
31916       }
31917     },
31918     "version": "0.0.0",
31919     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.rpc.js",
31920     "groupTitle": "Users"
31921   },
31922   {
31923     "type": "delete",
31924     "url": "/api/users/{id}/api_key",
31925     "title": "Remove API access key for the user",
31926     "examples": [
31927       {
31928         "title": "Example usage:",
31929         "content": "curl https://{domain}/api/users/:id/api_key -v -u {name}:{password} -X DELETE",
31930         "type": "json"
31931       }
31932     ],
31933     "name": "RemoveApiKey",
31934     "group": "Users",
31935     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31936     "version": "0.0.0",
31937     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31938     "groupTitle": "Users"
31939   },
31940   {
31941     "type": "delete",
31942     "url": "/api/users/{id}/chat_interactions",
31943     "title": "Removes interactions from an agent",
31944     "examples": [
31945       {
31946         "title": "Example usage:",
31947         "content": "curl https://{domain}/api/users/{id}/chat_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
31948         "type": "json"
31949       }
31950     ],
31951     "name": "RemoveChatInteractions",
31952     "group": "Users",
31953     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31954     "version": "0.0.0",
31955     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31956     "groupTitle": "Users"
31957   },
31958   {
31959     "type": "delete",
31960     "url": "/api/users/{id}/chat_websites",
31961     "title": "Removes a Chat Website from a user",
31962     "examples": [
31963       {
31964         "title": "Example usage:",
31965         "content": "curl https://{domain}/api/users/{id}/chat_websites?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
31966         "type": "json"
31967       }
31968     ],
31969     "name": "RemoveChatWebsites",
31970     "group": "Users",
31971     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31972     "version": "0.0.0",
31973     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31974     "groupTitle": "Users"
31975   },
31976   {
31977     "type": "delete",
31978     "url": "/api/users/{id}/fax_accounts",
31979     "title": "Removes a Fax Account from a user",
31980     "examples": [
31981       {
31982         "title": "Example usage:",
31983         "content": "curl https://{domain}/api/users/{id}/fax_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
31984         "type": "json"
31985       }
31986     ],
31987     "name": "RemoveFaxAccounts",
31988     "group": "Users",
31989     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31990     "version": "0.0.0",
31991     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
31992     "groupTitle": "Users"
31993   },
31994   {
31995     "type": "delete",
31996     "url": "/api/users/{id}/fax_interactions",
31997     "title": "Removes interactions from an agent",
31998     "examples": [
31999       {
32000         "title": "Example usage:",
32001         "content": "curl https://{domain}/api/users/{id}/fax_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32002         "type": "json"
32003       }
32004     ],
32005     "name": "RemoveFaxInteractions",
32006     "group": "Users",
32007     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32008     "version": "0.0.0",
32009     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32010     "groupTitle": "Users"
32011   },
32012   {
32013     "type": "delete",
32014     "url": "/api/users/{id}/mail_accounts",
32015     "title": "Removes a Mail Account from a user",
32016     "examples": [
32017       {
32018         "title": "Example usage:",
32019         "content": "curl https://{domain}/api/users/{id}/mail_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32020         "type": "json"
32021       }
32022     ],
32023     "name": "RemoveMailAccounts",
32024     "group": "Users",
32025     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32026     "version": "0.0.0",
32027     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32028     "groupTitle": "Users"
32029   },
32030   {
32031     "type": "delete",
32032     "url": "/api/users/{id}/mail_interactions",
32033     "title": "Removes interactions from an agent",
32034     "examples": [
32035       {
32036         "title": "Example usage:",
32037         "content": "curl https://{domain}/api/users/{id}/mail_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32038         "type": "json"
32039       }
32040     ],
32041     "name": "RemoveMailInteractions",
32042     "group": "Users",
32043     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32044     "version": "0.0.0",
32045     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32046     "groupTitle": "Users"
32047   },
32048   {
32049     "type": "delete",
32050     "url": "/api/users/{id}/openchannel_accounts",
32051     "title": "Removes a Open Channel Account from a user",
32052     "examples": [
32053       {
32054         "title": "Example usage:",
32055         "content": "curl https://{domain}/api/users/{id}/openchannel_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32056         "type": "json"
32057       }
32058     ],
32059     "name": "RemoveOpenchannelAccounts",
32060     "group": "Users",
32061     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32062     "version": "0.0.0",
32063     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32064     "groupTitle": "Users"
32065   },
32066   {
32067     "type": "delete",
32068     "url": "/api/users/{id}/openchannel_interactions",
32069     "title": "Removes openchannel interactions from an agent",
32070     "examples": [
32071       {
32072         "title": "Example usage:",
32073         "content": "curl https://{domain}/api/users/{id}/openchannel_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32074         "type": "json"
32075       }
32076     ],
32077     "name": "RemoveOpenchannelInteractions",
32078     "group": "Users",
32079     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32080     "version": "0.0.0",
32081     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32082     "groupTitle": "Users"
32083   },
32084   {
32085     "type": "delete",
32086     "url": "/api/users/{id}/queues",
32087     "title": "Remove queues to an agent",
32088     "examples": [
32089       {
32090         "title": "Example usage:",
32091         "content": "curl https://{domain}/api/users/{id}/queues?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32092         "type": "json"
32093       }
32094     ],
32095     "name": "RemoveQueues",
32096     "group": "Users",
32097     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32098     "version": "0.0.0",
32099     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32100     "groupTitle": "Users"
32101   },
32102   {
32103     "type": "delete",
32104     "url": "/api/users/{id}/sms_accounts",
32105     "title": "Removes a Sms Account from a user",
32106     "examples": [
32107       {
32108         "title": "Example usage:",
32109         "content": "curl https://{domain}/api/users/{id}/sms_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32110         "type": "json"
32111       }
32112     ],
32113     "name": "RemoveSmsAccounts",
32114     "group": "Users",
32115     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32116     "version": "0.0.0",
32117     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32118     "groupTitle": "Users"
32119   },
32120   {
32121     "type": "delete",
32122     "url": "/api/users/{id}/sms_interactions",
32123     "title": "Removes interactions from an agent",
32124     "examples": [
32125       {
32126         "title": "Example usage:",
32127         "content": "curl https://{domain}/api/users/{id}/sms_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32128         "type": "json"
32129       }
32130     ],
32131     "name": "RemoveSmsInteractions",
32132     "group": "Users",
32133     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32134     "version": "0.0.0",
32135     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32136     "groupTitle": "Users"
32137   },
32138   {
32139     "type": "delete",
32140     "url": "/api/users/{id}/square_projects",
32141     "title": "Removes a Square Project from a user",
32142     "examples": [
32143       {
32144         "title": "Example usage:",
32145         "content": "curl https://{domain}/api/users/{id}/square_projects?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32146         "type": "json"
32147       }
32148     ],
32149     "name": "RemoveSquareProjects",
32150     "group": "Users",
32151     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32152     "version": "0.0.0",
32153     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32154     "groupTitle": "Users"
32155   },
32156   {
32157     "type": "delete",
32158     "url": "/api/users/{id}/teams",
32159     "title": "Removes teams from an agent",
32160     "examples": [
32161       {
32162         "title": "Example usage:",
32163         "content": "curl https://{domain}/api/users/{id}/teams?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32164         "type": "json"
32165       }
32166     ],
32167     "name": "RemoveTeams",
32168     "group": "Users",
32169     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32170     "version": "0.0.0",
32171     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32172     "groupTitle": "Users"
32173   },
32174   {
32175     "type": "delete",
32176     "url": "/api/users/{id}/whatsapp_accounts",
32177     "title": "Removes a Whatsapp Account from a user",
32178     "examples": [
32179       {
32180         "title": "Example usage:",
32181         "content": "curl https://{domain}/api/users/{id}/whatsapp_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32182         "type": "json"
32183       }
32184     ],
32185     "name": "RemoveWhatsappAccounts",
32186     "group": "Users",
32187     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32188     "version": "0.0.0",
32189     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32190     "groupTitle": "Users"
32191   },
32192   {
32193     "type": "delete",
32194     "url": "/api/users/{id}/whatsapp_interactions",
32195     "title": "Removes Whatsapp interactions from an agent",
32196     "examples": [
32197       {
32198         "title": "Example usage:",
32199         "content": "curl https://{domain}/api/users/{id}/whatsapp_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
32200         "type": "json"
32201       }
32202     ],
32203     "name": "RemoveWhatsappInteractions",
32204     "group": "Users",
32205     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32206     "version": "0.0.0",
32207     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32208     "groupTitle": "Users"
32209   },
32210   {
32211     "type": "get",
32212     "url": "/ShowUser",
32213     "title": "Gets a single User",
32214     "name": "ShowUser",
32215     "group": "Users",
32216     "parameter": {
32217       "fields": {
32218         "Body": [
32219           {
32220             "group": "Body",
32221             "type": "Object",
32222             "optional": true,
32223             "field": "options.attributes",
32224             "description": ""
32225           },
32226           {
32227             "group": "Body",
32228             "type": "Object",
32229             "optional": false,
32230             "field": "options.where",
32231             "description": ""
32232           }
32233         ]
32234       }
32235     },
32236     "version": "0.0.0",
32237     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.rpc.js",
32238     "groupTitle": "Users"
32239   },
32240   {
32241     "type": "get",
32242     "url": "/api/users/{id}",
32243     "title": "Gets a single User",
32244     "examples": [
32245       {
32246         "title": "Example usage:",
32247         "content": "curl https://{domain}/api/users/{id} -v -u {name}:{password}",
32248         "type": "json"
32249       }
32250     ],
32251     "name": "ShowUsers",
32252     "group": "Users",
32253     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32254     "version": "0.0.0",
32255     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32256     "groupTitle": "Users"
32257   },
32258   {
32259     "type": "post",
32260     "url": "/api/users/{id}/unpause",
32261     "title": "Unpause",
32262     "examples": [
32263       {
32264         "title": "Example usage:",
32265         "content": "curl https://{domain}/api/users/{id}/unpause -v -u {name}:{password} -X POST",
32266         "type": "json"
32267       }
32268     ],
32269     "name": "Unpause",
32270     "group": "Users",
32271     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32272     "version": "0.0.0",
32273     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32274     "groupTitle": "Users"
32275   },
32276   {
32277     "type": "post",
32278     "url": "/UnpauseUser",
32279     "title": "Remove a User from pause",
32280     "name": "UnpauseUser",
32281     "group": "Users",
32282     "parameter": {
32283       "fields": {
32284         "Body": [
32285           {
32286             "group": "Body",
32287             "type": "Object",
32288             "optional": true,
32289             "field": "options.attributes",
32290             "description": ""
32291           },
32292           {
32293             "group": "Body",
32294             "type": "Object",
32295             "optional": false,
32296             "field": "options.where",
32297             "description": ""
32298           }
32299         ]
32300       }
32301     },
32302     "version": "0.0.0",
32303     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/user.rpc.js",
32304     "groupTitle": "Users"
32305   },
32306   {
32307     "type": "get",
32308     "url": "/api/users/whoami",
32309     "title": "WhoAmI",
32310     "examples": [
32311       {
32312         "title": "Example usage:",
32313         "content": "curl https://{domain}/api/users/whoami -v -u {name}:{password} -X GET",
32314         "type": "json"
32315       }
32316     ],
32317     "name": "WhoAmI",
32318     "group": "Users",
32319     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32320     "version": "0.0.0",
32321     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32322     "groupTitle": "Users"
32323   },
32324   {
32325     "type": "post",
32326     "url": "/api/users/{id}/avatar",
32327     "title": "Add avatar",
32328     "examples": [
32329       {
32330         "title": "Example usage:",
32331         "content": "curl https://{domain}/api/users/{id}/avatar -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
32332         "type": "json"
32333       }
32334     ],
32335     "name": "addAvatar",
32336     "group": "Users",
32337     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32338     "version": "0.0.0",
32339     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32340     "groupTitle": "Users"
32341   },
32342   {
32343     "type": "post",
32344     "url": "/api/users/create_many",
32345     "title": "Create Users",
32346     "examples": [
32347       {
32348         "title": "Example usage:",
32349         "content": "curl https://{domain}/api/users/create_many -d '[{\"name\": \"john.doe\", \"role\": \"user\", \"...\": \"...\"}]' -v -u {name}:{password} -X POST",
32350         "type": "json"
32351       }
32352     ],
32353     "name": "bulkCreate",
32354     "group": "Users",
32355     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32356     "version": "0.0.0",
32357     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32358     "groupTitle": "Users"
32359   },
32360   {
32361     "type": "get",
32362     "url": "/api/users/{id}/avatar",
32363     "title": "Get avatar",
32364     "examples": [
32365       {
32366         "title": "Example usage:",
32367         "content": "curl https://{domain}/api/users/{id}/avatar -v -u {name}:{password} -X GET",
32368         "type": "json"
32369       }
32370     ],
32371     "name": "getAvatar",
32372     "group": "Users",
32373     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32374     "version": "0.0.0",
32375     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32376     "groupTitle": "Users"
32377   },
32378   {
32379     "type": "put",
32380     "url": "/api/users/{id}",
32381     "title": "Update an existing User",
32382     "examples": [
32383       {
32384         "title": "Example usage:",
32385         "content": "curl https://{domain}/api/users/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
32386         "type": "json"
32387       }
32388     ],
32389     "name": "updateUsers",
32390     "group": "Users",
32391     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32392     "version": "0.0.0",
32393     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/user/index.js",
32394     "groupTitle": "Users"
32395   },
32396   {
32397     "type": "post",
32398     "url": "/api/variables",
32399     "title": "Creates a new Variable",
32400     "examples": [
32401       {
32402         "title": "Example usage:",
32403         "content": "curl https://{domain}/api/variables -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
32404         "type": "json"
32405       }
32406     ],
32407     "name": "CreateVariables",
32408     "group": "Variables",
32409     "parameter": {
32410       "fields": {
32411         "Body": [
32412           {
32413             "group": "Body",
32414             "type": "String",
32415             "optional": false,
32416             "field": "name",
32417             "description": ""
32418           },
32419           {
32420             "group": "Body",
32421             "type": "String",
32422             "optional": true,
32423             "field": "description",
32424             "description": ""
32425           }
32426         ]
32427       }
32428     },
32429     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32430     "version": "0.0.0",
32431     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/variable/index.js",
32432     "groupTitle": "Variables"
32433   },
32434   {
32435     "type": "delete",
32436     "url": "/api/variables/{id}",
32437     "title": "Deletes a Variable",
32438     "examples": [
32439       {
32440         "title": "Example usage:",
32441         "content": "curl https://{domain}/api/variables/{id} -v -u {name}:{password} -X DELETE",
32442         "type": "json"
32443       }
32444     ],
32445     "name": "DeleteVariables",
32446     "group": "Variables",
32447     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32448     "version": "0.0.0",
32449     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/variable/index.js",
32450     "groupTitle": "Variables"
32451   },
32452   {
32453     "type": "get",
32454     "url": "/api/variables",
32455     "title": "Gets a list of Variables",
32456     "examples": [
32457       {
32458         "title": "Example usage:",
32459         "content": "curl https://{domain}/api/variables -v -u {name}:{password}",
32460         "type": "json"
32461       }
32462     ],
32463     "name": "GetVariables",
32464     "group": "Variables",
32465     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/variables?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/variables?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/variables?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/variables?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/variables?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
32466     "version": "0.0.0",
32467     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/variable/index.js",
32468     "groupTitle": "Variables"
32469   },
32470   {
32471     "type": "get",
32472     "url": "/ShowVariable",
32473     "title": "Gets a single Variable",
32474     "name": "ShowVariable",
32475     "group": "Variables",
32476     "parameter": {
32477       "fields": {
32478         "Body": [
32479           {
32480             "group": "Body",
32481             "type": "Object",
32482             "optional": true,
32483             "field": "options.attributes",
32484             "description": ""
32485           },
32486           {
32487             "group": "Body",
32488             "type": "Object",
32489             "optional": false,
32490             "field": "options.where",
32491             "description": ""
32492           }
32493         ]
32494       }
32495     },
32496     "version": "0.0.0",
32497     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/variable/variable.rpc.js",
32498     "groupTitle": "Variables"
32499   },
32500   {
32501     "type": "get",
32502     "url": "/api/variables/{id}",
32503     "title": "Gets a single Variable",
32504     "examples": [
32505       {
32506         "title": "Example usage:",
32507         "content": "curl https://{domain}/api/variables/{id} -v -u {name}:{password}",
32508         "type": "json"
32509       }
32510     ],
32511     "name": "ShowVariables",
32512     "group": "Variables",
32513     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32514     "version": "0.0.0",
32515     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/variable/index.js",
32516     "groupTitle": "Variables"
32517   },
32518   {
32519     "type": "put",
32520     "url": "/api/variables/{id}",
32521     "title": "Update an existing Variable",
32522     "examples": [
32523       {
32524         "title": "Example usage:",
32525         "content": "curl https://{domain}/api/variables/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
32526         "type": "json"
32527       }
32528     ],
32529     "name": "updateVariables",
32530     "group": "Variables",
32531     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32532     "version": "0.0.0",
32533     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/variable/index.js",
32534     "groupTitle": "Variables"
32535   },
32536   {
32537     "type": "get",
32538     "url": "/api/version/fetch",
32539     "title": "Fetch git version",
32540     "examples": [
32541       {
32542         "title": "Example usage:",
32543         "content": "curl https://{domain}/api/version/fetch -v -u {name}:{password}",
32544         "type": "json"
32545       }
32546     ],
32547     "name": "FetchVersion",
32548     "group": "Version",
32549     "description": "<p>Motion run the following command: git fetch origin master</p>",
32550     "version": "0.0.0",
32551     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/version/index.js",
32552     "groupTitle": "Version"
32553   },
32554   {
32555     "type": "get",
32556     "url": "/api/version",
32557     "title": "Gets version",
32558     "examples": [
32559       {
32560         "title": "Example usage:",
32561         "content": "curl https://{domain}/api/version -v -u {name}:{password}",
32562         "type": "json"
32563       }
32564     ],
32565     "name": "GetVersion",
32566     "group": "Version",
32567     "description": "<p>Motion returns the current and latest motion version.</p>",
32568     "version": "0.0.0",
32569     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/version/index.js",
32570     "groupTitle": "Version"
32571   },
32572   {
32573     "type": "get",
32574     "url": "/api/version/migrations",
32575     "title": "Launch database migrations",
32576     "examples": [
32577       {
32578         "title": "Example usage:",
32579         "content": "curl https://{domain}/api/version/migrations -v -u {name}:{password}",
32580         "type": "json"
32581       }
32582     ],
32583     "name": "MigrateVersion",
32584     "group": "Version",
32585     "description": "<p>Motion launch the database migrations, according to the application version</p>",
32586     "version": "0.0.0",
32587     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/version/index.js",
32588     "groupTitle": "Version"
32589   },
32590   {
32591     "type": "get",
32592     "url": "/api/version/pull",
32593     "title": "Pull git version",
32594     "examples": [
32595       {
32596         "title": "Example usage:",
32597         "content": "curl https://{domain}/api/version/pull -v -u {name}:{password}",
32598         "type": "json"
32599       }
32600     ],
32601     "name": "PullVersion",
32602     "group": "Version",
32603     "description": "<p>Motion run the following command: git pull</p>",
32604     "version": "0.0.0",
32605     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/version/index.js",
32606     "groupTitle": "Version"
32607   },
32608   {
32609     "type": "get",
32610     "url": "/api/version/reset",
32611     "title": "Reset git version",
32612     "examples": [
32613       {
32614         "title": "Example usage:",
32615         "content": "curl https://{domain}/api/version/reset -v -u {name}:{password}",
32616         "type": "json"
32617       }
32618     ],
32619     "name": "ResetVersion",
32620     "group": "Version",
32621     "description": "<p>Motion run the following command: git reset --hard FETCH_HEAD</p>",
32622     "version": "0.0.0",
32623     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/version/index.js",
32624     "groupTitle": "Version"
32625   },
32626   {
32627     "type": "get",
32628     "url": "/api/version/restart",
32629     "title": "Restart motion2 after update",
32630     "examples": [
32631       {
32632         "title": "Example usage:",
32633         "content": "curl https://{domain}/api/version/restart -v -u {name}:{password}",
32634         "type": "json"
32635       }
32636     ],
32637     "name": "RestartVersion",
32638     "group": "Version",
32639     "description": "<p>Motion run the following command: pm2 restart motion</p>",
32640     "version": "0.0.0",
32641     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/version/index.js",
32642     "groupTitle": "Version"
32643   },
32644   {
32645     "type": "post",
32646     "url": "/CreateVoiceAgentReport",
32647     "title": "Creates a new Agent Report",
32648     "name": "CreateVoiceAgentReport",
32649     "group": "Voice_Agent_Reports",
32650     "version": "0.0.0",
32651     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceAgentReport/voiceAgentReport.rpc.js",
32652     "groupTitle": "Voice_Agent_Reports"
32653   },
32654   {
32655     "type": "get",
32656     "url": "/api/voice/agents/reports/describe",
32657     "title": "Gets table info about Agent Reports",
32658     "examples": [
32659       {
32660         "title": "Example usage:",
32661         "content": "curl https://{domain}/api/voice/agents/reports/describe -v -u {name}:{password}",
32662         "type": "json"
32663       }
32664     ],
32665     "name": "DescribeAgent_Reports",
32666     "group": "Voice_Agent_Reports",
32667     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32668     "version": "0.0.0",
32669     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceAgentReport/index.js",
32670     "groupTitle": "Voice_Agent_Reports"
32671   },
32672   {
32673     "type": "get",
32674     "url": "/api/voice/agents/reports",
32675     "title": "Gets a list of Agent Reports",
32676     "examples": [
32677       {
32678         "title": "Example usage:",
32679         "content": "curl https://{domain}/api/voice/agents/reports -v -u {name}:{password}",
32680         "type": "json"
32681       }
32682     ],
32683     "name": "GetAgent_Reports",
32684     "group": "Voice_Agent_Reports",
32685     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/agents/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/agents/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/agents/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/agents/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/agents/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
32686     "version": "0.0.0",
32687     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceAgentReport/index.js",
32688     "groupTitle": "Voice_Agent_Reports"
32689   },
32690   {
32691     "type": "get",
32692     "url": "/api/voice/agents/reports/{id}",
32693     "title": "Gets a single Agent Report",
32694     "examples": [
32695       {
32696         "title": "Example usage:",
32697         "content": "curl https://{domain}/api/voice/agents/reports/{id} -v -u {name}:{password}",
32698         "type": "json"
32699       }
32700     ],
32701     "name": "ShowAgent_Reports",
32702     "group": "Voice_Agent_Reports",
32703     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32704     "version": "0.0.0",
32705     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceAgentReport/index.js",
32706     "groupTitle": "Voice_Agent_Reports"
32707   },
32708   {
32709     "type": "post",
32710     "url": "/UpdateVoiceAgentReport",
32711     "title": "Updates a new Agent Report",
32712     "name": "UpdateVoiceAgentReport",
32713     "group": "Voice_Agent_Reports",
32714     "parameter": {
32715       "fields": {
32716         "Body": [
32717           {
32718             "group": "Body",
32719             "type": "Object",
32720             "optional": true,
32721             "field": "options.attributes",
32722             "description": ""
32723           },
32724           {
32725             "group": "Body",
32726             "type": "Object",
32727             "optional": false,
32728             "field": "options.where",
32729             "description": ""
32730           }
32731         ]
32732       }
32733     },
32734     "version": "0.0.0",
32735     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceAgentReport/voiceAgentReport.rpc.js",
32736     "groupTitle": "Voice_Agent_Reports"
32737   },
32738   {
32739     "type": "post",
32740     "url": "/CreateVoiceCallReport",
32741     "title": "Creates a new Call Report",
32742     "name": "CreateVoiceCallReport",
32743     "group": "Voice_Call_Reports",
32744     "version": "0.0.0",
32745     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceCallReport/voiceCallReport.rpc.js",
32746     "groupTitle": "Voice_Call_Reports"
32747   },
32748   {
32749     "type": "get",
32750     "url": "/api/voice/calls/reports/describe",
32751     "title": "Gets table info about Call Reports",
32752     "examples": [
32753       {
32754         "title": "Example usage:",
32755         "content": "curl https://{domain}/api/voice/calls/reports/describe -v -u {name}:{password}",
32756         "type": "json"
32757       }
32758     ],
32759     "name": "DescribeCall_Reports",
32760     "group": "Voice_Call_Reports",
32761     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32762     "version": "0.0.0",
32763     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceCallReport/index.js",
32764     "groupTitle": "Voice_Call_Reports"
32765   },
32766   {
32767     "type": "get",
32768     "url": "/api/voice/calls/reports",
32769     "title": "Gets a list of Call Reports",
32770     "examples": [
32771       {
32772         "title": "Example usage:",
32773         "content": "curl https://{domain}/api/voice/calls/reports -v -u {name}:{password}",
32774         "type": "json"
32775       }
32776     ],
32777     "name": "GetCall_Reports",
32778     "group": "Voice_Call_Reports",
32779     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/calls/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/calls/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/calls/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/calls/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/calls/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
32780     "version": "0.0.0",
32781     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceCallReport/index.js",
32782     "groupTitle": "Voice_Call_Reports"
32783   },
32784   {
32785     "type": "get",
32786     "url": "/GetVoiceCallReport",
32787     "title": "Gets a list of Call Reports",
32788     "name": "GetVoiceCallReport",
32789     "group": "Voice_Call_Reports",
32790     "parameter": {
32791       "fields": {
32792         "Body": [
32793           {
32794             "group": "Body",
32795             "type": "Object",
32796             "optional": true,
32797             "field": "options.attributes",
32798             "description": ""
32799           },
32800           {
32801             "group": "Body",
32802             "type": "Object",
32803             "optional": true,
32804             "field": "options.where",
32805             "description": ""
32806           }
32807         ]
32808       }
32809     },
32810     "version": "0.0.0",
32811     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceCallReport/voiceCallReport.rpc.js",
32812     "groupTitle": "Voice_Call_Reports"
32813   },
32814   {
32815     "type": "get",
32816     "url": "/api/voice/calls/reports/{id}",
32817     "title": "Gets a single Call Report",
32818     "examples": [
32819       {
32820         "title": "Example usage:",
32821         "content": "curl https://{domain}/api/voice/calls/reports/{id} -v -u {name}:{password}",
32822         "type": "json"
32823       }
32824     ],
32825     "name": "ShowCall_Reports",
32826     "group": "Voice_Call_Reports",
32827     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32828     "version": "0.0.0",
32829     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceCallReport/index.js",
32830     "groupTitle": "Voice_Call_Reports"
32831   },
32832   {
32833     "type": "post",
32834     "url": "/UpdateVoiceCallReport",
32835     "title": "Updates a new Call Report",
32836     "name": "UpdateVoiceCallReport",
32837     "group": "Voice_Call_Reports",
32838     "parameter": {
32839       "fields": {
32840         "Body": [
32841           {
32842             "group": "Body",
32843             "type": "Object",
32844             "optional": true,
32845             "field": "options.attributes",
32846             "description": ""
32847           },
32848           {
32849             "group": "Body",
32850             "type": "Object",
32851             "optional": false,
32852             "field": "options.where",
32853             "description": ""
32854           }
32855         ]
32856       }
32857     },
32858     "version": "0.0.0",
32859     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceCallReport/voiceCallReport.rpc.js",
32860     "groupTitle": "Voice_Call_Reports"
32861   },
32862   {
32863     "type": "put",
32864     "url": "/api/voice/calls/reports/{id}",
32865     "title": "Update a single cdr",
32866     "examples": [
32867       {
32868         "title": "Example usage:",
32869         "content": "curl https://{domain}/api/voice/calls/reports/{id} -d '{\"userDispositio\": \"OK\"}' -v -u {name}:{password} -X PUT",
32870         "type": "json"
32871       }
32872     ],
32873     "name": "update",
32874     "group": "Voice_Call_Reports",
32875     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32876     "version": "0.0.0",
32877     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceCallReport/index.js",
32878     "groupTitle": "Voice_Call_Reports"
32879   },
32880   {
32881     "type": "post",
32882     "url": "/api/voice/chanspy",
32883     "title": "Creates a new ChanSpy",
32884     "examples": [
32885       {
32886         "title": "Example usage:",
32887         "content": "curl https://{domain}/api/voice/chanspy -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
32888         "type": "json"
32889       }
32890     ],
32891     "name": "CreateChanSpy",
32892     "group": "Voice_ChanSpy",
32893     "parameter": {
32894       "fields": {
32895         "Body": [
32896           {
32897             "group": "Body",
32898             "type": "String",
32899             "optional": true,
32900             "field": "name",
32901             "description": ""
32902           },
32903           {
32904             "group": "Body",
32905             "type": "String",
32906             "optional": false,
32907             "field": "prefix",
32908             "description": ""
32909           },
32910           {
32911             "group": "Body",
32912             "type": "String",
32913             "optional": true,
32914             "field": "options",
32915             "description": ""
32916           },
32917           {
32918             "group": "Body",
32919             "type": "Boolean",
32920             "optional": true,
32921             "field": "auth",
32922             "description": ""
32923           },
32924           {
32925             "group": "Body",
32926             "type": "String",
32927             "optional": true,
32928             "field": "password",
32929             "description": ""
32930           },
32931           {
32932             "group": "Body",
32933             "type": "Boolean",
32934             "optional": true,
32935             "field": "record",
32936             "description": ""
32937           },
32938           {
32939             "group": "Body",
32940             "type": "String",
32941             "optional": true,
32942             "field": "recordingFormat",
32943             "description": ""
32944           },
32945           {
32946             "group": "Body",
32947             "type": "String",
32948             "optional": true,
32949             "field": "description",
32950             "description": ""
32951           }
32952         ]
32953       }
32954     },
32955     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32956     "version": "0.0.0",
32957     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceChanSpy/index.js",
32958     "groupTitle": "Voice_ChanSpy"
32959   },
32960   {
32961     "type": "delete",
32962     "url": "/api/voice/chanspy/{id}",
32963     "title": "Deletes a ChanSpy",
32964     "examples": [
32965       {
32966         "title": "Example usage:",
32967         "content": "curl https://{domain}/api/voice/chanspy/{id} -v -u {name}:{password} -X DELETE",
32968         "type": "json"
32969       }
32970     ],
32971     "name": "DeleteChanSpy",
32972     "group": "Voice_ChanSpy",
32973     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32974     "version": "0.0.0",
32975     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceChanSpy/index.js",
32976     "groupTitle": "Voice_ChanSpy"
32977   },
32978   {
32979     "type": "get",
32980     "url": "/api/voice/chanspy",
32981     "title": "Gets a list of ChanSpy",
32982     "examples": [
32983       {
32984         "title": "Example usage:",
32985         "content": "curl https://{domain}/api/voice/chanspy -v -u {name}:{password}",
32986         "type": "json"
32987       }
32988     ],
32989     "name": "GetChanSpy",
32990     "group": "Voice_ChanSpy",
32991     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/chanspy?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/chanspy?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/chanspy?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/chanspy?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/chanspy?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
32992     "version": "0.0.0",
32993     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceChanSpy/index.js",
32994     "groupTitle": "Voice_ChanSpy"
32995   },
32996   {
32997     "type": "get",
32998     "url": "/api/voice/chanspy/{id}",
32999     "title": "Gets a single ChanSpy",
33000     "examples": [
33001       {
33002         "title": "Example usage:",
33003         "content": "curl https://{domain}/api/voice/chanspy/{id} -v -u {name}:{password}",
33004         "type": "json"
33005       }
33006     ],
33007     "name": "ShowChanSpy",
33008     "group": "Voice_ChanSpy",
33009     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33010     "version": "0.0.0",
33011     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceChanSpy/index.js",
33012     "groupTitle": "Voice_ChanSpy"
33013   },
33014   {
33015     "type": "put",
33016     "url": "/api/voice/chanspy/{id}",
33017     "title": "Update an existing ChanSpy",
33018     "examples": [
33019       {
33020         "title": "Example usage:",
33021         "content": "curl https://{domain}/api/voice/chanspy/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
33022         "type": "json"
33023       }
33024     ],
33025     "name": "updateChanSpy",
33026     "group": "Voice_ChanSpy",
33027     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33028     "version": "0.0.0",
33029     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceChanSpy/index.js",
33030     "groupTitle": "Voice_ChanSpy"
33031   },
33032   {
33033     "type": "post",
33034     "url": "/api/voice/contexts",
33035     "title": "Create a new context",
33036     "examples": [
33037       {
33038         "title": "Example usage:",
33039         "content": "curl https://{domain}/api/voice/contexts -v -u {name}:{password} -X POST",
33040         "type": "json"
33041       }
33042     ],
33043     "name": "Create",
33044     "group": "Voice_Contexts",
33045     "parameter": {
33046       "fields": {
33047         "Body": [
33048           {
33049             "group": "Body",
33050             "type": "String",
33051             "optional": true,
33052             "field": "name",
33053             "description": ""
33054           },
33055           {
33056             "group": "Body",
33057             "type": "String",
33058             "optional": true,
33059             "field": "description",
33060             "description": ""
33061           },
33062           {
33063             "group": "Body",
33064             "type": "Boolean",
33065             "optional": true,
33066             "field": "defaultEntry",
33067             "description": ""
33068           }
33069         ]
33070       }
33071     },
33072     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33073     "version": "0.0.0",
33074     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceContext/index.js",
33075     "groupTitle": "Voice_Contexts"
33076   },
33077   {
33078     "type": "delete",
33079     "url": "/api/voice/contexts/{id}",
33080     "title": "Deletes a context",
33081     "examples": [
33082       {
33083         "title": "Example usage:",
33084         "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password} -X DELETE",
33085         "type": "json"
33086       }
33087     ],
33088     "name": "Delete",
33089     "group": "Voice_Contexts",
33090     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33091     "version": "0.0.0",
33092     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceContext/index.js",
33093     "groupTitle": "Voice_Contexts"
33094   },
33095   {
33096     "type": "get",
33097     "url": "/api/voice/contexts",
33098     "title": "Gets a list of Contexts",
33099     "examples": [
33100       {
33101         "title": "Example usage:",
33102         "content": "curl https://{domain}/api/voice/contexts -v -u {name}:{password}",
33103         "type": "json"
33104       }
33105     ],
33106     "name": "GetContexts",
33107     "group": "Voice_Contexts",
33108     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/contexts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/contexts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/contexts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/contexts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/contexts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
33109     "version": "0.0.0",
33110     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceContext/index.js",
33111     "groupTitle": "Voice_Contexts"
33112   },
33113   {
33114     "type": "get",
33115     "url": "/api/voice/contexts/{id}",
33116     "title": "Gets a single Context",
33117     "examples": [
33118       {
33119         "title": "Example usage:",
33120         "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password}",
33121         "type": "json"
33122       }
33123     ],
33124     "name": "ShowContexts",
33125     "group": "Voice_Contexts",
33126     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33127     "version": "0.0.0",
33128     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceContext/index.js",
33129     "groupTitle": "Voice_Contexts"
33130   },
33131   {
33132     "type": "put",
33133     "url": "/api/voice/contexts/{id}",
33134     "title": "Update an existing context",
33135     "examples": [
33136       {
33137         "title": "Example usage:",
33138         "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password} -X PUT",
33139         "type": "json"
33140       }
33141     ],
33142     "name": "Update",
33143     "group": "Voice_Contexts",
33144     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33145     "version": "0.0.0",
33146     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceContext/index.js",
33147     "groupTitle": "Voice_Contexts"
33148   },
33149   {
33150     "type": "post",
33151     "url": "/CreateVoiceDialReport",
33152     "title": "Creates a new Dial Report",
33153     "name": "CreateVoiceDialReport",
33154     "group": "Voice_Dial_Reports",
33155     "version": "0.0.0",
33156     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceDialReport/voiceDialReport.rpc.js",
33157     "groupTitle": "Voice_Dial_Reports"
33158   },
33159   {
33160     "type": "get",
33161     "url": "/api/voice/dials/reports/describe",
33162     "title": "Gets table info about Dial Reports",
33163     "examples": [
33164       {
33165         "title": "Example usage:",
33166         "content": "curl https://{domain}/api/voice/dials/reports/describe -v -u {name}:{password}",
33167         "type": "json"
33168       }
33169     ],
33170     "name": "DescribeDial_Reports",
33171     "group": "Voice_Dial_Reports",
33172     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33173     "version": "0.0.0",
33174     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceDialReport/index.js",
33175     "groupTitle": "Voice_Dial_Reports"
33176   },
33177   {
33178     "type": "get",
33179     "url": "/api/voice/dials/reports",
33180     "title": "Gets a list of Dial Reports",
33181     "examples": [
33182       {
33183         "title": "Example usage:",
33184         "content": "curl https://{domain}/api/voice/dials/reports -v -u {name}:{password}",
33185         "type": "json"
33186       }
33187     ],
33188     "name": "GetDial_Reports",
33189     "group": "Voice_Dial_Reports",
33190     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/dials/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/dials/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/dials/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/dials/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/dials/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
33191     "version": "0.0.0",
33192     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceDialReport/index.js",
33193     "groupTitle": "Voice_Dial_Reports"
33194   },
33195   {
33196     "type": "get",
33197     "url": "/api/voice/dials/reports/{id}",
33198     "title": "Gets a single Dial Report",
33199     "examples": [
33200       {
33201         "title": "Example usage:",
33202         "content": "curl https://{domain}/api/voice/dials/reports/{id} -v -u {name}:{password}",
33203         "type": "json"
33204       }
33205     ],
33206     "name": "ShowDial_Reports",
33207     "group": "Voice_Dial_Reports",
33208     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33209     "version": "0.0.0",
33210     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceDialReport/index.js",
33211     "groupTitle": "Voice_Dial_Reports"
33212   },
33213   {
33214     "type": "post",
33215     "url": "/UpdateVoiceDialReport",
33216     "title": "Updates a new Dial Report",
33217     "name": "UpdateVoiceDialReport",
33218     "group": "Voice_Dial_Reports",
33219     "parameter": {
33220       "fields": {
33221         "Body": [
33222           {
33223             "group": "Body",
33224             "type": "Object",
33225             "optional": true,
33226             "field": "options.attributes",
33227             "description": ""
33228           },
33229           {
33230             "group": "Body",
33231             "type": "Object",
33232             "optional": false,
33233             "field": "options.where",
33234             "description": ""
33235           }
33236         ]
33237       }
33238     },
33239     "version": "0.0.0",
33240     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceDialReport/voiceDialReport.rpc.js",
33241     "groupTitle": "Voice_Dial_Reports"
33242   },
33243   {
33244     "type": "delete",
33245     "url": "/api/voice/extensions/{id}",
33246     "title": "Deletes a Extension",
33247     "examples": [
33248       {
33249         "title": "Example usage:",
33250         "content": "curl https://{domain}/api/voice/extensions/{id} -v -u {name}:{password} -X DELETE",
33251         "type": "json"
33252       }
33253     ],
33254     "name": "DeleteExtensions",
33255     "group": "Voice_Extensions",
33256     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33257     "version": "0.0.0",
33258     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceExtension/index.js",
33259     "groupTitle": "Voice_Extensions"
33260   },
33261   {
33262     "type": "get",
33263     "url": "/api/voice/extensions",
33264     "title": "Gets a list of Extensions",
33265     "examples": [
33266       {
33267         "title": "Example usage:",
33268         "content": "curl https://{domain}/api/voice/extensions -v -u {name}:{password}",
33269         "type": "json"
33270       }
33271     ],
33272     "name": "GetExtensions",
33273     "group": "Voice_Extensions",
33274     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/extensions?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/extensions?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/extensions?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/extensions?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/extensions?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
33275     "version": "0.0.0",
33276     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceExtension/index.js",
33277     "groupTitle": "Voice_Extensions"
33278   },
33279   {
33280     "type": "get",
33281     "url": "/GetVoiceExtension",
33282     "title": "Gets a list of Extensions",
33283     "name": "GetVoiceExtension",
33284     "group": "Voice_Extensions",
33285     "parameter": {
33286       "fields": {
33287         "Body": [
33288           {
33289             "group": "Body",
33290             "type": "Object",
33291             "optional": true,
33292             "field": "options.attributes",
33293             "description": ""
33294           },
33295           {
33296             "group": "Body",
33297             "type": "Object",
33298             "optional": true,
33299             "field": "options.where",
33300             "description": ""
33301           }
33302         ]
33303       }
33304     },
33305     "version": "0.0.0",
33306     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceExtension/voiceExtension.rpc.js",
33307     "groupTitle": "Voice_Extensions"
33308   },
33309   {
33310     "type": "get",
33311     "url": "/api/voice/extensions/{id}",
33312     "title": "Gets a single Extension",
33313     "examples": [
33314       {
33315         "title": "Example usage:",
33316         "content": "curl https://{domain}/api/voice/extensions/{id} -v -u {name}:{password}",
33317         "type": "json"
33318       }
33319     ],
33320     "name": "ShowExtensions",
33321     "group": "Voice_Extensions",
33322     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33323     "version": "0.0.0",
33324     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceExtension/index.js",
33325     "groupTitle": "Voice_Extensions"
33326   },
33327   {
33328     "type": "post",
33329     "url": "/api/voice/extensions",
33330     "title": "Create new applications",
33331     "examples": [
33332       {
33333         "title": "Example usage:",
33334         "content": "curl https://{domain}/api/voice/extensions/{id}/applications -d '[{\"app\": \"Set\", \"appdata\": \"CALLERDNID=${CALLER(dnid)}\"}]' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
33335         "type": "json"
33336       }
33337     ],
33338     "name": "addApplications",
33339     "group": "Voice_Extensions",
33340     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33341     "version": "0.0.0",
33342     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceExtension/index.js",
33343     "groupTitle": "Voice_Extensions"
33344   },
33345   {
33346     "type": "post",
33347     "url": "/api/voice/extensions",
33348     "title": "Create an extension",
33349     "examples": [
33350       {
33351         "title": "Example usage:",
33352         "content": "curl https://{domain}/api/voice/extensions -d '{\"exten\": \"12345\", \"context\": \"from-custom\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
33353         "type": "json"
33354       }
33355     ],
33356     "name": "create",
33357     "group": "Voice_Extensions",
33358     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33359     "version": "0.0.0",
33360     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceExtension/index.js",
33361     "groupTitle": "Voice_Extensions"
33362   },
33363   {
33364     "type": "put",
33365     "url": "/api/voice/extensions/{id}",
33366     "title": "Update an extension",
33367     "examples": [
33368       {
33369         "title": "Example usage:",
33370         "content": "curl https://{domain}/api/voice/extensions/{id} -d '{\"exten\": \"12345\", \"context\": \"from-custom\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
33371         "type": "json"
33372       }
33373     ],
33374     "name": "update",
33375     "group": "Voice_Extensions",
33376     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33377     "version": "0.0.0",
33378     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceExtension/index.js",
33379     "groupTitle": "Voice_Extensions"
33380   },
33381   {
33382     "type": "post",
33383     "url": "/api/voice/mohs",
33384     "title": "Create a new a new MOH",
33385     "examples": [
33386       {
33387         "title": "Example usage:",
33388         "content": "curl https://{domain}/api/voice/mohs -d '{\"name\": \"xmas_musics\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
33389         "type": "json"
33390       }
33391     ],
33392     "name": "AddMoh",
33393     "group": "Voice_MOHs",
33394     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33395     "version": "0.0.0",
33396     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMusicOnHold/index.js",
33397     "groupTitle": "Voice_MOHs"
33398   },
33399   {
33400     "type": "post",
33401     "url": "/api/voice/mohs/{id}/sounds",
33402     "title": "Add sound to MOH",
33403     "examples": [
33404       {
33405         "title": "Example usage:",
33406         "content": "curl https://{domain}/api/voice/mohs/{id}/sounds -d '{\"id\": 1}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
33407         "type": "json"
33408       }
33409     ],
33410     "name": "AddSound",
33411     "group": "Voice_MOHs",
33412     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33413     "version": "0.0.0",
33414     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMusicOnHold/index.js",
33415     "groupTitle": "Voice_MOHs"
33416   },
33417   {
33418     "type": "delete",
33419     "url": "/api/voice/mohs/{id}",
33420     "title": "Deletes an MOH",
33421     "examples": [
33422       {
33423         "title": "Example usage:",
33424         "content": "curl https://{domain}/api/voice/mohs/{id} -v -u {name}:{password} -X DELETE",
33425         "type": "json"
33426       }
33427     ],
33428     "name": "DestroyMoh",
33429     "group": "Voice_MOHs",
33430     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33431     "version": "0.0.0",
33432     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMusicOnHold/index.js",
33433     "groupTitle": "Voice_MOHs"
33434   },
33435   {
33436     "type": "get",
33437     "url": "/api/voice/mohs",
33438     "title": "Gets a list of Music On Holds",
33439     "examples": [
33440       {
33441         "title": "Example usage:",
33442         "content": "curl https://{domain}/api/voice/mohs -v -u {name}:{password}",
33443         "type": "json"
33444       }
33445     ],
33446     "name": "GetMusic_On_Holds",
33447     "group": "Voice_MOHs",
33448     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/mohs?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/mohs?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/mohs?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/mohs?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/mohs?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
33449     "version": "0.0.0",
33450     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMusicOnHold/index.js",
33451     "groupTitle": "Voice_MOHs"
33452   },
33453   {
33454     "type": "get",
33455     "url": "/api/voice/mohs/{id}/sounds",
33456     "title": "Gets sounds from MOH",
33457     "examples": [
33458       {
33459         "title": "Example usage:",
33460         "content": "curl https://{domain}/api/voice/mohs/{id}/sounds -v -u {name}:{password} -X DELETE",
33461         "type": "json"
33462       }
33463     ],
33464     "name": "GetSounds",
33465     "group": "Voice_MOHs",
33466     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33467     "version": "0.0.0",
33468     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMusicOnHold/index.js",
33469     "groupTitle": "Voice_MOHs"
33470   },
33471   {
33472     "type": "delete",
33473     "url": "/api/voice/mohs/{id}/sounds/{id2}",
33474     "title": "Remove sound from MOH",
33475     "examples": [
33476       {
33477         "title": "Example usage:",
33478         "content": "curl https://{domain}/api/voice/mohs/{id}/sounds/{id2} -v -u {name}:{password} -X DELETE",
33479         "type": "json"
33480       }
33481     ],
33482     "name": "RemoveSound",
33483     "group": "Voice_MOHs",
33484     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33485     "version": "0.0.0",
33486     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMusicOnHold/index.js",
33487     "groupTitle": "Voice_MOHs"
33488   },
33489   {
33490     "type": "get",
33491     "url": "/api/voice/mohs/{id}",
33492     "title": "Gets a single Music On Hold",
33493     "examples": [
33494       {
33495         "title": "Example usage:",
33496         "content": "curl https://{domain}/api/voice/mohs/{id} -v -u {name}:{password}",
33497         "type": "json"
33498       }
33499     ],
33500     "name": "ShowMusic_On_Holds",
33501     "group": "Voice_MOHs",
33502     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33503     "version": "0.0.0",
33504     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMusicOnHold/index.js",
33505     "groupTitle": "Voice_MOHs"
33506   },
33507   {
33508     "type": "put",
33509     "url": "/api/voice/mohs/{id}",
33510     "title": "Update an existing Music On Hold",
33511     "examples": [
33512       {
33513         "title": "Example usage:",
33514         "content": "curl https://{domain}/api/voice/mohs/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
33515         "type": "json"
33516       }
33517     ],
33518     "name": "updateMusic_On_Holds",
33519     "group": "Voice_MOHs",
33520     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33521     "version": "0.0.0",
33522     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMusicOnHold/index.js",
33523     "groupTitle": "Voice_MOHs"
33524   },
33525   {
33526     "type": "post",
33527     "url": "/api/voice/mails",
33528     "title": "Creates a new Mail",
33529     "examples": [
33530       {
33531         "title": "Example usage:",
33532         "content": "curl https://{domain}/api/voice/mails -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
33533         "type": "json"
33534       }
33535     ],
33536     "name": "CreateMails",
33537     "group": "Voice_Mails",
33538     "parameter": {
33539       "fields": {
33540         "Body": [
33541           {
33542             "group": "Body",
33543             "type": "String",
33544             "optional": true,
33545             "field": "customer_id",
33546             "description": ""
33547           },
33548           {
33549             "group": "Body",
33550             "type": "String",
33551             "optional": true,
33552             "field": "context",
33553             "description": ""
33554           },
33555           {
33556             "group": "Body",
33557             "type": "String",
33558             "optional": false,
33559             "field": "mailbox",
33560             "description": ""
33561           },
33562           {
33563             "group": "Body",
33564             "type": "String",
33565             "optional": true,
33566             "field": "password",
33567             "description": ""
33568           },
33569           {
33570             "group": "Body",
33571             "type": "String",
33572             "optional": true,
33573             "field": "fullname",
33574             "description": ""
33575           },
33576           {
33577             "group": "Body",
33578             "type": "String",
33579             "optional": true,
33580             "field": "email",
33581             "description": ""
33582           },
33583           {
33584             "group": "Body",
33585             "type": "String",
33586             "optional": true,
33587             "field": "pager",
33588             "description": ""
33589           },
33590           {
33591             "group": "Body",
33592             "type": "String",
33593             "optional": true,
33594             "field": "tz",
33595             "description": ""
33596           },
33597           {
33598             "group": "Body",
33599             "type": "String",
33600             "allowedValues": [
33601               "\"yes\"",
33602               "\"no\""
33603             ],
33604             "optional": false,
33605             "field": "attach",
33606             "description": ""
33607           },
33608           {
33609             "group": "Body",
33610             "type": "String",
33611             "allowedValues": [
33612               "\"yes\"",
33613               "\"no\""
33614             ],
33615             "optional": false,
33616             "field": "saycid",
33617             "description": ""
33618           },
33619           {
33620             "group": "Body",
33621             "type": "String",
33622             "optional": true,
33623             "field": "dialout",
33624             "description": ""
33625           },
33626           {
33627             "group": "Body",
33628             "type": "String",
33629             "optional": true,
33630             "field": "callback",
33631             "description": ""
33632           },
33633           {
33634             "group": "Body",
33635             "type": "String",
33636             "allowedValues": [
33637               "\"yes\"",
33638               "\"no\""
33639             ],
33640             "optional": false,
33641             "field": "review",
33642             "description": ""
33643           },
33644           {
33645             "group": "Body",
33646             "type": "String",
33647             "allowedValues": [
33648               "\"yes\"",
33649               "\"no\""
33650             ],
33651             "optional": false,
33652             "field": "operator",
33653             "description": ""
33654           },
33655           {
33656             "group": "Body",
33657             "type": "String",
33658             "allowedValues": [
33659               "\"yes\"",
33660               "\"no\""
33661             ],
33662             "optional": false,
33663             "field": "envelope",
33664             "description": ""
33665           },
33666           {
33667             "group": "Body",
33668             "type": "String",
33669             "allowedValues": [
33670               "\"yes\"",
33671               "\"no\""
33672             ],
33673             "optional": false,
33674             "field": "sayduration",
33675             "description": ""
33676           },
33677           {
33678             "group": "Body",
33679             "type": "String",
33680             "optional": false,
33681             "field": "saydurationm",
33682             "description": ""
33683           },
33684           {
33685             "group": "Body",
33686             "type": "String",
33687             "allowedValues": [
33688               "\"yes\"",
33689               "\"no\""
33690             ],
33691             "optional": false,
33692             "field": "sendvoicemail",
33693             "description": ""
33694           },
33695           {
33696             "group": "Body",
33697             "type": "String",
33698             "allowedValues": [
33699               "\"yes\"",
33700               "\"no\""
33701             ],
33702             "optional": false,
33703             "field": "delete",
33704             "description": ""
33705           },
33706           {
33707             "group": "Body",
33708             "type": "String",
33709             "allowedValues": [
33710               "\"yes\"",
33711               "\"no\""
33712             ],
33713             "optional": false,
33714             "field": "nextaftercmd",
33715             "description": ""
33716           },
33717           {
33718             "group": "Body",
33719             "type": "String",
33720             "allowedValues": [
33721               "\"yes\"",
33722               "\"no\""
33723             ],
33724             "optional": false,
33725             "field": "forcename",
33726             "description": ""
33727           },
33728           {
33729             "group": "Body",
33730             "type": "String",
33731             "allowedValues": [
33732               "\"yes\"",
33733               "\"no\""
33734             ],
33735             "optional": false,
33736             "field": "forcegreetings",
33737             "description": ""
33738           },
33739           {
33740             "group": "Body",
33741             "type": "String",
33742             "allowedValues": [
33743               "\"yes\"",
33744               "\"no\""
33745             ],
33746             "optional": false,
33747             "field": "hidefromdir",
33748             "description": ""
33749           },
33750           {
33751             "group": "Body",
33752             "type": "String",
33753             "optional": true,
33754             "field": "stamp",
33755             "description": ""
33756           },
33757           {
33758             "group": "Body",
33759             "type": "String",
33760             "optional": true,
33761             "field": "emailsubject",
33762             "description": ""
33763           },
33764           {
33765             "group": "Body",
33766             "type": "String",
33767             "optional": true,
33768             "field": "emailbody",
33769             "description": ""
33770           },
33771           {
33772             "group": "Body",
33773             "type": "Integer",
33774             "optional": false,
33775             "field": "maxsecs",
33776             "description": ""
33777           },
33778           {
33779             "group": "Body",
33780             "type": "Integer",
33781             "optional": false,
33782             "field": "maxmsg",
33783             "description": ""
33784           },
33785           {
33786             "group": "Body",
33787             "type": "Virtual",
33788             "optional": true,
33789             "field": "name",
33790             "description": ""
33791           }
33792         ]
33793       }
33794     },
33795     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33796     "version": "0.0.0",
33797     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMail/index.js",
33798     "groupTitle": "Voice_Mails"
33799   },
33800   {
33801     "type": "delete",
33802     "url": "/api/voice/mails/{id}",
33803     "title": "Deletes a Mail",
33804     "examples": [
33805       {
33806         "title": "Example usage:",
33807         "content": "curl https://{domain}/api/voice/mails/{id} -v -u {name}:{password} -X DELETE",
33808         "type": "json"
33809       }
33810     ],
33811     "name": "DeleteMails",
33812     "group": "Voice_Mails",
33813     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33814     "version": "0.0.0",
33815     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMail/index.js",
33816     "groupTitle": "Voice_Mails"
33817   },
33818   {
33819     "type": "get",
33820     "url": "/api/voice/mails",
33821     "title": "Gets a list of Mails",
33822     "examples": [
33823       {
33824         "title": "Example usage:",
33825         "content": "curl https://{domain}/api/voice/mails -v -u {name}:{password}",
33826         "type": "json"
33827       }
33828     ],
33829     "name": "GetMails",
33830     "group": "Voice_Mails",
33831     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/mails?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/mails?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/mails?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/mails?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/mails?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
33832     "version": "0.0.0",
33833     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMail/index.js",
33834     "groupTitle": "Voice_Mails"
33835   },
33836   {
33837     "type": "get",
33838     "url": "/api/voice/mails/{id}",
33839     "title": "Gets a single Mail",
33840     "examples": [
33841       {
33842         "title": "Example usage:",
33843         "content": "curl https://{domain}/api/voice/mails/{id} -v -u {name}:{password}",
33844         "type": "json"
33845       }
33846     ],
33847     "name": "ShowMails",
33848     "group": "Voice_Mails",
33849     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33850     "version": "0.0.0",
33851     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMail/index.js",
33852     "groupTitle": "Voice_Mails"
33853   },
33854   {
33855     "type": "get",
33856     "url": "/api/voice/mails/{id}/messages",
33857     "title": "Gets voice mail messages",
33858     "examples": [
33859       {
33860         "title": "Example usage:",
33861         "content": "curl https://{domain}/api/voice/mails/{id}/messages -v -u {name}:{password} -X GET",
33862         "type": "json"
33863       }
33864     ],
33865     "name": "getMessages",
33866     "group": "Voice_Mails",
33867     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33868     "version": "0.0.0",
33869     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMail/index.js",
33870     "groupTitle": "Voice_Mails"
33871   },
33872   {
33873     "type": "put",
33874     "url": "/api/voice/mails/{id}",
33875     "title": "Update an existing Mail",
33876     "examples": [
33877       {
33878         "title": "Example usage:",
33879         "content": "curl https://{domain}/api/voice/mails/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
33880         "type": "json"
33881       }
33882     ],
33883     "name": "updateMails",
33884     "group": "Voice_Mails",
33885     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33886     "version": "0.0.0",
33887     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMail/index.js",
33888     "groupTitle": "Voice_Mails"
33889   },
33890   {
33891     "type": "post",
33892     "url": "/api/voice/mails/messages",
33893     "title": "Creates a new Message",
33894     "examples": [
33895       {
33896         "title": "Example usage:",
33897         "content": "curl https://{domain}/api/voice/mails/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
33898         "type": "json"
33899       }
33900     ],
33901     "name": "CreateMessages",
33902     "group": "Voice_Messages",
33903     "parameter": {
33904       "fields": {
33905         "Body": [
33906           {
33907             "group": "Body",
33908             "type": "Virtual",
33909             "optional": true,
33910             "field": "name",
33911             "description": ""
33912           },
33913           {
33914             "group": "Body",
33915             "type": "Integer",
33916             "optional": false,
33917             "field": "msgnum",
33918             "description": ""
33919           },
33920           {
33921             "group": "Body",
33922             "type": "String",
33923             "optional": true,
33924             "field": "dir",
33925             "description": ""
33926           },
33927           {
33928             "group": "Body",
33929             "type": "String",
33930             "optional": true,
33931             "field": "context",
33932             "description": ""
33933           },
33934           {
33935             "group": "Body",
33936             "type": "String",
33937             "optional": true,
33938             "field": "macrocontext",
33939             "description": ""
33940           },
33941           {
33942             "group": "Body",
33943             "type": "String",
33944             "optional": true,
33945             "field": "callerid",
33946             "description": ""
33947           },
33948           {
33949             "group": "Body",
33950             "type": "String",
33951             "optional": true,
33952             "field": "origtime",
33953             "description": ""
33954           },
33955           {
33956             "group": "Body",
33957             "type": "String",
33958             "optional": true,
33959             "field": "duration",
33960             "description": ""
33961           },
33962           {
33963             "group": "Body",
33964             "type": "String",
33965             "optional": true,
33966             "field": "mailboxuser",
33967             "description": ""
33968           },
33969           {
33970             "group": "Body",
33971             "type": "String",
33972             "optional": true,
33973             "field": "mailboxcontext",
33974             "description": ""
33975           },
33976           {
33977             "group": "Body",
33978             "type": "Blob",
33979             "optional": true,
33980             "field": "recording",
33981             "description": ""
33982           },
33983           {
33984             "group": "Body",
33985             "type": "String",
33986             "optional": true,
33987             "field": "flag",
33988             "description": ""
33989           },
33990           {
33991             "group": "Body",
33992             "type": "String",
33993             "optional": true,
33994             "field": "msg_id",
33995             "description": ""
33996           },
33997           {
33998             "group": "Body",
33999             "type": "String",
34000             "optional": false,
34001             "field": "stamp",
34002             "description": ""
34003           }
34004         ]
34005       }
34006     },
34007     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34008     "version": "0.0.0",
34009     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMailMessage/index.js",
34010     "groupTitle": "Voice_Messages"
34011   },
34012   {
34013     "type": "delete",
34014     "url": "/api/voice/mails/messages/{id}",
34015     "title": "Deletes a Message",
34016     "examples": [
34017       {
34018         "title": "Example usage:",
34019         "content": "curl https://{domain}/api/voice/mails/messages/{id} -v -u {name}:{password} -X DELETE",
34020         "type": "json"
34021       }
34022     ],
34023     "name": "DeleteMessages",
34024     "group": "Voice_Messages",
34025     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34026     "version": "0.0.0",
34027     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMailMessage/index.js",
34028     "groupTitle": "Voice_Messages"
34029   },
34030   {
34031     "type": "get",
34032     "url": "/api/voice/mails/messages",
34033     "title": "Gets a list of Messages",
34034     "examples": [
34035       {
34036         "title": "Example usage:",
34037         "content": "curl https://{domain}/api/voice/mails/messages -v -u {name}:{password}",
34038         "type": "json"
34039       }
34040     ],
34041     "name": "GetMessages",
34042     "group": "Voice_Messages",
34043     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/mails/messages?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/mails/messages?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/mails/messages?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/mails/messages?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/mails/messages?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
34044     "version": "0.0.0",
34045     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMailMessage/index.js",
34046     "groupTitle": "Voice_Messages"
34047   },
34048   {
34049     "type": "get",
34050     "url": "/api/voice/mails/messages/{id}",
34051     "title": "Gets a single Message",
34052     "examples": [
34053       {
34054         "title": "Example usage:",
34055         "content": "curl https://{domain}/api/voice/mails/messages/{id} -v -u {name}:{password}",
34056         "type": "json"
34057       }
34058     ],
34059     "name": "ShowMessages",
34060     "group": "Voice_Messages",
34061     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34062     "version": "0.0.0",
34063     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMailMessage/index.js",
34064     "groupTitle": "Voice_Messages"
34065   },
34066   {
34067     "type": "get",
34068     "url": "voice/mails/messages/{id}/download",
34069     "title": "Download Voice Message",
34070     "examples": [
34071       {
34072         "title": "Example usage:",
34073         "content": "curl https://{domain}voice/mails/messages/{id}/download -v -u {name}:{password} -X GET",
34074         "type": "json"
34075       }
34076     ],
34077     "name": "download",
34078     "group": "Voice_Messages",
34079     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34080     "version": "0.0.0",
34081     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMailMessage/index.js",
34082     "groupTitle": "Voice_Messages"
34083   },
34084   {
34085     "type": "put",
34086     "url": "/api/voice/mails/messages/{id}",
34087     "title": "Update an existing Message",
34088     "examples": [
34089       {
34090         "title": "Example usage:",
34091         "content": "curl https://{domain}/api/voice/mails/messages/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
34092         "type": "json"
34093       }
34094     ],
34095     "name": "updateMessages",
34096     "group": "Voice_Messages",
34097     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34098     "version": "0.0.0",
34099     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceMailMessage/index.js",
34100     "groupTitle": "Voice_Messages"
34101   },
34102   {
34103     "type": "post",
34104     "url": "/api/voice/prefixes/{id}/users",
34105     "title": "Add agents to a prefix",
34106     "examples": [
34107       {
34108         "title": "Example usage:",
34109         "content": "curl https://{domain}/api/voice/prefixes/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
34110         "type": "json"
34111       }
34112     ],
34113     "name": "AddAgents",
34114     "group": "Voice_Prefixes",
34115     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34116     "version": "0.0.0",
34117     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voicePrefix/index.js",
34118     "groupTitle": "Voice_Prefixes"
34119   },
34120   {
34121     "type": "delete",
34122     "url": "/api/voice/prefixes/{id}",
34123     "title": "Deletes a Prefix",
34124     "examples": [
34125       {
34126         "title": "Example usage:",
34127         "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password} -X DELETE",
34128         "type": "json"
34129       }
34130     ],
34131     "name": "DeletePrefixes",
34132     "group": "Voice_Prefixes",
34133     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34134     "version": "0.0.0",
34135     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voicePrefix/index.js",
34136     "groupTitle": "Voice_Prefixes"
34137   },
34138   {
34139     "type": "get",
34140     "url": "/api/voice/prefixes/describe",
34141     "title": "Gets table info about Prefixes",
34142     "examples": [
34143       {
34144         "title": "Example usage:",
34145         "content": "curl https://{domain}/api/voice/prefixes/describe -v -u {name}:{password}",
34146         "type": "json"
34147       }
34148     ],
34149     "name": "DescribePrefixes",
34150     "group": "Voice_Prefixes",
34151     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34152     "version": "0.0.0",
34153     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voicePrefix/index.js",
34154     "groupTitle": "Voice_Prefixes"
34155   },
34156   {
34157     "type": "get",
34158     "url": "/api/voice/prefixes/{id}/users",
34159     "title": "Gets agents from prefix",
34160     "examples": [
34161       {
34162         "title": "Example usage:",
34163         "content": "curl https://{domain}/api/voice/prefixes/{id}/users -v -u {name}:{password} -X GET",
34164         "type": "json"
34165       }
34166     ],
34167     "name": "GetAgents",
34168     "group": "Voice_Prefixes",
34169     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34170     "version": "0.0.0",
34171     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voicePrefix/index.js",
34172     "groupTitle": "Voice_Prefixes"
34173   },
34174   {
34175     "type": "get",
34176     "url": "/api/voice/prefixes",
34177     "title": "Gets a list of Prefixes",
34178     "examples": [
34179       {
34180         "title": "Example usage:",
34181         "content": "curl https://{domain}/api/voice/prefixes -v -u {name}:{password}",
34182         "type": "json"
34183       }
34184     ],
34185     "name": "GetPrefixes",
34186     "group": "Voice_Prefixes",
34187     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/prefixes?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/prefixes?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/prefixes?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/prefixes?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/prefixes?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
34188     "version": "0.0.0",
34189     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voicePrefix/index.js",
34190     "groupTitle": "Voice_Prefixes"
34191   },
34192   {
34193     "type": "delete",
34194     "url": "/api/voice/prefixes/{id}/users",
34195     "title": "Removes agents from a prefix",
34196     "examples": [
34197       {
34198         "title": "Example usage:",
34199         "content": "curl https://{domain}/api/voice/prefixes/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
34200         "type": "json"
34201       }
34202     ],
34203     "name": "RemoveAgents",
34204     "group": "Voice_Prefixes",
34205     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34206     "version": "0.0.0",
34207     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voicePrefix/index.js",
34208     "groupTitle": "Voice_Prefixes"
34209   },
34210   {
34211     "type": "get",
34212     "url": "/api/voice/prefixes/{id}",
34213     "title": "Gets a single Prefix",
34214     "examples": [
34215       {
34216         "title": "Example usage:",
34217         "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password}",
34218         "type": "json"
34219       }
34220     ],
34221     "name": "ShowPrefixes",
34222     "group": "Voice_Prefixes",
34223     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34224     "version": "0.0.0",
34225     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voicePrefix/index.js",
34226     "groupTitle": "Voice_Prefixes"
34227   },
34228   {
34229     "type": "put",
34230     "url": "/api/voice/prefixes/{id}",
34231     "title": "Update an existing prefix",
34232     "examples": [
34233       {
34234         "title": "Example usage:",
34235         "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password} -X PUT",
34236         "type": "json"
34237       }
34238     ],
34239     "name": "Update",
34240     "group": "Voice_Prefixes",
34241     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34242     "version": "0.0.0",
34243     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voicePrefix/index.js",
34244     "groupTitle": "Voice_Prefixes"
34245   },
34246   {
34247     "type": "post",
34248     "url": "/api/voice/prefixes",
34249     "title": "Create a prefix",
34250     "examples": [
34251       {
34252         "title": "Example usage:",
34253         "content": "curl https://{domain}/api/voice/prefixes -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
34254         "type": "json"
34255       }
34256     ],
34257     "name": "create",
34258     "group": "Voice_Prefixes",
34259     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34260     "version": "0.0.0",
34261     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voicePrefix/index.js",
34262     "groupTitle": "Voice_Prefixes"
34263   },
34264   {
34265     "type": "post",
34266     "url": "/CreateVoiceQueueReport",
34267     "title": "Creates a new Queue Report",
34268     "name": "CreateVoiceQueueReport",
34269     "group": "Voice_Queue_Reports",
34270     "version": "0.0.0",
34271     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueueReport/voiceQueueReport.rpc.js",
34272     "groupTitle": "Voice_Queue_Reports"
34273   },
34274   {
34275     "type": "get",
34276     "url": "/api/voice/queues/reports/describe",
34277     "title": "Gets table info about Queue Reports",
34278     "examples": [
34279       {
34280         "title": "Example usage:",
34281         "content": "curl https://{domain}/api/voice/queues/reports/describe -v -u {name}:{password}",
34282         "type": "json"
34283       }
34284     ],
34285     "name": "DescribeQueue_Reports",
34286     "group": "Voice_Queue_Reports",
34287     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34288     "version": "0.0.0",
34289     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueueReport/index.js",
34290     "groupTitle": "Voice_Queue_Reports"
34291   },
34292   {
34293     "type": "get",
34294     "url": "/api/voice/queues/reports",
34295     "title": "Gets a list of Queue Reports",
34296     "examples": [
34297       {
34298         "title": "Example usage:",
34299         "content": "curl https://{domain}/api/voice/queues/reports -v -u {name}:{password}",
34300         "type": "json"
34301       }
34302     ],
34303     "name": "GetQueue_Reports",
34304     "group": "Voice_Queue_Reports",
34305     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/queues/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/queues/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/queues/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/queues/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/queues/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
34306     "version": "0.0.0",
34307     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueueReport/index.js",
34308     "groupTitle": "Voice_Queue_Reports"
34309   },
34310   {
34311     "type": "get",
34312     "url": "/GetVoiceQueueReport",
34313     "title": "Gets a list of Queue Reports",
34314     "name": "GetVoiceQueueReport",
34315     "group": "Voice_Queue_Reports",
34316     "parameter": {
34317       "fields": {
34318         "Body": [
34319           {
34320             "group": "Body",
34321             "type": "Object",
34322             "optional": true,
34323             "field": "options.attributes",
34324             "description": ""
34325           },
34326           {
34327             "group": "Body",
34328             "type": "Object",
34329             "optional": true,
34330             "field": "options.where",
34331             "description": ""
34332           }
34333         ]
34334       }
34335     },
34336     "version": "0.0.0",
34337     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueueReport/voiceQueueReport.rpc.js",
34338     "groupTitle": "Voice_Queue_Reports"
34339   },
34340   {
34341     "type": "get",
34342     "url": "/api/voice/queues/reports/{id}",
34343     "title": "Gets a single Queue Report",
34344     "examples": [
34345       {
34346         "title": "Example usage:",
34347         "content": "curl https://{domain}/api/voice/queues/reports/{id} -v -u {name}:{password}",
34348         "type": "json"
34349       }
34350     ],
34351     "name": "ShowQueue_Reports",
34352     "group": "Voice_Queue_Reports",
34353     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34354     "version": "0.0.0",
34355     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueueReport/index.js",
34356     "groupTitle": "Voice_Queue_Reports"
34357   },
34358   {
34359     "type": "post",
34360     "url": "/UpdateVoiceQueueReport",
34361     "title": "Updates a new Queue Report",
34362     "name": "UpdateVoiceQueueReport",
34363     "group": "Voice_Queue_Reports",
34364     "parameter": {
34365       "fields": {
34366         "Body": [
34367           {
34368             "group": "Body",
34369             "type": "Object",
34370             "optional": true,
34371             "field": "options.attributes",
34372             "description": ""
34373           },
34374           {
34375             "group": "Body",
34376             "type": "Object",
34377             "optional": false,
34378             "field": "options.where",
34379             "description": ""
34380           }
34381         ]
34382       }
34383     },
34384     "version": "0.0.0",
34385     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueueReport/voiceQueueReport.rpc.js",
34386     "groupTitle": "Voice_Queue_Reports"
34387   },
34388   {
34389     "type": "get",
34390     "url": "/api/voice/queues/reports/index",
34391     "title": "Get Voice Queues Report",
34392     "examples": [
34393       {
34394         "title": "Example usage:",
34395         "content": "curl https://{domain}/api/voice/queues/reports/index -v -u {name}:{password} -X GET",
34396         "type": "json"
34397       }
34398     ],
34399     "name": "getVoiceQueuesReport",
34400     "group": "Voice_Queue_Reports",
34401     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34402     "version": "0.0.0",
34403     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueueReport/index.js",
34404     "groupTitle": "Voice_Queue_Reports"
34405   },
34406   {
34407     "type": "post",
34408     "url": "/api/voice/queues/{id}/users",
34409     "title": "Add agents to queue",
34410     "examples": [
34411       {
34412         "title": "Example usage:",
34413         "content": "curl https://{domain}/api/voice/queues/{id}/users -d '{\"ids\": [1,2], \"penalty\": 2}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
34414         "type": "json"
34415       }
34416     ],
34417     "name": "AddAgents",
34418     "group": "Voice_Queues",
34419     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34420     "version": "0.0.0",
34421     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
34422     "groupTitle": "Voice_Queues"
34423   },
34424   {
34425     "type": "post",
34426     "url": "/api/voice/queues/{id}/blacklists",
34427     "title": "Add blacklists to a queue",
34428     "examples": [
34429       {
34430         "title": "Example usage:",
34431         "content": "curl https://{domain}/api/voice/queues/{id}/blacklists -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
34432         "type": "json"
34433       }
34434     ],
34435     "name": "AddBlackLists",
34436     "group": "Voice_Queues",
34437     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34438     "version": "0.0.0",
34439     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
34440     "groupTitle": "Voice_Queues"
34441   },
34442   {
34443     "type": "post",
34444     "url": "/api/voice/queues/{id}/lists",
34445     "title": "Add lists to a queue",
34446     "examples": [
34447       {
34448         "title": "Example usage:",
34449         "content": "curl https://{domain}/api/voice/queues/{id}/lists -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
34450         "type": "json"
34451       }
34452     ],
34453     "name": "AddLists",
34454     "group": "Voice_Queues",
34455     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34456     "version": "0.0.0",
34457     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
34458     "groupTitle": "Voice_Queues"
34459   },
34460   {
34461     "type": "post",
34462     "url": "/api/voice/queues/{id}/teams",
34463     "title": "Add teams to queue",
34464     "examples": [
34465       {
34466         "title": "Example usage:",
34467         "content": "curl https://{domain}/api/voice/queues/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
34468         "type": "json"
34469       }
34470     ],
34471     "name": "AddTeams",
34472     "group": "Voice_Queues",
34473     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34474     "version": "0.0.0",
34475     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
34476     "groupTitle": "Voice_Queues"
34477   },
34478   {
34479     "type": "post",
34480     "url": "/api/voice/queues/clone",
34481     "title": "Clone an existing Queue",
34482     "examples": [
34483       {
34484         "title": "Example usage:",
34485         "content": "curl https://{domain}/api/voice/queues/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
34486         "type": "json"
34487       }
34488     ],
34489     "name": "CloneQueues",
34490     "group": "Voice_Queues",
34491     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34492     "version": "0.0.0",
34493     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
34494     "groupTitle": "Voice_Queues"
34495   },
34496   {
34497     "type": "post",
34498     "url": "/api/voice/queues",
34499     "title": "Creates a new Queue",
34500     "examples": [
34501       {
34502         "title": "Example usage:",
34503         "content": "curl https://{domain}/api/voice/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
34504         "type": "json"
34505       }
34506     ],
34507     "name": "CreateQueues",
34508     "group": "Voice_Queues",
34509     "parameter": {
34510       "fields": {
34511         "Body": [
34512           {
34513             "group": "Body",
34514             "type": "String",
34515             "optional": false,
34516             "field": "name",
34517             "description": ""
34518           },
34519           {
34520             "group": "Body",
34521             "type": "String",
34522             "allowedValues": [
34523               "\"inbound\"",
34524               "\"outbound\""
34525             ],
34526             "optional": false,
34527             "field": "type",
34528             "description": ""
34529           },
34530           {
34531             "group": "Body",
34532             "type": "String",
34533             "optional": true,
34534             "field": "musiconhold",
34535             "description": ""
34536           },
34537           {
34538             "group": "Body",
34539             "type": "String",
34540             "optional": true,
34541             "field": "announce",
34542             "description": ""
34543           },
34544           {
34545             "group": "Body",
34546             "type": "String",
34547             "allowedValues": [
34548               "\"rr\"",
34549               "\"ringall\"",
34550               "\"leastrecent\"",
34551               "\"fewestcalls\"",
34552               "\"random\"",
34553               "\"rrmemory\"",
34554               "\"linear\"",
34555               "\"wrandom\"",
34556               "\"rrordered\""
34557             ],
34558             "optional": false,
34559             "field": "strategy",
34560             "description": ""
34561           },
34562           {
34563             "group": "Body",
34564             "type": "Integer",
34565             "optional": true,
34566             "field": "servicelevel",
34567             "description": ""
34568           },
34569           {
34570             "group": "Body",
34571             "type": "String",
34572             "optional": true,
34573             "field": "context",
34574             "description": ""
34575           },
34576           {
34577             "group": "Body",
34578             "type": "Integer",
34579             "optional": true,
34580             "field": "penaltymemberslimit",
34581             "description": ""
34582           },
34583           {
34584             "group": "Body",
34585             "type": "Integer",
34586             "optional": true,
34587             "field": "timeout",
34588             "description": ""
34589           },
34590           {
34591             "group": "Body",
34592             "type": "Integer",
34593             "optional": true,
34594             "field": "retry",
34595             "description": ""
34596           },
34597           {
34598             "group": "Body",
34599             "type": "String",
34600             "optional": true,
34601             "field": "timeoutpriority",
34602             "description": ""
34603           },
34604           {
34605             "group": "Body",
34606             "type": "Integer",
34607             "optional": true,
34608             "field": "weight",
34609             "description": ""
34610           },
34611           {
34612             "group": "Body",
34613             "type": "Integer",
34614             "optional": true,
34615             "field": "wrapuptime",
34616             "description": ""
34617           },
34618           {
34619             "group": "Body",
34620             "type": "String",
34621             "allowedValues": [
34622               "\"yes\"",
34623               "\"no\""
34624             ],
34625             "optional": true,
34626             "field": "autofill",
34627             "description": ""
34628           },
34629           {
34630             "group": "Body",
34631             "type": "String",
34632             "allowedValues": [
34633               "\"yes\"",
34634               "\"no\"",
34635               "\"all\""
34636             ],
34637             "optional": true,
34638             "field": "autopause",
34639             "description": ""
34640           },
34641           {
34642             "group": "Body",
34643             "type": "Integer",
34644             "optional": true,
34645             "field": "autopausedelay",
34646             "description": ""
34647           },
34648           {
34649             "group": "Body",
34650             "type": "String",
34651             "allowedValues": [
34652               "\"yes\"",
34653               "\"no\""
34654             ],
34655             "optional": true,
34656             "field": "autopausebusy",
34657             "description": ""
34658           },
34659           {
34660             "group": "Body",
34661             "type": "String",
34662             "allowedValues": [
34663               "\"yes\"",
34664               "\"no\""
34665             ],
34666             "optional": true,
34667             "field": "autopauseunavail",
34668             "description": ""
34669           },
34670           {
34671             "group": "Body",
34672             "type": "Integer",
34673             "optional": true,
34674             "field": "maxlen",
34675             "description": ""
34676           },
34677           {
34678             "group": "Body",
34679             "type": "String",
34680             "allowedValues": [
34681               "\"yes\"",
34682               "\"no\""
34683             ],
34684             "optional": true,
34685             "field": "setinterfacevar",
34686             "description": ""
34687           },
34688           {
34689             "group": "Body",
34690             "type": "String",
34691             "allowedValues": [
34692               "\"yes\"",
34693               "\"no\""
34694             ],
34695             "optional": true,
34696             "field": "setqueueentryvar",
34697             "description": ""
34698           },
34699           {
34700             "group": "Body",
34701             "type": "String",
34702             "allowedValues": [
34703               "\"yes\"",
34704               "\"no\""
34705             ],
34706             "optional": true,
34707             "field": "setqueuevar",
34708             "description": ""
34709           },
34710           {
34711             "group": "Body",
34712             "type": "String",
34713             "allowedValues": [
34714               "\"yes\"",
34715               "\"no\""
34716             ],
34717             "optional": true,
34718             "field": "eventmemberstatus",
34719             "description": ""
34720           },
34721           {
34722             "group": "Body",
34723             "type": "String",
34724             "optional": true,
34725             "field": "membermacro",
34726             "description": ""
34727           },
34728           {
34729             "group": "Body",
34730             "type": "String",
34731             "optional": true,
34732             "field": "membergosub",
34733             "description": ""
34734           },
34735           {
34736             "group": "Body",
34737             "type": "Integer",
34738             "optional": true,
34739             "field": "announce_frequency",
34740             "description": ""
34741           },
34742           {
34743             "group": "Body",
34744             "type": "Integer",
34745             "optional": true,
34746             "field": "min_announce_frequency",
34747             "description": ""
34748           },
34749           {
34750             "group": "Body",
34751             "type": "Integer",
34752             "optional": true,
34753             "field": "periodic_announce_frequency",
34754             "description": ""
34755           },
34756           {
34757             "group": "Body",
34758             "type": "String",
34759             "allowedValues": [
34760               "\"yes\"",
34761               "\"no\""
34762             ],
34763             "optional": true,
34764             "field": "random_periodic_announce",
34765             "description": ""
34766           },
34767           {
34768             "group": "Body",
34769             "type": "String",
34770             "allowedValues": [
34771               "\"yes\"",
34772               "\"no\""
34773             ],
34774             "optional": true,
34775             "field": "relative_periodic_announce",
34776             "description": ""
34777           },
34778           {
34779             "group": "Body",
34780             "type": "String",
34781             "allowedValues": [
34782               "\"yes\"",
34783               "\"no\"",
34784               "\"once\""
34785             ],
34786             "optional": true,
34787             "field": "announce_holdtime",
34788             "description": ""
34789           },
34790           {
34791             "group": "Body",
34792             "type": "String",
34793             "optional": true,
34794             "field": "announce_position",
34795             "description": ""
34796           },
34797           {
34798             "group": "Body",
34799             "type": "String",
34800             "allowedValues": [
34801               "\"yes\"",
34802               "\"no\""
34803             ],
34804             "optional": true,
34805             "field": "announce_to_first_user",
34806             "description": ""
34807           },
34808           {
34809             "group": "Body",
34810             "type": "Integer",
34811             "optional": true,
34812             "field": "announce_position_limit",
34813             "description": ""
34814           },
34815           {
34816             "group": "Body",
34817             "type": "String",
34818             "allowedValues": [
34819               "\"0\"",
34820               "\"5\"",
34821               "\"10\"",
34822               "\"15\"",
34823               "\"20\"",
34824               "\"30\""
34825             ],
34826             "optional": true,
34827             "field": "announce_round_seconds",
34828             "description": ""
34829           },
34830           {
34831             "group": "Body",
34832             "type": "String",
34833             "optional": true,
34834             "field": "monitor_format",
34835             "description": ""
34836           },
34837           {
34838             "group": "Body",
34839             "type": "String",
34840             "optional": true,
34841             "field": "monitor_type",
34842             "description": ""
34843           },
34844           {
34845             "group": "Body",
34846             "type": "String",
34847             "optional": true,
34848             "field": "queue_youarenext",
34849             "description": ""
34850           },
34851           {
34852             "group": "Body",
34853             "type": "String",
34854             "optional": true,
34855             "field": "queue_thereare",
34856             "description": ""
34857           },
34858           {
34859             "group": "Body",
34860             "type": "String",
34861             "optional": true,
34862             "field": "queue_callswaiting",
34863             "description": ""
34864           },
34865           {
34866             "group": "Body",
34867             "type": "String",
34868             "optional": true,
34869             "field": "queue_holdtime",
34870             "description": ""
34871           },
34872           {
34873             "group": "Body",
34874             "type": "String",
34875             "optional": true,
34876             "field": "queue_minute",
34877             "description": ""
34878           },
34879           {
34880             "group": "Body",
34881             "type": "String",
34882             "optional": true,
34883             "field": "queue_minutes",
34884             "description": ""
34885           },
34886           {
34887             "group": "Body",
34888             "type": "String",
34889             "optional": true,
34890             "field": "queue_seconds",
34891             "description": ""
34892           },
34893           {
34894             "group": "Body",
34895             "type": "String",
34896             "optional": true,
34897             "field": "queue_thankyou",
34898             "description": ""
34899           },
34900           {
34901             "group": "Body",
34902             "type": "String",
34903             "optional": true,
34904             "field": "queue_reporthold",
34905             "description": ""
34906           },
34907           {
34908             "group": "Body",
34909             "type": "String",
34910             "optional": true,
34911             "field": "queue_quantity1",
34912             "description": ""
34913           },
34914           {
34915             "group": "Body",
34916             "type": "String",
34917             "optional": true,
34918             "field": "queue_quantity2",
34919             "description": ""
34920           },
34921           {
34922             "group": "Body",
34923             "type": "String",
34924             "optional": true,
34925             "field": "queue_periodic_announce",
34926             "description": ""
34927           },
34928           {
34929             "group": "Body",
34930             "type": "String",
34931             "optional": true,
34932             "field": "queue_less_than",
34933             "description": ""
34934           },
34935           {
34936             "group": "Body",
34937             "type": "Text",
34938             "optional": true,
34939             "field": "periodic_announce",
34940             "description": ""
34941           },
34942           {
34943             "group": "Body",
34944             "type": "String",
34945             "optional": true,
34946             "field": "joinempty",
34947             "description": ""
34948           },
34949           {
34950             "group": "Body",
34951             "type": "String",
34952             "optional": true,
34953             "field": "leavewhenempty",
34954             "description": ""
34955           },
34956           {
34957             "group": "Body",
34958             "type": "String",
34959             "allowedValues": [
34960               "\"yes\"",
34961               "\"no\""
34962             ],
34963             "optional": true,
34964             "field": "reportholdtime",
34965             "description": ""
34966           },
34967           {
34968             "group": "Body",
34969             "type": "String",
34970             "allowedValues": [
34971               "\"yes\"",
34972               "\"no\""
34973             ],
34974             "optional": true,
34975             "field": "ringinuse",
34976             "description": ""
34977           },
34978           {
34979             "group": "Body",
34980             "type": "Integer",
34981             "optional": true,
34982             "field": "memberdelay",
34983             "description": ""
34984           },
34985           {
34986             "group": "Body",
34987             "type": "String",
34988             "allowedValues": [
34989               "\"yes\"",
34990               "\"no\""
34991             ],
34992             "optional": true,
34993             "field": "timeoutrestart",
34994             "description": ""
34995           },
34996           {
34997             "group": "Body",
34998             "type": "String",
34999             "optional": true,
35000             "field": "defaultrule",
35001             "description": ""
35002           },
35003           {
35004             "group": "Body",
35005             "type": "String",
35006             "optional": true,
35007             "field": "description",
35008             "description": ""
35009           },
35010           {
35011             "group": "Body",
35012             "type": "Boolean",
35013             "optional": true,
35014             "field": "acw",
35015             "description": ""
35016           },
35017           {
35018             "group": "Body",
35019             "type": "Integer",
35020             "optional": true,
35021             "field": "acwTimeout",
35022             "description": ""
35023           },
35024           {
35025             "group": "Body",
35026             "type": "Boolean",
35027             "optional": true,
35028             "field": "dialActive",
35029             "description": "<p>Active/Disactive Campaign</p>"
35030           },
35031           {
35032             "group": "Body",
35033             "type": "String",
35034             "allowedValues": [
35035               "\"preview\"",
35036               "\"progressive\"",
35037               "\"power\"",
35038               "\"predictive\"",
35039               "\"booked\""
35040             ],
35041             "optional": true,
35042             "field": "dialMethod",
35043             "description": "<p>Dial Method.</p>"
35044           },
35045           {
35046             "group": "Body",
35047             "type": "Integer",
35048             "optional": true,
35049             "field": "dialLimitChannel",
35050             "description": "<p>Max 9999 channels, 0 means unlimited.</p>"
35051           },
35052           {
35053             "group": "Body",
35054             "type": "Integer",
35055             "optional": true,
35056             "field": "dialLimitQueue",
35057             "description": "<p>Max 9999 member in queue(min:1, max:9999), 0 means unlimited.</p>"
35058           },
35059           {
35060             "group": "Body",
35061             "type": "Float",
35062             "optional": true,
35063             "field": "dialPowerLevel",
35064             "description": "<p>Power Level: Calls for agents (min:1, max:10).</p>"
35065           },
35066           {
35067             "group": "Body",
35068             "type": "String",
35069             "allowedValues": [
35070               "\"agentBusyFactor\"",
35071               "\"dropRate\""
35072             ],
35073             "optional": true,
35074             "field": "dialPredictiveOptimization",
35075             "description": "<p>Only for predictive method.</p>"
35076           },
35077           {
35078             "group": "Body",
35079             "type": "Float",
35080             "optional": true,
35081             "field": "dialPredictiveOptimizationPercentage",
35082             "description": "<p>Predictive Optimization Percentage (min: 1, max: 95)</p>"
35083           },
35084           {
35085             "group": "Body",
35086             "type": "Integer",
35087             "optional": true,
35088             "field": "dialPredictiveInterval",
35089             "description": "<p>Interval Predictive Minutes (min:5 max:30)</p>"
35090           },
35091           {
35092             "group": "Body",
35093             "type": "String",
35094             "optional": true,
35095             "field": "dialOriginateCallerIdName",
35096             "description": ""
35097           },
35098           {
35099             "group": "Body",
35100             "type": "String",
35101             "optional": true,
35102             "field": "dialOriginateCallerIdNumber",
35103             "description": ""
35104           },
35105           {
35106             "group": "Body",
35107             "type": "Integer",
35108             "optional": true,
35109             "field": "dialOriginateTimeout",
35110             "description": "<p>Originate Timeout Seconds (min:1, max:999)</p>"
35111           },
35112           {
35113             "group": "Body",
35114             "type": "String",
35115             "optional": true,
35116             "field": "dialQueueOptions",
35117             "description": "<p>https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Queue</p>"
35118           },
35119           {
35120             "group": "Body",
35121             "type": "Integer",
35122             "optional": true,
35123             "field": "dialQueueTimeout",
35124             "description": "<p>Queue Timeout Seconds (min:1, max:999)</p>"
35125           },
35126           {
35127             "group": "Body",
35128             "type": "String",
35129             "optional": true,
35130             "field": "dialQueueProject",
35131             "description": "<p>AGI queue option (use: agi://127.0.0.1/square,&lt;project_name&gt;)</p>"
35132           },
35133           {
35134             "group": "Body",
35135             "type": "Integer",
35136             "optional": true,
35137             "field": "dialCongestionMaxRetry",
35138             "description": "<p>#Congestion Retry (min:1, max:999)</p>"
35139           },
35140           {
35141             "group": "Body",
35142             "type": "Integer",
35143             "optional": true,
35144             "field": "dialCongestionRetryFrequency",
35145             "description": "<p>Congestion Retry Frequency Minutes (min:1, max:99999)</p>"
35146           },
35147           {
35148             "group": "Body",
35149             "type": "Integer",
35150             "optional": true,
35151             "field": "dialBusyMaxRetry",
35152             "description": "<p>#Busy Retry (min:1, max:999)</p>"
35153           },
35154           {
35155             "group": "Body",
35156             "type": "Integer",
35157             "optional": true,
35158             "field": "dialBusyRetryFrequency",
35159             "description": "<p>Busy Retry Frequency Minutes (min:1, max:99999)</p>"
35160           },
35161           {
35162             "group": "Body",
35163             "type": "Integer",
35164             "optional": true,
35165             "field": "dialNoAnswerMaxRetry",
35166             "description": "<p>#NoAnswer Retry (min:1, max:999)</p>"
35167           },
35168           {
35169             "group": "Body",
35170             "type": "Integer",
35171             "optional": true,
35172             "field": "dialNoAnswerRetryFrequency",
35173             "description": "<p>NoAnswer Retry Frequency Minutes (min:1, max:99999)</p>"
35174           },
35175           {
35176             "group": "Body",
35177             "type": "Integer",
35178             "optional": true,
35179             "field": "dialGlobalMaxRetry",
35180             "description": "<p>#Global Max Retry (min:1, max:999)</p>"
35181           },
35182           {
35183             "group": "Body",
35184             "type": "String",
35185             "optional": true,
35186             "field": "dialTimezone",
35187             "description": ""
35188           },
35189           {
35190             "group": "Body",
35191             "type": "String",
35192             "optional": true,
35193             "field": "dialGlobalInterval",
35194             "description": ""
35195           },
35196           {
35197             "group": "Body",
35198             "type": "String",
35199             "optional": true,
35200             "field": "dialPrefix",
35201             "description": ""
35202           },
35203           {
35204             "group": "Body",
35205             "type": "String",
35206             "allowedValues": [
35207               "\"always\"",
35208               "\"never\"",
35209               "\"onlyIfOpen\""
35210             ],
35211             "optional": true,
35212             "field": "dialCheckDuplicateType",
35213             "description": ""
35214           },
35215           {
35216             "group": "Body",
35217             "type": "Boolean",
35218             "optional": true,
35219             "field": "dialAMDActive",
35220             "description": "<p>Active/Disactive AMD</p>"
35221           },
35222           {
35223             "group": "Body",
35224             "type": "Integer",
35225             "optional": true,
35226             "field": "dialAMDInitialSilence",
35227             "description": "<p>#AMD Initial Silence</p>"
35228           },
35229           {
35230             "group": "Body",
35231             "type": "Integer",
35232             "optional": true,
35233             "field": "dialAMDGreeting",
35234             "description": "<p>#AMD Greeting</p>"
35235           },
35236           {
35237             "group": "Body",
35238             "type": "Integer",
35239             "optional": true,
35240             "field": "dialAMDAfterGreetingSilence",
35241             "description": "<p>#AMD After Greeting Silence</p>"
35242           },
35243           {
35244             "group": "Body",
35245             "type": "Integer",
35246             "optional": true,
35247             "field": "dialAMDTotalAnalysisTime",
35248             "description": "<p>#AMD Total Analysis Time</p>"
35249           },
35250           {
35251             "group": "Body",
35252             "type": "Integer",
35253             "optional": true,
35254             "field": "dialAMDMinWordLength",
35255             "description": "<p>#AMD Min Word Length</p>"
35256           },
35257           {
35258             "group": "Body",
35259             "type": "Integer",
35260             "optional": true,
35261             "field": "dialAMDBetweenWordsSilence",
35262             "description": "<p>#AMD Between Words Silence</p>"
35263           },
35264           {
35265             "group": "Body",
35266             "type": "Integer",
35267             "optional": true,
35268             "field": "dialAMDMaximumNumberOfWords",
35269             "description": "<p>#AMD Maximum Number Of Words</p>"
35270           },
35271           {
35272             "group": "Body",
35273             "type": "Integer",
35274             "optional": true,
35275             "field": "dialAMDSilenceThreshold",
35276             "description": "<p>#AMD Silence Threshold (min:0, max:32767)</p>"
35277           },
35278           {
35279             "group": "Body",
35280             "type": "Integer",
35281             "optional": true,
35282             "field": "dialAMDMaximumWordLength",
35283             "description": "<p>#AMD Maximum Word Length</p>"
35284           },
35285           {
35286             "group": "Body",
35287             "type": "Integer",
35288             "optional": true,
35289             "field": "dialRecallMeTimeout",
35290             "description": "<p>#RecallMe Timeout (min:1)</p>"
35291           },
35292           {
35293             "group": "Body",
35294             "type": "Boolean",
35295             "optional": true,
35296             "field": "dialRecallInQueue",
35297             "description": "<p>Active/Disactive Recall In Queue</p>"
35298           },
35299           {
35300             "group": "Body",
35301             "type": "String",
35302             "allowedValues": [
35303               "\"DESC\"",
35304               "\"ASC\""
35305             ],
35306             "optional": true,
35307             "field": "dialOrderByScheduledAt",
35308             "description": ""
35309           },
35310           {
35311             "group": "Body",
35312             "type": "String",
35313             "optional": true,
35314             "field": "dialQueueProject2",
35315             "description": "<p>AGI queue option (use: agi://127.0.0.1/square,&lt;project_name&gt;)</p>"
35316           },
35317           {
35318             "group": "Body",
35319             "type": "Boolean",
35320             "optional": true,
35321             "field": "dialAgiAfterHangupClient",
35322             "description": ""
35323           },
35324           {
35325             "group": "Body",
35326             "type": "Boolean",
35327             "optional": true,
35328             "field": "dialAgiAfterHangupAgent",
35329             "description": ""
35330           },
35331           {
35332             "group": "Body",
35333             "type": "Integer",
35334             "optional": true,
35335             "field": "dialRandomLastDigitCallerIdNumber",
35336             "description": "<p>Random Last Digit (min:1, max:15)</p>"
35337           },
35338           {
35339             "group": "Body",
35340             "type": "Integer",
35341             "optional": true,
35342             "field": "dialCutDigit",
35343             "description": "<p>Cut Digit (min:1, max:15)</p>"
35344           },
35345           {
35346             "group": "Body",
35347             "type": "Integer",
35348             "optional": true,
35349             "field": "dialNoSuchNumberMaxRetry",
35350             "description": "<p>#NoSuchNumber Retry (min:1, max:999)</p>"
35351           },
35352           {
35353             "group": "Body",
35354             "type": "Integer",
35355             "optional": true,
35356             "field": "dialNoSuchNumberRetryFrequency",
35357             "description": "<p>NoSuchNumber Retry Frequency Minutes (min:1, max:99999)</p>"
35358           },
35359           {
35360             "group": "Body",
35361             "type": "Integer",
35362             "optional": true,
35363             "field": "dialDropMaxRetry",
35364             "description": "<p>#Drop Retry (min:1, max:999)</p>"
35365           },
35366           {
35367             "group": "Body",
35368             "type": "Integer",
35369             "optional": true,
35370             "field": "dialDropRetryFrequency",
35371             "description": "<p>Drop Retry Frequency Minutes (min:1, max:99999)</p>"
35372           },
35373           {
35374             "group": "Body",
35375             "type": "Integer",
35376             "optional": true,
35377             "field": "dialAbandonedMaxRetry",
35378             "description": "<p>#Abandoned Retry (min:1, max:999)</p>"
35379           },
35380           {
35381             "group": "Body",
35382             "type": "Integer",
35383             "optional": true,
35384             "field": "dialAbandonedRetryFrequency",
35385             "description": "<p>Abandoned Retry Frequency Minutes (min:1, max:99999)</p>"
35386           },
35387           {
35388             "group": "Body",
35389             "type": "Integer",
35390             "optional": true,
35391             "field": "dialMachineMaxRetry",
35392             "description": "<p>#Machine Retry (min:1, max:999)</p>"
35393           },
35394           {
35395             "group": "Body",
35396             "type": "Integer",
35397             "optional": true,
35398             "field": "dialMachineRetryFrequency",
35399             "description": "<p>Machine Retry Frequency Minutes (min:1, max:99999)</p>"
35400           },
35401           {
35402             "group": "Body",
35403             "type": "Integer",
35404             "optional": true,
35405             "field": "dialAgentRejectMaxRetry",
35406             "description": "<p>#AgentReject Retry (min:1, max:999)</p>"
35407           },
35408           {
35409             "group": "Body",
35410             "type": "Integer",
35411             "optional": true,
35412             "field": "dialAgentRejectRetryFrequency",
35413             "description": "<p>AgentReject Retry Frequency Minutes (min:1, max:99999)</p>"
35414           },
35415           {
35416             "group": "Body",
35417             "type": "Integer",
35418             "optional": true,
35419             "field": "mandatoryDispositionPauseId",
35420             "description": "<p>Status to put when mandatory disposition is enabled</p>"
35421           },
35422           {
35423             "group": "Body",
35424             "type": "Boolean",
35425             "optional": true,
35426             "field": "mandatoryDisposition",
35427             "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
35428           },
35429           {
35430             "group": "Body",
35431             "type": "Integer",
35432             "optional": true,
35433             "field": "dialPredictiveIntervalMaxThreshold",
35434             "description": ""
35435           },
35436           {
35437             "group": "Body",
35438             "type": "Integer",
35439             "optional": true,
35440             "field": "dialPredictiveIntervalMinThreshold",
35441             "description": ""
35442           }
35443         ]
35444       }
35445     },
35446     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35447     "version": "0.0.0",
35448     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35449     "groupTitle": "Voice_Queues"
35450   },
35451   {
35452     "type": "delete",
35453     "url": "/api/voice/queues/{id}",
35454     "title": "Deletes a Queue",
35455     "examples": [
35456       {
35457         "title": "Example usage:",
35458         "content": "curl https://{domain}/api/voice/queues/{id} -v -u {name}:{password} -X DELETE",
35459         "type": "json"
35460       }
35461     ],
35462     "name": "DeleteQueues",
35463     "group": "Voice_Queues",
35464     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35465     "version": "0.0.0",
35466     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35467     "groupTitle": "Voice_Queues"
35468   },
35469   {
35470     "type": "get",
35471     "url": "/api/voice/queues/{id}/users",
35472     "title": "Gets queue agents",
35473     "examples": [
35474       {
35475         "title": "Example usage:",
35476         "content": "curl https://{domain}/api/voice/queues/{id}/users -v -u {name}:{password} -X GET",
35477         "type": "json"
35478       }
35479     ],
35480     "name": "GetAgents",
35481     "group": "Voice_Queues",
35482     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35483     "version": "0.0.0",
35484     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35485     "groupTitle": "Voice_Queues"
35486   },
35487   {
35488     "type": "get",
35489     "url": "/api/voice/queues/{id}/blacklists",
35490     "title": "Get queue blacklists",
35491     "examples": [
35492       {
35493         "title": "Example usage:",
35494         "content": "curl https://{domain}/api/voice/queues/{id}/blacklists -v -u {name}:{password} -X GET",
35495         "type": "json"
35496       }
35497     ],
35498     "name": "GetBlackLists",
35499     "group": "Voice_Queues",
35500     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35501     "version": "0.0.0",
35502     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35503     "groupTitle": "Voice_Queues"
35504   },
35505   {
35506     "type": "get",
35507     "url": "/api/voice/queues/{id}/finals",
35508     "title": "Gets queue hopper finals",
35509     "examples": [
35510       {
35511         "title": "Example usage:",
35512         "content": "curl https://{domain}/api/voice/queues/{id}/hopper_finals -v -u {name}:{password}  -X GET",
35513         "type": "json"
35514       }
35515     ],
35516     "name": "GetHopperFinals",
35517     "group": "Voice_Queues",
35518     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35519     "version": "0.0.0",
35520     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35521     "groupTitle": "Voice_Queues"
35522   },
35523   {
35524     "type": "get",
35525     "url": "/api/voice/queues/{id}/hopper_histories",
35526     "title": "Gets queue hopper histories",
35527     "examples": [
35528       {
35529         "title": "Example usage:",
35530         "content": "curl https://{domain}/api/voice/queues/{id}/hopper_histories -v -u {name}:{password} -X GET",
35531         "type": "json"
35532       }
35533     ],
35534     "name": "GetHopperHistories",
35535     "group": "Voice_Queues",
35536     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35537     "version": "0.0.0",
35538     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35539     "groupTitle": "Voice_Queues"
35540   },
35541   {
35542     "type": "get",
35543     "url": "/api/voice/queues/{id}/hoppers",
35544     "title": "Gets queue hoppers",
35545     "examples": [
35546       {
35547         "title": "Example usage:",
35548         "content": "curl https://{domain}/api/voice/queues/{id}/hoppers -v -u {name}:{password} -X GET",
35549         "type": "json"
35550       }
35551     ],
35552     "name": "GetHoppers",
35553     "group": "Voice_Queues",
35554     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35555     "version": "0.0.0",
35556     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35557     "groupTitle": "Voice_Queues"
35558   },
35559   {
35560     "type": "get",
35561     "url": "/api/voice/queues/{id}/lists",
35562     "title": "Get queue lists",
35563     "examples": [
35564       {
35565         "title": "Example usage:",
35566         "content": "curl https://{domain}/api/voice/queues/{id}/lists -v -u {name}:{password} -X GET",
35567         "type": "json"
35568       }
35569     ],
35570     "name": "GetLists",
35571     "group": "Voice_Queues",
35572     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35573     "version": "0.0.0",
35574     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35575     "groupTitle": "Voice_Queues"
35576   },
35577   {
35578     "type": "get",
35579     "url": "/api/voice/queues/{id}/members",
35580     "title": "Gets queue members",
35581     "examples": [
35582       {
35583         "title": "Example usage:",
35584         "content": "curl https://{domain}/api/voice/queues/{id}/members -v -u {name}:{password} -X GET",
35585         "type": "json"
35586       }
35587     ],
35588     "name": "GetMembers",
35589     "group": "Voice_Queues",
35590     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35591     "version": "0.0.0",
35592     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35593     "groupTitle": "Voice_Queues"
35594   },
35595   {
35596     "type": "get",
35597     "url": "/api/voice/queues",
35598     "title": "Gets a list of Queues",
35599     "examples": [
35600       {
35601         "title": "Example usage:",
35602         "content": "curl https://{domain}/api/voice/queues -v -u {name}:{password}",
35603         "type": "json"
35604       }
35605     ],
35606     "name": "GetQueues",
35607     "group": "Voice_Queues",
35608     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/queues?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/queues?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/queues?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/queues?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/queues?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
35609     "version": "0.0.0",
35610     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35611     "groupTitle": "Voice_Queues"
35612   },
35613   {
35614     "type": "get",
35615     "url": "/api/voice/queues/{id}/teams",
35616     "title": "Gets queue team",
35617     "examples": [
35618       {
35619         "title": "Example usage:",
35620         "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password}  -X GET",
35621         "type": "json"
35622       }
35623     ],
35624     "name": "GetTeams",
35625     "group": "Voice_Queues",
35626     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35627     "version": "0.0.0",
35628     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35629     "groupTitle": "Voice_Queues"
35630   },
35631   {
35632     "type": "get",
35633     "url": "/GetVoiceQueue",
35634     "title": "Gets a list of Queues",
35635     "name": "GetVoiceQueue",
35636     "group": "Voice_Queues",
35637     "parameter": {
35638       "fields": {
35639         "Body": [
35640           {
35641             "group": "Body",
35642             "type": "Object",
35643             "optional": true,
35644             "field": "options.attributes",
35645             "description": ""
35646           },
35647           {
35648             "group": "Body",
35649             "type": "Object",
35650             "optional": true,
35651             "field": "options.where",
35652             "description": ""
35653           }
35654         ]
35655       }
35656     },
35657     "version": "0.0.0",
35658     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/voiceQueue.rpc.js",
35659     "groupTitle": "Voice_Queues"
35660   },
35661   {
35662     "type": "delete",
35663     "url": "/api/voice/queues/{id}/users",
35664     "title": "Removes agents from a queue",
35665     "examples": [
35666       {
35667         "title": "Example usage:",
35668         "content": "curl https://{domain}/api/voice/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35669         "type": "json"
35670       }
35671     ],
35672     "name": "RemoveAgents",
35673     "group": "Voice_Queues",
35674     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35675     "version": "0.0.0",
35676     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35677     "groupTitle": "Voice_Queues"
35678   },
35679   {
35680     "type": "delete",
35681     "url": "/api/voice/queues/{id}/blacklists",
35682     "title": "Remove blacklists from a queue",
35683     "examples": [
35684       {
35685         "title": "Example usage:",
35686         "content": "curl https://{domain}/api/voice/queues/{id}/blacklists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35687         "type": "json"
35688       }
35689     ],
35690     "name": "RemoveBlackLists",
35691     "group": "Voice_Queues",
35692     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35693     "version": "0.0.0",
35694     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35695     "groupTitle": "Voice_Queues"
35696   },
35697   {
35698     "type": "delete",
35699     "url": "/api/voice/queues/{id}/lists",
35700     "title": "Remove lists from a queue",
35701     "examples": [
35702       {
35703         "title": "Example usage:",
35704         "content": "curl https://{domain}/api/voice/queues/{id}/lists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35705         "type": "json"
35706       }
35707     ],
35708     "name": "RemoveLists",
35709     "group": "Voice_Queues",
35710     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35711     "version": "0.0.0",
35712     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35713     "groupTitle": "Voice_Queues"
35714   },
35715   {
35716     "type": "get",
35717     "url": "/api/voice/queues/{id}",
35718     "title": "Gets a single Queue",
35719     "examples": [
35720       {
35721         "title": "Example usage:",
35722         "content": "curl https://{domain}/api/voice/queues/{id} -v -u {name}:{password}",
35723         "type": "json"
35724       }
35725     ],
35726     "name": "ShowQueues",
35727     "group": "Voice_Queues",
35728     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35729     "version": "0.0.0",
35730     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35731     "groupTitle": "Voice_Queues"
35732   },
35733   {
35734     "type": "get",
35735     "url": "/ShowVoiceQueue",
35736     "title": "Gets a single Queue",
35737     "name": "ShowVoiceQueue",
35738     "group": "Voice_Queues",
35739     "parameter": {
35740       "fields": {
35741         "Body": [
35742           {
35743             "group": "Body",
35744             "type": "Object",
35745             "optional": true,
35746             "field": "options.attributes",
35747             "description": ""
35748           },
35749           {
35750             "group": "Body",
35751             "type": "Object",
35752             "optional": false,
35753             "field": "options.where",
35754             "description": ""
35755           }
35756         ]
35757       }
35758     },
35759     "version": "0.0.0",
35760     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/voiceQueue.rpc.js",
35761     "groupTitle": "Voice_Queues"
35762   },
35763   {
35764     "type": "get",
35765     "url": "/api/voice/queues/{id}/blacks",
35766     "title": "Gets queue hopper blacks",
35767     "examples": [
35768       {
35769         "title": "Example usage:",
35770         "content": "curl https://{domain}/api/voice/queues/{id}/hopper_black -v -u {name}:{password}  -X GET",
35771         "type": "json"
35772       }
35773     ],
35774     "name": "getHopperBlacks",
35775     "group": "Voice_Queues",
35776     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35777     "version": "0.0.0",
35778     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35779     "groupTitle": "Voice_Queues"
35780   },
35781   {
35782     "type": "put",
35783     "url": "/api/voice/queues/{id}",
35784     "title": "Update an existing Queue",
35785     "examples": [
35786       {
35787         "title": "Example usage:",
35788         "content": "curl https://{domain}/api/voice/queues/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
35789         "type": "json"
35790       }
35791     ],
35792     "name": "updateQueues",
35793     "group": "Voice_Queues",
35794     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35795     "version": "0.0.0",
35796     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueue/index.js",
35797     "groupTitle": "Voice_Queues"
35798   },
35799   {
35800     "type": "post",
35801     "url": "/api/voice/recordings",
35802     "title": "Creates a new Recording",
35803     "examples": [
35804       {
35805         "title": "Example usage:",
35806         "content": "curl https://{domain}/api/voice/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
35807         "type": "json"
35808       }
35809     ],
35810     "name": "CreateRecordings",
35811     "group": "Voice_Recordings",
35812     "parameter": {
35813       "fields": {
35814         "Body": [
35815           {
35816             "group": "Body",
35817             "type": "Virtual",
35818             "optional": true,
35819             "field": "format",
35820             "description": ""
35821           },
35822           {
35823             "group": "Body",
35824             "type": "String",
35825             "optional": true,
35826             "field": "uniqueid",
35827             "description": ""
35828           },
35829           {
35830             "group": "Body",
35831             "type": "String",
35832             "optional": true,
35833             "field": "channel",
35834             "description": ""
35835           },
35836           {
35837             "group": "Body",
35838             "type": "String",
35839             "optional": true,
35840             "field": "membername",
35841             "description": ""
35842           },
35843           {
35844             "group": "Body",
35845             "type": "String",
35846             "optional": true,
35847             "field": "calleridnum",
35848             "description": ""
35849           },
35850           {
35851             "group": "Body",
35852             "type": "String",
35853             "optional": true,
35854             "field": "calleridname",
35855             "description": ""
35856           },
35857           {
35858             "group": "Body",
35859             "type": "String",
35860             "optional": true,
35861             "field": "connectedlinenum",
35862             "description": ""
35863           },
35864           {
35865             "group": "Body",
35866             "type": "String",
35867             "optional": true,
35868             "field": "connectedlinename",
35869             "description": ""
35870           },
35871           {
35872             "group": "Body",
35873             "type": "String",
35874             "optional": true,
35875             "field": "accountcode",
35876             "description": ""
35877           },
35878           {
35879             "group": "Body",
35880             "type": "String",
35881             "optional": true,
35882             "field": "context",
35883             "description": ""
35884           },
35885           {
35886             "group": "Body",
35887             "type": "String",
35888             "optional": true,
35889             "field": "exten",
35890             "description": ""
35891           },
35892           {
35893             "group": "Body",
35894             "type": "String",
35895             "optional": true,
35896             "field": "value",
35897             "description": ""
35898           },
35899           {
35900             "group": "Body",
35901             "type": "String",
35902             "optional": true,
35903             "field": "type",
35904             "description": ""
35905           },
35906           {
35907             "group": "Body",
35908             "type": "Integer",
35909             "optional": true,
35910             "field": "rating",
35911             "description": ""
35912           },
35913           {
35914             "group": "Body",
35915             "type": "String",
35916             "optional": true,
35917             "field": "queue",
35918             "description": ""
35919           },
35920           {
35921             "group": "Body",
35922             "type": "String",
35923             "optional": true,
35924             "field": "userDisposition",
35925             "description": ""
35926           },
35927           {
35928             "group": "Body",
35929             "type": "String",
35930             "optional": true,
35931             "field": "userSecondDisposition",
35932             "description": ""
35933           },
35934           {
35935             "group": "Body",
35936             "type": "String",
35937             "optional": true,
35938             "field": "userThirdDisposition",
35939             "description": ""
35940           },
35941           {
35942             "group": "Body",
35943             "type": "Text",
35944             "optional": true,
35945             "field": "location",
35946             "description": ""
35947           },
35948           {
35949             "group": "Body",
35950             "type": "String",
35951             "optional": true,
35952             "field": "transcribeName",
35953             "description": ""
35954           },
35955           {
35956             "group": "Body",
35957             "type": "String",
35958             "optional": true,
35959             "field": "transcribeStatus",
35960             "description": ""
35961           },
35962           {
35963             "group": "Body",
35964             "type": "Text",
35965             "optional": true,
35966             "field": "fileUri",
35967             "description": ""
35968           },
35969           {
35970             "group": "Body",
35971             "type": "Text",
35972             "optional": true,
35973             "field": "fileText",
35974             "description": ""
35975           },
35976           {
35977             "group": "Body",
35978             "type": "Text",
35979             "optional": true,
35980             "field": "failureReason",
35981             "description": ""
35982           },
35983           {
35984             "group": "Body",
35985             "type": "String",
35986             "optional": true,
35987             "field": "sentiment",
35988             "description": ""
35989           },
35990           {
35991             "group": "Body",
35992             "type": "Float",
35993             "optional": true,
35994             "field": "sPositive",
35995             "description": ""
35996           },
35997           {
35998             "group": "Body",
35999             "type": "Float",
36000             "optional": true,
36001             "field": "sNegative",
36002             "description": ""
36003           },
36004           {
36005             "group": "Body",
36006             "type": "Float",
36007             "optional": true,
36008             "field": "sNeutral",
36009             "description": ""
36010           },
36011           {
36012             "group": "Body",
36013             "type": "Float",
36014             "optional": true,
36015             "field": "sMixed",
36016             "description": ""
36017           },
36018           {
36019             "group": "Body",
36020             "type": "Boolean",
36021             "optional": true,
36022             "field": "tempSentiment",
36023             "description": ""
36024           },
36025           {
36026             "group": "Body",
36027             "type": "String",
36028             "optional": true,
36029             "field": "createdAt",
36030             "description": ""
36031           },
36032           {
36033             "group": "Body",
36034             "type": "String",
36035             "optional": true,
36036             "field": "updatedAt",
36037             "description": ""
36038           }
36039         ]
36040       }
36041     },
36042     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36043     "version": "0.0.0",
36044     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/index.js",
36045     "groupTitle": "Voice_Recordings"
36046   },
36047   {
36048     "type": "post",
36049     "url": "/CreateVoiceRecording",
36050     "title": "Creates a new Recording",
36051     "name": "CreateVoiceRecording",
36052     "group": "Voice_Recordings",
36053     "version": "0.0.0",
36054     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/voiceRecording.rpc.js",
36055     "groupTitle": "Voice_Recordings"
36056   },
36057   {
36058     "type": "get",
36059     "url": "/api/voice/recordings/describe",
36060     "title": "Gets table info about Recordings",
36061     "examples": [
36062       {
36063         "title": "Example usage:",
36064         "content": "curl https://{domain}/api/voice/recordings/describe -v -u {name}:{password}",
36065         "type": "json"
36066       }
36067     ],
36068     "name": "DescribeRecordings",
36069     "group": "Voice_Recordings",
36070     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36071     "version": "0.0.0",
36072     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/index.js",
36073     "groupTitle": "Voice_Recordings"
36074   },
36075   {
36076     "type": "get",
36077     "url": "/api/voice/recordings",
36078     "title": "Gets a list of Recordings",
36079     "examples": [
36080       {
36081         "title": "Example usage:",
36082         "content": "curl https://{domain}/api/voice/recordings -v -u {name}:{password}",
36083         "type": "json"
36084       }
36085     ],
36086     "name": "GetRecordings",
36087     "group": "Voice_Recordings",
36088     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/recordings?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/recordings?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/recordings?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/recordings?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/recordings?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
36089     "version": "0.0.0",
36090     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/index.js",
36091     "groupTitle": "Voice_Recordings"
36092   },
36093   {
36094     "type": "get",
36095     "url": "/api/voice/recordings/{id}",
36096     "title": "Gets a single Recording",
36097     "examples": [
36098       {
36099         "title": "Example usage:",
36100         "content": "curl https://{domain}/api/voice/recordings/{id} -v -u {name}:{password}",
36101         "type": "json"
36102       }
36103     ],
36104     "name": "ShowRecordings",
36105     "group": "Voice_Recordings",
36106     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36107     "version": "0.0.0",
36108     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/index.js",
36109     "groupTitle": "Voice_Recordings"
36110   },
36111   {
36112     "type": "post",
36113     "url": "/UpdateVoiceRecording",
36114     "title": "Updates a new Recording",
36115     "name": "UpdateVoiceRecording",
36116     "group": "Voice_Recordings",
36117     "parameter": {
36118       "fields": {
36119         "Body": [
36120           {
36121             "group": "Body",
36122             "type": "Object",
36123             "optional": true,
36124             "field": "options.attributes",
36125             "description": ""
36126           },
36127           {
36128             "group": "Body",
36129             "type": "Object",
36130             "optional": false,
36131             "field": "options.where",
36132             "description": ""
36133           }
36134         ]
36135       }
36136     },
36137     "version": "0.0.0",
36138     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/voiceRecording.rpc.js",
36139     "groupTitle": "Voice_Recordings"
36140   },
36141   {
36142     "type": "delete",
36143     "url": "/api/voice/recordings/{id}",
36144     "title": "Delete voice recording",
36145     "examples": [
36146       {
36147         "title": "Example usage:",
36148         "content": "curl https://{domain}/api/voice/recordings/{id} -v -u {name}:{password} -X DELETE",
36149         "type": "json"
36150       }
36151     ],
36152     "name": "destroy",
36153     "group": "Voice_Recordings",
36154     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36155     "version": "0.0.0",
36156     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/index.js",
36157     "groupTitle": "Voice_Recordings"
36158   },
36159   {
36160     "type": "get",
36161     "url": "/api/voice/recordings/{id}/download",
36162     "title": "Download Recording",
36163     "examples": [
36164       {
36165         "title": "Example usage:",
36166         "content": "curl https://{domain}/api/voice/recordings/{id}/download -v -u {name}:{password} -X GET",
36167         "type": "json"
36168       }
36169     ],
36170     "name": "download",
36171     "group": "Voice_Recordings",
36172     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36173     "version": "0.0.0",
36174     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/index.js",
36175     "groupTitle": "Voice_Recordings"
36176   },
36177   {
36178     "type": "get",
36179     "url": "/api/voice/recordings/{id}/downloads",
36180     "title": "Download Recording",
36181     "examples": [
36182       {
36183         "title": "Example usage:",
36184         "content": "curl https://{domain}/api/voice/recordings/{id}/downloads -v -u {name}:{password} -X GET",
36185         "type": "json"
36186       }
36187     ],
36188     "name": "downloads",
36189     "group": "Voice_Recordings",
36190     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36191     "version": "0.0.0",
36192     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/index.js",
36193     "groupTitle": "Voice_Recordings"
36194   },
36195   {
36196     "type": "get",
36197     "url": "/api/voice/recordings/{id}/transcribe",
36198     "title": "Run Transcribe Recording",
36199     "examples": [
36200       {
36201         "title": "Example usage:",
36202         "content": "curl https://{domain}/api/voice/recordings/{id}/transcribe -v -u {name}:{password} -X GET",
36203         "type": "json"
36204       }
36205     ],
36206     "name": "transcribe",
36207     "group": "Voice_Recordings",
36208     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36209     "version": "0.0.0",
36210     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/index.js",
36211     "groupTitle": "Voice_Recordings"
36212   },
36213   {
36214     "type": "post",
36215     "url": "/api/voice/recordings/{id}/transcribe",
36216     "title": "Run Transcribe Recording",
36217     "examples": [
36218       {
36219         "title": "Example usage:",
36220         "content": "curl https://{domain}/api/voice/recordings/{id}/transcribe -d '{\"runSentiment\": \"true\"}' -v -u {name}:{password} -X POST",
36221         "type": "json"
36222       }
36223     ],
36224     "name": "transcribe",
36225     "group": "Voice_Recordings",
36226     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36227     "version": "0.0.0",
36228     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/index.js",
36229     "groupTitle": "Voice_Recordings"
36230   },
36231   {
36232     "type": "put",
36233     "url": "/api/voice/recordings/{id}",
36234     "title": "Update an existing Recording",
36235     "examples": [
36236       {
36237         "title": "Example usage:",
36238         "content": "curl https://{domain}/api/voice/recordings/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
36239         "type": "json"
36240       }
36241     ],
36242     "name": "updateRecordings",
36243     "group": "Voice_Recordings",
36244     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36245     "version": "0.0.0",
36246     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceRecording/index.js",
36247     "groupTitle": "Voice_Recordings"
36248   },
36249   {
36250     "type": "post",
36251     "url": "/api/voice/transfers/reports",
36252     "title": "Creates a new Transfer Report",
36253     "examples": [
36254       {
36255         "title": "Example usage:",
36256         "content": "curl https://{domain}/api/voice/transfers/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
36257         "type": "json"
36258       }
36259     ],
36260     "name": "CreateTransfer_Reports",
36261     "group": "Voice_Transfer_Reports",
36262     "parameter": {
36263       "fields": {
36264         "Body": [
36265           {
36266             "group": "Body",
36267             "type": "String",
36268             "allowedValues": [
36269               "\"blind\"",
36270               "\"attended\""
36271             ],
36272             "optional": true,
36273             "field": "type",
36274             "description": ""
36275           },
36276           {
36277             "group": "Body",
36278             "type": "String",
36279             "optional": true,
36280             "field": "result",
36281             "description": ""
36282           },
36283           {
36284             "group": "Body",
36285             "type": "String",
36286             "optional": true,
36287             "field": "transfererchannel",
36288             "description": ""
36289           },
36290           {
36291             "group": "Body",
36292             "type": "String",
36293             "optional": true,
36294             "field": "transferercalleridnum",
36295             "description": ""
36296           },
36297           {
36298             "group": "Body",
36299             "type": "String",
36300             "optional": true,
36301             "field": "transferercalleridname",
36302             "description": ""
36303           },
36304           {
36305             "group": "Body",
36306             "type": "String",
36307             "optional": true,
36308             "field": "transfererconnectedlinenum",
36309             "description": ""
36310           },
36311           {
36312             "group": "Body",
36313             "type": "String",
36314             "optional": true,
36315             "field": "transfererconnectedlinename",
36316             "description": ""
36317           },
36318           {
36319             "group": "Body",
36320             "type": "String",
36321             "optional": true,
36322             "field": "transfereraccountcode",
36323             "description": ""
36324           },
36325           {
36326             "group": "Body",
36327             "type": "String",
36328             "optional": true,
36329             "field": "transferercontext",
36330             "description": ""
36331           },
36332           {
36333             "group": "Body",
36334             "type": "String",
36335             "optional": true,
36336             "field": "transfererexten",
36337             "description": ""
36338           },
36339           {
36340             "group": "Body",
36341             "type": "String",
36342             "optional": true,
36343             "field": "transfererlinkedid",
36344             "description": ""
36345           },
36346           {
36347             "group": "Body",
36348             "type": "String",
36349             "optional": true,
36350             "field": "transfereechannel",
36351             "description": ""
36352           },
36353           {
36354             "group": "Body",
36355             "type": "String",
36356             "optional": true,
36357             "field": "transfereecalleridnum",
36358             "description": ""
36359           },
36360           {
36361             "group": "Body",
36362             "type": "String",
36363             "optional": true,
36364             "field": "transfereecalleridname",
36365             "description": ""
36366           },
36367           {
36368             "group": "Body",
36369             "type": "String",
36370             "optional": true,
36371             "field": "transfereeconnectedlinenum",
36372             "description": ""
36373           },
36374           {
36375             "group": "Body",
36376             "type": "String",
36377             "optional": true,
36378             "field": "transfereeconnectedlinename",
36379             "description": ""
36380           },
36381           {
36382             "group": "Body",
36383             "type": "String",
36384             "optional": true,
36385             "field": "transfereeaccountcode",
36386             "description": ""
36387           },
36388           {
36389             "group": "Body",
36390             "type": "String",
36391             "optional": true,
36392             "field": "transfereecontext",
36393             "description": ""
36394           },
36395           {
36396             "group": "Body",
36397             "type": "String",
36398             "optional": true,
36399             "field": "transfereeexten",
36400             "description": ""
36401           },
36402           {
36403             "group": "Body",
36404             "type": "String",
36405             "optional": true,
36406             "field": "transfereelinkedid",
36407             "description": ""
36408           },
36409           {
36410             "group": "Body",
36411             "type": "String",
36412             "allowedValues": [
36413               "\"Yes\"",
36414               "\"No\""
36415             ],
36416             "optional": true,
36417             "field": "isexternal",
36418             "description": ""
36419           },
36420           {
36421             "group": "Body",
36422             "type": "String",
36423             "optional": true,
36424             "field": "context",
36425             "description": ""
36426           },
36427           {
36428             "group": "Body",
36429             "type": "String",
36430             "optional": true,
36431             "field": "extension",
36432             "description": ""
36433           }
36434         ]
36435       }
36436     },
36437     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36438     "version": "0.0.0",
36439     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceTransferReport/index.js",
36440     "groupTitle": "Voice_Transfer_Reports"
36441   },
36442   {
36443     "type": "post",
36444     "url": "/CreateVoiceTransferReport",
36445     "title": "Creates a new Transfer Report",
36446     "name": "CreateVoiceTransferReport",
36447     "group": "Voice_Transfer_Reports",
36448     "version": "0.0.0",
36449     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceTransferReport/voiceTransferReport.rpc.js",
36450     "groupTitle": "Voice_Transfer_Reports"
36451   },
36452   {
36453     "type": "delete",
36454     "url": "/api/voice/transfers/reports/{id}",
36455     "title": "Deletes a Transfer Report",
36456     "examples": [
36457       {
36458         "title": "Example usage:",
36459         "content": "curl https://{domain}/api/voice/transfers/reports/{id} -v -u {name}:{password} -X DELETE",
36460         "type": "json"
36461       }
36462     ],
36463     "name": "DeleteTransfer_Reports",
36464     "group": "Voice_Transfer_Reports",
36465     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36466     "version": "0.0.0",
36467     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceTransferReport/index.js",
36468     "groupTitle": "Voice_Transfer_Reports"
36469   },
36470   {
36471     "type": "get",
36472     "url": "/api/voice/transfers/reports",
36473     "title": "Gets a list of Transfer Reports",
36474     "examples": [
36475       {
36476         "title": "Example usage:",
36477         "content": "curl https://{domain}/api/voice/transfers/reports -v -u {name}:{password}",
36478         "type": "json"
36479       }
36480     ],
36481     "name": "GetTransfer_Reports",
36482     "group": "Voice_Transfer_Reports",
36483     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voice/transfers/reports?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voice/transfers/reports?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voice/transfers/reports?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voice/transfers/reports?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voice/transfers/reports?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
36484     "version": "0.0.0",
36485     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceTransferReport/index.js",
36486     "groupTitle": "Voice_Transfer_Reports"
36487   },
36488   {
36489     "type": "get",
36490     "url": "/api/voice/transfers/reports/{id}",
36491     "title": "Gets a single Transfer Report",
36492     "examples": [
36493       {
36494         "title": "Example usage:",
36495         "content": "curl https://{domain}/api/voice/transfers/reports/{id} -v -u {name}:{password}",
36496         "type": "json"
36497       }
36498     ],
36499     "name": "ShowTransfer_Reports",
36500     "group": "Voice_Transfer_Reports",
36501     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36502     "version": "0.0.0",
36503     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceTransferReport/index.js",
36504     "groupTitle": "Voice_Transfer_Reports"
36505   },
36506   {
36507     "type": "put",
36508     "url": "/api/voice/transfers/reports/{id}",
36509     "title": "Update an existing Transfer Report",
36510     "examples": [
36511       {
36512         "title": "Example usage:",
36513         "content": "curl https://{domain}/api/voice/transfers/reports/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
36514         "type": "json"
36515       }
36516     ],
36517     "name": "updateTransfer_Reports",
36518     "group": "Voice_Transfer_Reports",
36519     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36520     "version": "0.0.0",
36521     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceTransferReport/index.js",
36522     "groupTitle": "Voice_Transfer_Reports"
36523   },
36524   {
36525     "type": "post",
36526     "url": "/api/integrations/vtiger/accounts",
36527     "title": "Creates a new Vtiger Account",
36528     "examples": [
36529       {
36530         "title": "Example usage:",
36531         "content": "curl https://{domain}/api/integrations/vtiger/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
36532         "type": "json"
36533       }
36534     ],
36535     "name": "CreateVtiger_Accounts",
36536     "group": "Vtiger_Accounts",
36537     "parameter": {
36538       "fields": {
36539         "Body": [
36540           {
36541             "group": "Body",
36542             "type": "String",
36543             "optional": false,
36544             "field": "name",
36545             "description": ""
36546           },
36547           {
36548             "group": "Body",
36549             "type": "String",
36550             "optional": true,
36551             "field": "description",
36552             "description": ""
36553           },
36554           {
36555             "group": "Body",
36556             "type": "String",
36557             "optional": false,
36558             "field": "username",
36559             "description": ""
36560           },
36561           {
36562             "group": "Body",
36563             "type": "String",
36564             "optional": false,
36565             "field": "moduleName",
36566             "description": ""
36567           },
36568           {
36569             "group": "Body",
36570             "type": "String",
36571             "optional": false,
36572             "field": "remoteUri",
36573             "description": ""
36574           },
36575           {
36576             "group": "Body",
36577             "type": "String",
36578             "optional": true,
36579             "field": "serverUrl",
36580             "description": ""
36581           },
36582           {
36583             "group": "Body",
36584             "type": "String",
36585             "optional": false,
36586             "field": "accessKey",
36587             "description": ""
36588           }
36589         ]
36590       }
36591     },
36592     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36593     "version": "0.0.0",
36594     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerAccount/index.js",
36595     "groupTitle": "Vtiger_Accounts"
36596   },
36597   {
36598     "type": "delete",
36599     "url": "/api/integrations/vtiger/accounts/{id}",
36600     "title": "Deletes a Vtiger Account",
36601     "examples": [
36602       {
36603         "title": "Example usage:",
36604         "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id} -v -u {name}:{password} -X DELETE",
36605         "type": "json"
36606       }
36607     ],
36608     "name": "DeleteVtiger_Accounts",
36609     "group": "Vtiger_Accounts",
36610     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36611     "version": "0.0.0",
36612     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerAccount/index.js",
36613     "groupTitle": "Vtiger_Accounts"
36614   },
36615   {
36616     "type": "get",
36617     "url": "/GetVtigerAccount",
36618     "title": "Gets a list of Vtiger Accounts",
36619     "name": "GetVtigerAccount",
36620     "group": "Vtiger_Accounts",
36621     "parameter": {
36622       "fields": {
36623         "Body": [
36624           {
36625             "group": "Body",
36626             "type": "Object",
36627             "optional": true,
36628             "field": "options.attributes",
36629             "description": ""
36630           },
36631           {
36632             "group": "Body",
36633             "type": "Object",
36634             "optional": true,
36635             "field": "options.where",
36636             "description": ""
36637           }
36638         ]
36639       }
36640     },
36641     "version": "0.0.0",
36642     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerAccount/intVtigerAccount.rpc.js",
36643     "groupTitle": "Vtiger_Accounts"
36644   },
36645   {
36646     "type": "get",
36647     "url": "/api/integrations/vtiger/accounts",
36648     "title": "Gets a list of Vtiger Accounts",
36649     "examples": [
36650       {
36651         "title": "Example usage:",
36652         "content": "curl https://{domain}/api/integrations/vtiger/accounts -v -u {name}:{password}",
36653         "type": "json"
36654       }
36655     ],
36656     "name": "GetVtiger_Accounts",
36657     "group": "Vtiger_Accounts",
36658     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/vtiger/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/vtiger/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/vtiger/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/vtiger/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/vtiger/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
36659     "version": "0.0.0",
36660     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerAccount/index.js",
36661     "groupTitle": "Vtiger_Accounts"
36662   },
36663   {
36664     "type": "get",
36665     "url": "/ShowVtigerAccount",
36666     "title": "Gets a single Vtiger Account",
36667     "name": "ShowVtigerAccount",
36668     "group": "Vtiger_Accounts",
36669     "parameter": {
36670       "fields": {
36671         "Body": [
36672           {
36673             "group": "Body",
36674             "type": "Object",
36675             "optional": true,
36676             "field": "options.attributes",
36677             "description": ""
36678           },
36679           {
36680             "group": "Body",
36681             "type": "Object",
36682             "optional": false,
36683             "field": "options.where",
36684             "description": ""
36685           }
36686         ]
36687       }
36688     },
36689     "version": "0.0.0",
36690     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerAccount/intVtigerAccount.rpc.js",
36691     "groupTitle": "Vtiger_Accounts"
36692   },
36693   {
36694     "type": "get",
36695     "url": "/api/integrations/vtiger/accounts/{id}",
36696     "title": "Gets a single Vtiger Account",
36697     "examples": [
36698       {
36699         "title": "Example usage:",
36700         "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id} -v -u {name}:{password}",
36701         "type": "json"
36702       }
36703     ],
36704     "name": "ShowVtiger_Accounts",
36705     "group": "Vtiger_Accounts",
36706     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36707     "version": "0.0.0",
36708     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerAccount/index.js",
36709     "groupTitle": "Vtiger_Accounts"
36710   },
36711   {
36712     "type": "post",
36713     "url": "/api/integrations/vtiger/accounts/{id}/configurations",
36714     "title": "Creates new configuration",
36715     "examples": [
36716       {
36717         "title": "Example usage:",
36718         "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id}/configurations -d '{\"name\": \"conf1\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
36719         "type": "json"
36720       }
36721     ],
36722     "name": "addConfiguration",
36723     "group": "Vtiger_Accounts",
36724     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36725     "version": "0.0.0",
36726     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerAccount/index.js",
36727     "groupTitle": "Vtiger_Accounts"
36728   },
36729   {
36730     "type": "get",
36731     "url": "/api/integrations/vtiger/accounts/{id}/configurations",
36732     "title": "Gets account configurations",
36733     "examples": [
36734       {
36735         "title": "Example usage:",
36736         "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id}/configurations -v -u {name}:{password} -X GET",
36737         "type": "json"
36738       }
36739     ],
36740     "name": "getConfigurations",
36741     "group": "Vtiger_Accounts",
36742     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36743     "version": "0.0.0",
36744     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerAccount/index.js",
36745     "groupTitle": "Vtiger_Accounts"
36746   },
36747   {
36748     "type": "get",
36749     "url": "/api/integrations/vtiger/accounts/{id}/fields",
36750     "title": "Gets account fields",
36751     "examples": [
36752       {
36753         "title": "Example usage:",
36754         "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id}/fields -v -u {name}:{password} -X GET",
36755         "type": "json"
36756       }
36757     ],
36758     "name": "getFields",
36759     "group": "Vtiger_Accounts",
36760     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36761     "version": "0.0.0",
36762     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerAccount/index.js",
36763     "groupTitle": "Vtiger_Accounts"
36764   },
36765   {
36766     "type": "put",
36767     "url": "/api/integrations/vtiger/accounts/{id}",
36768     "title": "Update an existing Vtiger Account",
36769     "examples": [
36770       {
36771         "title": "Example usage:",
36772         "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
36773         "type": "json"
36774       }
36775     ],
36776     "name": "updateVtiger_Accounts",
36777     "group": "Vtiger_Accounts",
36778     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36779     "version": "0.0.0",
36780     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerAccount/index.js",
36781     "groupTitle": "Vtiger_Accounts"
36782   },
36783   {
36784     "type": "post",
36785     "url": "/api/integrations/vtiger/configurations",
36786     "title": "Creates a new Vtiger Configuration",
36787     "examples": [
36788       {
36789         "title": "Example usage:",
36790         "content": "curl https://{domain}/api/integrations/vtiger/configurations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
36791         "type": "json"
36792       }
36793     ],
36794     "name": "CreateVtiger_Configurations",
36795     "group": "Vtiger_Configurations",
36796     "parameter": {
36797       "fields": {
36798         "Body": [
36799           {
36800             "group": "Body",
36801             "type": "String",
36802             "optional": true,
36803             "field": "name",
36804             "description": ""
36805           },
36806           {
36807             "group": "Body",
36808             "type": "String",
36809             "optional": true,
36810             "field": "description",
36811             "description": ""
36812           }
36813         ]
36814       }
36815     },
36816     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36817     "version": "0.0.0",
36818     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerConfiguration/index.js",
36819     "groupTitle": "Vtiger_Configurations"
36820   },
36821   {
36822     "type": "delete",
36823     "url": "/api/integrations/vtiger/configurations/{id}",
36824     "title": "Deletes a Vtiger Configuration",
36825     "examples": [
36826       {
36827         "title": "Example usage:",
36828         "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id} -v -u {name}:{password} -X DELETE",
36829         "type": "json"
36830       }
36831     ],
36832     "name": "DeleteVtiger_Configurations",
36833     "group": "Vtiger_Configurations",
36834     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36835     "version": "0.0.0",
36836     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerConfiguration/index.js",
36837     "groupTitle": "Vtiger_Configurations"
36838   },
36839   {
36840     "type": "get",
36841     "url": "/api/integrations/vtiger/configurations",
36842     "title": "Gets a list of Vtiger Configurations",
36843     "examples": [
36844       {
36845         "title": "Example usage:",
36846         "content": "curl https://{domain}/api/integrations/vtiger/configurations -v -u {name}:{password}",
36847         "type": "json"
36848       }
36849     ],
36850     "name": "GetVtiger_Configurations",
36851     "group": "Vtiger_Configurations",
36852     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/vtiger/configurations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/vtiger/configurations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/vtiger/configurations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/vtiger/configurations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/vtiger/configurations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
36853     "version": "0.0.0",
36854     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerConfiguration/index.js",
36855     "groupTitle": "Vtiger_Configurations"
36856   },
36857   {
36858     "type": "get",
36859     "url": "/api/integrations/vtiger/configurations/{id}",
36860     "title": "Gets a single Vtiger Configuration",
36861     "examples": [
36862       {
36863         "title": "Example usage:",
36864         "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id} -v -u {name}:{password}",
36865         "type": "json"
36866       }
36867     ],
36868     "name": "ShowVtiger_Configurations",
36869     "group": "Vtiger_Configurations",
36870     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36871     "version": "0.0.0",
36872     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerConfiguration/index.js",
36873     "groupTitle": "Vtiger_Configurations"
36874   },
36875   {
36876     "type": "get",
36877     "url": "/api/integrations/vtiger/configurations/{id}/descriptions",
36878     "title": "Gets configurations descriptions",
36879     "examples": [
36880       {
36881         "title": "Example usage:",
36882         "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
36883         "type": "json"
36884       }
36885     ],
36886     "name": "getDescriptions",
36887     "group": "Vtiger_Configurations",
36888     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36889     "version": "0.0.0",
36890     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerConfiguration/index.js",
36891     "groupTitle": "Vtiger_Configurations"
36892   },
36893   {
36894     "type": "get",
36895     "url": "/api/integrations/vtiger/configurations/{id}/fields",
36896     "title": "Gets configurations fields",
36897     "examples": [
36898       {
36899         "title": "Example usage:",
36900         "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/fields -v -u {name}:{password} -X GET",
36901         "type": "json"
36902       }
36903     ],
36904     "name": "getFields",
36905     "group": "Vtiger_Configurations",
36906     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36907     "version": "0.0.0",
36908     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerConfiguration/index.js",
36909     "groupTitle": "Vtiger_Configurations"
36910   },
36911   {
36912     "type": "get",
36913     "url": "/api/integrations/vtiger/configurations/{id}/subjects",
36914     "title": "Gets configurations subjects",
36915     "examples": [
36916       {
36917         "title": "Example usage:",
36918         "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/subjects -v -u {name}:{password} -X GET",
36919         "type": "json"
36920       }
36921     ],
36922     "name": "getSubjects",
36923     "group": "Vtiger_Configurations",
36924     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36925     "version": "0.0.0",
36926     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerConfiguration/index.js",
36927     "groupTitle": "Vtiger_Configurations"
36928   },
36929   {
36930     "type": "put",
36931     "url": "/api/integrations/vtiger/configurations/{id}",
36932     "title": "Update an existing Vtiger Configuration",
36933     "examples": [
36934       {
36935         "title": "Example usage:",
36936         "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
36937         "type": "json"
36938       }
36939     ],
36940     "name": "updateVtiger_Configurations",
36941     "group": "Vtiger_Configurations",
36942     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36943     "version": "0.0.0",
36944     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerConfiguration/index.js",
36945     "groupTitle": "Vtiger_Configurations"
36946   },
36947   {
36948     "type": "post",
36949     "url": "/api/integrations/vtiger/fields",
36950     "title": "Creates a new Vtiger Field",
36951     "examples": [
36952       {
36953         "title": "Example usage:",
36954         "content": "curl https://{domain}/api/integrations/vtiger/fields -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
36955         "type": "json"
36956       }
36957     ],
36958     "name": "CreateVtiger_Fields",
36959     "group": "Vtiger_Fields",
36960     "parameter": {
36961       "fields": {
36962         "Body": [
36963           {
36964             "group": "Body",
36965             "type": "String",
36966             "allowedValues": [
36967               "\"string\"",
36968               "\"variable\"",
36969               "\"customVariable\"",
36970               "\"keyValue\""
36971             ],
36972             "optional": true,
36973             "field": "type",
36974             "description": ""
36975           },
36976           {
36977             "group": "Body",
36978             "type": "String",
36979             "optional": true,
36980             "field": "content",
36981             "description": ""
36982           },
36983           {
36984             "group": "Body",
36985             "type": "String",
36986             "optional": true,
36987             "field": "key",
36988             "description": ""
36989           },
36990           {
36991             "group": "Body",
36992             "type": "String",
36993             "allowedValues": [
36994               "\"string\"",
36995               "\"variable\"",
36996               "\"customVariable\""
36997             ],
36998             "optional": true,
36999             "field": "keyType",
37000             "description": ""
37001           },
37002           {
37003             "group": "Body",
37004             "type": "String",
37005             "optional": true,
37006             "field": "keyContent",
37007             "description": ""
37008           },
37009           {
37010             "group": "Body",
37011             "type": "String",
37012             "optional": true,
37013             "field": "idField",
37014             "description": ""
37015           },
37016           {
37017             "group": "Body",
37018             "type": "String",
37019             "optional": true,
37020             "field": "nameField",
37021             "description": ""
37022           },
37023           {
37024             "group": "Body",
37025             "type": "Boolean",
37026             "optional": true,
37027             "field": "customField",
37028             "description": ""
37029           },
37030           {
37031             "group": "Body",
37032             "type": "String",
37033             "optional": true,
37034             "field": "variableName",
37035             "description": ""
37036           }
37037         ]
37038       }
37039     },
37040     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37041     "version": "0.0.0",
37042     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerField/index.js",
37043     "groupTitle": "Vtiger_Fields"
37044   },
37045   {
37046     "type": "delete",
37047     "url": "/api/integrations/vtiger/fields/{id}",
37048     "title": "Deletes a Vtiger Field",
37049     "examples": [
37050       {
37051         "title": "Example usage:",
37052         "content": "curl https://{domain}/api/integrations/vtiger/fields/{id} -v -u {name}:{password} -X DELETE",
37053         "type": "json"
37054       }
37055     ],
37056     "name": "DeleteVtiger_Fields",
37057     "group": "Vtiger_Fields",
37058     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37059     "version": "0.0.0",
37060     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerField/index.js",
37061     "groupTitle": "Vtiger_Fields"
37062   },
37063   {
37064     "type": "get",
37065     "url": "/api/integrations/vtiger/fields",
37066     "title": "Gets a list of Vtiger Fields",
37067     "examples": [
37068       {
37069         "title": "Example usage:",
37070         "content": "curl https://{domain}/api/integrations/vtiger/fields -v -u {name}:{password}",
37071         "type": "json"
37072       }
37073     ],
37074     "name": "GetVtiger_Fields",
37075     "group": "Vtiger_Fields",
37076     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/vtiger/fields?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/vtiger/fields?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/vtiger/fields?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/vtiger/fields?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/vtiger/fields?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
37077     "version": "0.0.0",
37078     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerField/index.js",
37079     "groupTitle": "Vtiger_Fields"
37080   },
37081   {
37082     "type": "get",
37083     "url": "/api/integrations/vtiger/fields/{id}",
37084     "title": "Gets a single Vtiger Field",
37085     "examples": [
37086       {
37087         "title": "Example usage:",
37088         "content": "curl https://{domain}/api/integrations/vtiger/fields/{id} -v -u {name}:{password}",
37089         "type": "json"
37090       }
37091     ],
37092     "name": "ShowVtiger_Fields",
37093     "group": "Vtiger_Fields",
37094     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37095     "version": "0.0.0",
37096     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerField/index.js",
37097     "groupTitle": "Vtiger_Fields"
37098   },
37099   {
37100     "type": "put",
37101     "url": "/api/integrations/vtiger/fields/{id}",
37102     "title": "Update an existing Vtiger Field",
37103     "examples": [
37104       {
37105         "title": "Example usage:",
37106         "content": "curl https://{domain}/api/integrations/vtiger/fields/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
37107         "type": "json"
37108       }
37109     ],
37110     "name": "updateVtiger_Fields",
37111     "group": "Vtiger_Fields",
37112     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37113     "version": "0.0.0",
37114     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intVtigerField/index.js",
37115     "groupTitle": "Vtiger_Fields"
37116   },
37117   {
37118     "type": "post",
37119     "url": "/api/webbar/answer",
37120     "title": "answer webrtc call",
37121     "examples": [
37122       {
37123         "title": "Example usage:",
37124         "content": "curl https://{domain}/api/webbar/answer -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
37125         "type": "json"
37126       }
37127     ],
37128     "name": "Web_Bar_answer",
37129     "group": "WebBar",
37130     "parameter": {
37131       "fields": {
37132         "Body": [
37133           {
37134             "group": "Body",
37135             "type": "String",
37136             "optional": false,
37137             "field": "sessionId",
37138             "description": ""
37139           },
37140           {
37141             "group": "Body",
37142             "type": "number",
37143             "optional": false,
37144             "field": "userId",
37145             "description": ""
37146           }
37147         ]
37148       }
37149     },
37150     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37151     "version": "0.0.0",
37152     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/webbar/index.js",
37153     "groupTitle": "WebBar"
37154   },
37155   {
37156     "type": "post",
37157     "url": "/api/webbar/calls",
37158     "title": "webrtc call list",
37159     "examples": [
37160       {
37161         "title": "Example usage:",
37162         "content": "curl https://{domain}/api/webbar/calls -d '{\"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
37163         "type": "json"
37164       }
37165     ],
37166     "name": "Web_Bar_calls",
37167     "group": "WebBar",
37168     "parameter": {
37169       "fields": {
37170         "Body": [
37171           {
37172             "group": "Body",
37173             "type": "number",
37174             "optional": false,
37175             "field": "userId",
37176             "description": ""
37177           }
37178         ]
37179       }
37180     },
37181     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37182     "version": "0.0.0",
37183     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/webbar/index.js",
37184     "groupTitle": "WebBar"
37185   },
37186   {
37187     "type": "post",
37188     "url": "/api/webbar/hangup",
37189     "title": "hangup webrtc call",
37190     "examples": [
37191       {
37192         "title": "Example usage:",
37193         "content": "curl https://{domain}/api/webbar/hangup -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
37194         "type": "json"
37195       }
37196     ],
37197     "name": "Web_Bar_hangup",
37198     "group": "WebBar",
37199     "parameter": {
37200       "fields": {
37201         "Body": [
37202           {
37203             "group": "Body",
37204             "type": "String",
37205             "optional": false,
37206             "field": "sessionId",
37207             "description": ""
37208           },
37209           {
37210             "group": "Body",
37211             "type": "number",
37212             "optional": false,
37213             "field": "userId",
37214             "description": ""
37215           }
37216         ]
37217       }
37218     },
37219     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37220     "version": "0.0.0",
37221     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/webbar/index.js",
37222     "groupTitle": "WebBar"
37223   },
37224   {
37225     "type": "post",
37226     "url": "/api/webbar/hold",
37227     "title": "hold webrtc call",
37228     "examples": [
37229       {
37230         "title": "Example usage:",
37231         "content": "curl https://{domain}/api/webbar/hold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
37232         "type": "json"
37233       }
37234     ],
37235     "name": "Web_Bar_hold",
37236     "group": "WebBar",
37237     "parameter": {
37238       "fields": {
37239         "Body": [
37240           {
37241             "group": "Body",
37242             "type": "String",
37243             "optional": true,
37244             "field": "sessionId",
37245             "description": ""
37246           },
37247           {
37248             "group": "Body",
37249             "type": "number",
37250             "optional": false,
37251             "field": "userId",
37252             "description": ""
37253           }
37254         ]
37255       }
37256     },
37257     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37258     "version": "0.0.0",
37259     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/webbar/index.js",
37260     "groupTitle": "WebBar"
37261   },
37262   {
37263     "type": "post",
37264     "url": "/api/webbar/unhold",
37265     "title": "unhold webrtc call",
37266     "examples": [
37267       {
37268         "title": "Example usage:",
37269         "content": "curl https://{domain}/api/webbar/unhold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
37270         "type": "json"
37271       }
37272     ],
37273     "name": "Web_Bar_hold",
37274     "group": "WebBar",
37275     "parameter": {
37276       "fields": {
37277         "Body": [
37278           {
37279             "group": "Body",
37280             "type": "String",
37281             "optional": false,
37282             "field": "sessionId",
37283             "description": ""
37284           },
37285           {
37286             "group": "Body",
37287             "type": "number",
37288             "optional": false,
37289             "field": "userId",
37290             "description": ""
37291           }
37292         ]
37293       }
37294     },
37295     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37296     "version": "0.0.0",
37297     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/webbar/index.js",
37298     "groupTitle": "WebBar"
37299   },
37300   {
37301     "type": "post",
37302     "url": "/api/webbar/originate",
37303     "title": "Originate new webrtc call",
37304     "examples": [
37305       {
37306         "title": "Example usage:",
37307         "content": "curl https://{domain}/api/webbar/originate -d '{\"callNumber\": \"0119692844\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
37308         "type": "json"
37309       }
37310     ],
37311     "name": "Web_Bar_originate",
37312     "group": "WebBar",
37313     "parameter": {
37314       "fields": {
37315         "Body": [
37316           {
37317             "group": "Body",
37318             "type": "String",
37319             "optional": false,
37320             "field": "callNumber",
37321             "description": ""
37322           },
37323           {
37324             "group": "Body",
37325             "type": "number",
37326             "optional": false,
37327             "field": "userId",
37328             "description": ""
37329           },
37330           {
37331             "group": "Body",
37332             "type": "String",
37333             "optional": false,
37334             "field": "callerId",
37335             "description": ""
37336           },
37337           {
37338             "group": "Body",
37339             "type": "String",
37340             "optional": false,
37341             "field": "callbackUrl",
37342             "description": ""
37343           }
37344         ]
37345       }
37346     },
37347     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37348     "version": "0.0.0",
37349     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/webbar/index.js",
37350     "groupTitle": "WebBar"
37351   },
37352   {
37353     "type": "post",
37354     "url": "/api/webbar/transfer",
37355     "title": "blind transfer webrtc call",
37356     "examples": [
37357       {
37358         "title": "Example usage:",
37359         "content": "curl https://{domain}/api/webbar/transfer -d '{\"userId\": 54, \"sessionId\":\"<sessionId>\", \"transferNumber\":\"<transferNumber>\"}' \\\n -H \"Content-Type: application/json\" -X POST",
37360         "type": "json"
37361       }
37362     ],
37363     "name": "Web_Bar_transfer",
37364     "group": "WebBar",
37365     "parameter": {
37366       "fields": {
37367         "Body": [
37368           {
37369             "group": "Body",
37370             "type": "number",
37371             "optional": false,
37372             "field": "userId",
37373             "description": ""
37374           },
37375           {
37376             "group": "Body",
37377             "type": "string",
37378             "optional": false,
37379             "field": "sessionId",
37380             "description": ""
37381           },
37382           {
37383             "group": "Body",
37384             "type": "string",
37385             "optional": false,
37386             "field": "transferNumber",
37387             "description": ""
37388           }
37389         ]
37390       }
37391     },
37392     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37393     "version": "0.0.0",
37394     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/webbar/index.js",
37395     "groupTitle": "WebBar"
37396   },
37397   {
37398     "type": "post",
37399     "url": "/api/whatsapp/accounts/{id}/users",
37400     "title": "Add agents to a whatsapp account",
37401     "examples": [
37402       {
37403         "title": "Example usage:",
37404         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
37405         "type": "json"
37406       }
37407     ],
37408     "name": "AddAgents",
37409     "group": "Whatsapp_Accounts",
37410     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37411     "version": "0.0.0",
37412     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37413     "groupTitle": "Whatsapp_Accounts"
37414   },
37415   {
37416     "type": "post",
37417     "url": "/api/whatsapp/accounts",
37418     "title": "Creates a new Account",
37419     "examples": [
37420       {
37421         "title": "Example usage:",
37422         "content": "curl https://{domain}/api/whatsapp/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
37423         "type": "json"
37424       }
37425     ],
37426     "name": "CreateAccounts",
37427     "group": "Whatsapp_Accounts",
37428     "parameter": {
37429       "fields": {
37430         "Body": [
37431           {
37432             "group": "Body",
37433             "type": "String",
37434             "optional": false,
37435             "field": "name",
37436             "description": ""
37437           },
37438           {
37439             "group": "Body",
37440             "type": "String",
37441             "optional": false,
37442             "field": "key",
37443             "description": ""
37444           },
37445           {
37446             "group": "Body",
37447             "type": "String",
37448             "optional": false,
37449             "field": "remote",
37450             "description": ""
37451           },
37452           {
37453             "group": "Body",
37454             "type": "String",
37455             "optional": true,
37456             "field": "token",
37457             "description": ""
37458           },
37459           {
37460             "group": "Body",
37461             "type": "String",
37462             "optional": true,
37463             "field": "phone",
37464             "description": ""
37465           },
37466           {
37467             "group": "Body",
37468             "type": "String",
37469             "allowedValues": [
37470               "\"twilio\""
37471             ],
37472             "optional": true,
37473             "field": "type",
37474             "description": ""
37475           },
37476           {
37477             "group": "Body",
37478             "type": "String",
37479             "optional": true,
37480             "field": "accountSid",
37481             "description": ""
37482           },
37483           {
37484             "group": "Body",
37485             "type": "String",
37486             "optional": true,
37487             "field": "authToken",
37488             "description": ""
37489           },
37490           {
37491             "group": "Body",
37492             "type": "Text",
37493             "optional": true,
37494             "field": "notificationTemplate",
37495             "description": ""
37496           },
37497           {
37498             "group": "Body",
37499             "type": "Boolean",
37500             "optional": true,
37501             "field": "notificationSound",
37502             "description": ""
37503           },
37504           {
37505             "group": "Body",
37506             "type": "Boolean",
37507             "optional": true,
37508             "field": "notificationShake",
37509             "description": ""
37510           },
37511           {
37512             "group": "Body",
37513             "type": "Integer",
37514             "optional": true,
37515             "field": "waitForTheAssignedAgent",
37516             "description": ""
37517           },
37518           {
37519             "group": "Body",
37520             "type": "Boolean",
37521             "optional": true,
37522             "field": "queueTransfer",
37523             "description": ""
37524           },
37525           {
37526             "group": "Body",
37527             "type": "Integer",
37528             "optional": true,
37529             "field": "queueTransferTimeout",
37530             "description": ""
37531           },
37532           {
37533             "group": "Body",
37534             "type": "Boolean",
37535             "optional": true,
37536             "field": "agentTransfer",
37537             "description": ""
37538           },
37539           {
37540             "group": "Body",
37541             "type": "Integer",
37542             "optional": true,
37543             "field": "agentTransferTimeout",
37544             "description": ""
37545           },
37546           {
37547             "group": "Body",
37548             "type": "Integer",
37549             "optional": true,
37550             "field": "mandatoryDispositionPauseId",
37551             "description": "<p>Status to put when mandatory disposition is enabled</p>"
37552           },
37553           {
37554             "group": "Body",
37555             "type": "Boolean",
37556             "optional": true,
37557             "field": "mandatoryDisposition",
37558             "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
37559           },
37560           {
37561             "group": "Body",
37562             "type": "String",
37563             "optional": true,
37564             "field": "description",
37565             "description": ""
37566           }
37567         ]
37568       }
37569     },
37570     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37571     "version": "0.0.0",
37572     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37573     "groupTitle": "Whatsapp_Accounts"
37574   },
37575   {
37576     "type": "delete",
37577     "url": "/api/whatsapp/accounts/{id}",
37578     "title": "Deletes a Account",
37579     "examples": [
37580       {
37581         "title": "Example usage:",
37582         "content": "curl https://{domain}/api/whatsapp/accounts/{id} -v -u {name}:{password} -X DELETE",
37583         "type": "json"
37584       }
37585     ],
37586     "name": "DeleteAccounts",
37587     "group": "Whatsapp_Accounts",
37588     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37589     "version": "0.0.0",
37590     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37591     "groupTitle": "Whatsapp_Accounts"
37592   },
37593   {
37594     "type": "get",
37595     "url": "/api/whatsapp/accounts/describe",
37596     "title": "Gets table info about Accounts",
37597     "examples": [
37598       {
37599         "title": "Example usage:",
37600         "content": "curl https://{domain}/api/whatsapp/accounts/describe -v -u {name}:{password}",
37601         "type": "json"
37602       }
37603     ],
37604     "name": "DescribeAccounts",
37605     "group": "Whatsapp_Accounts",
37606     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37607     "version": "0.0.0",
37608     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37609     "groupTitle": "Whatsapp_Accounts"
37610   },
37611   {
37612     "type": "get",
37613     "url": "/api/whatsapp/accounts",
37614     "title": "Gets a list of Accounts",
37615     "examples": [
37616       {
37617         "title": "Example usage:",
37618         "content": "curl https://{domain}/api/whatsapp/accounts -v -u {name}:{password}",
37619         "type": "json"
37620       }
37621     ],
37622     "name": "GetAccounts",
37623     "group": "Whatsapp_Accounts",
37624     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/whatsapp/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/whatsapp/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/whatsapp/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/whatsapp/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/whatsapp/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
37625     "version": "0.0.0",
37626     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37627     "groupTitle": "Whatsapp_Accounts"
37628   },
37629   {
37630     "type": "get",
37631     "url": "/api/whatsapp/accounts/{id}/users",
37632     "title": "Gets agents from whatsapp account",
37633     "examples": [
37634       {
37635         "title": "Example usage:",
37636         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/users -v -u {name}:{password} -X GET",
37637         "type": "json"
37638       }
37639     ],
37640     "name": "GetAgents",
37641     "group": "Whatsapp_Accounts",
37642     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37643     "version": "0.0.0",
37644     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37645     "groupTitle": "Whatsapp_Accounts"
37646   },
37647   {
37648     "type": "delete",
37649     "url": "/api/whatsapp/accounts/{id}/users",
37650     "title": "Removes agents from a whatsapp account",
37651     "examples": [
37652       {
37653         "title": "Example usage:",
37654         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
37655         "type": "json"
37656       }
37657     ],
37658     "name": "RemoveAgents",
37659     "group": "Whatsapp_Accounts",
37660     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37661     "version": "0.0.0",
37662     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37663     "groupTitle": "Whatsapp_Accounts"
37664   },
37665   {
37666     "type": "delete",
37667     "url": "/api/whatsapp/accounts/{id}/canned_answers",
37668     "title": "Removes canned answers from account",
37669     "examples": [
37670       {
37671         "title": "Example usage:",
37672         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
37673         "type": "json"
37674       }
37675     ],
37676     "name": "RemoveAnswers",
37677     "group": "Whatsapp_Accounts",
37678     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37679     "version": "0.0.0",
37680     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37681     "groupTitle": "Whatsapp_Accounts"
37682   },
37683   {
37684     "type": "delete",
37685     "url": "/api/whatsapp/accounts/{id}/dispositions",
37686     "title": "Removes dispositions from account",
37687     "examples": [
37688       {
37689         "title": "Example usage:",
37690         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
37691         "type": "json"
37692       }
37693     ],
37694     "name": "RemoveDispositions",
37695     "group": "Whatsapp_Accounts",
37696     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37697     "version": "0.0.0",
37698     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37699     "groupTitle": "Whatsapp_Accounts"
37700   },
37701   {
37702     "type": "get",
37703     "url": "/api/whatsapp/accounts/{id}",
37704     "title": "Gets a single Account",
37705     "examples": [
37706       {
37707         "title": "Example usage:",
37708         "content": "curl https://{domain}/api/whatsapp/accounts/{id} -v -u {name}:{password}",
37709         "type": "json"
37710       }
37711     ],
37712     "name": "ShowAccounts",
37713     "group": "Whatsapp_Accounts",
37714     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37715     "version": "0.0.0",
37716     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37717     "groupTitle": "Whatsapp_Accounts"
37718   },
37719   {
37720     "type": "get",
37721     "url": "/ShowWhatsappAccount",
37722     "title": "Gets a single Account",
37723     "name": "ShowWhatsappAccount",
37724     "group": "Whatsapp_Accounts",
37725     "parameter": {
37726       "fields": {
37727         "Body": [
37728           {
37729             "group": "Body",
37730             "type": "Object",
37731             "optional": true,
37732             "field": "options.attributes",
37733             "description": ""
37734           },
37735           {
37736             "group": "Body",
37737             "type": "Object",
37738             "optional": false,
37739             "field": "options.where",
37740             "description": ""
37741           }
37742         ]
37743       }
37744     },
37745     "version": "0.0.0",
37746     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/whatsappAccount.rpc.js",
37747     "groupTitle": "Whatsapp_Accounts"
37748   },
37749   {
37750     "type": "put",
37751     "url": "/api/whatsapp/messages/{id}/accept",
37752     "title": "Accepts message",
37753     "examples": [
37754       {
37755         "title": "Example usage:",
37756         "content": "curl https://{domain}/api/whatsapp/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
37757         "type": "json"
37758       }
37759     ],
37760     "name": "acceptMessage",
37761     "group": "Whatsapp_Accounts",
37762     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37763     "version": "0.0.0",
37764     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappMessage/index.js",
37765     "groupTitle": "Whatsapp_Accounts"
37766   },
37767   {
37768     "type": "post",
37769     "url": "/api/whatsapp/accounts/{id}/canned_answers",
37770     "title": "Creates new canned answer",
37771     "examples": [
37772       {
37773         "title": "Example usage:",
37774         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/canned_answers -d '{\"name\": \"vip\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
37775         "type": "json"
37776       }
37777     ],
37778     "name": "addAnswer",
37779     "group": "Whatsapp_Accounts",
37780     "parameter": {
37781       "fields": {
37782         "Body": [
37783           {
37784             "group": "Body",
37785             "type": "String",
37786             "optional": false,
37787             "field": "key",
37788             "description": ""
37789           },
37790           {
37791             "group": "Body",
37792             "type": "Text",
37793             "optional": false,
37794             "field": "value",
37795             "description": ""
37796           },
37797           {
37798             "group": "Body",
37799             "type": "String",
37800             "optional": true,
37801             "field": "description",
37802             "description": ""
37803           },
37804           {
37805             "group": "Body",
37806             "type": "Virtual",
37807             "optional": true,
37808             "field": "name",
37809             "description": ""
37810           }
37811         ]
37812       }
37813     },
37814     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37815     "version": "0.0.0",
37816     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37817     "groupTitle": "Whatsapp_Accounts"
37818   },
37819   {
37820     "type": "post",
37821     "url": "/api/whatsapp/accounts/{id}/applications",
37822     "title": "Creates new applications",
37823     "examples": [
37824       {
37825         "title": "Example usage:",
37826         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
37827         "type": "json"
37828       }
37829     ],
37830     "name": "addApplications",
37831     "group": "Whatsapp_Accounts",
37832     "parameter": {
37833       "fields": {
37834         "Body": [
37835           {
37836             "group": "Body",
37837             "type": "Integer",
37838             "optional": false,
37839             "field": "priority",
37840             "description": ""
37841           },
37842           {
37843             "group": "Body",
37844             "type": "String",
37845             "optional": false,
37846             "field": "app",
37847             "description": ""
37848           },
37849           {
37850             "group": "Body",
37851             "type": "Text",
37852             "optional": true,
37853             "field": "appdata",
37854             "description": ""
37855           },
37856           {
37857             "group": "Body",
37858             "type": "String",
37859             "optional": true,
37860             "field": "description",
37861             "description": ""
37862           },
37863           {
37864             "group": "Body",
37865             "type": "String",
37866             "optional": true,
37867             "field": "interval",
37868             "description": ""
37869           }
37870         ]
37871       }
37872     },
37873     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37874     "version": "0.0.0",
37875     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37876     "groupTitle": "Whatsapp_Accounts"
37877   },
37878   {
37879     "type": "post",
37880     "url": "/api/whatsapp/accounts/{id}/dispositions",
37881     "title": "Creates new disposition",
37882     "examples": [
37883       {
37884         "title": "Example usage:",
37885         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
37886         "type": "json"
37887       }
37888     ],
37889     "name": "addDisposition",
37890     "group": "Whatsapp_Accounts",
37891     "parameter": {
37892       "fields": {
37893         "Body": [
37894           {
37895             "group": "Body",
37896             "type": "String",
37897             "optional": false,
37898             "field": "name",
37899             "description": ""
37900           },
37901           {
37902             "group": "Body",
37903             "type": "String",
37904             "allowedValues": [
37905               "\"first\"",
37906               "\"second\"",
37907               "\"third\""
37908             ],
37909             "optional": false,
37910             "field": "level",
37911             "description": ""
37912           },
37913           {
37914             "group": "Body",
37915             "type": "String",
37916             "optional": true,
37917             "field": "description",
37918             "description": ""
37919           }
37920         ]
37921       }
37922     },
37923     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37924     "version": "0.0.0",
37925     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37926     "groupTitle": "Whatsapp_Accounts"
37927   },
37928   {
37929     "type": "get",
37930     "url": "/api/whatsapp/accounts/{id}/canned_answers",
37931     "title": "Gets account canned answers",
37932     "examples": [
37933       {
37934         "title": "Example usage:",
37935         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
37936         "type": "json"
37937       }
37938     ],
37939     "name": "getAnswers",
37940     "group": "Whatsapp_Accounts",
37941     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37942     "version": "0.0.0",
37943     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37944     "groupTitle": "Whatsapp_Accounts"
37945   },
37946   {
37947     "type": "get",
37948     "url": "/api/whatsapp/accounts/{id}/applications",
37949     "title": "Gets account applications",
37950     "examples": [
37951       {
37952         "title": "Example usage:",
37953         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/applications -v -u {name}:{password} -X GET",
37954         "type": "json"
37955       }
37956     ],
37957     "name": "getApplications",
37958     "group": "Whatsapp_Accounts",
37959     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37960     "version": "0.0.0",
37961     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37962     "groupTitle": "Whatsapp_Accounts"
37963   },
37964   {
37965     "type": "get",
37966     "url": "/api/whatsapp/accounts/{id}/dispositions",
37967     "title": "Gets account dispositions",
37968     "examples": [
37969       {
37970         "title": "Example usage:",
37971         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
37972         "type": "json"
37973       }
37974     ],
37975     "name": "getDispositions",
37976     "group": "Whatsapp_Accounts",
37977     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37978     "version": "0.0.0",
37979     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37980     "groupTitle": "Whatsapp_Accounts"
37981   },
37982   {
37983     "type": "post",
37984     "url": "/api/whatsapp/accounts/{id}/notify",
37985     "title": "Notify new message",
37986     "examples": [
37987       {
37988         "title": "Example usage:",
37989         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/notify -d '{\"body\": \"hello world\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
37990         "type": "json"
37991       }
37992     ],
37993     "name": "notify",
37994     "group": "Whatsapp_Accounts",
37995     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <p>This API is used to create a new whatsapp message to be sent to the system.</p>",
37996     "version": "0.0.0",
37997     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
37998     "groupTitle": "Whatsapp_Accounts"
37999   },
38000   {
38001     "type": "put",
38002     "url": "/api/whatsapp/messages/{id}/reject",
38003     "title": "Rejects message",
38004     "examples": [
38005       {
38006         "title": "Example usage:",
38007         "content": "curl https://{domain}/api/whatsapp/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
38008         "type": "json"
38009       }
38010     ],
38011     "name": "rejectMessage",
38012     "group": "Whatsapp_Accounts",
38013     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38014     "version": "0.0.0",
38015     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappMessage/index.js",
38016     "groupTitle": "Whatsapp_Accounts"
38017   },
38018   {
38019     "type": "post",
38020     "url": "/api/whatsapp/accounts/{id}/send",
38021     "title": "Send new whatsapp message",
38022     "examples": [
38023       {
38024         "title": "Example usage:",
38025         "content": "curl https://{domain}/api/whatsapp/accounts/{id}/send -d '{from: '+39333123456', body: 'This is a test'}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
38026         "type": "json"
38027       }
38028     ],
38029     "name": "sendWhatsapp",
38030     "group": "Whatsapp_Accounts",
38031     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38032     "version": "0.0.0",
38033     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
38034     "groupTitle": "Whatsapp_Accounts"
38035   },
38036   {
38037     "type": "post",
38038     "url": "/api/whatsapp/messages/{id}/status",
38039     "title": "Receive message status",
38040     "examples": [
38041       {
38042         "title": "Example usage:",
38043         "content": "curl https://{domain}/api/whatsapp/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST",
38044         "type": "json"
38045       }
38046     ],
38047     "name": "statusMessage",
38048     "group": "Whatsapp_Accounts",
38049     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38050     "version": "0.0.0",
38051     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappMessage/index.js",
38052     "groupTitle": "Whatsapp_Accounts"
38053   },
38054   {
38055     "type": "put",
38056     "url": "/api/whatsapp/accounts/{id}",
38057     "title": "Update an existing Account",
38058     "examples": [
38059       {
38060         "title": "Example usage:",
38061         "content": "curl https://{domain}/api/whatsapp/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
38062         "type": "json"
38063       }
38064     ],
38065     "name": "updateAccounts",
38066     "group": "Whatsapp_Accounts",
38067     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38068     "version": "0.0.0",
38069     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappAccount/index.js",
38070     "groupTitle": "Whatsapp_Accounts"
38071   },
38072   {
38073     "type": "post",
38074     "url": "/api/whatsapp/applications",
38075     "title": "Creates a new Application",
38076     "examples": [
38077       {
38078         "title": "Example usage:",
38079         "content": "curl https://{domain}/api/whatsapp/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
38080         "type": "json"
38081       }
38082     ],
38083     "name": "CreateApplications",
38084     "group": "Whatsapp_Applications",
38085     "parameter": {
38086       "fields": {
38087         "Body": [
38088           {
38089             "group": "Body",
38090             "type": "Integer",
38091             "optional": false,
38092             "field": "priority",
38093             "description": ""
38094           },
38095           {
38096             "group": "Body",
38097             "type": "String",
38098             "optional": false,
38099             "field": "app",
38100             "description": ""
38101           },
38102           {
38103             "group": "Body",
38104             "type": "Text",
38105             "optional": true,
38106             "field": "appdata",
38107             "description": ""
38108           },
38109           {
38110             "group": "Body",
38111             "type": "String",
38112             "optional": true,
38113             "field": "description",
38114             "description": ""
38115           },
38116           {
38117             "group": "Body",
38118             "type": "String",
38119             "optional": true,
38120             "field": "interval",
38121             "description": ""
38122           }
38123         ]
38124       }
38125     },
38126     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38127     "version": "0.0.0",
38128     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappApplication/index.js",
38129     "groupTitle": "Whatsapp_Applications"
38130   },
38131   {
38132     "type": "delete",
38133     "url": "/api/whatsapp/applications/{id}",
38134     "title": "Deletes a Application",
38135     "examples": [
38136       {
38137         "title": "Example usage:",
38138         "content": "curl https://{domain}/api/whatsapp/applications/{id} -v -u {name}:{password} -X DELETE",
38139         "type": "json"
38140       }
38141     ],
38142     "name": "DeleteApplications",
38143     "group": "Whatsapp_Applications",
38144     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38145     "version": "0.0.0",
38146     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappApplication/index.js",
38147     "groupTitle": "Whatsapp_Applications"
38148   },
38149   {
38150     "type": "get",
38151     "url": "/api/whatsapp/applications",
38152     "title": "Gets a list of Applications",
38153     "examples": [
38154       {
38155         "title": "Example usage:",
38156         "content": "curl https://{domain}/api/whatsapp/applications -v -u {name}:{password}",
38157         "type": "json"
38158       }
38159     ],
38160     "name": "GetApplications",
38161     "group": "Whatsapp_Applications",
38162     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/whatsapp/applications?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/whatsapp/applications?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/whatsapp/applications?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/whatsapp/applications?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/whatsapp/applications?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
38163     "version": "0.0.0",
38164     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappApplication/index.js",
38165     "groupTitle": "Whatsapp_Applications"
38166   },
38167   {
38168     "type": "get",
38169     "url": "/api/whatsapp/applications/{id}",
38170     "title": "Gets a single Application",
38171     "examples": [
38172       {
38173         "title": "Example usage:",
38174         "content": "curl https://{domain}/api/whatsapp/applications/{id} -v -u {name}:{password}",
38175         "type": "json"
38176       }
38177     ],
38178     "name": "ShowApplications",
38179     "group": "Whatsapp_Applications",
38180     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38181     "version": "0.0.0",
38182     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappApplication/index.js",
38183     "groupTitle": "Whatsapp_Applications"
38184   },
38185   {
38186     "type": "put",
38187     "url": "/api/whatsapp/applications/{id}",
38188     "title": "Update an existing Application",
38189     "examples": [
38190       {
38191         "title": "Example usage:",
38192         "content": "curl https://{domain}/api/whatsapp/applications/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
38193         "type": "json"
38194       }
38195     ],
38196     "name": "updateApplications",
38197     "group": "Whatsapp_Applications",
38198     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38199     "version": "0.0.0",
38200     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappApplication/index.js",
38201     "groupTitle": "Whatsapp_Applications"
38202   },
38203   {
38204     "type": "post",
38205     "url": "/api/whatsapp/interactions/{id}/tags",
38206     "title": "Add tags to the interaction",
38207     "examples": [
38208       {
38209         "title": "Example usage:",
38210         "content": "curl https://{domain}/api/whatsapp/interaction/{id}/tags -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
38211         "type": "json"
38212       }
38213     ],
38214     "name": "AddTags",
38215     "group": "Whatsapp_Interactions",
38216     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38217     "version": "0.0.0",
38218     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/index.js",
38219     "groupTitle": "Whatsapp_Interactions"
38220   },
38221   {
38222     "type": "post",
38223     "url": "/AddTagsToWhatsappInteraction",
38224     "title": "Add Tags to Whatsapp interaction",
38225     "name": "AddTagsToWhatsappInteraction",
38226     "group": "Whatsapp_Interactions",
38227     "parameter": {
38228       "fields": {
38229         "Body": [
38230           {
38231             "group": "Body",
38232             "type": "Object",
38233             "optional": true,
38234             "field": "options.attributes",
38235             "description": ""
38236           },
38237           {
38238             "group": "Body",
38239             "type": "Object",
38240             "optional": false,
38241             "field": "options.where",
38242             "description": ""
38243           }
38244         ]
38245       }
38246     },
38247     "version": "0.0.0",
38248     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/whatsappInteraction.rpc.js",
38249     "groupTitle": "Whatsapp_Interactions"
38250   },
38251   {
38252     "type": "post",
38253     "url": "/api/whatsapp/interactions",
38254     "title": "Creates a new Interaction",
38255     "examples": [
38256       {
38257         "title": "Example usage:",
38258         "content": "curl https://{domain}/api/whatsapp/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
38259         "type": "json"
38260       }
38261     ],
38262     "name": "CreateInteractions",
38263     "group": "Whatsapp_Interactions",
38264     "parameter": {
38265       "fields": {
38266         "Body": [
38267           {
38268             "group": "Body",
38269             "type": "Boolean",
38270             "optional": true,
38271             "field": "closed",
38272             "description": ""
38273           },
38274           {
38275             "group": "Body",
38276             "type": "String",
38277             "optional": true,
38278             "field": "closedAt",
38279             "description": ""
38280           },
38281           {
38282             "group": "Body",
38283             "type": "String",
38284             "optional": true,
38285             "field": "disposition",
38286             "description": ""
38287           },
38288           {
38289             "group": "Body",
38290             "type": "String",
38291             "optional": true,
38292             "field": "secondDisposition",
38293             "description": ""
38294           },
38295           {
38296             "group": "Body",
38297             "type": "String",
38298             "optional": true,
38299             "field": "thirdDisposition",
38300             "description": ""
38301           },
38302           {
38303             "group": "Body",
38304             "type": "String",
38305             "optional": true,
38306             "field": "note",
38307             "description": ""
38308           },
38309           {
38310             "group": "Body",
38311             "type": "String",
38312             "optional": true,
38313             "field": "phone",
38314             "description": ""
38315           },
38316           {
38317             "group": "Body",
38318             "type": "String",
38319             "optional": true,
38320             "field": "read1stAt",
38321             "description": ""
38322           },
38323           {
38324             "group": "Body",
38325             "type": "String",
38326             "allowedValues": [
38327               "\"in\"",
38328               "\"out\""
38329             ],
38330             "optional": false,
38331             "field": "firstMsgDirection",
38332             "description": ""
38333           },
38334           {
38335             "group": "Body",
38336             "type": "String",
38337             "optional": true,
38338             "field": "lastMsgAt",
38339             "description": ""
38340           },
38341           {
38342             "group": "Body",
38343             "type": "String",
38344             "allowedValues": [
38345               "\"in\"",
38346               "\"out\""
38347             ],
38348             "optional": false,
38349             "field": "lastMsgDirection",
38350             "description": ""
38351           }
38352         ]
38353       }
38354     },
38355     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38356     "version": "0.0.0",
38357     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/index.js",
38358     "groupTitle": "Whatsapp_Interactions"
38359   },
38360   {
38361     "type": "delete",
38362     "url": "/api/whatsapp/interactions/{id}",
38363     "title": "Deletes a Interaction",
38364     "examples": [
38365       {
38366         "title": "Example usage:",
38367         "content": "curl https://{domain}/api/whatsapp/interactions/{id} -v -u {name}:{password} -X DELETE",
38368         "type": "json"
38369       }
38370     ],
38371     "name": "DeleteInteractions",
38372     "group": "Whatsapp_Interactions",
38373     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38374     "version": "0.0.0",
38375     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/index.js",
38376     "groupTitle": "Whatsapp_Interactions"
38377   },
38378   {
38379     "type": "get",
38380     "url": "/api/whatsapp/interactions/describe",
38381     "title": "Gets table info about Interactions",
38382     "examples": [
38383       {
38384         "title": "Example usage:",
38385         "content": "curl https://{domain}/api/whatsapp/interactions/describe -v -u {name}:{password}",
38386         "type": "json"
38387       }
38388     ],
38389     "name": "DescribeInteractions",
38390     "group": "Whatsapp_Interactions",
38391     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38392     "version": "0.0.0",
38393     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/index.js",
38394     "groupTitle": "Whatsapp_Interactions"
38395   },
38396   {
38397     "type": "get",
38398     "url": "/api/whatsapp/interactions",
38399     "title": "Gets a list of Interactions",
38400     "examples": [
38401       {
38402         "title": "Example usage:",
38403         "content": "curl https://{domain}/api/whatsapp/interactions -v -u {name}:{password}",
38404         "type": "json"
38405       }
38406     ],
38407     "name": "GetInteractions",
38408     "group": "Whatsapp_Interactions",
38409     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/whatsapp/interactions?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/whatsapp/interactions?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/whatsapp/interactions?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/whatsapp/interactions?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/whatsapp/interactions?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
38410     "version": "0.0.0",
38411     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/index.js",
38412     "groupTitle": "Whatsapp_Interactions"
38413   },
38414   {
38415     "type": "delete",
38416     "url": "/api/whatsapp/interactions/{id}/tags",
38417     "title": "Removes tags from interaction",
38418     "examples": [
38419       {
38420         "title": "Example usage:",
38421         "content": "curl https://{domain}/api/whatsapp/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
38422         "type": "json"
38423       }
38424     ],
38425     "name": "RemoveTags",
38426     "group": "Whatsapp_Interactions",
38427     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38428     "version": "0.0.0",
38429     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/index.js",
38430     "groupTitle": "Whatsapp_Interactions"
38431   },
38432   {
38433     "type": "get",
38434     "url": "/api/whatsapp/interactions/{id}",
38435     "title": "Gets a single Interaction",
38436     "examples": [
38437       {
38438         "title": "Example usage:",
38439         "content": "curl https://{domain}/api/whatsapp/interactions/{id} -v -u {name}:{password}",
38440         "type": "json"
38441       }
38442     ],
38443     "name": "ShowInteractions",
38444     "group": "Whatsapp_Interactions",
38445     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38446     "version": "0.0.0",
38447     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/index.js",
38448     "groupTitle": "Whatsapp_Interactions"
38449   },
38450   {
38451     "type": "post",
38452     "url": "/UpdateWhatsappInteraction",
38453     "title": "Updates a new Interaction",
38454     "name": "UpdateWhatsappInteraction",
38455     "group": "Whatsapp_Interactions",
38456     "parameter": {
38457       "fields": {
38458         "Body": [
38459           {
38460             "group": "Body",
38461             "type": "Object",
38462             "optional": true,
38463             "field": "options.attributes",
38464             "description": ""
38465           },
38466           {
38467             "group": "Body",
38468             "type": "Object",
38469             "optional": false,
38470             "field": "options.where",
38471             "description": ""
38472           }
38473         ]
38474       }
38475     },
38476     "version": "0.0.0",
38477     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/whatsappInteraction.rpc.js",
38478     "groupTitle": "Whatsapp_Interactions"
38479   },
38480   {
38481     "type": "post",
38482     "url": "/api/whatsapp/interactions/{id}/messages",
38483     "title": "Creates new messages",
38484     "examples": [
38485       {
38486         "title": "Example usage:",
38487         "content": "curl https://{domain}/api/whatsapp/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
38488         "type": "json"
38489       }
38490     ],
38491     "name": "addMessage",
38492     "group": "Whatsapp_Interactions",
38493     "parameter": {
38494       "fields": {
38495         "Body": [
38496           {
38497             "group": "Body",
38498             "type": "Text",
38499             "optional": false,
38500             "field": "body",
38501             "description": ""
38502           },
38503           {
38504             "group": "Body",
38505             "type": "Boolean",
38506             "optional": true,
38507             "field": "read",
38508             "description": ""
38509           },
38510           {
38511             "group": "Body",
38512             "type": "String",
38513             "allowedValues": [
38514               "\"in\"",
38515               "\"out\""
38516             ],
38517             "optional": false,
38518             "field": "direction",
38519             "description": ""
38520           },
38521           {
38522             "group": "Body",
38523             "type": "String",
38524             "optional": true,
38525             "field": "messageId",
38526             "description": ""
38527           },
38528           {
38529             "group": "Body",
38530             "type": "String",
38531             "optional": true,
38532             "field": "phone",
38533             "description": ""
38534           },
38535           {
38536             "group": "Body",
38537             "type": "String",
38538             "optional": true,
38539             "field": "readAt",
38540             "description": ""
38541           },
38542           {
38543             "group": "Body",
38544             "type": "Boolean",
38545             "optional": true,
38546             "field": "secret",
38547             "description": ""
38548           },
38549           {
38550             "group": "Body",
38551             "type": "String",
38552             "optional": true,
38553             "field": "providerName",
38554             "description": ""
38555           },
38556           {
38557             "group": "Body",
38558             "type": "Text",
38559             "optional": true,
38560             "field": "providerResponse",
38561             "description": ""
38562           }
38563         ]
38564       }
38565     },
38566     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38567     "version": "0.0.0",
38568     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/index.js",
38569     "groupTitle": "Whatsapp_Interactions"
38570   },
38571   {
38572     "type": "get",
38573     "url": "/api/whatsapp/interactions/{id}/download",
38574     "title": "Gets interaction",
38575     "examples": [
38576       {
38577         "title": "Example usage:",
38578         "content": "curl https://{domain}/api/whatsapp/interactions/{id}/download -v -u {name}:{password} -X GET",
38579         "type": "json"
38580       }
38581     ],
38582     "name": "download",
38583     "group": "Whatsapp_Interactions",
38584     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38585     "version": "0.0.0",
38586     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/index.js",
38587     "groupTitle": "Whatsapp_Interactions"
38588   },
38589   {
38590     "type": "get",
38591     "url": "/api/whatsapp/interactions/{id}/messages",
38592     "title": "Gets interaction messages",
38593     "examples": [
38594       {
38595         "title": "Example usage:",
38596         "content": "curl https://{domain}/api/whatsapp/interactions/{id}/messages -v -u {name}:{password} -X GET",
38597         "type": "json"
38598       }
38599     ],
38600     "name": "getMessages",
38601     "group": "Whatsapp_Interactions",
38602     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38603     "version": "0.0.0",
38604     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/index.js",
38605     "groupTitle": "Whatsapp_Interactions"
38606   },
38607   {
38608     "type": "put",
38609     "url": "/api/whatsapp/interactions/{id}",
38610     "title": "Update an existing Interaction",
38611     "examples": [
38612       {
38613         "title": "Example usage:",
38614         "content": "curl https://{domain}/api/whatsapp/interactions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
38615         "type": "json"
38616       }
38617     ],
38618     "name": "updateInteractions",
38619     "group": "Whatsapp_Interactions",
38620     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38621     "version": "0.0.0",
38622     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappInteraction/index.js",
38623     "groupTitle": "Whatsapp_Interactions"
38624   },
38625   {
38626     "type": "post",
38627     "url": "/api/whatsapp/messages",
38628     "title": "Creates a new Message",
38629     "examples": [
38630       {
38631         "title": "Example usage:",
38632         "content": "curl https://{domain}/api/whatsapp/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
38633         "type": "json"
38634       }
38635     ],
38636     "name": "CreateMessages",
38637     "group": "Whatsapp_Messages",
38638     "parameter": {
38639       "fields": {
38640         "Body": [
38641           {
38642             "group": "Body",
38643             "type": "Text",
38644             "optional": false,
38645             "field": "body",
38646             "description": ""
38647           },
38648           {
38649             "group": "Body",
38650             "type": "Boolean",
38651             "optional": true,
38652             "field": "read",
38653             "description": ""
38654           },
38655           {
38656             "group": "Body",
38657             "type": "String",
38658             "allowedValues": [
38659               "\"in\"",
38660               "\"out\""
38661             ],
38662             "optional": false,
38663             "field": "direction",
38664             "description": ""
38665           },
38666           {
38667             "group": "Body",
38668             "type": "String",
38669             "optional": true,
38670             "field": "messageId",
38671             "description": ""
38672           },
38673           {
38674             "group": "Body",
38675             "type": "String",
38676             "optional": true,
38677             "field": "phone",
38678             "description": ""
38679           },
38680           {
38681             "group": "Body",
38682             "type": "String",
38683             "optional": true,
38684             "field": "readAt",
38685             "description": ""
38686           },
38687           {
38688             "group": "Body",
38689             "type": "Boolean",
38690             "optional": true,
38691             "field": "secret",
38692             "description": ""
38693           },
38694           {
38695             "group": "Body",
38696             "type": "String",
38697             "optional": true,
38698             "field": "providerName",
38699             "description": ""
38700           },
38701           {
38702             "group": "Body",
38703             "type": "Text",
38704             "optional": true,
38705             "field": "providerResponse",
38706             "description": ""
38707           }
38708         ]
38709       }
38710     },
38711     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38712     "version": "0.0.0",
38713     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappMessage/index.js",
38714     "groupTitle": "Whatsapp_Messages"
38715   },
38716   {
38717     "type": "post",
38718     "url": "/CreateWhatsappMessage",
38719     "title": "Creates a new Message",
38720     "name": "CreateWhatsappMessage",
38721     "group": "Whatsapp_Messages",
38722     "version": "0.0.0",
38723     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappMessage/whatsappMessage.rpc.js",
38724     "groupTitle": "Whatsapp_Messages"
38725   },
38726   {
38727     "type": "delete",
38728     "url": "/api/whatsapp/messages/{id}",
38729     "title": "Deletes a Message",
38730     "examples": [
38731       {
38732         "title": "Example usage:",
38733         "content": "curl https://{domain}/api/whatsapp/messages/{id} -v -u {name}:{password} -X DELETE",
38734         "type": "json"
38735       }
38736     ],
38737     "name": "DeleteMessages",
38738     "group": "Whatsapp_Messages",
38739     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38740     "version": "0.0.0",
38741     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappMessage/index.js",
38742     "groupTitle": "Whatsapp_Messages"
38743   },
38744   {
38745     "type": "get",
38746     "url": "/api/whatsapp/messages/describe",
38747     "title": "Gets table info about Messages",
38748     "examples": [
38749       {
38750         "title": "Example usage:",
38751         "content": "curl https://{domain}/api/whatsapp/messages/describe -v -u {name}:{password}",
38752         "type": "json"
38753       }
38754     ],
38755     "name": "DescribeMessages",
38756     "group": "Whatsapp_Messages",
38757     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38758     "version": "0.0.0",
38759     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappMessage/index.js",
38760     "groupTitle": "Whatsapp_Messages"
38761   },
38762   {
38763     "type": "get",
38764     "url": "/api/whatsapp/messages",
38765     "title": "Gets a list of Messages",
38766     "examples": [
38767       {
38768         "title": "Example usage:",
38769         "content": "curl https://{domain}/api/whatsapp/messages -v -u {name}:{password}",
38770         "type": "json"
38771       }
38772     ],
38773     "name": "GetMessages",
38774     "group": "Whatsapp_Messages",
38775     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/whatsapp/messages?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/whatsapp/messages?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/whatsapp/messages?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/whatsapp/messages?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/whatsapp/messages?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
38776     "version": "0.0.0",
38777     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappMessage/index.js",
38778     "groupTitle": "Whatsapp_Messages"
38779   },
38780   {
38781     "type": "get",
38782     "url": "/api/whatsapp/messages/{id}",
38783     "title": "Gets a single Message",
38784     "examples": [
38785       {
38786         "title": "Example usage:",
38787         "content": "curl https://{domain}/api/whatsapp/messages/{id} -v -u {name}:{password}",
38788         "type": "json"
38789       }
38790     ],
38791     "name": "ShowMessages",
38792     "group": "Whatsapp_Messages",
38793     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38794     "version": "0.0.0",
38795     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappMessage/index.js",
38796     "groupTitle": "Whatsapp_Messages"
38797   },
38798   {
38799     "type": "put",
38800     "url": "/api/whatsapp/messages/{id}",
38801     "title": "Update an existing Message",
38802     "examples": [
38803       {
38804         "title": "Example usage:",
38805         "content": "curl https://{domain}/api/whatsapp/messages/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
38806         "type": "json"
38807       }
38808     ],
38809     "name": "updateMessages",
38810     "group": "Whatsapp_Messages",
38811     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38812     "version": "0.0.0",
38813     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappMessage/index.js",
38814     "groupTitle": "Whatsapp_Messages"
38815   },
38816   {
38817     "type": "post",
38818     "url": "/CreateWhatsappQueueReport",
38819     "title": "Creates a new Whatsapp Queue Report",
38820     "name": "CreateWhatsappQueueReport",
38821     "group": "Whatsapp_Queue_Reports",
38822     "version": "0.0.0",
38823     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueueReport/whatsappQueueReport.rpc.js",
38824     "groupTitle": "Whatsapp_Queue_Reports"
38825   },
38826   {
38827     "type": "post",
38828     "url": "/api/whatsapp/reports/queue",
38829     "title": "Creates a new Whatsapp Queue Report",
38830     "examples": [
38831       {
38832         "title": "Example usage:",
38833         "content": "curl https://{domain}/api/whatsapp/reports/queue -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
38834         "type": "json"
38835       }
38836     ],
38837     "name": "CreateWhatsapp_Queue_Reports",
38838     "group": "Whatsapp_Queue_Reports",
38839     "parameter": {
38840       "fields": {
38841         "Body": [
38842           {
38843             "group": "Body",
38844             "type": "String",
38845             "optional": false,
38846             "field": "uniqueid",
38847             "description": ""
38848           },
38849           {
38850             "group": "Body",
38851             "type": "String",
38852             "optional": true,
38853             "field": "from",
38854             "description": ""
38855           },
38856           {
38857             "group": "Body",
38858             "type": "String",
38859             "optional": true,
38860             "field": "joinAt",
38861             "description": ""
38862           },
38863           {
38864             "group": "Body",
38865             "type": "String",
38866             "optional": true,
38867             "field": "leaveAt",
38868             "description": ""
38869           },
38870           {
38871             "group": "Body",
38872             "type": "String",
38873             "optional": true,
38874             "field": "acceptAt",
38875             "description": ""
38876           },
38877           {
38878             "group": "Body",
38879             "type": "String",
38880             "optional": true,
38881             "field": "exitAt",
38882             "description": ""
38883           },
38884           {
38885             "group": "Body",
38886             "type": "String",
38887             "optional": true,
38888             "field": "reason",
38889             "description": ""
38890           }
38891         ]
38892       }
38893     },
38894     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38895     "version": "0.0.0",
38896     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueueReport/index.js",
38897     "groupTitle": "Whatsapp_Queue_Reports"
38898   },
38899   {
38900     "type": "delete",
38901     "url": "/api/whatsapp/reports/queue/{id}",
38902     "title": "Deletes a Whatsapp Queue Report",
38903     "examples": [
38904       {
38905         "title": "Example usage:",
38906         "content": "curl https://{domain}/api/whatsapp/reports/queue/{id} -v -u {name}:{password} -X DELETE",
38907         "type": "json"
38908       }
38909     ],
38910     "name": "DeleteWhatsapp_Queue_Reports",
38911     "group": "Whatsapp_Queue_Reports",
38912     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38913     "version": "0.0.0",
38914     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueueReport/index.js",
38915     "groupTitle": "Whatsapp_Queue_Reports"
38916   },
38917   {
38918     "type": "get",
38919     "url": "/api/whatsapp/reports/queue/describe",
38920     "title": "Gets table info about Whatsapp Queue Reports",
38921     "examples": [
38922       {
38923         "title": "Example usage:",
38924         "content": "curl https://{domain}/api/whatsapp/reports/queue/describe -v -u {name}:{password}",
38925         "type": "json"
38926       }
38927     ],
38928     "name": "DescribeWhatsapp_Queue_Reports",
38929     "group": "Whatsapp_Queue_Reports",
38930     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38931     "version": "0.0.0",
38932     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueueReport/index.js",
38933     "groupTitle": "Whatsapp_Queue_Reports"
38934   },
38935   {
38936     "type": "get",
38937     "url": "/api/whatsapp/reports/queue",
38938     "title": "Gets a list of Whatsapp Queue Reports",
38939     "examples": [
38940       {
38941         "title": "Example usage:",
38942         "content": "curl https://{domain}/api/whatsapp/reports/queue -v -u {name}:{password}",
38943         "type": "json"
38944       }
38945     ],
38946     "name": "GetWhatsapp_Queue_Reports",
38947     "group": "Whatsapp_Queue_Reports",
38948     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/whatsapp/reports/queue?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/whatsapp/reports/queue?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/whatsapp/reports/queue?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/whatsapp/reports/queue?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/whatsapp/reports/queue?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
38949     "version": "0.0.0",
38950     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueueReport/index.js",
38951     "groupTitle": "Whatsapp_Queue_Reports"
38952   },
38953   {
38954     "type": "get",
38955     "url": "/api/whatsapp/reports/queue/{id}",
38956     "title": "Gets a single Whatsapp Queue Report",
38957     "examples": [
38958       {
38959         "title": "Example usage:",
38960         "content": "curl https://{domain}/api/whatsapp/reports/queue/{id} -v -u {name}:{password}",
38961         "type": "json"
38962       }
38963     ],
38964     "name": "ShowWhatsapp_Queue_Reports",
38965     "group": "Whatsapp_Queue_Reports",
38966     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38967     "version": "0.0.0",
38968     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueueReport/index.js",
38969     "groupTitle": "Whatsapp_Queue_Reports"
38970   },
38971   {
38972     "type": "post",
38973     "url": "/UpdateWhatsappQueueReport",
38974     "title": "Updates a new Whatsapp Queue Report",
38975     "name": "UpdateWhatsappQueueReport",
38976     "group": "Whatsapp_Queue_Reports",
38977     "parameter": {
38978       "fields": {
38979         "Body": [
38980           {
38981             "group": "Body",
38982             "type": "Object",
38983             "optional": true,
38984             "field": "options.attributes",
38985             "description": ""
38986           },
38987           {
38988             "group": "Body",
38989             "type": "Object",
38990             "optional": false,
38991             "field": "options.where",
38992             "description": ""
38993           }
38994         ]
38995       }
38996     },
38997     "version": "0.0.0",
38998     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueueReport/whatsappQueueReport.rpc.js",
38999     "groupTitle": "Whatsapp_Queue_Reports"
39000   },
39001   {
39002     "type": "put",
39003     "url": "/api/whatsapp/reports/queue/{id}",
39004     "title": "Update an existing Whatsapp Queue Report",
39005     "examples": [
39006       {
39007         "title": "Example usage:",
39008         "content": "curl https://{domain}/api/whatsapp/reports/queue/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
39009         "type": "json"
39010       }
39011     ],
39012     "name": "updateWhatsapp_Queue_Reports",
39013     "group": "Whatsapp_Queue_Reports",
39014     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39015     "version": "0.0.0",
39016     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueueReport/index.js",
39017     "groupTitle": "Whatsapp_Queue_Reports"
39018   },
39019   {
39020     "type": "post",
39021     "url": "/api/whatsapp/queues/{id}/users",
39022     "title": "Add agents to a queue",
39023     "examples": [
39024       {
39025         "title": "Example usage:",
39026         "content": "curl https://{domain}/api/whatsapp/queues/{id}/users -d '{\"ids\": [1,2], \"penalty\": 2}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
39027         "type": "json"
39028       }
39029     ],
39030     "name": "AddAgents",
39031     "group": "Whatsapp_Queues",
39032     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39033     "version": "0.0.0",
39034     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39035     "groupTitle": "Whatsapp_Queues"
39036   },
39037   {
39038     "type": "post",
39039     "url": "/api/whatsapp/queues/{id}/teams",
39040     "title": "Add teams to a queue",
39041     "examples": [
39042       {
39043         "title": "Example usage:",
39044         "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
39045         "type": "json"
39046       }
39047     ],
39048     "name": "AddTeams",
39049     "group": "Whatsapp_Queues",
39050     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39051     "version": "0.0.0",
39052     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39053     "groupTitle": "Whatsapp_Queues"
39054   },
39055   {
39056     "type": "post",
39057     "url": "/api/whatsapp/queues",
39058     "title": "Creates a new Queue",
39059     "examples": [
39060       {
39061         "title": "Example usage:",
39062         "content": "curl https://{domain}/api/whatsapp/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
39063         "type": "json"
39064       }
39065     ],
39066     "name": "CreateQueues",
39067     "group": "Whatsapp_Queues",
39068     "parameter": {
39069       "fields": {
39070         "Body": [
39071           {
39072             "group": "Body",
39073             "type": "String",
39074             "optional": true,
39075             "field": "name",
39076             "description": ""
39077           },
39078           {
39079             "group": "Body",
39080             "type": "Integer",
39081             "optional": true,
39082             "field": "timeout",
39083             "description": ""
39084           },
39085           {
39086             "group": "Body",
39087             "type": "String",
39088             "allowedValues": [
39089               "\"rrmemory\"",
39090               "\"beepall\"",
39091               "\"roundrobin\""
39092             ],
39093             "optional": true,
39094             "field": "strategy",
39095             "description": ""
39096           },
39097           {
39098             "group": "Body",
39099             "type": "String",
39100             "optional": true,
39101             "field": "description",
39102             "description": ""
39103           }
39104         ]
39105       }
39106     },
39107     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39108     "version": "0.0.0",
39109     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39110     "groupTitle": "Whatsapp_Queues"
39111   },
39112   {
39113     "type": "delete",
39114     "url": "/api/whatsapp/queues/{id}",
39115     "title": "Deletes a Queue",
39116     "examples": [
39117       {
39118         "title": "Example usage:",
39119         "content": "curl https://{domain}/api/whatsapp/queues/{id} -v -u {name}:{password} -X DELETE",
39120         "type": "json"
39121       }
39122     ],
39123     "name": "DeleteQueues",
39124     "group": "Whatsapp_Queues",
39125     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39126     "version": "0.0.0",
39127     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39128     "groupTitle": "Whatsapp_Queues"
39129   },
39130   {
39131     "type": "get",
39132     "url": "/api/whatsapp/queues/describe",
39133     "title": "Gets table info about Queues",
39134     "examples": [
39135       {
39136         "title": "Example usage:",
39137         "content": "curl https://{domain}/api/whatsapp/queues/describe -v -u {name}:{password}",
39138         "type": "json"
39139       }
39140     ],
39141     "name": "DescribeQueues",
39142     "group": "Whatsapp_Queues",
39143     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39144     "version": "0.0.0",
39145     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39146     "groupTitle": "Whatsapp_Queues"
39147   },
39148   {
39149     "type": "get",
39150     "url": "/api/whatsapp/queues/{id}/users",
39151     "title": "Gets queue agents",
39152     "examples": [
39153       {
39154         "title": "Example usage:",
39155         "content": "curl https://{domain}/api/whatsapp/queues/{id}/users -v -u {name}:{password} -X POST",
39156         "type": "json"
39157       }
39158     ],
39159     "name": "GetAgents",
39160     "group": "Whatsapp_Queues",
39161     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39162     "version": "0.0.0",
39163     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39164     "groupTitle": "Whatsapp_Queues"
39165   },
39166   {
39167     "type": "get",
39168     "url": "/api/whatsapp/queues/{id}/members",
39169     "title": "GetMembers",
39170     "examples": [
39171       {
39172         "title": "Example usage:",
39173         "content": "curl https://{domain}/api/whatsapp/queues/{id}/members  -v -u {name}:{password}",
39174         "type": "json"
39175       }
39176     ],
39177     "name": "GetMembers",
39178     "group": "Whatsapp_Queues",
39179     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39180     "version": "0.0.0",
39181     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39182     "groupTitle": "Whatsapp_Queues"
39183   },
39184   {
39185     "type": "get",
39186     "url": "/api/whatsapp/queues",
39187     "title": "Gets a list of Queues",
39188     "examples": [
39189       {
39190         "title": "Example usage:",
39191         "content": "curl https://{domain}/api/whatsapp/queues -v -u {name}:{password}",
39192         "type": "json"
39193       }
39194     ],
39195     "name": "GetQueues",
39196     "group": "Whatsapp_Queues",
39197     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/whatsapp/queues?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/whatsapp/queues?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/whatsapp/queues?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/whatsapp/queues?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/whatsapp/queues?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
39198     "version": "0.0.0",
39199     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39200     "groupTitle": "Whatsapp_Queues"
39201   },
39202   {
39203     "type": "get",
39204     "url": "/api/whatsapp/queues/{id}/teams",
39205     "title": "Gets queues list",
39206     "examples": [
39207       {
39208         "title": "Example usage:",
39209         "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password}",
39210         "type": "json"
39211       }
39212     ],
39213     "name": "GetTeams",
39214     "group": "Whatsapp_Queues",
39215     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39216     "version": "0.0.0",
39217     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39218     "groupTitle": "Whatsapp_Queues"
39219   },
39220   {
39221     "type": "get",
39222     "url": "/GetWhatsappQueue",
39223     "title": "Gets a list of Queues",
39224     "name": "GetWhatsappQueue",
39225     "group": "Whatsapp_Queues",
39226     "parameter": {
39227       "fields": {
39228         "Body": [
39229           {
39230             "group": "Body",
39231             "type": "Object",
39232             "optional": true,
39233             "field": "options.attributes",
39234             "description": ""
39235           },
39236           {
39237             "group": "Body",
39238             "type": "Object",
39239             "optional": true,
39240             "field": "options.where",
39241             "description": ""
39242           }
39243         ]
39244       }
39245     },
39246     "version": "0.0.0",
39247     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/whatsappQueue.rpc.js",
39248     "groupTitle": "Whatsapp_Queues"
39249   },
39250   {
39251     "type": "delete",
39252     "url": "/api/whatsapp/queues/{id}/users",
39253     "title": "Removes agents from a queue",
39254     "examples": [
39255       {
39256         "title": "Example usage:",
39257         "content": "curl https://{domain}/api/whatsapp/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
39258         "type": "json"
39259       }
39260     ],
39261     "name": "RemoveAgents",
39262     "group": "Whatsapp_Queues",
39263     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39264     "version": "0.0.0",
39265     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39266     "groupTitle": "Whatsapp_Queues"
39267   },
39268   {
39269     "type": "get",
39270     "url": "/api/whatsapp/queues/{id}",
39271     "title": "Gets a single Queue",
39272     "examples": [
39273       {
39274         "title": "Example usage:",
39275         "content": "curl https://{domain}/api/whatsapp/queues/{id} -v -u {name}:{password}",
39276         "type": "json"
39277       }
39278     ],
39279     "name": "ShowQueues",
39280     "group": "Whatsapp_Queues",
39281     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39282     "version": "0.0.0",
39283     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39284     "groupTitle": "Whatsapp_Queues"
39285   },
39286   {
39287     "type": "get",
39288     "url": "/ShowWhatsappQueue",
39289     "title": "Gets a single Queue",
39290     "name": "ShowWhatsappQueue",
39291     "group": "Whatsapp_Queues",
39292     "parameter": {
39293       "fields": {
39294         "Body": [
39295           {
39296             "group": "Body",
39297             "type": "Object",
39298             "optional": true,
39299             "field": "options.attributes",
39300             "description": ""
39301           },
39302           {
39303             "group": "Body",
39304             "type": "Object",
39305             "optional": false,
39306             "field": "options.where",
39307             "description": ""
39308           }
39309         ]
39310       }
39311     },
39312     "version": "0.0.0",
39313     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/whatsappQueue.rpc.js",
39314     "groupTitle": "Whatsapp_Queues"
39315   },
39316   {
39317     "type": "put",
39318     "url": "/api/whatsapp/queues/{id}",
39319     "title": "Update an existing Queue",
39320     "examples": [
39321       {
39322         "title": "Example usage:",
39323         "content": "curl https://{domain}/api/whatsapp/queues/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
39324         "type": "json"
39325       }
39326     ],
39327     "name": "updateQueues",
39328     "group": "Whatsapp_Queues",
39329     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39330     "version": "0.0.0",
39331     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappQueue/index.js",
39332     "groupTitle": "Whatsapp_Queues"
39333   },
39334   {
39335     "type": "post",
39336     "url": "/api/whatsapp/reports/transfer",
39337     "title": "Creates a new Whatsapp Transfer Report",
39338     "examples": [
39339       {
39340         "title": "Example usage:",
39341         "content": "curl https://{domain}/api/whatsapp/reports/transfer -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
39342         "type": "json"
39343       }
39344     ],
39345     "name": "CreateWhatsapp_Transfer_Reports",
39346     "group": "Whatsapp_Transfer_Reports",
39347     "parameter": {
39348       "fields": {
39349         "Body": [
39350           {
39351             "group": "Body",
39352             "type": "String",
39353             "optional": false,
39354             "field": "uniqueid",
39355             "description": ""
39356           },
39357           {
39358             "group": "Body",
39359             "type": "String",
39360             "allowedValues": [
39361               "\"account\"",
39362               "\"agent\"",
39363               "\"queue\""
39364             ],
39365             "optional": false,
39366             "field": "type",
39367             "description": ""
39368           },
39369           {
39370             "group": "Body",
39371             "type": "String",
39372             "optional": true,
39373             "field": "transferredAt",
39374             "description": ""
39375           }
39376         ]
39377       }
39378     },
39379     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39380     "version": "0.0.0",
39381     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappTransferReport/index.js",
39382     "groupTitle": "Whatsapp_Transfer_Reports"
39383   },
39384   {
39385     "type": "delete",
39386     "url": "/api/whatsapp/reports/transfer/{id}",
39387     "title": "Deletes a Whatsapp Transfer Report",
39388     "examples": [
39389       {
39390         "title": "Example usage:",
39391         "content": "curl https://{domain}/api/whatsapp/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
39392         "type": "json"
39393       }
39394     ],
39395     "name": "DeleteWhatsapp_Transfer_Reports",
39396     "group": "Whatsapp_Transfer_Reports",
39397     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39398     "version": "0.0.0",
39399     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappTransferReport/index.js",
39400     "groupTitle": "Whatsapp_Transfer_Reports"
39401   },
39402   {
39403     "type": "get",
39404     "url": "/api/whatsapp/reports/transfer/describe",
39405     "title": "Gets table info about Whatsapp Transfer Reports",
39406     "examples": [
39407       {
39408         "title": "Example usage:",
39409         "content": "curl https://{domain}/api/whatsapp/reports/transfer/describe -v -u {name}:{password}",
39410         "type": "json"
39411       }
39412     ],
39413     "name": "DescribeWhatsapp_Transfer_Reports",
39414     "group": "Whatsapp_Transfer_Reports",
39415     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39416     "version": "0.0.0",
39417     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappTransferReport/index.js",
39418     "groupTitle": "Whatsapp_Transfer_Reports"
39419   },
39420   {
39421     "type": "get",
39422     "url": "/api/whatsapp/reports/transfer",
39423     "title": "Gets a list of Whatsapp Transfer Reports",
39424     "examples": [
39425       {
39426         "title": "Example usage:",
39427         "content": "curl https://{domain}/api/whatsapp/reports/transfer -v -u {name}:{password}",
39428         "type": "json"
39429       }
39430     ],
39431     "name": "GetWhatsapp_Transfer_Reports",
39432     "group": "Whatsapp_Transfer_Reports",
39433     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/whatsapp/reports/transfer?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/whatsapp/reports/transfer?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/whatsapp/reports/transfer?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/whatsapp/reports/transfer?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/whatsapp/reports/transfer?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
39434     "version": "0.0.0",
39435     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappTransferReport/index.js",
39436     "groupTitle": "Whatsapp_Transfer_Reports"
39437   },
39438   {
39439     "type": "get",
39440     "url": "/api/whatsapp/reports/transfer/{id}",
39441     "title": "Gets a single Whatsapp Transfer Report",
39442     "examples": [
39443       {
39444         "title": "Example usage:",
39445         "content": "curl https://{domain}/api/whatsapp/reports/transfer/{id} -v -u {name}:{password}",
39446         "type": "json"
39447       }
39448     ],
39449     "name": "ShowWhatsapp_Transfer_Reports",
39450     "group": "Whatsapp_Transfer_Reports",
39451     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39452     "version": "0.0.0",
39453     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappTransferReport/index.js",
39454     "groupTitle": "Whatsapp_Transfer_Reports"
39455   },
39456   {
39457     "type": "put",
39458     "url": "/api/whatsapp/reports/transfer/{id}",
39459     "title": "Update an existing Whatsapp Transfer Report",
39460     "examples": [
39461       {
39462         "title": "Example usage:",
39463         "content": "curl https://{domain}/api/whatsapp/reports/transfer/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
39464         "type": "json"
39465       }
39466     ],
39467     "name": "updateWhatsapp_Transfer_Reports",
39468     "group": "Whatsapp_Transfer_Reports",
39469     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39470     "version": "0.0.0",
39471     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/whatsappTransferReport/index.js",
39472     "groupTitle": "Whatsapp_Transfer_Reports"
39473   },
39474   {
39475     "type": "post",
39476     "url": "/api/integrations/zendesk/accounts",
39477     "title": "Creates a new Zendesk Account",
39478     "examples": [
39479       {
39480         "title": "Example usage:",
39481         "content": "curl https://{domain}/api/integrations/zendesk/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
39482         "type": "json"
39483       }
39484     ],
39485     "name": "CreateZendesk_Accounts",
39486     "group": "Zendesk_Accounts",
39487     "parameter": {
39488       "fields": {
39489         "Body": [
39490           {
39491             "group": "Body",
39492             "type": "String",
39493             "optional": true,
39494             "field": "name",
39495             "description": ""
39496           },
39497           {
39498             "group": "Body",
39499             "type": "String",
39500             "optional": true,
39501             "field": "description",
39502             "description": ""
39503           },
39504           {
39505             "group": "Body",
39506             "type": "String",
39507             "optional": true,
39508             "field": "username",
39509             "description": ""
39510           },
39511           {
39512             "group": "Body",
39513             "type": "String",
39514             "optional": true,
39515             "field": "password",
39516             "description": ""
39517           },
39518           {
39519             "group": "Body",
39520             "type": "String",
39521             "optional": true,
39522             "field": "token",
39523             "description": ""
39524           },
39525           {
39526             "group": "Body",
39527             "type": "String",
39528             "optional": true,
39529             "field": "remoteUri",
39530             "description": ""
39531           },
39532           {
39533             "group": "Body",
39534             "type": "String",
39535             "allowedValues": [
39536               "\"password\"",
39537               "\"token\""
39538             ],
39539             "optional": true,
39540             "field": "authType",
39541             "description": ""
39542           },
39543           {
39544             "group": "Body",
39545             "type": "String",
39546             "optional": true,
39547             "field": "serverUrl",
39548             "description": ""
39549           },
39550           {
39551             "group": "Body",
39552             "type": "String",
39553             "allowedValues": [
39554               "\"integrationTab\"",
39555               "\"newTab\""
39556             ],
39557             "optional": true,
39558             "field": "type",
39559             "description": ""
39560           }
39561         ]
39562       }
39563     },
39564     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39565     "version": "0.0.0",
39566     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskAccount/index.js",
39567     "groupTitle": "Zendesk_Accounts"
39568   },
39569   {
39570     "type": "delete",
39571     "url": "/api/integrations/zendesk/accounts/{id}",
39572     "title": "Deletes a Zendesk Account",
39573     "examples": [
39574       {
39575         "title": "Example usage:",
39576         "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id} -v -u {name}:{password} -X DELETE",
39577         "type": "json"
39578       }
39579     ],
39580     "name": "DeleteZendesk_Accounts",
39581     "group": "Zendesk_Accounts",
39582     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39583     "version": "0.0.0",
39584     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskAccount/index.js",
39585     "groupTitle": "Zendesk_Accounts"
39586   },
39587   {
39588     "type": "get",
39589     "url": "/GetZendeskAccount",
39590     "title": "Gets a list of Zendesk Accounts",
39591     "name": "GetZendeskAccount",
39592     "group": "Zendesk_Accounts",
39593     "parameter": {
39594       "fields": {
39595         "Body": [
39596           {
39597             "group": "Body",
39598             "type": "Object",
39599             "optional": true,
39600             "field": "options.attributes",
39601             "description": ""
39602           },
39603           {
39604             "group": "Body",
39605             "type": "Object",
39606             "optional": true,
39607             "field": "options.where",
39608             "description": ""
39609           }
39610         ]
39611       }
39612     },
39613     "version": "0.0.0",
39614     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskAccount/intZendeskAccount.rpc.js",
39615     "groupTitle": "Zendesk_Accounts"
39616   },
39617   {
39618     "type": "get",
39619     "url": "/api/integrations/zendesk/accounts",
39620     "title": "Gets a list of Zendesk Accounts",
39621     "examples": [
39622       {
39623         "title": "Example usage:",
39624         "content": "curl https://{domain}/api/integrations/zendesk/accounts -v -u {name}:{password}",
39625         "type": "json"
39626       }
39627     ],
39628     "name": "GetZendesk_Accounts",
39629     "group": "Zendesk_Accounts",
39630     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/zendesk/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/zendesk/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/zendesk/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/zendesk/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/zendesk/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
39631     "version": "0.0.0",
39632     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskAccount/index.js",
39633     "groupTitle": "Zendesk_Accounts"
39634   },
39635   {
39636     "type": "get",
39637     "url": "/ShowZendeskAccount",
39638     "title": "Gets a single Zendesk Account",
39639     "name": "ShowZendeskAccount",
39640     "group": "Zendesk_Accounts",
39641     "parameter": {
39642       "fields": {
39643         "Body": [
39644           {
39645             "group": "Body",
39646             "type": "Object",
39647             "optional": true,
39648             "field": "options.attributes",
39649             "description": ""
39650           },
39651           {
39652             "group": "Body",
39653             "type": "Object",
39654             "optional": false,
39655             "field": "options.where",
39656             "description": ""
39657           }
39658         ]
39659       }
39660     },
39661     "version": "0.0.0",
39662     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskAccount/intZendeskAccount.rpc.js",
39663     "groupTitle": "Zendesk_Accounts"
39664   },
39665   {
39666     "type": "get",
39667     "url": "/api/integrations/zendesk/accounts/{id}",
39668     "title": "Gets a single Zendesk Account",
39669     "examples": [
39670       {
39671         "title": "Example usage:",
39672         "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id} -v -u {name}:{password}",
39673         "type": "json"
39674       }
39675     ],
39676     "name": "ShowZendesk_Accounts",
39677     "group": "Zendesk_Accounts",
39678     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39679     "version": "0.0.0",
39680     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskAccount/index.js",
39681     "groupTitle": "Zendesk_Accounts"
39682   },
39683   {
39684     "type": "post",
39685     "url": "/api/integrations/zendesk/accounts/{id}/configurations",
39686     "title": "Creates new configuration",
39687     "examples": [
39688       {
39689         "title": "Example usage:",
39690         "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id}/configurations -d '{\"name\": \"conf1\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
39691         "type": "json"
39692       }
39693     ],
39694     "name": "addConfiguration",
39695     "group": "Zendesk_Accounts",
39696     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39697     "version": "0.0.0",
39698     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskAccount/index.js",
39699     "groupTitle": "Zendesk_Accounts"
39700   },
39701   {
39702     "type": "get",
39703     "url": "/api/integrations/zendesk/accounts/{id}/configurations",
39704     "title": "Gets account configurations",
39705     "examples": [
39706       {
39707         "title": "Example usage:",
39708         "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
39709         "type": "json"
39710       }
39711     ],
39712     "name": "getConfigurations",
39713     "group": "Zendesk_Accounts",
39714     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39715     "version": "0.0.0",
39716     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskAccount/index.js",
39717     "groupTitle": "Zendesk_Accounts"
39718   },
39719   {
39720     "type": "get",
39721     "url": "/api/integrations/zendesk/accounts/{id}/fields",
39722     "title": "Gets account fields",
39723     "examples": [
39724       {
39725         "title": "Example usage:",
39726         "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id}/fields -v -u {name}:{password} -X GET",
39727         "type": "json"
39728       }
39729     ],
39730     "name": "getFields",
39731     "group": "Zendesk_Accounts",
39732     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39733     "version": "0.0.0",
39734     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskAccount/index.js",
39735     "groupTitle": "Zendesk_Accounts"
39736   },
39737   {
39738     "type": "put",
39739     "url": "/api/integrations/zendesk/accounts/{id}",
39740     "title": "Update an existing Zendesk Account",
39741     "examples": [
39742       {
39743         "title": "Example usage:",
39744         "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
39745         "type": "json"
39746       }
39747     ],
39748     "name": "updateZendesk_Accounts",
39749     "group": "Zendesk_Accounts",
39750     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39751     "version": "0.0.0",
39752     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskAccount/index.js",
39753     "groupTitle": "Zendesk_Accounts"
39754   },
39755   {
39756     "type": "post",
39757     "url": "/api/integrations/zendesk/configurations",
39758     "title": "Creates a new Zendesk Configuration",
39759     "examples": [
39760       {
39761         "title": "Example usage:",
39762         "content": "curl https://{domain}/api/integrations/zendesk/configurations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
39763         "type": "json"
39764       }
39765     ],
39766     "name": "CreateZendesk_Configurations",
39767     "group": "Zendesk_Configurations",
39768     "parameter": {
39769       "fields": {
39770         "Body": [
39771           {
39772             "group": "Body",
39773             "type": "String",
39774             "optional": true,
39775             "field": "name",
39776             "description": ""
39777           },
39778           {
39779             "group": "Body",
39780             "type": "String",
39781             "optional": true,
39782             "field": "description",
39783             "description": ""
39784           }
39785         ]
39786       }
39787     },
39788     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39789     "version": "0.0.0",
39790     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskConfiguration/index.js",
39791     "groupTitle": "Zendesk_Configurations"
39792   },
39793   {
39794     "type": "delete",
39795     "url": "/api/integrations/zendesk/configurations/{id}",
39796     "title": "Deletes a Zendesk Configuration",
39797     "examples": [
39798       {
39799         "title": "Example usage:",
39800         "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id} -v -u {name}:{password} -X DELETE",
39801         "type": "json"
39802       }
39803     ],
39804     "name": "DeleteZendesk_Configurations",
39805     "group": "Zendesk_Configurations",
39806     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39807     "version": "0.0.0",
39808     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskConfiguration/index.js",
39809     "groupTitle": "Zendesk_Configurations"
39810   },
39811   {
39812     "type": "get",
39813     "url": "/api/integrations/zendesk/configurations",
39814     "title": "Gets a list of Zendesk Configurations",
39815     "examples": [
39816       {
39817         "title": "Example usage:",
39818         "content": "curl https://{domain}/api/integrations/zendesk/configurations -v -u {name}:{password}",
39819         "type": "json"
39820       }
39821     ],
39822     "name": "GetZendesk_Configurations",
39823     "group": "Zendesk_Configurations",
39824     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/zendesk/configurations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/zendesk/configurations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/zendesk/configurations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/zendesk/configurations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/zendesk/configurations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
39825     "version": "0.0.0",
39826     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskConfiguration/index.js",
39827     "groupTitle": "Zendesk_Configurations"
39828   },
39829   {
39830     "type": "get",
39831     "url": "/api/integrations/zendesk/configurations/{id}",
39832     "title": "Gets a single Zendesk Configuration",
39833     "examples": [
39834       {
39835         "title": "Example usage:",
39836         "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id} -v -u {name}:{password}",
39837         "type": "json"
39838       }
39839     ],
39840     "name": "ShowZendesk_Configurations",
39841     "group": "Zendesk_Configurations",
39842     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39843     "version": "0.0.0",
39844     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskConfiguration/index.js",
39845     "groupTitle": "Zendesk_Configurations"
39846   },
39847   {
39848     "type": "get",
39849     "url": "/api/integrations/zendesk/configurations/{id}/descriptions",
39850     "title": "Gets configurations descriptions",
39851     "examples": [
39852       {
39853         "title": "Example usage:",
39854         "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
39855         "type": "json"
39856       }
39857     ],
39858     "name": "getDescriptions",
39859     "group": "Zendesk_Configurations",
39860     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39861     "version": "0.0.0",
39862     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskConfiguration/index.js",
39863     "groupTitle": "Zendesk_Configurations"
39864   },
39865   {
39866     "type": "get",
39867     "url": "/api/integrations/zendesk/configurations/{id}/fields",
39868     "title": "Gets configurations fields",
39869     "examples": [
39870       {
39871         "title": "Example usage:",
39872         "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/fields -v -u {name}:{password} -X GET",
39873         "type": "json"
39874       }
39875     ],
39876     "name": "getFields",
39877     "group": "Zendesk_Configurations",
39878     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39879     "version": "0.0.0",
39880     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskConfiguration/index.js",
39881     "groupTitle": "Zendesk_Configurations"
39882   },
39883   {
39884     "type": "get",
39885     "url": "/api/integrations/zendesk/configurations/{id}/subjects",
39886     "title": "Gets configurations subjects",
39887     "examples": [
39888       {
39889         "title": "Example usage:",
39890         "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
39891         "type": "json"
39892       }
39893     ],
39894     "name": "getSubjects",
39895     "group": "Zendesk_Configurations",
39896     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39897     "version": "0.0.0",
39898     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskConfiguration/index.js",
39899     "groupTitle": "Zendesk_Configurations"
39900   },
39901   {
39902     "type": "get",
39903     "url": "/api/integrations/zendesk/configurations/{id}/tags",
39904     "title": "Gets configurations tags",
39905     "examples": [
39906       {
39907         "title": "Example usage:",
39908         "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/tags -v -u {name}:{password} -X GET",
39909         "type": "json"
39910       }
39911     ],
39912     "name": "getTags",
39913     "group": "Zendesk_Configurations",
39914     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39915     "version": "0.0.0",
39916     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskConfiguration/index.js",
39917     "groupTitle": "Zendesk_Configurations"
39918   },
39919   {
39920     "type": "post",
39921     "url": "/api/integrations/zendesk/configurations/{id}/tags",
39922     "title": "Sets new tags",
39923     "examples": [
39924       {
39925         "title": "Example usage:",
39926         "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/tags -d '{\"ids\": [1,12]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
39927         "type": "json"
39928       }
39929     ],
39930     "name": "setTags",
39931     "group": "Zendesk_Configurations",
39932     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39933     "version": "0.0.0",
39934     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskConfiguration/index.js",
39935     "groupTitle": "Zendesk_Configurations"
39936   },
39937   {
39938     "type": "put",
39939     "url": "/api/integrations/zendesk/configurations/{id}",
39940     "title": "Update an existing Zendesk Configuration",
39941     "examples": [
39942       {
39943         "title": "Example usage:",
39944         "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
39945         "type": "json"
39946       }
39947     ],
39948     "name": "updateZendesk_Configurations",
39949     "group": "Zendesk_Configurations",
39950     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
39951     "version": "0.0.0",
39952     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskConfiguration/index.js",
39953     "groupTitle": "Zendesk_Configurations"
39954   },
39955   {
39956     "type": "post",
39957     "url": "/api/integrations/zendesk/fields",
39958     "title": "Creates a new Zendesk Field",
39959     "examples": [
39960       {
39961         "title": "Example usage:",
39962         "content": "curl https://{domain}/api/integrations/zendesk/fields -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
39963         "type": "json"
39964       }
39965     ],
39966     "name": "CreateZendesk_Fields",
39967     "group": "Zendesk_Fields",
39968     "parameter": {
39969       "fields": {
39970         "Body": [
39971           {
39972             "group": "Body",
39973             "type": "String",
39974             "allowedValues": [
39975               "\"string\"",
39976               "\"variable\"",
39977               "\"customVariable\"",
39978               "\"keyValue\""
39979             ],
39980             "optional": true,
39981             "field": "type",
39982             "description": ""
39983           },
39984           {
39985             "group": "Body",
39986             "type": "String",
39987             "optional": true,
39988             "field": "content",
39989             "description": ""
39990           },
39991           {
39992             "group": "Body",
39993             "type": "String",
39994             "optional": true,
39995             "field": "key",
39996             "description": ""
39997           },
39998           {
39999             "group": "Body",
40000             "type": "String",
40001             "allowedValues": [
40002               "\"string\"",
40003               "\"variable\"",
40004               "\"customVariable\""
40005             ],
40006             "optional": true,
40007             "field": "keyType",
40008             "description": ""
40009           },
40010           {
40011             "group": "Body",
40012             "type": "String",
40013             "optional": true,
40014             "field": "keyContent",
40015             "description": ""
40016           },
40017           {
40018             "group": "Body",
40019             "type": "String",
40020             "optional": true,
40021             "field": "idField",
40022             "description": ""
40023           },
40024           {
40025             "group": "Body",
40026             "type": "String",
40027             "optional": true,
40028             "field": "nameField",
40029             "description": ""
40030           },
40031           {
40032             "group": "Body",
40033             "type": "Boolean",
40034             "optional": true,
40035             "field": "customField",
40036             "description": ""
40037           },
40038           {
40039             "group": "Body",
40040             "type": "String",
40041             "optional": true,
40042             "field": "variableName",
40043             "description": ""
40044           }
40045         ]
40046       }
40047     },
40048     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40049     "version": "0.0.0",
40050     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskField/index.js",
40051     "groupTitle": "Zendesk_Fields"
40052   },
40053   {
40054     "type": "delete",
40055     "url": "/api/integrations/zendesk/fields/{id}",
40056     "title": "Deletes a Zendesk Field",
40057     "examples": [
40058       {
40059         "title": "Example usage:",
40060         "content": "curl https://{domain}/api/integrations/zendesk/fields/{id} -v -u {name}:{password} -X DELETE",
40061         "type": "json"
40062       }
40063     ],
40064     "name": "DeleteZendesk_Fields",
40065     "group": "Zendesk_Fields",
40066     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40067     "version": "0.0.0",
40068     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskField/index.js",
40069     "groupTitle": "Zendesk_Fields"
40070   },
40071   {
40072     "type": "get",
40073     "url": "/api/integrations/zendesk/fields",
40074     "title": "Gets a list of Zendesk Fields",
40075     "examples": [
40076       {
40077         "title": "Example usage:",
40078         "content": "curl https://{domain}/api/integrations/zendesk/fields -v -u {name}:{password}",
40079         "type": "json"
40080       }
40081     ],
40082     "name": "GetZendesk_Fields",
40083     "group": "Zendesk_Fields",
40084     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/zendesk/fields?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/zendesk/fields?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/zendesk/fields?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/zendesk/fields?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/zendesk/fields?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
40085     "version": "0.0.0",
40086     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskField/index.js",
40087     "groupTitle": "Zendesk_Fields"
40088   },
40089   {
40090     "type": "get",
40091     "url": "/api/integrations/zendesk/fields/{id}",
40092     "title": "Gets a single Zendesk Field",
40093     "examples": [
40094       {
40095         "title": "Example usage:",
40096         "content": "curl https://{domain}/api/integrations/zendesk/fields/{id} -v -u {name}:{password}",
40097         "type": "json"
40098       }
40099     ],
40100     "name": "ShowZendesk_Fields",
40101     "group": "Zendesk_Fields",
40102     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40103     "version": "0.0.0",
40104     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskField/index.js",
40105     "groupTitle": "Zendesk_Fields"
40106   },
40107   {
40108     "type": "put",
40109     "url": "/api/integrations/zendesk/fields/{id}",
40110     "title": "Update an existing Zendesk Field",
40111     "examples": [
40112       {
40113         "title": "Example usage:",
40114         "content": "curl https://{domain}/api/integrations/zendesk/fields/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
40115         "type": "json"
40116       }
40117     ],
40118     "name": "updateZendesk_Fields",
40119     "group": "Zendesk_Fields",
40120     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40121     "version": "0.0.0",
40122     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZendeskField/index.js",
40123     "groupTitle": "Zendesk_Fields"
40124   },
40125   {
40126     "type": "post",
40127     "url": "/api/integrations/zoho/accounts",
40128     "title": "Creates a new Zoho Account",
40129     "examples": [
40130       {
40131         "title": "Example usage:",
40132         "content": "curl https://{domain}/api/integrations/zoho/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
40133         "type": "json"
40134       }
40135     ],
40136     "name": "CreateZoho_Accounts",
40137     "group": "Zoho_Accounts",
40138     "parameter": {
40139       "fields": {
40140         "Body": [
40141           {
40142             "group": "Body",
40143             "type": "String",
40144             "optional": true,
40145             "field": "name",
40146             "description": ""
40147           },
40148           {
40149             "group": "Body",
40150             "type": "String",
40151             "optional": true,
40152             "field": "description",
40153             "description": ""
40154           },
40155           {
40156             "group": "Body",
40157             "type": "String",
40158             "optional": true,
40159             "field": "host",
40160             "description": ""
40161           },
40162           {
40163             "group": "Body",
40164             "type": "String",
40165             "optional": true,
40166             "field": "zone",
40167             "description": ""
40168           },
40169           {
40170             "group": "Body",
40171             "type": "String",
40172             "optional": true,
40173             "field": "clientId",
40174             "description": ""
40175           },
40176           {
40177             "group": "Body",
40178             "type": "String",
40179             "optional": true,
40180             "field": "clientSecret",
40181             "description": ""
40182           },
40183           {
40184             "group": "Body",
40185             "type": "String",
40186             "optional": true,
40187             "field": "serverUrl",
40188             "description": ""
40189           },
40190           {
40191             "group": "Body",
40192             "type": "String",
40193             "optional": true,
40194             "field": "code",
40195             "description": ""
40196           },
40197           {
40198             "group": "Body",
40199             "type": "String",
40200             "optional": true,
40201             "field": "refreshToken",
40202             "description": ""
40203           }
40204         ]
40205       }
40206     },
40207     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40208     "version": "0.0.0",
40209     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoAccount/index.js",
40210     "groupTitle": "Zoho_Accounts"
40211   },
40212   {
40213     "type": "delete",
40214     "url": "/api/integrations/zoho/accounts/{id}",
40215     "title": "Deletes a Zoho Account",
40216     "examples": [
40217       {
40218         "title": "Example usage:",
40219         "content": "curl https://{domain}/api/integrations/zoho/accounts/{id} -v -u {name}:{password} -X DELETE",
40220         "type": "json"
40221       }
40222     ],
40223     "name": "DeleteZoho_Accounts",
40224     "group": "Zoho_Accounts",
40225     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40226     "version": "0.0.0",
40227     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoAccount/index.js",
40228     "groupTitle": "Zoho_Accounts"
40229   },
40230   {
40231     "type": "get",
40232     "url": "/GetZohoAccount",
40233     "title": "Gets a list of Zoho Accounts",
40234     "name": "GetZohoAccount",
40235     "group": "Zoho_Accounts",
40236     "parameter": {
40237       "fields": {
40238         "Body": [
40239           {
40240             "group": "Body",
40241             "type": "Object",
40242             "optional": true,
40243             "field": "options.attributes",
40244             "description": ""
40245           },
40246           {
40247             "group": "Body",
40248             "type": "Object",
40249             "optional": true,
40250             "field": "options.where",
40251             "description": ""
40252           }
40253         ]
40254       }
40255     },
40256     "version": "0.0.0",
40257     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoAccount/intZohoAccount.rpc.js",
40258     "groupTitle": "Zoho_Accounts"
40259   },
40260   {
40261     "type": "get",
40262     "url": "/api/integrations/zoho/accounts",
40263     "title": "Gets a list of Zoho Accounts",
40264     "examples": [
40265       {
40266         "title": "Example usage:",
40267         "content": "curl https://{domain}/api/integrations/zoho/accounts -v -u {name}:{password}",
40268         "type": "json"
40269       }
40270     ],
40271     "name": "GetZoho_Accounts",
40272     "group": "Zoho_Accounts",
40273     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/zoho/accounts?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/zoho/accounts?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/zoho/accounts?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/zoho/accounts?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/zoho/accounts?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
40274     "version": "0.0.0",
40275     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoAccount/index.js",
40276     "groupTitle": "Zoho_Accounts"
40277   },
40278   {
40279     "type": "get",
40280     "url": "/ShowZohoAccount",
40281     "title": "Gets a single Zoho Account",
40282     "name": "ShowZohoAccount",
40283     "group": "Zoho_Accounts",
40284     "parameter": {
40285       "fields": {
40286         "Body": [
40287           {
40288             "group": "Body",
40289             "type": "Object",
40290             "optional": true,
40291             "field": "options.attributes",
40292             "description": ""
40293           },
40294           {
40295             "group": "Body",
40296             "type": "Object",
40297             "optional": false,
40298             "field": "options.where",
40299             "description": ""
40300           }
40301         ]
40302       }
40303     },
40304     "version": "0.0.0",
40305     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoAccount/intZohoAccount.rpc.js",
40306     "groupTitle": "Zoho_Accounts"
40307   },
40308   {
40309     "type": "get",
40310     "url": "/api/integrations/zoho/accounts/{id}",
40311     "title": "Gets a single Zoho Account",
40312     "examples": [
40313       {
40314         "title": "Example usage:",
40315         "content": "curl https://{domain}/api/integrations/zoho/accounts/{id} -v -u {name}:{password}",
40316         "type": "json"
40317       }
40318     ],
40319     "name": "ShowZoho_Accounts",
40320     "group": "Zoho_Accounts",
40321     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40322     "version": "0.0.0",
40323     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoAccount/index.js",
40324     "groupTitle": "Zoho_Accounts"
40325   },
40326   {
40327     "type": "post",
40328     "url": "/api/integrations/zoho/accounts/{id}/configurations",
40329     "title": "Creates new configuration",
40330     "examples": [
40331       {
40332         "title": "Example usage:",
40333         "content": "curl https://{domain}/api/integrations/zoho/accounts/{id}/configurations -d '{\"name\": \"conf1\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
40334         "type": "json"
40335       }
40336     ],
40337     "name": "addConfiguration",
40338     "group": "Zoho_Accounts",
40339     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40340     "version": "0.0.0",
40341     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoAccount/index.js",
40342     "groupTitle": "Zoho_Accounts"
40343   },
40344   {
40345     "type": "get",
40346     "url": "/api/integrations/zoho/accounts/{id}/configurations",
40347     "title": "Gets account configurations",
40348     "examples": [
40349       {
40350         "title": "Example usage:",
40351         "content": "curl https://{domain}/api/integrations/zoho/accounts/{id}/configurations -v -u {name}:{password} -X GET",
40352         "type": "json"
40353       }
40354     ],
40355     "name": "getConfigurations",
40356     "group": "Zoho_Accounts",
40357     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40358     "version": "0.0.0",
40359     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoAccount/index.js",
40360     "groupTitle": "Zoho_Accounts"
40361   },
40362   {
40363     "type": "get",
40364     "url": "/api/integrations/zoho/accounts/{id}/fields",
40365     "title": "Gets account fields",
40366     "examples": [
40367       {
40368         "title": "Example usage:",
40369         "content": "curl https://{domain}/api/integrations/zoho/accounts/{id}/fields -v -u {name}:{password} -X GET",
40370         "type": "json"
40371       }
40372     ],
40373     "name": "getFields",
40374     "group": "Zoho_Accounts",
40375     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40376     "version": "0.0.0",
40377     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoAccount/index.js",
40378     "groupTitle": "Zoho_Accounts"
40379   },
40380   {
40381     "type": "put",
40382     "url": "/api/integrations/zoho/accounts/{id}",
40383     "title": "Update an existing Zoho Account",
40384     "examples": [
40385       {
40386         "title": "Example usage:",
40387         "content": "curl https://{domain}/api/integrations/zoho/accounts/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
40388         "type": "json"
40389       }
40390     ],
40391     "name": "updateZoho_Accounts",
40392     "group": "Zoho_Accounts",
40393     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40394     "version": "0.0.0",
40395     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoAccount/index.js",
40396     "groupTitle": "Zoho_Accounts"
40397   },
40398   {
40399     "type": "post",
40400     "url": "/api/integrations/zoho/configurations",
40401     "title": "Creates a new Zoho Configuration",
40402     "examples": [
40403       {
40404         "title": "Example usage:",
40405         "content": "curl https://{domain}/api/integrations/zoho/configurations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
40406         "type": "json"
40407       }
40408     ],
40409     "name": "CreateZoho_Configurations",
40410     "group": "Zoho_Configurations",
40411     "parameter": {
40412       "fields": {
40413         "Body": [
40414           {
40415             "group": "Body",
40416             "type": "String",
40417             "optional": true,
40418             "field": "name",
40419             "description": ""
40420           },
40421           {
40422             "group": "Body",
40423             "type": "String",
40424             "allowedValues": [
40425               "\"lead\"",
40426               "\"contact\"",
40427               "\"nothing\""
40428             ],
40429             "optional": true,
40430             "field": "moduleCreate",
40431             "description": ""
40432           },
40433           {
40434             "group": "Body",
40435             "type": "String",
40436             "allowedValues": [
40437               "\"contact_lead\"",
40438               "\"contact\"",
40439               "\"lead\""
40440             ],
40441             "optional": true,
40442             "field": "moduleSearch",
40443             "description": ""
40444           },
40445           {
40446             "group": "Body",
40447             "type": "String",
40448             "optional": true,
40449             "field": "description",
40450             "description": ""
40451           }
40452         ]
40453       }
40454     },
40455     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40456     "version": "0.0.0",
40457     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoConfiguration/index.js",
40458     "groupTitle": "Zoho_Configurations"
40459   },
40460   {
40461     "type": "delete",
40462     "url": "/api/integrations/zoho/configurations/{id}",
40463     "title": "Deletes a Zoho Configuration",
40464     "examples": [
40465       {
40466         "title": "Example usage:",
40467         "content": "curl https://{domain}/api/integrations/zoho/configurations/{id} -v -u {name}:{password} -X DELETE",
40468         "type": "json"
40469       }
40470     ],
40471     "name": "DeleteZoho_Configurations",
40472     "group": "Zoho_Configurations",
40473     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40474     "version": "0.0.0",
40475     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoConfiguration/index.js",
40476     "groupTitle": "Zoho_Configurations"
40477   },
40478   {
40479     "type": "get",
40480     "url": "/api/integrations/zoho/configurations",
40481     "title": "Gets a list of Zoho Configurations",
40482     "examples": [
40483       {
40484         "title": "Example usage:",
40485         "content": "curl https://{domain}/api/integrations/zoho/configurations -v -u {name}:{password}",
40486         "type": "json"
40487       }
40488     ],
40489     "name": "GetZoho_Configurations",
40490     "group": "Zoho_Configurations",
40491     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/zoho/configurations?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/zoho/configurations?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/zoho/configurations?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/zoho/configurations?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/zoho/configurations?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
40492     "version": "0.0.0",
40493     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoConfiguration/index.js",
40494     "groupTitle": "Zoho_Configurations"
40495   },
40496   {
40497     "type": "get",
40498     "url": "/api/integrations/zoho/configurations/{id}",
40499     "title": "Gets a single Zoho Configuration",
40500     "examples": [
40501       {
40502         "title": "Example usage:",
40503         "content": "curl https://{domain}/api/integrations/zoho/configurations/{id} -v -u {name}:{password}",
40504         "type": "json"
40505       }
40506     ],
40507     "name": "ShowZoho_Configurations",
40508     "group": "Zoho_Configurations",
40509     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40510     "version": "0.0.0",
40511     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoConfiguration/index.js",
40512     "groupTitle": "Zoho_Configurations"
40513   },
40514   {
40515     "type": "get",
40516     "url": "/api/integrations/zoho/configurations/{id}/descriptions",
40517     "title": "Gets configurations descriptions",
40518     "examples": [
40519       {
40520         "title": "Example usage:",
40521         "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
40522         "type": "json"
40523       }
40524     ],
40525     "name": "getDescriptions",
40526     "group": "Zoho_Configurations",
40527     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40528     "version": "0.0.0",
40529     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoConfiguration/index.js",
40530     "groupTitle": "Zoho_Configurations"
40531   },
40532   {
40533     "type": "get",
40534     "url": "/api/integrations/zoho/configurations/{id}/fields",
40535     "title": "Gets configurations fields",
40536     "examples": [
40537       {
40538         "title": "Example usage:",
40539         "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/fields -v -u {name}:{password} -X GET",
40540         "type": "json"
40541       }
40542     ],
40543     "name": "getFields",
40544     "group": "Zoho_Configurations",
40545     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40546     "version": "0.0.0",
40547     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoConfiguration/index.js",
40548     "groupTitle": "Zoho_Configurations"
40549   },
40550   {
40551     "type": "get",
40552     "url": "/api/integrations/zoho/configurations/{id}/subjects",
40553     "title": "Gets configurations subjects",
40554     "examples": [
40555       {
40556         "title": "Example usage:",
40557         "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/subjects -v -u {name}:{password} -X GET",
40558         "type": "json"
40559       }
40560     ],
40561     "name": "getSubjects",
40562     "group": "Zoho_Configurations",
40563     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40564     "version": "0.0.0",
40565     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoConfiguration/index.js",
40566     "groupTitle": "Zoho_Configurations"
40567   },
40568   {
40569     "type": "put",
40570     "url": "/api/integrations/zoho/configurations/{id}",
40571     "title": "Update an existing Zoho Configuration",
40572     "examples": [
40573       {
40574         "title": "Example usage:",
40575         "content": "curl https://{domain}/api/integrations/zoho/configurations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
40576         "type": "json"
40577       }
40578     ],
40579     "name": "updateZoho_Configurations",
40580     "group": "Zoho_Configurations",
40581     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40582     "version": "0.0.0",
40583     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoConfiguration/index.js",
40584     "groupTitle": "Zoho_Configurations"
40585   },
40586   {
40587     "type": "post",
40588     "url": "/api/integrations/zoho/fields",
40589     "title": "Creates a new Zoho Field",
40590     "examples": [
40591       {
40592         "title": "Example usage:",
40593         "content": "curl https://{domain}/api/integrations/zoho/fields -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
40594         "type": "json"
40595       }
40596     ],
40597     "name": "CreateZoho_Fields",
40598     "group": "Zoho_Fields",
40599     "parameter": {
40600       "fields": {
40601         "Body": [
40602           {
40603             "group": "Body",
40604             "type": "String",
40605             "allowedValues": [
40606               "\"string\"",
40607               "\"variable\"",
40608               "\"customVariable\"",
40609               "\"keyValue\""
40610             ],
40611             "optional": true,
40612             "field": "type",
40613             "description": ""
40614           },
40615           {
40616             "group": "Body",
40617             "type": "String",
40618             "optional": true,
40619             "field": "content",
40620             "description": ""
40621           },
40622           {
40623             "group": "Body",
40624             "type": "String",
40625             "optional": true,
40626             "field": "key",
40627             "description": ""
40628           },
40629           {
40630             "group": "Body",
40631             "type": "String",
40632             "allowedValues": [
40633               "\"string\"",
40634               "\"variable\"",
40635               "\"customVariable\""
40636             ],
40637             "optional": true,
40638             "field": "keyType",
40639             "description": ""
40640           },
40641           {
40642             "group": "Body",
40643             "type": "String",
40644             "optional": true,
40645             "field": "keyContent",
40646             "description": ""
40647           },
40648           {
40649             "group": "Body",
40650             "type": "String",
40651             "optional": true,
40652             "field": "idField",
40653             "description": ""
40654           },
40655           {
40656             "group": "Body",
40657             "type": "String",
40658             "optional": true,
40659             "field": "nameField",
40660             "description": ""
40661           },
40662           {
40663             "group": "Body",
40664             "type": "Boolean",
40665             "optional": true,
40666             "field": "customField",
40667             "description": ""
40668           },
40669           {
40670             "group": "Body",
40671             "type": "String",
40672             "optional": true,
40673             "field": "variableName",
40674             "description": ""
40675           }
40676         ]
40677       }
40678     },
40679     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40680     "version": "0.0.0",
40681     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoField/index.js",
40682     "groupTitle": "Zoho_Fields"
40683   },
40684   {
40685     "type": "delete",
40686     "url": "/api/integrations/zoho/fields/{id}",
40687     "title": "Deletes a Zoho Field",
40688     "examples": [
40689       {
40690         "title": "Example usage:",
40691         "content": "curl https://{domain}/api/integrations/zoho/fields/{id} -v -u {name}:{password} -X DELETE",
40692         "type": "json"
40693       }
40694     ],
40695     "name": "DeleteZoho_Fields",
40696     "group": "Zoho_Fields",
40697     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40698     "version": "0.0.0",
40699     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoField/index.js",
40700     "groupTitle": "Zoho_Fields"
40701   },
40702   {
40703     "type": "get",
40704     "url": "/api/integrations/zoho/fields",
40705     "title": "Gets a list of Zoho Fields",
40706     "examples": [
40707       {
40708         "title": "Example usage:",
40709         "content": "curl https://{domain}/api/integrations/zoho/fields -v -u {name}:{password}",
40710         "type": "json"
40711       }
40712     ],
40713     "name": "GetZoho_Fields",
40714     "group": "Zoho_Fields",
40715     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/integrations/zoho/fields?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/integrations/zoho/fields?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/integrations/zoho/fields?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/integrations/zoho/fields?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/integrations/zoho/fields?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
40716     "version": "0.0.0",
40717     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoField/index.js",
40718     "groupTitle": "Zoho_Fields"
40719   },
40720   {
40721     "type": "get",
40722     "url": "/api/integrations/zoho/fields/{id}",
40723     "title": "Gets a single Zoho Field",
40724     "examples": [
40725       {
40726         "title": "Example usage:",
40727         "content": "curl https://{domain}/api/integrations/zoho/fields/{id} -v -u {name}:{password}",
40728         "type": "json"
40729       }
40730     ],
40731     "name": "ShowZoho_Fields",
40732     "group": "Zoho_Fields",
40733     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40734     "version": "0.0.0",
40735     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoField/index.js",
40736     "groupTitle": "Zoho_Fields"
40737   },
40738   {
40739     "type": "put",
40740     "url": "/api/integrations/zoho/fields/{id}",
40741     "title": "Update an existing Zoho Field",
40742     "examples": [
40743       {
40744         "title": "Example usage:",
40745         "content": "curl https://{domain}/api/integrations/zoho/fields/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
40746         "type": "json"
40747       }
40748     ],
40749     "name": "updateZoho_Fields",
40750     "group": "Zoho_Fields",
40751     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40752     "version": "0.0.0",
40753     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/intZohoField/index.js",
40754     "groupTitle": "Zoho_Fields"
40755   },
40756   {
40757     "type": "post",
40758     "url": "/api/cdr",
40759     "title": "Creates a new Cdr",
40760     "examples": [
40761       {
40762         "title": "Example usage:",
40763         "content": "curl https://{domain}/api/cdr -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
40764         "type": "json"
40765       }
40766     ],
40767     "name": "CreateCdrs",
40768     "group": "cdr",
40769     "parameter": {
40770       "fields": {
40771         "Body": [
40772           {
40773             "group": "Body",
40774             "type": "String",
40775             "optional": false,
40776             "field": "calldate",
40777             "description": ""
40778           },
40779           {
40780             "group": "Body",
40781             "type": "String",
40782             "optional": true,
40783             "field": "clid",
40784             "description": ""
40785           },
40786           {
40787             "group": "Body",
40788             "type": "String",
40789             "optional": true,
40790             "field": "src",
40791             "description": ""
40792           },
40793           {
40794             "group": "Body",
40795             "type": "String",
40796             "optional": true,
40797             "field": "dst",
40798             "description": ""
40799           },
40800           {
40801             "group": "Body",
40802             "type": "String",
40803             "optional": true,
40804             "field": "dcontext",
40805             "description": ""
40806           },
40807           {
40808             "group": "Body",
40809             "type": "String",
40810             "optional": true,
40811             "field": "channel",
40812             "description": ""
40813           },
40814           {
40815             "group": "Body",
40816             "type": "String",
40817             "optional": true,
40818             "field": "dstchannel",
40819             "description": ""
40820           },
40821           {
40822             "group": "Body",
40823             "type": "String",
40824             "optional": true,
40825             "field": "lastapp",
40826             "description": ""
40827           },
40828           {
40829             "group": "Body",
40830             "type": "String",
40831             "optional": true,
40832             "field": "lastdata",
40833             "description": ""
40834           },
40835           {
40836             "group": "Body",
40837             "type": "Integer",
40838             "optional": false,
40839             "field": "duration",
40840             "description": ""
40841           },
40842           {
40843             "group": "Body",
40844             "type": "Integer",
40845             "optional": false,
40846             "field": "billsec",
40847             "description": ""
40848           },
40849           {
40850             "group": "Body",
40851             "type": "String",
40852             "optional": true,
40853             "field": "disposition",
40854             "description": ""
40855           },
40856           {
40857             "group": "Body",
40858             "type": "Integer",
40859             "optional": false,
40860             "field": "amaflags",
40861             "description": ""
40862           },
40863           {
40864             "group": "Body",
40865             "type": "String",
40866             "optional": true,
40867             "field": "accountcode",
40868             "description": ""
40869           },
40870           {
40871             "group": "Body",
40872             "type": "String",
40873             "optional": true,
40874             "field": "userfield",
40875             "description": ""
40876           },
40877           {
40878             "group": "Body",
40879             "type": "String",
40880             "optional": true,
40881             "field": "uniqueid",
40882             "description": ""
40883           },
40884           {
40885             "group": "Body",
40886             "type": "String",
40887             "optional": true,
40888             "field": "linkedid",
40889             "description": ""
40890           },
40891           {
40892             "group": "Body",
40893             "type": "String",
40894             "optional": true,
40895             "field": "sequence",
40896             "description": ""
40897           },
40898           {
40899             "group": "Body",
40900             "type": "String",
40901             "optional": true,
40902             "field": "peeraccount",
40903             "description": ""
40904           },
40905           {
40906             "group": "Body",
40907             "type": "String",
40908             "optional": true,
40909             "field": "type",
40910             "description": ""
40911           },
40912           {
40913             "group": "Body",
40914             "type": "String",
40915             "optional": true,
40916             "field": "tag",
40917             "description": ""
40918           }
40919         ]
40920       }
40921     },
40922     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40923     "version": "0.0.0",
40924     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cdr/index.js",
40925     "groupTitle": "cdr"
40926   },
40927   {
40928     "type": "delete",
40929     "url": "/api/cdr/{id}",
40930     "title": "Deletes a Cdr",
40931     "examples": [
40932       {
40933         "title": "Example usage:",
40934         "content": "curl https://{domain}/api/cdr/{id} -v -u {name}:{password} -X DELETE",
40935         "type": "json"
40936       }
40937     ],
40938     "name": "DeleteCdrs",
40939     "group": "cdr",
40940     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40941     "version": "0.0.0",
40942     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cdr/index.js",
40943     "groupTitle": "cdr"
40944   },
40945   {
40946     "type": "get",
40947     "url": "/api/cdr/describe",
40948     "title": "Gets table info about Cdrs",
40949     "examples": [
40950       {
40951         "title": "Example usage:",
40952         "content": "curl https://{domain}/api/cdr/describe -v -u {name}:{password}",
40953         "type": "json"
40954       }
40955     ],
40956     "name": "DescribeCdrs",
40957     "group": "cdr",
40958     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40959     "version": "0.0.0",
40960     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cdr/index.js",
40961     "groupTitle": "cdr"
40962   },
40963   {
40964     "type": "get",
40965     "url": "/api/cdr",
40966     "title": "Gets a list of Cdrs",
40967     "examples": [
40968       {
40969         "title": "Example usage:",
40970         "content": "curl https://{domain}/api/cdr -v -u {name}:{password}",
40971         "type": "json"
40972       }
40973     ],
40974     "name": "GetCdrs",
40975     "group": "cdr",
40976     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/cdr?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/cdr?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/cdr?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/cdr?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/cdr?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
40977     "version": "0.0.0",
40978     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cdr/index.js",
40979     "groupTitle": "cdr"
40980   },
40981   {
40982     "type": "get",
40983     "url": "/api/cdr/{id}",
40984     "title": "Gets a single Cdr",
40985     "examples": [
40986       {
40987         "title": "Example usage:",
40988         "content": "curl https://{domain}/api/cdr/{id} -v -u {name}:{password}",
40989         "type": "json"
40990       }
40991     ],
40992     "name": "ShowCdrs",
40993     "group": "cdr",
40994     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
40995     "version": "0.0.0",
40996     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cdr/index.js",
40997     "groupTitle": "cdr"
40998   },
40999   {
41000     "type": "put",
41001     "url": "/api/cdr/{id}",
41002     "title": "Update an existing Cdr",
41003     "examples": [
41004       {
41005         "title": "Example usage:",
41006         "content": "curl https://{domain}/api/cdr/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
41007         "type": "json"
41008       }
41009     ],
41010     "name": "updateCdrs",
41011     "group": "cdr",
41012     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
41013     "version": "0.0.0",
41014     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/cdr/index.js",
41015     "groupTitle": "cdr"
41016   },
41017   {
41018     "type": "post",
41019     "url": "/api/voiceQueuesLog",
41020     "title": "Creates a new VoiceQueuesLog",
41021     "examples": [
41022       {
41023         "title": "Example usage:",
41024         "content": "curl https://{domain}/api/voiceQueuesLog -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
41025         "type": "json"
41026       }
41027     ],
41028     "name": "CreateVoiceQueuesLogs",
41029     "group": "voiceQueuesLog",
41030     "parameter": {
41031       "fields": {
41032         "Body": [
41033           {
41034             "group": "Body",
41035             "type": "String",
41036             "optional": true,
41037             "field": "time",
41038             "description": ""
41039           },
41040           {
41041             "group": "Body",
41042             "type": "String",
41043             "optional": false,
41044             "field": "callid",
41045             "description": ""
41046           },
41047           {
41048             "group": "Body",
41049             "type": "String",
41050             "optional": false,
41051             "field": "queuename",
41052             "description": ""
41053           },
41054           {
41055             "group": "Body",
41056             "type": "String",
41057             "optional": false,
41058             "field": "agent",
41059             "description": ""
41060           },
41061           {
41062             "group": "Body",
41063             "type": "String",
41064             "optional": false,
41065             "field": "event",
41066             "description": ""
41067           },
41068           {
41069             "group": "Body",
41070             "type": "String",
41071             "optional": false,
41072             "field": "data",
41073             "description": ""
41074           },
41075           {
41076             "group": "Body",
41077             "type": "String",
41078             "optional": false,
41079             "field": "data1",
41080             "description": ""
41081           },
41082           {
41083             "group": "Body",
41084             "type": "String",
41085             "optional": false,
41086             "field": "data2",
41087             "description": ""
41088           },
41089           {
41090             "group": "Body",
41091             "type": "String",
41092             "optional": false,
41093             "field": "data3",
41094             "description": ""
41095           },
41096           {
41097             "group": "Body",
41098             "type": "String",
41099             "optional": false,
41100             "field": "data4",
41101             "description": ""
41102           },
41103           {
41104             "group": "Body",
41105             "type": "String",
41106             "optional": false,
41107             "field": "data5",
41108             "description": ""
41109           },
41110           {
41111             "group": "Body",
41112             "type": "String",
41113             "optional": false,
41114             "field": "dtm",
41115             "description": ""
41116           }
41117         ]
41118       }
41119     },
41120     "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
41121     "version": "0.0.0",
41122     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueuesLog/index.js",
41123     "groupTitle": "voiceQueuesLog"
41124   },
41125   {
41126     "type": "delete",
41127     "url": "/api/voiceQueuesLog/{id}",
41128     "title": "Deletes a VoiceQueuesLog",
41129     "examples": [
41130       {
41131         "title": "Example usage:",
41132         "content": "curl https://{domain}/api/voiceQueuesLog/{id} -v -u {name}:{password} -X DELETE",
41133         "type": "json"
41134       }
41135     ],
41136     "name": "DeleteVoiceQueuesLogs",
41137     "group": "voiceQueuesLog",
41138     "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
41139     "version": "0.0.0",
41140     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueuesLog/index.js",
41141     "groupTitle": "voiceQueuesLog"
41142   },
41143   {
41144     "type": "get",
41145     "url": "/api/voiceQueuesLog",
41146     "title": "Gets a list of VoiceQueuesLogs",
41147     "examples": [
41148       {
41149         "title": "Example usage:",
41150         "content": "curl https://{domain}/api/voiceQueuesLog -v -u {name}:{password}",
41151         "type": "json"
41152       }
41153     ],
41154     "name": "GetVoiceQueuesLogs",
41155     "group": "voiceQueuesLog",
41156     "description": "<p>Motion will always return paged results. Motion returns paging data in the <code>Content-Range</code> header in the form start - end / total.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned otherwise it will return a HTTP status code <code>206</code> Partial Content.</p> <p>Motion renders the resulting JSON representation in the response body.</p> <h2>Retrieving Specific Fields</h2> <p>To return only specific fields for a result set you can utilize the <code>fields</code> parameter. This parameter accepts a comma-separated list.</p> <p>A call returning only <code>id</code> and <code>name</code> for a result set would look like this.</p> <p><code>GET /api/voiceQueuesLog?fields=id,name</code></p> <h2>Filtering</h2> <p>You can perform exact-match filtering on any of a model's fields by using the field name as the key and supplying it with a value. These parameters accept a comma-separated list.</p> <p>A call returning a result set for records with <code>name</code> of <code>john.doe</code> or <code>jane.miller</code>.</p> <p><code>GET /api/voiceQueuesLog?name=john.doe,jane.miller</code></p> <p>If you use the key <code>filter</code> the result will be filtered by the value you specify.</p> <p><code>GET /api/voiceQueuesLog?filter=john</code></p> <h2>Sorting</h2> <p>To sort a result set based on one or several fields you can utilize the <code>sort</code> parameter. This parameters accepts a comma-separated list.</p> <p>Results will be sorted in the order of the fields provided. The default sorting order for fields is ascending. Fields can be sorted in descending order by prefixing them with a dash (<code>-</code>).</p> <p>A call sorting a result by <code>id</code> ascending and then <code>name</code> descending would look like this.</p> <p><code>GET /api/voiceQueuesLog?sort=id,-name</code></p> <h2>Offset and Limit</h2> <p>Query results are always paged. Motion leverages the <code>offset</code> and <code>limit</code> parameters to facilitate this.</p> <p>When the neither of these parameters are explicitly supplied the handler will assume the a default <code>limit</code> of <code>100</code>.</p> <p><code>offset</code> is a number indicating the start position in the result set you want to return.</p> <p><code>limit</code> is a number indicating how many records past the start position you want returned.</p> <p>A call with a result set starting at <code>5</code> and returning no more than <code>25</code> records would look like this.</p> <p><code>GET /api/voiceQueuesLog?offset=5&amp;limit=25</code></p> <p>If there were <code>50</code> records in total, the returned <code>Content-Range</code> header would look like this.</p> <p><code>Content-Range: 5-30/50</code></p>",
41157     "version": "0.0.0",
41158     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueuesLog/index.js",
41159     "groupTitle": "voiceQueuesLog"
41160   },
41161   {
41162     "type": "get",
41163     "url": "/api/voiceQueuesLog/{id}",
41164     "title": "Gets a single VoiceQueuesLog",
41165     "examples": [
41166       {
41167         "title": "Example usage:",
41168         "content": "curl https://{domain}/api/voiceQueuesLog/{id} -v -u {name}:{password}",
41169         "type": "json"
41170       }
41171     ],
41172     "name": "ShowVoiceQueuesLogs",
41173     "group": "voiceQueuesLog",
41174     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
41175     "version": "0.0.0",
41176     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueuesLog/index.js",
41177     "groupTitle": "voiceQueuesLog"
41178   },
41179   {
41180     "type": "put",
41181     "url": "/api/voiceQueuesLog/{id}",
41182     "title": "Update an existing VoiceQueuesLog",
41183     "examples": [
41184       {
41185         "title": "Example usage:",
41186         "content": "curl https://{domain}/api/voiceQueuesLog/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
41187         "type": "json"
41188       }
41189     ],
41190     "name": "updateVoiceQueuesLogs",
41191     "group": "voiceQueuesLog",
41192     "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
41193     "version": "0.0.0",
41194     "filename": "/home/vito/Development/MOTION_V3/motion-server/src/api/voiceQueuesLog/index.js",
41195     "groupTitle": "voiceQueuesLog"
41196   }
41197 ]