4 "url": "/api/actions/{id}",
5 "title": "Deletes a Action",
8 "title": "Example usage:",
9 "content": "curl https://{domain}/api/actions/{id} -v -u {name}:{password} -X DELETE",
13 "name": "DeleteActions",
15 "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>",
17 "filename": "server/api/action/index.js",
18 "groupTitle": "Actions"
22 "url": "/api/actions/{id}",
23 "title": "Update an existing Action",
26 "title": "Example usage:",
27 "content": "curl https://{domain}/api/actions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
31 "name": "updateActions",
33 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35 "filename": "server/api/action/index.js",
36 "groupTitle": "Actions"
40 "url": "/api/analytics/custom_reports",
41 "title": "Creates a new Analytic Custom Report",
44 "title": "Example usage:",
45 "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",
49 "name": "CreateAnalytic_Custom_Reports",
50 "group": "Analytic_Custom_Reports",
65 "field": "description",
86 "field": "conditions",
99 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
101 "filename": "server/api/analyticCustomReport/index.js",
102 "groupTitle": "Analytic_Custom_Reports"
106 "url": "/api/analytics/custom_reports/{id}",
107 "title": "Deletes a Analytic Custom Report",
110 "title": "Example usage:",
111 "content": "curl https://{domain}/api/analytics/custom_reports/{id} -v -u {name}:{password} -X DELETE",
115 "name": "DeleteAnalytic_Custom_Reports",
116 "group": "Analytic_Custom_Reports",
117 "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>",
119 "filename": "server/api/analyticCustomReport/index.js",
120 "groupTitle": "Analytic_Custom_Reports"
124 "url": "/api/analytics/custom_reports",
125 "title": "Gets a list of Analytic Custom Reports",
128 "title": "Example usage:",
129 "content": "curl https://{domain}/api/analytics/custom_reports -v -u {name}:{password}",
133 "name": "GetAnalytic_Custom_Reports",
134 "group": "Analytic_Custom_Reports",
135 "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&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>",
137 "filename": "server/api/analyticCustomReport/index.js",
138 "groupTitle": "Analytic_Custom_Reports"
142 "url": "/api/analytics/custom_reports/{id}",
143 "title": "Gets a single Analytic Custom Report",
146 "title": "Example usage:",
147 "content": "curl https://{domain}/api/analytics/custom_reports/{id} -v -u {name}:{password}",
151 "name": "ShowAnalytic_Custom_Reports",
152 "group": "Analytic_Custom_Reports",
153 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
155 "filename": "server/api/analyticCustomReport/index.js",
156 "groupTitle": "Analytic_Custom_Reports"
160 "url": "/api/analytics/custom_reports/{id}/preview",
161 "title": "Report Preview",
164 "title": "Example usage:",
165 "content": "curl https://{domain}/api/analytics/custom_reports/{id}/preview -v -u {name}:{password} -X GET",
170 "group": "Analytic_Custom_Reports",
171 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
173 "filename": "server/api/analyticCustomReport/index.js",
174 "groupTitle": "Analytic_Custom_Reports"
178 "url": "/api/analytics/custom_reports/{id}/query",
179 "title": "Report Query SQL",
182 "title": "Example usage:",
183 "content": "curl https://{domain}/api/analytics/custom_reports/{id}/query -v -u {name}:{password} -X GET",
188 "group": "Analytic_Custom_Reports",
189 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
191 "filename": "server/api/analyticCustomReport/index.js",
192 "groupTitle": "Analytic_Custom_Reports"
196 "url": "/api/analytics/custom_reports/{id}/run",
197 "title": "Report Run",
200 "title": "Example usage:",
201 "content": "curl https://{domain}/api/analytics/custom_reports/{id}/run -v -u {name}:{password} -X GET",
206 "group": "Analytic_Custom_Reports",
207 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
209 "filename": "server/api/analyticCustomReport/index.js",
210 "groupTitle": "Analytic_Custom_Reports"
214 "url": "/api/analytics/custom_reports/{id}",
215 "title": "Update an existing Analytic Custom Report",
218 "title": "Example usage:",
219 "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",
223 "name": "updateAnalytic_Custom_Reports",
224 "group": "Analytic_Custom_Reports",
225 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
227 "filename": "server/api/analyticCustomReport/index.js",
228 "groupTitle": "Analytic_Custom_Reports"
232 "url": "/api/analytics/default_reports",
233 "title": "Creates a new Analytic Default Report",
236 "title": "Example usage:",
237 "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",
241 "name": "CreateAnalytic_Default_Reports",
242 "group": "Analytic_Default_Reports",
257 "field": "description",
278 "field": "conditions",
291 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
293 "filename": "server/api/analyticDefaultReport/index.js",
294 "groupTitle": "Analytic_Default_Reports"
298 "url": "/api/analytics/default_reports/{id}",
299 "title": "Deletes a Analytic Default Report",
302 "title": "Example usage:",
303 "content": "curl https://{domain}/api/analytics/default_reports/{id} -v -u {name}:{password} -X DELETE",
307 "name": "DeleteAnalytic_Default_Reports",
308 "group": "Analytic_Default_Reports",
309 "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>",
311 "filename": "server/api/analyticDefaultReport/index.js",
312 "groupTitle": "Analytic_Default_Reports"
316 "url": "/api/analytics/default_reports",
317 "title": "Gets a list of Analytic Default Reports",
320 "title": "Example usage:",
321 "content": "curl https://{domain}/api/analytics/default_reports -v -u {name}:{password}",
325 "name": "GetAnalytic_Default_Reports",
326 "group": "Analytic_Default_Reports",
327 "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&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>",
329 "filename": "server/api/analyticDefaultReport/index.js",
330 "groupTitle": "Analytic_Default_Reports"
334 "url": "/api/analytics/default_reports/{id}",
335 "title": "Gets a single Analytic Default Report",
338 "title": "Example usage:",
339 "content": "curl https://{domain}/api/analytics/default_reports/{id} -v -u {name}:{password}",
343 "name": "ShowAnalytic_Default_Reports",
344 "group": "Analytic_Default_Reports",
345 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
347 "filename": "server/api/analyticDefaultReport/index.js",
348 "groupTitle": "Analytic_Default_Reports"
352 "url": "/api/analytics/default_reports/{id}/preview",
353 "title": "Report Preview",
356 "title": "Example usage:",
357 "content": "curl https://{domain}/api/analytics/default_reports/{id}/preview -v -u {name}:{password} -X GET",
362 "group": "Analytic_Default_Reports",
363 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
365 "filename": "server/api/analyticDefaultReport/index.js",
366 "groupTitle": "Analytic_Default_Reports"
370 "url": "/api/analytics/default_reports/{id}/query",
371 "title": "Report Query SQL",
374 "title": "Example usage:",
375 "content": "curl https://{domain}/api/analytics/default_reports/{id}/query -v -u {name}:{password} -X GET",
380 "group": "Analytic_Default_Reports",
381 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
383 "filename": "server/api/analyticDefaultReport/index.js",
384 "groupTitle": "Analytic_Default_Reports"
388 "url": "/api/analytics/default_reports/{id}/run",
389 "title": "Report Run",
392 "title": "Example usage:",
393 "content": "curl https://{domain}/api/analytics/default_reports/{id}/run -v -u {name}:{password} -X GET",
398 "group": "Analytic_Default_Reports",
399 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
401 "filename": "server/api/analyticDefaultReport/index.js",
402 "groupTitle": "Analytic_Default_Reports"
406 "url": "/api/analytics/default_reports/{id}",
407 "title": "Update an existing Analytic Default Report",
410 "title": "Example usage:",
411 "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",
415 "name": "updateAnalytic_Default_Reports",
416 "group": "Analytic_Default_Reports",
417 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
419 "filename": "server/api/analyticDefaultReport/index.js",
420 "groupTitle": "Analytic_Default_Reports"
424 "url": "/api/analytics/extracted_reports",
425 "title": "Creates a new Analytic Extracted Report",
428 "title": "Example usage:",
429 "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",
433 "name": "CreateAnalytic_Extacted_Reports",
434 "group": "Analytic_Extracted_Reports",
475 "field": "startDate",
514 "field": "reportType",
520 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
522 "filename": "server/api/analyticExtractedReport/index.js",
523 "groupTitle": "Analytic_Extracted_Reports"
527 "url": "/api/analytics/extracted_reports/{id}",
528 "title": "Deletes a Analytic Extracted Report",
531 "title": "Example usage:",
532 "content": "curl https://{domain}/api/analytics/extracted_reports/{id} -v -u {name}:{password} -X DELETE",
536 "name": "DeleteAnalytic_Extacted_Reports",
537 "group": "Analytic_Extracted_Reports",
538 "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>",
540 "filename": "server/api/analyticExtractedReport/index.js",
541 "groupTitle": "Analytic_Extracted_Reports"
545 "url": "/api/analytics/extracted_reports",
546 "title": "Gets a list of Analytic Extacted Reports",
549 "title": "Example usage:",
550 "content": "curl https://{domain}/api/analytics/extracted_reports -v -u {name}:{password}",
554 "name": "GetAnalytic_Extacted_Reports",
555 "group": "Analytic_Extracted_Reports",
556 "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&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>",
558 "filename": "server/api/analyticExtractedReport/index.js",
559 "groupTitle": "Analytic_Extracted_Reports"
563 "url": "/api/analytics/extracted_reports/{id}",
564 "title": "Gets a single Analytic Extracted Report",
567 "title": "Example usage:",
568 "content": "curl https://{domain}/api/analytics/extracted_reports/{id} -v -u {name}:{password}",
572 "name": "ShowAnalytic_Extacted_Reports",
573 "group": "Analytic_Extracted_Reports",
574 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
576 "filename": "server/api/analyticExtractedReport/index.js",
577 "groupTitle": "Analytic_Extracted_Reports"
581 "url": "/api/analytics/extracted_reports/{id}/download",
582 "title": "Download Extracted Report",
585 "title": "Example usage:",
586 "content": "curl https://{domain}/api/analytics/extracted_reports/{id}/download -v -u {name}:{password} -X GET",
591 "group": "Analytic_Extracted_Reports",
592 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
594 "filename": "server/api/analyticExtractedReport/index.js",
595 "groupTitle": "Analytic_Extracted_Reports"
599 "url": "/api/analytics/extracted_reports/{id}",
600 "title": "Update an existing Analytic Extracted Report",
603 "title": "Example usage:",
604 "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",
608 "name": "updateAnalytic_Extacted_Reports",
609 "group": "Analytic_Extracted_Reports",
610 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
612 "filename": "server/api/analyticExtractedReport/index.js",
613 "groupTitle": "Analytic_Extracted_Reports"
617 "url": "/api/analytics/field_reports/create_many",
618 "title": "Creates many Analytic Field Reports",
621 "title": "Example usage:",
622 "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",
626 "name": "BulkCreateAnalytic_Field_Reports",
627 "group": "Analytic_Field_Reports",
683 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
685 "filename": "server/api/analyticFieldReport/index.js",
686 "groupTitle": "Analytic_Field_Reports"
690 "url": "/api/analytics/field_reports/destroy_many?ids={ids}",
691 "title": "Deletes many Analytic Field Reports",
694 "title": "Example usage:",
695 "content": "curl https://{domain}/api/analytics/field_reports/destroy_many?ids=1&ids=2&ids=3 -v -u {name}:{password} -X DELETE",
699 "name": "BulkDeleteAnalytic_Field_Reports",
700 "group": "Analytic_Field_Reports",
701 "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>",
703 "filename": "server/api/analyticFieldReport/index.js",
704 "groupTitle": "Analytic_Field_Reports"
708 "url": "/api/analytics/field_reports",
709 "title": "Creates a new Analytic Field Report",
712 "title": "Example usage:",
713 "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",
717 "name": "CreateAnalytic_Field_Reports",
718 "group": "Analytic_Field_Reports",
774 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
776 "filename": "server/api/analyticFieldReport/index.js",
777 "groupTitle": "Analytic_Field_Reports"
781 "url": "/api/analytics/field_reports/{id}",
782 "title": "Deletes a Analytic Field Report",
785 "title": "Example usage:",
786 "content": "curl https://{domain}/api/analytics/field_reports/{id} -v -u {name}:{password} -X DELETE",
790 "name": "DeleteAnalytic_Field_Reports",
791 "group": "Analytic_Field_Reports",
792 "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>",
794 "filename": "server/api/analyticFieldReport/index.js",
795 "groupTitle": "Analytic_Field_Reports"
799 "url": "/api/analytics/field_reports",
800 "title": "Gets a list of Analytic Field Reports",
803 "title": "Example usage:",
804 "content": "curl https://{domain}/api/analytics/field_reports -v -u {name}:{password}",
808 "name": "GetAnalytic_Field_Reports",
809 "group": "Analytic_Field_Reports",
810 "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&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>",
812 "filename": "server/api/analyticFieldReport/index.js",
813 "groupTitle": "Analytic_Field_Reports"
817 "url": "/api/analytics/field_reports/{id}",
818 "title": "Gets a single Analytic Field Report",
821 "title": "Example usage:",
822 "content": "curl https://{domain}/api/analytics/field_reports/{id} -v -u {name}:{password}",
826 "name": "ShowAnalytic_Field_Reports",
827 "group": "Analytic_Field_Reports",
828 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
830 "filename": "server/api/analyticFieldReport/index.js",
831 "groupTitle": "Analytic_Field_Reports"
835 "url": "/api/analytics/field_reports/{id}/create_many",
836 "title": "Rewrite fields set",
839 "title": "Example usage:",
840 "content": "curl https://{domain}/api/analytics/field_reports/{id}/create_many -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
845 "group": "Analytic_Field_Reports",
846 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
848 "filename": "server/api/analyticFieldReport/index.js",
849 "groupTitle": "Analytic_Field_Reports"
853 "url": "/api/analytics/field_reports/{id}",
854 "title": "Update an existing Analytic Field Report",
857 "title": "Example usage:",
858 "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",
862 "name": "updateAnalytic_Field_Reports",
863 "group": "Analytic_Field_Reports",
864 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
866 "filename": "server/api/analyticFieldReport/index.js",
867 "groupTitle": "Analytic_Field_Reports"
871 "url": "/api/analytics/metrics",
872 "title": "Creates a new Analytic Metrics",
875 "title": "Example usage:",
876 "content": "curl https://{domain}/api/analytics/metrics -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
880 "name": "CreateAnalytic_Metric",
881 "group": "Analytic_Metrics",
910 "field": "description",
916 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
918 "filename": "server/api/analyticMetric/index.js",
919 "groupTitle": "Analytic_Metrics"
923 "url": "/api/analytics/metrics/{id}",
924 "title": "Deletes a Analytic Metrics",
927 "title": "Example usage:",
928 "content": "curl https://{domain}/api/analytics/metrics/{id} -v -u {name}:{password} -X DELETE",
932 "name": "DeleteAnalytic_Metric",
933 "group": "Analytic_Metrics",
934 "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>",
936 "filename": "server/api/analyticMetric/index.js",
937 "groupTitle": "Analytic_Metrics"
941 "url": "/api/analytics/metrics",
942 "title": "Gets a list of Analytic Metric",
945 "title": "Example usage:",
946 "content": "curl https://{domain}/api/analytics/metrics -v -u {name}:{password}",
950 "name": "GetAnalytic_Metric",
951 "group": "Analytic_Metrics",
952 "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&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>",
954 "filename": "server/api/analyticMetric/index.js",
955 "groupTitle": "Analytic_Metrics"
959 "url": "/api/analytics/metrics/{id}",
960 "title": "Gets a single Analytic Metrics",
963 "title": "Example usage:",
964 "content": "curl https://{domain}/api/analytics/metrics/{id} -v -u {name}:{password}",
968 "name": "ShowAnalytic_Metric",
969 "group": "Analytic_Metrics",
970 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
972 "filename": "server/api/analyticMetric/index.js",
973 "groupTitle": "Analytic_Metrics"
977 "url": "/api/analytics/metrics/{id}",
978 "title": "Update an existing Analytic Metrics",
981 "title": "Example usage:",
982 "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",
986 "name": "updateAnalytic_Metric",
987 "group": "Analytic_Metrics",
988 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
990 "filename": "server/api/analyticMetric/index.js",
991 "groupTitle": "Analytic_Metrics"
995 "url": "/api/analytics/tree_reports",
996 "title": "Creates a new Analytic Tree Report",
999 "title": "Example usage:",
1000 "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",
1004 "name": "CreateAnalytic_Tree_Reports",
1005 "group": "Analytic_Tree_Reports",
1019 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1021 "filename": "server/api/analyticTreeReport/index.js",
1022 "groupTitle": "Analytic_Tree_Reports"
1026 "url": "/api/analytics/tree_reports/{id}",
1027 "title": "Deletes a Analytic Tree Report",
1030 "title": "Example usage:",
1031 "content": "curl https://{domain}/api/analytics/tree_reports/{id} -v -u {name}:{password} -X DELETE",
1035 "name": "DeleteAnalytic_Tree_Reports",
1036 "group": "Analytic_Tree_Reports",
1037 "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>",
1039 "filename": "server/api/analyticTreeReport/index.js",
1040 "groupTitle": "Analytic_Tree_Reports"
1044 "url": "/api/analytics/tree_reports",
1045 "title": "Gets a list of Analytic Tree Reports",
1048 "title": "Example usage:",
1049 "content": "curl https://{domain}/api/analytics/tree_reports -v -u {name}:{password}",
1053 "name": "GetAnalytic_Tree_Reports",
1054 "group": "Analytic_Tree_Reports",
1055 "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&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>",
1057 "filename": "server/api/analyticTreeReport/index.js",
1058 "groupTitle": "Analytic_Tree_Reports"
1062 "url": "/api/analytics/tree_reports/{id}",
1063 "title": "Gets a single Analytic Tree Report",
1066 "title": "Example usage:",
1067 "content": "curl https://{domain}/api/analytics/tree_reports/{id} -v -u {name}:{password}",
1071 "name": "ShowAnalytic_Tree_Reports",
1072 "group": "Analytic_Tree_Reports",
1073 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1075 "filename": "server/api/analyticTreeReport/index.js",
1076 "groupTitle": "Analytic_Tree_Reports"
1080 "url": "/api/analytics/tree_reports/{id}",
1081 "title": "Update an existing Analytic Tree Report",
1084 "title": "Example usage:",
1085 "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",
1089 "name": "updateAnalytic_Tree_Reports",
1090 "group": "Analytic_Tree_Reports",
1091 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1093 "filename": "server/api/analyticTreeReport/index.js",
1094 "groupTitle": "Analytic_Tree_Reports"
1098 "url": "/api/attachments/clone",
1099 "title": "Clone an existing Attachment",
1102 "title": "Example usage:",
1103 "content": "curl https://{domain}/api/attachments/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
1107 "name": "CloneAttachments",
1108 "group": "Attachments",
1109 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1111 "filename": "server/api/attachment/index.js",
1112 "groupTitle": "Attachments"
1116 "url": "/api/attachments/{id}",
1117 "title": "Deletes a Attachment",
1120 "title": "Example usage:",
1121 "content": "curl https://{domain}/api/attachments/{id} -v -u {name}:{password} -X DELETE",
1125 "name": "DeleteAttachments",
1126 "group": "Attachments",
1127 "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>",
1129 "filename": "server/api/attachment/index.js",
1130 "groupTitle": "Attachments"
1134 "url": "/api/attachments",
1135 "title": "Gets a list of Attachments",
1138 "title": "Example usage:",
1139 "content": "curl https://{domain}/api/attachments -v -u {name}:{password}",
1143 "name": "GetAttachments",
1144 "group": "Attachments",
1145 "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&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>",
1147 "filename": "server/api/attachment/index.js",
1148 "groupTitle": "Attachments"
1152 "url": "/api/attachments/{id}",
1153 "title": "Gets a single Attachment",
1156 "title": "Example usage:",
1157 "content": "curl https://{domain}/api/attachments/{id} -v -u {name}:{password}",
1161 "name": "ShowAttachments",
1162 "group": "Attachments",
1163 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1165 "filename": "server/api/attachment/index.js",
1166 "groupTitle": "Attachments"
1170 "url": "/api/attachments",
1171 "title": "Add attachment",
1174 "title": "Example usage:",
1175 "content": "curl https://{domain}/api/attachments -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
1180 "group": "Attachments",
1181 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1183 "filename": "server/api/attachment/index.js",
1184 "groupTitle": "Attachments"
1188 "url": "/api/attachments/:id/download",
1189 "title": "Download attachment",
1192 "title": "Example usage:",
1193 "content": "curl https://{domain}/api/attachments/:id/download -v -u {name}:{password} -X GET",
1198 "group": "Attachments",
1199 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1201 "filename": "server/api/attachment/index.js",
1202 "groupTitle": "Attachments"
1206 "url": "/api/chat/interactions/{id}/attachment_download",
1207 "title": "Download attachment",
1210 "title": "Example usage:",
1211 "content": "curl https://{domain}/api/chat/interactions/{id}/attachment_download -v -u {name}:{password} -X GET",
1216 "group": "Attachments",
1217 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1219 "filename": "server/api/chatInteraction/index.js",
1220 "groupTitle": "Attachments"
1224 "url": "/api/attachments/{id}",
1225 "title": "Update an existing Attachment",
1228 "title": "Example usage:",
1229 "content": "curl https://{domain}/api/attachments/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1233 "name": "updateAttachments",
1234 "group": "Attachments",
1235 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1237 "filename": "server/api/attachment/index.js",
1238 "groupTitle": "Attachments"
1242 "url": "/api/auth/local/forgot",
1243 "title": "Creates a new password reset token",
1246 "title": "Example usage:",
1247 "content": "curl https://{domain}/api/auth/local/forgot -d '{\"email\": \"john.doe@xcally.com\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1251 "name": "Local_Forgot_Password",
1252 "group": "Authentication",
1266 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1268 "filename": "server/api/authLocal/index.js",
1269 "groupTitle": "Authentication"
1273 "url": "/api/auth/local/reset/:token",
1274 "title": "Reset user password",
1277 "title": "Example usage:",
1278 "content": "curl https://{domain}/api/auth/local/reset/94b422c1fkdjhg766a198da6997yu6gcc963641d -d '{\"password\": \"My_newP@ssw0rd\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1282 "name": "Local_Reset_Password",
1283 "group": "Authentication",
1291 "field": "password",
1297 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1299 "filename": "server/api/authLocal/index.js",
1300 "groupTitle": "Authentication"
1304 "url": "/api/auth/google",
1305 "title": "Creates a new User token",
1308 "title": "Example usage:",
1309 "content": "curl https://{domain}/api/auth/google -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1313 "name": "Local_login",
1314 "group": "Authentication",
1329 "field": "password",
1335 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1337 "filename": "server/api/authGoogle/index.js",
1338 "groupTitle": "Authentication"
1342 "url": "/api/auth/local",
1343 "title": "Creates a new User token",
1346 "title": "Example usage:",
1347 "content": "curl https://{domain}/api/auth/local -d '{\"name\": \"john.doe\", \"password\": \"password\"}' \\\n -H \"Content-Type: application/json\" -X POST",
1351 "name": "Local_login",
1352 "group": "Authentication",
1367 "field": "password",
1373 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1375 "filename": "server/api/authLocal/index.js",
1376 "groupTitle": "Authentication"
1380 "url": "/api/automations",
1381 "title": "Creates a new Automation",
1384 "title": "Example usage:",
1385 "content": "curl https://{domain}/api/automations -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
1389 "name": "CreateAutomations",
1390 "group": "Automations",
1412 "field": "description",
1432 "description": "<p>Motion 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 "filename": "server/api/automation/index.js",
1435 "groupTitle": "Automations"
1439 "url": "/api/automations/{id}",
1440 "title": "Deletes a Automation",
1443 "title": "Example usage:",
1444 "content": "curl https://{domain}/api/automations/{id} -v -u {name}:{password} -X DELETE",
1448 "name": "DeleteAutomations",
1449 "group": "Automations",
1450 "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>",
1452 "filename": "server/api/automation/index.js",
1453 "groupTitle": "Automations"
1457 "url": "/api/automations",
1458 "title": "Gets a list of Automations",
1461 "title": "Example usage:",
1462 "content": "curl https://{domain}/api/automations -v -u {name}:{password}",
1466 "name": "GetAutomations",
1467 "group": "Automations",
1468 "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&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>",
1470 "filename": "server/api/automation/index.js",
1471 "groupTitle": "Automations"
1475 "url": "/api/automations/{id}",
1476 "title": "Gets a single Automation",
1479 "title": "Example usage:",
1480 "content": "curl https://{domain}/api/automations/{id} -v -u {name}:{password}",
1484 "name": "ShowAutomations",
1485 "group": "Automations",
1486 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1488 "filename": "server/api/automation/index.js",
1489 "groupTitle": "Automations"
1493 "url": "/api/automations/{id}/actions",
1494 "title": "Creates new actions",
1497 "title": "Example usage:",
1498 "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",
1502 "name": "addActions",
1503 "group": "Automations",
1519 "description": "<p>Allowed values: contactManager, integration, motionbar, jscripty, urlForward, browser, bot, script</p>"
1526 "description": "<p>contactManager[ListId], integration[intName(zendesk)], motionbar[Popup(0),URL(1),WinApp(2)], urlForward[GET,POST], browser[TemplateId(0),URL(1)]</p>"
1533 "description": "<p>integration[AccountId], motionbar[TemplateId,URL,WinAppPath], urlForward[URL]</p>"
1540 "description": "<p>motionbar[NULL,NULL,WinAppArguments]</p>"
1573 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1575 "filename": "server/api/automation/index.js",
1576 "groupTitle": "Automations"
1580 "url": "/api/automations/{id}/conditions",
1581 "title": "Creates new conditions",
1584 "title": "Example usage:",
1585 "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",
1589 "name": "addConditions",
1590 "group": "Automations",
1612 "field": "operator",
1625 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1627 "filename": "server/api/automation/index.js",
1628 "groupTitle": "Automations"
1632 "url": "/api/automations/{id}/actions",
1633 "title": "Gets Automation Actions",
1636 "title": "Example usage:",
1637 "content": "curl https://{domain}/api/automations/{id}/actions -v -u {name}:{password} -X GET",
1641 "name": "getActions",
1642 "group": "Automations",
1643 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1645 "filename": "server/api/automation/index.js",
1646 "groupTitle": "Automations"
1650 "url": "/api/automations/{id}/conditions",
1651 "title": "Gets Automation Conditions",
1654 "title": "Example usage:",
1655 "content": "curl https://{domain}/api/automations/{id}/conditions -v -u {name}:{password} -X GET",
1659 "name": "getConditions",
1660 "group": "Automations",
1661 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1663 "filename": "server/api/automation/index.js",
1664 "groupTitle": "Automations"
1668 "url": "/api/automations/{id}",
1669 "title": "Update an existing Automation",
1672 "title": "Example usage:",
1673 "content": "curl https://{domain}/api/automations/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
1677 "name": "updateAutomations",
1678 "group": "Automations",
1679 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1681 "filename": "server/api/automation/index.js",
1682 "groupTitle": "Automations"
1686 "url": "/api/canned_answers",
1687 "title": "Create a new canned answer",
1690 "title": "Example usage:",
1691 "content": "curl https://{domain}/api/canned_answers -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
1696 "group": "Canned_Answers",
1697 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1699 "filename": "server/api/cannedAnswer/index.js",
1700 "groupTitle": "Canned_Answers"
1704 "url": "/api/canned_answers/{id}",
1705 "title": "Deletes a Canned Answer",
1708 "title": "Example usage:",
1709 "content": "curl https://{domain}/api/canned_answers/{id} -v -u {name}:{password} -X DELETE",
1713 "name": "DeleteCanned_Answers",
1714 "group": "Canned_Answers",
1715 "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>",
1717 "filename": "server/api/cannedAnswer/index.js",
1718 "groupTitle": "Canned_Answers"
1722 "url": "/api/canned_answers",
1723 "title": "Gets a list of Canned Answers",
1726 "title": "Example usage:",
1727 "content": "curl https://{domain}/api/canned_answers -v -u {name}:{password}",
1731 "name": "GetCanned_Answers",
1732 "group": "Canned_Answers",
1733 "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&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>",
1735 "filename": "server/api/cannedAnswer/index.js",
1736 "groupTitle": "Canned_Answers"
1740 "url": "/api/canned_answers/{id}",
1741 "title": "Gets a single Canned Answer",
1744 "title": "Example usage:",
1745 "content": "curl https://{domain}/api/canned_answers/{id} -v -u {name}:{password}",
1749 "name": "ShowCanned_Answers",
1750 "group": "Canned_Answers",
1751 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1753 "filename": "server/api/cannedAnswer/index.js",
1754 "groupTitle": "Canned_Answers"
1758 "url": "/api/canned_answers/{id}",
1759 "title": "Update an existing Canned Answer",
1762 "title": "Example usage:",
1763 "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",
1767 "name": "updateCanned_Answers",
1768 "group": "Canned_Answers",
1769 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1771 "filename": "server/api/cannedAnswer/index.js",
1772 "groupTitle": "Canned_Answers"
1776 "url": "/chat/internal/users",
1777 "title": "Gets Users Last Messages",
1780 "title": "Example usage:",
1781 "content": "curl https://{domain}/chat/internal/users -v -u {name}:{password} -X GET",
1785 "name": "getLastUsersMessages",
1786 "group": "ChatInternalMessage",
1787 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1789 "filename": "server/api/chatInternalMessage/index.js",
1790 "groupTitle": "ChatInternalMessage"
1794 "url": "/api/chat/applications/{id}",
1795 "title": "Deletes a Application",
1798 "title": "Example usage:",
1799 "content": "curl https://{domain}/api/chat/applications/{id} -v -u {name}:{password} -X DELETE",
1803 "name": "DeleteApplications",
1804 "group": "Chat_Applications",
1805 "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>",
1807 "filename": "server/api/chatApplication/index.js",
1808 "groupTitle": "Chat_Applications"
1812 "url": "/api/chat/applications/{id}",
1813 "title": "Gets a single Application",
1816 "title": "Example usage:",
1817 "content": "curl https://{domain}/api/chat/applications/{id} -v -u {name}:{password}",
1821 "name": "ShowApplications",
1822 "group": "Chat_Applications",
1823 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1825 "filename": "server/api/chatApplication/index.js",
1826 "groupTitle": "Chat_Applications"
1830 "url": "/api/chat/applications/{id}",
1831 "title": "Update an existing Application",
1834 "title": "Example usage:",
1835 "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",
1839 "name": "updateApplications",
1840 "group": "Chat_Applications",
1841 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1843 "filename": "server/api/chatApplication/index.js",
1844 "groupTitle": "Chat_Applications"
1848 "url": "/api/chat/groups",
1849 "title": "Creates a new Group",
1852 "title": "Example usage:",
1853 "content": "curl https://{domain}/api/chat/groups -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
1857 "name": "CreateGroups",
1858 "group": "Chat_Groups",
1873 "field": "description",
1886 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1888 "filename": "server/api/chatGroup/index.js",
1889 "groupTitle": "Chat_Groups"
1893 "url": "/api/chat/groups/{id}",
1894 "title": "Deletes a Group",
1897 "title": "Example usage:",
1898 "content": "curl https://{domain}/api/chat/groups/{id} -v -u {name}:{password} -X DELETE",
1902 "name": "DeleteGroups",
1903 "group": "Chat_Groups",
1904 "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>",
1906 "filename": "server/api/chatGroup/index.js",
1907 "groupTitle": "Chat_Groups"
1911 "url": "/api/chat/groups/describe",
1912 "title": "Gets table info about Groups",
1915 "title": "Example usage:",
1916 "content": "curl https://{domain}/api/chat/groups/describe -v -u {name}:{password}",
1920 "name": "DescribeGroups",
1921 "group": "Chat_Groups",
1922 "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>",
1924 "filename": "server/api/chatGroup/index.js",
1925 "groupTitle": "Chat_Groups"
1929 "url": "/api/chat/groups",
1930 "title": "Gets a list of Groups",
1933 "title": "Example usage:",
1934 "content": "curl https://{domain}/api/chat/groups -v -u {name}:{password}",
1938 "name": "GetGroups",
1939 "group": "Chat_Groups",
1940 "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&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>",
1942 "filename": "server/api/chatGroup/index.js",
1943 "groupTitle": "Chat_Groups"
1947 "url": "/api/chat/groups/{id}/members",
1948 "title": "Removes members from a group",
1951 "title": "Example usage:",
1952 "content": "curl https://{domain}/api/chat/groups/{id}/members?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
1956 "name": "RemoveMembers",
1957 "group": "Chat_Groups",
1958 "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>",
1960 "filename": "server/api/chatGroup/index.js",
1961 "groupTitle": "Chat_Groups"
1965 "url": "/api/chat/groups/{id}",
1966 "title": "Gets a single Group",
1969 "title": "Example usage:",
1970 "content": "curl https://{domain}/api/chat/groups/{id} -v -u {name}:{password}",
1974 "name": "ShowGroups",
1975 "group": "Chat_Groups",
1976 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1978 "filename": "server/api/chatGroup/index.js",
1979 "groupTitle": "Chat_Groups"
1983 "url": "/api/chat/groups/{id}/members",
1984 "title": "Add members to chat group",
1987 "title": "Example usage:",
1988 "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",
1992 "name": "addMembers",
1993 "group": "Chat_Groups",
1994 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
1996 "filename": "server/api/chatGroup/index.js",
1997 "groupTitle": "Chat_Groups"
2001 "url": "/api/chat/groups/{id}/messages",
2002 "title": "Creates a new group message",
2005 "title": "Example usage:",
2006 "content": "curl https://{domain}/api/chat/groups/{id}/messages -d '{\"body\": \"Hi operator!\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2010 "name": "addMessage",
2011 "group": "Chat_Groups",
2012 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2014 "filename": "server/api/chatGroup/index.js",
2015 "groupTitle": "Chat_Groups"
2019 "url": "/api/chat/groups/{id}/members",
2020 "title": "Gets Members",
2023 "title": "Example usage:",
2024 "content": "curl https://{domain}/api/chat/groups/{id}/members -v -u {name}:{password} -X GET",
2028 "name": "getMembers",
2029 "group": "Chat_Groups",
2030 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2032 "filename": "server/api/chatGroup/index.js",
2033 "groupTitle": "Chat_Groups"
2037 "url": "/api/chat/groups/{id}/messages",
2038 "title": "Gets Messages",
2041 "title": "Example usage:",
2042 "content": "curl https://{domain}/api/chat/groups/{id}/messages -v -u {name}:{password} -X GET",
2046 "name": "getMessages",
2047 "group": "Chat_Groups",
2048 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2050 "filename": "server/api/chatGroup/index.js",
2051 "groupTitle": "Chat_Groups"
2055 "url": "/api/chat/groups/{id}/unread",
2056 "title": "Get unread chat group messages",
2059 "title": "Example usage:",
2060 "content": "curl https://{domain}/api/chat/groups/{id}/unread -H 'Content-Type: application/json' -v -u {name}:{password} -X GET",
2065 "group": "Chat_Groups",
2066 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2068 "filename": "server/api/chatGroup/index.js",
2069 "groupTitle": "Chat_Groups"
2073 "url": "/api/chat/groups/{id}",
2074 "title": "Update an existing Group",
2077 "title": "Example usage:",
2078 "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",
2082 "name": "updateGroups",
2083 "group": "Chat_Groups",
2084 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2086 "filename": "server/api/chatGroup/index.js",
2087 "groupTitle": "Chat_Groups"
2091 "url": "/api/chat/interactions/{id}/tags",
2092 "title": "Add tags to the interaction",
2095 "title": "Example usage:",
2096 "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",
2101 "group": "Chat_Interactions",
2102 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2104 "filename": "server/api/chatInteraction/index.js",
2105 "groupTitle": "Chat_Interactions"
2109 "url": "/api/chat/interactions",
2110 "title": "Creates a new Interaction",
2113 "title": "Example usage:",
2114 "content": "curl https://{domain}/api/chat/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
2118 "name": "CreateInteractions",
2119 "group": "Chat_Interactions",
2134 "field": "ratingValue",
2145 "field": "ratingType",
2152 "field": "ratingMessage",
2159 "field": "pathTranscript",
2166 "field": "mailTranscript",
2173 "field": "closedAt",
2180 "field": "disposition",
2187 "field": "secondDisposition",
2194 "field": "thirdDisposition",
2208 "field": "browserName",
2215 "field": "browserVersion",
2229 "field": "osVersion",
2236 "field": "deviceModel",
2243 "field": "deviceVendor",
2250 "field": "deviceType",
2264 "field": "customerIp",
2271 "field": "formData",
2278 "field": "read1stAt",
2285 "field": "lastMsgAt",
2296 "field": "lastMsgDirection",
2303 "field": "closeReason",
2310 "field": "customerPort",
2317 "field": "vidaooSessionId",
2323 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2325 "filename": "server/api/chatInteraction/index.js",
2326 "groupTitle": "Chat_Interactions"
2330 "url": "/api/chat/interactions/{id}",
2331 "title": "Deletes a Interaction",
2334 "title": "Example usage:",
2335 "content": "curl https://{domain}/api/chat/interactions/{id} -v -u {name}:{password} -X DELETE",
2339 "name": "DeleteInteractions",
2340 "group": "Chat_Interactions",
2341 "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>",
2343 "filename": "server/api/chatInteraction/index.js",
2344 "groupTitle": "Chat_Interactions"
2348 "url": "/api/chat/interactions/describe",
2349 "title": "Gets table info about Interactions",
2352 "title": "Example usage:",
2353 "content": "curl https://{domain}/api/chat/interactions/describe -v -u {name}:{password}",
2357 "name": "DescribeInteractions",
2358 "group": "Chat_Interactions",
2359 "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>",
2361 "filename": "server/api/chatInteraction/index.js",
2362 "groupTitle": "Chat_Interactions"
2366 "url": "/api/chat/interactions",
2367 "title": "Gets a list of Interactions",
2370 "title": "Example usage:",
2371 "content": "curl https://{domain}/api/chat/interactions -v -u {name}:{password}",
2375 "name": "GetInteractions",
2376 "group": "Chat_Interactions",
2377 "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&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>",
2379 "filename": "server/api/chatInteraction/index.js",
2380 "groupTitle": "Chat_Interactions"
2384 "url": "/api/chat/interactions/{id}/tags",
2385 "title": "Removes tags from interaction",
2388 "title": "Example usage:",
2389 "content": "curl https://{domain}/api/chat/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
2393 "name": "RemoveTags",
2394 "group": "Chat_Interactions",
2395 "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>",
2397 "filename": "server/api/chatInteraction/index.js",
2398 "groupTitle": "Chat_Interactions"
2402 "url": "/api/chat/interactions/{id}",
2403 "title": "Gets a single Interaction",
2406 "title": "Example usage:",
2407 "content": "curl https://{domain}/api/chat/interactions/{id} -v -u {name}:{password}",
2411 "name": "ShowInteractions",
2412 "group": "Chat_Interactions",
2413 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2415 "filename": "server/api/chatInteraction/index.js",
2416 "groupTitle": "Chat_Interactions"
2420 "url": "/api/chat/interactions/{id}/abandon",
2421 "title": "Abandon interaction",
2424 "title": "Example usage:",
2425 "content": "curl https://{domain}/api/chat/interactions/{id}/abandon -d '{\"channel\": \"chat\", \"...\": \"...\"}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
2430 "group": "Chat_Interactions",
2431 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <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>",
2433 "filename": "server/api/chatInteraction/index.js",
2434 "groupTitle": "Chat_Interactions"
2438 "url": "/api/chat/interactions/{id}/messages",
2439 "title": "Creates new messages",
2442 "title": "Example usage:",
2443 "content": "curl https://{domain}/api/chat/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2447 "name": "addMessage",
2448 "group": "Chat_Interactions",
2481 "field": "direction",
2495 "field": "providerName",
2502 "field": "providerResponse",
2508 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2510 "filename": "server/api/chatInteraction/index.js",
2511 "groupTitle": "Chat_Interactions"
2515 "url": "/api/chat/interactions/{id}/close",
2516 "title": "Close Interaction",
2519 "title": "Example usage:",
2520 "content": "curl https://{domain}/api/chat/interactions/{id}/close -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2524 "name": "addMessage",
2525 "group": "Chat_Interactions",
2526 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2528 "filename": "server/api/chatInteraction/index.js",
2529 "groupTitle": "Chat_Interactions"
2533 "url": "/api/chat/interactions/{id}/attachment_upload",
2534 "title": "Add attachment",
2537 "title": "Example usage:",
2538 "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",
2542 "name": "attachmentUpload",
2543 "group": "Chat_Interactions",
2544 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2546 "filename": "server/api/chatInteraction/index.js",
2547 "groupTitle": "Chat_Interactions"
2551 "url": "/api/chat/interactions/{id}/vidaoo",
2552 "title": "Create Vidaoo Session",
2555 "title": "Example usage:",
2556 "content": "curl https://{domain}/api/chat/interactions/{id}/vidaoo -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
2560 "name": "createVidaooSession",
2561 "group": "Chat_Interactions",
2562 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2564 "filename": "server/api/chatInteraction/index.js",
2565 "groupTitle": "Chat_Interactions"
2569 "url": "/api/chat/interactions/{id}/custom_update",
2570 "title": "Update interaction",
2573 "title": "Example usage:",
2574 "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",
2578 "name": "customUpdate",
2579 "group": "Chat_Interactions",
2580 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <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>",
2582 "filename": "server/api/chatInteraction/index.js",
2583 "groupTitle": "Chat_Interactions"
2587 "url": "/api/chat/interactions/{id}/download",
2588 "title": "Gets interaction",
2591 "title": "Example usage:",
2592 "content": "curl https://{domain}/api/chat/interactions/{id}/download -v -u {name}:{password} -X GET",
2597 "group": "Chat_Interactions",
2598 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2600 "filename": "server/api/chatInteraction/index.js",
2601 "groupTitle": "Chat_Interactions"
2605 "url": "/api/chat/interactions/{id}/messages",
2606 "title": "Gets interaction messages",
2609 "title": "Example usage:",
2610 "content": "curl https://{domain}/api/chat/interactions/{id}/messages -v -u {name}:{password} -X GET",
2614 "name": "getMessages",
2615 "group": "Chat_Interactions",
2616 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2618 "filename": "server/api/chatInteraction/index.js",
2619 "groupTitle": "Chat_Interactions"
2623 "url": "/api/chat/interactions/{id}/my_messages",
2624 "title": "Gets interaction messages",
2627 "title": "Example usage:",
2628 "content": "curl https://{domain}/api/chat/interactions/{id}/my_messages -v -u {name}:{password} -X GET",
2632 "name": "getMyMessages",
2633 "group": "Chat_Interactions",
2634 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2636 "filename": "server/api/chatInteraction/index.js",
2637 "groupTitle": "Chat_Interactions"
2641 "url": "/api/chat/interactions/{id}",
2642 "title": "Update an existing Interaction",
2645 "title": "Example usage:",
2646 "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",
2650 "name": "updateInteractions",
2651 "group": "Chat_Interactions",
2652 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2654 "filename": "server/api/chatInteraction/index.js",
2655 "groupTitle": "Chat_Interactions"
2659 "url": "/api/chat/internal/messages",
2660 "title": "Creates a new Message",
2663 "title": "Example usage:",
2664 "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",
2668 "name": "CreateMessages",
2669 "group": "Chat_Internal_Messages",
2691 "field": "ChatInternalMessageId",
2697 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2699 "filename": "server/api/chatInternalMessage/index.js",
2700 "groupTitle": "Chat_Internal_Messages"
2704 "url": "/api/chat/internal/messages/{id}",
2705 "title": "Deletes a Message",
2708 "title": "Example usage:",
2709 "content": "curl https://{domain}/api/chat/internal/messages/{id} -v -u {name}:{password} -X DELETE",
2713 "name": "DeleteMessages",
2714 "group": "Chat_Internal_Messages",
2715 "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>",
2717 "filename": "server/api/chatInternalMessage/index.js",
2718 "groupTitle": "Chat_Internal_Messages"
2722 "url": "/api/chat/internal/messages/describe",
2723 "title": "Gets table info about Messages",
2726 "title": "Example usage:",
2727 "content": "curl https://{domain}/api/chat/internal/messages/describe -v -u {name}:{password}",
2731 "name": "DescribeMessages",
2732 "group": "Chat_Internal_Messages",
2733 "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>",
2735 "filename": "server/api/chatInternalMessage/index.js",
2736 "groupTitle": "Chat_Internal_Messages"
2740 "url": "/api/chat/internal/messages",
2741 "title": "Gets a list of Messages",
2744 "title": "Example usage:",
2745 "content": "curl https://{domain}/api/chat/internal/messages -v -u {name}:{password}",
2749 "name": "GetMessages",
2750 "group": "Chat_Internal_Messages",
2751 "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&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>",
2753 "filename": "server/api/chatInternalMessage/index.js",
2754 "groupTitle": "Chat_Internal_Messages"
2758 "url": "/api/chat/internal/messages/{id}",
2759 "title": "Gets a single Message",
2762 "title": "Example usage:",
2763 "content": "curl https://{domain}/api/chat/internal/messages/{id} -v -u {name}:{password}",
2767 "name": "ShowMessages",
2768 "group": "Chat_Internal_Messages",
2769 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2771 "filename": "server/api/chatInternalMessage/index.js",
2772 "groupTitle": "Chat_Internal_Messages"
2776 "url": "/api/chat/internal/messages/{id}",
2777 "title": "Update an existing Message",
2780 "title": "Example usage:",
2781 "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",
2785 "name": "updateMessages",
2786 "group": "Chat_Internal_Messages",
2787 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2789 "filename": "server/api/chatInternalMessage/index.js",
2790 "groupTitle": "Chat_Internal_Messages"
2794 "url": "/api/chat/messages",
2795 "title": "Creates a new Message",
2798 "title": "Example usage:",
2799 "content": "curl https://{domain}/api/chat/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
2803 "name": "CreateMessages",
2804 "group": "Chat_Messages",
2837 "field": "direction",
2851 "field": "providerName",
2858 "field": "providerResponse",
2864 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2866 "filename": "server/api/chatMessage/index.js",
2867 "groupTitle": "Chat_Messages"
2871 "url": "/api/chat/messages/{id}",
2872 "title": "Deletes a Message",
2875 "title": "Example usage:",
2876 "content": "curl https://{domain}/api/chat/messages/{id} -v -u {name}:{password} -X DELETE",
2880 "name": "DeleteMessages",
2881 "group": "Chat_Messages",
2882 "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>",
2884 "filename": "server/api/chatMessage/index.js",
2885 "groupTitle": "Chat_Messages"
2889 "url": "/api/chat/messages/describe",
2890 "title": "Gets table info about Messages",
2893 "title": "Example usage:",
2894 "content": "curl https://{domain}/api/chat/messages/describe -v -u {name}:{password}",
2898 "name": "DescribeMessages",
2899 "group": "Chat_Messages",
2900 "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>",
2902 "filename": "server/api/chatMessage/index.js",
2903 "groupTitle": "Chat_Messages"
2907 "url": "/api/chat/messages",
2908 "title": "Gets a list of Messages",
2911 "title": "Example usage:",
2912 "content": "curl https://{domain}/api/chat/messages -v -u {name}:{password}",
2916 "name": "GetMessages",
2917 "group": "Chat_Messages",
2918 "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&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>",
2920 "filename": "server/api/chatMessage/index.js",
2921 "groupTitle": "Chat_Messages"
2925 "url": "/api/chat/messages/{id}",
2926 "title": "Gets a single Message",
2929 "title": "Example usage:",
2930 "content": "curl https://{domain}/api/chat/messages/{id} -v -u {name}:{password}",
2934 "name": "ShowMessages",
2935 "group": "Chat_Messages",
2936 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2938 "filename": "server/api/chatMessage/index.js",
2939 "groupTitle": "Chat_Messages"
2943 "url": "/api/chat/messages/{id}",
2944 "title": "Update an existing Message",
2947 "title": "Example usage:",
2948 "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",
2952 "name": "updateMessages",
2953 "group": "Chat_Messages",
2954 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2956 "filename": "server/api/chatMessage/index.js",
2957 "groupTitle": "Chat_Messages"
2961 "url": "/api/chat/offline_messages",
2962 "title": "Creates a new OfflineMessage",
2965 "title": "Example usage:",
2966 "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",
2970 "name": "CreateOfflineMessages",
2971 "group": "Chat_Offline_Messages",
2985 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
2987 "filename": "server/api/chatOfflineMessage/index.js",
2988 "groupTitle": "Chat_Offline_Messages"
2992 "url": "/api/chat/offline_messages/{id}",
2993 "title": "Deletes a OfflineMessage",
2996 "title": "Example usage:",
2997 "content": "curl https://{domain}/api/chat/offline_messages/{id} -v -u {name}:{password} -X DELETE",
3001 "name": "DeleteOfflineMessages",
3002 "group": "Chat_Offline_Messages",
3003 "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>",
3005 "filename": "server/api/chatOfflineMessage/index.js",
3006 "groupTitle": "Chat_Offline_Messages"
3010 "url": "/api/chat/offline_messages/describe",
3011 "title": "Gets table info about OfflineMessages",
3014 "title": "Example usage:",
3015 "content": "curl https://{domain}/api/chat/offline_messages/describe -v -u {name}:{password}",
3019 "name": "DescribeOfflineMessages",
3020 "group": "Chat_Offline_Messages",
3021 "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>",
3023 "filename": "server/api/chatOfflineMessage/index.js",
3024 "groupTitle": "Chat_Offline_Messages"
3028 "url": "/api/chat/offline_messages",
3029 "title": "Gets a list of OfflineMessages",
3032 "title": "Example usage:",
3033 "content": "curl https://{domain}/api/chat/offline_messages -v -u {name}:{password}",
3037 "name": "GetOfflineMessages",
3038 "group": "Chat_Offline_Messages",
3039 "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&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>",
3041 "filename": "server/api/chatOfflineMessage/index.js",
3042 "groupTitle": "Chat_Offline_Messages"
3046 "url": "/api/chat/offline_messages/{id}",
3047 "title": "Gets a single OfflineMessage",
3050 "title": "Example usage:",
3051 "content": "curl https://{domain}/api/chat/offline_messages/{id} -v -u {name}:{password}",
3055 "name": "ShowOfflineMessages",
3056 "group": "Chat_Offline_Messages",
3057 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3059 "filename": "server/api/chatOfflineMessage/index.js",
3060 "groupTitle": "Chat_Offline_Messages"
3064 "url": "/api/chat/offline_messages/{id}",
3065 "title": "Update an existing OfflineMessage",
3068 "title": "Example usage:",
3069 "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",
3073 "name": "updateOfflineMessages",
3074 "group": "Chat_Offline_Messages",
3075 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3077 "filename": "server/api/chatOfflineMessage/index.js",
3078 "groupTitle": "Chat_Offline_Messages"
3082 "url": "/api/chat/proactive_actions",
3083 "title": "Creates a new Proactive Action",
3086 "title": "Example usage:",
3087 "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",
3091 "name": "CreateProactive_Actions",
3092 "group": "Chat_Proactive_Actions",
3118 "field": "selector",
3131 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3133 "filename": "server/api/chatProactiveAction/index.js",
3134 "groupTitle": "Chat_Proactive_Actions"
3138 "url": "/api/chat/proactive_actions/{id}",
3139 "title": "Deletes a Proactive Action",
3142 "title": "Example usage:",
3143 "content": "curl https://{domain}/api/chat/proactive_actions/{id} -v -u {name}:{password} -X DELETE",
3147 "name": "DeleteProactive_Actions",
3148 "group": "Chat_Proactive_Actions",
3149 "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>",
3151 "filename": "server/api/chatProactiveAction/index.js",
3152 "groupTitle": "Chat_Proactive_Actions"
3156 "url": "/api/chat/proactive_actions/{id}",
3157 "title": "Gets a single Proactive Action",
3160 "title": "Example usage:",
3161 "content": "curl https://{domain}/api/chat/proactive_actions/{id} -v -u {name}:{password}",
3165 "name": "ShowProactive_Actions",
3166 "group": "Chat_Proactive_Actions",
3167 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3169 "filename": "server/api/chatProactiveAction/index.js",
3170 "groupTitle": "Chat_Proactive_Actions"
3174 "url": "/api/chat/proactive_actions/{id}",
3175 "title": "Update an existing Proactive Action",
3178 "title": "Example usage:",
3179 "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",
3183 "name": "updateProactive_Actions",
3184 "group": "Chat_Proactive_Actions",
3185 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3187 "filename": "server/api/chatProactiveAction/index.js",
3188 "groupTitle": "Chat_Proactive_Actions"
3192 "url": "/api/chat/reports/queue",
3193 "title": "Creates a new Chat Queue Report",
3196 "title": "Example usage:",
3197 "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",
3201 "name": "CreateChat_Queue_Reports",
3202 "group": "Chat_Queue_Reports",
3210 "field": "uniqueid",
3238 "field": "acceptAt",
3258 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3260 "filename": "server/api/chatQueueReport/index.js",
3261 "groupTitle": "Chat_Queue_Reports"
3265 "url": "/api/chat/reports/queue/{id}",
3266 "title": "Deletes a Chat Queue Report",
3269 "title": "Example usage:",
3270 "content": "curl https://{domain}/api/chat/reports/queue/{id} -v -u {name}:{password} -X DELETE",
3274 "name": "DeleteChat_Queue_Reports",
3275 "group": "Chat_Queue_Reports",
3276 "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>",
3278 "filename": "server/api/chatQueueReport/index.js",
3279 "groupTitle": "Chat_Queue_Reports"
3283 "url": "/api/chat/reports/queue/describe",
3284 "title": "Gets table info about Chat Queue Reports",
3287 "title": "Example usage:",
3288 "content": "curl https://{domain}/api/chat/reports/queue/describe -v -u {name}:{password}",
3292 "name": "DescribeChat_Queue_Reports",
3293 "group": "Chat_Queue_Reports",
3294 "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>",
3296 "filename": "server/api/chatQueueReport/index.js",
3297 "groupTitle": "Chat_Queue_Reports"
3301 "url": "/api/chat/reports/queue",
3302 "title": "Gets a list of Chat Queue Reports",
3305 "title": "Example usage:",
3306 "content": "curl https://{domain}/api/chat/reports/queue -v -u {name}:{password}",
3310 "name": "GetChat_Queue_Reports",
3311 "group": "Chat_Queue_Reports",
3312 "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&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>",
3314 "filename": "server/api/chatQueueReport/index.js",
3315 "groupTitle": "Chat_Queue_Reports"
3319 "url": "/api/chat/reports/queue/{id}",
3320 "title": "Gets a single Chat Queue Report",
3323 "title": "Example usage:",
3324 "content": "curl https://{domain}/api/chat/reports/queue/{id} -v -u {name}:{password}",
3328 "name": "ShowChat_Queue_Reports",
3329 "group": "Chat_Queue_Reports",
3330 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3332 "filename": "server/api/chatQueueReport/index.js",
3333 "groupTitle": "Chat_Queue_Reports"
3337 "url": "/api/chat/reports/queue/{id}",
3338 "title": "Update an existing Chat Queue Report",
3341 "title": "Example usage:",
3342 "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",
3346 "name": "updateChat_Queue_Reports",
3347 "group": "Chat_Queue_Reports",
3348 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3350 "filename": "server/api/chatQueueReport/index.js",
3351 "groupTitle": "Chat_Queue_Reports"
3355 "url": "/api/chat/queues/{id}/users",
3356 "title": "Add agents to a queue",
3359 "title": "Example usage:",
3360 "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",
3364 "name": "AddAgents",
3365 "group": "Chat_Queues",
3366 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3368 "filename": "server/api/chatQueue/index.js",
3369 "groupTitle": "Chat_Queues"
3373 "url": "/api/chat/queues/{id}/teams",
3374 "title": "Add teams to a queue",
3377 "title": "Example usage:",
3378 "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",
3383 "group": "Chat_Queues",
3384 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3386 "filename": "server/api/chatQueue/index.js",
3387 "groupTitle": "Chat_Queues"
3391 "url": "/api/chat/queues",
3392 "title": "Creates a new Queue",
3395 "title": "Example usage:",
3396 "content": "curl https://{domain}/api/chat/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
3400 "name": "CreateQueues",
3401 "group": "Chat_Queues",
3416 "field": "description",
3435 "field": "strategy",
3441 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3443 "filename": "server/api/chatQueue/index.js",
3444 "groupTitle": "Chat_Queues"
3448 "url": "/api/chat/queues/{id}",
3449 "title": "Deletes a Queue",
3452 "title": "Example usage:",
3453 "content": "curl https://{domain}/api/chat/queues/{id} -v -u {name}:{password} -X DELETE",
3457 "name": "DeleteQueues",
3458 "group": "Chat_Queues",
3459 "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>",
3461 "filename": "server/api/chatQueue/index.js",
3462 "groupTitle": "Chat_Queues"
3466 "url": "/api/chat/queues/describe",
3467 "title": "Gets table info about Queues",
3470 "title": "Example usage:",
3471 "content": "curl https://{domain}/api/chat/queues/describe -v -u {name}:{password}",
3475 "name": "DescribeQueues",
3476 "group": "Chat_Queues",
3477 "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>",
3479 "filename": "server/api/chatQueue/index.js",
3480 "groupTitle": "Chat_Queues"
3484 "url": "/api/chat/queues/{id}/users",
3485 "title": "Gets queue agents",
3488 "title": "Example usage:",
3489 "content": "curl https://{domain}/api/chat/queues/{id}/users -v -u {name}:{password} -X POST",
3493 "name": "GetAgents",
3494 "group": "Chat_Queues",
3495 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3497 "filename": "server/api/chatQueue/index.js",
3498 "groupTitle": "Chat_Queues"
3502 "url": "/api/chat/queues/{id}/members",
3503 "title": "GetMembers",
3506 "title": "Example usage:",
3507 "content": "curl https://{domain}/api/chat/queues/{id}/members -v -u {name}:{password}",
3511 "name": "GetMembers",
3512 "group": "Chat_Queues",
3513 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3515 "filename": "server/api/chatQueue/index.js",
3516 "groupTitle": "Chat_Queues"
3520 "url": "/api/chat/queues",
3521 "title": "Gets a list of Queues",
3524 "title": "Example usage:",
3525 "content": "curl https://{domain}/api/chat/queues -v -u {name}:{password}",
3529 "name": "GetQueues",
3530 "group": "Chat_Queues",
3531 "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&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>",
3533 "filename": "server/api/chatQueue/index.js",
3534 "groupTitle": "Chat_Queues"
3538 "url": "/api/chat/queues/{id}/teams",
3539 "title": "Gets queues list",
3542 "title": "Example usage:",
3543 "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password}",
3548 "group": "Chat_Queues",
3549 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3551 "filename": "server/api/chatQueue/index.js",
3552 "groupTitle": "Chat_Queues"
3556 "url": "/api/chat/queues/{id}/users",
3557 "title": "Removes agents from a queue",
3560 "title": "Example usage:",
3561 "content": "curl https://{domain}/api/chat/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
3565 "name": "RemoveAgents",
3566 "group": "Chat_Queues",
3567 "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>",
3569 "filename": "server/api/chatQueue/index.js",
3570 "groupTitle": "Chat_Queues"
3574 "url": "/api/chat/queues/{id}",
3575 "title": "Gets a single Queue",
3578 "title": "Example usage:",
3579 "content": "curl https://{domain}/api/chat/queues/{id} -v -u {name}:{password}",
3583 "name": "ShowQueues",
3584 "group": "Chat_Queues",
3585 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3587 "filename": "server/api/chatQueue/index.js",
3588 "groupTitle": "Chat_Queues"
3592 "url": "/api/chat/queues/{id}",
3593 "title": "Update an existing Queue",
3596 "title": "Example usage:",
3597 "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",
3601 "name": "updateQueues",
3602 "group": "Chat_Queues",
3603 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3605 "filename": "server/api/chatQueue/index.js",
3606 "groupTitle": "Chat_Queues"
3610 "url": "/api/chat/reports/transfer",
3611 "title": "Creates a new Chat Transfer Report",
3614 "title": "Example usage:",
3615 "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",
3619 "name": "CreateChat_Transfer_Reports",
3620 "group": "Chat_Transfer_Reports",
3628 "field": "uniqueid",
3647 "field": "transferredAt",
3653 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3655 "filename": "server/api/chatTransferReport/index.js",
3656 "groupTitle": "Chat_Transfer_Reports"
3660 "url": "/api/chat/reports/transfer/{id}",
3661 "title": "Deletes a Chat Transfer Report",
3664 "title": "Example usage:",
3665 "content": "curl https://{domain}/api/chat/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
3669 "name": "DeleteChat_Transfer_Reports",
3670 "group": "Chat_Transfer_Reports",
3671 "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>",
3673 "filename": "server/api/chatTransferReport/index.js",
3674 "groupTitle": "Chat_Transfer_Reports"
3678 "url": "/api/chat/reports/transfer/describe",
3679 "title": "Gets table info about Chat Transfer Reports",
3682 "title": "Example usage:",
3683 "content": "curl https://{domain}/api/chat/reports/transfer/describe -v -u {name}:{password}",
3687 "name": "DescribeChat_Transfer_Reports",
3688 "group": "Chat_Transfer_Reports",
3689 "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>",
3691 "filename": "server/api/chatTransferReport/index.js",
3692 "groupTitle": "Chat_Transfer_Reports"
3696 "url": "/api/chat/reports/transfer",
3697 "title": "Gets a list of Chat Transfer Reports",
3700 "title": "Example usage:",
3701 "content": "curl https://{domain}/api/chat/reports/transfer -v -u {name}:{password}",
3705 "name": "GetChat_Transfer_Reports",
3706 "group": "Chat_Transfer_Reports",
3707 "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&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>",
3709 "filename": "server/api/chatTransferReport/index.js",
3710 "groupTitle": "Chat_Transfer_Reports"
3714 "url": "/api/chat/reports/transfer/{id}",
3715 "title": "Gets a single Chat Transfer Report",
3718 "title": "Example usage:",
3719 "content": "curl https://{domain}/api/chat/reports/transfer/{id} -v -u {name}:{password}",
3723 "name": "ShowChat_Transfer_Reports",
3724 "group": "Chat_Transfer_Reports",
3725 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3727 "filename": "server/api/chatTransferReport/index.js",
3728 "groupTitle": "Chat_Transfer_Reports"
3732 "url": "/api/chat/reports/transfer/{id}",
3733 "title": "Update an existing Chat Transfer Report",
3736 "title": "Example usage:",
3737 "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",
3741 "name": "updateChat_Transfer_Reports",
3742 "group": "Chat_Transfer_Reports",
3743 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3745 "filename": "server/api/chatTransferReport/index.js",
3746 "groupTitle": "Chat_Transfer_Reports"
3750 "url": "/api/chat/websites/{id}/users",
3751 "title": "Add agents to a website",
3754 "title": "Example usage:",
3755 "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",
3759 "name": "AddAgents",
3760 "group": "Chat_Websites",
3761 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
3763 "filename": "server/api/chatWebsite/index.js",
3764 "groupTitle": "Chat_Websites"
3768 "url": "/api/chat/websites",
3769 "title": "Creates a new Website",
3772 "title": "Example usage:",
3773 "content": "curl https://{domain}/api/chat/websites -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
3777 "name": "CreateWebsites",
3778 "group": "Chat_Websites",
3800 "field": "description",
3814 "field": "mapKeyOffline",
3828 "field": "agentAlias",
3835 "field": "customerAlias",
3849 "field": "color_button",
3856 "field": "textColor",
3863 "field": "fontSize",
3877 "field": "animation",
3888 "field": "header_shape",
3895 "field": "header_online",
3902 "field": "start_chat_button",
3909 "field": "offline_chat_button",
3916 "field": "header_offline",
3923 "field": "download_transcript",
3937 "field": "whiteLabel",
3944 "field": "defaultWhiteLabel",
3958 "field": "closingQuestion",
3965 "field": "formSubmitSuccessMessage",
3972 "field": "formSubmitFailureMessage",
3979 "field": "noteTitle",
3986 "field": "placeholderMessage",
3993 "field": "closingMessage",
4000 "field": "closingMessageButton",
4007 "field": "skipMessageButton",
4014 "field": "conditionAgreement",
4021 "field": "enableRating",
4028 "field": "enableFeedback",
4035 "field": "enableSendButton",
4042 "field": "feedbackTitle",
4053 "field": "ratingType",
4060 "field": "ratingStarsNumber",
4067 "field": "onlineForm",
4074 "field": "offlineForm",
4088 "field": "autoclose",
4095 "field": "enableCustomerWriting",
4102 "field": "forwardTranscript",
4109 "field": "forwardTranscriptMessage",
4116 "field": "forwardOffline",
4123 "field": "forwardOfflineAddress",
4130 "field": "waitingTitle",
4137 "field": "waitingMessage",
4144 "field": "offlineMessageSubject",
4151 "field": "offlineMessageBody",
4158 "field": "enableUnmanagedNote",
4165 "field": "unmanagedMessage",
4172 "field": "skipUnmanaged",
4179 "field": "sendUnmanaged",
4186 "field": "enableCustomerAttachment",
4193 "field": "enableCustomerCheckmarks",
4200 "field": "agentAvatar",
4207 "field": "showAgentAvatar",
4214 "field": "timezone",
4221 "field": "notificationTemplate",
4228 "field": "notificationSound",
4235 "field": "notificationShake",
4242 "field": "hideWhenOffline",
4249 "field": "agentIdentifier",
4256 "field": "waitForTheAssignedAgent",
4263 "field": "alignment",
4270 "field": "verticalAlignment",
4277 "field": "messagesAlignment",
4284 "field": "defaultTitle",
4291 "field": "customerAvatar",
4298 "field": "showCustomerAvatar",
4305 "field": "messageFontSize",
4312 "field": "backgroundColor",
4319 "field": "queueTransfer",
4326 "field": "queueTransferTimeout",
4333 "field": "agentTransfer",
4340 "field": "agentTransferTimeout",
4347 "field": "systemAlias",
4354 "field": "systemAvatar",
4361 "field": "mandatoryDispositionPauseId",
4362 "description": "<p>Status to put when mandatory disposition is enabled</p>"
4368 "field": "mandatoryDisposition",
4369 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
4375 "field": "vidaooEscalation",
4382 "field": "vidaooApiKey",
4389 "field": "vidaooTopic",
4396 "field": "vidaooNote",
4403 "field": "vidaooMetadata",
4410 "field": "openNewInteraction",
4417 "field": "subjectOffline",
4423 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4425 "filename": "server/api/chatWebsite/index.js",
4426 "groupTitle": "Chat_Websites"
4430 "url": "/api/chat/websites/{id}",
4431 "title": "Deletes a Website",
4434 "title": "Example usage:",
4435 "content": "curl https://{domain}/api/chat/websites/{id} -v -u {name}:{password} -X DELETE",
4439 "name": "DeleteWebsites",
4440 "group": "Chat_Websites",
4441 "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>",
4443 "filename": "server/api/chatWebsite/index.js",
4444 "groupTitle": "Chat_Websites"
4448 "url": "/api/chat/websites/describe",
4449 "title": "Gets table info about Websites",
4452 "title": "Example usage:",
4453 "content": "curl https://{domain}/api/chat/websites/describe -v -u {name}:{password}",
4457 "name": "DescribeWebsites",
4458 "group": "Chat_Websites",
4459 "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>",
4461 "filename": "server/api/chatWebsite/index.js",
4462 "groupTitle": "Chat_Websites"
4466 "url": "/api/chat/websites/{id}/users",
4467 "title": "Gets agents from website",
4470 "title": "Example usage:",
4471 "content": "curl https://{domain}/api/chat/websites/{id}/users -v -u {name}:{password} -X GET",
4475 "name": "GetAgents",
4476 "group": "Chat_Websites",
4477 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4479 "filename": "server/api/chatWebsite/index.js",
4480 "groupTitle": "Chat_Websites"
4484 "url": "/api/chat/websites",
4485 "title": "Gets a list of Websites",
4488 "title": "Example usage:",
4489 "content": "curl https://{domain}/api/chat/websites -v -u {name}:{password}",
4493 "name": "GetWebsites",
4494 "group": "Chat_Websites",
4495 "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&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>",
4497 "filename": "server/api/chatWebsite/index.js",
4498 "groupTitle": "Chat_Websites"
4502 "url": "/api/chat/websites/{id}/users",
4503 "title": "Removes agents from a website",
4506 "title": "Example usage:",
4507 "content": "curl https://{domain}/api/chat/websites/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
4511 "name": "RemoveAgents",
4512 "group": "Chat_Websites",
4513 "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>",
4515 "filename": "server/api/chatWebsite/index.js",
4516 "groupTitle": "Chat_Websites"
4520 "url": "/api/chat/websites/{id}/canned_answers",
4521 "title": "Removes canned answers from account",
4524 "title": "Example usage:",
4525 "content": "curl https://{domain}/api/chat/websites/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
4529 "name": "RemoveAnswers",
4530 "group": "Chat_Websites",
4531 "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>",
4533 "filename": "server/api/chatWebsite/index.js",
4534 "groupTitle": "Chat_Websites"
4538 "url": "/api/chat/websites/{id}/dispositions",
4539 "title": "Removes canned answers from account",
4542 "title": "Example usage:",
4543 "content": "curl https://{domain}/api/chat/websites/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
4547 "name": "RemoveDispositions",
4548 "group": "Chat_Websites",
4549 "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>",
4551 "filename": "server/api/chatWebsite/index.js",
4552 "groupTitle": "Chat_Websites"
4556 "url": "/api/chat/websites/{id}",
4557 "title": "Gets a single Website",
4560 "title": "Example usage:",
4561 "content": "curl https://{domain}/api/chat/websites/{id} -v -u {name}:{password}",
4565 "name": "ShowWebsites",
4566 "group": "Chat_Websites",
4567 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4569 "filename": "server/api/chatWebsite/index.js",
4570 "groupTitle": "Chat_Websites"
4574 "url": "/api/chat/messages/{id}/accept",
4575 "title": "Accepts message",
4578 "title": "Example usage:",
4579 "content": "curl https://{domain}/api/chat/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
4583 "name": "acceptMessage",
4584 "group": "Chat_Websites",
4585 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4587 "filename": "server/api/chatMessage/index.js",
4588 "groupTitle": "Chat_Websites"
4592 "url": "/api/chat/websites/{id}/canned_answers",
4593 "title": "Creates new canned answer",
4596 "title": "Example usage:",
4597 "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",
4601 "name": "addAnswer",
4602 "group": "Chat_Websites",
4624 "field": "description",
4637 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4639 "filename": "server/api/chatWebsite/index.js",
4640 "groupTitle": "Chat_Websites"
4644 "url": "/api/chat/websites/{id}/applications",
4645 "title": "Creates new applications",
4648 "title": "Example usage:",
4649 "content": "curl https://{domain}/api/chat/websites/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
4653 "name": "addApplications",
4654 "group": "Chat_Websites",
4662 "field": "priority",
4683 "field": "description",
4690 "field": "interval",
4696 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4698 "filename": "server/api/chatWebsite/index.js",
4699 "groupTitle": "Chat_Websites"
4703 "url": "/api/chat/websites/{id}/avatar",
4704 "title": "Add avatar",
4707 "title": "Example usage:",
4708 "content": "curl https://{domain}/api/chat/websites/{id}/avatar -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
4712 "name": "addAvatar",
4713 "group": "Chat_Websites",
4714 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4716 "filename": "server/api/chatWebsite/index.js",
4717 "groupTitle": "Chat_Websites"
4721 "url": "/api/chat/websites/{id}/customer_avatar",
4722 "title": "Add customer avatar",
4725 "title": "Example usage:",
4726 "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",
4730 "name": "addCustomerAvatar",
4731 "group": "Chat_Websites",
4732 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4734 "filename": "server/api/chatWebsite/index.js",
4735 "groupTitle": "Chat_Websites"
4739 "url": "/api/chat/websites/{id}/dispositions",
4740 "title": "Creates new disposition",
4743 "title": "Example usage:",
4744 "content": "curl https://{domain}/api/chat/websites/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
4748 "name": "addDisposition",
4749 "group": "Chat_Websites",
4776 "field": "description",
4782 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
4784 "filename": "server/api/chatWebsite/index.js",
4785 "groupTitle": "Chat_Websites"
4789 "url": "/api/chat/accounts/{id}/interactions",
4790 "title": "Creates new interactions",
4793 "title": "Example usage:",
4794 "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",
4798 "name": "addInteraction",
4799 "group": "Chat_Websites",
4814 "field": "ratingValue",
4825 "field": "ratingType",
4832 "field": "ratingMessage",
4839 "field": "pathTranscript",
4846 "field": "mailTranscript",
4853 "field": "closedAt",
4860 "field": "disposition",
4867 "field": "secondDisposition",
4874 "field": "thirdDisposition",
4888 "field": "browserName",
4895 "field": "browserVersion",
4909 "field": "osVersion",
4916 "field": "deviceModel",
4923 "field": "deviceVendor",
4930 "field": "deviceType",
4944 "field": "customerIp",
4951 "field": "formData",
4958 "field": "read1stAt",
4965 "field": "lastMsgAt",
4976 "field": "lastMsgDirection",
4983 "field": "closeReason",
4990 "field": "customerPort",
4997 "field": "vidaooSessionId",
5003 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5005 "filename": "server/api/chatWebsite/index.js",
5006 "groupTitle": "Chat_Websites"
5010 "url": "/api/chat/websites/{id}/logo",
5011 "title": "Add logo",
5014 "title": "Example usage:",
5015 "content": "curl https://{domain}/api/chat/websites/{id}/logo -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
5020 "group": "Chat_Websites",
5021 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5023 "filename": "server/api/chatWebsite/index.js",
5024 "groupTitle": "Chat_Websites"
5028 "url": "/api/chat/websites/{id}/proactive_actions",
5029 "title": "Creates new Proactive Actions",
5032 "title": "Example usage:",
5033 "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",
5037 "name": "addProactiveActions",
5038 "group": "Chat_Websites",
5064 "field": "selector",
5077 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5079 "filename": "server/api/chatWebsite/index.js",
5080 "groupTitle": "Chat_Websites"
5084 "url": "/api/chat/websites/{id}/system_avatar",
5085 "title": "Add system avatar",
5088 "title": "Example usage:",
5089 "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",
5093 "name": "addSystemAvatar",
5094 "group": "Chat_Websites",
5095 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5097 "filename": "server/api/chatWebsite/index.js",
5098 "groupTitle": "Chat_Websites"
5102 "url": "/api/chat/websites/{id}/canned_answers",
5103 "title": "Gets account canned answers",
5106 "title": "Example usage:",
5107 "content": "curl https://{domain}/api/chat/websites/{id}/canned_answers -v -u {name}:{password} -X GET",
5111 "name": "getAnswers",
5112 "group": "Chat_Websites",
5113 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5115 "filename": "server/api/chatWebsite/index.js",
5116 "groupTitle": "Chat_Websites"
5120 "url": "/api/chat/websites/{id}/applications",
5121 "title": "Gets Website Applications",
5124 "title": "Example usage:",
5125 "content": "curl https://{domain}/api/chat/websites/{id}/applications -v -u {name}:{password} -X GET",
5129 "name": "getApplications",
5130 "group": "Chat_Websites",
5131 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5133 "filename": "server/api/chatWebsite/index.js",
5134 "groupTitle": "Chat_Websites"
5138 "url": "/api/chat/websites/{id}/avatar",
5139 "title": "Get avatar",
5142 "title": "Example usage:",
5143 "content": "curl https://{domain}/api/chat/websites/{id}/avatar -v -u {name}:{password} -X GET",
5147 "name": "getAvatar",
5148 "group": "Chat_Websites",
5149 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5151 "filename": "server/api/chatWebsite/index.js",
5152 "groupTitle": "Chat_Websites"
5156 "url": "/api/chat/websites/{id}/customer_avatar",
5157 "title": "Get Customer Avatar",
5160 "title": "Example usage:",
5161 "content": "curl https://{domain}/api/chat/websites/{id}/customer_avatar -v -u {name}:{password} -X GET",
5165 "name": "getCustomerAvatar",
5166 "group": "Chat_Websites",
5167 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5169 "filename": "server/api/chatWebsite/index.js",
5170 "groupTitle": "Chat_Websites"
5174 "url": "/api/chat/websites/{id}/dispositions",
5175 "title": "Gets account dispositions",
5178 "title": "Example usage:",
5179 "content": "curl https://{domain}/api/chat/websites/{id}/dispositions -v -u {name}:{password} -X GET",
5183 "name": "getDispositions",
5184 "group": "Chat_Websites",
5185 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5187 "filename": "server/api/chatWebsite/index.js",
5188 "groupTitle": "Chat_Websites"
5192 "url": "/api/chat/websites/{id}/fields",
5193 "title": "Gets Website Fields",
5196 "title": "Example usage:",
5197 "content": "curl https://{domain}/api/chat/websites/{id}/fields -v -u {name}:{password} -X GET",
5201 "name": "getFields",
5202 "group": "Chat_Websites",
5203 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5205 "filename": "server/api/chatWebsite/index.js",
5206 "groupTitle": "Chat_Websites"
5210 "url": "/api/chat/websites/{id}/interactions",
5211 "title": "Gets Website Interactions",
5214 "title": "Example usage:",
5215 "content": "curl https://{domain}/api/chat/websites/{id}/interactions -v -u {name}:{password} -X GET",
5219 "name": "getInteraction",
5220 "group": "Chat_Websites",
5221 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5223 "filename": "server/api/chatWebsite/index.js",
5224 "groupTitle": "Chat_Websites"
5228 "url": "/api/chat/websites/{id}/logo",
5229 "title": "Get logo",
5232 "title": "Example usage:",
5233 "content": "curl https://{domain}/api/chat/websites/{id}/logo -v -u {name}:{password} -X GET",
5238 "group": "Chat_Websites",
5239 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5241 "filename": "server/api/chatWebsite/index.js",
5242 "groupTitle": "Chat_Websites"
5246 "url": "/api/chat/websites/{id}/offline_messages",
5247 "title": "Gets Website Offline Messages",
5250 "title": "Example usage:",
5251 "content": "curl https://{domain}/api/chat/websites/{id}/offline_messages -v -u {name}:{password} -X GET",
5255 "name": "getOfflineMessages",
5256 "group": "Chat_Websites",
5257 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5259 "filename": "server/api/chatWebsite/index.js",
5260 "groupTitle": "Chat_Websites"
5264 "url": "/api/chat/websites/{id}/proactive_actions",
5265 "title": "Gets Website Proactive Actions",
5268 "title": "Example usage:",
5269 "content": "curl https://{domain}/api/chat/websites/{id}/proactive_actions -v -u {name}:{password} -X GET",
5273 "name": "getProactiveActions",
5274 "group": "Chat_Websites",
5275 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5277 "filename": "server/api/chatWebsite/index.js",
5278 "groupTitle": "Chat_Websites"
5282 "url": "/api/chat/websites/{id}/snippet",
5283 "title": "Gets Website Snippet",
5286 "title": "Example usage:",
5287 "content": "curl https://{domain}/api/chat/websites/{id}/snippet -v -u {name}:{password} -X GET",
5291 "name": "getSnippet",
5292 "group": "Chat_Websites",
5293 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5295 "filename": "server/api/chatWebsite/index.js",
5296 "groupTitle": "Chat_Websites"
5300 "url": "/api/chat/websites/{id}/system_avatar",
5301 "title": "Get System Avatar",
5304 "title": "Example usage:",
5305 "content": "curl https://{domain}/api/chat/websites/{id}/system_avatar -v -u {name}:{password} -X GET",
5309 "name": "getSystemAvatar",
5310 "group": "Chat_Websites",
5311 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5313 "filename": "server/api/chatWebsite/index.js",
5314 "groupTitle": "Chat_Websites"
5318 "url": "/api/chat/websites/{id}/notify",
5319 "title": "Notify new message",
5322 "title": "Example usage:",
5323 "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",
5328 "group": "Chat_Websites",
5329 "description": "<p>Motion 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>",
5331 "filename": "server/api/chatWebsite/index.js",
5332 "groupTitle": "Chat_Websites"
5336 "url": "/api/chat/websites/{id}/offline",
5337 "title": "Offline message",
5340 "title": "Example usage:",
5341 "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",
5346 "group": "Chat_Websites",
5347 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5349 "filename": "server/api/chatWebsite/index.js",
5350 "groupTitle": "Chat_Websites"
5354 "url": "/api/chat/messages/{id}/reject",
5355 "title": "Rejects message",
5358 "title": "Example usage:",
5359 "content": "curl https://{domain}/api/chat/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
5363 "name": "rejectMessage",
5364 "group": "Chat_Websites",
5365 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5367 "filename": "server/api/chatMessage/index.js",
5368 "groupTitle": "Chat_Websites"
5372 "url": "/api/chat/websites/{id}",
5373 "title": "Update an existing Website",
5376 "title": "Example usage:",
5377 "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",
5381 "name": "updateWebsites",
5382 "group": "Chat_Websites",
5383 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5385 "filename": "server/api/chatWebsite/index.js",
5386 "groupTitle": "Chat_Websites"
5390 "url": "/api/cloudProviders",
5391 "title": "Creates a new CloudProvider",
5394 "title": "Example usage:",
5395 "content": "curl https://{domain}/api/cloudProviders -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
5399 "name": "CreateCloudProviders",
5400 "group": "CloudProviders",
5439 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5441 "filename": "server/api/cloudProvider/index.js",
5442 "groupTitle": "CloudProviders"
5446 "url": "/api/cloudProviders/{id}",
5447 "title": "Deletes a CloudProvider",
5450 "title": "Example usage:",
5451 "content": "curl https://{domain}/api/cloudProviders/{id} -v -u {name}:{password} -X DELETE",
5455 "name": "DeleteCloudProviders",
5456 "group": "CloudProviders",
5457 "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>",
5459 "filename": "server/api/cloudProvider/index.js",
5460 "groupTitle": "CloudProviders"
5464 "url": "/api/cloudProviders",
5465 "title": "Gets a list of CloudProviders",
5468 "title": "Example usage:",
5469 "content": "curl https://{domain}/api/cloudProviders -v -u {name}:{password}",
5473 "name": "GetCloudProviders",
5474 "group": "CloudProviders",
5475 "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&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>",
5477 "filename": "server/api/cloudProvider/index.js",
5478 "groupTitle": "CloudProviders"
5482 "url": "/api/cloudProviders/{id}",
5483 "title": "Gets a single CloudProvider",
5486 "title": "Example usage:",
5487 "content": "curl https://{domain}/api/cloudProviders/{id} -v -u {name}:{password}",
5491 "name": "ShowCloudProviders",
5492 "group": "CloudProviders",
5493 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5495 "filename": "server/api/cloudProvider/index.js",
5496 "groupTitle": "CloudProviders"
5500 "url": "/api/cloudProviders/{id}",
5501 "title": "Update an existing CloudProvider",
5504 "title": "Example usage:",
5505 "content": "curl https://{domain}/api/cloudProviders/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
5509 "name": "updateCloudProviders",
5510 "group": "CloudProviders",
5511 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5513 "filename": "server/api/cloudProvider/index.js",
5514 "groupTitle": "CloudProviders"
5518 "url": "/api/cm_contact_has_items",
5519 "title": "Creates a new CmContactHasItem",
5522 "title": "Example usage:",
5523 "content": "curl https://{domain}/api/cm_contact_has_items -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
5527 "name": "CreateCmContactHasItems",
5528 "group": "CmContactHasItems",
5536 "field": "CmContactId",
5550 "field": "ItemTypeId",
5557 "field": "ItemClass",
5571 "field": "description",
5577 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5579 "filename": "server/api/cmContactHasItem/index.js",
5580 "groupTitle": "CmContactHasItems"
5584 "url": "/api/cm_contact_has_items/{id}",
5585 "title": "Deletes a CmContactHasItem",
5588 "title": "Example usage:",
5589 "content": "curl https://{domain}/api/cm_contact_has_items/{id} -v -u {name}:{password} -X DELETE",
5593 "name": "DeleteCmContactHasItems",
5594 "group": "CmContactHasItems",
5595 "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>",
5597 "filename": "server/api/cmContactHasItem/index.js",
5598 "groupTitle": "CmContactHasItems"
5602 "url": "/api/cm_contact_has_items",
5603 "title": "Gets a list of CmContactHasItems",
5606 "title": "Example usage:",
5607 "content": "curl https://{domain}/api/cm_contact_has_items -v -u {name}:{password}",
5611 "name": "GetCmContactHasItems",
5612 "group": "CmContactHasItems",
5613 "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_contact_has_items?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_contact_has_items?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_contact_has_items?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_contact_has_items?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_contact_has_items?offset=5&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>",
5615 "filename": "server/api/cmContactHasItem/index.js",
5616 "groupTitle": "CmContactHasItems"
5620 "url": "/api/cm_contact_has_items/{id}",
5621 "title": "Gets a single CmContactHasItem",
5624 "title": "Example usage:",
5625 "content": "curl https://{domain}/api/cm_contact_has_items/{id} -v -u {name}:{password}",
5629 "name": "ShowCmContactHasItems",
5630 "group": "CmContactHasItems",
5631 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5633 "filename": "server/api/cmContactHasItem/index.js",
5634 "groupTitle": "CmContactHasItems"
5638 "url": "/api/cm_contact_has_items/{id}",
5639 "title": "Update an existing CmContactHasItem",
5642 "title": "Example usage:",
5643 "content": "curl https://{domain}/api/cm_contact_has_items/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
5647 "name": "updateCmContactHasItems",
5648 "group": "CmContactHasItems",
5649 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5651 "filename": "server/api/cmContactHasItem/index.js",
5652 "groupTitle": "CmContactHasItems"
5656 "url": "/api/cm_hopper_additional_phones",
5657 "title": "Creates a new CmHopperAdditionalPhone",
5660 "title": "Example usage:",
5661 "content": "curl https://{domain}/api/cm_hopper_additional_phones -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
5665 "name": "CreateCmHopperAdditionalPhones",
5666 "group": "CmHopperAdditionalPhones",
5674 "field": "CmHopperId",
5695 "field": "scheduledat",
5702 "field": "countbusyretry",
5709 "field": "countcongestionretry",
5716 "field": "countnoanswerretry",
5723 "field": "countnosuchnumberretry",
5730 "field": "countdropretry",
5737 "field": "countabandonedretry",
5744 "field": "countmachineretry",
5751 "field": "countagentrejectretry",
5757 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5759 "filename": "server/api/cmHopperAdditionalPhone/index.js",
5760 "groupTitle": "CmHopperAdditionalPhones"
5764 "url": "/api/cm_hopper_additional_phones/{id}",
5765 "title": "Deletes a CmHopperAdditionalPhone",
5768 "title": "Example usage:",
5769 "content": "curl https://{domain}/api/cm_hopper_additional_phones/{id} -v -u {name}:{password} -X DELETE",
5773 "name": "DeleteCmHopperAdditionalPhones",
5774 "group": "CmHopperAdditionalPhones",
5775 "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>",
5777 "filename": "server/api/cmHopperAdditionalPhone/index.js",
5778 "groupTitle": "CmHopperAdditionalPhones"
5782 "url": "/api/cm_hopper_additional_phones",
5783 "title": "Gets a list of CmHopperAdditionalPhones",
5786 "title": "Example usage:",
5787 "content": "curl https://{domain}/api/cm_hopper_additional_phones -v -u {name}:{password}",
5791 "name": "GetCmHopperAdditionalPhones",
5792 "group": "CmHopperAdditionalPhones",
5793 "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_additional_phones?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_additional_phones?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_additional_phones?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_additional_phones?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_additional_phones?offset=5&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>",
5795 "filename": "server/api/cmHopperAdditionalPhone/index.js",
5796 "groupTitle": "CmHopperAdditionalPhones"
5800 "url": "/api/cm_hopper_additional_phones/{id}",
5801 "title": "Gets a single CmHopperAdditionalPhone",
5804 "title": "Example usage:",
5805 "content": "curl https://{domain}/api/cm_hopper_additional_phones/{id} -v -u {name}:{password}",
5809 "name": "ShowCmHopperAdditionalPhones",
5810 "group": "CmHopperAdditionalPhones",
5811 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5813 "filename": "server/api/cmHopperAdditionalPhone/index.js",
5814 "groupTitle": "CmHopperAdditionalPhones"
5818 "url": "/api/cm_hopper_additional_phones/{id}",
5819 "title": "Update an existing CmHopperAdditionalPhone",
5822 "title": "Example usage:",
5823 "content": "curl https://{domain}/api/cm_hopper_additional_phones/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
5827 "name": "updateCmHopperAdditionalPhones",
5828 "group": "CmHopperAdditionalPhones",
5829 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5831 "filename": "server/api/cmHopperAdditionalPhone/index.js",
5832 "groupTitle": "CmHopperAdditionalPhones"
5836 "url": "/api/cm/companies",
5837 "title": "Creates a new Company",
5840 "title": "Example usage:",
5841 "content": "curl https://{domain}/api/cm/companies -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
5845 "name": "CreateCompanies",
5846 "group": "Cm_Companies",
5868 "field": "companyId",
5910 "field": "postalCode",
5938 "field": "emailDomain",
5952 "field": "sPostalCode",
5966 "field": "sCountry",
5973 "field": "description",
5979 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
5981 "filename": "server/api/cmCompany/index.js",
5982 "groupTitle": "Cm_Companies"
5986 "url": "/api/cm/companies/{id}",
5987 "title": "Deletes a Company",
5990 "title": "Example usage:",
5991 "content": "curl https://{domain}/api/cm/companies/{id} -v -u {name}:{password} -X DELETE",
5995 "name": "DeleteCompanies",
5996 "group": "Cm_Companies",
5997 "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>",
5999 "filename": "server/api/cmCompany/index.js",
6000 "groupTitle": "Cm_Companies"
6004 "url": "/api/cm/companies/describe",
6005 "title": "Gets table info about Companies",
6008 "title": "Example usage:",
6009 "content": "curl https://{domain}/api/cm/companies/describe -v -u {name}:{password}",
6013 "name": "DescribeCompanies",
6014 "group": "Cm_Companies",
6015 "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>",
6017 "filename": "server/api/cmCompany/index.js",
6018 "groupTitle": "Cm_Companies"
6022 "url": "/api/cm/companies",
6023 "title": "Gets a list of Companies",
6026 "title": "Example usage:",
6027 "content": "curl https://{domain}/api/cm/companies -v -u {name}:{password}",
6031 "name": "GetCompanies",
6032 "group": "Cm_Companies",
6033 "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&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>",
6035 "filename": "server/api/cmCompany/index.js",
6036 "groupTitle": "Cm_Companies"
6040 "url": "/api/cm/companies/{id}",
6041 "title": "Gets a single Company",
6044 "title": "Example usage:",
6045 "content": "curl https://{domain}/api/cm/companies/{id} -v -u {name}:{password}",
6049 "name": "ShowCompanies",
6050 "group": "Cm_Companies",
6051 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6053 "filename": "server/api/cmCompany/index.js",
6054 "groupTitle": "Cm_Companies"
6058 "url": "/api/cm/companies/{id}/contacts",
6059 "title": "Creates new contacts",
6062 "title": "Example usage:",
6063 "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",
6067 "name": "addContacts",
6068 "group": "Cm_Companies",
6076 "field": "firstName",
6083 "field": "lastName",
6097 "field": "postalCode",
6118 "field": "dateOfBirth",
6125 "field": "description",
6167 "field": "facebook",
6223 "field": "telegram",
6237 "field": "AdditionalPhones",
6244 "field": "priority",
6251 "field": "scheduledat",
6257 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6259 "filename": "server/api/cmCompany/index.js",
6260 "groupTitle": "Cm_Companies"
6264 "url": "/api/cm/companies/{id}/contacts",
6265 "title": "Gets List Contacts",
6268 "title": "Example usage:",
6269 "content": "curl https://{domain}/api/fax/companies/{id}/contacts -v -u {name}:{password} -X GET",
6273 "name": "getContacts",
6274 "group": "Cm_Companies",
6275 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6277 "filename": "server/api/cmCompany/index.js",
6278 "groupTitle": "Cm_Companies"
6282 "url": "/api/cm/companies/{id}",
6283 "title": "Update an existing Company",
6286 "title": "Example usage:",
6287 "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",
6291 "name": "updateCompanies",
6292 "group": "Cm_Companies",
6293 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6295 "filename": "server/api/cmCompany/index.js",
6296 "groupTitle": "Cm_Companies"
6300 "url": "/api/cm/contacts/{id}",
6301 "title": "Deletes a Contact",
6304 "title": "Example usage:",
6305 "content": "curl https://{domain}/api/cm/contacts/{id} -v -u {name}:{password} -X DELETE",
6309 "name": "DeleteContacts",
6310 "group": "Cm_Contacts",
6311 "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>",
6313 "filename": "server/api/cmContact/index.js",
6314 "groupTitle": "Cm_Contacts"
6318 "url": "/api/cm/contacts/describe",
6319 "title": "Gets table info about Contacts",
6322 "title": "Example usage:",
6323 "content": "curl https://{domain}/api/cm/contacts/describe -v -u {name}:{password}",
6327 "name": "DescribeContacts",
6328 "group": "Cm_Contacts",
6329 "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>",
6331 "filename": "server/api/cmContact/index.js",
6332 "groupTitle": "Cm_Contacts"
6336 "url": "/api/cm/contacts",
6337 "title": "Gets a list of Contacts",
6340 "title": "Example usage:",
6341 "content": "curl https://{domain}/api/cm/contacts -v -u {name}:{password}",
6345 "name": "GetContacts",
6346 "group": "Cm_Contacts",
6347 "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&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>",
6349 "filename": "server/api/cmContact/index.js",
6350 "groupTitle": "Cm_Contacts"
6354 "url": "/api/cm/contacts/{id}/finals",
6355 "title": "Gets contact hopper finals",
6358 "title": "Example usage:",
6359 "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_finals -v -u {name}:{password} -X GET",
6363 "name": "GetHopperFinals",
6364 "group": "Cm_Contacts",
6365 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6367 "filename": "server/api/cmContact/index.js",
6368 "groupTitle": "Cm_Contacts"
6372 "url": "/api/cm/contacts/{id}/hopper_histories",
6373 "title": "Gets contact hopper histories",
6376 "title": "Example usage:",
6377 "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_histories -v -u {name}:{password} -X GET",
6381 "name": "GetHopperHistories",
6382 "group": "Cm_Contacts",
6383 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6385 "filename": "server/api/cmContact/index.js",
6386 "groupTitle": "Cm_Contacts"
6390 "url": "/api/cm/contacts/{id}/hoppers",
6391 "title": "Gets contact hoppers",
6394 "title": "Example usage:",
6395 "content": "curl https://{domain}/api/cm/contacts/{id}/hoppers -v -u {name}:{password} -X GET",
6399 "name": "GetHoppers",
6400 "group": "Cm_Contacts",
6401 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6403 "filename": "server/api/cmContact/index.js",
6404 "groupTitle": "Cm_Contacts"
6408 "url": "/api/cm/contacts/create_many",
6409 "title": "Create Contacts",
6412 "title": "Example usage:",
6413 "content": "curl https://{domain}/api/cm/contacts/create_many -d '[{\"firstName\": \"John\", \"lastName\": \"doe\", \"...\": \"...\"}]' -v -u {name}:{password} -X POST",
6417 "name": "bulkCreate",
6418 "group": "Cm_Contacts",
6419 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6421 "filename": "server/api/cmContact/index.js",
6422 "groupTitle": "Cm_Contacts"
6426 "url": "/api/cm/contacts",
6427 "title": "Create Contact",
6430 "title": "Example usage:",
6431 "content": "curl https://{domain}/api/cm/contacts -d '{\"firstName\": \"John\", \"lastName\": \"doe\", \"...\": \"...\"}' -v -u {name}:{password} -X POST",
6436 "group": "Cm_Contacts",
6437 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6439 "filename": "server/api/cmContact/index.js",
6440 "groupTitle": "Cm_Contacts"
6444 "url": "/api/cm/contacts/{id}/duplicatePhones",
6445 "title": "Sets new contact additional phones",
6448 "title": "Example usage:",
6449 "content": "curl https://{domain}/api/cm/contacts/{id}/duplicateAdditionalPhones -d '{\"phones\": [p1,p2]}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6453 "name": "duplicateAdditionalPhones",
6454 "group": "Cm_Contacts",
6455 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6457 "filename": "server/api/cmContact/index.js",
6458 "groupTitle": "Cm_Contacts"
6462 "url": "/api/cm/contacts/{id}/phones",
6463 "title": "Gets contact phones",
6466 "title": "Example usage:",
6467 "content": "curl https://{domain}/api/cm/contacts/{id}/phones -v -u {name}:{password} -X GET",
6471 "name": "getAdditionalPhones",
6472 "group": "Cm_Contacts",
6473 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6475 "filename": "server/api/cmContact/index.js",
6476 "groupTitle": "Cm_Contacts"
6480 "url": "/api/cm/contacts/{id}/journey",
6481 "title": "Gets customer journey",
6484 "title": "Example usage:",
6485 "content": "curl https://{domain}/api/cm/contacts/{id}/journey -v -u {name}:{password} -X GET",
6489 "name": "getJourney",
6490 "group": "Cm_Contacts",
6491 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6493 "filename": "server/api/cmContact/index.js",
6494 "groupTitle": "Cm_Contacts"
6498 "url": "/api/cm/contacts/{id}/jscripty_sessions",
6499 "title": "Gets contact hopper blacks",
6502 "title": "Example usage:",
6503 "content": "curl https://{domain}/api/cm/contacts/{id}/hopper_black -v -u {name}:{password} -X GET",
6507 "name": "getJscriptySessions",
6508 "group": "Cm_Contacts",
6509 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6511 "filename": "server/api/cmContact/index.js",
6512 "groupTitle": "Cm_Contacts"
6516 "url": "/api/cm/contacts/{id}/tags",
6517 "title": "Gets configurations tags",
6520 "title": "Example usage:",
6521 "content": "curl https://{domain}/api/cm/contacts/{id}/tags -v -u {name}:{password} -X GET",
6526 "group": "Cm_Contacts",
6527 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6529 "filename": "server/api/cmContact/index.js",
6530 "groupTitle": "Cm_Contacts"
6534 "url": "/api/cm/contacts/merge",
6535 "title": "Merge Contact",
6538 "title": "Example usage:",
6539 "content": "curl https://{domain}/api/cm/contacts/merge -d '{\"from\": 1, \"to\": 2}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6544 "group": "Cm_Contacts",
6545 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6547 "filename": "server/api/cmContact/index.js",
6548 "groupTitle": "Cm_Contacts"
6552 "url": "/api/cm/contacts/{id}/rescheduleAdditionalPhones",
6553 "title": "Sets new contact additional phones",
6556 "title": "Example usage:",
6557 "content": "curl https://{domain}/api/cm/contacts/{id}/rescheduleAdditionalPhones -d '{\"phones\": [p1,p2]}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6561 "name": "rescheduleAdditionalPhones",
6562 "group": "Cm_Contacts",
6563 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6565 "filename": "server/api/cmContact/index.js",
6566 "groupTitle": "Cm_Contacts"
6570 "url": "/api/cm/contacts/{id}/phones",
6571 "title": "Sets new contact phones",
6574 "title": "Example usage:",
6575 "content": "curl https://{domain}/api/cm/contacts/{id}/phones -d '{\"phones\": [p1,p2]}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6579 "name": "setAdditionalPhones",
6580 "group": "Cm_Contacts",
6581 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6583 "filename": "server/api/cmContact/index.js",
6584 "groupTitle": "Cm_Contacts"
6588 "url": "/api/cm/contacts/{id}/tags",
6589 "title": "Sets new tags",
6592 "title": "Example usage:",
6593 "content": "curl https://{domain}/api/cm/contacts/{id}/tags -d '{\"ids\": [1,12]}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
6598 "group": "Cm_Contacts",
6599 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6601 "filename": "server/api/cmContact/index.js",
6602 "groupTitle": "Cm_Contacts"
6606 "url": "/api/cm/contacts/{id}",
6607 "title": "Gets a single Contact",
6610 "title": "Example usage:",
6611 "content": "curl https://{domain}/api/cm/contacts/{id} -v -u {name}:{password} -X GET",
6616 "group": "Cm_Contacts",
6617 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6619 "filename": "server/api/cmContact/index.js",
6620 "groupTitle": "Cm_Contacts"
6624 "url": "/api/cm/contacts/{id}",
6625 "title": "Update a single Contact",
6628 "title": "Example usage:",
6629 "content": "curl https://{domain}/api/cm/contacts/{id} -d '{\"firstName\": \"John\", \"lastName\": \"Doe\"}' -v -u {name}:{password} -X PUT",
6634 "group": "Cm_Contacts",
6635 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6637 "filename": "server/api/cmContact/index.js",
6638 "groupTitle": "Cm_Contacts"
6642 "url": "/api/cm/custom_fields/{id}",
6643 "title": "Deletes a Custom Field",
6646 "title": "Example usage:",
6647 "content": "curl https://{domain}/api/cm/custom_fields/{id} -v -u {name}:{password} -X DELETE",
6651 "name": "DeleteCustom_Fields",
6652 "group": "Cm_Custom_Fields",
6653 "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>",
6655 "filename": "server/api/cmCustomField/index.js",
6656 "groupTitle": "Cm_Custom_Fields"
6660 "url": "/api/cm/custom_fields",
6661 "title": "Gets a list of Custom Fields",
6664 "title": "Example usage:",
6665 "content": "curl https://{domain}/api/cm/custom_fields -v -u {name}:{password}",
6669 "name": "GetCustom_Fields",
6670 "group": "Cm_Custom_Fields",
6671 "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&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>",
6673 "filename": "server/api/cmCustomField/index.js",
6674 "groupTitle": "Cm_Custom_Fields"
6678 "url": "/api/cm/custom_fields/{id}",
6679 "title": "Gets a single Custom Field",
6682 "title": "Example usage:",
6683 "content": "curl https://{domain}/api/cm/custom_fields/{id} -v -u {name}:{password}",
6687 "name": "ShowCustom_Fields",
6688 "group": "Cm_Custom_Fields",
6689 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6691 "filename": "server/api/cmCustomField/index.js",
6692 "groupTitle": "Cm_Custom_Fields"
6696 "url": "/api/cm/custom_fields/{id}",
6697 "title": "Update an existing Custom Field",
6700 "title": "Example usage:",
6701 "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",
6705 "name": "updateCustom_Fields",
6706 "group": "Cm_Custom_Fields",
6707 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6709 "filename": "server/api/cmCustomField/index.js",
6710 "groupTitle": "Cm_Custom_Fields"
6714 "url": "/api/cm/hopper",
6715 "title": "Creates a new Hopper",
6718 "title": "Example usage:",
6719 "content": "curl https://{domain}/api/cm/hopper -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
6723 "name": "CreateHopper",
6724 "group": "Cm_Hopper",
6746 "field": "scheduledat",
6753 "field": "countbusyretry",
6760 "field": "countcongestionretry",
6767 "field": "countnoanswerretry",
6774 "field": "callback",
6781 "field": "callbackuniqueid",
6788 "field": "callbackat",
6795 "field": "priority",
6802 "field": "recallme",
6809 "field": "ContactId",
6830 "field": "VoiceQueueId",
6837 "field": "CampaignId",
6844 "field": "countnosuchnumberretry",
6851 "field": "countdropretry",
6858 "field": "countabandonedretry",
6865 "field": "countmachineretry",
6872 "field": "countagentrejectretry",
6885 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6887 "filename": "server/api/cmHopper/index.js",
6888 "groupTitle": "Cm_Hopper"
6892 "url": "/api/cm/hopper/describe",
6893 "title": "Gets table info about Hopper",
6896 "title": "Example usage:",
6897 "content": "curl https://{domain}/api/cm/hopper/describe -v -u {name}:{password}",
6901 "name": "DescribeHopper",
6902 "group": "Cm_Hopper",
6903 "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>",
6905 "filename": "server/api/cmHopper/index.js",
6906 "groupTitle": "Cm_Hopper"
6910 "url": "/api/cm/hopper",
6911 "title": "Gets a list of Hopper",
6914 "title": "Example usage:",
6915 "content": "curl https://{domain}/api/cm/hopper -v -u {name}:{password}",
6919 "name": "GetHopper",
6920 "group": "Cm_Hopper",
6921 "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&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>",
6923 "filename": "server/api/cmHopper/index.js",
6924 "groupTitle": "Cm_Hopper"
6928 "url": "/api/cm/hopper/{id}",
6929 "title": "Gets a single Hopper",
6932 "title": "Example usage:",
6933 "content": "curl https://{domain}/api/cm/hopper/{id} -v -u {name}:{password}",
6937 "name": "ShowHopper",
6938 "group": "Cm_Hopper",
6939 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
6941 "filename": "server/api/cmHopper/index.js",
6942 "groupTitle": "Cm_Hopper"
6946 "url": "/api/cm/hopper_black/{id}",
6947 "title": "Deletes a Hopper Black",
6950 "title": "Example usage:",
6951 "content": "curl https://{domain}/api/cm/hopper_black/{id} -v -u {name}:{password} -X DELETE",
6955 "name": "DeleteHopper_Black",
6956 "group": "Cm_Hopper_Black",
6957 "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>",
6959 "filename": "server/api/cmHopperBlack/index.js",
6960 "groupTitle": "Cm_Hopper_Black"
6964 "url": "/api/cm/hopper_black/describe",
6965 "title": "Gets table info about Hopper Black",
6968 "title": "Example usage:",
6969 "content": "curl https://{domain}/api/cm/hopper_black/describe -v -u {name}:{password}",
6973 "name": "DescribeHopper_Black",
6974 "group": "Cm_Hopper_Black",
6975 "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>",
6977 "filename": "server/api/cmHopperBlack/index.js",
6978 "groupTitle": "Cm_Hopper_Black"
6982 "url": "/api/cm/hopper_black",
6983 "title": "Gets a list of Hopper Black",
6986 "title": "Example usage:",
6987 "content": "curl https://{domain}/api/cm/hopper_black -v -u {name}:{password}",
6991 "name": "GetHopper_Black",
6992 "group": "Cm_Hopper_Black",
6993 "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&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>",
6995 "filename": "server/api/cmHopperBlack/index.js",
6996 "groupTitle": "Cm_Hopper_Black"
7000 "url": "/api/cm/hopper_black/{id}",
7001 "title": "Gets a single Hopper Black",
7004 "title": "Example usage:",
7005 "content": "curl https://{domain}/api/cm/hopper_black/{id} -v -u {name}:{password}",
7009 "name": "ShowHopper_Black",
7010 "group": "Cm_Hopper_Black",
7011 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7013 "filename": "server/api/cmHopperBlack/index.js",
7014 "groupTitle": "Cm_Hopper_Black"
7018 "url": "/api/cm/hopper_black/{id}",
7019 "title": "Update an existing Hopper Black",
7022 "title": "Example usage:",
7023 "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",
7027 "name": "updateHopper_Black",
7028 "group": "Cm_Hopper_Black",
7029 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7031 "filename": "server/api/cmHopperBlack/index.js",
7032 "groupTitle": "Cm_Hopper_Black"
7036 "url": "/api/cm/hopper_final/checkContactHopper",
7037 "title": "Check if contact is in hopper",
7040 "title": "Example usage:",
7041 "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",
7045 "name": "/checkContactHopper",
7046 "group": "Cm_Hopper_Final",
7047 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7049 "filename": "server/api/cmHopperFinal/index.js",
7050 "groupTitle": "Cm_Hopper_Final"
7054 "url": "/api/cm/hopper_final/describe",
7055 "title": "Gets table info about HopperFinal",
7058 "title": "Example usage:",
7059 "content": "curl https://{domain}/api/cm/hopper_final/describe -v -u {name}:{password}",
7063 "name": "DescribeHopperFinal",
7064 "group": "Cm_Hopper_Final",
7065 "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>",
7067 "filename": "server/api/cmHopperFinal/index.js",
7068 "groupTitle": "Cm_Hopper_Final"
7072 "url": "/api/cm/hopper_final",
7073 "title": "Gets a list of HopperFinal",
7076 "title": "Example usage:",
7077 "content": "curl https://{domain}/api/cm/hopper_final -v -u {name}:{password}",
7081 "name": "GetHopperFinal",
7082 "group": "Cm_Hopper_Final",
7083 "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&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>",
7085 "filename": "server/api/cmHopperFinal/index.js",
7086 "groupTitle": "Cm_Hopper_Final"
7090 "url": "/api/cm/hopper_final/{id}",
7091 "title": "Gets a single HopperFinal",
7094 "title": "Example usage:",
7095 "content": "curl https://{domain}/api/cm/hopper_final/{id} -v -u {name}:{password}",
7099 "name": "ShowHopperFinal",
7100 "group": "Cm_Hopper_Final",
7101 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7103 "filename": "server/api/cmHopperFinal/index.js",
7104 "groupTitle": "Cm_Hopper_Final"
7108 "url": "/api/cm/hopper_final/campaign/countAttributes/{id}",
7109 "title": "Return number contacts for attributes",
7112 "title": "Example usage:",
7113 "content": "curl https://{domain}/api/hopper_final/campaign/countAttributes/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X GET",
7117 "name": "countContactsIvrCampaignHopperFinal",
7118 "group": "Cm_Hopper_Final",
7119 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7121 "filename": "server/api/cmHopperFinal/index.js",
7122 "groupTitle": "Cm_Hopper_Final"
7126 "url": "/api/cm/hopper_final/voice/queue/countAttributes/{id}",
7127 "title": "Return number contacts for attributes",
7130 "title": "Example usage:",
7131 "content": "curl https://{domain}/api/hopper_final/voice/queue/countAttributes/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X GET",
7135 "name": "countContactsQueueCampaignHopperFinal",
7136 "group": "Cm_Hopper_Final",
7137 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7139 "filename": "server/api/cmHopperFinal/index.js",
7140 "groupTitle": "Cm_Hopper_Final"
7144 "url": "/api/cm/hopper_final/campaign/{id}",
7145 "title": "Move contacts in hopper",
7148 "title": "Example usage:",
7149 "content": "curl https://{domain}/api/hopper_final/campaign/moveContacts/{id} -d '{\"state\": \"state\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
7153 "name": "moveContactsIvrCampaignHopperFinal",
7154 "group": "Cm_Hopper_Final",
7155 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7157 "filename": "server/api/cmHopperFinal/index.js",
7158 "groupTitle": "Cm_Hopper_Final"
7162 "url": "/api/cm/hopper_final/voice/queue/{id}",
7163 "title": "Move contacts in hopper",
7166 "title": "Example usage:",
7167 "content": "curl https://{domain}/api/hopper_final/voice/queue/moveContacts/{id} -d '{\"state\": \"state\"}' -H 'Content-Type: application/json' -v -u {name}:{password}",
7171 "name": "moveContactsQueueCampaignHopperFinal",
7172 "group": "Cm_Hopper_Final",
7173 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7175 "filename": "server/api/cmHopperFinal/index.js",
7176 "groupTitle": "Cm_Hopper_Final"
7180 "url": "/api/cm/hopper_final/{id}",
7181 "title": "Update a single hopper final",
7184 "title": "Example usage:",
7185 "content": "curl https://{domain}/api/hopper_final/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X PUT",
7190 "group": "Cm_Hopper_Final",
7191 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7193 "filename": "server/api/cmHopperFinal/index.js",
7194 "groupTitle": "Cm_Hopper_Final"
7198 "url": "/api/cm/hopper_history",
7199 "title": "Creates a new HopperHistory",
7202 "title": "Example usage:",
7203 "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",
7207 "name": "CreateHopperHistory",
7208 "group": "Cm_Hopper_History",
7223 "field": "statedesc",
7230 "field": "scheduledat",
7237 "field": "countbusyretry",
7244 "field": "countcongestionretry",
7251 "field": "countnoanswerretry",
7258 "field": "countglobal",
7265 "field": "uniqueid",
7272 "field": "originatecalleridnum",
7279 "field": "originatecalleridname",
7286 "field": "calleridnum",
7293 "field": "calleridname",
7300 "field": "starttime",
7307 "field": "responsetime",
7314 "field": "answertime",
7321 "field": "droptime",
7335 "field": "ringtime",
7342 "field": "holdtime",
7349 "field": "talktime",
7356 "field": "followuptime",
7363 "field": "dropreason",
7370 "field": "campaign",
7377 "field": "campaigntype",
7384 "field": "membername",
7412 "field": "callback",
7419 "field": "callbackuniqueid",
7426 "field": "callbackat",
7433 "field": "recallme",
7440 "field": "editedat",
7454 "field": "countnosuchnumberretry",
7461 "field": "countdropretry",
7468 "field": "countabandonedretry",
7475 "field": "countmachineretry",
7482 "field": "countagentrejectretry",
7488 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7490 "filename": "server/api/cmHopperHistory/index.js",
7491 "groupTitle": "Cm_Hopper_History"
7495 "url": "/api/cm/hopper_history/describe",
7496 "title": "Gets table info about HopperHistory",
7499 "title": "Example usage:",
7500 "content": "curl https://{domain}/api/cm/hopper_history/describe -v -u {name}:{password}",
7504 "name": "DescribeHopperHistory",
7505 "group": "Cm_Hopper_History",
7506 "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>",
7508 "filename": "server/api/cmHopperHistory/index.js",
7509 "groupTitle": "Cm_Hopper_History"
7513 "url": "/api/cm/hopper_history",
7514 "title": "Gets a list of HopperHistory",
7517 "title": "Example usage:",
7518 "content": "curl https://{domain}/api/cm/hopper_history -v -u {name}:{password}",
7522 "name": "GetHopperHistory",
7523 "group": "Cm_Hopper_History",
7524 "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&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>",
7526 "filename": "server/api/cmHopperHistory/index.js",
7527 "groupTitle": "Cm_Hopper_History"
7531 "url": "/api/cm/hopper_history/{id}",
7532 "title": "Gets a single HopperHistory",
7535 "title": "Example usage:",
7536 "content": "curl https://{domain}/api/cm/hopper_history/{id} -v -u {name}:{password}",
7540 "name": "ShowHopperHistory",
7541 "group": "Cm_Hopper_History",
7542 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7544 "filename": "server/api/cmHopperHistory/index.js",
7545 "groupTitle": "Cm_Hopper_History"
7549 "url": "/api/cm/hopper_history/{id}",
7550 "title": "Update a single hopper history",
7553 "title": "Example usage:",
7554 "content": "curl https://{domain}/api/hopper_history/{id} -d '{\"disposition\": \"OK\"}' -v -u {name}:{password} -X PUT",
7559 "group": "Cm_Hopper_History",
7560 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7562 "filename": "server/api/cmHopperHistory/index.js",
7563 "groupTitle": "Cm_Hopper_History"
7567 "url": "/api/cm/hopper/{id}",
7568 "title": "Delete Hopper",
7571 "title": "Example usage:",
7572 "content": "curl https://{domain}/api/cm/hopper/{id} -v -u {name}:{password} -X DELETE",
7577 "group": "Cm_Hopper",
7578 "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>",
7580 "filename": "server/api/cmHopper/index.js",
7581 "groupTitle": "Cm_Hopper"
7585 "url": "/api/cm/hopper/opencontacts",
7586 "title": "Gets Open Contacts",
7589 "title": "Example usage:",
7590 "content": "curl https://{domain}/api/cm/hopper/opencontacts -v -u {name}:{password} -X GET",
7594 "name": "getOpenContacts",
7595 "group": "Cm_Hopper",
7596 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7598 "filename": "server/api/cmHopper/index.js",
7599 "groupTitle": "Cm_Hopper"
7603 "url": "/api/cm/hopper/preview",
7604 "title": "Gets Preview Dialer Contacts",
7607 "title": "Example usage:",
7608 "content": "curl https://{domain}/api/cm/hopper/preview -d '{\"hopperIds\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X GET",
7612 "name": "getPreview",
7613 "group": "Cm_Hopper",
7614 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7616 "filename": "server/api/cmHopper/index.js",
7617 "groupTitle": "Cm_Hopper"
7621 "url": "/api/cm/hopper/{id}",
7622 "title": "Update an existing Hopper",
7625 "title": "Example usage:",
7626 "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",
7630 "name": "updateHopper",
7631 "group": "Cm_Hopper",
7632 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7634 "filename": "server/api/cmHopper/index.js",
7635 "groupTitle": "Cm_Hopper"
7639 "url": "/api/cm/lists",
7640 "title": "Creates a new List",
7643 "title": "Example usage:",
7644 "content": "curl https://{domain}/api/cm/lists -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
7648 "name": "CreateLists",
7649 "group": "Cm_Lists",
7664 "field": "description",
7671 "field": "dialPrefix",
7677 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7679 "filename": "server/api/cmList/index.js",
7680 "groupTitle": "Cm_Lists"
7684 "url": "/api/cm/lists/{id}",
7685 "title": "Deletes a List",
7688 "title": "Example usage:",
7689 "content": "curl https://{domain}/api/cm/lists/{id} -v -u {name}:{password} -X DELETE",
7693 "name": "DeleteLists",
7694 "group": "Cm_Lists",
7695 "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>",
7697 "filename": "server/api/cmList/index.js",
7698 "groupTitle": "Cm_Lists"
7702 "url": "/api/cm/lists/describe",
7703 "title": "Gets table info about Lists",
7706 "title": "Example usage:",
7707 "content": "curl https://{domain}/api/cm/lists/describe -v -u {name}:{password}",
7711 "name": "DescribeLists",
7712 "group": "Cm_Lists",
7713 "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>",
7715 "filename": "server/api/cmList/index.js",
7716 "groupTitle": "Cm_Lists"
7720 "url": "/api/cm/lists/{id}/users",
7721 "title": "Gets agents from list",
7724 "title": "Example usage:",
7725 "content": "curl https://{domain}/api/cm/lists/{id}/users -v -u {name}:{password} -X GET",
7729 "name": "GetAgents",
7730 "group": "Cm_Lists",
7731 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7733 "filename": "server/api/cmList/index.js",
7734 "groupTitle": "Cm_Lists"
7738 "url": "/api/cm/lists",
7739 "title": "Gets a list of Lists",
7742 "title": "Example usage:",
7743 "content": "curl https://{domain}/api/cm/lists -v -u {name}:{password}",
7748 "group": "Cm_Lists",
7749 "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&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 "filename": "server/api/cmList/index.js",
7752 "groupTitle": "Cm_Lists"
7756 "url": "/api/cm/lists/{id}/users",
7757 "title": "Removes agents from a list",
7760 "title": "Example usage:",
7761 "content": "curl https://{domain}/api/cm/lists/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
7765 "name": "RemoveAgents",
7766 "group": "Cm_Lists",
7767 "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>",
7769 "filename": "server/api/cmList/index.js",
7770 "groupTitle": "Cm_Lists"
7774 "url": "/api/cm/lists/{id}/dispositions",
7775 "title": "Removes dispositions from account",
7778 "title": "Example usage:",
7779 "content": "curl https://{domain}/api/cm/lists/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
7783 "name": "RemoveDispositions",
7784 "group": "Cm_Lists",
7785 "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>",
7787 "filename": "server/api/cmList/index.js",
7788 "groupTitle": "Cm_Lists"
7792 "url": "/api/cm/lists/{id}",
7793 "title": "Gets a single List",
7796 "title": "Example usage:",
7797 "content": "curl https://{domain}/api/cm/lists/{id} -v -u {name}:{password}",
7801 "name": "ShowLists",
7802 "group": "Cm_Lists",
7803 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <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 "filename": "server/api/cmList/index.js",
7806 "groupTitle": "Cm_Lists"
7810 "url": "/api/cm/lists/{id}/users",
7811 "title": "Adds agents to a list",
7814 "title": "Example usage:",
7815 "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",
7819 "name": "addAgents",
7820 "group": "Cm_Lists",
7821 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
7823 "filename": "server/api/cmList/index.js",
7824 "groupTitle": "Cm_Lists"
7828 "url": "/api/cm/lists/{id}/contacts",
7829 "title": "Creates new contacts",
7832 "title": "Example usage:",
7833 "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",
7837 "name": "addContacts",
7838 "group": "Cm_Lists",
7846 "field": "firstName",
7853 "field": "lastName",
7867 "field": "postalCode",
7888 "field": "dateOfBirth",
7895 "field": "description",
7937 "field": "facebook",
7993 "field": "telegram",
8007 "field": "AdditionalPhones",
8014 "field": "priority",
8021 "field": "scheduledat",
8027 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8029 "filename": "server/api/cmList/index.js",
8030 "groupTitle": "Cm_Lists"
8034 "url": "/api/cm/lists/{id}/fields",
8035 "title": "Creates a new custom field",
8038 "title": "Example usage:",
8039 "content": "curl https://{domain}/api/cm/lists/{id}/fields -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8043 "name": "addCustomField",
8044 "group": "Cm_Lists",
8045 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8047 "filename": "server/api/cmList/index.js",
8048 "groupTitle": "Cm_Lists"
8052 "url": "/api/cm/lists/{id}/dispositions",
8053 "title": "Creates new disposition",
8056 "title": "Example usage:",
8057 "content": "curl https://{domain}/api/cm/lists/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8061 "name": "addDisposition",
8062 "group": "Cm_Lists",
8089 "field": "description",
8095 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8097 "filename": "server/api/cmList/index.js",
8098 "groupTitle": "Cm_Lists"
8102 "url": "/api/cm/lists/{id}/contacts",
8103 "title": "Gets List Contacts",
8106 "title": "Example usage:",
8107 "content": "curl https://{domain}/api/cm/lists/{id}/contacts -v -u {name}:{password} -X GET",
8111 "name": "getContacts",
8112 "group": "Cm_Lists",
8113 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8115 "filename": "server/api/cmList/index.js",
8116 "groupTitle": "Cm_Lists"
8120 "url": "/api/cm/lists/{id}/fields",
8121 "title": "Gets Custom Fields",
8124 "title": "Example usage:",
8125 "content": "curl https://{domain}/api/cm/lists/{id}/fields -v -u {name}:{password} -X GET",
8129 "name": "getCustomFields",
8130 "group": "Cm_Lists",
8131 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8133 "filename": "server/api/cmList/index.js",
8134 "groupTitle": "Cm_Lists"
8138 "url": "/api/cm/lists/{id}/dispositions",
8139 "title": "Gets list dispositions",
8142 "title": "Example usage:",
8143 "content": "curl https://{domain}/api/cm/lists/{id}/dispositions -v -u {name}:{password} -X GET",
8147 "name": "getDispositions",
8148 "group": "Cm_Lists",
8149 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8151 "filename": "server/api/cmList/index.js",
8152 "groupTitle": "Cm_Lists"
8156 "url": "/api/cm/lists/{id}/contacts/csv",
8157 "title": "Gets CSV List Contacts",
8160 "title": "Example usage:",
8161 "content": "curl https://{domain}/api/cm/lists/{id}/contacts/csv -v -u {name}:{password} -X GET",
8166 "group": "Cm_Lists",
8167 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8169 "filename": "server/api/cmList/index.js",
8170 "groupTitle": "Cm_Lists"
8174 "url": "/api/cm/lists/{id}",
8175 "title": "Update an existing List",
8178 "title": "Example usage:",
8179 "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",
8183 "name": "updateLists",
8184 "group": "Cm_Lists",
8185 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8187 "filename": "server/api/cmList/index.js",
8188 "groupTitle": "Cm_Lists"
8192 "url": "/api/cm/contacts/upload/:id",
8193 "title": "Import new contacts by csv",
8196 "title": "Example usage:",
8197 "content": "curl https://{domain}/api/cm/contacts/upload/:id -v -u {name}:{password} -X POST",
8202 "group": "Cm_contacts",
8203 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8205 "filename": "server/api/cmContact/index.js",
8206 "groupTitle": "Cm_contacts"
8210 "url": "/api/cm/contacts/uploadUpdates/:id",
8211 "title": "Import existing contacts by csv",
8214 "title": "Example usage:",
8215 "content": "curl https://{domain}/api/cm/contacts/uploadUpdates/:id -v -u {name}:{password} -X POST",
8219 "name": "importUpdates",
8220 "group": "Cm_contacts",
8221 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8223 "filename": "server/api/cmContact/index.js",
8224 "groupTitle": "Cm_contacts"
8228 "url": "/api/cm/contacts/upload",
8229 "title": "Upload csv",
8232 "title": "Example usage:",
8233 "content": "curl https://{domain}/api/cm/contacts/upload -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
8238 "group": "Cm_contacts",
8239 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8241 "filename": "server/api/cmContact/index.js",
8242 "groupTitle": "Cm_contacts"
8246 "url": "/api/cm/contacts/csv",
8247 "title": "Create new contacts by csv",
8250 "title": "Example usage:",
8251 "content": "curl https://{domain}/api/cm/contacts/csv -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
8255 "name": "uploadCsv",
8256 "group": "Cm_contacts",
8257 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8259 "filename": "server/api/cmContact/index.js",
8260 "groupTitle": "Cm_contacts"
8264 "url": "/api/conditions/{id}",
8265 "title": "Deletes a Condition",
8268 "title": "Example usage:",
8269 "content": "curl https://{domain}/api/conditions/{id} -v -u {name}:{password} -X DELETE",
8273 "name": "DeleteConditions",
8274 "group": "Conditions",
8275 "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>",
8277 "filename": "server/api/condition/index.js",
8278 "groupTitle": "Conditions"
8282 "url": "/api/conditions/{id}",
8283 "title": "Update an existing Condition",
8286 "title": "Example usage:",
8287 "content": "curl https://{domain}/api/conditions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
8291 "name": "updateConditions",
8292 "group": "Conditions",
8293 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8295 "filename": "server/api/condition/index.js",
8296 "groupTitle": "Conditions"
8300 "url": "/api/contact_item_types",
8301 "title": "Creates a new ContactItemType",
8304 "title": "Example usage:",
8305 "content": "curl https://{domain}/api/contact_item_types -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
8309 "name": "CreateContactItemTypes",
8310 "group": "ContactItemType",
8332 "field": "rgbBackgroundColor",
8338 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8340 "filename": "server/api/contactItemType/index.js",
8341 "groupTitle": "ContactItemType"
8345 "url": "/api/contact_item_types/{id}",
8346 "title": "Deletes a ContactItemType",
8349 "title": "Example usage:",
8350 "content": "curl https://{domain}/api/contact_item_types/{id} -v -u {name}:{password} -X DELETE",
8354 "name": "DeleteContactItemTypes",
8355 "group": "ContactItemType",
8356 "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>",
8358 "filename": "server/api/contactItemType/index.js",
8359 "groupTitle": "ContactItemType"
8363 "url": "/api/contact_item_types",
8364 "title": "Gets a list of ContactItemTypes",
8367 "title": "Example usage:",
8368 "content": "curl https://{domain}/api/contact_item_types -v -u {name}:{password}",
8372 "name": "GetContactItemTypes",
8373 "group": "ContactItemType",
8374 "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/contact_item_types?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/contact_item_types?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/contact_item_types?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/contact_item_types?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/contact_item_types?offset=5&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>",
8376 "filename": "server/api/contactItemType/index.js",
8377 "groupTitle": "ContactItemType"
8381 "url": "/api/contact_item_types/{id}",
8382 "title": "Gets a single ContactItemType",
8385 "title": "Example usage:",
8386 "content": "curl https://{domain}/api/contact_item_types/{id} -v -u {name}:{password}",
8390 "name": "ShowContactItemTypes",
8391 "group": "ContactItemType",
8392 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8394 "filename": "server/api/contactItemType/index.js",
8395 "groupTitle": "ContactItemType"
8399 "url": "/api/contact_item_types/{id}",
8400 "title": "Update an existing ContactItemType",
8403 "title": "Example usage:",
8404 "content": "curl https://{domain}/api/contact_item_types/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
8408 "name": "updateContactItemTypes",
8409 "group": "ContactItemType",
8410 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8412 "filename": "server/api/contactItemType/index.js",
8413 "groupTitle": "ContactItemType"
8417 "url": "/api/cm/custom_field",
8418 "title": "Create a new custom field",
8421 "title": "Example usage:",
8422 "content": "curl https://{domain}/api/cm/custom_field -d '{\"name\": \"mycf\", \"type\": \"text\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8426 "name": "CreateCustomField",
8427 "group": "Custom_Fields",
8428 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8430 "filename": "server/api/cmCustomField/index.js",
8431 "groupTitle": "Custom_Fields"
8435 "url": "/api/dashboards/items",
8436 "title": "Create dasboard item",
8439 "title": "Example usage:",
8440 "content": "curl https://{domain}/api/dashboards/items \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
8445 "group": "Dashboard_Items",
8446 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8448 "filename": "server/api/dashboardItem/index.js",
8449 "groupTitle": "Dashboard_Items"
8453 "url": "/api/dashboards/items/{id}",
8454 "title": "Deletes a Dashboard Item",
8457 "title": "Example usage:",
8458 "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password} -X DELETE",
8462 "name": "DeleteDashboard_Items",
8463 "group": "Dashboard_Items",
8464 "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>",
8466 "filename": "server/api/dashboardItem/index.js",
8467 "groupTitle": "Dashboard_Items"
8471 "url": "/api/dashboards/items/{id}",
8472 "title": "Gets a single Dashboard Item",
8475 "title": "Example usage:",
8476 "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password}",
8480 "name": "ShowDashboard_Items",
8481 "group": "Dashboard_Items",
8482 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8484 "filename": "server/api/dashboardItem/index.js",
8485 "groupTitle": "Dashboard_Items"
8489 "url": "/api/dashboards/items/{id}",
8490 "title": "Update an existing item",
8493 "title": "Example usage:",
8494 "content": "curl https://{domain}/api/dashboards/items/{id} -v -u {name}:{password} -X PUT",
8499 "group": "Dashboard_Items",
8500 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8502 "filename": "server/api/dashboardItem/index.js",
8503 "groupTitle": "Dashboard_Items"
8507 "url": "/api/dashboards/clone",
8508 "title": "Clone an existing Dashboard",
8511 "title": "Example usage:",
8512 "content": "curl https://{domain}/api/dashboards/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
8516 "name": "CloneDashboards",
8517 "group": "Dashboards",
8518 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8520 "filename": "server/api/dashboard/index.js",
8521 "groupTitle": "Dashboards"
8525 "url": "/api/dashboards",
8526 "title": "Creates a new Dashboard",
8529 "title": "Example usage:",
8530 "content": "curl https://{domain}/api/dashboards -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
8534 "name": "CreateDashboards",
8535 "group": "Dashboards",
8550 "field": "description",
8556 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8558 "filename": "server/api/dashboard/index.js",
8559 "groupTitle": "Dashboards"
8563 "url": "/api/dashboards/{id}",
8564 "title": "Deletes a Dashboard",
8567 "title": "Example usage:",
8568 "content": "curl https://{domain}/api/dashboards/{id} -v -u {name}:{password} -X DELETE",
8572 "name": "DeleteDashboards",
8573 "group": "Dashboards",
8574 "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>",
8576 "filename": "server/api/dashboard/index.js",
8577 "groupTitle": "Dashboards"
8581 "url": "/api/dashboards",
8582 "title": "Gets a list of Dashboards",
8585 "title": "Example usage:",
8586 "content": "curl https://{domain}/api/dashboards -v -u {name}:{password}",
8590 "name": "GetDashboards",
8591 "group": "Dashboards",
8592 "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&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>",
8594 "filename": "server/api/dashboard/index.js",
8595 "groupTitle": "Dashboards"
8599 "url": "/api/dashboards/{id}",
8600 "title": "Gets a single Dashboard",
8603 "title": "Example usage:",
8604 "content": "curl https://{domain}/api/dashboards/{id} -v -u {name}:{password}",
8608 "name": "ShowDashboards",
8609 "group": "Dashboards",
8610 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8612 "filename": "server/api/dashboard/index.js",
8613 "groupTitle": "Dashboards"
8617 "url": "/api/dashboards/{id}/items",
8618 "title": "Creates new item",
8621 "title": "Example usage:",
8622 "content": "curl https://{domain}/api/dashboards/{id}/items -d '{\"type\": \"counter\", \"...\": \"...\"}]' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
8627 "group": "Dashboards",
8628 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8630 "filename": "server/api/dashboard/index.js",
8631 "groupTitle": "Dashboards"
8635 "url": "/api/dashboards/{id}/items",
8636 "title": "Gets items",
8639 "title": "Example usage:",
8640 "content": "curl https://{domain}/api/dashboards/{id}/items -v -u {name}:{password} -X GET",
8645 "group": "Dashboards",
8646 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8648 "filename": "server/api/dashboard/index.js",
8649 "groupTitle": "Dashboards"
8653 "url": "/api/dashboards/{id}",
8654 "title": "Update an existing Dashboard",
8657 "title": "Example usage:",
8658 "content": "curl https://{domain}/api/dashboards/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
8662 "name": "updateDashboards",
8663 "group": "Dashboards",
8664 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8666 "filename": "server/api/dashboard/index.js",
8667 "groupTitle": "Dashboards"
8671 "url": "/api/integrations/desk/accounts",
8672 "title": "Creates a new Desk Account",
8675 "title": "Example usage:",
8676 "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",
8680 "name": "CreateDesk_Accounts",
8681 "group": "Desk_Accounts",
8696 "field": "description",
8703 "field": "username",
8710 "field": "remoteUri",
8720 "field": "authType",
8727 "field": "password",
8734 "field": "consumerKey",
8741 "field": "consumerSecret",
8755 "field": "tokenSecret",
8762 "field": "serverUrl",
8769 "\"integrationTab\"",
8779 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8781 "filename": "server/api/intDeskAccount/index.js",
8782 "groupTitle": "Desk_Accounts"
8786 "url": "/api/integrations/desk/accounts/{id}",
8787 "title": "Deletes a Desk Account",
8790 "title": "Example usage:",
8791 "content": "curl https://{domain}/api/integrations/desk/accounts/{id} -v -u {name}:{password} -X DELETE",
8795 "name": "DeleteDesk_Accounts",
8796 "group": "Desk_Accounts",
8797 "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>",
8799 "filename": "server/api/intDeskAccount/index.js",
8800 "groupTitle": "Desk_Accounts"
8804 "url": "/api/integrations/desk/accounts",
8805 "title": "Gets a list of Desk Accounts",
8808 "title": "Example usage:",
8809 "content": "curl https://{domain}/api/integrations/desk/accounts -v -u {name}:{password}",
8813 "name": "GetDesk_Accounts",
8814 "group": "Desk_Accounts",
8815 "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&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>",
8817 "filename": "server/api/intDeskAccount/index.js",
8818 "groupTitle": "Desk_Accounts"
8822 "url": "/api/integrations/desk/accounts/{id}",
8823 "title": "Gets a single Desk Account",
8826 "title": "Example usage:",
8827 "content": "curl https://{domain}/api/integrations/desk/accounts/{id} -v -u {name}:{password}",
8831 "name": "ShowDesk_Accounts",
8832 "group": "Desk_Accounts",
8833 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8835 "filename": "server/api/intDeskAccount/index.js",
8836 "groupTitle": "Desk_Accounts"
8840 "url": "/api/integrations/desk/accounts/{id}/configurations",
8841 "title": "Creates new configuration",
8844 "title": "Example usage:",
8845 "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",
8849 "name": "addConfiguration",
8850 "group": "Desk_Accounts",
8851 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8853 "filename": "server/api/intDeskAccount/index.js",
8854 "groupTitle": "Desk_Accounts"
8858 "url": "/api/integrations/desk/accounts/{id}/configurations",
8859 "title": "Gets account configurations",
8862 "title": "Example usage:",
8863 "content": "curl https://{domain}/api/integrations/desk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
8867 "name": "getConfigurations",
8868 "group": "Desk_Accounts",
8869 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8871 "filename": "server/api/intDeskAccount/index.js",
8872 "groupTitle": "Desk_Accounts"
8876 "url": "/api/integrations/desk/accounts/{id}/fields",
8877 "title": "Gets account fields",
8880 "title": "Example usage:",
8881 "content": "curl https://{domain}/api/integrations/desk/accounts/{id}/fields -v -u {name}:{password} -X GET",
8885 "name": "getFields",
8886 "group": "Desk_Accounts",
8887 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8889 "filename": "server/api/intDeskAccount/index.js",
8890 "groupTitle": "Desk_Accounts"
8894 "url": "/api/integrations/desk/accounts/{id}",
8895 "title": "Update an existing Desk Account",
8898 "title": "Example usage:",
8899 "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",
8903 "name": "updateDesk_Accounts",
8904 "group": "Desk_Accounts",
8905 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8907 "filename": "server/api/intDeskAccount/index.js",
8908 "groupTitle": "Desk_Accounts"
8912 "url": "/api/integrations/desk/configurations",
8913 "title": "Creates a new Desk Configuration",
8916 "title": "Example usage:",
8917 "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",
8921 "name": "CreateDesk_Configurations",
8922 "group": "Desk_Configurations",
8937 "field": "description",
8943 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8945 "filename": "server/api/intDeskConfiguration/index.js",
8946 "groupTitle": "Desk_Configurations"
8950 "url": "/api/integrations/desk/configurations/{id}",
8951 "title": "Deletes a Desk Configuration",
8954 "title": "Example usage:",
8955 "content": "curl https://{domain}/api/integrations/desk/configurations/{id} -v -u {name}:{password} -X DELETE",
8959 "name": "DeleteDesk_Configurations",
8960 "group": "Desk_Configurations",
8961 "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>",
8963 "filename": "server/api/intDeskConfiguration/index.js",
8964 "groupTitle": "Desk_Configurations"
8968 "url": "/api/integrations/desk/configurations",
8969 "title": "Gets a list of Desk Configurations",
8972 "title": "Example usage:",
8973 "content": "curl https://{domain}/api/integrations/desk/configurations -v -u {name}:{password}",
8977 "name": "GetDesk_Configurations",
8978 "group": "Desk_Configurations",
8979 "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&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>",
8981 "filename": "server/api/intDeskConfiguration/index.js",
8982 "groupTitle": "Desk_Configurations"
8986 "url": "/api/integrations/desk/configurations/{id}",
8987 "title": "Gets a single Desk Configuration",
8990 "title": "Example usage:",
8991 "content": "curl https://{domain}/api/integrations/desk/configurations/{id} -v -u {name}:{password}",
8995 "name": "ShowDesk_Configurations",
8996 "group": "Desk_Configurations",
8997 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
8999 "filename": "server/api/intDeskConfiguration/index.js",
9000 "groupTitle": "Desk_Configurations"
9004 "url": "/api/integrations/desk/configurations/{id}/descriptions",
9005 "title": "Gets configurations descriptions",
9008 "title": "Example usage:",
9009 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
9013 "name": "getDescriptions",
9014 "group": "Desk_Configurations",
9015 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9017 "filename": "server/api/intDeskConfiguration/index.js",
9018 "groupTitle": "Desk_Configurations"
9022 "url": "/api/integrations/desk/configurations/{id}/fields",
9023 "title": "Gets configurations fields",
9026 "title": "Example usage:",
9027 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/fields -v -u {name}:{password} -X GET",
9031 "name": "getFields",
9032 "group": "Desk_Configurations",
9033 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9035 "filename": "server/api/intDeskConfiguration/index.js",
9036 "groupTitle": "Desk_Configurations"
9040 "url": "/api/integrations/desk/configurations/{id}/subjects",
9041 "title": "Gets configurations subjects",
9044 "title": "Example usage:",
9045 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
9049 "name": "getSubjects",
9050 "group": "Desk_Configurations",
9051 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9053 "filename": "server/api/intDeskConfiguration/index.js",
9054 "groupTitle": "Desk_Configurations"
9058 "url": "/api/integrations/desk/configurations/{id}/tags",
9059 "title": "Gets configurations tags",
9062 "title": "Example usage:",
9063 "content": "curl https://{domain}/api/integrations/desk/configurations/{id}/tags -v -u {name}:{password} -X GET",
9068 "group": "Desk_Configurations",
9069 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9071 "filename": "server/api/intDeskConfiguration/index.js",
9072 "groupTitle": "Desk_Configurations"
9076 "url": "/api/integrations/desk/configurations/{id}/tags",
9077 "title": "Sets new tags",
9080 "title": "Example usage:",
9081 "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",
9086 "group": "Desk_Configurations",
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>",
9089 "filename": "server/api/intDeskConfiguration/index.js",
9090 "groupTitle": "Desk_Configurations"
9094 "url": "/api/integrations/desk/configurations/{id}",
9095 "title": "Update an existing Desk Configuration",
9098 "title": "Example usage:",
9099 "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",
9103 "name": "updateDesk_Configurations",
9104 "group": "Desk_Configurations",
9105 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9107 "filename": "server/api/intDeskConfiguration/index.js",
9108 "groupTitle": "Desk_Configurations"
9112 "url": "/api/integrations/desk/fields",
9113 "title": "Creates a new Desk Field",
9116 "title": "Example usage:",
9117 "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",
9121 "name": "CreateDesk_Fields",
9122 "group": "Desk_Fields",
9132 "\"customVariable\"",
9160 "\"customVariable\""
9170 "field": "keyContent",
9184 "field": "nameField",
9191 "field": "customField",
9198 "field": "variableName",
9204 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9206 "filename": "server/api/intDeskField/index.js",
9207 "groupTitle": "Desk_Fields"
9211 "url": "/api/integrations/desk/fields/{id}",
9212 "title": "Deletes a Desk Field",
9215 "title": "Example usage:",
9216 "content": "curl https://{domain}/api/integrations/desk/fields/{id} -v -u {name}:{password} -X DELETE",
9220 "name": "DeleteDesk_Fields",
9221 "group": "Desk_Fields",
9222 "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>",
9224 "filename": "server/api/intDeskField/index.js",
9225 "groupTitle": "Desk_Fields"
9229 "url": "/api/integrations/desk/fields",
9230 "title": "Gets a list of Desk Fields",
9233 "title": "Example usage:",
9234 "content": "curl https://{domain}/api/integrations/desk/fields -v -u {name}:{password}",
9238 "name": "GetDesk_Fields",
9239 "group": "Desk_Fields",
9240 "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&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>",
9242 "filename": "server/api/intDeskField/index.js",
9243 "groupTitle": "Desk_Fields"
9247 "url": "/api/integrations/desk/fields/{id}",
9248 "title": "Gets a single Desk Field",
9251 "title": "Example usage:",
9252 "content": "curl https://{domain}/api/integrations/desk/fields/{id} -v -u {name}:{password}",
9256 "name": "ShowDesk_Fields",
9257 "group": "Desk_Fields",
9258 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9260 "filename": "server/api/intDeskField/index.js",
9261 "groupTitle": "Desk_Fields"
9265 "url": "/api/integrations/desk/fields/{id}",
9266 "title": "Update an existing Desk Field",
9269 "title": "Example usage:",
9270 "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",
9274 "name": "updateDesk_Fields",
9275 "group": "Desk_Fields",
9276 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9278 "filename": "server/api/intDeskField/index.js",
9279 "groupTitle": "Desk_Fields"
9283 "url": "/api/dispositions",
9284 "title": "Creates a new Disposition",
9287 "title": "Example usage:",
9288 "content": "curl https://{domain}/api/dispositions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
9292 "name": "CreateDispositions",
9293 "group": "Dispositions",
9320 "field": "description",
9326 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9328 "filename": "server/api/disposition/index.js",
9329 "groupTitle": "Dispositions"
9333 "url": "/api/dispositions/{id}",
9334 "title": "Deletes a Disposition",
9337 "title": "Example usage:",
9338 "content": "curl https://{domain}/api/dispositions/{id} -v -u {name}:{password} -X DELETE",
9342 "name": "DeleteDispositions",
9343 "group": "Dispositions",
9344 "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>",
9346 "filename": "server/api/disposition/index.js",
9347 "groupTitle": "Dispositions"
9351 "url": "/api/dispositions",
9352 "title": "Gets a list of Dispositions",
9355 "title": "Example usage:",
9356 "content": "curl https://{domain}/api/dispositions -v -u {name}:{password}",
9360 "name": "GetDispositions",
9361 "group": "Dispositions",
9362 "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&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>",
9364 "filename": "server/api/disposition/index.js",
9365 "groupTitle": "Dispositions"
9369 "url": "/api/dispositions/{id}",
9370 "title": "Gets a single Disposition",
9373 "title": "Example usage:",
9374 "content": "curl https://{domain}/api/dispositions/{id} -v -u {name}:{password}",
9378 "name": "ShowDispositions",
9379 "group": "Dispositions",
9380 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9382 "filename": "server/api/disposition/index.js",
9383 "groupTitle": "Dispositions"
9387 "url": "/api/dispositions/{id}",
9388 "title": "Update an existing Disposition",
9391 "title": "Example usage:",
9392 "content": "curl https://{domain}/api/dispositions/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
9396 "name": "updateDispositions",
9397 "group": "Dispositions",
9398 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9400 "filename": "server/api/disposition/index.js",
9401 "groupTitle": "Dispositions"
9405 "url": "/api/integrations/dynamics365/accounts",
9406 "title": "Creates a new Dynamics365 Account",
9409 "title": "Example usage:",
9410 "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",
9414 "name": "CreateDynamics365_Accounts",
9415 "group": "Dynamics365_Accounts",
9430 "field": "username",
9437 "field": "password",
9444 "field": "remoteUri",
9451 "field": "tenantId",
9458 "field": "clientId",
9465 "field": "clientSecret",
9472 "field": "serverUrl",
9479 "field": "description",
9485 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9487 "filename": "server/api/intDynamics365Account/index.js",
9488 "groupTitle": "Dynamics365_Accounts"
9492 "url": "/api/integrations/dynamics365/accounts/{id}",
9493 "title": "Deletes a Dynamics365 Account",
9496 "title": "Example usage:",
9497 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id} -v -u {name}:{password} -X DELETE",
9501 "name": "DeleteDynamics365_Accounts",
9502 "group": "Dynamics365_Accounts",
9503 "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>",
9505 "filename": "server/api/intDynamics365Account/index.js",
9506 "groupTitle": "Dynamics365_Accounts"
9510 "url": "/api/integrations/dynamics365/accounts",
9511 "title": "Gets a list of Dynamics365 Accounts",
9514 "title": "Example usage:",
9515 "content": "curl https://{domain}/api/integrations/dynamics365/accounts -v -u {name}:{password}",
9519 "name": "GetDynamics365_Accounts",
9520 "group": "Dynamics365_Accounts",
9521 "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&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>",
9523 "filename": "server/api/intDynamics365Account/index.js",
9524 "groupTitle": "Dynamics365_Accounts"
9528 "url": "/api/integrations/dynamics365/accounts/{id}",
9529 "title": "Gets a single Dynamics365 Account",
9532 "title": "Example usage:",
9533 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id} -v -u {name}:{password}",
9537 "name": "ShowDynamics365_Accounts",
9538 "group": "Dynamics365_Accounts",
9539 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9541 "filename": "server/api/intDynamics365Account/index.js",
9542 "groupTitle": "Dynamics365_Accounts"
9546 "url": "/api/integrations/dynamics365/accounts/{id}/configurations",
9547 "title": "Creates new configuration",
9550 "title": "Example usage:",
9551 "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",
9555 "name": "addConfiguration",
9556 "group": "Dynamics365_Accounts",
9557 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9559 "filename": "server/api/intDynamics365Account/index.js",
9560 "groupTitle": "Dynamics365_Accounts"
9564 "url": "/api/integrations/dynamics365/accounts/{id}/configurations",
9565 "title": "Gets account configurations",
9568 "title": "Example usage:",
9569 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id}/configurations -v -u {name}:{password} -X GET",
9573 "name": "getConfigurations",
9574 "group": "Dynamics365_Accounts",
9575 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9577 "filename": "server/api/intDynamics365Account/index.js",
9578 "groupTitle": "Dynamics365_Accounts"
9582 "url": "/api/integrations/dynamics365/accounts/{id}/fields",
9583 "title": "Gets account fields",
9586 "title": "Example usage:",
9587 "content": "curl https://{domain}/api/integrations/dynamics365/accounts/{id}/fields -v -u {name}:{password} -X GET",
9591 "name": "getFields",
9592 "group": "Dynamics365_Accounts",
9593 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9595 "filename": "server/api/intDynamics365Account/index.js",
9596 "groupTitle": "Dynamics365_Accounts"
9600 "url": "/api/integrations/dynamics365/accounts/{id}",
9601 "title": "Update an existing Dynamics365 Account",
9604 "title": "Example usage:",
9605 "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",
9609 "name": "updateDynamics365_Accounts",
9610 "group": "Dynamics365_Accounts",
9611 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9613 "filename": "server/api/intDynamics365Account/index.js",
9614 "groupTitle": "Dynamics365_Accounts"
9618 "url": "/api/integrations/dynamics365/configurations",
9619 "title": "Creates a new Dynamics365 Configuration",
9622 "title": "Example usage:",
9623 "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",
9627 "name": "CreateDynamics365_Configurations",
9628 "group": "Dynamics365_Configurations",
9643 "field": "description",
9654 "field": "ticketType",
9660 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9662 "filename": "server/api/intDynamics365Configuration/index.js",
9663 "groupTitle": "Dynamics365_Configurations"
9667 "url": "/api/integrations/dynamics365/configurations/{id}",
9668 "title": "Deletes a Dynamics365 Configuration",
9671 "title": "Example usage:",
9672 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id} -v -u {name}:{password} -X DELETE",
9676 "name": "DeleteDynamics365_Configurations",
9677 "group": "Dynamics365_Configurations",
9678 "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>",
9680 "filename": "server/api/intDynamics365Configuration/index.js",
9681 "groupTitle": "Dynamics365_Configurations"
9685 "url": "/api/integrations/dynamics365/configurations",
9686 "title": "Gets a list of Dynamics365 Configurations",
9689 "title": "Example usage:",
9690 "content": "curl https://{domain}/api/integrations/dynamics365/configurations -v -u {name}:{password}",
9694 "name": "GetDynamics365_Configurations",
9695 "group": "Dynamics365_Configurations",
9696 "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&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>",
9698 "filename": "server/api/intDynamics365Configuration/index.js",
9699 "groupTitle": "Dynamics365_Configurations"
9703 "url": "/api/integrations/dynamics365/configurations/{id}",
9704 "title": "Gets a single Dynamics365 Configuration",
9707 "title": "Example usage:",
9708 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id} -v -u {name}:{password}",
9712 "name": "ShowDynamics365_Configurations",
9713 "group": "Dynamics365_Configurations",
9714 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9716 "filename": "server/api/intDynamics365Configuration/index.js",
9717 "groupTitle": "Dynamics365_Configurations"
9721 "url": "/api/integrations/dynamics365/configurations/{id}/descriptions",
9722 "title": "Gets configurations descriptions",
9725 "title": "Example usage:",
9726 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
9730 "name": "getDescriptions",
9731 "group": "Dynamics365_Configurations",
9732 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9734 "filename": "server/api/intDynamics365Configuration/index.js",
9735 "groupTitle": "Dynamics365_Configurations"
9739 "url": "/api/integrations/dynamics365/configurations/{id}/fields",
9740 "title": "Gets configurations fields",
9743 "title": "Example usage:",
9744 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/fields -v -u {name}:{password} -X GET",
9748 "name": "getFields",
9749 "group": "Dynamics365_Configurations",
9750 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9752 "filename": "server/api/intDynamics365Configuration/index.js",
9753 "groupTitle": "Dynamics365_Configurations"
9757 "url": "/api/integrations/zoho/configurations/{id}/subjects",
9758 "title": "Gets configurations subjects",
9761 "title": "Example usage:",
9762 "content": "curl https://{domain}/api/integrations/dynamics365/configurations/{id}/subjects -v -u {name}:{password} -X GET",
9766 "name": "getSubjects",
9767 "group": "Dynamics365_Configurations",
9768 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9770 "filename": "server/api/intDynamics365Configuration/index.js",
9771 "groupTitle": "Dynamics365_Configurations"
9775 "url": "/api/integrations/dynamics365/configurations/{id}",
9776 "title": "Update an existing Dynamics365 Configuration",
9779 "title": "Example usage:",
9780 "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",
9784 "name": "updateDynamics365_Configurations",
9785 "group": "Dynamics365_Configurations",
9786 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9788 "filename": "server/api/intDynamics365Configuration/index.js",
9789 "groupTitle": "Dynamics365_Configurations"
9793 "url": "/api/integrations/dynamics365/fields",
9794 "title": "Creates a new Dynamics365 Field",
9797 "title": "Example usage:",
9798 "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",
9802 "name": "CreateDynamics365_Fields",
9803 "group": "Dynamics365_Fields",
9813 "\"customVariable\"",
9841 "\"customVariable\""
9851 "field": "keyContent",
9865 "field": "nameField",
9872 "field": "customField",
9879 "field": "variableName",
9885 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9887 "filename": "server/api/intDynamics365Field/index.js",
9888 "groupTitle": "Dynamics365_Fields"
9892 "url": "/api/integrations/dynamics365/fields/{id}",
9893 "title": "Deletes a Dynamics365 Field",
9896 "title": "Example usage:",
9897 "content": "curl https://{domain}/api/integrations/dynamics365/fields/{id} -v -u {name}:{password} -X DELETE",
9901 "name": "DeleteDynamics365_Fields",
9902 "group": "Dynamics365_Fields",
9903 "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>",
9905 "filename": "server/api/intDynamics365Field/index.js",
9906 "groupTitle": "Dynamics365_Fields"
9910 "url": "/api/integrations/dynamics365/fields",
9911 "title": "Gets a list of Dynamics365 Fields",
9914 "title": "Example usage:",
9915 "content": "curl https://{domain}/api/integrations/dynamics365/fields -v -u {name}:{password}",
9919 "name": "GetDynamics365_Fields",
9920 "group": "Dynamics365_Fields",
9921 "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&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>",
9923 "filename": "server/api/intDynamics365Field/index.js",
9924 "groupTitle": "Dynamics365_Fields"
9928 "url": "/api/integrations/dynamics365/fields/{id}",
9929 "title": "Gets a single Dynamics365 Field",
9932 "title": "Example usage:",
9933 "content": "curl https://{domain}/api/integrations/dynamics365/fields/{id} -v -u {name}:{password}",
9937 "name": "ShowDynamics365_Fields",
9938 "group": "Dynamics365_Fields",
9939 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9941 "filename": "server/api/intDynamics365Field/index.js",
9942 "groupTitle": "Dynamics365_Fields"
9946 "url": "/api/integrations/dynamics365/fields/{id}",
9947 "title": "Update an existing Dynamics365 Field",
9950 "title": "Example usage:",
9951 "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",
9955 "name": "updateDynamics365_Fields",
9956 "group": "Dynamics365_Fields",
9957 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9959 "filename": "server/api/intDynamics365Field/index.js",
9960 "groupTitle": "Dynamics365_Fields"
9964 "url": "/api/fax/accounts/{id}/users",
9965 "title": "Add agents to a fax account",
9968 "title": "Example usage:",
9969 "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",
9973 "name": "AddAgents",
9974 "group": "Fax_Accounts",
9975 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
9977 "filename": "server/api/faxAccount/index.js",
9978 "groupTitle": "Fax_Accounts"
9982 "url": "/api/fax/accounts",
9983 "title": "Creates a new Account",
9986 "title": "Example usage:",
9987 "content": "curl https://{domain}/api/fax/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
9991 "name": "CreateAccounts",
9992 "group": "Fax_Accounts",
10007 "field": "description",
10025 "field": "headerinfo",
10032 "field": "localstationid",
10047 "field": "minrate",
10062 "field": "maxrate",
10076 "field": "gateway",
10083 "field": "faxdetect",
10090 "field": "t38timeout",
10117 "field": "notificationTemplate",
10124 "field": "notificationSound",
10131 "field": "notificationShake",
10138 "field": "waitForTheAssignedAgent",
10145 "field": "queueTransfer",
10152 "field": "queueTransferTimeout",
10159 "field": "agentTransfer",
10166 "field": "agentTransferTimeout",
10173 "field": "mandatoryDispositionPauseId",
10174 "description": "<p>Status to put when mandatory disposition is enabled</p>"
10180 "field": "mandatoryDisposition",
10181 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
10186 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10187 "version": "0.0.0",
10188 "filename": "server/api/faxAccount/index.js",
10189 "groupTitle": "Fax_Accounts"
10193 "url": "/api/fax/accounts/{id}",
10194 "title": "Deletes a Account",
10197 "title": "Example usage:",
10198 "content": "curl https://{domain}/api/fax/accounts/{id} -v -u {name}:{password} -X DELETE",
10202 "name": "DeleteAccounts",
10203 "group": "Fax_Accounts",
10204 "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>",
10205 "version": "0.0.0",
10206 "filename": "server/api/faxAccount/index.js",
10207 "groupTitle": "Fax_Accounts"
10211 "url": "/api/fax/accounts/describe",
10212 "title": "Gets table info about Accounts",
10215 "title": "Example usage:",
10216 "content": "curl https://{domain}/api/fax/accounts/describe -v -u {name}:{password}",
10220 "name": "DescribeAccounts",
10221 "group": "Fax_Accounts",
10222 "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>",
10223 "version": "0.0.0",
10224 "filename": "server/api/faxAccount/index.js",
10225 "groupTitle": "Fax_Accounts"
10229 "url": "/api/fax/accounts",
10230 "title": "Gets a list of Accounts",
10233 "title": "Example usage:",
10234 "content": "curl https://{domain}/api/fax/accounts -v -u {name}:{password}",
10238 "name": "GetAccounts",
10239 "group": "Fax_Accounts",
10240 "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&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>",
10241 "version": "0.0.0",
10242 "filename": "server/api/faxAccount/index.js",
10243 "groupTitle": "Fax_Accounts"
10247 "url": "/api/fax/accounts/{id}/users",
10248 "title": "Gets agents from fax account",
10251 "title": "Example usage:",
10252 "content": "curl https://{domain}/api/fax/accounts/{id}/users -v -u {name}:{password} -X GET",
10256 "name": "GetAgents",
10257 "group": "Fax_Accounts",
10258 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10259 "version": "0.0.0",
10260 "filename": "server/api/faxAccount/index.js",
10261 "groupTitle": "Fax_Accounts"
10265 "url": "/api/fax/accounts/{id}/users",
10266 "title": "Removes agents from a fax account",
10269 "title": "Example usage:",
10270 "content": "curl https://{domain}/api/fax/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
10274 "name": "RemoveAgents",
10275 "group": "Fax_Accounts",
10276 "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>",
10277 "version": "0.0.0",
10278 "filename": "server/api/faxAccount/index.js",
10279 "groupTitle": "Fax_Accounts"
10283 "url": "/api/fax/accounts/{id}/canned_answers",
10284 "title": "Removes canned answers from account",
10287 "title": "Example usage:",
10288 "content": "curl https://{domain}/api/fax/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
10292 "name": "RemoveAnswers",
10293 "group": "Fax_Accounts",
10294 "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>",
10295 "version": "0.0.0",
10296 "filename": "server/api/faxAccount/index.js",
10297 "groupTitle": "Fax_Accounts"
10301 "url": "/api/fax/accounts/{id}/dispositions",
10302 "title": "Removes dispositions from account",
10305 "title": "Example usage:",
10306 "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
10310 "name": "RemoveDispositions",
10311 "group": "Fax_Accounts",
10312 "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>",
10313 "version": "0.0.0",
10314 "filename": "server/api/faxAccount/index.js",
10315 "groupTitle": "Fax_Accounts"
10319 "url": "/api/fax/accounts/{id}",
10320 "title": "Gets a single Account",
10323 "title": "Example usage:",
10324 "content": "curl https://{domain}/api/fax/accounts/{id} -v -u {name}:{password}",
10328 "name": "ShowAccounts",
10329 "group": "Fax_Accounts",
10330 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10331 "version": "0.0.0",
10332 "filename": "server/api/faxAccount/index.js",
10333 "groupTitle": "Fax_Accounts"
10337 "url": "/api/fax/accounts/{id}/canned_answers",
10338 "title": "Creates new canned answer",
10341 "title": "Example usage:",
10342 "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",
10346 "name": "addAnswer",
10347 "group": "Fax_Accounts",
10369 "field": "description",
10382 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10383 "version": "0.0.0",
10384 "filename": "server/api/faxAccount/index.js",
10385 "groupTitle": "Fax_Accounts"
10389 "url": "/api/fax/accounts/addaccountapplications",
10390 "title": "Creates new account and applications",
10393 "title": "Example usage:",
10394 "content": "curl https://{domain}/api/fax/accounts/addaccountapplications -d '[{\"name\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10398 "name": "addApplications",
10399 "group": "Fax_Accounts",
10407 "field": "priority",
10421 "field": "appdata",
10428 "field": "description",
10435 "field": "interval",
10441 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10442 "version": "0.0.0",
10443 "filename": "server/api/faxAccount/index.js",
10444 "groupTitle": "Fax_Accounts"
10448 "url": "/api/fax/accounts/{id}/applications",
10449 "title": "Creates new applications",
10452 "title": "Example usage:",
10453 "content": "curl https://{domain}/api/fax/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10457 "name": "addApplications",
10458 "group": "Fax_Accounts",
10466 "field": "priority",
10480 "field": "appdata",
10487 "field": "description",
10494 "field": "interval",
10500 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10501 "version": "0.0.0",
10502 "filename": "server/api/faxAccount/index.js",
10503 "groupTitle": "Fax_Accounts"
10507 "url": "/api/fax/accounts/{id}/dispositions",
10508 "title": "Creates new disposition",
10511 "title": "Example usage:",
10512 "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10516 "name": "addDisposition",
10517 "group": "Fax_Accounts",
10544 "field": "description",
10550 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10551 "version": "0.0.0",
10552 "filename": "server/api/faxAccount/index.js",
10553 "groupTitle": "Fax_Accounts"
10557 "url": "/api/fax/accounts/{id}/interactions",
10558 "title": "Creates new interactions",
10561 "title": "Example usage:",
10562 "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",
10566 "name": "addInteraction",
10567 "group": "Fax_Accounts",
10582 "field": "closedAt",
10589 "field": "disposition",
10596 "field": "secondDisposition",
10603 "field": "thirdDisposition",
10617 "field": "read1stAt",
10635 "field": "firstMsgDirection",
10642 "field": "lastMsgAt",
10653 "field": "lastMsgDirection",
10659 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10660 "version": "0.0.0",
10661 "filename": "server/api/faxAccount/index.js",
10662 "groupTitle": "Fax_Accounts"
10666 "url": "/api/fax/accounts/{id}/canned_answers",
10667 "title": "Gets account canned answers",
10670 "title": "Example usage:",
10671 "content": "curl https://{domain}/api/fax/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
10675 "name": "getAnswers",
10676 "group": "Fax_Accounts",
10677 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10678 "version": "0.0.0",
10679 "filename": "server/api/faxAccount/index.js",
10680 "groupTitle": "Fax_Accounts"
10684 "url": "/api/fax/accounts/{id}/applications",
10685 "title": "Gets account pplications",
10688 "title": "Example usage:",
10689 "content": "curl https://{domain}/api/fax/accounts/{id}/applications -v -u {name}:{password} -X GET",
10693 "name": "getApplications",
10694 "group": "Fax_Accounts",
10695 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10696 "version": "0.0.0",
10697 "filename": "server/api/faxAccount/index.js",
10698 "groupTitle": "Fax_Accounts"
10702 "url": "/api/fax/accounts/{id}/dispositions",
10703 "title": "Gets account dispositions",
10706 "title": "Example usage:",
10707 "content": "curl https://{domain}/api/fax/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
10711 "name": "getDispositions",
10712 "group": "Fax_Accounts",
10713 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10714 "version": "0.0.0",
10715 "filename": "server/api/faxAccount/index.js",
10716 "groupTitle": "Fax_Accounts"
10720 "url": "/api/fax/accounts/{id}/interactions",
10721 "title": "Gets account interactions",
10724 "title": "Example usage:",
10725 "content": "curl https://{domain}/api/fax/accounts/{id}/interactions -v -u {name}:{password} -X GET",
10729 "name": "getInteraction",
10730 "group": "Fax_Accounts",
10731 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10732 "version": "0.0.0",
10733 "filename": "server/api/faxAccount/index.js",
10734 "groupTitle": "Fax_Accounts"
10738 "url": "/api/fax/accounts/{id}/messages",
10739 "title": "Gets account messages",
10742 "title": "Example usage:",
10743 "content": "curl https://{domain}/api/fax/accounts/{id}/messages -v -u {name}:{password} -X GET",
10747 "name": "getMessages",
10748 "group": "Fax_Accounts",
10749 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10750 "version": "0.0.0",
10751 "filename": "server/api/faxAccount/index.js",
10752 "groupTitle": "Fax_Accounts"
10756 "url": "/api/fax/accounts/{id}/send",
10757 "title": "Send new fax",
10760 "title": "Example usage:",
10761 "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",
10766 "group": "Fax_Accounts",
10767 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10768 "version": "0.0.0",
10769 "filename": "server/api/faxAccount/index.js",
10770 "groupTitle": "Fax_Accounts"
10774 "url": "/api/fax/accounts/{id}",
10775 "title": "Update an existing Account",
10778 "title": "Example usage:",
10779 "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",
10783 "name": "updateAccounts",
10784 "group": "Fax_Accounts",
10785 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10786 "version": "0.0.0",
10787 "filename": "server/api/faxAccount/index.js",
10788 "groupTitle": "Fax_Accounts"
10792 "url": "/api/fax/accounts/updateaccountapplications",
10793 "title": "Update account and applications",
10796 "title": "Example usage:",
10797 "content": "curl https://{domain}/api/fax/accounts/updateaccountapplications -d '[{\"name\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
10801 "name": "updateApplications",
10802 "group": "Fax_Accounts",
10810 "field": "priority",
10824 "field": "appdata",
10831 "field": "description",
10838 "field": "interval",
10844 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10845 "version": "0.0.0",
10846 "filename": "server/api/faxAccount/index.js",
10847 "groupTitle": "Fax_Accounts"
10851 "url": "/api/fax/applications",
10852 "title": "Creates a new Application",
10855 "title": "Example usage:",
10856 "content": "curl https://{domain}/api/fax/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
10860 "name": "CreateApplications",
10861 "group": "Fax_Applications",
10869 "field": "priority",
10883 "field": "appdata",
10890 "field": "description",
10897 "field": "interval",
10903 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10904 "version": "0.0.0",
10905 "filename": "server/api/faxApplication/index.js",
10906 "groupTitle": "Fax_Applications"
10910 "url": "/api/fax/applications/{id}",
10911 "title": "Deletes a Application",
10914 "title": "Example usage:",
10915 "content": "curl https://{domain}/api/fax/applications/{id} -v -u {name}:{password} -X DELETE",
10919 "name": "DeleteApplications",
10920 "group": "Fax_Applications",
10921 "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>",
10922 "version": "0.0.0",
10923 "filename": "server/api/faxApplication/index.js",
10924 "groupTitle": "Fax_Applications"
10928 "url": "/api/fax/applications",
10929 "title": "Gets a list of Applications",
10932 "title": "Example usage:",
10933 "content": "curl https://{domain}/api/fax/applications -v -u {name}:{password}",
10937 "name": "GetApplications",
10938 "group": "Fax_Applications",
10939 "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&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>",
10940 "version": "0.0.0",
10941 "filename": "server/api/faxApplication/index.js",
10942 "groupTitle": "Fax_Applications"
10946 "url": "/api/fax/applications/{id}",
10947 "title": "Gets a single Application",
10950 "title": "Example usage:",
10951 "content": "curl https://{domain}/api/fax/applications/{id} -v -u {name}:{password}",
10955 "name": "ShowApplications",
10956 "group": "Fax_Applications",
10957 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10958 "version": "0.0.0",
10959 "filename": "server/api/faxApplication/index.js",
10960 "groupTitle": "Fax_Applications"
10964 "url": "/api/fax/applications/{id}",
10965 "title": "Update an existing Application",
10968 "title": "Example usage:",
10969 "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",
10973 "name": "updateApplications",
10974 "group": "Fax_Applications",
10975 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10976 "version": "0.0.0",
10977 "filename": "server/api/faxApplication/index.js",
10978 "groupTitle": "Fax_Applications"
10982 "url": "/api/fax/interactions/{id}/tags",
10983 "title": "Add tags to the interaction",
10986 "title": "Example usage:",
10987 "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",
10992 "group": "Fax_Interactions",
10993 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
10994 "version": "0.0.0",
10995 "filename": "server/api/faxInteraction/index.js",
10996 "groupTitle": "Fax_Interactions"
11000 "url": "/api/fax/interactions",
11001 "title": "Creates a new Interaction",
11004 "title": "Example usage:",
11005 "content": "curl https://{domain}/api/fax/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
11009 "name": "CreateInteractions",
11010 "group": "Fax_Interactions",
11025 "field": "closedAt",
11032 "field": "disposition",
11039 "field": "secondDisposition",
11046 "field": "thirdDisposition",
11060 "field": "read1stAt",
11078 "field": "firstMsgDirection",
11085 "field": "lastMsgAt",
11096 "field": "lastMsgDirection",
11102 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11103 "version": "0.0.0",
11104 "filename": "server/api/faxInteraction/index.js",
11105 "groupTitle": "Fax_Interactions"
11109 "url": "/api/fax/interactions/{id}",
11110 "title": "Deletes a Interaction",
11113 "title": "Example usage:",
11114 "content": "curl https://{domain}/api/fax/interactions/{id} -v -u {name}:{password} -X DELETE",
11118 "name": "DeleteInteractions",
11119 "group": "Fax_Interactions",
11120 "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>",
11121 "version": "0.0.0",
11122 "filename": "server/api/faxInteraction/index.js",
11123 "groupTitle": "Fax_Interactions"
11127 "url": "/api/fax/interactions/describe",
11128 "title": "Gets table info about Interactions",
11131 "title": "Example usage:",
11132 "content": "curl https://{domain}/api/fax/interactions/describe -v -u {name}:{password}",
11136 "name": "DescribeInteractions",
11137 "group": "Fax_Interactions",
11138 "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>",
11139 "version": "0.0.0",
11140 "filename": "server/api/faxInteraction/index.js",
11141 "groupTitle": "Fax_Interactions"
11145 "url": "/api/fax/interactions",
11146 "title": "Gets a list of Interactions",
11149 "title": "Example usage:",
11150 "content": "curl https://{domain}/api/fax/interactions -v -u {name}:{password}",
11154 "name": "GetInteractions",
11155 "group": "Fax_Interactions",
11156 "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&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>",
11157 "version": "0.0.0",
11158 "filename": "server/api/faxInteraction/index.js",
11159 "groupTitle": "Fax_Interactions"
11163 "url": "/api/fax/interactions/{id}/tags",
11164 "title": "Removes tags from interaction",
11167 "title": "Example usage:",
11168 "content": "curl https://{domain}/api/fax/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
11172 "name": "RemoveTags",
11173 "group": "Fax_Interactions",
11174 "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>",
11175 "version": "0.0.0",
11176 "filename": "server/api/faxInteraction/index.js",
11177 "groupTitle": "Fax_Interactions"
11181 "url": "/api/fax/interactions/{id}",
11182 "title": "Gets a single Interaction",
11185 "title": "Example usage:",
11186 "content": "curl https://{domain}/api/fax/interactions/{id} -v -u {name}:{password}",
11190 "name": "ShowInteractions",
11191 "group": "Fax_Interactions",
11192 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11193 "version": "0.0.0",
11194 "filename": "server/api/faxInteraction/index.js",
11195 "groupTitle": "Fax_Interactions"
11199 "url": "/api/fax/interactions/{id}/messages",
11200 "title": "Creates new messages",
11203 "title": "Example usage:",
11204 "content": "curl https://{domain}/api/fax/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
11208 "name": "addMessage",
11209 "group": "Fax_Interactions",
11235 "field": "direction",
11242 "field": "failMessage",
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": "server/api/faxInteraction/index.js",
11258 "groupTitle": "Fax_Interactions"
11262 "url": "/api/fax/interactions/{id}/download",
11263 "title": "Get interactions",
11266 "title": "Example usage:",
11267 "content": "curl https://{domain}/api/fax/interactions/{id}/download -v -u {name}:{password} -X GET",
11271 "name": "download",
11272 "group": "Fax_Interactions",
11273 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11274 "version": "0.0.0",
11275 "filename": "server/api/faxInteraction/index.js",
11276 "groupTitle": "Fax_Interactions"
11280 "url": "/api/fax/interactions/{id}/messages",
11281 "title": "Gets interaction messages",
11284 "title": "Example usage:",
11285 "content": "curl https://{domain}/api/fax/interactions/{id}/messages -v -u {name}:{password} -X GET",
11289 "name": "getMessages",
11290 "group": "Fax_Interactions",
11291 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11292 "version": "0.0.0",
11293 "filename": "server/api/faxInteraction/index.js",
11294 "groupTitle": "Fax_Interactions"
11298 "url": "/api/fax/interactions/{id}",
11299 "title": "Update an existing Interaction",
11302 "title": "Example usage:",
11303 "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",
11307 "name": "updateInteractions",
11308 "group": "Fax_Interactions",
11309 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11310 "version": "0.0.0",
11311 "filename": "server/api/faxInteraction/index.js",
11312 "groupTitle": "Fax_Interactions"
11316 "url": "/api/fax/messages/{id}/download",
11317 "title": "Get message",
11320 "title": "Example usage:",
11321 "content": "curl https://{domain}/api/fax/messages/{id}/download -v -u {name}:{password} -X GET",
11325 "name": "download",
11326 "group": "Fax_Message",
11327 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11328 "version": "0.0.0",
11329 "filename": "server/api/faxMessage/index.js",
11330 "groupTitle": "Fax_Message"
11334 "url": "/api/fax/messages/{id}",
11335 "title": "Deletes a Message",
11338 "title": "Example usage:",
11339 "content": "curl https://{domain}/api/fax/messages/{id} -v -u {name}:{password} -X DELETE",
11343 "name": "DeleteMessages",
11344 "group": "Fax_Messages",
11345 "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>",
11346 "version": "0.0.0",
11347 "filename": "server/api/faxMessage/index.js",
11348 "groupTitle": "Fax_Messages"
11352 "url": "/api/fax/messages/describe",
11353 "title": "Gets table info about Messages",
11356 "title": "Example usage:",
11357 "content": "curl https://{domain}/api/fax/messages/describe -v -u {name}:{password}",
11361 "name": "DescribeMessages",
11362 "group": "Fax_Messages",
11363 "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>",
11364 "version": "0.0.0",
11365 "filename": "server/api/faxMessage/index.js",
11366 "groupTitle": "Fax_Messages"
11370 "url": "/api/fax/messages",
11371 "title": "Gets a list of Messages",
11374 "title": "Example usage:",
11375 "content": "curl https://{domain}/api/fax/messages -v -u {name}:{password}",
11379 "name": "GetMessages",
11380 "group": "Fax_Messages",
11381 "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&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>",
11382 "version": "0.0.0",
11383 "filename": "server/api/faxMessage/index.js",
11384 "groupTitle": "Fax_Messages"
11388 "url": "/api/fax/messages/{id}",
11389 "title": "Gets a single Message",
11392 "title": "Example usage:",
11393 "content": "curl https://{domain}/api/fax/messages/{id} -v -u {name}:{password}",
11397 "name": "ShowMessages",
11398 "group": "Fax_Messages",
11399 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11400 "version": "0.0.0",
11401 "filename": "server/api/faxMessage/index.js",
11402 "groupTitle": "Fax_Messages"
11406 "url": "/api/fax/messages/{id}/accept",
11407 "title": "Accepts message",
11410 "title": "Example usage:",
11411 "content": "curl https://{domain}/api/fax/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
11415 "name": "acceptMessage",
11416 "group": "Fax_Messages",
11417 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11418 "version": "0.0.0",
11419 "filename": "server/api/faxMessage/index.js",
11420 "groupTitle": "Fax_Messages"
11424 "url": "/api/fax/messages/{id}/reject",
11425 "title": "Rejects message",
11428 "title": "Example usage:",
11429 "content": "curl https://{domain}/api/fax/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
11433 "name": "rejectMessage",
11434 "group": "Fax_Messages",
11435 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11436 "version": "0.0.0",
11437 "filename": "server/api/faxMessage/index.js",
11438 "groupTitle": "Fax_Messages"
11442 "url": "/api/fax/messages",
11443 "title": "Create message and send Fax",
11446 "title": "Example usage:",
11447 "content": "curl https://{domain}/api/fax/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
11451 "name": "rejectMessage",
11452 "group": "Fax_Messages",
11453 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11454 "version": "0.0.0",
11455 "filename": "server/api/faxMessage/index.js",
11456 "groupTitle": "Fax_Messages"
11460 "url": "/api/fax/messages/{id}",
11461 "title": "Update an existing Message",
11464 "title": "Example usage:",
11465 "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",
11469 "name": "updateMessages",
11470 "group": "Fax_Messages",
11471 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11472 "version": "0.0.0",
11473 "filename": "server/api/faxMessage/index.js",
11474 "groupTitle": "Fax_Messages"
11478 "url": "/api/fax/reports/queue",
11479 "title": "Creates a new Fax Queue Report",
11482 "title": "Example usage:",
11483 "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",
11487 "name": "CreateFax_Queue_Reports",
11488 "group": "Fax_Queue_Reports",
11496 "field": "uniqueid",
11517 "field": "leaveAt",
11524 "field": "acceptAt",
11544 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11545 "version": "0.0.0",
11546 "filename": "server/api/faxQueueReport/index.js",
11547 "groupTitle": "Fax_Queue_Reports"
11551 "url": "/api/fax/reports/queue/{id}",
11552 "title": "Deletes a Fax Queue Report",
11555 "title": "Example usage:",
11556 "content": "curl https://{domain}/api/fax/reports/queue/{id} -v -u {name}:{password} -X DELETE",
11560 "name": "DeleteFax_Queue_Reports",
11561 "group": "Fax_Queue_Reports",
11562 "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>",
11563 "version": "0.0.0",
11564 "filename": "server/api/faxQueueReport/index.js",
11565 "groupTitle": "Fax_Queue_Reports"
11569 "url": "/api/fax/reports/queue/describe",
11570 "title": "Gets table info about Fax Queue Reports",
11573 "title": "Example usage:",
11574 "content": "curl https://{domain}/api/fax/reports/queue/describe -v -u {name}:{password}",
11578 "name": "DescribeFax_Queue_Reports",
11579 "group": "Fax_Queue_Reports",
11580 "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>",
11581 "version": "0.0.0",
11582 "filename": "server/api/faxQueueReport/index.js",
11583 "groupTitle": "Fax_Queue_Reports"
11587 "url": "/api/fax/reports/queue",
11588 "title": "Gets a list of Fax Queue Reports",
11591 "title": "Example usage:",
11592 "content": "curl https://{domain}/api/fax/reports/queue -v -u {name}:{password}",
11596 "name": "GetFax_Queue_Reports",
11597 "group": "Fax_Queue_Reports",
11598 "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&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>",
11599 "version": "0.0.0",
11600 "filename": "server/api/faxQueueReport/index.js",
11601 "groupTitle": "Fax_Queue_Reports"
11605 "url": "/api/fax/reports/queue/{id}",
11606 "title": "Gets a single Fax Queue Report",
11609 "title": "Example usage:",
11610 "content": "curl https://{domain}/api/fax/reports/queue/{id} -v -u {name}:{password}",
11614 "name": "ShowFax_Queue_Reports",
11615 "group": "Fax_Queue_Reports",
11616 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11617 "version": "0.0.0",
11618 "filename": "server/api/faxQueueReport/index.js",
11619 "groupTitle": "Fax_Queue_Reports"
11623 "url": "/api/fax/reports/queue/{id}",
11624 "title": "Update an existing Fax Queue Report",
11627 "title": "Example usage:",
11628 "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",
11632 "name": "updateFax_Queue_Reports",
11633 "group": "Fax_Queue_Reports",
11634 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11635 "version": "0.0.0",
11636 "filename": "server/api/faxQueueReport/index.js",
11637 "groupTitle": "Fax_Queue_Reports"
11641 "url": "/api/fax/queues/{id}/users",
11642 "title": "Add agents to a queue",
11645 "title": "Example usage:",
11646 "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",
11650 "name": "AddAgents",
11651 "group": "Fax_Queues",
11652 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11653 "version": "0.0.0",
11654 "filename": "server/api/faxQueue/index.js",
11655 "groupTitle": "Fax_Queues"
11659 "url": "/api/fax/queues/{id}/teams",
11660 "title": "Add teams to a queue",
11663 "title": "Example usage:",
11664 "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",
11668 "name": "AddTeams",
11669 "group": "Fax_Queues",
11670 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11671 "version": "0.0.0",
11672 "filename": "server/api/faxQueue/index.js",
11673 "groupTitle": "Fax_Queues"
11677 "url": "/api/fax/queues",
11678 "title": "Creates a new Queue",
11681 "title": "Example usage:",
11682 "content": "curl https://{domain}/api/fax/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
11686 "name": "CreateQueues",
11687 "group": "Fax_Queues",
11702 "field": "description",
11709 "field": "timeout",
11721 "field": "strategy",
11728 "field": "lastAgent",
11734 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11735 "version": "0.0.0",
11736 "filename": "server/api/faxQueue/index.js",
11737 "groupTitle": "Fax_Queues"
11741 "url": "/api/fax/queues/{id}",
11742 "title": "Deletes a Queue",
11745 "title": "Example usage:",
11746 "content": "curl https://{domain}/api/fax/queues/{id} -v -u {name}:{password} -X DELETE",
11750 "name": "DeleteQueues",
11751 "group": "Fax_Queues",
11752 "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>",
11753 "version": "0.0.0",
11754 "filename": "server/api/faxQueue/index.js",
11755 "groupTitle": "Fax_Queues"
11759 "url": "/api/fax/queues/describe",
11760 "title": "Gets table info about Queues",
11763 "title": "Example usage:",
11764 "content": "curl https://{domain}/api/fax/queues/describe -v -u {name}:{password}",
11768 "name": "DescribeQueues",
11769 "group": "Fax_Queues",
11770 "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>",
11771 "version": "0.0.0",
11772 "filename": "server/api/faxQueue/index.js",
11773 "groupTitle": "Fax_Queues"
11777 "url": "/api/fax/queues/{id}/users",
11778 "title": "Gets queue agents",
11781 "title": "Example usage:",
11782 "content": "curl https://{domain}/api/fax/queues/{id}/users -v -u {name}:{password} -X POST",
11786 "name": "GetAgents",
11787 "group": "Fax_Queues",
11788 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11789 "version": "0.0.0",
11790 "filename": "server/api/faxQueue/index.js",
11791 "groupTitle": "Fax_Queues"
11795 "url": "/api/fax/queues/{id}/members",
11796 "title": "GetMembers",
11799 "title": "Example usage:",
11800 "content": "curl https://{domain}/api/fax/queues/{id}/members -v -u {name}:{password}",
11804 "name": "GetMembers",
11805 "group": "Fax_Queues",
11806 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11807 "version": "0.0.0",
11808 "filename": "server/api/faxQueue/index.js",
11809 "groupTitle": "Fax_Queues"
11813 "url": "/api/fax/queues",
11814 "title": "Gets a list of Queues",
11817 "title": "Example usage:",
11818 "content": "curl https://{domain}/api/fax/queues -v -u {name}:{password}",
11822 "name": "GetQueues",
11823 "group": "Fax_Queues",
11824 "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&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>",
11825 "version": "0.0.0",
11826 "filename": "server/api/faxQueue/index.js",
11827 "groupTitle": "Fax_Queues"
11831 "url": "/api/fax/queues/{id}/teams",
11832 "title": "Gets queues list",
11835 "title": "Example usage:",
11836 "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password}",
11840 "name": "GetTeams",
11841 "group": "Fax_Queues",
11842 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11843 "version": "0.0.0",
11844 "filename": "server/api/faxQueue/index.js",
11845 "groupTitle": "Fax_Queues"
11849 "url": "/api/fax/queues/{id}/users",
11850 "title": "Removes agents from a queue",
11853 "title": "Example usage:",
11854 "content": "curl https://{domain}/api/fax/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
11858 "name": "RemoveAgents",
11859 "group": "Fax_Queues",
11860 "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>",
11861 "version": "0.0.0",
11862 "filename": "server/api/faxQueue/index.js",
11863 "groupTitle": "Fax_Queues"
11867 "url": "/api/fax/queues/{id}",
11868 "title": "Gets a single Queue",
11871 "title": "Example usage:",
11872 "content": "curl https://{domain}/api/fax/queues/{id} -v -u {name}:{password}",
11876 "name": "ShowQueues",
11877 "group": "Fax_Queues",
11878 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11879 "version": "0.0.0",
11880 "filename": "server/api/faxQueue/index.js",
11881 "groupTitle": "Fax_Queues"
11885 "url": "/api/fax/queues/{id}",
11886 "title": "Update an existing Queue",
11889 "title": "Example usage:",
11890 "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",
11894 "name": "updateQueues",
11895 "group": "Fax_Queues",
11896 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11897 "version": "0.0.0",
11898 "filename": "server/api/faxQueue/index.js",
11899 "groupTitle": "Fax_Queues"
11903 "url": "/api/fax/reports/transfer",
11904 "title": "Creates a new Fax Transfer Report",
11907 "title": "Example usage:",
11908 "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",
11912 "name": "CreateFax_Transfer_Reports",
11913 "group": "Fax_Transfer_Reports",
11921 "field": "uniqueid",
11940 "field": "transferredAt",
11946 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
11947 "version": "0.0.0",
11948 "filename": "server/api/faxTransferReport/index.js",
11949 "groupTitle": "Fax_Transfer_Reports"
11953 "url": "/api/fax/reports/transfer/{id}",
11954 "title": "Deletes a Fax Transfer Report",
11957 "title": "Example usage:",
11958 "content": "curl https://{domain}/api/fax/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
11962 "name": "DeleteFax_Transfer_Reports",
11963 "group": "Fax_Transfer_Reports",
11964 "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>",
11965 "version": "0.0.0",
11966 "filename": "server/api/faxTransferReport/index.js",
11967 "groupTitle": "Fax_Transfer_Reports"
11971 "url": "/api/fax/reports/transfer/describe",
11972 "title": "Gets table info about Fax Transfer Reports",
11975 "title": "Example usage:",
11976 "content": "curl https://{domain}/api/fax/reports/transfer/describe -v -u {name}:{password}",
11980 "name": "DescribeFax_Transfer_Reports",
11981 "group": "Fax_Transfer_Reports",
11982 "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>",
11983 "version": "0.0.0",
11984 "filename": "server/api/faxTransferReport/index.js",
11985 "groupTitle": "Fax_Transfer_Reports"
11989 "url": "/api/fax/reports/transfer",
11990 "title": "Gets a list of Fax Transfer Reports",
11993 "title": "Example usage:",
11994 "content": "curl https://{domain}/api/fax/reports/transfer -v -u {name}:{password}",
11998 "name": "GetFax_Transfer_Reports",
11999 "group": "Fax_Transfer_Reports",
12000 "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&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>",
12001 "version": "0.0.0",
12002 "filename": "server/api/faxTransferReport/index.js",
12003 "groupTitle": "Fax_Transfer_Reports"
12007 "url": "/api/fax/reports/transfer/{id}",
12008 "title": "Gets a single Fax Transfer Report",
12011 "title": "Example usage:",
12012 "content": "curl https://{domain}/api/fax/reports/transfer/{id} -v -u {name}:{password}",
12016 "name": "ShowFax_Transfer_Reports",
12017 "group": "Fax_Transfer_Reports",
12018 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12019 "version": "0.0.0",
12020 "filename": "server/api/faxTransferReport/index.js",
12021 "groupTitle": "Fax_Transfer_Reports"
12025 "url": "/api/fax/reports/transfer/{id}",
12026 "title": "Update an existing Fax Transfer Report",
12029 "title": "Example usage:",
12030 "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",
12034 "name": "updateFax_Transfer_Reports",
12035 "group": "Fax_Transfer_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": "server/api/faxTransferReport/index.js",
12039 "groupTitle": "Fax_Transfer_Reports"
12043 "url": "/api/integrations/freshdesk/accounts",
12044 "title": "Creates a new Freshdesk Account",
12047 "title": "Example usage:",
12048 "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",
12052 "name": "CreateFreshdesk_Accounts",
12053 "group": "Freshdesk_Accounts",
12068 "field": "description",
12075 "field": "username",
12089 "field": "remoteUri",
12096 "field": "serverUrl",
12102 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12103 "version": "0.0.0",
12104 "filename": "server/api/intFreshdeskAccount/index.js",
12105 "groupTitle": "Freshdesk_Accounts"
12109 "url": "/api/integrations/freshdesk/accounts/{id}",
12110 "title": "Deletes a Freshdesk Account",
12113 "title": "Example usage:",
12114 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id} -v -u {name}:{password} -X DELETE",
12118 "name": "DeleteFreshdesk_Accounts",
12119 "group": "Freshdesk_Accounts",
12120 "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>",
12121 "version": "0.0.0",
12122 "filename": "server/api/intFreshdeskAccount/index.js",
12123 "groupTitle": "Freshdesk_Accounts"
12127 "url": "/api/integrations/freshdesk/accounts",
12128 "title": "Gets a list of Freshdesk Accounts",
12131 "title": "Example usage:",
12132 "content": "curl https://{domain}/api/integrations/freshdesk/accounts -v -u {name}:{password}",
12136 "name": "GetFreshdesk_Accounts",
12137 "group": "Freshdesk_Accounts",
12138 "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&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>",
12139 "version": "0.0.0",
12140 "filename": "server/api/intFreshdeskAccount/index.js",
12141 "groupTitle": "Freshdesk_Accounts"
12145 "url": "/api/integrations/freshdesk/accounts/{id}",
12146 "title": "Gets a single Freshdesk Account",
12149 "title": "Example usage:",
12150 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id} -v -u {name}:{password}",
12154 "name": "ShowFreshdesk_Accounts",
12155 "group": "Freshdesk_Accounts",
12156 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12157 "version": "0.0.0",
12158 "filename": "server/api/intFreshdeskAccount/index.js",
12159 "groupTitle": "Freshdesk_Accounts"
12163 "url": "/api/integrations/freshdesk/accounts/{id}/configurations",
12164 "title": "Creates new configuration",
12167 "title": "Example usage:",
12168 "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",
12172 "name": "addConfiguration",
12173 "group": "Freshdesk_Accounts",
12174 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12175 "version": "0.0.0",
12176 "filename": "server/api/intFreshdeskAccount/index.js",
12177 "groupTitle": "Freshdesk_Accounts"
12181 "url": "/api/integrations/freshdesk/accounts/{id}/configurations",
12182 "title": "Gets account configurations",
12185 "title": "Example usage:",
12186 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
12190 "name": "getConfigurations",
12191 "group": "Freshdesk_Accounts",
12192 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12193 "version": "0.0.0",
12194 "filename": "server/api/intFreshdeskAccount/index.js",
12195 "groupTitle": "Freshdesk_Accounts"
12199 "url": "/api/integrations/freshdesk/accounts/{id}/fields",
12200 "title": "Gets account fields",
12203 "title": "Example usage:",
12204 "content": "curl https://{domain}/api/integrations/freshdesk/accounts/{id}/fields -v -u {name}:{password} -X GET",
12208 "name": "getFields",
12209 "group": "Freshdesk_Accounts",
12210 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12211 "version": "0.0.0",
12212 "filename": "server/api/intFreshdeskAccount/index.js",
12213 "groupTitle": "Freshdesk_Accounts"
12217 "url": "/api/integrations/freshdesk/accounts/{id}",
12218 "title": "Update an existing Freshdesk Account",
12221 "title": "Example usage:",
12222 "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",
12226 "name": "updateFreshdesk_Accounts",
12227 "group": "Freshdesk_Accounts",
12228 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12229 "version": "0.0.0",
12230 "filename": "server/api/intFreshdeskAccount/index.js",
12231 "groupTitle": "Freshdesk_Accounts"
12235 "url": "/api/integrations/freshdesk/configurations",
12236 "title": "Creates a new Freshdesk Configuration",
12239 "title": "Example usage:",
12240 "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",
12244 "name": "CreateFreshdesk_Configurations",
12245 "group": "Freshdesk_Configurations",
12260 "field": "description",
12266 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12267 "version": "0.0.0",
12268 "filename": "server/api/intFreshdeskConfiguration/index.js",
12269 "groupTitle": "Freshdesk_Configurations"
12273 "url": "/api/integrations/freshdesk/configurations/{id}",
12274 "title": "Deletes a Freshdesk Configuration",
12277 "title": "Example usage:",
12278 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id} -v -u {name}:{password} -X DELETE",
12282 "name": "DeleteFreshdesk_Configurations",
12283 "group": "Freshdesk_Configurations",
12284 "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>",
12285 "version": "0.0.0",
12286 "filename": "server/api/intFreshdeskConfiguration/index.js",
12287 "groupTitle": "Freshdesk_Configurations"
12291 "url": "/api/integrations/freshdesk/configurations",
12292 "title": "Gets a list of Freshdesk Configurations",
12295 "title": "Example usage:",
12296 "content": "curl https://{domain}/api/integrations/freshdesk/configurations -v -u {name}:{password}",
12300 "name": "GetFreshdesk_Configurations",
12301 "group": "Freshdesk_Configurations",
12302 "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&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>",
12303 "version": "0.0.0",
12304 "filename": "server/api/intFreshdeskConfiguration/index.js",
12305 "groupTitle": "Freshdesk_Configurations"
12309 "url": "/api/integrations/freshdesk/configurations/{id}",
12310 "title": "Gets a single Freshdesk Configuration",
12313 "title": "Example usage:",
12314 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id} -v -u {name}:{password}",
12318 "name": "ShowFreshdesk_Configurations",
12319 "group": "Freshdesk_Configurations",
12320 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12321 "version": "0.0.0",
12322 "filename": "server/api/intFreshdeskConfiguration/index.js",
12323 "groupTitle": "Freshdesk_Configurations"
12327 "url": "/api/integrations/freshdesk/configurations/{id}/descriptions",
12328 "title": "Gets configurations descriptions",
12331 "title": "Example usage:",
12332 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
12336 "name": "getDescriptions",
12337 "group": "Freshdesk_Configurations",
12338 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12339 "version": "0.0.0",
12340 "filename": "server/api/intFreshdeskConfiguration/index.js",
12341 "groupTitle": "Freshdesk_Configurations"
12345 "url": "/api/integrations/freshdesk/configurations/{id}/fields",
12346 "title": "Gets configurations fields",
12349 "title": "Example usage:",
12350 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/fields -v -u {name}:{password} -X GET",
12354 "name": "getFields",
12355 "group": "Freshdesk_Configurations",
12356 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12357 "version": "0.0.0",
12358 "filename": "server/api/intFreshdeskConfiguration/index.js",
12359 "groupTitle": "Freshdesk_Configurations"
12363 "url": "/api/integrations/freshdesk/configurations/{id}/subjects",
12364 "title": "Gets configurations subjects",
12367 "title": "Example usage:",
12368 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
12372 "name": "getSubjects",
12373 "group": "Freshdesk_Configurations",
12374 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12375 "version": "0.0.0",
12376 "filename": "server/api/intFreshdeskConfiguration/index.js",
12377 "groupTitle": "Freshdesk_Configurations"
12381 "url": "/api/integrations/freshdesk/configurations/{id}/tags",
12382 "title": "Gets configurations tags",
12385 "title": "Example usage:",
12386 "content": "curl https://{domain}/api/integrations/freshdesk/configurations/{id}/tags -v -u {name}:{password} -X GET",
12391 "group": "Freshdesk_Configurations",
12392 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12393 "version": "0.0.0",
12394 "filename": "server/api/intFreshdeskConfiguration/index.js",
12395 "groupTitle": "Freshdesk_Configurations"
12399 "url": "/api/integrations/freshdesk/configurations/{id}/tags",
12400 "title": "Sets new tags",
12403 "title": "Example usage:",
12404 "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",
12409 "group": "Freshdesk_Configurations",
12410 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12411 "version": "0.0.0",
12412 "filename": "server/api/intFreshdeskConfiguration/index.js",
12413 "groupTitle": "Freshdesk_Configurations"
12417 "url": "/api/integrations/freshdesk/configurations/{id}",
12418 "title": "Update an existing Freshdesk Configuration",
12421 "title": "Example usage:",
12422 "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",
12426 "name": "updateFreshdesk_Configurations",
12427 "group": "Freshdesk_Configurations",
12428 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12429 "version": "0.0.0",
12430 "filename": "server/api/intFreshdeskConfiguration/index.js",
12431 "groupTitle": "Freshdesk_Configurations"
12435 "url": "/api/integrations/freshdesk/fields",
12436 "title": "Creates a new Freshdesk Field",
12439 "title": "Example usage:",
12440 "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",
12444 "name": "CreateFreshdesk_Fields",
12445 "group": "Freshdesk_Fields",
12455 "\"customVariable\"",
12467 "field": "content",
12483 "\"customVariable\""
12486 "field": "keyType",
12493 "field": "keyContent",
12500 "field": "idField",
12507 "field": "nameField",
12514 "field": "customField",
12521 "field": "variableName",
12527 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12528 "version": "0.0.0",
12529 "filename": "server/api/intFreshdeskField/index.js",
12530 "groupTitle": "Freshdesk_Fields"
12534 "url": "/api/integrations/freshdesk/fields/{id}",
12535 "title": "Deletes a Freshdesk Field",
12538 "title": "Example usage:",
12539 "content": "curl https://{domain}/api/integrations/freshdesk/fields/{id} -v -u {name}:{password} -X DELETE",
12543 "name": "DeleteFreshdesk_Fields",
12544 "group": "Freshdesk_Fields",
12545 "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>",
12546 "version": "0.0.0",
12547 "filename": "server/api/intFreshdeskField/index.js",
12548 "groupTitle": "Freshdesk_Fields"
12552 "url": "/api/integrations/freshdesk/fields",
12553 "title": "Gets a list of Freshdesk Fields",
12556 "title": "Example usage:",
12557 "content": "curl https://{domain}/api/integrations/freshdesk/fields -v -u {name}:{password}",
12561 "name": "GetFreshdesk_Fields",
12562 "group": "Freshdesk_Fields",
12563 "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&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>",
12564 "version": "0.0.0",
12565 "filename": "server/api/intFreshdeskField/index.js",
12566 "groupTitle": "Freshdesk_Fields"
12570 "url": "/api/integrations/freshdesk/fields/{id}",
12571 "title": "Gets a single Freshdesk Field",
12574 "title": "Example usage:",
12575 "content": "curl https://{domain}/api/integrations/freshdesk/fields/{id} -v -u {name}:{password}",
12579 "name": "ShowFreshdesk_Fields",
12580 "group": "Freshdesk_Fields",
12581 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12582 "version": "0.0.0",
12583 "filename": "server/api/intFreshdeskField/index.js",
12584 "groupTitle": "Freshdesk_Fields"
12588 "url": "/api/integrations/freshdesk/fields/{id}",
12589 "title": "Update an existing Freshdesk Field",
12592 "title": "Example usage:",
12593 "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",
12597 "name": "updateFreshdesk_Fields",
12598 "group": "Freshdesk_Fields",
12599 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12600 "version": "0.0.0",
12601 "filename": "server/api/intFreshdeskField/index.js",
12602 "groupTitle": "Freshdesk_Fields"
12606 "url": "/api/integrations/freshsales/accounts",
12607 "title": "Creates a new Freshsales Account",
12610 "title": "Example usage:",
12611 "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",
12615 "name": "CreateFreshsales_Accounts",
12616 "group": "Freshsales_Accounts",
12631 "field": "description",
12638 "field": "username",
12652 "field": "remoteUri",
12659 "field": "serverUrl",
12665 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12666 "version": "0.0.0",
12667 "filename": "server/api/intFreshsalesAccount/index.js",
12668 "groupTitle": "Freshsales_Accounts"
12672 "url": "/api/integrations/freshsales/accounts/{id}",
12673 "title": "Deletes a Freshsales Account",
12676 "title": "Example usage:",
12677 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id} -v -u {name}:{password} -X DELETE",
12681 "name": "DeleteFreshsales_Accounts",
12682 "group": "Freshsales_Accounts",
12683 "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>",
12684 "version": "0.0.0",
12685 "filename": "server/api/intFreshsalesAccount/index.js",
12686 "groupTitle": "Freshsales_Accounts"
12690 "url": "/api/integrations/freshsales/accounts",
12691 "title": "Gets a list of Freshsales Accounts",
12694 "title": "Example usage:",
12695 "content": "curl https://{domain}/api/integrations/freshsales/accounts -v -u {name}:{password}",
12699 "name": "GetFreshsales_Accounts",
12700 "group": "Freshsales_Accounts",
12701 "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&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>",
12702 "version": "0.0.0",
12703 "filename": "server/api/intFreshsalesAccount/index.js",
12704 "groupTitle": "Freshsales_Accounts"
12708 "url": "/api/integrations/freshsales/accounts/{id}",
12709 "title": "Gets a single Freshsales Account",
12712 "title": "Example usage:",
12713 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id} -v -u {name}:{password}",
12717 "name": "ShowFreshsales_Accounts",
12718 "group": "Freshsales_Accounts",
12719 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12720 "version": "0.0.0",
12721 "filename": "server/api/intFreshsalesAccount/index.js",
12722 "groupTitle": "Freshsales_Accounts"
12726 "url": "/api/integrations/freshsales/accounts/{id}/configurations",
12727 "title": "Creates new configuration",
12730 "title": "Example usage:",
12731 "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",
12735 "name": "addConfiguration",
12736 "group": "Freshsales_Accounts",
12737 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12738 "version": "0.0.0",
12739 "filename": "server/api/intFreshsalesAccount/index.js",
12740 "groupTitle": "Freshsales_Accounts"
12744 "url": "/api/integrations/freshsales/accounts/{id}/configurations",
12745 "title": "Gets account configurations",
12748 "title": "Example usage:",
12749 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id}/configurations -v -u {name}:{password} -X GET",
12753 "name": "getConfigurations",
12754 "group": "Freshsales_Accounts",
12755 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12756 "version": "0.0.0",
12757 "filename": "server/api/intFreshsalesAccount/index.js",
12758 "groupTitle": "Freshsales_Accounts"
12762 "url": "/api/integrations/freshsales/accounts/{id}/fields",
12763 "title": "Gets account fields",
12766 "title": "Example usage:",
12767 "content": "curl https://{domain}/api/integrations/freshsales/accounts/{id}/fields -v -u {name}:{password} -X GET",
12771 "name": "getFields",
12772 "group": "Freshsales_Accounts",
12773 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12774 "version": "0.0.0",
12775 "filename": "server/api/intFreshsalesAccount/index.js",
12776 "groupTitle": "Freshsales_Accounts"
12780 "url": "/api/integrations/freshsales/accounts/{id}",
12781 "title": "Update an existing Freshsales Account",
12784 "title": "Example usage:",
12785 "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",
12789 "name": "updateFreshsales_Accounts",
12790 "group": "Freshsales_Accounts",
12791 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12792 "version": "0.0.0",
12793 "filename": "server/api/intFreshsalesAccount/index.js",
12794 "groupTitle": "Freshsales_Accounts"
12798 "url": "/api/integrations/freshsales/configurations",
12799 "title": "Creates a new Freshsales Configuration",
12802 "title": "Example usage:",
12803 "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",
12807 "name": "CreateFreshsales_Configurations",
12808 "group": "Freshsales_Configurations",
12823 "field": "description",
12829 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12830 "version": "0.0.0",
12831 "filename": "server/api/intFreshsalesConfiguration/index.js",
12832 "groupTitle": "Freshsales_Configurations"
12836 "url": "/api/integrations/freshsales/configurations/{id}",
12837 "title": "Deletes a Freshsales Configuration",
12840 "title": "Example usage:",
12841 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id} -v -u {name}:{password} -X DELETE",
12845 "name": "DeleteFreshsales_Configurations",
12846 "group": "Freshsales_Configurations",
12847 "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>",
12848 "version": "0.0.0",
12849 "filename": "server/api/intFreshsalesConfiguration/index.js",
12850 "groupTitle": "Freshsales_Configurations"
12854 "url": "/api/integrations/freshsales/configurations",
12855 "title": "Gets a list of Freshsales Configurations",
12858 "title": "Example usage:",
12859 "content": "curl https://{domain}/api/integrations/freshsales/configurations -v -u {name}:{password}",
12863 "name": "GetFreshsales_Configurations",
12864 "group": "Freshsales_Configurations",
12865 "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&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>",
12866 "version": "0.0.0",
12867 "filename": "server/api/intFreshsalesConfiguration/index.js",
12868 "groupTitle": "Freshsales_Configurations"
12872 "url": "/api/integrations/freshsales/configurations/{id}",
12873 "title": "Gets a single Freshsales Configuration",
12876 "title": "Example usage:",
12877 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id} -v -u {name}:{password}",
12881 "name": "ShowFreshsales_Configurations",
12882 "group": "Freshsales_Configurations",
12883 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12884 "version": "0.0.0",
12885 "filename": "server/api/intFreshsalesConfiguration/index.js",
12886 "groupTitle": "Freshsales_Configurations"
12890 "url": "/api/integrations/freshsales/configurations/{id}/descriptions",
12891 "title": "Gets configurations descriptions",
12894 "title": "Example usage:",
12895 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
12899 "name": "getDescriptions",
12900 "group": "Freshsales_Configurations",
12901 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12902 "version": "0.0.0",
12903 "filename": "server/api/intFreshsalesConfiguration/index.js",
12904 "groupTitle": "Freshsales_Configurations"
12908 "url": "/api/integrations/freshsales/configurations/{id}/fields",
12909 "title": "Gets configurations fields",
12912 "title": "Example usage:",
12913 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/fields -v -u {name}:{password} -X GET",
12917 "name": "getFields",
12918 "group": "Freshsales_Configurations",
12919 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12920 "version": "0.0.0",
12921 "filename": "server/api/intFreshsalesConfiguration/index.js",
12922 "groupTitle": "Freshsales_Configurations"
12926 "url": "/api/integrations/freshsales/configurations/{id}/subjects",
12927 "title": "Gets configurations subjects",
12930 "title": "Example usage:",
12931 "content": "curl https://{domain}/api/integrations/freshsales/configurations/{id}/subjects -v -u {name}:{password} -X GET",
12935 "name": "getSubjects",
12936 "group": "Freshsales_Configurations",
12937 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12938 "version": "0.0.0",
12939 "filename": "server/api/intFreshsalesConfiguration/index.js",
12940 "groupTitle": "Freshsales_Configurations"
12944 "url": "/api/integrations/freshsales/configurations/{id}",
12945 "title": "Update an existing Freshsales Configuration",
12948 "title": "Example usage:",
12949 "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",
12953 "name": "updateFreshsales_Configurations",
12954 "group": "Freshsales_Configurations",
12955 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
12956 "version": "0.0.0",
12957 "filename": "server/api/intFreshsalesConfiguration/index.js",
12958 "groupTitle": "Freshsales_Configurations"
12962 "url": "/api/integrations/freshsales/fields",
12963 "title": "Creates a new Freshsales Field",
12966 "title": "Example usage:",
12967 "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",
12971 "name": "CreateFreshsales_Fields",
12972 "group": "Freshsales_Fields",
12982 "\"customVariable\"",
12994 "field": "content",
13010 "\"customVariable\""
13013 "field": "keyType",
13020 "field": "keyContent",
13027 "field": "idField",
13034 "field": "nameField",
13041 "field": "customField",
13048 "field": "variableName",
13054 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13055 "version": "0.0.0",
13056 "filename": "server/api/intFreshsalesField/index.js",
13057 "groupTitle": "Freshsales_Fields"
13061 "url": "/api/integrations/freshsales/fields/{id}",
13062 "title": "Deletes a Freshsales Field",
13065 "title": "Example usage:",
13066 "content": "curl https://{domain}/api/integrations/freshsales/fields/{id} -v -u {name}:{password} -X DELETE",
13070 "name": "DeleteFreshsales_Fields",
13071 "group": "Freshsales_Fields",
13072 "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>",
13073 "version": "0.0.0",
13074 "filename": "server/api/intFreshsalesField/index.js",
13075 "groupTitle": "Freshsales_Fields"
13079 "url": "/api/integrations/freshsales/fields",
13080 "title": "Gets a list of Freshsales Fields",
13083 "title": "Example usage:",
13084 "content": "curl https://{domain}/api/integrations/freshsales/fields -v -u {name}:{password}",
13088 "name": "GetFreshsales_Fields",
13089 "group": "Freshsales_Fields",
13090 "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&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>",
13091 "version": "0.0.0",
13092 "filename": "server/api/intFreshsalesField/index.js",
13093 "groupTitle": "Freshsales_Fields"
13097 "url": "/api/integrations/freshsales/fields/{id}",
13098 "title": "Gets a single Freshsales Field",
13101 "title": "Example usage:",
13102 "content": "curl https://{domain}/api/integrations/freshsales/fields/{id} -v -u {name}:{password}",
13106 "name": "ShowFreshsales_Fields",
13107 "group": "Freshsales_Fields",
13108 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13109 "version": "0.0.0",
13110 "filename": "server/api/intFreshsalesField/index.js",
13111 "groupTitle": "Freshsales_Fields"
13115 "url": "/api/integrations/freshsales/fields/{id}",
13116 "title": "Update an existing Freshsales Field",
13119 "title": "Example usage:",
13120 "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",
13124 "name": "updateFreshsales_Fields",
13125 "group": "Freshsales_Fields",
13126 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13127 "version": "0.0.0",
13128 "filename": "server/api/intFreshsalesField/index.js",
13129 "groupTitle": "Freshsales_Fields"
13133 "url": "/api/campaigns/{id}/blacklists",
13134 "title": "Add blacklists to an IVR campaign",
13137 "title": "Example usage:",
13138 "content": "curl https://{domain}/api/campaigns/{id}/blacklists -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
13142 "name": "AddBlackLists",
13143 "group": "IVR_Campaigns",
13144 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13145 "version": "0.0.0",
13146 "filename": "server/api/campaign/index.js",
13147 "groupTitle": "IVR_Campaigns"
13151 "url": "/api/campaigns/{id}/lists",
13152 "title": "Add lists to an IVR campaign",
13155 "title": "Example usage:",
13156 "content": "curl https://{domain}/api/campaigns/{id}/lists -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
13160 "name": "AddLists",
13161 "group": "IVR_Campaigns",
13162 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13163 "version": "0.0.0",
13164 "filename": "server/api/campaign/index.js",
13165 "groupTitle": "IVR_Campaigns"
13169 "url": "/api/campaigns/clone",
13170 "title": "Clone an existing IVR Campaign",
13173 "title": "Example usage:",
13174 "content": "curl https://{domain}/api/campaigns/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13178 "name": "CloneIVR_Campaigns",
13179 "group": "IVR_Campaigns",
13180 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13181 "version": "0.0.0",
13182 "filename": "server/api/campaign/index.js",
13183 "groupTitle": "IVR_Campaigns"
13187 "url": "/api/campaigns",
13188 "title": "Creates a new IVR Campaign",
13191 "title": "Example usage:",
13192 "content": "curl https://{domain}/api/campaigns -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13196 "name": "CreateIVR_Campaigns",
13197 "group": "IVR_Campaigns",
13222 "field": "description",
13230 "description": "<p>Active/Disactive Campaign</p>"
13236 "field": "limitCalls",
13237 "description": "<p>Max 200 calls.</p>"
13243 "field": "dialOriginateCallerIdName",
13250 "field": "dialOriginateCallerIdNumber",
13257 "field": "dialOriginateTimeout",
13258 "description": "<p>Originate Timeout Seconds (min:1, max:999)</p>"
13264 "field": "dialCongestionMaxRetry",
13265 "description": "<p>#Congestion Retry (min:1, max:999)</p>"
13271 "field": "dialCongestionRetryFrequency",
13272 "description": "<p>Congestion Retry Frequency Minutes (min:1, max:99999)</p>"
13278 "field": "dialBusyMaxRetry",
13279 "description": "<p>#Busy Retry (min:1, max:999)</p>"
13285 "field": "dialBusyRetryFrequency",
13286 "description": "<p>Busy Retry Frequency Minutes (min:1, max:99999)</p>"
13292 "field": "dialNoAnswerMaxRetry",
13293 "description": "<p>#NoAnswer Retry (min:1, max:999)</p>"
13299 "field": "dialNoAnswerRetryFrequency",
13300 "description": "<p>NoAnswer Retry Frequency Minutes (min:1, max:99999)</p>"
13306 "field": "dialGlobalMaxRetry",
13307 "description": "<p>#Global Max Retry (min:1, max:999)</p>"
13313 "field": "dialTimezone",
13320 "field": "dialGlobalInterval",
13332 "field": "dialCheckDuplicateType",
13339 "field": "dialAMDActive",
13340 "description": "<p>Active/Disactive AMD</p>"
13346 "field": "dialAMDInitialSilence",
13347 "description": "<p>#AMD Initial Silence</p>"
13353 "field": "dialAMDGreeting",
13354 "description": "<p>#AMD Greeting</p>"
13360 "field": "dialAMDAfterGreetingSilence",
13361 "description": "<p>#AMD After Greeting Silence</p>"
13367 "field": "dialAMDTotalAnalysisTime",
13368 "description": "<p>#AMD Total Analysis Time</p>"
13374 "field": "dialAMDMinWordLength",
13375 "description": "<p>#AMD Min Word Length</p>"
13381 "field": "dialAMDBetweenWordsSilence",
13382 "description": "<p>#AMD Between Words Silence</p>"
13388 "field": "dialAMDMaximumNumberOfWords",
13389 "description": "<p>#AMD Maximum Number Of Words</p>"
13395 "field": "dialAMDSilenceThreshold",
13396 "description": "<p>#AMD Silence Threshold (min:0, max:32767)</p>"
13402 "field": "dialAMDMaximumWordLength",
13403 "description": "<p>#AMD Maximum Word Length</p>"
13413 "field": "dialOrderByScheduledAt",
13420 "field": "dialPrefix",
13427 "field": "dialRandomLastDigitCallerIdNumber",
13428 "description": "<p>Random Last Digit (min:1, max:15)</p>"
13434 "field": "dialCutDigit",
13435 "description": "<p>Cut Digit (min:1, max:15)</p>"
13441 "field": "dialNoSuchNumberMaxRetry",
13442 "description": "<p>#NoSuchNumber Retry (min:1, max:999)</p>"
13448 "field": "dialNoSuchNumberRetryFrequency",
13449 "description": "<p>NoSuchNumber Retry Frequency Minutes (min:1, max:99999)</p>"
13455 "field": "dialDropMaxRetry",
13456 "description": "<p>#Drop Retry (min:1, max:999)</p>"
13462 "field": "dialDropRetryFrequency",
13463 "description": "<p>Drop Retry Frequency Minutes (min:1, max:99999)</p>"
13469 "field": "dialAbandonedMaxRetry",
13470 "description": "<p>#Abandoned Retry (min:1, max:999)</p>"
13476 "field": "dialAbandonedRetryFrequency",
13477 "description": "<p>Abandoned Retry Frequency Minutes (min:1, max:99999)</p>"
13483 "field": "dialMachineMaxRetry",
13484 "description": "<p>#Machine Retry (min:1, max:999)</p>"
13490 "field": "dialMachineRetryFrequency",
13491 "description": "<p>Machine Retry Frequency Minutes (min:1, max:99999)</p>"
13497 "field": "dialAgentRejectMaxRetry",
13498 "description": "<p>#AgentReject Retry (min:1, max:999)</p>"
13504 "field": "dialAgentRejectRetryFrequency",
13505 "description": "<p>AgentReject Retry Frequency Minutes (min:1, max:99999)</p>"
13510 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13511 "version": "0.0.0",
13512 "filename": "server/api/campaign/index.js",
13513 "groupTitle": "IVR_Campaigns"
13517 "url": "/api/campaigns/{id}",
13518 "title": "Deletes a IVR Campaign",
13521 "title": "Example usage:",
13522 "content": "curl https://{domain}/api/campaigns/{id} -v -u {name}:{password} -X DELETE",
13526 "name": "DeleteIVR_Campaigns",
13527 "group": "IVR_Campaigns",
13528 "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>",
13529 "version": "0.0.0",
13530 "filename": "server/api/campaign/index.js",
13531 "groupTitle": "IVR_Campaigns"
13535 "url": "/api/campaigns/{id}/blacklists",
13536 "title": "Get IVR campaign blacklists",
13539 "title": "Example usage:",
13540 "content": "curl https://{domain}/api/campaigns/{id}/blacklists -v -u {name}:{password} -X GET",
13544 "name": "GetBlackLists",
13545 "group": "IVR_Campaigns",
13546 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13547 "version": "0.0.0",
13548 "filename": "server/api/campaign/index.js",
13549 "groupTitle": "IVR_Campaigns"
13553 "url": "/api/campaigns/{id}/finals",
13554 "title": "Gets IVR campaign hopper finals",
13557 "title": "Example usage:",
13558 "content": "curl https://{domain}/api/campaigns/{id}/hopper_finals -v -u {name}:{password} -X GET",
13562 "name": "GetHopperFinals",
13563 "group": "IVR_Campaigns",
13564 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13565 "version": "0.0.0",
13566 "filename": "server/api/campaign/index.js",
13567 "groupTitle": "IVR_Campaigns"
13571 "url": "/api/campaigns/{id}/hopper_histories",
13572 "title": "Gets IVR campaign hopper histories",
13575 "title": "Example usage:",
13576 "content": "curl https://{domain}/api/campaigns/{id}/hopper_histories -v -u {name}:{password} -X GET",
13580 "name": "GetHopperHistories",
13581 "group": "IVR_Campaigns",
13582 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13583 "version": "0.0.0",
13584 "filename": "server/api/campaign/index.js",
13585 "groupTitle": "IVR_Campaigns"
13589 "url": "/api/campaigns/{id}/hoppers",
13590 "title": "Gets IVR campaign hoppers",
13593 "title": "Example usage:",
13594 "content": "curl https://{domain}/api/campaigns/{id}/hoppers -v -u {name}:{password} -X GET",
13598 "name": "GetHoppers",
13599 "group": "IVR_Campaigns",
13600 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13601 "version": "0.0.0",
13602 "filename": "server/api/campaign/index.js",
13603 "groupTitle": "IVR_Campaigns"
13607 "url": "/api/campaigns",
13608 "title": "Gets a list of IVR Campaigns",
13611 "title": "Example usage:",
13612 "content": "curl https://{domain}/api/campaigns -v -u {name}:{password}",
13616 "name": "GetIVR_Campaigns",
13617 "group": "IVR_Campaigns",
13618 "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&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>",
13619 "version": "0.0.0",
13620 "filename": "server/api/campaign/index.js",
13621 "groupTitle": "IVR_Campaigns"
13625 "url": "/api/campaigns/{id}/lists",
13626 "title": "Get IVR campaign lists",
13629 "title": "Example usage:",
13630 "content": "curl https://{domain}/api/campaigns/{id}/lists -v -u {name}:{password} -X GET",
13634 "name": "GetLists",
13635 "group": "IVR_Campaigns",
13636 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13637 "version": "0.0.0",
13638 "filename": "server/api/campaign/index.js",
13639 "groupTitle": "IVR_Campaigns"
13643 "url": "/api/campaigns/{id}/blacklists",
13644 "title": "Remove blacklists from an IVR Campaign",
13647 "title": "Example usage:",
13648 "content": "curl https://{domain}/api/campaigns/{id}/blacklists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
13652 "name": "RemoveBlackLists",
13653 "group": "IVR_Campaigns",
13654 "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>",
13655 "version": "0.0.0",
13656 "filename": "server/api/campaign/index.js",
13657 "groupTitle": "IVR_Campaigns"
13661 "url": "/api/campaigns/{id}/lists",
13662 "title": "Remove lists from an IVR Campaign",
13665 "title": "Example usage:",
13666 "content": "curl https://{domain}/api/campaigns/{id}/lists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
13670 "name": "RemoveLists",
13671 "group": "IVR_Campaigns",
13672 "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>",
13673 "version": "0.0.0",
13674 "filename": "server/api/campaign/index.js",
13675 "groupTitle": "IVR_Campaigns"
13679 "url": "/api/campaigns/{id}",
13680 "title": "Gets a single IVR Campaign",
13683 "title": "Example usage:",
13684 "content": "curl https://{domain}/api/campaigns/{id} -v -u {name}:{password}",
13688 "name": "ShowIVR_Campaigns",
13689 "group": "IVR_Campaigns",
13690 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13691 "version": "0.0.0",
13692 "filename": "server/api/campaign/index.js",
13693 "groupTitle": "IVR_Campaigns"
13697 "url": "/api/campaigns/{id}/blacks",
13698 "title": "Gets IVR campaign hopper blacks",
13701 "title": "Example usage:",
13702 "content": "curl https://{domain}/api/campaigns/{id}/hopper_black -v -u {name}:{password} -X GET",
13706 "name": "getHopperBlacks",
13707 "group": "IVR_Campaigns",
13708 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13709 "version": "0.0.0",
13710 "filename": "server/api/campaign/index.js",
13711 "groupTitle": "IVR_Campaigns"
13715 "url": "/api/campaigns/{id}",
13716 "title": "Update an existing IVR Campaign",
13719 "title": "Example usage:",
13720 "content": "curl https://{domain}/api/campaigns/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
13724 "name": "updateIVR_Campaigns",
13725 "group": "IVR_Campaigns",
13726 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
13727 "version": "0.0.0",
13728 "filename": "server/api/campaign/index.js",
13729 "groupTitle": "IVR_Campaigns"
13733 "url": "/api/integrations/reports",
13734 "title": "Creates a new Integration Report",
13737 "title": "Example usage:",
13738 "content": "curl https://{domain}/api/integrations/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
13742 "name": "CreateIntegration_Reports",
13743 "group": "Integration_Reports",
13751 "field": "integration",
13758 "field": "eventChannel",
13765 "field": "exitStatus",
13772 "field": "ticketId",
13779 "field": "integrationId",
13786 "field": "contacts",
13793 "field": "uniqueid",
13800 "field": "calleridnum",
13807 "field": "calleridname",
13821 "field": "interface",
13828 "field": "membername",
13835 "field": "agentcalledAt",
13842 "field": "agentconnectAt",
13849 "field": "holdtime",
13856 "field": "agentcomplete",
13863 "field": "agentcompleteAt",
13870 "field": "talktime",
13877 "field": "agentacw",
13884 "field": "acwtime",
13898 "field": "agentringnoanswer",
13905 "field": "agentringnoanswerAt",
13912 "field": "agentdump",
13919 "field": "agentdumpAt",
13926 "field": "lastevent",
13933 "field": "channel",
13940 "field": "channelstate",
13947 "field": "channelstatedesc",
13954 "field": "connectedlinenum",
13961 "field": "connectedlinename",
13968 "field": "language",
13975 "field": "accountcode",
13982 "field": "context",
13996 "field": "priority",
14003 "field": "destchannel",
14010 "field": "destchannelstate",
14017 "field": "destchannelstatedesc",
14024 "field": "destcalleridnum",
14031 "field": "destcalleridname",
14038 "field": "destconnectedlinenum",
14045 "field": "destconnectedlinename",
14052 "field": "destlanguage",
14059 "field": "destaccountcode",
14066 "field": "destcontext",
14073 "field": "destexten",
14080 "field": "destpriority",
14087 "field": "destuniqueid",
14094 "field": "messageId",
14101 "field": "inReplyTo",
14108 "field": "subject",
14136 "field": "attachment",
14184 "field": "appdata",
14191 "field": "projectId",
14197 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14198 "version": "0.0.0",
14199 "filename": "server/api/integrationReport/index.js",
14200 "groupTitle": "Integration_Reports"
14204 "url": "/api/integrations/reports/{id}",
14205 "title": "Deletes a Integration Report",
14208 "title": "Example usage:",
14209 "content": "curl https://{domain}/api/integrations/reports/{id} -v -u {name}:{password} -X DELETE",
14213 "name": "DeleteIntegration_Reports",
14214 "group": "Integration_Reports",
14215 "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>",
14216 "version": "0.0.0",
14217 "filename": "server/api/integrationReport/index.js",
14218 "groupTitle": "Integration_Reports"
14222 "url": "/api/integrations/reports/describe",
14223 "title": "Gets table info about Integration Reports",
14226 "title": "Example usage:",
14227 "content": "curl https://{domain}/api/integrations/reports/describe -v -u {name}:{password}",
14231 "name": "DescribeIntegration_Reports",
14232 "group": "Integration_Reports",
14233 "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>",
14234 "version": "0.0.0",
14235 "filename": "server/api/integrationReport/index.js",
14236 "groupTitle": "Integration_Reports"
14240 "url": "/api/integrations/reports",
14241 "title": "Gets a list of Integration Reports",
14244 "title": "Example usage:",
14245 "content": "curl https://{domain}/api/integrations/reports -v -u {name}:{password}",
14249 "name": "GetIntegration_Reports",
14250 "group": "Integration_Reports",
14251 "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&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>",
14252 "version": "0.0.0",
14253 "filename": "server/api/integrationReport/index.js",
14254 "groupTitle": "Integration_Reports"
14258 "url": "/api/integrations/reports/{id}",
14259 "title": "Gets a single Integration Report",
14262 "title": "Example usage:",
14263 "content": "curl https://{domain}/api/integrations/reports/{id} -v -u {name}:{password}",
14267 "name": "ShowIntegration_Reports",
14268 "group": "Integration_Reports",
14269 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14270 "version": "0.0.0",
14271 "filename": "server/api/integrationReport/index.js",
14272 "groupTitle": "Integration_Reports"
14276 "url": "/api/integrations/reports/{id}",
14277 "title": "Update an existing Integration Report",
14280 "title": "Example usage:",
14281 "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",
14285 "name": "updateIntegration_Reports",
14286 "group": "Integration_Reports",
14287 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14288 "version": "0.0.0",
14289 "filename": "server/api/integrationReport/index.js",
14290 "groupTitle": "Integration_Reports"
14294 "url": "/api/intervals",
14295 "title": "Creates a new Interval",
14298 "title": "Example usage:",
14299 "content": "curl https://{domain}/api/intervals -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
14303 "name": "CreateIntervals",
14304 "group": "Intervals",
14319 "field": "description",
14326 "field": "interval",
14332 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14333 "version": "0.0.0",
14334 "filename": "server/api/interval/index.js",
14335 "groupTitle": "Intervals"
14339 "url": "/api/intervals/{id}",
14340 "title": "Deletes a Interval",
14343 "title": "Example usage:",
14344 "content": "curl https://{domain}/api/intervals/{id} -v -u {name}:{password} -X DELETE",
14348 "name": "DeleteIntervals",
14349 "group": "Intervals",
14350 "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>",
14351 "version": "0.0.0",
14352 "filename": "server/api/interval/index.js",
14353 "groupTitle": "Intervals"
14357 "url": "/api/intervals",
14358 "title": "Gets a list of Intervals",
14361 "title": "Example usage:",
14362 "content": "curl https://{domain}/api/intervals -v -u {name}:{password}",
14366 "name": "GetIntervals",
14367 "group": "Intervals",
14368 "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&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>",
14369 "version": "0.0.0",
14370 "filename": "server/api/interval/index.js",
14371 "groupTitle": "Intervals"
14375 "url": "/api/intervals/{id}",
14376 "title": "Gets a single Interval",
14379 "title": "Example usage:",
14380 "content": "curl https://{domain}/api/intervals/{id} -v -u {name}:{password}",
14384 "name": "ShowIntervals",
14385 "group": "Intervals",
14386 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14387 "version": "0.0.0",
14388 "filename": "server/api/interval/index.js",
14389 "groupTitle": "Intervals"
14393 "url": "/api/intervals/{id}/sub_intervals",
14394 "title": "Creates a new sub interval",
14397 "title": "Example usage:",
14398 "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",
14402 "name": "addInterval",
14403 "group": "Intervals",
14404 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14405 "version": "0.0.0",
14406 "filename": "server/api/interval/index.js",
14407 "groupTitle": "Intervals"
14411 "url": "/api/intervals/{id}/sub_intervals/create_many",
14412 "title": "Create new sub intervals set",
14415 "title": "Example usage:",
14416 "content": "curl https://{domain}/api/intervals/{id}/sub_intervals -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
14420 "name": "addIntervals",
14421 "group": "Intervals",
14422 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14423 "version": "0.0.0",
14424 "filename": "server/api/interval/index.js",
14425 "groupTitle": "Intervals"
14429 "url": "/api/intervals/{id}/sub_intervals",
14430 "title": "Get sub intervals set",
14433 "title": "Example usage:",
14434 "content": "curl https://{domain}/api/intervals/{id}/sub_intervals -v -u {name}:{password} -X GET",
14438 "name": "getIntervals",
14439 "group": "Intervals",
14440 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14441 "version": "0.0.0",
14442 "filename": "server/api/interval/index.js",
14443 "groupTitle": "Intervals"
14447 "url": "/api/intervals/{id}",
14448 "title": "Update an existing Interval",
14451 "title": "Example usage:",
14452 "content": "curl https://{domain}/api/intervals/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
14456 "name": "updateIntervals",
14457 "group": "Intervals",
14458 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14459 "version": "0.0.0",
14460 "filename": "server/api/interval/index.js",
14461 "groupTitle": "Intervals"
14465 "url": "/api/jira",
14466 "title": "Creates a new issue",
14469 "title": "Example usage:",
14470 "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}",
14474 "name": "Creates_Issue",
14486 "field": "issuetype",
14493 "field": "summary",
14500 "field": "description",
14506 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14507 "version": "0.0.0",
14508 "filename": "server/api/jira/index.js",
14509 "groupTitle": "Issue"
14513 "url": "/api/jscripty/answers/reports",
14514 "title": "Creates a new Report",
14517 "title": "Example usage:",
14518 "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",
14522 "name": "CreateReports",
14523 "group": "JscriptyAnswerReport",
14531 "field": "question",
14545 "field": "membername",
14552 "field": "projectname",
14566 "field": "uniqueid",
14573 "field": "calleridname",
14580 "field": "calleridnum",
14587 "field": "questionId",
14593 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14594 "version": "0.0.0",
14595 "filename": "server/api/jscriptyAnswerReport/index.js",
14596 "groupTitle": "JscriptyAnswerReport"
14600 "url": "/api/jscripty/answers/reports/{id}",
14601 "title": "Deletes a Report",
14604 "title": "Example usage:",
14605 "content": "curl https://{domain}/api/jscripty/answers/reports/{id} -v -u {name}:{password} -X DELETE",
14609 "name": "DeleteReports",
14610 "group": "JscriptyAnswerReport",
14611 "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>",
14612 "version": "0.0.0",
14613 "filename": "server/api/jscriptyAnswerReport/index.js",
14614 "groupTitle": "JscriptyAnswerReport"
14618 "url": "/api/jscripty/answers/reports/describe",
14619 "title": "Gets table info about Reports",
14622 "title": "Example usage:",
14623 "content": "curl https://{domain}/api/jscripty/answers/reports/describe -v -u {name}:{password}",
14627 "name": "DescribeReports",
14628 "group": "JscriptyAnswerReport",
14629 "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>",
14630 "version": "0.0.0",
14631 "filename": "server/api/jscriptyAnswerReport/index.js",
14632 "groupTitle": "JscriptyAnswerReport"
14636 "url": "/api/jscripty/answers/reports",
14637 "title": "Gets a list of Reports",
14640 "title": "Example usage:",
14641 "content": "curl https://{domain}/api/jscripty/answers/reports -v -u {name}:{password}",
14645 "name": "GetReports",
14646 "group": "JscriptyAnswerReport",
14647 "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&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>",
14648 "version": "0.0.0",
14649 "filename": "server/api/jscriptyAnswerReport/index.js",
14650 "groupTitle": "JscriptyAnswerReport"
14654 "url": "/api/jscripty/answers/reports/{id}",
14655 "title": "Gets a single Report",
14658 "title": "Example usage:",
14659 "content": "curl https://{domain}/api/jscripty/answers/reports/{id} -v -u {name}:{password}",
14663 "name": "ShowReports",
14664 "group": "JscriptyAnswerReport",
14665 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14666 "version": "0.0.0",
14667 "filename": "server/api/jscriptyAnswerReport/index.js",
14668 "groupTitle": "JscriptyAnswerReport"
14672 "url": "/api/jscripty/answers/reports/{id}",
14673 "title": "Update an existing Report",
14676 "title": "Example usage:",
14677 "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",
14681 "name": "updateReports",
14682 "group": "JscriptyAnswerReport",
14683 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14684 "version": "0.0.0",
14685 "filename": "server/api/jscriptyAnswerReport/index.js",
14686 "groupTitle": "JscriptyAnswerReport"
14690 "url": "/api/jscripty/questions/reports",
14691 "title": "Creates a new Report",
14694 "title": "Example usage:",
14695 "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",
14699 "name": "CreateReports",
14700 "group": "JscriptyQuestionReport",
14708 "field": "question",
14722 "field": "membername",
14729 "field": "projectname",
14743 "field": "uniqueid",
14750 "field": "calleridname",
14757 "field": "calleridnum",
14764 "field": "questionId",
14770 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14771 "version": "0.0.0",
14772 "filename": "server/api/jscriptyQuestionReport/index.js",
14773 "groupTitle": "JscriptyQuestionReport"
14777 "url": "/api/jscripty/questions/reports/{id}",
14778 "title": "Deletes a Report",
14781 "title": "Example usage:",
14782 "content": "curl https://{domain}/api/jscripty/questions/reports/{id} -v -u {name}:{password} -X DELETE",
14786 "name": "DeleteReports",
14787 "group": "JscriptyQuestionReport",
14788 "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>",
14789 "version": "0.0.0",
14790 "filename": "server/api/jscriptyQuestionReport/index.js",
14791 "groupTitle": "JscriptyQuestionReport"
14795 "url": "/api/jscripty/questions/reports/describe",
14796 "title": "Gets table info about Reports",
14799 "title": "Example usage:",
14800 "content": "curl https://{domain}/api/jscripty/questions/reports/describe -v -u {name}:{password}",
14804 "name": "DescribeReports",
14805 "group": "JscriptyQuestionReport",
14806 "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>",
14807 "version": "0.0.0",
14808 "filename": "server/api/jscriptyQuestionReport/index.js",
14809 "groupTitle": "JscriptyQuestionReport"
14813 "url": "/api/jscripty/questions/reports",
14814 "title": "Gets a list of Reports",
14817 "title": "Example usage:",
14818 "content": "curl https://{domain}/api/jscripty/questions/reports -v -u {name}:{password}",
14822 "name": "GetReports",
14823 "group": "JscriptyQuestionReport",
14824 "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&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>",
14825 "version": "0.0.0",
14826 "filename": "server/api/jscriptyQuestionReport/index.js",
14827 "groupTitle": "JscriptyQuestionReport"
14831 "url": "/api/jscripty/questions/reports/{id}",
14832 "title": "Gets a single Report",
14835 "title": "Example usage:",
14836 "content": "curl https://{domain}/api/jscripty/questions/reports/{id} -v -u {name}:{password}",
14840 "name": "ShowReports",
14841 "group": "JscriptyQuestionReport",
14842 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14843 "version": "0.0.0",
14844 "filename": "server/api/jscriptyQuestionReport/index.js",
14845 "groupTitle": "JscriptyQuestionReport"
14849 "url": "/api/jscripty/questions/reports/{id}",
14850 "title": "Update an existing Report",
14853 "title": "Example usage:",
14854 "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",
14858 "name": "updateReports",
14859 "group": "JscriptyQuestionReport",
14860 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14861 "version": "0.0.0",
14862 "filename": "server/api/jscriptyQuestionReport/index.js",
14863 "groupTitle": "JscriptyQuestionReport"
14867 "url": "/api/jscripty/sessions/reports",
14868 "title": "Creates a new Report",
14871 "title": "Example usage:",
14872 "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",
14876 "name": "CreateReports",
14877 "group": "JscriptySessionReport",
14885 "field": "starttime",
14892 "field": "endtime",
14899 "field": "membername",
14906 "field": "projectname",
14920 "field": "uniqueid",
14927 "field": "calleridname",
14934 "field": "calleridnum",
14941 "field": "completed",
14947 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
14948 "version": "0.0.0",
14949 "filename": "server/api/jscriptySessionReport/index.js",
14950 "groupTitle": "JscriptySessionReport"
14954 "url": "/api/jscripty/sessions/reports/{id}",
14955 "title": "Deletes a Report",
14958 "title": "Example usage:",
14959 "content": "curl https://{domain}/api/jscripty/sessions/reports/{id} -v -u {name}:{password} -X DELETE",
14963 "name": "DeleteReports",
14964 "group": "JscriptySessionReport",
14965 "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>",
14966 "version": "0.0.0",
14967 "filename": "server/api/jscriptySessionReport/index.js",
14968 "groupTitle": "JscriptySessionReport"
14972 "url": "/api/jscripty/sessions/reports/describe",
14973 "title": "Gets table info about Reports",
14976 "title": "Example usage:",
14977 "content": "curl https://{domain}/api/jscripty/sessions/reports/describe -v -u {name}:{password}",
14981 "name": "DescribeReports",
14982 "group": "JscriptySessionReport",
14983 "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>",
14984 "version": "0.0.0",
14985 "filename": "server/api/jscriptySessionReport/index.js",
14986 "groupTitle": "JscriptySessionReport"
14990 "url": "/api/jscripty/sessions/reports",
14991 "title": "Gets a list of Reports",
14994 "title": "Example usage:",
14995 "content": "curl https://{domain}/api/jscripty/sessions/reports -v -u {name}:{password}",
14999 "name": "GetReports",
15000 "group": "JscriptySessionReport",
15001 "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&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>",
15002 "version": "0.0.0",
15003 "filename": "server/api/jscriptySessionReport/index.js",
15004 "groupTitle": "JscriptySessionReport"
15008 "url": "/api/jscripty/sessions/reports/{id}",
15009 "title": "Gets a single Report",
15012 "title": "Example usage:",
15013 "content": "curl https://{domain}/api/jscripty/sessions/reports/{id} -v -u {name}:{password}",
15017 "name": "ShowReports",
15018 "group": "JscriptySessionReport",
15019 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15020 "version": "0.0.0",
15021 "filename": "server/api/jscriptySessionReport/index.js",
15022 "groupTitle": "JscriptySessionReport"
15026 "url": "/api/jscripty/sessions/reports/{id}/questions",
15027 "title": "Gets Jscripty Session questions",
15030 "title": "Example usage:",
15031 "content": "curl https://{domain}/api/jscripty/sessions/reports/{id}/questions -v -u {name}:{password} -X GET",
15035 "name": "getQuestions",
15036 "group": "JscriptySessionReport",
15037 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15038 "version": "0.0.0",
15039 "filename": "server/api/jscriptySessionReport/index.js",
15040 "groupTitle": "JscriptySessionReport"
15044 "url": "/api/jscripty/sessions/reports/{id}",
15045 "title": "Update an existing Report",
15048 "title": "Example usage:",
15049 "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",
15053 "name": "updateReports",
15054 "group": "JscriptySessionReport",
15055 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15056 "version": "0.0.0",
15057 "filename": "server/api/jscriptySessionReport/index.js",
15058 "groupTitle": "JscriptySessionReport"
15062 "url": "/api/jscripty/projects/clone",
15063 "title": "Clone an existing Project",
15066 "title": "Example usage:",
15067 "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",
15071 "name": "CloneProjects",
15072 "group": "Jscripty_Projects",
15073 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15074 "version": "0.0.0",
15075 "filename": "server/api/jscriptyProject/index.js",
15076 "groupTitle": "Jscripty_Projects"
15080 "url": "/api/jscripty/projects",
15081 "title": "Creates a new Project",
15084 "title": "Example usage:",
15085 "content": "curl https://{domain}/api/jscripty/projects -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
15089 "name": "CreateProjects",
15090 "group": "Jscripty_Projects",
15105 "field": "description",
15112 "field": "formData",
15119 "field": "enableUncompleteSave",
15126 "field": "sendUnpauseOnSubmit",
15132 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15133 "version": "0.0.0",
15134 "filename": "server/api/jscriptyProject/index.js",
15135 "groupTitle": "Jscripty_Projects"
15139 "url": "/api/jscripty/projects/{id}",
15140 "title": "Deletes a Project",
15143 "title": "Example usage:",
15144 "content": "curl https://{domain}/api/jscripty/projects/{id} -v -u {name}:{password} -X DELETE",
15148 "name": "DeleteProjects",
15149 "group": "Jscripty_Projects",
15150 "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>",
15151 "version": "0.0.0",
15152 "filename": "server/api/jscriptyProject/index.js",
15153 "groupTitle": "Jscripty_Projects"
15157 "url": "/api/jscripty/projects",
15158 "title": "Gets a list of Projects",
15161 "title": "Example usage:",
15162 "content": "curl https://{domain}/api/jscripty/projects -v -u {name}:{password}",
15166 "name": "GetProjects",
15167 "group": "Jscripty_Projects",
15168 "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&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>",
15169 "version": "0.0.0",
15170 "filename": "server/api/jscriptyProject/index.js",
15171 "groupTitle": "Jscripty_Projects"
15175 "url": "/api/jscripty/projects/{id}",
15176 "title": "Gets a single Project",
15179 "title": "Example usage:",
15180 "content": "curl https://{domain}/api/jscripty/projects/{id} -v -u {name}:{password}",
15184 "name": "ShowProjects",
15185 "group": "Jscripty_Projects",
15186 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15187 "version": "0.0.0",
15188 "filename": "server/api/jscriptyProject/index.js",
15189 "groupTitle": "Jscripty_Projects"
15193 "url": "/api/jscripty/projects/{id}/answers",
15194 "title": "Gets jscripty project answers",
15197 "title": "Example usage:",
15198 "content": "curl https://{domain}/api/jscripty/projects/{id}/answers -v -u {name}:{password} -X GET",
15202 "name": "getAnswers",
15203 "group": "Jscripty_Projects",
15204 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15205 "version": "0.0.0",
15206 "filename": "server/api/jscriptyProject/index.js",
15207 "groupTitle": "Jscripty_Projects"
15211 "url": "/api/jscripty/projects/{id}/sessions",
15212 "title": "Gets jscripty project sessions",
15215 "title": "Example usage:",
15216 "content": "curl https://{domain}/api/jscripty/projects/{id}/sessions -v -u {name}:{password} -X GET",
15220 "name": "getSessions",
15221 "group": "Jscripty_Projects",
15222 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15223 "version": "0.0.0",
15224 "filename": "server/api/jscriptyProject/index.js",
15225 "groupTitle": "Jscripty_Projects"
15229 "url": "/api/jscripty/projects/{id}/summary",
15230 "title": "Gets jscripty project summary",
15233 "title": "Example usage:",
15234 "content": "curl https://{domain}/api/jscripty/projects/{id}/summary -v -u {name}:{password} -X GET",
15238 "name": "getSummary",
15239 "group": "Jscripty_Projects",
15240 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15241 "version": "0.0.0",
15242 "filename": "server/api/jscriptyProject/index.js",
15243 "groupTitle": "Jscripty_Projects"
15247 "url": "/api/jscripty/projects/{id}",
15248 "title": "Update an existing Project",
15251 "title": "Example usage:",
15252 "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",
15256 "name": "updateProjects",
15257 "group": "Jscripty_Projects",
15258 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15259 "version": "0.0.0",
15260 "filename": "server/api/jscriptyProject/index.js",
15261 "groupTitle": "Jscripty_Projects"
15265 "url": "/api/license",
15266 "title": "Gets License Info",
15269 "title": "Example usage:",
15270 "content": "curl https://{domain}/api/license -v -u {name}:{password} -X GET",
15275 "group": "License",
15276 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15277 "version": "0.0.0",
15278 "filename": "server/api/license/index.js",
15279 "groupTitle": "License"
15283 "url": "/api/license/{id}",
15284 "title": "Update License Info",
15287 "title": "Example usage:",
15288 "content": "curl https://{domain}/api/license/{id} -v -u {name}:{password} -X PUT",
15293 "group": "License",
15294 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15295 "version": "0.0.0",
15296 "filename": "server/api/license/index.js",
15297 "groupTitle": "License"
15301 "url": "/api/mail/accounts/{id}/users",
15302 "title": "Add agents to a mail account",
15305 "title": "Example usage:",
15306 "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",
15310 "name": "AddAgents",
15311 "group": "Mail_Accounts",
15312 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15313 "version": "0.0.0",
15314 "filename": "server/api/mailAccount/index.js",
15315 "groupTitle": "Mail_Accounts"
15319 "url": "/api/mail/accounts/{id}/in_servers",
15320 "title": "Creates a new IMAP server",
15323 "title": "Example usage:",
15324 "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",
15329 "group": "Mail_Accounts",
15337 "field": "description",
15351 "field": "authentication",
15365 "field": "password",
15386 "field": "mailbox",
15393 "field": "connTimeout",
15400 "field": "authTimeout",
15407 "field": "service",
15413 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15414 "version": "0.0.0",
15415 "filename": "server/api/mailAccount/index.js",
15416 "groupTitle": "Mail_Accounts"
15420 "url": "/api/mail/accounts/{id}/out_servers",
15421 "title": "Creates a new SMTP server",
15424 "title": "Example usage:",
15425 "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",
15430 "group": "Mail_Accounts",
15438 "field": "description",
15480 "field": "service",
15487 "field": "authentication",
15493 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15494 "version": "0.0.0",
15495 "filename": "server/api/mailAccount/index.js",
15496 "groupTitle": "Mail_Accounts"
15500 "url": "/api/mail/accounts/{id}",
15501 "title": "Deletes a mail account",
15504 "title": "Example usage:",
15505 "content": "curl https://{domain}/api/mail/accounts/{id} -v -u {name}:{password} -X DELETE",
15509 "name": "DeleteMailAccounts",
15510 "group": "Mail_Accounts",
15511 "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>",
15512 "version": "0.0.0",
15513 "filename": "server/api/mailAccount/index.js",
15514 "groupTitle": "Mail_Accounts"
15518 "url": "/api/mail/accounts/describe",
15519 "title": "Gets table info about Accounts",
15522 "title": "Example usage:",
15523 "content": "curl https://{domain}/api/mail/accounts/describe -v -u {name}:{password}",
15527 "name": "DescribeAccounts",
15528 "group": "Mail_Accounts",
15529 "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>",
15530 "version": "0.0.0",
15531 "filename": "server/api/mailAccount/index.js",
15532 "groupTitle": "Mail_Accounts"
15536 "url": "/api/mail/accounts",
15537 "title": "Gets a list of Accounts",
15540 "title": "Example usage:",
15541 "content": "curl https://{domain}/api/mail/accounts -v -u {name}:{password}",
15545 "name": "GetAccounts",
15546 "group": "Mail_Accounts",
15547 "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&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>",
15548 "version": "0.0.0",
15549 "filename": "server/api/mailAccount/index.js",
15550 "groupTitle": "Mail_Accounts"
15554 "url": "/api/mail/accounts/{id}/users",
15555 "title": "Gets agents from mail account",
15558 "title": "Example usage:",
15559 "content": "curl https://{domain}/api/mail/accounts/{id}/users -v -u {name}:{password} -X GET",
15563 "name": "GetAgents",
15564 "group": "Mail_Accounts",
15565 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15566 "version": "0.0.0",
15567 "filename": "server/api/mailAccount/index.js",
15568 "groupTitle": "Mail_Accounts"
15572 "url": "/api/mail/accounts/{id}/in_servers",
15573 "title": "Gets account IMAP server",
15576 "title": "Example usage:",
15577 "content": "curl https://{domain}/api/mail/accounts/{id}/in_servers -v -u {name}:{password} -X GET",
15582 "group": "Mail_Accounts",
15583 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15584 "version": "0.0.0",
15585 "filename": "server/api/mailAccount/index.js",
15586 "groupTitle": "Mail_Accounts"
15590 "url": "/api/mail/accounts/{id}/out_servers",
15591 "title": "Gets account SMTP server",
15594 "title": "Example usage:",
15595 "content": "curl https://{domain}/api/mail/accounts/{id}/out_servers -v -u {name}:{password} -X GET",
15600 "group": "Mail_Accounts",
15601 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15602 "version": "0.0.0",
15603 "filename": "server/api/mailAccount/index.js",
15604 "groupTitle": "Mail_Accounts"
15608 "url": "/api/mail/accounts/{id}/users",
15609 "title": "Removes agents from a mail account",
15612 "title": "Example usage:",
15613 "content": "curl https://{domain}/api/mail/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
15617 "name": "RemoveAgents",
15618 "group": "Mail_Accounts",
15619 "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>",
15620 "version": "0.0.0",
15621 "filename": "server/api/mailAccount/index.js",
15622 "groupTitle": "Mail_Accounts"
15626 "url": "/api/mail/accounts/{id}/canned_answers",
15627 "title": "Removes canned answers from account",
15630 "title": "Example usage:",
15631 "content": "curl https://{domain}/api/mail/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
15635 "name": "RemoveAnswers",
15636 "group": "Mail_Accounts",
15637 "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>",
15638 "version": "0.0.0",
15639 "filename": "server/api/mailAccount/index.js",
15640 "groupTitle": "Mail_Accounts"
15644 "url": "/api/mail/accounts/{id}/dispositions",
15645 "title": "Removes dispositions from account",
15648 "title": "Example usage:",
15649 "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
15653 "name": "RemoveDispositions",
15654 "group": "Mail_Accounts",
15655 "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>",
15656 "version": "0.0.0",
15657 "filename": "server/api/mailAccount/index.js",
15658 "groupTitle": "Mail_Accounts"
15662 "url": "/api/mail/accounts/{id}/in_servers",
15663 "title": "Removes IMAP server from an account",
15666 "title": "Example usage:",
15667 "content": "curl https://{domain}/api/mail/accounts/{id}/in_servers -v -u {name}:{password} -X DELETE",
15671 "name": "RemoveImmap",
15672 "group": "Mail_Accounts",
15673 "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>",
15674 "version": "0.0.0",
15675 "filename": "server/api/mailAccount/index.js",
15676 "groupTitle": "Mail_Accounts"
15680 "url": "/api/mail/accounts/{id}/out_servers",
15681 "title": "Removes SMTP server from an account",
15684 "title": "Example usage:",
15685 "content": "curl https://{domain}/api/mail/accounts/{id}/out_servers -v -u {name}:{password} -X DELETE",
15689 "name": "RemoveSmtp",
15690 "group": "Mail_Accounts",
15691 "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>",
15692 "version": "0.0.0",
15693 "filename": "server/api/mailAccount/index.js",
15694 "groupTitle": "Mail_Accounts"
15698 "url": "/api/mail/accounts/{id}",
15699 "title": "Gets a single Account",
15702 "title": "Example usage:",
15703 "content": "curl https://{domain}/api/mail/accounts/{id} -v -u {name}:{password}",
15707 "name": "ShowAccounts",
15708 "group": "Mail_Accounts",
15709 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15710 "version": "0.0.0",
15711 "filename": "server/api/mailAccount/index.js",
15712 "groupTitle": "Mail_Accounts"
15716 "url": "/api/mail/accounts/{id}/canned_answers",
15717 "title": "Creates new canned answer",
15720 "title": "Example usage:",
15721 "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",
15725 "name": "addAnswer",
15726 "group": "Mail_Accounts",
15748 "field": "description",
15761 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15762 "version": "0.0.0",
15763 "filename": "server/api/mailAccount/index.js",
15764 "groupTitle": "Mail_Accounts"
15768 "url": "/api/mail/accounts/{id}/applications",
15769 "title": "Creates new applications",
15772 "title": "Example usage:",
15773 "content": "curl https://{domain}/api/mail/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
15777 "name": "addApplications",
15778 "group": "Mail_Accounts",
15786 "field": "priority",
15800 "field": "appdata",
15807 "field": "description",
15814 "field": "interval",
15820 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15821 "version": "0.0.0",
15822 "filename": "server/api/mailAccount/index.js",
15823 "groupTitle": "Mail_Accounts"
15827 "url": "/api/mail/accounts/{id}/dispositions",
15828 "title": "Creates new disposition",
15831 "title": "Example usage:",
15832 "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
15836 "name": "addDisposition",
15837 "group": "Mail_Accounts",
15864 "field": "description",
15870 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
15871 "version": "0.0.0",
15872 "filename": "server/api/mailAccount/index.js",
15873 "groupTitle": "Mail_Accounts"
15877 "url": "/api/mail/accounts/{id}/interactions",
15878 "title": "Creates new interactions",
15881 "title": "Example usage:",
15882 "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",
15886 "name": "addInteraction",
15887 "group": "Mail_Accounts",
15902 "field": "closedAt",
15909 "field": "disposition",
15916 "field": "secondDisposition",
15923 "field": "thirdDisposition",
15937 "field": "inReplyTo",
15958 "field": "subject",
15972 "field": "read1stAt",
15979 "field": "substatus",
15986 "field": "substatusAt",
15997 "field": "firstMsgDirection",
16004 "field": "lastMsgAt",
16015 "field": "lastMsgDirection",
16021 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16022 "version": "0.0.0",
16023 "filename": "server/api/mailAccount/index.js",
16024 "groupTitle": "Mail_Accounts"
16028 "url": "/api/mail/accounts",
16029 "title": "Create a mail account",
16032 "title": "Example usage:",
16033 "content": "curl https://{domain}/api/mail/accounts \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16038 "group": "Mail_Accounts",
16039 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16040 "version": "0.0.0",
16041 "filename": "server/api/mailAccount/index.js",
16042 "groupTitle": "Mail_Accounts"
16046 "url": "/api/mail/accounts/{id}/canned_answers",
16047 "title": "Gets account canned answers",
16050 "title": "Example usage:",
16051 "content": "curl https://{domain}/api/mail/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
16055 "name": "getAnswers",
16056 "group": "Mail_Accounts",
16057 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16058 "version": "0.0.0",
16059 "filename": "server/api/mailAccount/index.js",
16060 "groupTitle": "Mail_Accounts"
16064 "url": "/api/mail/accounts/{id}/applications",
16065 "title": "Gets account applications",
16068 "title": "Example usage:",
16069 "content": "curl https://{domain}/api/mail/accounts/{id}/applications -v -u {name}:{password} -X GET",
16073 "name": "getApplications",
16074 "group": "Mail_Accounts",
16075 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16076 "version": "0.0.0",
16077 "filename": "server/api/mailAccount/index.js",
16078 "groupTitle": "Mail_Accounts"
16082 "url": "/api/mail/accounts/{id}/dispositions",
16083 "title": "Gets account dispositions",
16086 "title": "Example usage:",
16087 "content": "curl https://{domain}/api/mail/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
16091 "name": "getDispositions",
16092 "group": "Mail_Accounts",
16093 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16094 "version": "0.0.0",
16095 "filename": "server/api/mailAccount/index.js",
16096 "groupTitle": "Mail_Accounts"
16100 "url": "/api/mail/accounts/{id}/interactions",
16101 "title": "Gets account interactions",
16104 "title": "Example usage:",
16105 "content": "curl https://{domain}/api/mail/accounts/{id}/interactions -v -u {name}:{password} -X GET",
16109 "name": "getInteraction",
16110 "group": "Mail_Accounts",
16111 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16112 "version": "0.0.0",
16113 "filename": "server/api/mailAccount/index.js",
16114 "groupTitle": "Mail_Accounts"
16118 "url": "/api/mail/accounts/{id}/messages",
16119 "title": "Gets account messages",
16122 "title": "Example usage:",
16123 "content": "curl https://{domain}/api/mail/accounts/{id}/messages -v -u {name}:{password} -X GET",
16127 "name": "getMessages",
16128 "group": "Mail_Accounts",
16129 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16130 "version": "0.0.0",
16131 "filename": "server/api/mailAccount/index.js",
16132 "groupTitle": "Mail_Accounts"
16136 "url": "/api/mail/accounts/{id}/send",
16137 "title": "Send new mail",
16140 "title": "Example usage:",
16141 "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",
16145 "name": "sendMail",
16146 "group": "Mail_Accounts",
16147 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16148 "version": "0.0.0",
16149 "filename": "server/api/mailAccount/index.js",
16150 "groupTitle": "Mail_Accounts"
16154 "url": "/api/mail/accounts/{id}",
16155 "title": "Update an existing Account",
16158 "title": "Example usage:",
16159 "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",
16163 "name": "updateAccounts",
16164 "group": "Mail_Accounts",
16165 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16166 "version": "0.0.0",
16167 "filename": "server/api/mailAccount/index.js",
16168 "groupTitle": "Mail_Accounts"
16172 "url": "/api/mail/accounts/{id}/verify",
16173 "title": "Verify mail account",
16176 "title": "Example usage:",
16177 "content": "curl https://{domain}/api/mail/accounts/{id}/verify -v -u {name}:{password} -X GET",
16181 "name": "verifySmtp",
16182 "group": "Mail_Accounts",
16183 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16184 "version": "0.0.0",
16185 "filename": "server/api/mailAccount/index.js",
16186 "groupTitle": "Mail_Accounts"
16190 "url": "/api/mail/applications/{id}",
16191 "title": "Deletes a Application",
16194 "title": "Example usage:",
16195 "content": "curl https://{domain}/api/mail/applications/{id} -v -u {name}:{password} -X DELETE",
16199 "name": "DeleteApplications",
16200 "group": "Mail_Applications",
16201 "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>",
16202 "version": "0.0.0",
16203 "filename": "server/api/mailApplication/index.js",
16204 "groupTitle": "Mail_Applications"
16208 "url": "/api/mail/applications/{id}",
16209 "title": "Gets a single Application",
16212 "title": "Example usage:",
16213 "content": "curl https://{domain}/api/mail/applications/{id} -v -u {name}:{password}",
16217 "name": "ShowApplications",
16218 "group": "Mail_Applications",
16219 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16220 "version": "0.0.0",
16221 "filename": "server/api/mailApplication/index.js",
16222 "groupTitle": "Mail_Applications"
16226 "url": "/api/mail/applications/{id}",
16227 "title": "Update an existing Application",
16230 "title": "Example usage:",
16231 "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",
16235 "name": "updateApplications",
16236 "group": "Mail_Applications",
16237 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16238 "version": "0.0.0",
16239 "filename": "server/api/mailApplication/index.js",
16240 "groupTitle": "Mail_Applications"
16244 "url": "/api/mail/interactions/{id}/tags",
16245 "title": "Add tags to the interaction",
16248 "title": "Example usage:",
16249 "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",
16254 "group": "Mail_Interactions",
16255 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16256 "version": "0.0.0",
16257 "filename": "server/api/mailInteraction/index.js",
16258 "groupTitle": "Mail_Interactions"
16262 "url": "/api/mail/interactions",
16263 "title": "Creates a new Interaction",
16266 "title": "Example usage:",
16267 "content": "curl https://{domain}/api/mail/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
16271 "name": "CreateInteractions",
16272 "group": "Mail_Interactions",
16287 "field": "closedAt",
16294 "field": "disposition",
16301 "field": "secondDisposition",
16308 "field": "thirdDisposition",
16322 "field": "inReplyTo",
16343 "field": "subject",
16357 "field": "read1stAt",
16364 "field": "substatus",
16371 "field": "substatusAt",
16382 "field": "firstMsgDirection",
16389 "field": "lastMsgAt",
16400 "field": "lastMsgDirection",
16406 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16407 "version": "0.0.0",
16408 "filename": "server/api/mailInteraction/index.js",
16409 "groupTitle": "Mail_Interactions"
16413 "url": "/api/mail/interactions/{id}",
16414 "title": "Deletes a Interaction",
16417 "title": "Example usage:",
16418 "content": "curl https://{domain}/api/mail/interactions/{id} -v -u {name}:{password} -X DELETE",
16422 "name": "DeleteInteractions",
16423 "group": "Mail_Interactions",
16424 "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>",
16425 "version": "0.0.0",
16426 "filename": "server/api/mailInteraction/index.js",
16427 "groupTitle": "Mail_Interactions"
16431 "url": "/api/mail/interactions/describe",
16432 "title": "Gets table info about Interactions",
16435 "title": "Example usage:",
16436 "content": "curl https://{domain}/api/mail/interactions/describe -v -u {name}:{password}",
16440 "name": "DescribeInteractions",
16441 "group": "Mail_Interactions",
16442 "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>",
16443 "version": "0.0.0",
16444 "filename": "server/api/mailInteraction/index.js",
16445 "groupTitle": "Mail_Interactions"
16449 "url": "/api/mail/interactions",
16450 "title": "Gets a list of Interactions",
16453 "title": "Example usage:",
16454 "content": "curl https://{domain}/api/mail/interactions -v -u {name}:{password}",
16458 "name": "GetInteractions",
16459 "group": "Mail_Interactions",
16460 "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&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>",
16461 "version": "0.0.0",
16462 "filename": "server/api/mailInteraction/index.js",
16463 "groupTitle": "Mail_Interactions"
16467 "url": "/api/mail/interactions/{id}/tags",
16468 "title": "Removes tags from interaction",
16471 "title": "Example usage:",
16472 "content": "curl https://{domain}/api/mail/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
16476 "name": "RemoveTags",
16477 "group": "Mail_Interactions",
16478 "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>",
16479 "version": "0.0.0",
16480 "filename": "server/api/mailInteraction/index.js",
16481 "groupTitle": "Mail_Interactions"
16485 "url": "/api/mail/interactions/{id}",
16486 "title": "Gets a single Interaction",
16489 "title": "Example usage:",
16490 "content": "curl https://{domain}/api/mail/interactions/{id} -v -u {name}:{password}",
16494 "name": "ShowInteractions",
16495 "group": "Mail_Interactions",
16496 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16497 "version": "0.0.0",
16498 "filename": "server/api/mailInteraction/index.js",
16499 "groupTitle": "Mail_Interactions"
16503 "url": "/api/mail/interactions/{id}/messages",
16504 "title": "Creates new message",
16507 "title": "Example usage:",
16508 "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",
16512 "name": "addMessage",
16513 "group": "Mail_Interactions",
16528 "field": "plainBody",
16546 "field": "direction",
16553 "field": "messageId",
16588 "field": "subject",
16623 "field": "originTo",
16630 "field": "originCc",
16641 "field": "originChannel",
16647 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16648 "version": "0.0.0",
16649 "filename": "server/api/mailInteraction/index.js",
16650 "groupTitle": "Mail_Interactions"
16654 "url": "/api/mail/interactions/{id}/download",
16655 "title": "Gets interaction",
16658 "title": "Example usage:",
16659 "content": "curl https://{domain}/api/mail/interactions/{id}/download -v -u {name}:{password} -X GET",
16663 "name": "download",
16664 "group": "Mail_Interactions",
16665 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16666 "version": "0.0.0",
16667 "filename": "server/api/mailInteraction/index.js",
16668 "groupTitle": "Mail_Interactions"
16672 "url": "/api/mail/interactions/{id}/messages",
16673 "title": "Gets interaction messages",
16676 "title": "Example usage:",
16677 "content": "curl https://{domain}/api/mail/interactions/{id}/messages -v -u {name}:{password} -X GET",
16681 "name": "getMessages",
16682 "group": "Mail_Interactions",
16683 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16684 "version": "0.0.0",
16685 "filename": "server/api/mailInteraction/index.js",
16686 "groupTitle": "Mail_Interactions"
16690 "url": "/api/mail/interactions/{id}",
16691 "title": "Update an existing Interaction",
16694 "title": "Example usage:",
16695 "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",
16699 "name": "updateInteractions",
16700 "group": "Mail_Interactions",
16701 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16702 "version": "0.0.0",
16703 "filename": "server/api/mailInteraction/index.js",
16704 "groupTitle": "Mail_Interactions"
16708 "url": "/api/mail/messages/{id}",
16709 "title": "Deletes a Message",
16712 "title": "Example usage:",
16713 "content": "curl https://{domain}/api/mail/messages/{id} -v -u {name}:{password} -X DELETE",
16717 "name": "DeleteMessages",
16718 "group": "Mail_Messages",
16719 "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>",
16720 "version": "0.0.0",
16721 "filename": "server/api/mailMessage/index.js",
16722 "groupTitle": "Mail_Messages"
16726 "url": "/api/mail/messages/describe",
16727 "title": "Gets table info about Messages",
16730 "title": "Example usage:",
16731 "content": "curl https://{domain}/api/mail/messages/describe -v -u {name}:{password}",
16735 "name": "DescribeMessages",
16736 "group": "Mail_Messages",
16737 "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>",
16738 "version": "0.0.0",
16739 "filename": "server/api/mailMessage/index.js",
16740 "groupTitle": "Mail_Messages"
16744 "url": "/api/mail/messages",
16745 "title": "Gets a list of Messages",
16748 "title": "Example usage:",
16749 "content": "curl https://{domain}/api/mail/messages -v -u {name}:{password}",
16753 "name": "GetMessages",
16754 "group": "Mail_Messages",
16755 "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&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>",
16756 "version": "0.0.0",
16757 "filename": "server/api/mailMessage/index.js",
16758 "groupTitle": "Mail_Messages"
16762 "url": "/api/mail/messages/{id}",
16763 "title": "Gets a single Message",
16766 "title": "Example usage:",
16767 "content": "curl https://{domain}/api/mail/messages/{id} -v -u {name}:{password}",
16771 "name": "ShowMessages",
16772 "group": "Mail_Messages",
16773 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16774 "version": "0.0.0",
16775 "filename": "server/api/mailMessage/index.js",
16776 "groupTitle": "Mail_Messages"
16780 "url": "/api/mail/messages/{id}/accept",
16781 "title": "Accepts message",
16784 "title": "Example usage:",
16785 "content": "curl https://{domain}/api/mail/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
16789 "name": "acceptMessage",
16790 "group": "Mail_Messages",
16791 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16792 "version": "0.0.0",
16793 "filename": "server/api/mailMessage/index.js",
16794 "groupTitle": "Mail_Messages"
16798 "url": "/api/mail/messages",
16799 "title": "Create a message",
16802 "title": "Example usage:",
16803 "content": "curl https://{domain}/api/mail/messages \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
16807 "name": "createMessage",
16808 "group": "Mail_Messages",
16809 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16810 "version": "0.0.0",
16811 "filename": "server/api/mailMessage/index.js",
16812 "groupTitle": "Mail_Messages"
16816 "url": "/api/mail/messages/{id}/download",
16817 "title": "Gets message",
16820 "title": "Example usage:",
16821 "content": "curl https://{domain}/api/mail/messages/{id}/download -v -u {name}:{password} -X GET",
16825 "name": "download",
16826 "group": "Mail_Messages",
16827 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16828 "version": "0.0.0",
16829 "filename": "server/api/mailMessage/index.js",
16830 "groupTitle": "Mail_Messages"
16834 "url": "/api/mail/messages/{id}/reject",
16835 "title": "Rejects message",
16838 "title": "Example usage:",
16839 "content": "curl https://{domain}/api/mail/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
16843 "name": "rejectMessage",
16844 "group": "Mail_Messages",
16845 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16846 "version": "0.0.0",
16847 "filename": "server/api/mailMessage/index.js",
16848 "groupTitle": "Mail_Messages"
16852 "url": "/api/mail/messages/{id}",
16853 "title": "Update an existing Message",
16856 "title": "Example usage:",
16857 "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",
16861 "name": "updateMessages",
16862 "group": "Mail_Messages",
16863 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16864 "version": "0.0.0",
16865 "filename": "server/api/mailMessage/index.js",
16866 "groupTitle": "Mail_Messages"
16870 "url": "/api/mail/reports/queue",
16871 "title": "Creates a new Mail Queue Report",
16874 "title": "Example usage:",
16875 "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",
16879 "name": "CreateMail_Queue_Reports",
16880 "group": "Mail_Queue_Reports",
16888 "field": "uniqueid",
16909 "field": "leaveAt",
16916 "field": "acceptAt",
16936 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
16937 "version": "0.0.0",
16938 "filename": "server/api/mailQueueReport/index.js",
16939 "groupTitle": "Mail_Queue_Reports"
16943 "url": "/api/mail/reports/queue/{id}",
16944 "title": "Deletes a Mail Queue Report",
16947 "title": "Example usage:",
16948 "content": "curl https://{domain}/api/mail/reports/queue/{id} -v -u {name}:{password} -X DELETE",
16952 "name": "DeleteMail_Queue_Reports",
16953 "group": "Mail_Queue_Reports",
16954 "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>",
16955 "version": "0.0.0",
16956 "filename": "server/api/mailQueueReport/index.js",
16957 "groupTitle": "Mail_Queue_Reports"
16961 "url": "/api/mail/reports/queue/describe",
16962 "title": "Gets table info about Mail Queue Reports",
16965 "title": "Example usage:",
16966 "content": "curl https://{domain}/api/mail/reports/queue/describe -v -u {name}:{password}",
16970 "name": "DescribeMail_Queue_Reports",
16971 "group": "Mail_Queue_Reports",
16972 "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>",
16973 "version": "0.0.0",
16974 "filename": "server/api/mailQueueReport/index.js",
16975 "groupTitle": "Mail_Queue_Reports"
16979 "url": "/api/mail/reports/queue",
16980 "title": "Gets a list of Mail Queue Reports",
16983 "title": "Example usage:",
16984 "content": "curl https://{domain}/api/mail/reports/queue -v -u {name}:{password}",
16988 "name": "GetMail_Queue_Reports",
16989 "group": "Mail_Queue_Reports",
16990 "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&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>",
16991 "version": "0.0.0",
16992 "filename": "server/api/mailQueueReport/index.js",
16993 "groupTitle": "Mail_Queue_Reports"
16997 "url": "/api/mail/reports/queue/{id}",
16998 "title": "Gets a single Mail Queue Report",
17001 "title": "Example usage:",
17002 "content": "curl https://{domain}/api/mail/reports/queue/{id} -v -u {name}:{password}",
17006 "name": "ShowMail_Queue_Reports",
17007 "group": "Mail_Queue_Reports",
17008 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17009 "version": "0.0.0",
17010 "filename": "server/api/mailQueueReport/index.js",
17011 "groupTitle": "Mail_Queue_Reports"
17015 "url": "/api/mail/reports/queue/{id}",
17016 "title": "Update an existing Mail Queue Report",
17019 "title": "Example usage:",
17020 "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",
17024 "name": "updateMail_Queue_Reports",
17025 "group": "Mail_Queue_Reports",
17026 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17027 "version": "0.0.0",
17028 "filename": "server/api/mailQueueReport/index.js",
17029 "groupTitle": "Mail_Queue_Reports"
17033 "url": "/api/mail/queues/{id}/users",
17034 "title": "Add agents to a queue",
17037 "title": "Example usage:",
17038 "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",
17042 "name": "AddAgents",
17043 "group": "Mail_Queues",
17044 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17045 "version": "0.0.0",
17046 "filename": "server/api/mailQueue/index.js",
17047 "groupTitle": "Mail_Queues"
17051 "url": "/api/mail/queues/{id}/teams",
17052 "title": "Add teams to a queue",
17055 "title": "Example usage:",
17056 "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",
17060 "name": "AddTeams",
17061 "group": "Mail_Queues",
17062 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17063 "version": "0.0.0",
17064 "filename": "server/api/mailQueue/index.js",
17065 "groupTitle": "Mail_Queues"
17069 "url": "/api/mail/queues",
17070 "title": "Creates a new Queue",
17073 "title": "Example usage:",
17074 "content": "curl https://{domain}/api/mail/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
17078 "name": "CreateQueues",
17079 "group": "Mail_Queues",
17094 "field": "description",
17101 "field": "timeout",
17113 "field": "strategy",
17119 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17120 "version": "0.0.0",
17121 "filename": "server/api/mailQueue/index.js",
17122 "groupTitle": "Mail_Queues"
17126 "url": "/api/mail/queues/{id}",
17127 "title": "Deletes a Queue",
17130 "title": "Example usage:",
17131 "content": "curl https://{domain}/api/mail/queues/{id} -v -u {name}:{password} -X DELETE",
17135 "name": "DeleteQueues",
17136 "group": "Mail_Queues",
17137 "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>",
17138 "version": "0.0.0",
17139 "filename": "server/api/mailQueue/index.js",
17140 "groupTitle": "Mail_Queues"
17144 "url": "/api/mail/queues/describe",
17145 "title": "Gets table info about Queues",
17148 "title": "Example usage:",
17149 "content": "curl https://{domain}/api/mail/queues/describe -v -u {name}:{password}",
17153 "name": "DescribeQueues",
17154 "group": "Mail_Queues",
17155 "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>",
17156 "version": "0.0.0",
17157 "filename": "server/api/mailQueue/index.js",
17158 "groupTitle": "Mail_Queues"
17162 "url": "/api/mail/queues/{id}/users",
17163 "title": "Gets queue agents",
17166 "title": "Example usage:",
17167 "content": "curl https://{domain}/api/mail/queues/{id}/users -v -u {name}:{password} -X POST",
17171 "name": "GetAgents",
17172 "group": "Mail_Queues",
17173 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17174 "version": "0.0.0",
17175 "filename": "server/api/mailQueue/index.js",
17176 "groupTitle": "Mail_Queues"
17180 "url": "/api/mail/queues/{id}/members",
17181 "title": "GetMembers",
17184 "title": "Example usage:",
17185 "content": "curl https://{domain}/api/mail/queues/{id}/members -v -u {name}:{password}",
17189 "name": "GetMembers",
17190 "group": "Mail_Queues",
17191 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17192 "version": "0.0.0",
17193 "filename": "server/api/mailQueue/index.js",
17194 "groupTitle": "Mail_Queues"
17198 "url": "/api/mail/queues",
17199 "title": "Gets a list of Queues",
17202 "title": "Example usage:",
17203 "content": "curl https://{domain}/api/mail/queues -v -u {name}:{password}",
17207 "name": "GetQueues",
17208 "group": "Mail_Queues",
17209 "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&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>",
17210 "version": "0.0.0",
17211 "filename": "server/api/mailQueue/index.js",
17212 "groupTitle": "Mail_Queues"
17216 "url": "/api/mail/queues/{id}/teams",
17217 "title": "Gets queues list",
17220 "title": "Example usage:",
17221 "content": "curl https://{domain}/api/mail/queues/{id}/teams -v -u {name}:{password}",
17225 "name": "GetTeams",
17226 "group": "Mail_Queues",
17227 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17228 "version": "0.0.0",
17229 "filename": "server/api/mailQueue/index.js",
17230 "groupTitle": "Mail_Queues"
17234 "url": "/api/mail/queues/{id}/users",
17235 "title": "Removes agents from a queue",
17238 "title": "Example usage:",
17239 "content": "curl https://{domain}/api/mail/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
17243 "name": "RemoveAgents",
17244 "group": "Mail_Queues",
17245 "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>",
17246 "version": "0.0.0",
17247 "filename": "server/api/mailQueue/index.js",
17248 "groupTitle": "Mail_Queues"
17252 "url": "/api/mail/queues/{id}",
17253 "title": "Gets a single Queue",
17256 "title": "Example usage:",
17257 "content": "curl https://{domain}/api/mail/queues/{id} -v -u {name}:{password}",
17261 "name": "ShowQueues",
17262 "group": "Mail_Queues",
17263 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17264 "version": "0.0.0",
17265 "filename": "server/api/mailQueue/index.js",
17266 "groupTitle": "Mail_Queues"
17270 "url": "/api/mail/queues/{id}",
17271 "title": "Update an existing Queue",
17274 "title": "Example usage:",
17275 "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",
17279 "name": "updateQueues",
17280 "group": "Mail_Queues",
17281 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17282 "version": "0.0.0",
17283 "filename": "server/api/mailQueue/index.js",
17284 "groupTitle": "Mail_Queues"
17288 "url": "/api/mail/out_servers",
17289 "title": "Creates a new SMTP",
17292 "title": "Example usage:",
17293 "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",
17297 "name": "CreateSMTPs",
17298 "group": "Mail_SMTP",
17306 "field": "description",
17348 "field": "service",
17355 "field": "authentication",
17361 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17362 "version": "0.0.0",
17363 "filename": "server/api/mailServerOut/index.js",
17364 "groupTitle": "Mail_SMTP"
17368 "url": "/api/mail/out_servers/{id}",
17369 "title": "Deletes a SMTP",
17372 "title": "Example usage:",
17373 "content": "curl https://{domain}/api/mail/out_servers/{id} -v -u {name}:{password} -X DELETE",
17377 "name": "DeleteSMTPs",
17378 "group": "Mail_SMTP",
17379 "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>",
17380 "version": "0.0.0",
17381 "filename": "server/api/mailServerOut/index.js",
17382 "groupTitle": "Mail_SMTP"
17386 "url": "/api/mail/out_servers",
17387 "title": "Gets a list of SMTPs",
17390 "title": "Example usage:",
17391 "content": "curl https://{domain}/api/mail/out_servers -v -u {name}:{password}",
17395 "name": "GetSMTPs",
17396 "group": "Mail_SMTP",
17397 "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&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>",
17398 "version": "0.0.0",
17399 "filename": "server/api/mailServerOut/index.js",
17400 "groupTitle": "Mail_SMTP"
17404 "url": "/api/mail/out_servers/{id}",
17405 "title": "Gets a single SMTP",
17408 "title": "Example usage:",
17409 "content": "curl https://{domain}/api/mail/out_servers/{id} -v -u {name}:{password}",
17413 "name": "ShowSMTPs",
17414 "group": "Mail_SMTP",
17415 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17416 "version": "0.0.0",
17417 "filename": "server/api/mailServerOut/index.js",
17418 "groupTitle": "Mail_SMTP"
17422 "url": "/api/mail/out_servers/{id}",
17423 "title": "Update an existing SMTP",
17426 "title": "Example usage:",
17427 "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",
17431 "name": "updateSMTPs",
17432 "group": "Mail_SMTP",
17433 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17434 "version": "0.0.0",
17435 "filename": "server/api/mailServerOut/index.js",
17436 "groupTitle": "Mail_SMTP"
17440 "url": "/api/mail/substatuses",
17441 "title": "Creates a new Queue",
17444 "title": "Example usage:",
17445 "content": "curl https://{domain}/api/mail/substatuses -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
17449 "name": "CreateSubstatuses",
17450 "group": "Mail_Substatuses",
17465 "field": "description",
17471 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17472 "version": "0.0.0",
17473 "filename": "server/api/mailSubstatus/index.js",
17474 "groupTitle": "Mail_Substatuses"
17478 "url": "/api/mail/substatuses/{id}",
17479 "title": "Deletes a Queue",
17482 "title": "Example usage:",
17483 "content": "curl https://{domain}/api/mail/substatuses/{id} -v -u {name}:{password} -X DELETE",
17487 "name": "DeleteSubstatuses",
17488 "group": "Mail_Substatuses",
17489 "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>",
17490 "version": "0.0.0",
17491 "filename": "server/api/mailSubstatus/index.js",
17492 "groupTitle": "Mail_Substatuses"
17496 "url": "/api/mail/substatuses/describe",
17497 "title": "Gets table info about Substatuses",
17500 "title": "Example usage:",
17501 "content": "curl https://{domain}/api/mail/substatuses/describe -v -u {name}:{password}",
17505 "name": "DescribeSubstatuses",
17506 "group": "Mail_Substatuses",
17507 "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>",
17508 "version": "0.0.0",
17509 "filename": "server/api/mailSubstatus/index.js",
17510 "groupTitle": "Mail_Substatuses"
17514 "url": "/api/mail/substatuses",
17515 "title": "Gets a list of Substatuses",
17518 "title": "Example usage:",
17519 "content": "curl https://{domain}/api/mail/substatuses -v -u {name}:{password}",
17523 "name": "GetSubstatuses",
17524 "group": "Mail_Substatuses",
17525 "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&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>",
17526 "version": "0.0.0",
17527 "filename": "server/api/mailSubstatus/index.js",
17528 "groupTitle": "Mail_Substatuses"
17532 "url": "/api/mail/substatuses/{id}",
17533 "title": "Gets a single Queue",
17536 "title": "Example usage:",
17537 "content": "curl https://{domain}/api/mail/substatuses/{id} -v -u {name}:{password}",
17541 "name": "ShowSubstatuses",
17542 "group": "Mail_Substatuses",
17543 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17544 "version": "0.0.0",
17545 "filename": "server/api/mailSubstatus/index.js",
17546 "groupTitle": "Mail_Substatuses"
17550 "url": "/api/mail/substatuses/{id}",
17551 "title": "Update an existing Queue",
17554 "title": "Example usage:",
17555 "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",
17559 "name": "updateSubstatuses",
17560 "group": "Mail_Substatuses",
17561 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17562 "version": "0.0.0",
17563 "filename": "server/api/mailSubstatus/index.js",
17564 "groupTitle": "Mail_Substatuses"
17568 "url": "/api/mail/reports/transfer",
17569 "title": "Creates a new Mail Transfer Report",
17572 "title": "Example usage:",
17573 "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",
17577 "name": "CreateMail_Transfer_Reports",
17578 "group": "Mail_Transfer_Reports",
17586 "field": "uniqueid",
17605 "field": "transferredAt",
17611 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17612 "version": "0.0.0",
17613 "filename": "server/api/mailTransferReport/index.js",
17614 "groupTitle": "Mail_Transfer_Reports"
17618 "url": "/api/mail/reports/transfer/{id}",
17619 "title": "Deletes a Mail Transfer Report",
17622 "title": "Example usage:",
17623 "content": "curl https://{domain}/api/mail/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
17627 "name": "DeleteMail_Transfer_Reports",
17628 "group": "Mail_Transfer_Reports",
17629 "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>",
17630 "version": "0.0.0",
17631 "filename": "server/api/mailTransferReport/index.js",
17632 "groupTitle": "Mail_Transfer_Reports"
17636 "url": "/api/mail/reports/transfer/describe",
17637 "title": "Gets table info about Mail Transfer Reports",
17640 "title": "Example usage:",
17641 "content": "curl https://{domain}/api/mail/reports/transfer/describe -v -u {name}:{password}",
17645 "name": "DescribeMail_Transfer_Reports",
17646 "group": "Mail_Transfer_Reports",
17647 "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>",
17648 "version": "0.0.0",
17649 "filename": "server/api/mailTransferReport/index.js",
17650 "groupTitle": "Mail_Transfer_Reports"
17654 "url": "/api/mail/reports/transfer",
17655 "title": "Gets a list of Mail Transfer Reports",
17658 "title": "Example usage:",
17659 "content": "curl https://{domain}/api/mail/reports/transfer -v -u {name}:{password}",
17663 "name": "GetMail_Transfer_Reports",
17664 "group": "Mail_Transfer_Reports",
17665 "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&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>",
17666 "version": "0.0.0",
17667 "filename": "server/api/mailTransferReport/index.js",
17668 "groupTitle": "Mail_Transfer_Reports"
17672 "url": "/api/mail/reports/transfer/{id}",
17673 "title": "Gets a single Mail Transfer Report",
17676 "title": "Example usage:",
17677 "content": "curl https://{domain}/api/mail/reports/transfer/{id} -v -u {name}:{password}",
17681 "name": "ShowMail_Transfer_Reports",
17682 "group": "Mail_Transfer_Reports",
17683 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17684 "version": "0.0.0",
17685 "filename": "server/api/mailTransferReport/index.js",
17686 "groupTitle": "Mail_Transfer_Reports"
17690 "url": "/api/mail/reports/transfer/{id}",
17691 "title": "Update an existing Mail Transfer Report",
17694 "title": "Example usage:",
17695 "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",
17699 "name": "updateMail_Transfer_Reports",
17700 "group": "Mail_Transfer_Reports",
17701 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17702 "version": "0.0.0",
17703 "filename": "server/api/mailTransferReport/index.js",
17704 "groupTitle": "Mail_Transfer_Reports"
17708 "url": "/api/members/reports/describe",
17709 "title": "Gets table info about Member Reports",
17712 "title": "Example usage:",
17713 "content": "curl https://{domain}/api/members/reports/describe -v -u {name}:{password}",
17717 "name": "DescribeMember_Reports",
17718 "group": "Member_Reports",
17719 "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>",
17720 "version": "0.0.0",
17721 "filename": "server/api/memberReport/index.js",
17722 "groupTitle": "Member_Reports"
17726 "url": "/api/members/reports",
17727 "title": "Gets a list of Member Reports",
17730 "title": "Example usage:",
17731 "content": "curl https://{domain}/api/members/reports -v -u {name}:{password}",
17735 "name": "GetMember_Reports",
17736 "group": "Member_Reports",
17737 "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&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>",
17738 "version": "0.0.0",
17739 "filename": "server/api/memberReport/index.js",
17740 "groupTitle": "Member_Reports"
17744 "url": "/api/members/reports/{id}",
17745 "title": "Gets a single Member Report",
17748 "title": "Example usage:",
17749 "content": "curl https://{domain}/api/members/reports/{id} -v -u {name}:{password}",
17753 "name": "ShowMember_Reports",
17754 "group": "Member_Reports",
17755 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17756 "version": "0.0.0",
17757 "filename": "server/api/memberReport/index.js",
17758 "groupTitle": "Member_Reports"
17762 "url": "/api/migrations",
17763 "title": "Gets a list of Migrations",
17766 "title": "Example usage:",
17767 "content": "curl https://{domain}/api/migrations -v -u {name}:{password}",
17771 "name": "GetMigrations",
17772 "group": "Migrations",
17773 "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&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>",
17774 "version": "0.0.0",
17775 "filename": "server/api/migration/index.js",
17776 "groupTitle": "Migrations"
17780 "url": "/api/voice/networks",
17781 "title": "Create a new network",
17784 "title": "Example usage:",
17785 "content": "curl https://{domain}/api/voice/networks -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
17790 "group": "Networks",
17791 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17792 "version": "0.0.0",
17793 "filename": "server/api/network/index.js",
17794 "groupTitle": "Networks"
17798 "url": "/api/voice/networks/{id}",
17799 "title": "Deletes a network",
17802 "title": "Example usage:",
17803 "content": "curl https://{domain}/api/voice/networks/{id} -v -u {name}:{password} -X DELETE",
17808 "group": "Networks",
17809 "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>",
17810 "version": "0.0.0",
17811 "filename": "server/api/network/index.js",
17812 "groupTitle": "Networks"
17816 "url": "/api/networks",
17817 "title": "Gets a list of Networks",
17820 "title": "Example usage:",
17821 "content": "curl https://{domain}/api/networks -v -u {name}:{password}",
17825 "name": "GetNetworks",
17826 "group": "Networks",
17827 "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&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>",
17828 "version": "0.0.0",
17829 "filename": "server/api/network/index.js",
17830 "groupTitle": "Networks"
17834 "url": "/api/networks/{id}",
17835 "title": "Gets a single Network",
17838 "title": "Example usage:",
17839 "content": "curl https://{domain}/api/networks/{id} -v -u {name}:{password}",
17843 "name": "ShowNetworks",
17844 "group": "Networks",
17845 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17846 "version": "0.0.0",
17847 "filename": "server/api/network/index.js",
17848 "groupTitle": "Networks"
17852 "url": "/api/voice/networks/{id}",
17853 "title": "Update an existing network",
17856 "title": "Example usage:",
17857 "content": "curl https://{domain}/api/voice/networks/{id} -v -u {name}:{password} -X PUT",
17862 "group": "Networks",
17863 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17864 "version": "0.0.0",
17865 "filename": "server/api/network/index.js",
17866 "groupTitle": "Networks"
17870 "url": "/api/openchannel/accounts/{id}/users",
17871 "title": "Add agents to a openchannel account",
17874 "title": "Example usage:",
17875 "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",
17879 "name": "AddAgents",
17880 "group": "Openchannel_Accounts",
17881 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
17882 "version": "0.0.0",
17883 "filename": "server/api/openchannelAccount/index.js",
17884 "groupTitle": "Openchannel_Accounts"
17888 "url": "/api/openchannel/accounts",
17889 "title": "Creates a new Account",
17892 "title": "Example usage:",
17893 "content": "curl https://{domain}/api/openchannel/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
17897 "name": "CreateAccounts",
17898 "group": "Openchannel_Accounts",
17913 "field": "description",
17927 "field": "replyUri",
17941 "field": "notificationTemplate",
17948 "field": "notificationSound",
17955 "field": "notificationShake",
17962 "field": "waitForTheAssignedAgent",
17976 "field": "queueTransfer",
17983 "field": "queueTransferTimeout",
17990 "field": "agentTransfer",
17997 "field": "agentTransferTimeout",
18004 "field": "mandatoryDispositionPauseId",
18005 "description": "<p>Status to put when mandatory disposition is enabled</p>"
18011 "field": "mandatoryDisposition",
18012 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
18017 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18018 "version": "0.0.0",
18019 "filename": "server/api/openchannelAccount/index.js",
18020 "groupTitle": "Openchannel_Accounts"
18024 "url": "/api/openchannel/accounts/{id}",
18025 "title": "Deletes a Account",
18028 "title": "Example usage:",
18029 "content": "curl https://{domain}/api/openchannel/accounts/{id} -v -u {name}:{password} -X DELETE",
18033 "name": "DeleteAccounts",
18034 "group": "Openchannel_Accounts",
18035 "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>",
18036 "version": "0.0.0",
18037 "filename": "server/api/openchannelAccount/index.js",
18038 "groupTitle": "Openchannel_Accounts"
18042 "url": "/api/openchannel/accounts/describe",
18043 "title": "Gets table info about Accounts",
18046 "title": "Example usage:",
18047 "content": "curl https://{domain}/api/openchannel/accounts/describe -v -u {name}:{password}",
18051 "name": "DescribeAccounts",
18052 "group": "Openchannel_Accounts",
18053 "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>",
18054 "version": "0.0.0",
18055 "filename": "server/api/openchannelAccount/index.js",
18056 "groupTitle": "Openchannel_Accounts"
18060 "url": "/api/openchannel/accounts",
18061 "title": "Gets a list of Accounts",
18064 "title": "Example usage:",
18065 "content": "curl https://{domain}/api/openchannel/accounts -v -u {name}:{password}",
18069 "name": "GetAccounts",
18070 "group": "Openchannel_Accounts",
18071 "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&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>",
18072 "version": "0.0.0",
18073 "filename": "server/api/openchannelAccount/index.js",
18074 "groupTitle": "Openchannel_Accounts"
18078 "url": "/api/openchannel/accounts/{id}/users",
18079 "title": "Gets agents from openchannel account",
18082 "title": "Example usage:",
18083 "content": "curl https://{domain}/api/openchannel/accounts/{id}/users -v -u {name}:{password} -X GET",
18087 "name": "GetAgents",
18088 "group": "Openchannel_Accounts",
18089 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18090 "version": "0.0.0",
18091 "filename": "server/api/openchannelAccount/index.js",
18092 "groupTitle": "Openchannel_Accounts"
18096 "url": "/api/openchannel/accounts/{id}/users",
18097 "title": "Removes agents from a openchannel account",
18100 "title": "Example usage:",
18101 "content": "curl https://{domain}/api/openchannel/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
18105 "name": "RemoveAgents",
18106 "group": "Openchannel_Accounts",
18107 "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>",
18108 "version": "0.0.0",
18109 "filename": "server/api/openchannelAccount/index.js",
18110 "groupTitle": "Openchannel_Accounts"
18114 "url": "/api/openchannel/accounts/{id}/canned_answers",
18115 "title": "Removes canned answers from account",
18118 "title": "Example usage:",
18119 "content": "curl https://{domain}/api/openchannel/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
18123 "name": "RemoveAnswers",
18124 "group": "Openchannel_Accounts",
18125 "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>",
18126 "version": "0.0.0",
18127 "filename": "server/api/openchannelAccount/index.js",
18128 "groupTitle": "Openchannel_Accounts"
18132 "url": "/api/openchannel/accounts/{id}/dispositions",
18133 "title": "Removes dispositions from account",
18136 "title": "Example usage:",
18137 "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
18141 "name": "RemoveDispositions",
18142 "group": "Openchannel_Accounts",
18143 "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>",
18144 "version": "0.0.0",
18145 "filename": "server/api/openchannelAccount/index.js",
18146 "groupTitle": "Openchannel_Accounts"
18150 "url": "/api/openchannel/accounts/{id}",
18151 "title": "Gets a single Account",
18154 "title": "Example usage:",
18155 "content": "curl https://{domain}/api/openchannel/accounts/{id} -v -u {name}:{password}",
18159 "name": "ShowAccounts",
18160 "group": "Openchannel_Accounts",
18161 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18162 "version": "0.0.0",
18163 "filename": "server/api/openchannelAccount/index.js",
18164 "groupTitle": "Openchannel_Accounts"
18168 "url": "/api/openchannel/accounts/{id}/canned_answers",
18169 "title": "Creates new canned answer",
18172 "title": "Example usage:",
18173 "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",
18177 "name": "addAnswer",
18178 "group": "Openchannel_Accounts",
18200 "field": "description",
18213 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18214 "version": "0.0.0",
18215 "filename": "server/api/openchannelAccount/index.js",
18216 "groupTitle": "Openchannel_Accounts"
18220 "url": "/api/openchannel/accounts/{id}/applications",
18221 "title": "Creates new applications",
18224 "title": "Example usage:",
18225 "content": "curl https://{domain}/api/openchannel/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
18229 "name": "addApplications",
18230 "group": "Openchannel_Accounts",
18238 "field": "priority",
18252 "field": "appdata",
18259 "field": "description",
18266 "field": "interval",
18272 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18273 "version": "0.0.0",
18274 "filename": "server/api/openchannelAccount/index.js",
18275 "groupTitle": "Openchannel_Accounts"
18279 "url": "/api/openchannel/accounts/{id}/dispositions",
18280 "title": "Creates new disposition",
18283 "title": "Example usage:",
18284 "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
18288 "name": "addDisposition",
18289 "group": "Openchannel_Accounts",
18316 "field": "description",
18322 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18323 "version": "0.0.0",
18324 "filename": "server/api/openchannelAccount/index.js",
18325 "groupTitle": "Openchannel_Accounts"
18329 "url": "/api/openchannel/accounts/{id}/canned_answers",
18330 "title": "Gets account canned answers",
18333 "title": "Example usage:",
18334 "content": "curl https://{domain}/api/openchannel/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
18338 "name": "getAnswers",
18339 "group": "Openchannel_Accounts",
18340 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18341 "version": "0.0.0",
18342 "filename": "server/api/openchannelAccount/index.js",
18343 "groupTitle": "Openchannel_Accounts"
18347 "url": "/api/openchannel/accounts/{id}/applications",
18348 "title": "Gets account applications",
18351 "title": "Example usage:",
18352 "content": "curl https://{domain}/api/openchannel/accounts/{id}/applications -v -u {name}:{password} -X GET",
18356 "name": "getApplications",
18357 "group": "Openchannel_Accounts",
18358 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18359 "version": "0.0.0",
18360 "filename": "server/api/openchannelAccount/index.js",
18361 "groupTitle": "Openchannel_Accounts"
18365 "url": "/api/openchannel/accounts/{id}/dispositions",
18366 "title": "Gets account dispositions",
18369 "title": "Example usage:",
18370 "content": "curl https://{domain}/api/openchannel/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
18374 "name": "getDispositions",
18375 "group": "Openchannel_Accounts",
18376 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18377 "version": "0.0.0",
18378 "filename": "server/api/openchannelAccount/index.js",
18379 "groupTitle": "Openchannel_Accounts"
18383 "url": "/api/openchannel/accounts/{id}/interactions",
18384 "title": "Gets Openchannel Account Interactions",
18387 "title": "Example usage:",
18388 "content": "curl https://{domain}/api/openchannel/accounts/{id}/interactions -v -u {name}:{password} -X GET",
18392 "name": "getInteractions",
18393 "group": "Openchannel_Accounts",
18394 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18395 "version": "0.0.0",
18396 "filename": "server/api/openchannelAccount/index.js",
18397 "groupTitle": "Openchannel_Accounts"
18401 "url": "/api/openchannel/accounts/{id}/notify",
18402 "title": "Notify new message",
18405 "title": "Example usage:",
18406 "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",
18411 "group": "Openchannel_Accounts",
18412 "description": "<p>Motion 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>",
18413 "version": "0.0.0",
18414 "filename": "server/api/openchannelAccount/index.js",
18415 "groupTitle": "Openchannel_Accounts"
18419 "url": "/api/openchannel/accounts/{id}/send",
18420 "title": "Send new openchannel message",
18423 "title": "Example usage:",
18424 "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",
18428 "name": "sendOpenchannel",
18429 "group": "Openchannel_Accounts",
18430 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18431 "version": "0.0.0",
18432 "filename": "server/api/openchannelAccount/index.js",
18433 "groupTitle": "Openchannel_Accounts"
18437 "url": "/api/openchannel/accounts/{id}",
18438 "title": "Update an existing Account",
18441 "title": "Example usage:",
18442 "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",
18446 "name": "updateAccounts",
18447 "group": "Openchannel_Accounts",
18448 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18449 "version": "0.0.0",
18450 "filename": "server/api/openchannelAccount/index.js",
18451 "groupTitle": "Openchannel_Accounts"
18455 "url": "/api/openchannel/applications",
18456 "title": "Creates a new Application",
18459 "title": "Example usage:",
18460 "content": "curl https://{domain}/api/openchannel/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18464 "name": "CreateApplications",
18465 "group": "Openchannel_Applications",
18473 "field": "priority",
18487 "field": "appdata",
18494 "field": "description",
18501 "field": "interval",
18507 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18508 "version": "0.0.0",
18509 "filename": "server/api/openchannelApplication/index.js",
18510 "groupTitle": "Openchannel_Applications"
18514 "url": "/api/openchannel/applications/{id}",
18515 "title": "Deletes a Application",
18518 "title": "Example usage:",
18519 "content": "curl https://{domain}/api/openchannel/applications/{id} -v -u {name}:{password} -X DELETE",
18523 "name": "DeleteApplications",
18524 "group": "Openchannel_Applications",
18525 "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>",
18526 "version": "0.0.0",
18527 "filename": "server/api/openchannelApplication/index.js",
18528 "groupTitle": "Openchannel_Applications"
18532 "url": "/api/openchannel/applications",
18533 "title": "Gets a list of Applications",
18536 "title": "Example usage:",
18537 "content": "curl https://{domain}/api/openchannel/applications -v -u {name}:{password}",
18541 "name": "GetApplications",
18542 "group": "Openchannel_Applications",
18543 "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&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>",
18544 "version": "0.0.0",
18545 "filename": "server/api/openchannelApplication/index.js",
18546 "groupTitle": "Openchannel_Applications"
18550 "url": "/api/openchannel/applications/{id}",
18551 "title": "Gets a single Application",
18554 "title": "Example usage:",
18555 "content": "curl https://{domain}/api/openchannel/applications/{id} -v -u {name}:{password}",
18559 "name": "ShowApplications",
18560 "group": "Openchannel_Applications",
18561 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18562 "version": "0.0.0",
18563 "filename": "server/api/openchannelApplication/index.js",
18564 "groupTitle": "Openchannel_Applications"
18568 "url": "/api/openchannel/applications/{id}",
18569 "title": "Update an existing Application",
18572 "title": "Example usage:",
18573 "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",
18577 "name": "updateApplications",
18578 "group": "Openchannel_Applications",
18579 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18580 "version": "0.0.0",
18581 "filename": "server/api/openchannelApplication/index.js",
18582 "groupTitle": "Openchannel_Applications"
18586 "url": "/api/openchannel/interactions/{id}/tags",
18587 "title": "Add tags to the interaction",
18590 "title": "Example usage:",
18591 "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",
18596 "group": "Openchannel_Interactions",
18597 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18598 "version": "0.0.0",
18599 "filename": "server/api/openchannelInteraction/index.js",
18600 "groupTitle": "Openchannel_Interactions"
18604 "url": "/api/openchannel/interactions",
18605 "title": "Creates a new Interaction",
18608 "title": "Example usage:",
18609 "content": "curl https://{domain}/api/openchannel/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18613 "name": "CreateInteractions",
18614 "group": "Openchannel_Interactions",
18629 "field": "closedAt",
18636 "field": "disposition",
18643 "field": "secondDisposition",
18650 "field": "thirdDisposition",
18664 "field": "read1stAt",
18671 "field": "threadId",
18678 "field": "externalUrl",
18685 "field": "lastMsgAt",
18696 "field": "lastMsgDirection",
18709 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18710 "version": "0.0.0",
18711 "filename": "server/api/openchannelInteraction/index.js",
18712 "groupTitle": "Openchannel_Interactions"
18716 "url": "/api/openchannel/interactions/{id}",
18717 "title": "Deletes a Interaction",
18720 "title": "Example usage:",
18721 "content": "curl https://{domain}/api/openchannel/interactions/{id} -v -u {name}:{password} -X DELETE",
18725 "name": "DeleteInteractions",
18726 "group": "Openchannel_Interactions",
18727 "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>",
18728 "version": "0.0.0",
18729 "filename": "server/api/openchannelInteraction/index.js",
18730 "groupTitle": "Openchannel_Interactions"
18734 "url": "/api/openchannel/interactions/describe",
18735 "title": "Gets table info about Interactions",
18738 "title": "Example usage:",
18739 "content": "curl https://{domain}/api/openchannel/interactions/describe -v -u {name}:{password}",
18743 "name": "DescribeInteractions",
18744 "group": "Openchannel_Interactions",
18745 "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>",
18746 "version": "0.0.0",
18747 "filename": "server/api/openchannelInteraction/index.js",
18748 "groupTitle": "Openchannel_Interactions"
18752 "url": "/api/openchannel/interactions",
18753 "title": "Gets a list of Interactions",
18756 "title": "Example usage:",
18757 "content": "curl https://{domain}/api/openchannel/interactions -v -u {name}:{password}",
18761 "name": "GetInteractions",
18762 "group": "Openchannel_Interactions",
18763 "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&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>",
18764 "version": "0.0.0",
18765 "filename": "server/api/openchannelInteraction/index.js",
18766 "groupTitle": "Openchannel_Interactions"
18770 "url": "/api/openchannel/interactions/{id}/tags",
18771 "title": "Removes tags from interaction",
18774 "title": "Example usage:",
18775 "content": "curl https://{domain}/api/openchannel/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
18779 "name": "RemoveTags",
18780 "group": "Openchannel_Interactions",
18781 "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>",
18782 "version": "0.0.0",
18783 "filename": "server/api/openchannelInteraction/index.js",
18784 "groupTitle": "Openchannel_Interactions"
18788 "url": "/api/openchannel/interactions/{id}",
18789 "title": "Gets a single Interaction",
18792 "title": "Example usage:",
18793 "content": "curl https://{domain}/api/openchannel/interactions/{id} -v -u {name}:{password}",
18797 "name": "ShowInteractions",
18798 "group": "Openchannel_Interactions",
18799 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18800 "version": "0.0.0",
18801 "filename": "server/api/openchannelInteraction/index.js",
18802 "groupTitle": "Openchannel_Interactions"
18806 "url": "/api/openchannel/interactions/{id}/messages",
18807 "title": "Creates new messages",
18810 "title": "Example usage:",
18811 "content": "curl https://{domain}/api/openchannel/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
18815 "name": "addMessage",
18816 "group": "Openchannel_Interactions",
18849 "field": "direction",
18863 "field": "providerName",
18870 "field": "providerResponse",
18876 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18877 "version": "0.0.0",
18878 "filename": "server/api/openchannelInteraction/index.js",
18879 "groupTitle": "Openchannel_Interactions"
18883 "url": "/api/openchannel/interactions/{id}/download",
18884 "title": "Gets interaction",
18887 "title": "Example usage:",
18888 "content": "curl https://{domain}/api/openchannel/interactions/{id}/download -v -u {name}:{password} -X GET",
18892 "name": "download",
18893 "group": "Openchannel_Interactions",
18894 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18895 "version": "0.0.0",
18896 "filename": "server/api/openchannelInteraction/index.js",
18897 "groupTitle": "Openchannel_Interactions"
18901 "url": "/api/openchannel/interactions/{id}/messages",
18902 "title": "Gets interaction messages",
18905 "title": "Example usage:",
18906 "content": "curl https://{domain}/api/openchannel/interactions/{id}/messages -v -u {name}:{password} -X GET",
18910 "name": "getMessages",
18911 "group": "Openchannel_Interactions",
18912 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18913 "version": "0.0.0",
18914 "filename": "server/api/openchannelInteraction/index.js",
18915 "groupTitle": "Openchannel_Interactions"
18919 "url": "/api/openchannel/interactions/{id}",
18920 "title": "Update an existing Interaction",
18923 "title": "Example usage:",
18924 "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",
18928 "name": "updateInteractions",
18929 "group": "Openchannel_Interactions",
18930 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
18931 "version": "0.0.0",
18932 "filename": "server/api/openchannelInteraction/index.js",
18933 "groupTitle": "Openchannel_Interactions"
18937 "url": "/api/openchannel/messages",
18938 "title": "Creates a new Message",
18941 "title": "Example usage:",
18942 "content": "curl https://{domain}/api/openchannel/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
18946 "name": "CreateMessages",
18947 "group": "Openchannel_Messages",
18980 "field": "direction",
18994 "field": "providerName",
19001 "field": "providerResponse",
19007 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19008 "version": "0.0.0",
19009 "filename": "server/api/openchannelMessage/index.js",
19010 "groupTitle": "Openchannel_Messages"
19014 "url": "/api/openchannel/messages/{id}",
19015 "title": "Deletes a Message",
19018 "title": "Example usage:",
19019 "content": "curl https://{domain}/api/openchannel/messages/{id} -v -u {name}:{password} -X DELETE",
19023 "name": "DeleteMessages",
19024 "group": "Openchannel_Messages",
19025 "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>",
19026 "version": "0.0.0",
19027 "filename": "server/api/openchannelMessage/index.js",
19028 "groupTitle": "Openchannel_Messages"
19032 "url": "/api/openchannel/messages/describe",
19033 "title": "Gets table info about Messages",
19036 "title": "Example usage:",
19037 "content": "curl https://{domain}/api/openchannel/messages/describe -v -u {name}:{password}",
19041 "name": "DescribeMessages",
19042 "group": "Openchannel_Messages",
19043 "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>",
19044 "version": "0.0.0",
19045 "filename": "server/api/openchannelMessage/index.js",
19046 "groupTitle": "Openchannel_Messages"
19050 "url": "/api/openchannel/messages",
19051 "title": "Gets a list of Messages",
19054 "title": "Example usage:",
19055 "content": "curl https://{domain}/api/openchannel/messages -v -u {name}:{password}",
19059 "name": "GetMessages",
19060 "group": "Openchannel_Messages",
19061 "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&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>",
19062 "version": "0.0.0",
19063 "filename": "server/api/openchannelMessage/index.js",
19064 "groupTitle": "Openchannel_Messages"
19068 "url": "/api/openchannel/messages/{id}",
19069 "title": "Gets a single Message",
19072 "title": "Example usage:",
19073 "content": "curl https://{domain}/api/openchannel/messages/{id} -v -u {name}:{password}",
19077 "name": "ShowMessages",
19078 "group": "Openchannel_Messages",
19079 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19080 "version": "0.0.0",
19081 "filename": "server/api/openchannelMessage/index.js",
19082 "groupTitle": "Openchannel_Messages"
19086 "url": "/api/openchannel/messages/{id}/accept",
19087 "title": "Accepts message",
19090 "title": "Example usage:",
19091 "content": "curl https://{domain}/api/openchannel/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
19095 "name": "acceptMessage",
19096 "group": "Openchannel_Messages",
19097 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19098 "version": "0.0.0",
19099 "filename": "server/api/openchannelMessage/index.js",
19100 "groupTitle": "Openchannel_Messages"
19104 "url": "/api/openchannel/messages/{id}/reject",
19105 "title": "Rejects message",
19108 "title": "Example usage:",
19109 "content": "curl https://{domain}/api/openchannel/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
19113 "name": "rejectMessage",
19114 "group": "Openchannel_Messages",
19115 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19116 "version": "0.0.0",
19117 "filename": "server/api/openchannelMessage/index.js",
19118 "groupTitle": "Openchannel_Messages"
19122 "url": "/api/openchannel/messages/{id}",
19123 "title": "Update an existing Message",
19126 "title": "Example usage:",
19127 "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",
19131 "name": "updateMessages",
19132 "group": "Openchannel_Messages",
19133 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19134 "version": "0.0.0",
19135 "filename": "server/api/openchannelMessage/index.js",
19136 "groupTitle": "Openchannel_Messages"
19140 "url": "/api/openchannel/reports/queue",
19141 "title": "Creates a new Openchannel Queue Report",
19144 "title": "Example usage:",
19145 "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",
19149 "name": "CreateOpenchannel_Queue_Reports",
19150 "group": "Openchannel_Queue_Reports",
19158 "field": "uniqueid",
19179 "field": "leaveAt",
19186 "field": "acceptAt",
19206 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19207 "version": "0.0.0",
19208 "filename": "server/api/openchannelQueueReport/index.js",
19209 "groupTitle": "Openchannel_Queue_Reports"
19213 "url": "/api/openchannel/reports/queue/{id}",
19214 "title": "Deletes a Openchannel Queue Report",
19217 "title": "Example usage:",
19218 "content": "curl https://{domain}/api/openchannel/reports/queue/{id} -v -u {name}:{password} -X DELETE",
19222 "name": "DeleteOpenchannel_Queue_Reports",
19223 "group": "Openchannel_Queue_Reports",
19224 "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>",
19225 "version": "0.0.0",
19226 "filename": "server/api/openchannelQueueReport/index.js",
19227 "groupTitle": "Openchannel_Queue_Reports"
19231 "url": "/api/openchannel/reports/queue/describe",
19232 "title": "Gets table info about Openchannel Queue Reports",
19235 "title": "Example usage:",
19236 "content": "curl https://{domain}/api/openchannel/reports/queue/describe -v -u {name}:{password}",
19240 "name": "DescribeOpenchannel_Queue_Reports",
19241 "group": "Openchannel_Queue_Reports",
19242 "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>",
19243 "version": "0.0.0",
19244 "filename": "server/api/openchannelQueueReport/index.js",
19245 "groupTitle": "Openchannel_Queue_Reports"
19249 "url": "/api/openchannel/reports/queue",
19250 "title": "Gets a list of Openchannel Queue Reports",
19253 "title": "Example usage:",
19254 "content": "curl https://{domain}/api/openchannel/reports/queue -v -u {name}:{password}",
19258 "name": "GetOpenchannel_Queue_Reports",
19259 "group": "Openchannel_Queue_Reports",
19260 "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&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>",
19261 "version": "0.0.0",
19262 "filename": "server/api/openchannelQueueReport/index.js",
19263 "groupTitle": "Openchannel_Queue_Reports"
19267 "url": "/api/openchannel/reports/queue/{id}",
19268 "title": "Gets a single Openchannel Queue Report",
19271 "title": "Example usage:",
19272 "content": "curl https://{domain}/api/openchannel/reports/queue/{id} -v -u {name}:{password}",
19276 "name": "ShowOpenchannel_Queue_Reports",
19277 "group": "Openchannel_Queue_Reports",
19278 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19279 "version": "0.0.0",
19280 "filename": "server/api/openchannelQueueReport/index.js",
19281 "groupTitle": "Openchannel_Queue_Reports"
19285 "url": "/api/openchannel/reports/queue/{id}",
19286 "title": "Update an existing Openchannel Queue Report",
19289 "title": "Example usage:",
19290 "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",
19294 "name": "updateOpenchannel_Queue_Reports",
19295 "group": "Openchannel_Queue_Reports",
19296 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19297 "version": "0.0.0",
19298 "filename": "server/api/openchannelQueueReport/index.js",
19299 "groupTitle": "Openchannel_Queue_Reports"
19303 "url": "/api/openchannel/queues/{id}/users",
19304 "title": "Add agents to a queue",
19307 "title": "Example usage:",
19308 "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",
19312 "name": "AddAgents",
19313 "group": "Openchannel_Queues",
19314 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19315 "version": "0.0.0",
19316 "filename": "server/api/openchannelQueue/index.js",
19317 "groupTitle": "Openchannel_Queues"
19321 "url": "/api/openchannel/queues/{id}/teams",
19322 "title": "Add teams to a queue",
19325 "title": "Example usage:",
19326 "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",
19330 "name": "AddTeams",
19331 "group": "Openchannel_Queues",
19332 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19333 "version": "0.0.0",
19334 "filename": "server/api/openchannelQueue/index.js",
19335 "groupTitle": "Openchannel_Queues"
19339 "url": "/api/openchannel/queues",
19340 "title": "Creates a new Queue",
19343 "title": "Example usage:",
19344 "content": "curl https://{domain}/api/openchannel/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
19348 "name": "CreateQueues",
19349 "group": "Openchannel_Queues",
19364 "field": "description",
19371 "field": "timeout",
19383 "field": "strategy",
19389 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19390 "version": "0.0.0",
19391 "filename": "server/api/openchannelQueue/index.js",
19392 "groupTitle": "Openchannel_Queues"
19396 "url": "/api/openchannel/queues/{id}",
19397 "title": "Deletes a Queue",
19400 "title": "Example usage:",
19401 "content": "curl https://{domain}/api/openchannel/queues/{id} -v -u {name}:{password} -X DELETE",
19405 "name": "DeleteQueues",
19406 "group": "Openchannel_Queues",
19407 "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>",
19408 "version": "0.0.0",
19409 "filename": "server/api/openchannelQueue/index.js",
19410 "groupTitle": "Openchannel_Queues"
19414 "url": "/api/openchannel/queues/describe",
19415 "title": "Gets table info about Queues",
19418 "title": "Example usage:",
19419 "content": "curl https://{domain}/api/openchannel/queues/describe -v -u {name}:{password}",
19423 "name": "DescribeQueues",
19424 "group": "Openchannel_Queues",
19425 "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>",
19426 "version": "0.0.0",
19427 "filename": "server/api/openchannelQueue/index.js",
19428 "groupTitle": "Openchannel_Queues"
19432 "url": "/api/openchannel/queues/{id}/users",
19433 "title": "Gets queue agents",
19436 "title": "Example usage:",
19437 "content": "curl https://{domain}/api/openchannel/queues/{id}/users -v -u {name}:{password} -X POST",
19441 "name": "GetAgents",
19442 "group": "Openchannel_Queues",
19443 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19444 "version": "0.0.0",
19445 "filename": "server/api/openchannelQueue/index.js",
19446 "groupTitle": "Openchannel_Queues"
19450 "url": "/api/openchannel/queues/{id}/members",
19451 "title": "GetMembers",
19454 "title": "Example usage:",
19455 "content": "curl https://{domain}/api/openchannel/queues/{id}/members -v -u {name}:{password}",
19459 "name": "GetMembers",
19460 "group": "Openchannel_Queues",
19461 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19462 "version": "0.0.0",
19463 "filename": "server/api/openchannelQueue/index.js",
19464 "groupTitle": "Openchannel_Queues"
19468 "url": "/api/openchannel/queues",
19469 "title": "Gets a list of Queues",
19472 "title": "Example usage:",
19473 "content": "curl https://{domain}/api/openchannel/queues -v -u {name}:{password}",
19477 "name": "GetQueues",
19478 "group": "Openchannel_Queues",
19479 "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&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>",
19480 "version": "0.0.0",
19481 "filename": "server/api/openchannelQueue/index.js",
19482 "groupTitle": "Openchannel_Queues"
19486 "url": "/api/openchannel/queues/{id}/teams",
19487 "title": "Gets queues list",
19490 "title": "Example usage:",
19491 "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password}",
19495 "name": "GetTeams",
19496 "group": "Openchannel_Queues",
19497 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19498 "version": "0.0.0",
19499 "filename": "server/api/openchannelQueue/index.js",
19500 "groupTitle": "Openchannel_Queues"
19504 "url": "/api/openchannel/queues/{id}/users",
19505 "title": "Removes agents from a queue",
19508 "title": "Example usage:",
19509 "content": "curl https://{domain}/api/openchannel/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
19513 "name": "RemoveAgents",
19514 "group": "Openchannel_Queues",
19515 "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>",
19516 "version": "0.0.0",
19517 "filename": "server/api/openchannelQueue/index.js",
19518 "groupTitle": "Openchannel_Queues"
19522 "url": "/api/openchannel/queues/{id}",
19523 "title": "Gets a single Queue",
19526 "title": "Example usage:",
19527 "content": "curl https://{domain}/api/openchannel/queues/{id} -v -u {name}:{password}",
19531 "name": "ShowQueues",
19532 "group": "Openchannel_Queues",
19533 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19534 "version": "0.0.0",
19535 "filename": "server/api/openchannelQueue/index.js",
19536 "groupTitle": "Openchannel_Queues"
19540 "url": "/api/openchannel/queues/{id}",
19541 "title": "Update an existing Queue",
19544 "title": "Example usage:",
19545 "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",
19549 "name": "updateQueues",
19550 "group": "Openchannel_Queues",
19551 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19552 "version": "0.0.0",
19553 "filename": "server/api/openchannelQueue/index.js",
19554 "groupTitle": "Openchannel_Queues"
19558 "url": "/api/openchannel/reports/transfer",
19559 "title": "Creates a new Openchannel Transfer Report",
19562 "title": "Example usage:",
19563 "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",
19567 "name": "CreateOpenchannel_Transfer_Reports",
19568 "group": "Openchannel_Transfer_Reports",
19576 "field": "uniqueid",
19595 "field": "transferredAt",
19601 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19602 "version": "0.0.0",
19603 "filename": "server/api/openchannelTransferReport/index.js",
19604 "groupTitle": "Openchannel_Transfer_Reports"
19608 "url": "/api/openchannel/reports/transfer/{id}",
19609 "title": "Deletes a Openchannel Transfer Report",
19612 "title": "Example usage:",
19613 "content": "curl https://{domain}/api/openchannel/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
19617 "name": "DeleteOpenchannel_Transfer_Reports",
19618 "group": "Openchannel_Transfer_Reports",
19619 "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>",
19620 "version": "0.0.0",
19621 "filename": "server/api/openchannelTransferReport/index.js",
19622 "groupTitle": "Openchannel_Transfer_Reports"
19626 "url": "/api/openchannel/reports/transfer/describe",
19627 "title": "Gets table info about Openchannel Transfer Reports",
19630 "title": "Example usage:",
19631 "content": "curl https://{domain}/api/openchannel/reports/transfer/describe -v -u {name}:{password}",
19635 "name": "DescribeOpenchannel_Transfer_Reports",
19636 "group": "Openchannel_Transfer_Reports",
19637 "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>",
19638 "version": "0.0.0",
19639 "filename": "server/api/openchannelTransferReport/index.js",
19640 "groupTitle": "Openchannel_Transfer_Reports"
19644 "url": "/api/openchannel/reports/transfer",
19645 "title": "Gets a list of Openchannel Transfer Reports",
19648 "title": "Example usage:",
19649 "content": "curl https://{domain}/api/openchannel/reports/transfer -v -u {name}:{password}",
19653 "name": "GetOpenchannel_Transfer_Reports",
19654 "group": "Openchannel_Transfer_Reports",
19655 "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&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>",
19656 "version": "0.0.0",
19657 "filename": "server/api/openchannelTransferReport/index.js",
19658 "groupTitle": "Openchannel_Transfer_Reports"
19662 "url": "/api/openchannel/reports/transfer/{id}",
19663 "title": "Gets a single Openchannel Transfer Report",
19666 "title": "Example usage:",
19667 "content": "curl https://{domain}/api/openchannel/reports/transfer/{id} -v -u {name}:{password}",
19671 "name": "ShowOpenchannel_Transfer_Reports",
19672 "group": "Openchannel_Transfer_Reports",
19673 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19674 "version": "0.0.0",
19675 "filename": "server/api/openchannelTransferReport/index.js",
19676 "groupTitle": "Openchannel_Transfer_Reports"
19680 "url": "/api/openchannel/reports/transfer/{id}",
19681 "title": "Update an existing Openchannel Transfer Report",
19684 "title": "Example usage:",
19685 "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",
19689 "name": "updateOpenchannel_Transfer_Reports",
19690 "group": "Openchannel_Transfer_Reports",
19691 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19692 "version": "0.0.0",
19693 "filename": "server/api/openchannelTransferReport/index.js",
19694 "groupTitle": "Openchannel_Transfer_Reports"
19698 "url": "/api/pauses",
19699 "title": "Creates a new Pause",
19702 "title": "Example usage:",
19703 "content": "curl https://{domain}/api/pauses -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
19707 "name": "CreatePauses",
19723 "field": "description",
19729 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19730 "version": "0.0.0",
19731 "filename": "server/api/pause/index.js",
19732 "groupTitle": "Pauses"
19736 "url": "/api/pauses/{id}",
19737 "title": "Deletes a Pause",
19740 "title": "Example usage:",
19741 "content": "curl https://{domain}/api/pauses/{id} -v -u {name}:{password} -X DELETE",
19745 "name": "DeletePauses",
19747 "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>",
19748 "version": "0.0.0",
19749 "filename": "server/api/pause/index.js",
19750 "groupTitle": "Pauses"
19754 "url": "/api/pauses",
19755 "title": "Gets a list of Pauses",
19758 "title": "Example usage:",
19759 "content": "curl https://{domain}/api/pauses -v -u {name}:{password}",
19763 "name": "GetPauses",
19765 "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&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>",
19766 "version": "0.0.0",
19767 "filename": "server/api/pause/index.js",
19768 "groupTitle": "Pauses"
19772 "url": "/api/pauses/{id}",
19773 "title": "Gets a single Pause",
19776 "title": "Example usage:",
19777 "content": "curl https://{domain}/api/pauses/{id} -v -u {name}:{password}",
19781 "name": "ShowPauses",
19783 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19784 "version": "0.0.0",
19785 "filename": "server/api/pause/index.js",
19786 "groupTitle": "Pauses"
19790 "url": "/api/pauses/{id}",
19791 "title": "Update an existing Pause",
19794 "title": "Example usage:",
19795 "content": "curl https://{domain}/api/pauses/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
19799 "name": "updatePauses",
19801 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19802 "version": "0.0.0",
19803 "filename": "server/api/pause/index.js",
19804 "groupTitle": "Pauses"
19808 "url": "/api/plugins",
19809 "title": "Gets a list of Plugins",
19812 "title": "Example usage:",
19813 "content": "curl https://{domain}/api/plugins -v -u {name}:{password}",
19817 "name": "GetPlugins",
19818 "group": "Plugins",
19819 "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&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>",
19820 "version": "0.0.0",
19821 "filename": "server/api/plugin/index.js",
19822 "groupTitle": "Plugins"
19826 "url": "/api/plugins/{id}",
19827 "title": "Gets a single Plugin",
19830 "title": "Example usage:",
19831 "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password}",
19835 "name": "ShowPlugins",
19836 "group": "Plugins",
19837 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19838 "version": "0.0.0",
19839 "filename": "server/api/plugin/index.js",
19840 "groupTitle": "Plugins"
19844 "url": "/api/plugins/{id}",
19845 "title": "Delete a plugin",
19848 "title": "Example usage:",
19849 "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password} -X DELETE",
19853 "name": "destroyPlugin",
19854 "group": "Plugins",
19855 "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>",
19856 "version": "0.0.0",
19857 "filename": "server/api/plugin/index.js",
19858 "groupTitle": "Plugins"
19862 "url": "/api/plugins/{id}/download",
19863 "title": "Download plugin source code",
19866 "title": "Example usage:",
19867 "content": "curl https://{domain}/api/plugins/{id}/download -v -u {name}:{password} -X GET",
19871 "name": "download",
19872 "group": "Plugins",
19873 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19874 "version": "0.0.0",
19875 "filename": "server/api/plugin/index.js",
19876 "groupTitle": "Plugins"
19880 "url": "/api/plugins/{id}",
19881 "title": "Update an existing plugin",
19884 "title": "Example usage:",
19885 "content": "curl https://{domain}/api/plugins/{id} -v -u {name}:{password} -X PUT",
19889 "name": "updatePlugin",
19890 "group": "Plugins",
19891 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19892 "version": "0.0.0",
19893 "filename": "server/api/plugin/index.js",
19894 "groupTitle": "Plugins"
19898 "url": "/api/plugins",
19899 "title": "Upload new plugin",
19902 "title": "Example usage:",
19903 "content": "curl https://{domain}/api/plugins -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
19907 "name": "uploadPlugin",
19908 "group": "Plugins",
19909 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19910 "version": "0.0.0",
19911 "filename": "server/api/plugin/index.js",
19912 "groupTitle": "Plugins"
19916 "url": "/api/plugins/webhook?hostname={host}&port={port}&encoding={encoding}&json={json}&path={path}",
19917 "title": "Redirect a plugin request to the specified path",
19920 "title": "Example usage:",
19921 "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -v -u {name}:{password} -X GET",
19925 "name": "webhookPlugin",
19926 "group": "Plugins",
19927 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19928 "version": "0.0.0",
19929 "filename": "server/api/plugin/index.js",
19930 "groupTitle": "Plugins"
19934 "url": "/api/plugins/webhook?hostname={host}&port={port}&encoding={encoding}&json={json}&path={path}",
19935 "title": "Redirect a plugin request to the specified path",
19938 "title": "Example usage:",
19939 "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -H 'Content-Type: application/json' -X POST",
19943 "name": "webhookPlugin",
19944 "group": "Plugins",
19945 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19946 "version": "0.0.0",
19947 "filename": "server/api/plugin/index.js",
19948 "groupTitle": "Plugins"
19952 "url": "/api/pm2/{id}",
19953 "title": "Deletes an existing process",
19956 "title": "Example usage:",
19957 "content": "curl https://{domain}/api/pm2/{id} -v -u {name}:{password} -X DELETE",
19961 "name": "DeletePm2Process",
19963 "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>",
19964 "version": "0.0.0",
19965 "filename": "server/api/pm2/index.js",
19966 "groupTitle": "Pm2"
19970 "url": "/api/pm2/{id}",
19971 "title": "Gets a single pm2 process",
19974 "title": "Example usage:",
19975 "content": "curl https://{domain}/api/pm2/{id} -v -u {name}:{password}",
19979 "name": "GetPm2Process",
19981 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
19982 "version": "0.0.0",
19983 "filename": "server/api/pm2/index.js",
19984 "groupTitle": "Pm2"
19989 "title": "Gets pm2 processes",
19992 "title": "Example usage:",
19993 "content": "curl https://{domain}/api/pm2 -v -u {name}:{password}",
19997 "name": "GetPm2Processes",
19999 "description": "<p>Motion returns the pm2 processes list.</p>",
20000 "version": "0.0.0",
20001 "filename": "server/api/pm2/index.js",
20002 "groupTitle": "Pm2"
20007 "title": "Start a single pm2 process",
20010 "title": "Example usage:",
20011 "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",
20015 "name": "StartPm2Process",
20037 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20038 "version": "0.0.0",
20039 "filename": "server/api/pm2/index.js",
20040 "groupTitle": "Pm2"
20044 "url": "/api/pm2/{id}",
20045 "title": "Update an existing process",
20048 "title": "Example usage:",
20049 "content": "curl https://{domain}/api/pm2/{id} -d '{\"status\": \"online\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
20053 "name": "UpdatePm2Process",
20055 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20056 "version": "0.0.0",
20057 "filename": "server/api/pm2/index.js",
20058 "groupTitle": "Pm2"
20062 "url": "/api/rpc/campaigns/",
20063 "title": "Gets a list of campaigns",
20066 "title": "Example usage:",
20067 "content": "curl https://{domain}/api/rpc/campaigns -v -u {name}:{password}",
20071 "name": "Campaigns",
20072 "group": "RPC_Realtime",
20073 "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>",
20074 "version": "0.0.0",
20075 "filename": "server/api/rpc/index.js",
20076 "groupTitle": "RPC_Realtime"
20080 "url": "/api/rpc/fax/accounts",
20081 "title": "Gets a list of FaxAccounts",
20084 "title": "Example usage:",
20085 "content": "curl https://{domain}/api/rpc/fax/accounts -v -u {name}:{password}",
20089 "name": "FaxAccounts",
20090 "group": "RPC_Realtime",
20091 "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>",
20092 "version": "0.0.0",
20093 "filename": "server/api/rpc/index.js",
20094 "groupTitle": "RPC_Realtime"
20098 "url": "/api/rpc/agents/:id/capacity",
20099 "title": "Sets agent capacity",
20102 "title": "Example usage:",
20103 "content": "curl https://{domain}/api/rpc/agents/:id/capacity -v -u {name}:{password}",
20107 "name": "RTAgentCapacity",
20108 "group": "RPC_Realtime",
20109 "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>",
20110 "version": "0.0.0",
20111 "filename": "server/api/rpc/index.js",
20112 "groupTitle": "RPC_Realtime"
20116 "url": "/api/rpc/agents",
20117 "title": "Gets a list of RTAgents",
20120 "title": "Example usage:",
20121 "content": "curl https://{domain}/api/rpc/agents -v -u {name}:{password}",
20125 "name": "RTAgents",
20126 "group": "RPC_Realtime",
20127 "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>",
20128 "version": "0.0.0",
20129 "filename": "server/api/rpc/index.js",
20130 "groupTitle": "RPC_Realtime"
20134 "url": "/api/rpc/chat/queues",
20135 "title": "Gets a list of RTChatQueues",
20138 "title": "Example usage:",
20139 "content": "curl https://{domain}/api/rpc/chat/queues -v -u {name}:{password}",
20143 "name": "RTChatQueues",
20144 "group": "RPC_Realtime",
20145 "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>",
20146 "version": "0.0.0",
20147 "filename": "server/api/rpc/index.js",
20148 "groupTitle": "RPC_Realtime"
20152 "url": "/api/rpc/fax/queues",
20153 "title": "Gets a list of RTFaxQueues",
20156 "title": "Example usage:",
20157 "content": "curl https://{domain}/api/rpc/fax/queues -v -u {name}:{password}",
20161 "name": "RTFaxQueues",
20162 "group": "RPC_Realtime",
20163 "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>",
20164 "version": "0.0.0",
20165 "filename": "server/api/rpc/index.js",
20166 "groupTitle": "RPC_Realtime"
20170 "url": "/api/rpc/mail/accounts",
20171 "title": "Gets a list of RTMailAccounts",
20174 "title": "Example usage:",
20175 "content": "curl https://{domain}/api/rpc/mail/accounts -v -u {name}:{password}",
20179 "name": "RTMailAccounts",
20180 "group": "RPC_Realtime",
20181 "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>",
20182 "version": "0.0.0",
20183 "filename": "server/api/rpc/index.js",
20184 "groupTitle": "RPC_Realtime"
20188 "url": "/api/rpc/mail/queues",
20189 "title": "Gets a list of RTMailQueues",
20192 "title": "Example usage:",
20193 "content": "curl https://{domain}/api/rpc/mail/queues -v -u {name}:{password}",
20197 "name": "RTMailQueues",
20198 "group": "RPC_Realtime",
20199 "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>",
20200 "version": "0.0.0",
20201 "filename": "server/api/rpc/index.js",
20202 "groupTitle": "RPC_Realtime"
20206 "url": "/api/rpc/openchannel/queues",
20207 "title": "Gets a list of RTOpenchannelQueues",
20210 "title": "Example usage:",
20211 "content": "curl https://{domain}/api/rpc/openchannel/queues -v -u {name}:{password}",
20215 "name": "RTOpenchannelQueues",
20216 "group": "RPC_Realtime",
20217 "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>",
20218 "version": "0.0.0",
20219 "filename": "server/api/rpc/index.js",
20220 "groupTitle": "RPC_Realtime"
20224 "url": "/api/rpc/outbound/channels",
20225 "title": "Gets a list of RTOutboundChannels",
20228 "title": "Example usage:",
20229 "content": "curl https://{domain}/api/rpc/outbound/channels -v -u {name}:{password}",
20233 "name": "RTOutboundChannels",
20234 "group": "RPC_Realtime",
20235 "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>",
20236 "version": "0.0.0",
20237 "filename": "server/api/rpc/index.js",
20238 "groupTitle": "RPC_Realtime"
20242 "url": "/api/rpc/sms/queues",
20243 "title": "Gets a list of RTSmsQueues",
20246 "title": "Example usage:",
20247 "content": "curl https://{domain}/api/rpc/sms/queues -v -u {name}:{password}",
20251 "name": "RTSmsQueues",
20252 "group": "RPC_Realtime",
20253 "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>",
20254 "version": "0.0.0",
20255 "filename": "server/api/rpc/index.js",
20256 "groupTitle": "RPC_Realtime"
20260 "url": "/api/rpc/telephones",
20261 "title": "Gets a list of RTTelephones",
20264 "title": "Example usage:",
20265 "content": "curl https://{domain}/api/rpc/telephones -v -u {name}:{password}",
20269 "name": "RTTelephones",
20270 "group": "RPC_Realtime",
20271 "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>",
20272 "version": "0.0.0",
20273 "filename": "server/api/rpc/index.js",
20274 "groupTitle": "RPC_Realtime"
20278 "url": "/api/rpc/trunks",
20279 "title": "Gets a list of RTTrunks",
20282 "title": "Example usage:",
20283 "content": "curl https://{domain}/api/rpc/trunks -v -u {name}:{password}",
20287 "name": "RTTrunks",
20288 "group": "RPC_Realtime",
20289 "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>",
20290 "version": "0.0.0",
20291 "filename": "server/api/rpc/index.js",
20292 "groupTitle": "RPC_Realtime"
20296 "url": "/api/rpc/voice/channels",
20297 "title": "Gets a list of RTVoiceChannelMixMonitor",
20300 "title": "Example usage:",
20301 "content": "curl https://{domain}/api/rpc/voice/channels/{uniqueid}/mixmonitor -v -u {name}:{password}",
20305 "name": "RTVoiceChannelMixMonitor",
20306 "group": "RPC_Realtime",
20307 "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>",
20308 "version": "0.0.0",
20309 "filename": "server/api/rpc/index.js",
20310 "groupTitle": "RPC_Realtime"
20314 "url": "/api/rpc/voice/channels",
20315 "title": "Gets a list of RTVoiceChannelStopMixMonitor",
20318 "title": "Example usage:",
20319 "content": "curl https://{domain}/api/rpc/voice/channels/{uniqueid}/stopmixmonitor -v -u {name}:{password}",
20323 "name": "RTVoiceChannelStopMixMonitor",
20324 "group": "RPC_Realtime",
20325 "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>",
20326 "version": "0.0.0",
20327 "filename": "server/api/rpc/index.js",
20328 "groupTitle": "RPC_Realtime"
20332 "url": "/api/rpc/voice/channels",
20333 "title": "Gets a list of RTVoiceChannels",
20336 "title": "Example usage:",
20337 "content": "curl https://{domain}/api/rpc/voice/channels -v -u {name}:{password}",
20341 "name": "RTVoiceChannels",
20342 "group": "RPC_Realtime",
20343 "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>",
20344 "version": "0.0.0",
20345 "filename": "server/api/rpc/index.js",
20346 "groupTitle": "RPC_Realtime"
20350 "url": "/api/rpc/voice/queues/channels/{uniqueid}",
20351 "title": "Gets a single RTVoiceQueueChannel",
20354 "title": "Example usage:",
20355 "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid} -v -u {name}:{password}",
20359 "name": "RTVoiceQueueChannel",
20360 "group": "RPC_Realtime",
20361 "description": "<p>Motion will return a specific realtime voice queue channel.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20362 "version": "0.0.0",
20363 "filename": "server/api/rpc/index.js",
20364 "groupTitle": "RPC_Realtime"
20368 "url": "/api/rpc/voice/queues/channels/{uniqueid}/hangup",
20369 "title": "Hangup a single RTVoiceQueueChannel",
20372 "title": "Example usage:",
20373 "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid}/hangup -v -u {name}:{password}",
20377 "name": "RTVoiceQueueChannelHangup",
20378 "group": "RPC_Realtime",
20379 "description": "<p>Motion will hangup a specific realtime voice queue channel.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20380 "version": "0.0.0",
20381 "filename": "server/api/rpc/index.js",
20382 "groupTitle": "RPC_Realtime"
20386 "url": "/api/rpc/voice/queues/channels/{uniqueid}/redirect/{exten}",
20387 "title": "Hangup a single RTVoiceQueueChannel",
20390 "title": "Example usage:",
20391 "content": "curl https://{domain}/api/rpc/voice/queues/channels/{uniqueid}/redirect/{exten} -v -u {name}:{password}",
20395 "name": "RTVoiceQueueChannelRedirect",
20396 "group": "RPC_Realtime",
20397 "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>",
20398 "version": "0.0.0",
20399 "filename": "server/api/rpc/index.js",
20400 "groupTitle": "RPC_Realtime"
20404 "url": "/api/rpc/voice/queues/preview/{id}",
20405 "title": "Gets a single preview contact",
20408 "title": "Example usage:",
20409 "content": "curl https://{domain}/api/rpc/voice/queues/preview/{id} -v -u {name}:{password}",
20413 "name": "RTVoiceQueuePreview",
20414 "group": "RPC_Realtime",
20415 "description": "<p>Motion will return a specific preview contact.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20416 "version": "0.0.0",
20417 "filename": "server/api/rpc/index.js",
20418 "groupTitle": "RPC_Realtime"
20422 "url": "/api/rpc/voice/queues",
20423 "title": "Gets a list of RTVoiceQueues",
20426 "title": "Example usage:",
20427 "content": "curl https://{domain}/api/rpc/voice/queues -v -u {name}:{password}",
20431 "name": "RTVoiceQueues",
20432 "group": "RPC_Realtime",
20433 "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>",
20434 "version": "0.0.0",
20435 "filename": "server/api/rpc/index.js",
20436 "groupTitle": "RPC_Realtime"
20440 "url": "/api/rpc/outbound",
20441 "title": "Gets a list of RTOutbound",
20444 "title": "Example usage:",
20445 "content": "curl https://{domain}/api/rpc/outbound -v -u {name}:{password}",
20449 "name": "RTVoiceQueues",
20450 "group": "RPC_Realtime",
20451 "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>",
20452 "version": "0.0.0",
20453 "filename": "server/api/rpc/index.js",
20454 "groupTitle": "RPC_Realtime"
20458 "url": "/api/rpc/voice/queues/channels",
20459 "title": "Gets a list of RTVoiceQueuesChannels",
20462 "title": "Example usage:",
20463 "content": "curl https://{domain}/api/rpc/voice/queues/channels -v -u {name}:{password}",
20467 "name": "RTVoiceQueuesChannels",
20468 "group": "RPC_Realtime",
20469 "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>",
20470 "version": "0.0.0",
20471 "filename": "server/api/rpc/index.js",
20472 "groupTitle": "RPC_Realtime"
20476 "url": "/api/rpc/chat/queues/{id}",
20477 "title": "Gets a single RTChatQueue",
20480 "title": "Example usage:",
20481 "content": "curl https://{domain}/api/rpc/chat/queues/{id} -v -u {name}:{password}",
20485 "name": "ShowRTChatQueues",
20486 "group": "RPC_Realtime",
20487 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20488 "version": "0.0.0",
20489 "filename": "server/api/rpc/index.js",
20490 "groupTitle": "RPC_Realtime"
20494 "url": "/api/rpc/fax/queues/{id}",
20495 "title": "Gets a single RTFaxQueue",
20498 "title": "Example usage:",
20499 "content": "curl https://{domain}/api/rpc/fax/queues/{id} -v -u {name}:{password}",
20503 "name": "ShowRTFaxQueues",
20504 "group": "RPC_Realtime",
20505 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20506 "version": "0.0.0",
20507 "filename": "server/api/rpc/index.js",
20508 "groupTitle": "RPC_Realtime"
20512 "url": "/api/rpc/mail/queues/{id}",
20513 "title": "Gets a single RTMailQueue",
20516 "title": "Example usage:",
20517 "content": "curl https://{domain}/api/rpc/mail/queues/{id} -v -u {name}:{password}",
20521 "name": "ShowRTMailQueues",
20522 "group": "RPC_Realtime",
20523 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20524 "version": "0.0.0",
20525 "filename": "server/api/rpc/index.js",
20526 "groupTitle": "RPC_Realtime"
20530 "url": "/api/rpc/openchannel/queues/{id}",
20531 "title": "Gets a single RTOpenchannelQueue",
20534 "title": "Example usage:",
20535 "content": "curl https://{domain}/api/rpc/openchannel/queues/{id} -v -u {name}:{password}",
20539 "name": "ShowRTOpenchannelQueues",
20540 "group": "RPC_Realtime",
20541 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20542 "version": "0.0.0",
20543 "filename": "server/api/rpc/index.js",
20544 "groupTitle": "RPC_Realtime"
20548 "url": "/api/rpc/sms/queues/{id}",
20549 "title": "Gets a single RTSmsQueue",
20552 "title": "Example usage:",
20553 "content": "curl https://{domain}/api/rpc/sms/queues/{id} -v -u {name}:{password}",
20557 "name": "ShowRTSmsQueues",
20558 "group": "RPC_Realtime",
20559 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20560 "version": "0.0.0",
20561 "filename": "server/api/rpc/index.js",
20562 "groupTitle": "RPC_Realtime"
20566 "url": "/api/rpc/voice/queues/{id}",
20567 "title": "Gets a single RTVoiceQueue",
20570 "title": "Example usage:",
20571 "content": "curl https://{domain}/api/rpc/voice/queues/{id} -v -u {name}:{password}",
20575 "name": "ShowRTVoiceQueues",
20576 "group": "RPC_Realtime",
20577 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20578 "version": "0.0.0",
20579 "filename": "server/api/rpc/index.js",
20580 "groupTitle": "RPC_Realtime"
20584 "url": "/api/rpc/voice/{id}/queues",
20585 "title": "Updates a single VoiceQueue",
20588 "title": "Example usage:",
20589 "content": "curl https://{domain}/api/rpc/voice/queues/{id} -v -u {name}:{password}",
20593 "name": "UpdateVoiceQueues",
20594 "group": "RPC_Realtime",
20595 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20596 "version": "0.0.0",
20597 "filename": "server/api/rpc/index.js",
20598 "groupTitle": "RPC_Realtime"
20602 "url": "/api/rpc/agents/:id/notify",
20603 "title": "Notify message to a specific agent",
20606 "title": "Example usage:",
20607 "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",
20611 "name": "agentNotify",
20612 "group": "RPC_Realtime",
20613 "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>",
20614 "version": "0.0.0",
20615 "filename": "server/api/rpc/index.js",
20616 "groupTitle": "RPC_Realtime"
20620 "url": "/api/rpc/chat/queues/:id/notify",
20621 "title": "Notify message to a specific queue",
20624 "title": "Example usage:",
20625 "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",
20629 "name": "chatQueueNotify",
20630 "group": "RPC_Realtime",
20631 "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>",
20632 "version": "0.0.0",
20633 "filename": "server/api/rpc/index.js",
20634 "groupTitle": "RPC_Realtime"
20638 "url": "/api/rpc/chat/queues/waitinginteractions",
20639 "title": "Gets a list of chatQueuesWaitingInteractions",
20642 "title": "Example usage:",
20643 "content": "curl https://{domain}/api/rpc/chat/queues/waitinginteractions -v -u {name}:{password}",
20647 "name": "chatQueuesWaitingInteractions",
20648 "group": "RPC_Realtime",
20649 "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>",
20650 "version": "0.0.0",
20651 "filename": "server/api/rpc/index.js",
20652 "groupTitle": "RPC_Realtime"
20656 "url": "/api/rpc/fax/queues/:id/notify",
20657 "title": "Notify message to a specific queue",
20660 "title": "Example usage:",
20661 "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",
20665 "name": "faxQueueNotify",
20666 "group": "RPC_Realtime",
20667 "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>",
20668 "version": "0.0.0",
20669 "filename": "server/api/rpc/index.js",
20670 "groupTitle": "RPC_Realtime"
20674 "url": "/api/rpc/fax/queues/waitinginteractions",
20675 "title": "Gets a list of faxQueuesWaitingInteractions",
20678 "title": "Example usage:",
20679 "content": "curl https://{domain}/api/rpc/fax/queues/waitinginteractions -v -u {name}:{password}",
20683 "name": "faxQueuesWaitingInteractions",
20684 "group": "RPC_Realtime",
20685 "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>",
20686 "version": "0.0.0",
20687 "filename": "server/api/rpc/index.js",
20688 "groupTitle": "RPC_Realtime"
20692 "url": "/api/rpc/mail/queues/:id/notify",
20693 "title": "Notify message to a specific queue",
20696 "title": "Example usage:",
20697 "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",
20701 "name": "mailQueueNotify",
20702 "group": "RPC_Realtime",
20703 "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>",
20704 "version": "0.0.0",
20705 "filename": "server/api/rpc/index.js",
20706 "groupTitle": "RPC_Realtime"
20710 "url": "/api/rpc/mail/queues/waitinginteractions",
20711 "title": "Gets a list of mailQueuesWaitingInteractions",
20714 "title": "Example usage:",
20715 "content": "curl https://{domain}/api/rpc/mail/queues/waitinginteractions -v -u {name}:{password}",
20719 "name": "mailQueuesWaitingInteractions",
20720 "group": "RPC_Realtime",
20721 "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>",
20722 "version": "0.0.0",
20723 "filename": "server/api/rpc/index.js",
20724 "groupTitle": "RPC_Realtime"
20728 "url": "/api/rpc/openchannel/queues/:id/notify",
20729 "title": "Notify message to a specific queue",
20732 "title": "Example usage:",
20733 "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",
20737 "name": "openchannelQueueNotify",
20738 "group": "RPC_Realtime",
20739 "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>",
20740 "version": "0.0.0",
20741 "filename": "server/api/rpc/index.js",
20742 "groupTitle": "RPC_Realtime"
20746 "url": "/api/rpc/openchannel/queues/:id/waitinginteractions",
20747 "title": "Gets a list of openchannelQueuesIdWaitingInteractions",
20750 "title": "Example usage:",
20751 "content": "curl https://{domain}/api/rpc/openchannel/queues/:id/waitinginteractions -v -u {name}:{password}",
20755 "name": "openchannelQueuesIdWaitingInteractions",
20756 "group": "RPC_Realtime",
20757 "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>",
20758 "version": "0.0.0",
20759 "filename": "server/api/rpc/index.js",
20760 "groupTitle": "RPC_Realtime"
20764 "url": "/api/rpc/openchannel/queues/waitinginteractions",
20765 "title": "Gets a list of openchannelQueuesWaitingInteractions",
20768 "title": "Example usage:",
20769 "content": "curl https://{domain}/api/rpc/openchannel/queues/waitinginteractions -v -u {name}:{password}",
20773 "name": "openchannelQueuesWaitingInteractions",
20774 "group": "RPC_Realtime",
20775 "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>",
20776 "version": "0.0.0",
20777 "filename": "server/api/rpc/index.js",
20778 "groupTitle": "RPC_Realtime"
20782 "url": "/api/rpc/sms/queues/:id/notify",
20783 "title": "Notify message to a specific queue",
20786 "title": "Example usage:",
20787 "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",
20791 "name": "smsQueueNotify",
20792 "group": "RPC_Realtime",
20793 "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>",
20794 "version": "0.0.0",
20795 "filename": "server/api/rpc/index.js",
20796 "groupTitle": "RPC_Realtime"
20800 "url": "/api/rpc/sms/queues/waitinginteractions",
20801 "title": "Gets a list of smsQueuesWaitingInteractions",
20804 "title": "Example usage:",
20805 "content": "curl https://{domain}/api/rpc/sms/queues/waitinginteractions -v -u {name}:{password}",
20809 "name": "smsQueuesWaitingInteractions",
20810 "group": "RPC_Realtime",
20811 "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>",
20812 "version": "0.0.0",
20813 "filename": "server/api/rpc/index.js",
20814 "groupTitle": "RPC_Realtime"
20818 "url": "/api/integrations/salesforce/accounts",
20819 "title": "Creates a new Salesforce Account",
20822 "title": "Example usage:",
20823 "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",
20827 "name": "CreateSalesforce_Accounts",
20828 "group": "Salesforce_Accounts",
20843 "field": "description",
20850 "field": "username",
20857 "field": "remoteUri",
20864 "field": "password",
20871 "field": "clientId",
20878 "field": "clientSecret",
20885 "field": "securityToken",
20892 "field": "serverUrl",
20899 "\"integrationTab\"",
20909 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20910 "version": "0.0.0",
20911 "filename": "server/api/intSalesforceAccount/index.js",
20912 "groupTitle": "Salesforce_Accounts"
20916 "url": "/api/integrations/salesforce/accounts/{id}",
20917 "title": "Deletes a Salesforce Account",
20920 "title": "Example usage:",
20921 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id} -v -u {name}:{password} -X DELETE",
20925 "name": "DeleteSalesforce_Accounts",
20926 "group": "Salesforce_Accounts",
20927 "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>",
20928 "version": "0.0.0",
20929 "filename": "server/api/intSalesforceAccount/index.js",
20930 "groupTitle": "Salesforce_Accounts"
20934 "url": "/api/integrations/salesforce/accounts",
20935 "title": "Gets a list of Salesforce Accounts",
20938 "title": "Example usage:",
20939 "content": "curl https://{domain}/api/integrations/salesforce/accounts -v -u {name}:{password}",
20943 "name": "GetSalesforce_Accounts",
20944 "group": "Salesforce_Accounts",
20945 "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&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>",
20946 "version": "0.0.0",
20947 "filename": "server/api/intSalesforceAccount/index.js",
20948 "groupTitle": "Salesforce_Accounts"
20952 "url": "/api/integrations/salesforce/accounts/{id}",
20953 "title": "Gets a single Salesforce Account",
20956 "title": "Example usage:",
20957 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id} -v -u {name}:{password}",
20961 "name": "ShowSalesforce_Accounts",
20962 "group": "Salesforce_Accounts",
20963 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20964 "version": "0.0.0",
20965 "filename": "server/api/intSalesforceAccount/index.js",
20966 "groupTitle": "Salesforce_Accounts"
20970 "url": "/api/integrations/salesforce/accounts/{id}/configurations",
20971 "title": "Creates new configuration",
20974 "title": "Example usage:",
20975 "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",
20979 "name": "addConfiguration",
20980 "group": "Salesforce_Accounts",
20981 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
20982 "version": "0.0.0",
20983 "filename": "server/api/intSalesforceAccount/index.js",
20984 "groupTitle": "Salesforce_Accounts"
20988 "url": "/api/integrations/salesforce/accounts/{id}/configurations",
20989 "title": "Gets account configurations",
20992 "title": "Example usage:",
20993 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id}/configurations -v -u {name}:{password} -X GET",
20997 "name": "getConfigurations",
20998 "group": "Salesforce_Accounts",
20999 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21000 "version": "0.0.0",
21001 "filename": "server/api/intSalesforceAccount/index.js",
21002 "groupTitle": "Salesforce_Accounts"
21006 "url": "/api/integrations/salesforce/accounts/{id}/fields",
21007 "title": "Gets account fields",
21010 "title": "Example usage:",
21011 "content": "curl https://{domain}/api/integrations/salesforce/accounts/{id}/fields -v -u {name}:{password} -X GET",
21015 "name": "getFields",
21016 "group": "Salesforce_Accounts",
21017 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21018 "version": "0.0.0",
21019 "filename": "server/api/intSalesforceAccount/index.js",
21020 "groupTitle": "Salesforce_Accounts"
21024 "url": "/api/integrations/salesforce/accounts/{id}",
21025 "title": "Update an existing Salesforce Account",
21028 "title": "Example usage:",
21029 "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",
21033 "name": "updateSalesforce_Accounts",
21034 "group": "Salesforce_Accounts",
21035 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21036 "version": "0.0.0",
21037 "filename": "server/api/intSalesforceAccount/index.js",
21038 "groupTitle": "Salesforce_Accounts"
21042 "url": "/api/integrations/salesforce/configurations",
21043 "title": "Creates a new Salesforce Configuration",
21046 "title": "Example usage:",
21047 "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",
21051 "name": "CreateSalesforce_Configurations",
21052 "group": "Salesforce_Configurations",
21067 "field": "description",
21078 "field": "ticketType",
21085 "\"contact_lead\"",
21088 "\"account_contact_lead\"",
21092 "field": "moduleSearch",
21105 "field": "moduleCreate",
21119 "field": "additionalSearchAccount",
21126 "field": "additionalSearchContact",
21133 "field": "additionalSearchLead",
21139 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21140 "version": "0.0.0",
21141 "filename": "server/api/intSalesforceConfiguration/index.js",
21142 "groupTitle": "Salesforce_Configurations"
21146 "url": "/api/integrations/salesforce/configurations/{id}",
21147 "title": "Deletes a Salesforce Configuration",
21150 "title": "Example usage:",
21151 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id} -v -u {name}:{password} -X DELETE",
21155 "name": "DeleteSalesforce_Configurations",
21156 "group": "Salesforce_Configurations",
21157 "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>",
21158 "version": "0.0.0",
21159 "filename": "server/api/intSalesforceConfiguration/index.js",
21160 "groupTitle": "Salesforce_Configurations"
21164 "url": "/api/integrations/salesforce/configurations",
21165 "title": "Gets a list of Salesforce Configurations",
21168 "title": "Example usage:",
21169 "content": "curl https://{domain}/api/integrations/salesforce/configurations -v -u {name}:{password}",
21173 "name": "GetSalesforce_Configurations",
21174 "group": "Salesforce_Configurations",
21175 "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&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>",
21176 "version": "0.0.0",
21177 "filename": "server/api/intSalesforceConfiguration/index.js",
21178 "groupTitle": "Salesforce_Configurations"
21182 "url": "/api/integrations/salesforce/configurations/{id}",
21183 "title": "Gets a single Salesforce Configuration",
21186 "title": "Example usage:",
21187 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id} -v -u {name}:{password}",
21191 "name": "ShowSalesforce_Configurations",
21192 "group": "Salesforce_Configurations",
21193 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21194 "version": "0.0.0",
21195 "filename": "server/api/intSalesforceConfiguration/index.js",
21196 "groupTitle": "Salesforce_Configurations"
21200 "url": "/api/integrations/salesforce/configurations/{id}/descriptions",
21201 "title": "Gets configurations descriptions",
21204 "title": "Example usage:",
21205 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
21209 "name": "getDescriptions",
21210 "group": "Salesforce_Configurations",
21211 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21212 "version": "0.0.0",
21213 "filename": "server/api/intSalesforceConfiguration/index.js",
21214 "groupTitle": "Salesforce_Configurations"
21218 "url": "/api/integrations/salesforce/configurations/{id}/fields",
21219 "title": "Gets configurations fields",
21222 "title": "Example usage:",
21223 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/fields -v -u {name}:{password} -X GET",
21227 "name": "getFields",
21228 "group": "Salesforce_Configurations",
21229 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21230 "version": "0.0.0",
21231 "filename": "server/api/intSalesforceConfiguration/index.js",
21232 "groupTitle": "Salesforce_Configurations"
21236 "url": "/api/integrations/salesforce/configurations/{id}/subjects",
21237 "title": "Gets configurations subjects",
21240 "title": "Example usage:",
21241 "content": "curl https://{domain}/api/integrations/salesforce/configurations/{id}/subjects -v -u {name}:{password} -X GET",
21245 "name": "getSubjects",
21246 "group": "Salesforce_Configurations",
21247 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21248 "version": "0.0.0",
21249 "filename": "server/api/intSalesforceConfiguration/index.js",
21250 "groupTitle": "Salesforce_Configurations"
21254 "url": "/api/integrations/salesforce/configurations/{id}",
21255 "title": "Update an existing Salesforce Configuration",
21258 "title": "Example usage:",
21259 "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",
21263 "name": "updateSalesforce_Configurations",
21264 "group": "Salesforce_Configurations",
21265 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21266 "version": "0.0.0",
21267 "filename": "server/api/intSalesforceConfiguration/index.js",
21268 "groupTitle": "Salesforce_Configurations"
21272 "url": "/api/integrations/salesforce/fields",
21273 "title": "Creates a new Salesforce Field",
21276 "title": "Example usage:",
21277 "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",
21281 "name": "CreateSalesforce_Fields",
21282 "group": "Salesforce_Fields",
21292 "\"customVariable\"",
21304 "field": "content",
21320 "\"customVariable\""
21323 "field": "keyType",
21330 "field": "keyContent",
21337 "field": "idField",
21344 "field": "variableName",
21350 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21351 "version": "0.0.0",
21352 "filename": "server/api/intSalesforceField/index.js",
21353 "groupTitle": "Salesforce_Fields"
21357 "url": "/api/integrations/salesforce/fields/{id}",
21358 "title": "Deletes a Salesforce Field",
21361 "title": "Example usage:",
21362 "content": "curl https://{domain}/api/integrations/salesforce/fields/{id} -v -u {name}:{password} -X DELETE",
21366 "name": "DeleteSalesforce_Fields",
21367 "group": "Salesforce_Fields",
21368 "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>",
21369 "version": "0.0.0",
21370 "filename": "server/api/intSalesforceField/index.js",
21371 "groupTitle": "Salesforce_Fields"
21375 "url": "/api/integrations/salesforce/fields",
21376 "title": "Gets a list of Salesforce Fields",
21379 "title": "Example usage:",
21380 "content": "curl https://{domain}/api/integrations/salesforce/fields -v -u {name}:{password}",
21384 "name": "GetSalesforce_Fields",
21385 "group": "Salesforce_Fields",
21386 "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&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>",
21387 "version": "0.0.0",
21388 "filename": "server/api/intSalesforceField/index.js",
21389 "groupTitle": "Salesforce_Fields"
21393 "url": "/api/integrations/salesforce/fields/{id}",
21394 "title": "Gets a single Salesforce Field",
21397 "title": "Example usage:",
21398 "content": "curl https://{domain}/api/integrations/salesforce/fields/{id} -v -u {name}:{password}",
21402 "name": "ShowSalesforce_Fields",
21403 "group": "Salesforce_Fields",
21404 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21405 "version": "0.0.0",
21406 "filename": "server/api/intSalesforceField/index.js",
21407 "groupTitle": "Salesforce_Fields"
21411 "url": "/api/integrations/salesforce/fields/{id}",
21412 "title": "Update an existing Salesforce Field",
21415 "title": "Example usage:",
21416 "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",
21420 "name": "updateSalesforce_Fields",
21421 "group": "Salesforce_Fields",
21422 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21423 "version": "0.0.0",
21424 "filename": "server/api/intSalesforceField/index.js",
21425 "groupTitle": "Salesforce_Fields"
21429 "url": "/api/schedules",
21430 "title": "Creates a new Schedule",
21433 "title": "Example usage:",
21434 "content": "curl https://{domain}/api/schedules -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
21438 "name": "CreateSchedules",
21439 "group": "Schedules",
21454 "field": "description",
21475 "field": "startAt",
21489 "field": "subtractNumber",
21505 "field": "subtractUnit",
21535 "field": "sendMail",
21563 "field": "sendIfEmpty",
21569 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21570 "version": "0.0.0",
21571 "filename": "server/api/schedule/index.js",
21572 "groupTitle": "Schedules"
21576 "url": "/api/schedules/{id}",
21577 "title": "Deletes a Schedule",
21580 "title": "Example usage:",
21581 "content": "curl https://{domain}/api/schedules/{id} -v -u {name}:{password} -X DELETE",
21585 "name": "DeleteSchedules",
21586 "group": "Schedules",
21587 "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>",
21588 "version": "0.0.0",
21589 "filename": "server/api/schedule/index.js",
21590 "groupTitle": "Schedules"
21594 "url": "/api/schedules",
21595 "title": "Gets a list of Schedules",
21598 "title": "Example usage:",
21599 "content": "curl https://{domain}/api/schedules -v -u {name}:{password}",
21603 "name": "GetSchedules",
21604 "group": "Schedules",
21605 "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&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>",
21606 "version": "0.0.0",
21607 "filename": "server/api/schedule/index.js",
21608 "groupTitle": "Schedules"
21612 "url": "/api/schedules/{id}",
21613 "title": "Gets a single Schedule",
21616 "title": "Example usage:",
21617 "content": "curl https://{domain}/api/schedules/{id} -v -u {name}:{password}",
21621 "name": "ShowSchedules",
21622 "group": "Schedules",
21623 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21624 "version": "0.0.0",
21625 "filename": "server/api/schedule/index.js",
21626 "groupTitle": "Schedules"
21630 "url": "/api/schedules/{id}/run",
21631 "title": "Run Scheduler",
21634 "title": "Example usage:",
21635 "content": "curl https://{domain}/api/schedules/{id}/run -v -u {name}:{password} -X GET",
21640 "group": "Schedules",
21641 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21642 "version": "0.0.0",
21643 "filename": "server/api/schedule/index.js",
21644 "groupTitle": "Schedules"
21648 "url": "/api/schedules/{id}",
21649 "title": "Update an existing Schedule",
21652 "title": "Example usage:",
21653 "content": "curl https://{domain}/api/schedules/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
21657 "name": "updateSchedules",
21658 "group": "Schedules",
21659 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21660 "version": "0.0.0",
21661 "filename": "server/api/schedule/index.js",
21662 "groupTitle": "Schedules"
21666 "url": "/api/screen/recordings",
21667 "title": "Creates a new Recording",
21670 "title": "Example usage:",
21671 "content": "curl https://{domain}/api/screen/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
21675 "name": "CreateRecordings",
21676 "group": "Screen_Recordings",
21691 "field": "interactionid",
21698 "field": "channel",
21719 "field": "duration",
21726 "field": "startedAt",
21733 "field": "closedAt",
21740 "field": "createdAt",
21747 "field": "updatedAt",
21753 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21754 "version": "0.0.0",
21755 "filename": "server/api/screenRecording/index.js",
21756 "groupTitle": "Screen_Recordings"
21760 "url": "/api/screen/recordings/describe",
21761 "title": "Gets table info about Recordings",
21764 "title": "Example usage:",
21765 "content": "curl https://{domain}/api/screen/recordings/describe -v -u {name}:{password}",
21769 "name": "DescribeRecordings",
21770 "group": "Screen_Recordings",
21771 "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>",
21772 "version": "0.0.0",
21773 "filename": "server/api/screenRecording/index.js",
21774 "groupTitle": "Screen_Recordings"
21778 "url": "/api/screen/recordings",
21779 "title": "Gets a list of Recordings",
21782 "title": "Example usage:",
21783 "content": "curl https://{domain}/api/screen/recordings -v -u {name}:{password}",
21787 "name": "GetRecordings",
21788 "group": "Screen_Recordings",
21789 "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&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>",
21790 "version": "0.0.0",
21791 "filename": "server/api/screenRecording/index.js",
21792 "groupTitle": "Screen_Recordings"
21796 "url": "/api/screen/recordings/{id}",
21797 "title": "Gets a single Recording",
21800 "title": "Example usage:",
21801 "content": "curl https://{domain}/api/screen/recordings/{id} -v -u {name}:{password}",
21805 "name": "ShowRecordings",
21806 "group": "Screen_Recordings",
21807 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21808 "version": "0.0.0",
21809 "filename": "server/api/screenRecording/index.js",
21810 "groupTitle": "Screen_Recordings"
21814 "url": "/api/screen/recordings/{id}",
21815 "title": "Delete screen recording",
21818 "title": "Example usage:",
21819 "content": "curl https://{domain}/api/screen/recordings/{id} -v -u {name}:{password} -X DELETE",
21824 "group": "Screen_Recordings",
21825 "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>",
21826 "version": "0.0.0",
21827 "filename": "server/api/screenRecording/index.js",
21828 "groupTitle": "Screen_Recordings"
21832 "url": "/api/screen/recordings/{id}/download",
21833 "title": "Download Recording",
21836 "title": "Example usage:",
21837 "content": "curl https://{domain}/api/screen/recordings/{id}/download -v -u {name}:{password} -X GET",
21841 "name": "download",
21842 "group": "Screen_Recordings",
21843 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21844 "version": "0.0.0",
21845 "filename": "server/api/screenRecording/index.js",
21846 "groupTitle": "Screen_Recordings"
21850 "url": "/api/screen/recordings/{id}",
21851 "title": "Update an existing Recording",
21854 "title": "Example usage:",
21855 "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",
21859 "name": "updateRecordings",
21860 "group": "Screen_Recordings",
21861 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21862 "version": "0.0.0",
21863 "filename": "server/api/screenRecording/index.js",
21864 "groupTitle": "Screen_Recordings"
21868 "url": "/api/integrations/servicenow/accounts",
21869 "title": "Creates a new Servicenow Account",
21872 "title": "Example usage:",
21873 "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",
21877 "name": "CreateServicenow_Accounts",
21878 "group": "Servicenow_Accounts",
21893 "field": "description",
21900 "field": "username",
21907 "field": "password",
21921 "field": "remoteUri",
21928 "field": "serverUrl",
21934 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21935 "version": "0.0.0",
21936 "filename": "server/api/intServicenowAccount/index.js",
21937 "groupTitle": "Servicenow_Accounts"
21941 "url": "/api/integrations/servicenow/accounts/{id}",
21942 "title": "Deletes a Servicenow Account",
21945 "title": "Example usage:",
21946 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id} -v -u {name}:{password} -X DELETE",
21950 "name": "DeleteServicenow_Accounts",
21951 "group": "Servicenow_Accounts",
21952 "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>",
21953 "version": "0.0.0",
21954 "filename": "server/api/intServicenowAccount/index.js",
21955 "groupTitle": "Servicenow_Accounts"
21959 "url": "/api/integrations/servicenow/accounts",
21960 "title": "Gets a list of Servicenow Accounts",
21963 "title": "Example usage:",
21964 "content": "curl https://{domain}/api/integrations/servicenow/accounts -v -u {name}:{password}",
21968 "name": "GetServicenow_Accounts",
21969 "group": "Servicenow_Accounts",
21970 "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&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>",
21971 "version": "0.0.0",
21972 "filename": "server/api/intServicenowAccount/index.js",
21973 "groupTitle": "Servicenow_Accounts"
21977 "url": "/api/integrations/servicenow/accounts/{id}",
21978 "title": "Gets a single Servicenow Account",
21981 "title": "Example usage:",
21982 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id} -v -u {name}:{password}",
21986 "name": "ShowServicenow_Accounts",
21987 "group": "Servicenow_Accounts",
21988 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
21989 "version": "0.0.0",
21990 "filename": "server/api/intServicenowAccount/index.js",
21991 "groupTitle": "Servicenow_Accounts"
21995 "url": "/api/integrations/servicenow/accounts/{id}/configurations",
21996 "title": "Creates new configuration",
21999 "title": "Example usage:",
22000 "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",
22004 "name": "addConfiguration",
22005 "group": "Servicenow_Accounts",
22006 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22007 "version": "0.0.0",
22008 "filename": "server/api/intServicenowAccount/index.js",
22009 "groupTitle": "Servicenow_Accounts"
22013 "url": "/api/integrations/servicenow/accounts/{id}/configurations",
22014 "title": "Gets account configurations",
22017 "title": "Example usage:",
22018 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id}/configurations -v -u {name}:{password} -X GET",
22022 "name": "getConfigurations",
22023 "group": "Servicenow_Accounts",
22024 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22025 "version": "0.0.0",
22026 "filename": "server/api/intServicenowAccount/index.js",
22027 "groupTitle": "Servicenow_Accounts"
22031 "url": "/api/integrations/servicenow/accounts/{id}/fields",
22032 "title": "Gets account fields",
22035 "title": "Example usage:",
22036 "content": "curl https://{domain}/api/integrations/servicenow/accounts/{id}/fields -v -u {name}:{password} -X GET",
22040 "name": "getFields",
22041 "group": "Servicenow_Accounts",
22042 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22043 "version": "0.0.0",
22044 "filename": "server/api/intServicenowAccount/index.js",
22045 "groupTitle": "Servicenow_Accounts"
22049 "url": "/api/integrations/servicenow/accounts/{id}",
22050 "title": "Update an existing Servicenow Account",
22053 "title": "Example usage:",
22054 "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",
22058 "name": "updateServicenow_Accounts",
22059 "group": "Servicenow_Accounts",
22060 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22061 "version": "0.0.0",
22062 "filename": "server/api/intServicenowAccount/index.js",
22063 "groupTitle": "Servicenow_Accounts"
22067 "url": "/api/integrations/servicenow/configurations",
22068 "title": "Creates a new Servicenow Configuration",
22071 "title": "Example usage:",
22072 "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",
22076 "name": "CreateServicenow_Configurations",
22077 "group": "Servicenow_Configurations",
22092 "field": "description",
22098 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22099 "version": "0.0.0",
22100 "filename": "server/api/intServicenowConfiguration/index.js",
22101 "groupTitle": "Servicenow_Configurations"
22105 "url": "/api/integrations/servicenow/configurations/{id}",
22106 "title": "Deletes a Servicenow Configuration",
22109 "title": "Example usage:",
22110 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id} -v -u {name}:{password} -X DELETE",
22114 "name": "DeleteServicenow_Configurations",
22115 "group": "Servicenow_Configurations",
22116 "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>",
22117 "version": "0.0.0",
22118 "filename": "server/api/intServicenowConfiguration/index.js",
22119 "groupTitle": "Servicenow_Configurations"
22123 "url": "/api/integrations/servicenow/configurations",
22124 "title": "Gets a list of Servicenow Configurations",
22127 "title": "Example usage:",
22128 "content": "curl https://{domain}/api/integrations/servicenow/configurations -v -u {name}:{password}",
22132 "name": "GetServicenow_Configurations",
22133 "group": "Servicenow_Configurations",
22134 "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&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>",
22135 "version": "0.0.0",
22136 "filename": "server/api/intServicenowConfiguration/index.js",
22137 "groupTitle": "Servicenow_Configurations"
22141 "url": "/api/integrations/servicenow/configurations/{id}",
22142 "title": "Gets a single Servicenow Configuration",
22145 "title": "Example usage:",
22146 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id} -v -u {name}:{password}",
22150 "name": "ShowServicenow_Configurations",
22151 "group": "Servicenow_Configurations",
22152 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22153 "version": "0.0.0",
22154 "filename": "server/api/intServicenowConfiguration/index.js",
22155 "groupTitle": "Servicenow_Configurations"
22159 "url": "/api/integrations/servicenow/configurations/{id}/descriptions",
22160 "title": "Gets configurations descriptions",
22163 "title": "Example usage:",
22164 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
22168 "name": "getDescriptions",
22169 "group": "Servicenow_Configurations",
22170 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22171 "version": "0.0.0",
22172 "filename": "server/api/intServicenowConfiguration/index.js",
22173 "groupTitle": "Servicenow_Configurations"
22177 "url": "/api/integrations/servicenow/configurations/{id}/fields",
22178 "title": "Gets configurations fields",
22181 "title": "Example usage:",
22182 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/fields -v -u {name}:{password} -X GET",
22186 "name": "getFields",
22187 "group": "Servicenow_Configurations",
22188 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22189 "version": "0.0.0",
22190 "filename": "server/api/intServicenowConfiguration/index.js",
22191 "groupTitle": "Servicenow_Configurations"
22195 "url": "/api/integrations/servicenow/configurations/{id}/subjects",
22196 "title": "Gets configurations subjects",
22199 "title": "Example usage:",
22200 "content": "curl https://{domain}/api/integrations/servicenow/configurations/{id}/subjects -v -u {name}:{password} -X GET",
22204 "name": "getSubjects",
22205 "group": "Servicenow_Configurations",
22206 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22207 "version": "0.0.0",
22208 "filename": "server/api/intServicenowConfiguration/index.js",
22209 "groupTitle": "Servicenow_Configurations"
22213 "url": "/api/integrations/servicenow/configurations/{id}",
22214 "title": "Update an existing Servicenow Configuration",
22217 "title": "Example usage:",
22218 "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",
22222 "name": "updateServicenow_Configurations",
22223 "group": "Servicenow_Configurations",
22224 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22225 "version": "0.0.0",
22226 "filename": "server/api/intServicenowConfiguration/index.js",
22227 "groupTitle": "Servicenow_Configurations"
22231 "url": "/api/integrations/servicenow/fields",
22232 "title": "Creates a new Servicenow Field",
22235 "title": "Example usage:",
22236 "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",
22240 "name": "CreateServicenow_Fields",
22241 "group": "Servicenow_Fields",
22251 "\"customVariable\"",
22263 "field": "content",
22279 "\"customVariable\""
22282 "field": "keyType",
22289 "field": "keyContent",
22296 "field": "idField",
22303 "field": "nameField",
22310 "field": "customField",
22317 "field": "variableName",
22323 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22324 "version": "0.0.0",
22325 "filename": "server/api/intServicenowField/index.js",
22326 "groupTitle": "Servicenow_Fields"
22330 "url": "/api/integrations/servicenow/fields/{id}",
22331 "title": "Deletes a Servicenow Field",
22334 "title": "Example usage:",
22335 "content": "curl https://{domain}/api/integrations/servicenow/fields/{id} -v -u {name}:{password} -X DELETE",
22339 "name": "DeleteServicenow_Fields",
22340 "group": "Servicenow_Fields",
22341 "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>",
22342 "version": "0.0.0",
22343 "filename": "server/api/intServicenowField/index.js",
22344 "groupTitle": "Servicenow_Fields"
22348 "url": "/api/integrations/servicenow/fields",
22349 "title": "Gets a list of Servicenow Fields",
22352 "title": "Example usage:",
22353 "content": "curl https://{domain}/api/integrations/servicenow/fields -v -u {name}:{password}",
22357 "name": "GetServicenow_Fields",
22358 "group": "Servicenow_Fields",
22359 "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&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>",
22360 "version": "0.0.0",
22361 "filename": "server/api/intServicenowField/index.js",
22362 "groupTitle": "Servicenow_Fields"
22366 "url": "/api/integrations/servicenow/fields/{id}",
22367 "title": "Gets a single Servicenow Field",
22370 "title": "Example usage:",
22371 "content": "curl https://{domain}/api/integrations/servicenow/fields/{id} -v -u {name}:{password}",
22375 "name": "ShowServicenow_Fields",
22376 "group": "Servicenow_Fields",
22377 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22378 "version": "0.0.0",
22379 "filename": "server/api/intServicenowField/index.js",
22380 "groupTitle": "Servicenow_Fields"
22384 "url": "/api/integrations/servicenow/fields/{id}",
22385 "title": "Update an existing Servicenow Field",
22388 "title": "Example usage:",
22389 "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",
22393 "name": "updateServicenow_Fields",
22394 "group": "Servicenow_Fields",
22395 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22396 "version": "0.0.0",
22397 "filename": "server/api/intServicenowField/index.js",
22398 "groupTitle": "Servicenow_Fields"
22402 "url": "/api/settings",
22403 "title": "Gets a list of Settings",
22406 "title": "Example usage:",
22407 "content": "curl https://{domain}/api/settings -v -u {name}:{password}",
22411 "name": "GetSettings",
22412 "group": "Settings",
22413 "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&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>",
22414 "version": "0.0.0",
22415 "filename": "server/api/setting/index.js",
22416 "groupTitle": "Settings"
22420 "url": "/api/settings/{id}",
22421 "title": "Gets a single Setting",
22424 "title": "Example usage:",
22425 "content": "curl https://{domain}/api/settings/{id} -v -u {name}:{password}",
22429 "name": "ShowSettings",
22430 "group": "Settings",
22431 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22432 "version": "0.0.0",
22433 "filename": "server/api/setting/index.js",
22434 "groupTitle": "Settings"
22438 "url": "/api/settings/{id}/favicon",
22439 "title": "Add Favicon",
22442 "title": "Example usage:",
22443 "content": "curl https://{domain}/api/settings/{id}/favicon -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
22447 "name": "addFavicon",
22448 "group": "Settings",
22449 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22450 "version": "0.0.0",
22451 "filename": "server/api/setting/index.js",
22452 "groupTitle": "Settings"
22456 "url": "/api/settings/{id}/logo",
22457 "title": "Add logo",
22460 "title": "Example usage:",
22461 "content": "curl https://{domain}/api/settings/{id}/logo -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
22466 "group": "Settings",
22467 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22468 "version": "0.0.0",
22469 "filename": "server/api/setting/index.js",
22470 "groupTitle": "Settings"
22474 "url": "/api/settings/{id}/logo_login",
22475 "title": "Add logo login",
22478 "title": "Example usage:",
22479 "content": "curl https://{domain}/api/settings/{id}/logo_login -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
22483 "name": "addLogoLogin",
22484 "group": "Settings",
22485 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22486 "version": "0.0.0",
22487 "filename": "server/api/setting/index.js",
22488 "groupTitle": "Settings"
22492 "url": "/api/settings/{id}/preferred",
22493 "title": "Add Preferred",
22496 "title": "Example usage:",
22497 "content": "curl https://{domain}/api/settings/{id}/preferred -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
22501 "name": "addPreferred",
22502 "group": "Settings",
22503 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22504 "version": "0.0.0",
22505 "filename": "server/api/setting/index.js",
22506 "groupTitle": "Settings"
22510 "url": "/api/settings/now",
22511 "title": "Get Server Current Date",
22514 "title": "Example usage:",
22515 "content": "curl https://{domain}/api/settings/now -v -X GET",
22520 "group": "Settings",
22521 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22522 "version": "0.0.0",
22523 "filename": "server/api/setting/index.js",
22524 "groupTitle": "Settings"
22528 "url": "/api/settings/{id}/favicon",
22529 "title": "Get Favicon",
22532 "title": "Example usage:",
22533 "content": "curl https://{domain}/api/settings/{id}/favicon -v -X GET",
22537 "name": "getFavicon",
22538 "group": "Settings",
22539 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22540 "version": "0.0.0",
22541 "filename": "server/api/setting/index.js",
22542 "groupTitle": "Settings"
22546 "url": "/api/settings/{id}/gdpr",
22547 "title": "Get gdpr settings",
22550 "title": "Example usage:",
22551 "content": "curl https://{domain}/api/settings/{id}/gdpr -v -u {name}:{password} -X GET",
22556 "group": "Settings",
22557 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22558 "version": "0.0.0",
22559 "filename": "server/api/setting/index.js",
22560 "groupTitle": "Settings"
22564 "url": "/api/settings/{id}/logo",
22565 "title": "Get logo",
22568 "title": "Example usage:",
22569 "content": "curl https://{domain}/api/settings/{id}/logo -v -X GET",
22574 "group": "Settings",
22575 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22576 "version": "0.0.0",
22577 "filename": "server/api/setting/index.js",
22578 "groupTitle": "Settings"
22582 "url": "/api/settings/{id}/logo_login",
22583 "title": "Get logo login",
22586 "title": "Example usage:",
22587 "content": "curl https://{domain}/api/settings/{id}/logo_login -v -X GET",
22591 "name": "getLogoLogin",
22592 "group": "Settings",
22593 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22594 "version": "0.0.0",
22595 "filename": "server/api/setting/index.js",
22596 "groupTitle": "Settings"
22600 "url": "/api/settings/{id}/preferred",
22601 "title": "Get Preferred",
22604 "title": "Example usage:",
22605 "content": "curl https://{domain}/api/settings/{id}/preferred -v -X GET",
22609 "name": "getPreferred",
22610 "group": "Settings",
22611 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22612 "version": "0.0.0",
22613 "filename": "server/api/setting/index.js",
22614 "groupTitle": "Settings"
22618 "url": "/api/settings/{id}",
22619 "title": "Update an existing Setting",
22622 "title": "Example usage:",
22623 "content": "curl https://{domain}/api/settings/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
22627 "name": "updateSettings",
22628 "group": "Settings",
22629 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22630 "version": "0.0.0",
22631 "filename": "server/api/setting/index.js",
22632 "groupTitle": "Settings"
22636 "url": "/api/sms/accounts/{id}/users",
22637 "title": "Add agents to a sms account",
22640 "title": "Example usage:",
22641 "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",
22645 "name": "AddAgents",
22646 "group": "Sms_Accounts",
22647 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22648 "version": "0.0.0",
22649 "filename": "server/api/smsAccount/index.js",
22650 "groupTitle": "Sms_Accounts"
22654 "url": "/api/sms/accounts",
22655 "title": "Creates a new Account",
22658 "title": "Example usage:",
22659 "content": "curl https://{domain}/api/sms/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
22663 "name": "CreateAccounts",
22664 "group": "Sms_Accounts",
22726 "field": "accountSid",
22740 "field": "authToken",
22752 "field": "smsMethod",
22759 "field": "username",
22766 "field": "password",
22780 "field": "applicationId",
22787 "field": "accountId",
22794 "field": "senderString",
22801 "field": "deliveryReport",
22808 "field": "description",
22815 "field": "notificationTemplate",
22822 "field": "notificationSound",
22829 "field": "notificationShake",
22836 "field": "waitForTheAssignedAgent",
22843 "field": "queueTransfer",
22850 "field": "queueTransferTimeout",
22857 "field": "agentTransfer",
22864 "field": "agentTransferTimeout",
22871 "field": "baseUrl",
22878 "field": "mandatoryDispositionPauseId",
22879 "description": "<p>Status to put when mandatory disposition is enabled</p>"
22885 "field": "mandatoryDisposition",
22886 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
22891 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22892 "version": "0.0.0",
22893 "filename": "server/api/smsAccount/index.js",
22894 "groupTitle": "Sms_Accounts"
22898 "url": "/api/sms/accounts/{id}",
22899 "title": "Deletes a Account",
22902 "title": "Example usage:",
22903 "content": "curl https://{domain}/api/sms/accounts/{id} -v -u {name}:{password} -X DELETE",
22907 "name": "DeleteAccounts",
22908 "group": "Sms_Accounts",
22909 "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>",
22910 "version": "0.0.0",
22911 "filename": "server/api/smsAccount/index.js",
22912 "groupTitle": "Sms_Accounts"
22916 "url": "/api/sms/accounts/describe",
22917 "title": "Gets table info about Accounts",
22920 "title": "Example usage:",
22921 "content": "curl https://{domain}/api/sms/accounts/describe -v -u {name}:{password}",
22925 "name": "DescribeAccounts",
22926 "group": "Sms_Accounts",
22927 "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>",
22928 "version": "0.0.0",
22929 "filename": "server/api/smsAccount/index.js",
22930 "groupTitle": "Sms_Accounts"
22934 "url": "/api/sms/accounts",
22935 "title": "Gets a list of Accounts",
22938 "title": "Example usage:",
22939 "content": "curl https://{domain}/api/sms/accounts -v -u {name}:{password}",
22943 "name": "GetAccounts",
22944 "group": "Sms_Accounts",
22945 "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&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>",
22946 "version": "0.0.0",
22947 "filename": "server/api/smsAccount/index.js",
22948 "groupTitle": "Sms_Accounts"
22952 "url": "/api/sms/accounts/{id}/users",
22953 "title": "Gets agents from sms account",
22956 "title": "Example usage:",
22957 "content": "curl https://{domain}/api/sms/accounts/{id}/users -v -u {name}:{password} -X GET",
22961 "name": "GetAgents",
22962 "group": "Sms_Accounts",
22963 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
22964 "version": "0.0.0",
22965 "filename": "server/api/smsAccount/index.js",
22966 "groupTitle": "Sms_Accounts"
22970 "url": "/api/sms/accounts/{id}/users",
22971 "title": "Removes agents from a sms account",
22974 "title": "Example usage:",
22975 "content": "curl https://{domain}/api/sms/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
22979 "name": "RemoveAgents",
22980 "group": "Sms_Accounts",
22981 "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>",
22982 "version": "0.0.0",
22983 "filename": "server/api/smsAccount/index.js",
22984 "groupTitle": "Sms_Accounts"
22988 "url": "/api/sms/accounts/{id}/canned_answers",
22989 "title": "Removes canned answers from account",
22992 "title": "Example usage:",
22993 "content": "curl https://{domain}/api/sms/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
22997 "name": "RemoveAnswers",
22998 "group": "Sms_Accounts",
22999 "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>",
23000 "version": "0.0.0",
23001 "filename": "server/api/smsAccount/index.js",
23002 "groupTitle": "Sms_Accounts"
23006 "url": "/api/sms/accounts/{id}/dispositions",
23007 "title": "Removes dispositions from account",
23010 "title": "Example usage:",
23011 "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
23015 "name": "RemoveDispositions",
23016 "group": "Sms_Accounts",
23017 "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>",
23018 "version": "0.0.0",
23019 "filename": "server/api/smsAccount/index.js",
23020 "groupTitle": "Sms_Accounts"
23024 "url": "/api/sms/accounts/{id}",
23025 "title": "Gets a single Account",
23028 "title": "Example usage:",
23029 "content": "curl https://{domain}/api/sms/accounts/{id} -v -u {name}:{password}",
23033 "name": "ShowAccounts",
23034 "group": "Sms_Accounts",
23035 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23036 "version": "0.0.0",
23037 "filename": "server/api/smsAccount/index.js",
23038 "groupTitle": "Sms_Accounts"
23042 "url": "/api/sms/messages/{id}/accept",
23043 "title": "Accepts message",
23046 "title": "Example usage:",
23047 "content": "curl https://{domain}/api/sms/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
23051 "name": "acceptMessage",
23052 "group": "Sms_Accounts",
23053 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23054 "version": "0.0.0",
23055 "filename": "server/api/smsMessage/index.js",
23056 "groupTitle": "Sms_Accounts"
23060 "url": "/api/sms/accounts/{id}/canned_answers",
23061 "title": "Creates new canned answer",
23064 "title": "Example usage:",
23065 "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",
23069 "name": "addAnswer",
23070 "group": "Sms_Accounts",
23092 "field": "description",
23105 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23106 "version": "0.0.0",
23107 "filename": "server/api/smsAccount/index.js",
23108 "groupTitle": "Sms_Accounts"
23112 "url": "/api/sms/accounts/{id}/applications",
23113 "title": "Creates new applications",
23116 "title": "Example usage:",
23117 "content": "curl https://{domain}/api/sms/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
23121 "name": "addApplications",
23122 "group": "Sms_Accounts",
23130 "field": "priority",
23144 "field": "appdata",
23151 "field": "description",
23158 "field": "interval",
23164 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23165 "version": "0.0.0",
23166 "filename": "server/api/smsAccount/index.js",
23167 "groupTitle": "Sms_Accounts"
23171 "url": "/api/sms/accounts/{id}/dispositions",
23172 "title": "Creates new disposition",
23175 "title": "Example usage:",
23176 "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
23180 "name": "addDisposition",
23181 "group": "Sms_Accounts",
23208 "field": "description",
23214 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23215 "version": "0.0.0",
23216 "filename": "server/api/smsAccount/index.js",
23217 "groupTitle": "Sms_Accounts"
23221 "url": "/api/sms/accounts/{id}/canned_answers",
23222 "title": "Gets account canned answers",
23225 "title": "Example usage:",
23226 "content": "curl https://{domain}/api/sms/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
23230 "name": "getAnswers",
23231 "group": "Sms_Accounts",
23232 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23233 "version": "0.0.0",
23234 "filename": "server/api/smsAccount/index.js",
23235 "groupTitle": "Sms_Accounts"
23239 "url": "/api/sms/accounts/{id}/applications",
23240 "title": "Gets account applications",
23243 "title": "Example usage:",
23244 "content": "curl https://{domain}/api/sms/accounts/{id}/applications -v -u {name}:{password} -X GET",
23248 "name": "getApplications",
23249 "group": "Sms_Accounts",
23250 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23251 "version": "0.0.0",
23252 "filename": "server/api/smsAccount/index.js",
23253 "groupTitle": "Sms_Accounts"
23257 "url": "/api/sms/accounts/{id}/dispositions",
23258 "title": "Gets account dispositions",
23261 "title": "Example usage:",
23262 "content": "curl https://{domain}/api/sms/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
23266 "name": "getDispositions",
23267 "group": "Sms_Accounts",
23268 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23269 "version": "0.0.0",
23270 "filename": "server/api/smsAccount/index.js",
23271 "groupTitle": "Sms_Accounts"
23275 "url": "/api/sms/accounts/{id}/interactions",
23276 "title": "Gets Sms Account interactions",
23279 "title": "Example usage:",
23280 "content": "curl https://{domain}/api/sms/accounts/{id}/interactions -v -u {name}:{password} -X GET",
23284 "name": "getInteractions",
23285 "group": "Sms_Accounts",
23286 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23287 "version": "0.0.0",
23288 "filename": "server/api/smsAccount/index.js",
23289 "groupTitle": "Sms_Accounts"
23293 "url": "/api/sms/accounts/{id}/notify",
23294 "title": "Notify new message",
23297 "title": "Example usage:",
23298 "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",
23303 "group": "Sms_Accounts",
23304 "description": "<p>Motion 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>",
23305 "version": "0.0.0",
23306 "filename": "server/api/smsAccount/index.js",
23307 "groupTitle": "Sms_Accounts"
23311 "url": "/api/sms/messages/{id}/reject",
23312 "title": "Rejects message",
23315 "title": "Example usage:",
23316 "content": "curl https://{domain}/api/sms/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
23320 "name": "rejectMessage",
23321 "group": "Sms_Accounts",
23322 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23323 "version": "0.0.0",
23324 "filename": "server/api/smsMessage/index.js",
23325 "groupTitle": "Sms_Accounts"
23329 "url": "/api/sms/accounts/{id}/send",
23330 "title": "Send new sms message",
23333 "title": "Example usage:",
23334 "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",
23339 "group": "Sms_Accounts",
23340 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23341 "version": "0.0.0",
23342 "filename": "server/api/smsAccount/index.js",
23343 "groupTitle": "Sms_Accounts"
23347 "url": "/api/sms/messages/{id}/status",
23348 "title": "Receive message status",
23351 "title": "Example usage:",
23352 "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST",
23356 "name": "statusMessage",
23357 "group": "Sms_Accounts",
23358 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23359 "version": "0.0.0",
23360 "filename": "server/api/smsMessage/index.js",
23361 "groupTitle": "Sms_Accounts"
23365 "url": "/api/sms/accounts/{id}/status",
23366 "title": "Receive message status",
23369 "title": "Example usage:",
23370 "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST",
23374 "name": "statusMessage",
23375 "group": "Sms_Accounts",
23376 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23377 "version": "0.0.0",
23378 "filename": "server/api/smsAccount/index.js",
23379 "groupTitle": "Sms_Accounts"
23383 "url": "/api/sms/accounts/{id}/status",
23384 "title": "Receive message status as get request",
23387 "title": "Example usage:",
23388 "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET",
23392 "name": "statusMessage",
23393 "group": "Sms_Accounts",
23394 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23395 "version": "0.0.0",
23396 "filename": "server/api/smsAccount/index.js",
23397 "groupTitle": "Sms_Accounts"
23401 "url": "/api/sms/accounts/{id}",
23402 "title": "Update an existing Account",
23405 "title": "Example usage:",
23406 "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",
23410 "name": "updateAccounts",
23411 "group": "Sms_Accounts",
23412 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23413 "version": "0.0.0",
23414 "filename": "server/api/smsAccount/index.js",
23415 "groupTitle": "Sms_Accounts"
23419 "url": "/api/sms/applications",
23420 "title": "Creates a new Application",
23423 "title": "Example usage:",
23424 "content": "curl https://{domain}/api/sms/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23428 "name": "CreateApplications",
23429 "group": "Sms_Applications",
23437 "field": "priority",
23451 "field": "appdata",
23458 "field": "description",
23465 "field": "interval",
23471 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23472 "version": "0.0.0",
23473 "filename": "server/api/smsApplication/index.js",
23474 "groupTitle": "Sms_Applications"
23478 "url": "/api/sms/applications/{id}",
23479 "title": "Deletes a Application",
23482 "title": "Example usage:",
23483 "content": "curl https://{domain}/api/sms/applications/{id} -v -u {name}:{password} -X DELETE",
23487 "name": "DeleteApplications",
23488 "group": "Sms_Applications",
23489 "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>",
23490 "version": "0.0.0",
23491 "filename": "server/api/smsApplication/index.js",
23492 "groupTitle": "Sms_Applications"
23496 "url": "/api/sms/applications",
23497 "title": "Gets a list of Applications",
23500 "title": "Example usage:",
23501 "content": "curl https://{domain}/api/sms/applications -v -u {name}:{password}",
23505 "name": "GetApplications",
23506 "group": "Sms_Applications",
23507 "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&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>",
23508 "version": "0.0.0",
23509 "filename": "server/api/smsApplication/index.js",
23510 "groupTitle": "Sms_Applications"
23514 "url": "/api/sms/applications/{id}",
23515 "title": "Gets a single Application",
23518 "title": "Example usage:",
23519 "content": "curl https://{domain}/api/sms/applications/{id} -v -u {name}:{password}",
23523 "name": "ShowApplications",
23524 "group": "Sms_Applications",
23525 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23526 "version": "0.0.0",
23527 "filename": "server/api/smsApplication/index.js",
23528 "groupTitle": "Sms_Applications"
23532 "url": "/api/sms/applications/{id}",
23533 "title": "Update an existing Application",
23536 "title": "Example usage:",
23537 "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",
23541 "name": "updateApplications",
23542 "group": "Sms_Applications",
23543 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23544 "version": "0.0.0",
23545 "filename": "server/api/smsApplication/index.js",
23546 "groupTitle": "Sms_Applications"
23550 "url": "/api/sms/interactions/{id}/tags",
23551 "title": "Add tags to the interaction",
23554 "title": "Example usage:",
23555 "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",
23560 "group": "Sms_Interactions",
23561 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23562 "version": "0.0.0",
23563 "filename": "server/api/smsInteraction/index.js",
23564 "groupTitle": "Sms_Interactions"
23568 "url": "/api/sms/interactions",
23569 "title": "Creates a new Interaction",
23572 "title": "Example usage:",
23573 "content": "curl https://{domain}/api/sms/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23577 "name": "CreateInteractions",
23578 "group": "Sms_Interactions",
23593 "field": "closedAt",
23600 "field": "disposition",
23607 "field": "secondDisposition",
23614 "field": "thirdDisposition",
23635 "field": "read1stAt",
23646 "field": "firstMsgDirection",
23653 "field": "lastMsgAt",
23664 "field": "lastMsgDirection",
23670 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23671 "version": "0.0.0",
23672 "filename": "server/api/smsInteraction/index.js",
23673 "groupTitle": "Sms_Interactions"
23677 "url": "/api/sms/interactions/{id}",
23678 "title": "Deletes a Interaction",
23681 "title": "Example usage:",
23682 "content": "curl https://{domain}/api/sms/interactions/{id} -v -u {name}:{password} -X DELETE",
23686 "name": "DeleteInteractions",
23687 "group": "Sms_Interactions",
23688 "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>",
23689 "version": "0.0.0",
23690 "filename": "server/api/smsInteraction/index.js",
23691 "groupTitle": "Sms_Interactions"
23695 "url": "/api/sms/interactions/describe",
23696 "title": "Gets table info about Interactions",
23699 "title": "Example usage:",
23700 "content": "curl https://{domain}/api/sms/interactions/describe -v -u {name}:{password}",
23704 "name": "DescribeInteractions",
23705 "group": "Sms_Interactions",
23706 "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>",
23707 "version": "0.0.0",
23708 "filename": "server/api/smsInteraction/index.js",
23709 "groupTitle": "Sms_Interactions"
23713 "url": "/api/sms/interactions",
23714 "title": "Gets a list of Interactions",
23717 "title": "Example usage:",
23718 "content": "curl https://{domain}/api/sms/interactions -v -u {name}:{password}",
23722 "name": "GetInteractions",
23723 "group": "Sms_Interactions",
23724 "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&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>",
23725 "version": "0.0.0",
23726 "filename": "server/api/smsInteraction/index.js",
23727 "groupTitle": "Sms_Interactions"
23731 "url": "/api/sms/interactions/{id}/tags",
23732 "title": "Removes tags from interaction",
23735 "title": "Example usage:",
23736 "content": "curl https://{domain}/api/sms/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
23740 "name": "RemoveTags",
23741 "group": "Sms_Interactions",
23742 "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>",
23743 "version": "0.0.0",
23744 "filename": "server/api/smsInteraction/index.js",
23745 "groupTitle": "Sms_Interactions"
23749 "url": "/api/sms/interactions/{id}",
23750 "title": "Gets a single Interaction",
23753 "title": "Example usage:",
23754 "content": "curl https://{domain}/api/sms/interactions/{id} -v -u {name}:{password}",
23758 "name": "ShowInteractions",
23759 "group": "Sms_Interactions",
23760 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23761 "version": "0.0.0",
23762 "filename": "server/api/smsInteraction/index.js",
23763 "groupTitle": "Sms_Interactions"
23767 "url": "/api/sms/interactions/{id}/messages",
23768 "title": "Creates new messages",
23771 "title": "Example usage:",
23772 "content": "curl https://{domain}/api/sms/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
23776 "name": "addMessage",
23777 "group": "Sms_Interactions",
23803 "field": "direction",
23810 "field": "messageId",
23838 "field": "providerName",
23845 "field": "providerResponse",
23851 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23852 "version": "0.0.0",
23853 "filename": "server/api/smsInteraction/index.js",
23854 "groupTitle": "Sms_Interactions"
23858 "url": "/api/sms/interactions/{id}/download",
23859 "title": "Gets interaction",
23862 "title": "Example usage:",
23863 "content": "curl https://{domain}/api/sms/interactions/{id}/download -v -u {name}:{password} -X GET",
23867 "name": "download",
23868 "group": "Sms_Interactions",
23869 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23870 "version": "0.0.0",
23871 "filename": "server/api/smsInteraction/index.js",
23872 "groupTitle": "Sms_Interactions"
23876 "url": "/api/sms/interactions/{id}/messages",
23877 "title": "Gets interaction messages",
23880 "title": "Example usage:",
23881 "content": "curl https://{domain}/api/sms/interactions/{id}/messages -v -u {name}:{password} -X GET",
23885 "name": "getMessages",
23886 "group": "Sms_Interactions",
23887 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23888 "version": "0.0.0",
23889 "filename": "server/api/smsInteraction/index.js",
23890 "groupTitle": "Sms_Interactions"
23894 "url": "/api/sms/interactions/{id}",
23895 "title": "Update an existing Interaction",
23898 "title": "Example usage:",
23899 "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",
23903 "name": "updateInteractions",
23904 "group": "Sms_Interactions",
23905 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23906 "version": "0.0.0",
23907 "filename": "server/api/smsInteraction/index.js",
23908 "groupTitle": "Sms_Interactions"
23912 "url": "/api/sms/messages",
23913 "title": "Creates a new Message",
23916 "title": "Example usage:",
23917 "content": "curl https://{domain}/api/sms/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
23921 "name": "CreateMessages",
23922 "group": "Sms_Messages",
23948 "field": "direction",
23955 "field": "messageId",
23983 "field": "providerName",
23990 "field": "providerResponse",
23996 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
23997 "version": "0.0.0",
23998 "filename": "server/api/smsMessage/index.js",
23999 "groupTitle": "Sms_Messages"
24003 "url": "/api/sms/messages/{id}",
24004 "title": "Deletes a Message",
24007 "title": "Example usage:",
24008 "content": "curl https://{domain}/api/sms/messages/{id} -v -u {name}:{password} -X DELETE",
24012 "name": "DeleteMessages",
24013 "group": "Sms_Messages",
24014 "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>",
24015 "version": "0.0.0",
24016 "filename": "server/api/smsMessage/index.js",
24017 "groupTitle": "Sms_Messages"
24021 "url": "/api/sms/messages/describe",
24022 "title": "Gets table info about Messages",
24025 "title": "Example usage:",
24026 "content": "curl https://{domain}/api/sms/messages/describe -v -u {name}:{password}",
24030 "name": "DescribeMessages",
24031 "group": "Sms_Messages",
24032 "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>",
24033 "version": "0.0.0",
24034 "filename": "server/api/smsMessage/index.js",
24035 "groupTitle": "Sms_Messages"
24039 "url": "/api/sms/messages",
24040 "title": "Gets a list of Messages",
24043 "title": "Example usage:",
24044 "content": "curl https://{domain}/api/sms/messages -v -u {name}:{password}",
24048 "name": "GetMessages",
24049 "group": "Sms_Messages",
24050 "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&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>",
24051 "version": "0.0.0",
24052 "filename": "server/api/smsMessage/index.js",
24053 "groupTitle": "Sms_Messages"
24057 "url": "/api/sms/messages/{id}",
24058 "title": "Gets a single Message",
24061 "title": "Example usage:",
24062 "content": "curl https://{domain}/api/sms/messages/{id} -v -u {name}:{password}",
24066 "name": "ShowMessages",
24067 "group": "Sms_Messages",
24068 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24069 "version": "0.0.0",
24070 "filename": "server/api/smsMessage/index.js",
24071 "groupTitle": "Sms_Messages"
24075 "url": "/api/sms/messages/{id}",
24076 "title": "Update an existing Message",
24079 "title": "Example usage:",
24080 "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",
24084 "name": "updateMessages",
24085 "group": "Sms_Messages",
24086 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24087 "version": "0.0.0",
24088 "filename": "server/api/smsMessage/index.js",
24089 "groupTitle": "Sms_Messages"
24093 "url": "/api/sms/reports/queue",
24094 "title": "Creates a new Sms Queue Report",
24097 "title": "Example usage:",
24098 "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",
24102 "name": "CreateSms_Queue_Reports",
24103 "group": "Sms_Queue_Reports",
24111 "field": "uniqueid",
24132 "field": "leaveAt",
24139 "field": "acceptAt",
24159 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24160 "version": "0.0.0",
24161 "filename": "server/api/smsQueueReport/index.js",
24162 "groupTitle": "Sms_Queue_Reports"
24166 "url": "/api/sms/reports/queue/{id}",
24167 "title": "Deletes a Sms Queue Report",
24170 "title": "Example usage:",
24171 "content": "curl https://{domain}/api/sms/reports/queue/{id} -v -u {name}:{password} -X DELETE",
24175 "name": "DeleteSms_Queue_Reports",
24176 "group": "Sms_Queue_Reports",
24177 "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>",
24178 "version": "0.0.0",
24179 "filename": "server/api/smsQueueReport/index.js",
24180 "groupTitle": "Sms_Queue_Reports"
24184 "url": "/api/sms/reports/queue/describe",
24185 "title": "Gets table info about Sms Queue Reports",
24188 "title": "Example usage:",
24189 "content": "curl https://{domain}/api/sms/reports/queue/describe -v -u {name}:{password}",
24193 "name": "DescribeSms_Queue_Reports",
24194 "group": "Sms_Queue_Reports",
24195 "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>",
24196 "version": "0.0.0",
24197 "filename": "server/api/smsQueueReport/index.js",
24198 "groupTitle": "Sms_Queue_Reports"
24202 "url": "/api/sms/reports/queue",
24203 "title": "Gets a list of Sms Queue Reports",
24206 "title": "Example usage:",
24207 "content": "curl https://{domain}/api/sms/reports/queue -v -u {name}:{password}",
24211 "name": "GetSms_Queue_Reports",
24212 "group": "Sms_Queue_Reports",
24213 "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&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>",
24214 "version": "0.0.0",
24215 "filename": "server/api/smsQueueReport/index.js",
24216 "groupTitle": "Sms_Queue_Reports"
24220 "url": "/api/sms/reports/queue/{id}",
24221 "title": "Gets a single Sms Queue Report",
24224 "title": "Example usage:",
24225 "content": "curl https://{domain}/api/sms/reports/queue/{id} -v -u {name}:{password}",
24229 "name": "ShowSms_Queue_Reports",
24230 "group": "Sms_Queue_Reports",
24231 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24232 "version": "0.0.0",
24233 "filename": "server/api/smsQueueReport/index.js",
24234 "groupTitle": "Sms_Queue_Reports"
24238 "url": "/api/sms/reports/queue/{id}",
24239 "title": "Update an existing Sms Queue Report",
24242 "title": "Example usage:",
24243 "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",
24247 "name": "updateSms_Queue_Reports",
24248 "group": "Sms_Queue_Reports",
24249 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24250 "version": "0.0.0",
24251 "filename": "server/api/smsQueueReport/index.js",
24252 "groupTitle": "Sms_Queue_Reports"
24256 "url": "/api/sms/queues/{id}/users",
24257 "title": "Add agents to a queue",
24260 "title": "Example usage:",
24261 "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",
24265 "name": "AddAgents",
24266 "group": "Sms_Queues",
24267 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24268 "version": "0.0.0",
24269 "filename": "server/api/smsQueue/index.js",
24270 "groupTitle": "Sms_Queues"
24274 "url": "/api/sms/queues/{id}/teams",
24275 "title": "Add teams to a queue",
24278 "title": "Example usage:",
24279 "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",
24283 "name": "AddTeams",
24284 "group": "Sms_Queues",
24285 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24286 "version": "0.0.0",
24287 "filename": "server/api/smsQueue/index.js",
24288 "groupTitle": "Sms_Queues"
24292 "url": "/api/sms/queues",
24293 "title": "Creates a new Queue",
24296 "title": "Example usage:",
24297 "content": "curl https://{domain}/api/sms/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24301 "name": "CreateQueues",
24302 "group": "Sms_Queues",
24317 "field": "description",
24324 "field": "timeout",
24336 "field": "strategy",
24342 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24343 "version": "0.0.0",
24344 "filename": "server/api/smsQueue/index.js",
24345 "groupTitle": "Sms_Queues"
24349 "url": "/api/sms/queues/{id}",
24350 "title": "Deletes a Queue",
24353 "title": "Example usage:",
24354 "content": "curl https://{domain}/api/sms/queues/{id} -v -u {name}:{password} -X DELETE",
24358 "name": "DeleteQueues",
24359 "group": "Sms_Queues",
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": "server/api/smsQueue/index.js",
24363 "groupTitle": "Sms_Queues"
24367 "url": "/api/sms/queues/describe",
24368 "title": "Gets table info about Queues",
24371 "title": "Example usage:",
24372 "content": "curl https://{domain}/api/sms/queues/describe -v -u {name}:{password}",
24376 "name": "DescribeQueues",
24377 "group": "Sms_Queues",
24378 "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>",
24379 "version": "0.0.0",
24380 "filename": "server/api/smsQueue/index.js",
24381 "groupTitle": "Sms_Queues"
24385 "url": "/api/sms/queues/{id}/users",
24386 "title": "Gets queue agents",
24389 "title": "Example usage:",
24390 "content": "curl https://{domain}/api/sms/queues/{id}/users -v -u {name}:{password} -X POST",
24394 "name": "GetAgents",
24395 "group": "Sms_Queues",
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": "server/api/smsQueue/index.js",
24399 "groupTitle": "Sms_Queues"
24403 "url": "/api/sms/queues/{id}/members",
24404 "title": "GetMembers",
24407 "title": "Example usage:",
24408 "content": "curl https://{domain}/api/sms/queues/{id}/members -v -u {name}:{password}",
24412 "name": "GetMembers",
24413 "group": "Sms_Queues",
24414 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24415 "version": "0.0.0",
24416 "filename": "server/api/smsQueue/index.js",
24417 "groupTitle": "Sms_Queues"
24421 "url": "/api/sms/queues",
24422 "title": "Gets a list of Queues",
24425 "title": "Example usage:",
24426 "content": "curl https://{domain}/api/sms/queues -v -u {name}:{password}",
24430 "name": "GetQueues",
24431 "group": "Sms_Queues",
24432 "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&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>",
24433 "version": "0.0.0",
24434 "filename": "server/api/smsQueue/index.js",
24435 "groupTitle": "Sms_Queues"
24439 "url": "/api/sms/queues/{id}/teams",
24440 "title": "Gets queues list",
24443 "title": "Example usage:",
24444 "content": "curl https://{domain}/api/sms/queues/{id}/teams -v -u {name}:{password}",
24448 "name": "GetTeams",
24449 "group": "Sms_Queues",
24450 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24451 "version": "0.0.0",
24452 "filename": "server/api/smsQueue/index.js",
24453 "groupTitle": "Sms_Queues"
24457 "url": "/api/sms/queues/{id}/users",
24458 "title": "Removes agents from a queue",
24461 "title": "Example usage:",
24462 "content": "curl https://{domain}/api/sms/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
24466 "name": "RemoveAgents",
24467 "group": "Sms_Queues",
24468 "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>",
24469 "version": "0.0.0",
24470 "filename": "server/api/smsQueue/index.js",
24471 "groupTitle": "Sms_Queues"
24475 "url": "/api/sms/queues/{id}",
24476 "title": "Gets a single Queue",
24479 "title": "Example usage:",
24480 "content": "curl https://{domain}/api/sms/queues/{id} -v -u {name}:{password}",
24484 "name": "ShowQueues",
24485 "group": "Sms_Queues",
24486 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24487 "version": "0.0.0",
24488 "filename": "server/api/smsQueue/index.js",
24489 "groupTitle": "Sms_Queues"
24493 "url": "/api/sms/queues/{id}",
24494 "title": "Update an existing Queue",
24497 "title": "Example usage:",
24498 "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",
24502 "name": "updateQueues",
24503 "group": "Sms_Queues",
24504 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24505 "version": "0.0.0",
24506 "filename": "server/api/smsQueue/index.js",
24507 "groupTitle": "Sms_Queues"
24511 "url": "/api/sms/reports/transfer",
24512 "title": "Creates a new Sms Transfer Report",
24515 "title": "Example usage:",
24516 "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",
24520 "name": "CreateSms_Transfer_Reports",
24521 "group": "Sms_Transfer_Reports",
24529 "field": "uniqueid",
24548 "field": "transferredAt",
24554 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24555 "version": "0.0.0",
24556 "filename": "server/api/smsTransferReport/index.js",
24557 "groupTitle": "Sms_Transfer_Reports"
24561 "url": "/api/sms/reports/transfer/{id}",
24562 "title": "Deletes a Sms Transfer Report",
24565 "title": "Example usage:",
24566 "content": "curl https://{domain}/api/sms/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
24570 "name": "DeleteSms_Transfer_Reports",
24571 "group": "Sms_Transfer_Reports",
24572 "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>",
24573 "version": "0.0.0",
24574 "filename": "server/api/smsTransferReport/index.js",
24575 "groupTitle": "Sms_Transfer_Reports"
24579 "url": "/api/sms/reports/transfer/describe",
24580 "title": "Gets table info about Sms Transfer Reports",
24583 "title": "Example usage:",
24584 "content": "curl https://{domain}/api/sms/reports/transfer/describe -v -u {name}:{password}",
24588 "name": "DescribeSms_Transfer_Reports",
24589 "group": "Sms_Transfer_Reports",
24590 "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>",
24591 "version": "0.0.0",
24592 "filename": "server/api/smsTransferReport/index.js",
24593 "groupTitle": "Sms_Transfer_Reports"
24597 "url": "/api/sms/reports/transfer",
24598 "title": "Gets a list of Sms Transfer Reports",
24601 "title": "Example usage:",
24602 "content": "curl https://{domain}/api/sms/reports/transfer -v -u {name}:{password}",
24606 "name": "GetSms_Transfer_Reports",
24607 "group": "Sms_Transfer_Reports",
24608 "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&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>",
24609 "version": "0.0.0",
24610 "filename": "server/api/smsTransferReport/index.js",
24611 "groupTitle": "Sms_Transfer_Reports"
24615 "url": "/api/sms/reports/transfer/{id}",
24616 "title": "Gets a single Sms Transfer Report",
24619 "title": "Example usage:",
24620 "content": "curl https://{domain}/api/sms/reports/transfer/{id} -v -u {name}:{password}",
24624 "name": "ShowSms_Transfer_Reports",
24625 "group": "Sms_Transfer_Reports",
24626 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24627 "version": "0.0.0",
24628 "filename": "server/api/smsTransferReport/index.js",
24629 "groupTitle": "Sms_Transfer_Reports"
24633 "url": "/api/sms/reports/transfer/{id}",
24634 "title": "Update an existing Sms Transfer Report",
24637 "title": "Example usage:",
24638 "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",
24642 "name": "updateSms_Transfer_Reports",
24643 "group": "Sms_Transfer_Reports",
24644 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24645 "version": "0.0.0",
24646 "filename": "server/api/smsTransferReport/index.js",
24647 "groupTitle": "Sms_Transfer_Reports"
24651 "url": "/api/sounds",
24652 "title": "Gets a list of Sounds",
24655 "title": "Example usage:",
24656 "content": "curl https://{domain}/api/sounds -v -u {name}:{password}",
24660 "name": "GetSounds",
24662 "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&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>",
24663 "version": "0.0.0",
24664 "filename": "server/api/sound/index.js",
24665 "groupTitle": "Sounds"
24669 "url": "/api/sounds/{id}",
24670 "title": "Gets a single Sound",
24673 "title": "Example usage:",
24674 "content": "curl https://{domain}/api/sounds/{id} -v -u {name}:{password}",
24678 "name": "ShowSounds",
24680 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24681 "version": "0.0.0",
24682 "filename": "server/api/sound/index.js",
24683 "groupTitle": "Sounds"
24687 "url": "/api/sounds",
24688 "title": "Create a new sound",
24691 "title": "Example usage:",
24692 "content": "curl https://{domain}/api/sounds -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
24696 "name": "addSound",
24698 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24699 "version": "0.0.0",
24700 "filename": "server/api/sound/index.js",
24701 "groupTitle": "Sounds"
24705 "url": "/api/sounds/{id}",
24706 "title": "Deletes a sound",
24709 "title": "Example usage:",
24710 "content": "curl https://{domain}/api/sounds/{id} -v -u {name}:{password} -X DELETE",
24714 "name": "destroySound",
24716 "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>",
24717 "version": "0.0.0",
24718 "filename": "server/api/sound/index.js",
24719 "groupTitle": "Sounds"
24723 "url": "/api/sounds/{id}/download",
24724 "title": "Download Sound",
24727 "title": "Example usage:",
24728 "content": "curl https://{domain}/api/sounds/{id}/download -v -u {name}:{password} -X GET",
24732 "name": "download",
24734 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24735 "version": "0.0.0",
24736 "filename": "server/api/sound/index.js",
24737 "groupTitle": "Sounds"
24741 "url": "/api/sounds",
24742 "title": "Update an existing new sound",
24745 "title": "Example usage:",
24746 "content": "curl https://{domain}/api/sounds -d '[\"name\": \"sound_name\", \"description\": \"sound_desc\"]' -v -u {name}:{password} -X PUT",
24750 "name": "updateSound",
24752 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24753 "version": "0.0.0",
24754 "filename": "server/api/sound/index.js",
24755 "groupTitle": "Sounds"
24759 "url": "/api/square/details/reports",
24760 "title": "Creates a new Square Detail Report",
24763 "title": "Example usage:",
24764 "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",
24768 "name": "CreateSquare_Detail_Reports",
24769 "group": "Square_Details_Reports",
24777 "field": "uniqueid",
24791 "field": "application",
24805 "field": "project_name",
24812 "field": "callerid",
24818 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24819 "version": "0.0.0",
24820 "filename": "server/api/squareReportDetail/index.js",
24821 "groupTitle": "Square_Details_Reports"
24825 "url": "/api/square/details/reports/{id}",
24826 "title": "Deletes a Square Detail Report",
24829 "title": "Example usage:",
24830 "content": "curl https://{domain}/api/square/details/reports/{id} -v -u {name}:{password} -X DELETE",
24834 "name": "DeleteSquare_Detail_Reports",
24835 "group": "Square_Details_Reports",
24836 "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>",
24837 "version": "0.0.0",
24838 "filename": "server/api/squareReportDetail/index.js",
24839 "groupTitle": "Square_Details_Reports"
24843 "url": "/api/square/details/reports/describe",
24844 "title": "Gets table info about Square Detail Reports",
24847 "title": "Example usage:",
24848 "content": "curl https://{domain}/api/square/details/reports/describe -v -u {name}:{password}",
24852 "name": "DescribeSquare_Detail_Reports",
24853 "group": "Square_Details_Reports",
24854 "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>",
24855 "version": "0.0.0",
24856 "filename": "server/api/squareReportDetail/index.js",
24857 "groupTitle": "Square_Details_Reports"
24861 "url": "/api/square/details/reports",
24862 "title": "Gets a list of Square Detail Reports",
24865 "title": "Example usage:",
24866 "content": "curl https://{domain}/api/square/details/reports -v -u {name}:{password}",
24870 "name": "GetSquare_Detail_Reports",
24871 "group": "Square_Details_Reports",
24872 "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&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>",
24873 "version": "0.0.0",
24874 "filename": "server/api/squareReportDetail/index.js",
24875 "groupTitle": "Square_Details_Reports"
24879 "url": "/api/square/details/reports/{id}",
24880 "title": "Gets a single Square Detail Report",
24883 "title": "Example usage:",
24884 "content": "curl https://{domain}/api/square/details/reports/{id} -v -u {name}:{password}",
24888 "name": "ShowSquare_Detail_Reports",
24889 "group": "Square_Details_Reports",
24890 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24891 "version": "0.0.0",
24892 "filename": "server/api/squareReportDetail/index.js",
24893 "groupTitle": "Square_Details_Reports"
24897 "url": "/api/square/details/reports/{id}",
24898 "title": "Update an existing Square Detail Report",
24901 "title": "Example usage:",
24902 "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",
24906 "name": "updateSquare_Detail_Reports",
24907 "group": "Square_Details_Reports",
24908 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24909 "version": "0.0.0",
24910 "filename": "server/api/squareReportDetail/index.js",
24911 "groupTitle": "Square_Details_Reports"
24915 "url": "/api/square/messages",
24916 "title": "Creates a new Message",
24919 "title": "Example usage:",
24920 "content": "curl https://{domain}/api/square/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
24924 "name": "CreateMessages",
24925 "group": "Square_Messages",
24933 "field": "uniqueid",
24951 "field": "direction",
24958 "field": "providerName",
24965 "field": "providerResponse",
24971 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
24972 "version": "0.0.0",
24973 "filename": "server/api/squareMessage/index.js",
24974 "groupTitle": "Square_Messages"
24978 "url": "/api/square/messages/{id}",
24979 "title": "Deletes a Message",
24982 "title": "Example usage:",
24983 "content": "curl https://{domain}/api/square/messages/{id} -v -u {name}:{password} -X DELETE",
24987 "name": "DeleteMessages",
24988 "group": "Square_Messages",
24989 "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>",
24990 "version": "0.0.0",
24991 "filename": "server/api/squareMessage/index.js",
24992 "groupTitle": "Square_Messages"
24996 "url": "/api/square/messages",
24997 "title": "Gets a list of Messages",
25000 "title": "Example usage:",
25001 "content": "curl https://{domain}/api/square/messages -v -u {name}:{password}",
25005 "name": "GetMessages",
25006 "group": "Square_Messages",
25007 "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&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>",
25008 "version": "0.0.0",
25009 "filename": "server/api/squareMessage/index.js",
25010 "groupTitle": "Square_Messages"
25014 "url": "/api/square/messages/{id}",
25015 "title": "Gets a single Message",
25018 "title": "Example usage:",
25019 "content": "curl https://{domain}/api/square/messages/{id} -v -u {name}:{password}",
25023 "name": "ShowMessages",
25024 "group": "Square_Messages",
25025 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25026 "version": "0.0.0",
25027 "filename": "server/api/squareMessage/index.js",
25028 "groupTitle": "Square_Messages"
25032 "url": "/api/square/messages/{id}",
25033 "title": "Update an existing Message",
25036 "title": "Example usage:",
25037 "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",
25041 "name": "updateMessages",
25042 "group": "Square_Messages",
25043 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25044 "version": "0.0.0",
25045 "filename": "server/api/squareMessage/index.js",
25046 "groupTitle": "Square_Messages"
25050 "url": "/api/square/odbc",
25051 "title": "Creates a new ODBC",
25054 "title": "Example usage:",
25055 "content": "curl https://{domain}/api/square/odbc -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25059 "name": "CreateODBCs",
25060 "group": "Square_ODBC",
25082 "field": "description",
25088 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25089 "version": "0.0.0",
25090 "filename": "server/api/squareOdbc/index.js",
25091 "groupTitle": "Square_ODBC"
25095 "url": "/api/square/odbc/{id}",
25096 "title": "Deletes a ODBC",
25099 "title": "Example usage:",
25100 "content": "curl https://{domain}/api/square/odbc/{id} -v -u {name}:{password} -X DELETE",
25104 "name": "DeleteODBCs",
25105 "group": "Square_ODBC",
25106 "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>",
25107 "version": "0.0.0",
25108 "filename": "server/api/squareOdbc/index.js",
25109 "groupTitle": "Square_ODBC"
25113 "url": "/api/square/odbc",
25114 "title": "Gets a list of ODBCs",
25117 "title": "Example usage:",
25118 "content": "curl https://{domain}/api/square/odbc -v -u {name}:{password}",
25122 "name": "GetODBCs",
25123 "group": "Square_ODBC",
25124 "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&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>",
25125 "version": "0.0.0",
25126 "filename": "server/api/squareOdbc/index.js",
25127 "groupTitle": "Square_ODBC"
25131 "url": "/api/square/odbc/{id}",
25132 "title": "Gets a single ODBC",
25135 "title": "Example usage:",
25136 "content": "curl https://{domain}/api/square/odbc/{id} -v -u {name}:{password}",
25140 "name": "ShowODBCs",
25141 "group": "Square_ODBC",
25142 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25143 "version": "0.0.0",
25144 "filename": "server/api/squareOdbc/index.js",
25145 "groupTitle": "Square_ODBC"
25149 "url": "/api/square/odbc/{id}/test",
25150 "title": "Test Odbc",
25153 "title": "Example usage:",
25154 "content": "curl https://{domain}/api/square/odbc/{id}/test -v -u {name}:{password} -X GET",
25159 "group": "Square_ODBC",
25160 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25161 "version": "0.0.0",
25162 "filename": "server/api/squareOdbc/index.js",
25163 "groupTitle": "Square_ODBC"
25167 "url": "/api/square/odbc/{id}",
25168 "title": "Update an existing ODBC",
25171 "title": "Example usage:",
25172 "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",
25176 "name": "updateODBCs",
25177 "group": "Square_ODBC",
25178 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25179 "version": "0.0.0",
25180 "filename": "server/api/squareOdbc/index.js",
25181 "groupTitle": "Square_ODBC"
25185 "url": "/api/square/projects",
25186 "title": "Creates a new Project",
25189 "title": "Example usage:",
25190 "content": "curl https://{domain}/api/square/projects -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25194 "name": "CreateProjects",
25195 "group": "Square_Projects",
25210 "field": "description",
25224 "field": "preproduction",
25231 "field": "production",
25238 "field": "savedAt",
25245 "field": "publishedAt",
25251 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25252 "version": "0.0.0",
25253 "filename": "server/api/squareProject/index.js",
25254 "groupTitle": "Square_Projects"
25258 "url": "/api/square/projects/{id}",
25259 "title": "Deletes a Project",
25262 "title": "Example usage:",
25263 "content": "curl https://{domain}/api/square/projects/{id} -v -u {name}:{password} -X DELETE",
25267 "name": "DeleteProjects",
25268 "group": "Square_Projects",
25269 "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>",
25270 "version": "0.0.0",
25271 "filename": "server/api/squareProject/index.js",
25272 "groupTitle": "Square_Projects"
25276 "url": "/api/square/projects",
25277 "title": "Gets a list of Projects",
25280 "title": "Example usage:",
25281 "content": "curl https://{domain}/api/square/projects -v -u {name}:{password}",
25285 "name": "GetProjects",
25286 "group": "Square_Projects",
25287 "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&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>",
25288 "version": "0.0.0",
25289 "filename": "server/api/squareProject/index.js",
25290 "groupTitle": "Square_Projects"
25294 "url": "/api/square/projects/{id}",
25295 "title": "Gets a single Project",
25298 "title": "Example usage:",
25299 "content": "curl https://{domain}/api/square/projects/{id} -v -u {name}:{password}",
25303 "name": "ShowProjects",
25304 "group": "Square_Projects",
25305 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25306 "version": "0.0.0",
25307 "filename": "server/api/squareProject/index.js",
25308 "groupTitle": "Square_Projects"
25312 "url": "/api/square/projects/{id}/users",
25313 "title": "Adds user permissions to a Project",
25316 "title": "Example usage:",
25317 "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",
25321 "name": "addUsers",
25322 "group": "Square_Projects",
25323 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25324 "version": "0.0.0",
25325 "filename": "server/api/squareProject/index.js",
25326 "groupTitle": "Square_Projects"
25330 "url": "/api/square/projects/{id}/users",
25331 "title": "Gets users permissions from Project",
25334 "title": "Example usage:",
25335 "content": "curl https://{domain}/api/square/projects/{id}/users -v -u {name}:{password} -X GET",
25339 "name": "getUsers",
25340 "group": "Square_Projects",
25341 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25342 "version": "0.0.0",
25343 "filename": "server/api/squareProject/index.js",
25344 "groupTitle": "Square_Projects"
25348 "url": "/api/square/projects/{id}/users",
25349 "title": "Removes user permissions from a Project",
25352 "title": "Example usage:",
25353 "content": "curl https://{domain}/api/square/projects/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
25357 "name": "removeUsers",
25358 "group": "Square_Projects",
25359 "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>",
25360 "version": "0.0.0",
25361 "filename": "server/api/squareProject/index.js",
25362 "groupTitle": "Square_Projects"
25366 "url": "/api/square/projects/{id}",
25367 "title": "Update an existing Project",
25370 "title": "Example usage:",
25371 "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",
25375 "name": "updateProjects",
25376 "group": "Square_Projects",
25377 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25378 "version": "0.0.0",
25379 "filename": "server/api/squareProject/index.js",
25380 "groupTitle": "Square_Projects"
25384 "url": "/api/square/recordings",
25385 "title": "Creates a new Recording",
25388 "title": "Example usage:",
25389 "content": "curl https://{domain}/api/square/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25393 "name": "CreateRecordings",
25394 "group": "Square_Recordings",
25402 "field": "uniqueid",
25409 "field": "callerid",
25416 "field": "calleridname",
25423 "field": "context",
25430 "field": "extension",
25437 "field": "priority",
25444 "field": "accountcode",
25458 "field": "projectName",
25465 "field": "saveName",
25472 "field": "filename",
25479 "field": "savePath",
25492 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25493 "version": "0.0.0",
25494 "filename": "server/api/squareRecording/index.js",
25495 "groupTitle": "Square_Recordings"
25499 "url": "/api/square/recordings",
25500 "title": "Gets a list of Recordings",
25503 "title": "Example usage:",
25504 "content": "curl https://{domain}/api/square/recordings -v -u {name}:{password}",
25508 "name": "GetRecordings",
25509 "group": "Square_Recordings",
25510 "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&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>",
25511 "version": "0.0.0",
25512 "filename": "server/api/squareRecording/index.js",
25513 "groupTitle": "Square_Recordings"
25517 "url": "/api/square/recordings/{id}",
25518 "title": "Gets a single Recording",
25521 "title": "Example usage:",
25522 "content": "curl https://{domain}/api/square/recordings/{id} -v -u {name}:{password}",
25526 "name": "ShowRecordings",
25527 "group": "Square_Recordings",
25528 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25529 "version": "0.0.0",
25530 "filename": "server/api/squareRecording/index.js",
25531 "groupTitle": "Square_Recordings"
25535 "url": "/api/square/recordings/{id}",
25536 "title": "Delete recording",
25539 "title": "Example usage:",
25540 "content": "curl https://{domain}/api/square/recordings/{id} -v -u {name}:{password} -X DELETE",
25545 "group": "Square_Recordings",
25546 "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>",
25547 "version": "0.0.0",
25548 "filename": "server/api/squareRecording/index.js",
25549 "groupTitle": "Square_Recordings"
25553 "url": "/api/square/recordings/{id}/download",
25554 "title": "Download Recording",
25557 "title": "Example usage:",
25558 "content": "curl https://{domain}/api/square/recordings/{id}/download -v -u {name}:{password} -X GET",
25562 "name": "download",
25563 "group": "Square_Recordings",
25564 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25565 "version": "0.0.0",
25566 "filename": "server/api/squareRecording/index.js",
25567 "groupTitle": "Square_Recordings"
25571 "url": "/api/square/recordings/{id}",
25572 "title": "Update an existing Recording",
25575 "title": "Example usage:",
25576 "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",
25580 "name": "updateRecordings",
25581 "group": "Square_Recordings",
25582 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25583 "version": "0.0.0",
25584 "filename": "server/api/squareRecording/index.js",
25585 "groupTitle": "Square_Recordings"
25589 "url": "/api/square/reports",
25590 "title": "Creates a new Square Report",
25593 "title": "Example usage:",
25594 "content": "curl https://{domain}/api/square/reports -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
25598 "name": "CreateSquare_Reports",
25599 "group": "Square_Reports",
25607 "field": "network",
25614 "field": "network_script",
25621 "field": "request",
25628 "field": "channel",
25635 "field": "language",
25649 "field": "uniqueid",
25656 "field": "version",
25663 "field": "callerid",
25670 "field": "calleridname",
25677 "field": "callingpres",
25684 "field": "callingani2",
25691 "field": "callington",
25698 "field": "callingtns",
25719 "field": "context",
25726 "field": "extension",
25733 "field": "priority",
25740 "field": "enhanced",
25747 "field": "accountcode",
25754 "field": "threadid",
25761 "field": "project_name",
25775 "field": "leaveAt",
25788 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25789 "version": "0.0.0",
25790 "filename": "server/api/squareReport/index.js",
25791 "groupTitle": "Square_Reports"
25795 "url": "/api/square/reports/{id}",
25796 "title": "Deletes a Square Report",
25799 "title": "Example usage:",
25800 "content": "curl https://{domain}/api/square/reports/{id} -v -u {name}:{password} -X DELETE",
25804 "name": "DeleteSquare_Reports",
25805 "group": "Square_Reports",
25806 "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>",
25807 "version": "0.0.0",
25808 "filename": "server/api/squareReport/index.js",
25809 "groupTitle": "Square_Reports"
25813 "url": "/api/square/reports/describe",
25814 "title": "Gets table info about Square Reports",
25817 "title": "Example usage:",
25818 "content": "curl https://{domain}/api/square/reports/describe -v -u {name}:{password}",
25822 "name": "DescribeSquare_Reports",
25823 "group": "Square_Reports",
25824 "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>",
25825 "version": "0.0.0",
25826 "filename": "server/api/squareReport/index.js",
25827 "groupTitle": "Square_Reports"
25831 "url": "/api/square/reports",
25832 "title": "Gets a list of Square Reports",
25835 "title": "Example usage:",
25836 "content": "curl https://{domain}/api/square/reports -v -u {name}:{password}",
25840 "name": "GetSquare_Reports",
25841 "group": "Square_Reports",
25842 "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&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>",
25843 "version": "0.0.0",
25844 "filename": "server/api/squareReport/index.js",
25845 "groupTitle": "Square_Reports"
25849 "url": "/api/square/reports/{id}",
25850 "title": "Gets a single Square Report",
25853 "title": "Example usage:",
25854 "content": "curl https://{domain}/api/square/reports/{id} -v -u {name}:{password}",
25858 "name": "ShowSquare_Reports",
25859 "group": "Square_Reports",
25860 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25861 "version": "0.0.0",
25862 "filename": "server/api/squareReport/index.js",
25863 "groupTitle": "Square_Reports"
25867 "url": "/api/square/reports/{id}",
25868 "title": "Update an existing Square Report",
25871 "title": "Example usage:",
25872 "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",
25876 "name": "updateSquare_Reports",
25877 "group": "Square_Reports",
25878 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25879 "version": "0.0.0",
25880 "filename": "server/api/squareReport/index.js",
25881 "groupTitle": "Square_Reports"
25885 "url": "/api/integrations/sugarcrm/configurations",
25886 "title": "Creates a new SugarCRM Configuration",
25889 "title": "Example usage:",
25890 "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",
25894 "name": "CreateSugarCRM_Configurations",
25895 "group": "SugarCRM_Configurations",
25910 "field": "description",
25916 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25917 "version": "0.0.0",
25918 "filename": "server/api/intSugarcrmConfiguration/index.js",
25919 "groupTitle": "SugarCRM_Configurations"
25923 "url": "/api/integrations/sugarcrm/configurations/{id}",
25924 "title": "Deletes a SugarCRM Configuration",
25927 "title": "Example usage:",
25928 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id} -v -u {name}:{password} -X DELETE",
25932 "name": "DeleteSugarCRM_Configurations",
25933 "group": "SugarCRM_Configurations",
25934 "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>",
25935 "version": "0.0.0",
25936 "filename": "server/api/intSugarcrmConfiguration/index.js",
25937 "groupTitle": "SugarCRM_Configurations"
25941 "url": "/api/integrations/sugarcrm/configurations",
25942 "title": "Gets a list of SugarCRM Configurations",
25945 "title": "Example usage:",
25946 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations -v -u {name}:{password}",
25950 "name": "GetSugarCRM_Configurations",
25951 "group": "SugarCRM_Configurations",
25952 "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&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>",
25953 "version": "0.0.0",
25954 "filename": "server/api/intSugarcrmConfiguration/index.js",
25955 "groupTitle": "SugarCRM_Configurations"
25959 "url": "/api/integrations/sugarcrm/configurations/{id}",
25960 "title": "Gets a single SugarCRM Configuration",
25963 "title": "Example usage:",
25964 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id} -v -u {name}:{password}",
25968 "name": "ShowSugarCRM_Configurations",
25969 "group": "SugarCRM_Configurations",
25970 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25971 "version": "0.0.0",
25972 "filename": "server/api/intSugarcrmConfiguration/index.js",
25973 "groupTitle": "SugarCRM_Configurations"
25977 "url": "/api/integrations/sugarcrm/configurations/{id}",
25978 "title": "Update an existing SugarCRM Configuration",
25981 "title": "Example usage:",
25982 "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",
25986 "name": "updateSugarCRM_Configurations",
25987 "group": "SugarCRM_Configurations",
25988 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
25989 "version": "0.0.0",
25990 "filename": "server/api/intSugarcrmConfiguration/index.js",
25991 "groupTitle": "SugarCRM_Configurations"
25995 "url": "/api/integrations/sugarcrm/accounts",
25996 "title": "Creates a new Sugarcrm Account",
25999 "title": "Example usage:",
26000 "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",
26004 "name": "CreateSugarcrm_Accounts",
26005 "group": "Sugarcrm_Accounts",
26020 "field": "description",
26027 "field": "username",
26034 "field": "password",
26041 "field": "remoteUri",
26048 "field": "serverUrl",
26054 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26055 "version": "0.0.0",
26056 "filename": "server/api/intSugarcrmAccount/index.js",
26057 "groupTitle": "Sugarcrm_Accounts"
26061 "url": "/api/integrations/sugarcrm/accounts/{id}",
26062 "title": "Deletes a Sugarcrm Account",
26065 "title": "Example usage:",
26066 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id} -v -u {name}:{password} -X DELETE",
26070 "name": "DeleteSugarcrm_Accounts",
26071 "group": "Sugarcrm_Accounts",
26072 "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>",
26073 "version": "0.0.0",
26074 "filename": "server/api/intSugarcrmAccount/index.js",
26075 "groupTitle": "Sugarcrm_Accounts"
26079 "url": "/api/integrations/sugarcrm/accounts",
26080 "title": "Gets a list of Sugarcrm Accounts",
26083 "title": "Example usage:",
26084 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts -v -u {name}:{password}",
26088 "name": "GetSugarcrm_Accounts",
26089 "group": "Sugarcrm_Accounts",
26090 "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&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>",
26091 "version": "0.0.0",
26092 "filename": "server/api/intSugarcrmAccount/index.js",
26093 "groupTitle": "Sugarcrm_Accounts"
26097 "url": "/api/integrations/sugarcrm/accounts/{id}",
26098 "title": "Gets a single Sugarcrm Account",
26101 "title": "Example usage:",
26102 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id} -v -u {name}:{password}",
26106 "name": "ShowSugarcrm_Accounts",
26107 "group": "Sugarcrm_Accounts",
26108 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26109 "version": "0.0.0",
26110 "filename": "server/api/intSugarcrmAccount/index.js",
26111 "groupTitle": "Sugarcrm_Accounts"
26115 "url": "/api/integrations/sugarcrm/accounts/{id}/configurations",
26116 "title": "Creates new configuration",
26119 "title": "Example usage:",
26120 "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",
26124 "name": "addConfiguration",
26125 "group": "Sugarcrm_Accounts",
26126 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26127 "version": "0.0.0",
26128 "filename": "server/api/intSugarcrmAccount/index.js",
26129 "groupTitle": "Sugarcrm_Accounts"
26133 "url": "/api/integrations/sugarcrm/accounts/{id}/configurations",
26134 "title": "Gets account configurations",
26137 "title": "Example usage:",
26138 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id}/configurations -v -u {name}:{password} -X GET",
26142 "name": "getConfigurations",
26143 "group": "Sugarcrm_Accounts",
26144 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26145 "version": "0.0.0",
26146 "filename": "server/api/intSugarcrmAccount/index.js",
26147 "groupTitle": "Sugarcrm_Accounts"
26151 "url": "/api/integrations/sugarcrm/accounts/{id}/fields",
26152 "title": "Gets account fields",
26155 "title": "Example usage:",
26156 "content": "curl https://{domain}/api/integrations/sugarcrm/accounts/{id}/fields -v -u {name}:{password} -X GET",
26160 "name": "getFields",
26161 "group": "Sugarcrm_Accounts",
26162 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26163 "version": "0.0.0",
26164 "filename": "server/api/intSugarcrmAccount/index.js",
26165 "groupTitle": "Sugarcrm_Accounts"
26169 "url": "/api/integrations/sugarcrm/accounts/{id}",
26170 "title": "Update an existing Sugarcrm Account",
26173 "title": "Example usage:",
26174 "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",
26178 "name": "updateSugarcrm_Accounts",
26179 "group": "Sugarcrm_Accounts",
26180 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26181 "version": "0.0.0",
26182 "filename": "server/api/intSugarcrmAccount/index.js",
26183 "groupTitle": "Sugarcrm_Accounts"
26187 "url": "/api/integrations/sugarcrm/configurations/{id}/descriptions",
26188 "title": "Gets configurations descriptions",
26191 "title": "Example usage:",
26192 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
26196 "name": "getDescriptions",
26197 "group": "Sugarcrm_Configurations",
26198 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26199 "version": "0.0.0",
26200 "filename": "server/api/intSugarcrmConfiguration/index.js",
26201 "groupTitle": "Sugarcrm_Configurations"
26205 "url": "/api/integrations/sugarcrm/configurations/{id}/fields",
26206 "title": "Gets configurations fields",
26209 "title": "Example usage:",
26210 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/fields -v -u {name}:{password} -X GET",
26214 "name": "getFields",
26215 "group": "Sugarcrm_Configurations",
26216 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26217 "version": "0.0.0",
26218 "filename": "server/api/intSugarcrmConfiguration/index.js",
26219 "groupTitle": "Sugarcrm_Configurations"
26223 "url": "/api/integrations/sugarcrm/configurations/{id}/subjects",
26224 "title": "Gets configurations subjects",
26227 "title": "Example usage:",
26228 "content": "curl https://{domain}/api/integrations/sugarcrm/configurations/{id}/subjects -v -u {name}:{password} -X GET",
26232 "name": "getSubjects",
26233 "group": "Sugarcrm_Configurations",
26234 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26235 "version": "0.0.0",
26236 "filename": "server/api/intSugarcrmConfiguration/index.js",
26237 "groupTitle": "Sugarcrm_Configurations"
26241 "url": "/api/integrations/sugarcrm/fields",
26242 "title": "Creates a new Sugarcrm Field",
26245 "title": "Example usage:",
26246 "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",
26250 "name": "CreateSugarcrm_Fields",
26251 "group": "Sugarcrm_Fields",
26261 "\"customVariable\"",
26273 "field": "content",
26289 "\"customVariable\""
26292 "field": "keyType",
26299 "field": "keyContent",
26306 "field": "idField",
26313 "field": "nameField",
26320 "field": "customField",
26327 "field": "variableName",
26333 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26334 "version": "0.0.0",
26335 "filename": "server/api/intSugarcrmField/index.js",
26336 "groupTitle": "Sugarcrm_Fields"
26340 "url": "/api/integrations/sugarcrm/fields/{id}",
26341 "title": "Deletes a Sugarcrm Field",
26344 "title": "Example usage:",
26345 "content": "curl https://{domain}/api/integrations/sugarcrm/fields/{id} -v -u {name}:{password} -X DELETE",
26349 "name": "DeleteSugarcrm_Fields",
26350 "group": "Sugarcrm_Fields",
26351 "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>",
26352 "version": "0.0.0",
26353 "filename": "server/api/intSugarcrmField/index.js",
26354 "groupTitle": "Sugarcrm_Fields"
26358 "url": "/api/integrations/sugarcrm/fields",
26359 "title": "Gets a list of Sugarcrm Fields",
26362 "title": "Example usage:",
26363 "content": "curl https://{domain}/api/integrations/sugarcrm/fields -v -u {name}:{password}",
26367 "name": "GetSugarcrm_Fields",
26368 "group": "Sugarcrm_Fields",
26369 "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&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>",
26370 "version": "0.0.0",
26371 "filename": "server/api/intSugarcrmField/index.js",
26372 "groupTitle": "Sugarcrm_Fields"
26376 "url": "/api/integrations/sugarcrm/fields/{id}",
26377 "title": "Gets a single Sugarcrm Field",
26380 "title": "Example usage:",
26381 "content": "curl https://{domain}/api/integrations/sugarcrm/fields/{id} -v -u {name}:{password}",
26385 "name": "ShowSugarcrm_Fields",
26386 "group": "Sugarcrm_Fields",
26387 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26388 "version": "0.0.0",
26389 "filename": "server/api/intSugarcrmField/index.js",
26390 "groupTitle": "Sugarcrm_Fields"
26394 "url": "/api/integrations/sugarcrm/fields/{id}",
26395 "title": "Update an existing Sugarcrm Field",
26398 "title": "Example usage:",
26399 "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",
26403 "name": "updateSugarcrm_Fields",
26404 "group": "Sugarcrm_Fields",
26405 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26406 "version": "0.0.0",
26407 "filename": "server/api/intSugarcrmField/index.js",
26408 "groupTitle": "Sugarcrm_Fields"
26412 "url": "/api/system",
26413 "title": "Gets system information",
26416 "title": "Example usage:",
26417 "content": "curl https://{domain}/api/system -v -u {name}:{password}",
26421 "name": "GetSystemInformation",
26422 "group": "System_Information",
26423 "description": "<p>Motion returns the system information.</p>",
26424 "version": "0.0.0",
26425 "filename": "server/api/system/index.js",
26426 "groupTitle": "System_Information"
26430 "url": "/api/system/process",
26431 "title": "Gets system information",
26434 "title": "Example usage:",
26435 "content": "curl https://{domain}/api/system -v -u {name}:{password}",
26439 "name": "GetSystemInformation",
26440 "group": "System_Information",
26441 "description": "<p>Motion returns the system information.</p>",
26442 "version": "0.0.0",
26443 "filename": "server/api/system/index.js",
26444 "groupTitle": "System_Information"
26448 "url": "/api/tags",
26449 "title": "Creates a new Tag",
26452 "title": "Example usage:",
26453 "content": "curl https://{domain}/api/tags -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26457 "name": "CreateTags",
26480 "field": "description",
26486 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26487 "version": "0.0.0",
26488 "filename": "server/api/tag/index.js",
26489 "groupTitle": "Tags"
26493 "url": "/api/tags/{id}",
26494 "title": "Deletes a Tag",
26497 "title": "Example usage:",
26498 "content": "curl https://{domain}/api/tags/{id} -v -u {name}:{password} -X DELETE",
26502 "name": "DeleteTags",
26504 "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>",
26505 "version": "0.0.0",
26506 "filename": "server/api/tag/index.js",
26507 "groupTitle": "Tags"
26511 "url": "/api/tags",
26512 "title": "Gets a list of Tags",
26515 "title": "Example usage:",
26516 "content": "curl https://{domain}/api/tags -v -u {name}:{password}",
26522 "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&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>",
26523 "version": "0.0.0",
26524 "filename": "server/api/tag/index.js",
26525 "groupTitle": "Tags"
26529 "url": "/api/tags/{id}",
26530 "title": "Gets a single Tag",
26533 "title": "Example usage:",
26534 "content": "curl https://{domain}/api/tags/{id} -v -u {name}:{password}",
26538 "name": "ShowTags",
26540 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26541 "version": "0.0.0",
26542 "filename": "server/api/tag/index.js",
26543 "groupTitle": "Tags"
26547 "url": "/api/tags/{id}",
26548 "title": "Update an existing Tag",
26551 "title": "Example usage:",
26552 "content": "curl https://{domain}/api/tags/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26556 "name": "updateTags",
26558 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26559 "version": "0.0.0",
26560 "filename": "server/api/tag/index.js",
26561 "groupTitle": "Tags"
26565 "url": "/api/teams/{id}/queues",
26566 "title": "Add queues to a team",
26569 "title": "Example usage:",
26570 "content": "curl https://{domain}/api/teams/{id}/queues -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
26574 "name": "AddQueues",
26576 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26577 "version": "0.0.0",
26578 "filename": "server/api/team/index.js",
26579 "groupTitle": "Teams"
26583 "url": "/api/teams",
26584 "title": "Creates a new Team",
26587 "title": "Example usage:",
26588 "content": "curl https://{domain}/api/teams -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26592 "name": "CreateTeams",
26608 "field": "description",
26614 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26615 "version": "0.0.0",
26616 "filename": "server/api/team/index.js",
26617 "groupTitle": "Teams"
26621 "url": "/api/teams/{id}",
26622 "title": "Deletes a Team",
26625 "title": "Example usage:",
26626 "content": "curl https://{domain}/api/teams/{id} -v -u {name}:{password} -X DELETE",
26630 "name": "DeleteTeams",
26632 "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>",
26633 "version": "0.0.0",
26634 "filename": "server/api/team/index.js",
26635 "groupTitle": "Teams"
26639 "url": "/api/teams/{id}/users",
26640 "title": "Gets agents from team",
26643 "title": "Example usage:",
26644 "content": "curl https://{domain}/api/teams/{id}/users -v -u {name}:{password} -X GET",
26648 "name": "GetAgents",
26650 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26651 "version": "0.0.0",
26652 "filename": "server/api/team/index.js",
26653 "groupTitle": "Teams"
26657 "url": "/api/teams/{id}/queues?channel={channel}",
26658 "title": "Gets Queues list",
26661 "title": "Example usage:",
26662 "content": "curl https://{domain}/api/teams/{id}/queues?channel={channel} -v -u {name}:{password}",
26666 "name": "GetQueues",
26668 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26669 "version": "0.0.0",
26670 "filename": "server/api/team/index.js",
26671 "groupTitle": "Teams"
26675 "url": "/api/teams",
26676 "title": "Gets a list of Teams",
26679 "title": "Example usage:",
26680 "content": "curl https://{domain}/api/teams -v -u {name}:{password}",
26684 "name": "GetTeams",
26686 "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&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>",
26687 "version": "0.0.0",
26688 "filename": "server/api/team/index.js",
26689 "groupTitle": "Teams"
26693 "url": "/api/teams/{id}/users",
26694 "title": "Removes agents from a team",
26697 "title": "Example usage:",
26698 "content": "curl https://{domain}/api/teams/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
26702 "name": "RemoveAgents",
26704 "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>",
26705 "version": "0.0.0",
26706 "filename": "server/api/team/index.js",
26707 "groupTitle": "Teams"
26711 "url": "/api/teams/{id}/queues",
26712 "title": "Remove queues to a team",
26715 "title": "Example usage:",
26716 "content": "curl https://{domain}/api/teams/{id}/queues?channel=voice&ids=1&ids=2 -v -u {name}:{password} -X DELETE",
26720 "name": "RemoveQueues",
26722 "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>",
26723 "version": "0.0.0",
26724 "filename": "server/api/team/index.js",
26725 "groupTitle": "Teams"
26729 "url": "/api/fax/queues/{id}/teams",
26730 "title": "Remove teams from a queue",
26733 "title": "Example usage:",
26734 "content": "curl https://{domain}/api/fax/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26738 "name": "RemoveTeams",
26740 "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>",
26741 "version": "0.0.0",
26742 "filename": "server/api/faxQueue/index.js",
26743 "groupTitle": "Teams"
26747 "url": "/api/whatsapp/queues/{id}/teams",
26748 "title": "Remove teams from a queue",
26751 "title": "Example usage:",
26752 "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26756 "name": "RemoveTeams",
26758 "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>",
26759 "version": "0.0.0",
26760 "filename": "server/api/whatsappQueue/index.js",
26761 "groupTitle": "Teams"
26765 "url": "/api/openchannel/queues/{id}/teams",
26766 "title": "Remove teams from a queue",
26769 "title": "Example usage:",
26770 "content": "curl https://{domain}/api/openchannel/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26774 "name": "RemoveTeams",
26776 "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>",
26777 "version": "0.0.0",
26778 "filename": "server/api/openchannelQueue/index.js",
26779 "groupTitle": "Teams"
26783 "url": "/api/sms/queues/{id}/teams",
26784 "title": "Remove teams from a queue",
26787 "title": "Example usage:",
26788 "content": "curl https://{domain}/api/sms/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26792 "name": "RemoveTeams",
26794 "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>",
26795 "version": "0.0.0",
26796 "filename": "server/api/smsQueue/index.js",
26797 "groupTitle": "Teams"
26801 "url": "/api/voice/queues/{id}/teams",
26802 "title": "Remove teams from a queue",
26805 "title": "Example usage:",
26806 "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26810 "name": "RemoveTeams",
26812 "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>",
26813 "version": "0.0.0",
26814 "filename": "server/api/voiceQueue/index.js",
26815 "groupTitle": "Teams"
26819 "url": "/api/chat/queues/{id}/teams",
26820 "title": "Remove teams from a queue",
26823 "title": "Example usage:",
26824 "content": "curl https://{domain}/api/chat/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26828 "name": "RemoveTeams",
26830 "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>",
26831 "version": "0.0.0",
26832 "filename": "server/api/chatQueue/index.js",
26833 "groupTitle": "Teams"
26837 "url": "/api/mail/queues/{id}/teams",
26838 "title": "Remove teams from a queue",
26841 "title": "Example usage:",
26842 "content": "curl https://{domain}/api/mail/queues/{id}/teams -v -u {name}:{password} -X DELETE",
26846 "name": "RemoveTeams",
26848 "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>",
26849 "version": "0.0.0",
26850 "filename": "server/api/mailQueue/index.js",
26851 "groupTitle": "Teams"
26855 "url": "/api/teams/{id}",
26856 "title": "Gets a single Team",
26859 "title": "Example usage:",
26860 "content": "curl https://{domain}/api/teams/{id} -v -u {name}:{password}",
26864 "name": "ShowTeams",
26866 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26867 "version": "0.0.0",
26868 "filename": "server/api/team/index.js",
26869 "groupTitle": "Teams"
26873 "url": "/api/teams/{id}/users",
26874 "title": "Adds agents to a team",
26877 "title": "Example usage:",
26878 "content": "curl https://{domain}/api/teams/{id}/users -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
26882 "name": "addAgents",
26884 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26885 "version": "0.0.0",
26886 "filename": "server/api/team/index.js",
26887 "groupTitle": "Teams"
26891 "url": "/api/teams/{id}",
26892 "title": "Update an existing Team",
26895 "title": "Example usage:",
26896 "content": "curl https://{domain}/api/teams/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
26900 "name": "updateTeams",
26902 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26903 "version": "0.0.0",
26904 "filename": "server/api/team/index.js",
26905 "groupTitle": "Teams"
26909 "url": "/api/templates",
26910 "title": "Creates a new Template",
26913 "title": "Example usage:",
26914 "content": "curl https://{domain}/api/templates -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
26918 "name": "CreateTemplates",
26919 "group": "Templates",
26934 "field": "description",
26947 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
26948 "version": "0.0.0",
26949 "filename": "server/api/template/index.js",
26950 "groupTitle": "Templates"
26954 "url": "/api/templates/{id}",
26955 "title": "Deletes a Template",
26958 "title": "Example usage:",
26959 "content": "curl https://{domain}/api/templates/{id} -v -u {name}:{password} -X DELETE",
26963 "name": "DeleteTemplates",
26964 "group": "Templates",
26965 "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>",
26966 "version": "0.0.0",
26967 "filename": "server/api/template/index.js",
26968 "groupTitle": "Templates"
26972 "url": "/api/templates",
26973 "title": "Gets a list of Templates",
26976 "title": "Example usage:",
26977 "content": "curl https://{domain}/api/templates -v -u {name}:{password}",
26981 "name": "GetTemplates",
26982 "group": "Templates",
26983 "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&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>",
26984 "version": "0.0.0",
26985 "filename": "server/api/template/index.js",
26986 "groupTitle": "Templates"
26990 "url": "/api/templates/{id}",
26991 "title": "Gets a single Template",
26994 "title": "Example usage:",
26995 "content": "curl https://{domain}/api/templates/{id} -v -u {name}:{password}",
26999 "name": "ShowTemplates",
27000 "group": "Templates",
27001 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27002 "version": "0.0.0",
27003 "filename": "server/api/template/index.js",
27004 "groupTitle": "Templates"
27008 "url": "/api/templates/{id}",
27009 "title": "Update an existing Template",
27012 "title": "Example usage:",
27013 "content": "curl https://{domain}/api/templates/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
27017 "name": "updateTemplates",
27018 "group": "Templates",
27019 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27020 "version": "0.0.0",
27021 "filename": "server/api/template/index.js",
27022 "groupTitle": "Templates"
27026 "url": "/api/triggers",
27027 "title": "Creates a new Trigger",
27030 "title": "Example usage:",
27031 "content": "curl https://{domain}/api/triggers -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
27035 "name": "CreateTriggers",
27036 "group": "Triggers",
27051 "field": "channel",
27058 "field": "description",
27071 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27072 "version": "0.0.0",
27073 "filename": "server/api/trigger/index.js",
27074 "groupTitle": "Triggers"
27078 "url": "/api/triggers/{id}",
27079 "title": "Deletes a Trigger",
27082 "title": "Example usage:",
27083 "content": "curl https://{domain}/api/triggers/{id} -v -u {name}:{password} -X DELETE",
27087 "name": "DeleteTriggers",
27088 "group": "Triggers",
27089 "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>",
27090 "version": "0.0.0",
27091 "filename": "server/api/trigger/index.js",
27092 "groupTitle": "Triggers"
27096 "url": "/api/triggers",
27097 "title": "Gets a list of Triggers",
27100 "title": "Example usage:",
27101 "content": "curl https://{domain}/api/triggers -v -u {name}:{password}",
27105 "name": "GetTriggers",
27106 "group": "Triggers",
27107 "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&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>",
27108 "version": "0.0.0",
27109 "filename": "server/api/trigger/index.js",
27110 "groupTitle": "Triggers"
27114 "url": "/api/triggers/{id}",
27115 "title": "Gets a single Trigger",
27118 "title": "Example usage:",
27119 "content": "curl https://{domain}/api/triggers/{id} -v -u {name}:{password}",
27123 "name": "ShowTriggers",
27124 "group": "Triggers",
27125 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27126 "version": "0.0.0",
27127 "filename": "server/api/trigger/index.js",
27128 "groupTitle": "Triggers"
27132 "url": "/api/triggers/{id}/actions",
27133 "title": "Creates new actions",
27136 "title": "Example usage:",
27137 "content": "curl https://{domain}/api/triggers/{id}/actions -d '{\"action\": \"contactManager\",\"data1\": \"1\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
27141 "name": "addAction",
27142 "group": "Triggers",
27158 "description": "<p>Allowed values: contactManager, integration, motionbar, jscripty, urlForward, browser, bot, script</p>"
27165 "description": "<p>contactManager[ListId], integration[intName(zendesk)], motionbar[Popup(0),URL(1),WinApp(2)], urlForward[GET,POST], browser[TemplateId(0),URL(1)]</p>"
27172 "description": "<p>integration[AccountId], motionbar[TemplateId,URL,WinAppPath], urlForward[URL]</p>"
27179 "description": "<p>motionbar[NULL,NULL,WinAppArguments]</p>"
27212 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27213 "version": "0.0.0",
27214 "filename": "server/api/trigger/index.js",
27215 "groupTitle": "Triggers"
27219 "url": "/api/triggers/{id}/all_conditions",
27220 "title": "Creates a new \"AND\"condition",
27223 "title": "Example usage:",
27224 "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",
27228 "name": "addAllCondition",
27229 "group": "Triggers",
27251 "field": "operator",
27264 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27265 "version": "0.0.0",
27266 "filename": "server/api/trigger/index.js",
27267 "groupTitle": "Triggers"
27271 "url": "/api/triggers/{id}/any_conditions",
27272 "title": "Creates a new \"OR\"condition",
27275 "title": "Example usage:",
27276 "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",
27280 "name": "addAnyCondition",
27281 "group": "Triggers",
27303 "field": "operator",
27316 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27317 "version": "0.0.0",
27318 "filename": "server/api/trigger/index.js",
27319 "groupTitle": "Triggers"
27323 "url": "/api/triggers/{id}/actions",
27324 "title": "Gets Trigger Actions",
27327 "title": "Example usage:",
27328 "content": "curl https://{domain}/api/triggers/{id}/actions -v -u {name}:{password} -X GET",
27332 "name": "getActions",
27333 "group": "Triggers",
27334 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27335 "version": "0.0.0",
27336 "filename": "server/api/trigger/index.js",
27337 "groupTitle": "Triggers"
27341 "url": "/api/triggers/{id}/all_conditions",
27342 "title": "Gets \"AND\" Trigger Conditions",
27345 "title": "Example usage:",
27346 "content": "curl https://{domain}/api/triggers/{id}/all_conditions -v -u {name}:{password} -X GET",
27350 "name": "getAllConditions",
27351 "group": "Triggers",
27352 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27353 "version": "0.0.0",
27354 "filename": "server/api/trigger/index.js",
27355 "groupTitle": "Triggers"
27359 "url": "/api/triggers/{id}/any_conditions",
27360 "title": "Gets \"OR\" Trigger Conditions",
27363 "title": "Example usage:",
27364 "content": "curl https://{domain}/api/triggers/{id}/any_conditions -v -u {name}:{password} -X GET",
27368 "name": "getAnyConditions",
27369 "group": "Triggers",
27370 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27371 "version": "0.0.0",
27372 "filename": "server/api/trigger/index.js",
27373 "groupTitle": "Triggers"
27377 "url": "/api/triggers/{id}",
27378 "title": "Update an existing Trigger",
27381 "title": "Example usage:",
27382 "content": "curl https://{domain}/api/triggers/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
27386 "name": "updateTriggers",
27387 "group": "Triggers",
27388 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27389 "version": "0.0.0",
27390 "filename": "server/api/trigger/index.js",
27391 "groupTitle": "Triggers"
27395 "url": "/api/trunks/clone",
27396 "title": "Clone an existing Trunk",
27399 "title": "Example usage:",
27400 "content": "curl https://{domain}/api/trunks/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
27404 "name": "CloneTrunks",
27406 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
27407 "version": "0.0.0",
27408 "filename": "server/api/trunk/index.js",
27409 "groupTitle": "Trunks"
27413 "url": "/api/trunks",
27414 "title": "Create a new trunk",
27417 "title": "Example usage:",
27418 "content": "curl https://{domain}/api/trunks -v -u {name}:{password} -X POST",
27450 "field": "context",
27457 "\"ALLOWED_NOT_SCREENED\"",
27458 "\"ALLOWED_PASSED_SCREEN\"",
27459 "\"ALLOWED_FAILED_SCREEN\"",
27461 "\"PROHIB_NOT_SCREENED\"",
27462 "\"PROHIB_PASSED_SCREEN\"",
27463 "\"PROHIB_FAILED_SCREEN\"",
27467 "field": "callingpres",
27495 "field": "md5secret",
27502 "field": "remotesecret",
27509 "field": "transport",
27510 "description": "<p>String is deprecated. Please use an Array as ["udp", "tcp"]</p>"
27523 "field": "dtmfmode",
27537 "field": "directmedia",
27548 "field": "directrtpsetup",
27555 "field": "directmediapermit",
27562 "field": "directmediadeny",
27570 "description": "<p>String is deprecated. Please use an Array as ["force_rport", "comedia"]</p>"
27576 "field": "callgroup",
27583 "field": "namedcallgroup",
27590 "field": "pickupgroup",
27597 "field": "namedpickupgroup",
27604 "field": "language",
27611 "field": "tonezone",
27618 "field": "disallow",
27626 "description": "<p>String is deprecated. Please use an Array as ["ulaw", "alaw", "alaw"]</p>"
27636 "field": "autoframing",
27643 "field": "insecure",
27644 "description": "<p>String is deprecated. Please use an Array as ["port", "invite"]</p>"
27654 "field": "trustrpid",
27665 "field": "trust_id_outbound",
27677 "field": "progressinband",
27688 "field": "promiscredir",
27699 "field": "useclientcode",
27706 "field": "accountcode",
27720 "field": "callerid",
27727 "field": "amaflags",
27738 "field": "callcounter",
27745 "field": "busylevel",
27756 "field": "allowoverlap",
27767 "field": "allowsubscribe",
27778 "field": "allowtransfer",
27789 "field": "ignoresdpversion",
27796 "field": "subscribecontext",
27803 "field": "template",
27815 "field": "videosupport",
27822 "field": "maxcallbitrate",
27833 "field": "rfc2833compensate",
27840 "field": "mailbox",
27852 "field": "session_timers",
27859 "field": "session_expires",
27866 "field": "session_minse",
27877 "field": "session_refresher",
27884 "field": "t38pt_usertpsource",
27891 "field": "regexten",
27898 "field": "fromdomain",
27905 "field": "fromuser",
27923 "field": "qualify",
27930 "field": "keepalive",
27937 "field": "defaultip",
27944 "field": "defaultuser",
27951 "field": "rtptimeout",
27958 "field": "rtpholdtimeout",
27965 "field": "rtpkeepalive",
27977 "field": "sendrpid",
27984 "field": "outboundproxy",
27991 "field": "callbackextension",
27998 "field": "timert1",
28012 "field": "qualifyfreq",
28019 "field": "contactpermit",
28026 "field": "contactdeny",
28033 "field": "contactacl",
28040 "field": "unsolicited_mailbox",
28047 "field": "use_q850_reason",
28054 "field": "maxforwards",
28065 "field": "encryption",
28087 "field": "force_avp",
28098 "field": "icesupport",
28109 "field": "dtlsenable",
28122 "field": "dtlsverify",
28129 "field": "dtlsrekey",
28136 "field": "dtlscertfile",
28143 "field": "dtlsprivatekey",
28150 "field": "dtlscipher",
28157 "field": "dtlscafile",
28164 "field": "dtlscapath",
28176 "field": "dtlssetup",
28183 "field": "dtlsfingerprint",
28194 "field": "usereqphone",
28201 "field": "recordonfeature",
28208 "field": "recordofffeature",
28215 "field": "call_limit",
28226 "field": "registertrying",
28237 "field": "subscribemwi",
28244 "field": "vmexten",
28251 "field": "mohinterpret",
28258 "field": "mohsuggest",
28265 "field": "parkinglot",
28272 "field": "description",
28293 "field": "canreinvite",
28300 "field": "registry",
28307 "field": "otherFields",
28321 "field": "t38pt_udptl",
28327 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28328 "version": "0.0.0",
28329 "filename": "server/api/trunk/index.js",
28330 "groupTitle": "Trunks"
28334 "url": "/api/trunks/{id}",
28335 "title": "Deletes a trunk",
28338 "title": "Example usage:",
28339 "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password} -X DELETE",
28345 "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>",
28346 "version": "0.0.0",
28347 "filename": "server/api/trunk/index.js",
28348 "groupTitle": "Trunks"
28352 "url": "/api/trunks",
28353 "title": "Gets a list of Trunks",
28356 "title": "Example usage:",
28357 "content": "curl https://{domain}/api/trunks -v -u {name}:{password}",
28361 "name": "GetTrunks",
28363 "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&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>",
28364 "version": "0.0.0",
28365 "filename": "server/api/trunk/index.js",
28366 "groupTitle": "Trunks"
28370 "url": "/api/trunks/{id}",
28371 "title": "Gets a single Trunk",
28374 "title": "Example usage:",
28375 "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password}",
28379 "name": "ShowTrunks",
28381 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28382 "version": "0.0.0",
28383 "filename": "server/api/trunk/index.js",
28384 "groupTitle": "Trunks"
28388 "url": "/api/trunks/{id}",
28389 "title": "Update an existing trunk",
28392 "title": "Example usage:",
28393 "content": "curl https://{domain}/api/trunks/{id} -v -u {name}:{password} -X PUT",
28399 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28400 "version": "0.0.0",
28401 "filename": "server/api/trunk/index.js",
28402 "groupTitle": "Trunks"
28406 "url": "/api/userNotifications",
28407 "title": "Send notification to user",
28410 "title": "Example usage:",
28411 "content": "curl https://{domain}/api/userNotifications -d '{\"text\": \"Hello!\", \"TemplateId\": 1}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28416 "group": "UserNotifications",
28417 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28418 "version": "0.0.0",
28419 "filename": "server/api/userNotification/index.js",
28420 "groupTitle": "UserNotifications"
28424 "url": "/api/userProfile/resources",
28425 "title": "Creates a new User Profile Resource",
28428 "title": "Example usage:",
28429 "content": "curl https://{domain}/api/userProfile/resources -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28433 "name": "CreateUser_Profile_Resources",
28434 "group": "User_Profile_Resources",
28449 "field": "resourceId",
28462 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28463 "version": "0.0.0",
28464 "filename": "server/api/userProfileResource/index.js",
28465 "groupTitle": "User_Profile_Resources"
28469 "url": "/api/userProfile/resources/{id}",
28470 "title": "Deletes a User Profile Resource",
28473 "title": "Example usage:",
28474 "content": "curl https://{domain}/api/userProfile/resources/{id} -v -u {name}:{password} -X DELETE",
28478 "name": "DeleteUser_Profile_Resources",
28479 "group": "User_Profile_Resources",
28480 "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>",
28481 "version": "0.0.0",
28482 "filename": "server/api/userProfileResource/index.js",
28483 "groupTitle": "User_Profile_Resources"
28487 "url": "/api/userProfile/resources/describe",
28488 "title": "Gets table info about User Profile Resources",
28491 "title": "Example usage:",
28492 "content": "curl https://{domain}/api/userProfile/resources/describe -v -u {name}:{password}",
28496 "name": "DescribeUser_Profile_Resources",
28497 "group": "User_Profile_Resources",
28498 "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>",
28499 "version": "0.0.0",
28500 "filename": "server/api/userProfileResource/index.js",
28501 "groupTitle": "User_Profile_Resources"
28505 "url": "/api/userProfile/resources",
28506 "title": "Gets a list of User Profile Resources",
28509 "title": "Example usage:",
28510 "content": "curl https://{domain}/api/userProfile/resources -v -u {name}:{password}",
28514 "name": "GetUser_Profile_Resources",
28515 "group": "User_Profile_Resources",
28516 "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&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>",
28517 "version": "0.0.0",
28518 "filename": "server/api/userProfileResource/index.js",
28519 "groupTitle": "User_Profile_Resources"
28523 "url": "/api/userProfile/resources/{id}",
28524 "title": "Gets a single User Profile Resource",
28527 "title": "Example usage:",
28528 "content": "curl https://{domain}/api/userProfile/resources/{id} -v -u {name}:{password}",
28532 "name": "ShowUser_Profile_Resources",
28533 "group": "User_Profile_Resources",
28534 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28535 "version": "0.0.0",
28536 "filename": "server/api/userProfileResource/index.js",
28537 "groupTitle": "User_Profile_Resources"
28541 "url": "/api/userProfile/resources/{id}",
28542 "title": "Update an existing User Profile Resource",
28545 "title": "Example usage:",
28546 "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",
28550 "name": "updateUser_Profile_Resources",
28551 "group": "User_Profile_Resources",
28552 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28553 "version": "0.0.0",
28554 "filename": "server/api/userProfileResource/index.js",
28555 "groupTitle": "User_Profile_Resources"
28559 "url": "/api/userProfile/sections",
28560 "title": "Creates a new User Profile Section",
28563 "title": "Example usage:",
28564 "content": "curl https://{domain}/api/userProfile/sections -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28568 "name": "CreateUser_Profile_Sections",
28569 "group": "User_Profile_Sections",
28584 "field": "category",
28591 "field": "sectionId",
28598 "field": "enabled",
28605 "field": "autoAssociation",
28612 "field": "crudPermissions",
28618 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28619 "version": "0.0.0",
28620 "filename": "server/api/userProfileSection/index.js",
28621 "groupTitle": "User_Profile_Sections"
28625 "url": "/api/userProfile/sections/{id}",
28626 "title": "Deletes a User Profile Section",
28629 "title": "Example usage:",
28630 "content": "curl https://{domain}/api/userProfile/sections/{id} -v -u {name}:{password} -X DELETE",
28634 "name": "DeleteUser_Profile_Sections",
28635 "group": "User_Profile_Sections",
28636 "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>",
28637 "version": "0.0.0",
28638 "filename": "server/api/userProfileSection/index.js",
28639 "groupTitle": "User_Profile_Sections"
28643 "url": "/api/userProfile/sections/describe",
28644 "title": "Gets table info about User Profile Sections",
28647 "title": "Example usage:",
28648 "content": "curl https://{domain}/api/userProfile/sections/describe -v -u {name}:{password}",
28652 "name": "DescribeUser_Profile_Sections",
28653 "group": "User_Profile_Sections",
28654 "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>",
28655 "version": "0.0.0",
28656 "filename": "server/api/userProfileSection/index.js",
28657 "groupTitle": "User_Profile_Sections"
28661 "url": "/api/userProfile/sections",
28662 "title": "Gets a list of User Profile Sections",
28665 "title": "Example usage:",
28666 "content": "curl https://{domain}/api/userProfile/sections -v -u {name}:{password}",
28670 "name": "GetUser_Profile_Sections",
28671 "group": "User_Profile_Sections",
28672 "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&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>",
28673 "version": "0.0.0",
28674 "filename": "server/api/userProfileSection/index.js",
28675 "groupTitle": "User_Profile_Sections"
28679 "url": "/api/userProfile/sections/{id}",
28680 "title": "Gets a single User Profile Section",
28683 "title": "Example usage:",
28684 "content": "curl https://{domain}/api/userProfile/sections/{id} -v -u {name}:{password}",
28688 "name": "ShowUser_Profile_Sections",
28689 "group": "User_Profile_Sections",
28690 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28691 "version": "0.0.0",
28692 "filename": "server/api/userProfileSection/index.js",
28693 "groupTitle": "User_Profile_Sections"
28697 "url": "/api/userProfile/sections/{id}",
28698 "title": "Update an existing User Profile Section",
28701 "title": "Example usage:",
28702 "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",
28706 "name": "updateUser_Profile_Sections",
28707 "group": "User_Profile_Sections",
28708 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28709 "version": "0.0.0",
28710 "filename": "server/api/userProfileSection/index.js",
28711 "groupTitle": "User_Profile_Sections"
28715 "url": "/api/userProfiles/{id}/resources",
28716 "title": "Add resources' permissions to User Profile",
28719 "title": "Example usage:",
28720 "content": "curl https://{domain}/api/userProfiles/{id}/resources -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28724 "name": "AddResources",
28725 "group": "User_Profiles",
28726 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28727 "version": "0.0.0",
28728 "filename": "server/api/userProfile/index.js",
28729 "groupTitle": "User_Profiles"
28733 "url": "/api/userProfiles/{id}/sections",
28734 "title": "Add sections' permissions to User Profile",
28737 "title": "Example usage:",
28738 "content": "curl https://{domain}/api/userProfiles/{id}/sections -d '[{\"sectionId\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
28742 "name": "AddSections",
28743 "group": "User_Profiles",
28744 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28745 "version": "0.0.0",
28746 "filename": "server/api/userProfile/index.js",
28747 "groupTitle": "User_Profiles"
28751 "url": "/api/userProfiles/clone",
28752 "title": "Clone an existing User Profile",
28755 "title": "Example usage:",
28756 "content": "curl https://{domain}/api/userProfiles/clone -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28760 "name": "CloneUser_Profiles",
28761 "group": "User_Profiles",
28762 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28763 "version": "0.0.0",
28764 "filename": "server/api/userProfile/index.js",
28765 "groupTitle": "User_Profiles"
28769 "url": "/api/userProfiles",
28770 "title": "Creates a new User Profile",
28773 "title": "Example usage:",
28774 "content": "curl https://{domain}/api/userProfiles -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
28778 "name": "CreateUser_Profiles",
28779 "group": "User_Profiles",
28794 "field": "crudPermissions",
28801 "field": "description",
28808 "field": "privacyEnabled",
28815 "field": "downloadAttachments",
28822 "field": "downloadCallySquareRecordings",
28829 "field": "downloadContactManagerLists",
28836 "field": "downloadJscriptySessions",
28843 "field": "downloadOmnichannelInteractions",
28850 "field": "downloadScreenRecordings",
28857 "field": "downloadVoiceRecordings",
28863 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28864 "version": "0.0.0",
28865 "filename": "server/api/userProfile/index.js",
28866 "groupTitle": "User_Profiles"
28870 "url": "/api/userProfiles/{id}",
28871 "title": "Deletes a User Profile",
28874 "title": "Example usage:",
28875 "content": "curl https://{domain}/api/userProfiles/{id} -v -u {name}:{password} -X DELETE",
28879 "name": "DeleteUser_Profiles",
28880 "group": "User_Profiles",
28881 "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>",
28882 "version": "0.0.0",
28883 "filename": "server/api/userProfile/index.js",
28884 "groupTitle": "User_Profiles"
28888 "url": "/api/userProfiles/describe",
28889 "title": "Gets table info about User Profiles",
28892 "title": "Example usage:",
28893 "content": "curl https://{domain}/api/userProfiles/describe -v -u {name}:{password}",
28897 "name": "DescribeUser_Profiles",
28898 "group": "User_Profiles",
28899 "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>",
28900 "version": "0.0.0",
28901 "filename": "server/api/userProfile/index.js",
28902 "groupTitle": "User_Profiles"
28906 "url": "/api/userProfiles/{id}/resources?section={section}",
28907 "title": "Get Resources assigned to a Section",
28910 "title": "Example usage:",
28911 "content": "curl https://{domain}/api/userProfiles/{id}/resources?section={section} -v -u {name}:{password} -X GET",
28915 "name": "GetResources",
28916 "group": "User_Profiles",
28917 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28918 "version": "0.0.0",
28919 "filename": "server/api/userProfile/index.js",
28920 "groupTitle": "User_Profiles"
28924 "url": "/api/userProfiles/{id}/sections",
28925 "title": "Get sections associated to a User Profile",
28928 "title": "Example usage:",
28929 "content": "curl https://{domain}/api/userProfiles/{id}/sections -v -u {name}:{password} -X GET",
28933 "name": "GetSections",
28934 "group": "User_Profiles",
28935 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
28936 "version": "0.0.0",
28937 "filename": "server/api/userProfile/index.js",
28938 "groupTitle": "User_Profiles"
28942 "url": "/api/userProfiles",
28943 "title": "Gets a list of User Profiles",
28946 "title": "Example usage:",
28947 "content": "curl https://{domain}/api/userProfiles -v -u {name}:{password}",
28951 "name": "GetUser_Profiles",
28952 "group": "User_Profiles",
28953 "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&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>",
28954 "version": "0.0.0",
28955 "filename": "server/api/userProfile/index.js",
28956 "groupTitle": "User_Profiles"
28960 "url": "/api/userProfiles/{id}/resources",
28961 "title": "Removes resources' permissions from User Profile",
28964 "title": "Example usage:",
28965 "content": "curl https://{domain}/api/userProfiles/{id}/resources?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
28969 "name": "RemoveResources",
28970 "group": "User_Profiles",
28971 "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>",
28972 "version": "0.0.0",
28973 "filename": "server/api/userProfile/index.js",
28974 "groupTitle": "User_Profiles"
28978 "url": "/api/userProfiles/{id}/sections",
28979 "title": "Removes sections' permissions from User Profile",
28982 "title": "Example usage:",
28983 "content": "curl https://{domain}/api/userProfiles/{id}/sections?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
28987 "name": "RemoveSections",
28988 "group": "User_Profiles",
28989 "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>",
28990 "version": "0.0.0",
28991 "filename": "server/api/userProfile/index.js",
28992 "groupTitle": "User_Profiles"
28996 "url": "/api/userProfiles/{id}",
28997 "title": "Gets a single User Profile",
29000 "title": "Example usage:",
29001 "content": "curl https://{domain}/api/userProfiles/{id} -v -u {name}:{password}",
29005 "name": "ShowUser_Profiles",
29006 "group": "User_Profiles",
29007 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29008 "version": "0.0.0",
29009 "filename": "server/api/userProfile/index.js",
29010 "groupTitle": "User_Profiles"
29014 "url": "/api/userProfiles/{id}",
29015 "title": "Update an existing User Profile",
29018 "title": "Example usage:",
29019 "content": "curl https://{domain}/api/userProfiles/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
29023 "name": "updateUser_Profiles",
29024 "group": "User_Profiles",
29025 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29026 "version": "0.0.0",
29027 "filename": "server/api/userProfile/index.js",
29028 "groupTitle": "User_Profiles"
29032 "url": "/api/users/{id}/chat_interactions",
29033 "title": "Add chat interaction tabs to an agent",
29036 "title": "Example usage:",
29037 "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",
29041 "name": "AddChatInteractions",
29043 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29044 "version": "0.0.0",
29045 "filename": "server/api/user/index.js",
29046 "groupTitle": "Users"
29050 "url": "/api/users/{id}/chat_websites",
29051 "title": "Add a Chat Website to a user",
29054 "title": "Example usage:",
29055 "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",
29059 "name": "AddChatWebsites",
29061 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29062 "version": "0.0.0",
29063 "filename": "server/api/user/index.js",
29064 "groupTitle": "Users"
29068 "url": "/api/users/{id}/contacts",
29069 "title": "Add contacts to a user",
29072 "title": "Example usage:",
29073 "content": "curl https://{domain}/api/users/{id}/contacts -d '{\"ids\": [1,2]}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
29077 "name": "AddContacts",
29079 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29080 "version": "0.0.0",
29081 "filename": "server/api/user/index.js",
29082 "groupTitle": "Users"
29086 "url": "/api/users/{id}/fax_accounts",
29087 "title": "Add a Fax Account to a user",
29090 "title": "Example usage:",
29091 "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",
29095 "name": "AddFaxAccounts",
29097 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29098 "version": "0.0.0",
29099 "filename": "server/api/user/index.js",
29100 "groupTitle": "Users"
29104 "url": "/api/users/{id}/fax_interactions",
29105 "title": "Add fax interaction tabs to an agent",
29108 "title": "Example usage:",
29109 "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",
29113 "name": "AddFaxInteractions",
29115 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29116 "version": "0.0.0",
29117 "filename": "server/api/user/index.js",
29118 "groupTitle": "Users"
29122 "url": "/api/users/{id}/mail_accounts",
29123 "title": "Add a Mail Account to a user",
29126 "title": "Example usage:",
29127 "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",
29131 "name": "AddMailAccounts",
29133 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29134 "version": "0.0.0",
29135 "filename": "server/api/user/index.js",
29136 "groupTitle": "Users"
29140 "url": "/api/users/{id}/mail_interactions",
29141 "title": "Add mail interaction tabs to an agent",
29144 "title": "Example usage:",
29145 "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",
29149 "name": "AddMailInteractions",
29151 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29152 "version": "0.0.0",
29153 "filename": "server/api/user/index.js",
29154 "groupTitle": "Users"
29158 "url": "/api/users/{id}/openchannel_accounts",
29159 "title": "Add a Open Channel Account to a user",
29162 "title": "Example usage:",
29163 "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",
29167 "name": "AddOpenchannelAccounts",
29169 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29170 "version": "0.0.0",
29171 "filename": "server/api/user/index.js",
29172 "groupTitle": "Users"
29176 "url": "/api/users/{id}/openchannel_interactions",
29177 "title": "Add openchannel interaction tabs to an agent",
29180 "title": "Example usage:",
29181 "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",
29185 "name": "AddOpenchannelInteractions",
29187 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29188 "version": "0.0.0",
29189 "filename": "server/api/user/index.js",
29190 "groupTitle": "Users"
29194 "url": "/api/users/{id}/queues",
29195 "title": "Add queues to an agent",
29198 "title": "Example usage:",
29199 "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",
29203 "name": "AddQueues",
29205 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29206 "version": "0.0.0",
29207 "filename": "server/api/user/index.js",
29208 "groupTitle": "Users"
29212 "url": "/api/users/{id}/sms_accounts",
29213 "title": "Add a Sms Account to a user",
29216 "title": "Example usage:",
29217 "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",
29221 "name": "AddSmsAccounts",
29223 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29224 "version": "0.0.0",
29225 "filename": "server/api/user/index.js",
29226 "groupTitle": "Users"
29230 "url": "/api/users/{id}/sms_interactions",
29231 "title": "Add sms interaction tabs to an agent",
29234 "title": "Example usage:",
29235 "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",
29239 "name": "AddSmsInteractions",
29241 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29242 "version": "0.0.0",
29243 "filename": "server/api/user/index.js",
29244 "groupTitle": "Users"
29248 "url": "/api/users/{id}/square_projects",
29249 "title": "Add a Square Project to a user",
29252 "title": "Example usage:",
29253 "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",
29257 "name": "AddSquareProjects",
29259 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29260 "version": "0.0.0",
29261 "filename": "server/api/user/index.js",
29262 "groupTitle": "Users"
29266 "url": "/api/users/{id}/teams",
29267 "title": "Add teams to an agent",
29270 "title": "Example usage:",
29271 "content": "curl https://{domain}/api/users/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
29275 "name": "AddTeams",
29277 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29278 "version": "0.0.0",
29279 "filename": "server/api/user/index.js",
29280 "groupTitle": "Users"
29284 "url": "/api/users/{id}/whatsapp_accounts",
29285 "title": "Add a Whatsapp Account to a user",
29288 "title": "Example usage:",
29289 "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",
29293 "name": "AddWhatsappAccounts",
29295 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29296 "version": "0.0.0",
29297 "filename": "server/api/user/index.js",
29298 "groupTitle": "Users"
29302 "url": "/api/users/{id}/whatsapp_interactions",
29303 "title": "Add Whatsapp interaction tabs to an agent",
29306 "title": "Example usage:",
29307 "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",
29311 "name": "AddWhatsappInteractions",
29313 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29314 "version": "0.0.0",
29315 "filename": "server/api/user/index.js",
29316 "groupTitle": "Users"
29320 "url": "/api/users/{id}/password",
29321 "title": "Change user password",
29324 "title": "Example usage:",
29325 "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",
29329 "name": "ChangePwd",
29331 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29332 "version": "0.0.0",
29333 "filename": "server/api/user/index.js",
29334 "groupTitle": "Users"
29338 "url": "/api/users",
29339 "title": "Create a new user",
29342 "title": "Example usage:",
29343 "content": "curl https://{domain}/api/users -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
29349 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29350 "version": "0.0.0",
29351 "filename": "server/api/user/index.js",
29352 "groupTitle": "Users"
29356 "url": "/api/users/{id}/api_key",
29357 "title": "Create a new API access key for the user",
29360 "title": "Example usage:",
29361 "content": "curl https://{domain}/api/users/:id/api_key -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
29365 "name": "CreateApiKey",
29367 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29368 "version": "0.0.0",
29369 "filename": "server/api/user/index.js",
29370 "groupTitle": "Users"
29374 "url": "/api/users/{id}",
29375 "title": "Deletes a user",
29378 "title": "Example usage:",
29379 "content": "curl https://{domain}/api/users/{id} -v -u {name}:{password} -X DELETE",
29385 "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>",
29386 "version": "0.0.0",
29387 "filename": "server/api/user/index.js",
29388 "groupTitle": "Users"
29392 "url": "/api/users/describe",
29393 "title": "Gets table info about Users",
29396 "title": "Example usage:",
29397 "content": "curl https://{domain}/api/users/describe -v -u {name}:{password}",
29401 "name": "DescribeUsers",
29403 "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>",
29404 "version": "0.0.0",
29405 "filename": "server/api/user/index.js",
29406 "groupTitle": "Users"
29410 "url": "/api/users/{id}/agents",
29411 "title": "GetAgents",
29414 "title": "Example usage:",
29415 "content": "curl https://{domain}/api/users/{id}/agents -v -u {name}:{password} -X GET",
29419 "name": "GetAgents",
29421 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29422 "version": "0.0.0",
29423 "filename": "server/api/user/index.js",
29424 "groupTitle": "Users"
29428 "url": "/api/users/{id}/api_key",
29429 "title": "Get the API access key for the user",
29432 "title": "Example usage:",
29433 "content": "curl https://{domain}/api/users/:id/api_key -v -u {name}:{password} -X GET",
29437 "name": "GetApiKey",
29439 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29440 "version": "0.0.0",
29441 "filename": "server/api/user/index.js",
29442 "groupTitle": "Users"
29446 "url": "/api/users/{id}/groups",
29447 "title": "GetChatGroups",
29450 "title": "Example usage:",
29451 "content": "curl https://{domain}/api/users/{id}/groups -v -u {name}:{password} -X GET",
29455 "name": "GetChatGroups",
29457 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29458 "version": "0.0.0",
29459 "filename": "server/api/user/index.js",
29460 "groupTitle": "Users"
29464 "url": "/api/users/{id}/chat/interactions",
29465 "title": "GetChatInteractions",
29468 "title": "Example usage:",
29469 "content": "curl https://{domain}/api/users/{id}/chat/interactions -v -u {name}:{password} -X GET",
29473 "name": "GetChatInteractions",
29475 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29476 "version": "0.0.0",
29477 "filename": "server/api/user/index.js",
29478 "groupTitle": "Users"
29482 "url": "/api/users/{id}/chat_websites",
29483 "title": "GetChatWebsites",
29486 "title": "Example usage:",
29487 "content": "curl https://{domain}/api/users/{id}/chat_websites -v -u {name}:{password} -X GET",
29491 "name": "GetChatWebsites",
29493 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29494 "version": "0.0.0",
29495 "filename": "server/api/user/index.js",
29496 "groupTitle": "Users"
29500 "url": "/api/users/{id}/contacts",
29501 "title": "GetContacts",
29504 "title": "Example usage:",
29505 "content": "curl https://{domain}/api/users/{id}/contacts -v -u {name}:{password} -X GET",
29509 "name": "GetContacts",
29511 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29512 "version": "0.0.0",
29513 "filename": "server/api/user/index.js",
29514 "groupTitle": "Users"
29518 "url": "/api/users/{id}/fax_accounts",
29519 "title": "GetFaxAccounts",
29522 "title": "Example usage:",
29523 "content": "curl https://{domain}/api/users/{id}/fax_accounts -v -u {name}:{password} -X GET",
29527 "name": "GetFaxAccounts",
29529 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29530 "version": "0.0.0",
29531 "filename": "server/api/user/index.js",
29532 "groupTitle": "Users"
29536 "url": "/api/users/{id}/fax/interactions",
29537 "title": "GetFaxInteractions",
29540 "title": "Example usage:",
29541 "content": "curl https://{domain}/api/users/{id}/fax/interactions -v -u {name}:{password} -X GET",
29545 "name": "GetFaxInteractions",
29547 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29548 "version": "0.0.0",
29549 "filename": "server/api/user/index.js",
29550 "groupTitle": "Users"
29554 "url": "/api/users/{id}/lists",
29555 "title": "GetLists",
29558 "title": "Example usage:",
29559 "content": "curl https://{domain}/api/users/{id}/lists -v -u {name}:{password} -X GET",
29563 "name": "GetLists",
29565 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29566 "version": "0.0.0",
29567 "filename": "server/api/user/index.js",
29568 "groupTitle": "Users"
29572 "url": "/api/users/{id}/mail_accounts",
29573 "title": "GetMailAccounts",
29576 "title": "Example usage:",
29577 "content": "curl https://{domain}/api/users/{id}/mail_accounts -v -u {name}:{password} -X GET",
29581 "name": "GetMailAccounts",
29583 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29584 "version": "0.0.0",
29585 "filename": "server/api/user/index.js",
29586 "groupTitle": "Users"
29590 "url": "/api/users/{id}/mail/interactions",
29591 "title": "GetMailInteractions",
29594 "title": "Example usage:",
29595 "content": "curl https://{domain}/api/users/{id}/mail/interactions -v -u {name}:{password} -X GET",
29599 "name": "GetMailInteractions",
29601 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29602 "version": "0.0.0",
29603 "filename": "server/api/user/index.js",
29604 "groupTitle": "Users"
29608 "url": "/api/users/{id}/openchannel_accounts",
29609 "title": "GetOpenchannelAccounts",
29612 "title": "Example usage:",
29613 "content": "curl https://{domain}/api/users/{id}/openchannel_accounts -v -u {name}:{password} -X GET",
29617 "name": "GetOpenchannelAccounts",
29619 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29620 "version": "0.0.0",
29621 "filename": "server/api/user/index.js",
29622 "groupTitle": "Users"
29626 "url": "/api/users/{id}/openchannel/interactions",
29627 "title": "GetOpenchannelInteractions",
29630 "title": "Example usage:",
29631 "content": "curl https://{domain}/api/users/{id}/openchannel/interactions -v -u {name}:{password}",
29635 "name": "GetOpenchannelInteractions",
29637 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29638 "version": "0.0.0",
29639 "filename": "server/api/user/index.js",
29640 "groupTitle": "Users"
29644 "url": "/api/users/{id}/prefixes",
29645 "title": "GetPrefixes",
29648 "title": "Example usage:",
29649 "content": "curl https://{domain}/api/users/{id}/prefixes -v -u {name}:{password} -X GET",
29653 "name": "GetPrefixes",
29655 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29656 "version": "0.0.0",
29657 "filename": "server/api/user/index.js",
29658 "groupTitle": "Users"
29662 "url": "/api/users/{id}/queues?channel={channel}",
29663 "title": "Gets Queues list",
29666 "title": "Example usage:",
29667 "content": "curl https://{domain}/api/users/{id}/queues/?channel={channel} -v -u {name}:{password} -X GET",
29671 "name": "GetQueues",
29673 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29674 "version": "0.0.0",
29675 "filename": "server/api/user/index.js",
29676 "groupTitle": "Users"
29680 "url": "/api/users/{id}/recordings",
29681 "title": "GetRecordings",
29684 "title": "Example usage:",
29685 "content": "curl https://{domain}/api/users/{id}/recordings -v -u {name}:{password} -X GET",
29689 "name": "GetRecordings",
29691 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29692 "version": "0.0.0",
29693 "filename": "server/api/user/index.js",
29694 "groupTitle": "Users"
29698 "url": "/api/users/{id}/scheduled_calls",
29699 "title": "GetScheduledCalls",
29702 "title": "Example usage:",
29703 "content": "curl https://{domain}/api/users/{id}/scheduled_calls -v -u {name}:{password} -X GET",
29707 "name": "GetScheduledCalls",
29709 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29710 "version": "0.0.0",
29711 "filename": "server/api/user/index.js",
29712 "groupTitle": "Users"
29716 "url": "/api/users/{id}/screen_recordings",
29717 "title": "GetScreenRecordings",
29720 "title": "Example usage:",
29721 "content": "curl https://{domain}/api/users/{id}/screen_recordings -v -u {name}:{password} -X GET",
29725 "name": "GetScreenRecordings",
29727 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29728 "version": "0.0.0",
29729 "filename": "server/api/user/index.js",
29730 "groupTitle": "Users"
29734 "url": "/api/users/{id}/sms_accounts",
29735 "title": "GetSmsAccounts",
29738 "title": "Example usage:",
29739 "content": "curl https://{domain}/api/users/{id}/sms_accounts -v -u {name}:{password} -X GET",
29743 "name": "GetSmsAccounts",
29745 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29746 "version": "0.0.0",
29747 "filename": "server/api/user/index.js",
29748 "groupTitle": "Users"
29752 "url": "/api/users/{id}/sms/interactions",
29753 "title": "GetSmsInteractions",
29756 "title": "Example usage:",
29757 "content": "curl https://{domain}/api/users/{id}/sms/interactions -v -u {name}:{password} -X GET",
29761 "name": "GetSmsInteractions",
29763 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29764 "version": "0.0.0",
29765 "filename": "server/api/user/index.js",
29766 "groupTitle": "Users"
29770 "url": "/api/users/{id}/square_projects",
29771 "title": "GetSquareProjects",
29774 "title": "Example usage:",
29775 "content": "curl https://{domain}/api/users/{id}/square_projects -v -u {name}:{password} -X GET",
29779 "name": "GetSquareProjects",
29781 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29782 "version": "0.0.0",
29783 "filename": "server/api/user/index.js",
29784 "groupTitle": "Users"
29788 "url": "/api/users/{id}/teams",
29789 "title": "GetTeams",
29792 "title": "Example usage:",
29793 "content": "curl https://{domain}/api/users/{id}/teams -v -u {name}:{password} -X GET",
29797 "name": "GetTeams",
29799 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29800 "version": "0.0.0",
29801 "filename": "server/api/user/index.js",
29802 "groupTitle": "Users"
29806 "url": "/api/users",
29807 "title": "Gets a list of Users",
29810 "title": "Example usage:",
29811 "content": "curl https://{domain}/api/users -v -u {name}:{password}",
29815 "name": "GetUsers",
29817 "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&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>",
29818 "version": "0.0.0",
29819 "filename": "server/api/user/index.js",
29820 "groupTitle": "Users"
29824 "url": "/api/users/{id}/queues_rt",
29825 "title": "GetVoiceQueuesRt",
29828 "title": "Example usage:",
29829 "content": "curl https://{domain}/api/users/{id}/queues_rt -v -u {name}:{password} -X GET",
29833 "name": "GetVoiceQueuesRt",
29835 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29836 "version": "0.0.0",
29837 "filename": "server/api/user/index.js",
29838 "groupTitle": "Users"
29842 "url": "/api/users/{id}/whatsapp_accounts",
29843 "title": "GetWhatsappAccounts",
29846 "title": "Example usage:",
29847 "content": "curl https://{domain}/api/users/{id}/whatsapp_accounts -v -u {name}:{password} -X GET",
29851 "name": "GetWhatsappAccounts",
29853 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29854 "version": "0.0.0",
29855 "filename": "server/api/user/index.js",
29856 "groupTitle": "Users"
29860 "url": "/api/users/{id}/whatsapp/interactions",
29861 "title": "GetWhatsappInteractions",
29864 "title": "Example usage:",
29865 "content": "curl https://{domain}/api/users/{id}/whatsapp/interactions -v -u {name}:{password} -X GET",
29869 "name": "GetWhatsappInteractions",
29871 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29872 "version": "0.0.0",
29873 "filename": "server/api/user/index.js",
29874 "groupTitle": "Users"
29878 "url": "/api/users/{id}/login",
29882 "title": "Example usage:",
29883 "content": "curl https://{domain}/api/users/{id}/login -v -u {name}:{password} -X POST",
29889 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29890 "version": "0.0.0",
29891 "filename": "server/api/user/index.js",
29892 "groupTitle": "Users"
29896 "url": "/api/users/{id}/logout",
29900 "title": "Example usage:",
29901 "content": "curl https://{domain}/api/users/{id}/logout -v -u {name}:{password} -X POST",
29907 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29908 "version": "0.0.0",
29909 "filename": "server/api/user/index.js",
29910 "groupTitle": "Users"
29914 "url": "/api/users/{id}/pause",
29918 "title": "Example usage:",
29919 "content": "curl https://{domain}/api/users/{id}/pause -v -u {name}:{password} -X POST",
29925 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
29926 "version": "0.0.0",
29927 "filename": "server/api/user/index.js",
29928 "groupTitle": "Users"
29932 "url": "/api/users/{id}/api_key",
29933 "title": "Remove API access key for the user",
29936 "title": "Example usage:",
29937 "content": "curl https://{domain}/api/users/:id/api_key -v -u {name}:{password} -X DELETE",
29941 "name": "RemoveApiKey",
29943 "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>",
29944 "version": "0.0.0",
29945 "filename": "server/api/user/index.js",
29946 "groupTitle": "Users"
29950 "url": "/api/users/{id}/chat_interactions",
29951 "title": "Removes interactions from an agent",
29954 "title": "Example usage:",
29955 "content": "curl https://{domain}/api/users/{id}/chat_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29959 "name": "RemoveChatInteractions",
29961 "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>",
29962 "version": "0.0.0",
29963 "filename": "server/api/user/index.js",
29964 "groupTitle": "Users"
29968 "url": "/api/users/{id}/chat_websites",
29969 "title": "Removes a Chat Website from a user",
29972 "title": "Example usage:",
29973 "content": "curl https://{domain}/api/users/{id}/chat_websites?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29977 "name": "RemoveChatWebsites",
29979 "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>",
29980 "version": "0.0.0",
29981 "filename": "server/api/user/index.js",
29982 "groupTitle": "Users"
29986 "url": "/api/users/{id}/fax_accounts",
29987 "title": "Removes a Fax Account from a user",
29990 "title": "Example usage:",
29991 "content": "curl https://{domain}/api/users/{id}/fax_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
29995 "name": "RemoveFaxAccounts",
29997 "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>",
29998 "version": "0.0.0",
29999 "filename": "server/api/user/index.js",
30000 "groupTitle": "Users"
30004 "url": "/api/users/{id}/fax_interactions",
30005 "title": "Removes interactions from an agent",
30008 "title": "Example usage:",
30009 "content": "curl https://{domain}/api/users/{id}/fax_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30013 "name": "RemoveFaxInteractions",
30015 "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>",
30016 "version": "0.0.0",
30017 "filename": "server/api/user/index.js",
30018 "groupTitle": "Users"
30022 "url": "/api/users/{id}/mail_accounts",
30023 "title": "Removes a Mail Account from a user",
30026 "title": "Example usage:",
30027 "content": "curl https://{domain}/api/users/{id}/mail_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30031 "name": "RemoveMailAccounts",
30033 "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>",
30034 "version": "0.0.0",
30035 "filename": "server/api/user/index.js",
30036 "groupTitle": "Users"
30040 "url": "/api/users/{id}/mail_interactions",
30041 "title": "Removes interactions from an agent",
30044 "title": "Example usage:",
30045 "content": "curl https://{domain}/api/users/{id}/mail_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30049 "name": "RemoveMailInteractions",
30051 "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>",
30052 "version": "0.0.0",
30053 "filename": "server/api/user/index.js",
30054 "groupTitle": "Users"
30058 "url": "/api/users/{id}/openchannel_accounts",
30059 "title": "Removes a Open Channel Account from a user",
30062 "title": "Example usage:",
30063 "content": "curl https://{domain}/api/users/{id}/openchannel_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30067 "name": "RemoveOpenchannelAccounts",
30069 "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>",
30070 "version": "0.0.0",
30071 "filename": "server/api/user/index.js",
30072 "groupTitle": "Users"
30076 "url": "/api/users/{id}/openchannel_interactions",
30077 "title": "Removes openchannel interactions from an agent",
30080 "title": "Example usage:",
30081 "content": "curl https://{domain}/api/users/{id}/openchannel_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30085 "name": "RemoveOpenchannelInteractions",
30087 "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>",
30088 "version": "0.0.0",
30089 "filename": "server/api/user/index.js",
30090 "groupTitle": "Users"
30094 "url": "/api/users/{id}/queues",
30095 "title": "Remove queues to an agent",
30098 "title": "Example usage:",
30099 "content": "curl https://{domain}/api/users/{id}/queues?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30103 "name": "RemoveQueues",
30105 "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>",
30106 "version": "0.0.0",
30107 "filename": "server/api/user/index.js",
30108 "groupTitle": "Users"
30112 "url": "/api/users/{id}/sms_accounts",
30113 "title": "Removes a Sms Account from a user",
30116 "title": "Example usage:",
30117 "content": "curl https://{domain}/api/users/{id}/sms_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30121 "name": "RemoveSmsAccounts",
30123 "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>",
30124 "version": "0.0.0",
30125 "filename": "server/api/user/index.js",
30126 "groupTitle": "Users"
30130 "url": "/api/users/{id}/sms_interactions",
30131 "title": "Removes interactions from an agent",
30134 "title": "Example usage:",
30135 "content": "curl https://{domain}/api/users/{id}/sms_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30139 "name": "RemoveSmsInteractions",
30141 "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>",
30142 "version": "0.0.0",
30143 "filename": "server/api/user/index.js",
30144 "groupTitle": "Users"
30148 "url": "/api/users/{id}/square_projects",
30149 "title": "Removes a Square Project from a user",
30152 "title": "Example usage:",
30153 "content": "curl https://{domain}/api/users/{id}/square_projects?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30157 "name": "RemoveSquareProjects",
30159 "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>",
30160 "version": "0.0.0",
30161 "filename": "server/api/user/index.js",
30162 "groupTitle": "Users"
30166 "url": "/api/users/{id}/teams",
30167 "title": "Removes teams from an agent",
30170 "title": "Example usage:",
30171 "content": "curl https://{domain}/api/users/{id}/teams?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30175 "name": "RemoveTeams",
30177 "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>",
30178 "version": "0.0.0",
30179 "filename": "server/api/user/index.js",
30180 "groupTitle": "Users"
30184 "url": "/api/users/{id}/whatsapp_accounts",
30185 "title": "Removes a Whatsapp Account from a user",
30188 "title": "Example usage:",
30189 "content": "curl https://{domain}/api/users/{id}/whatsapp_accounts?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30193 "name": "RemoveWhatsappAccounts",
30195 "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>",
30196 "version": "0.0.0",
30197 "filename": "server/api/user/index.js",
30198 "groupTitle": "Users"
30202 "url": "/api/users/{id}/whatsapp_interactions",
30203 "title": "Removes Whatsapp interactions from an agent",
30206 "title": "Example usage:",
30207 "content": "curl https://{domain}/api/users/{id}/whatsapp_interactions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
30211 "name": "RemoveWhatsappInteractions",
30213 "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>",
30214 "version": "0.0.0",
30215 "filename": "server/api/user/index.js",
30216 "groupTitle": "Users"
30220 "url": "/api/users/{id}",
30221 "title": "Gets a single User",
30224 "title": "Example usage:",
30225 "content": "curl https://{domain}/api/users/{id} -v -u {name}:{password}",
30229 "name": "ShowUsers",
30231 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30232 "version": "0.0.0",
30233 "filename": "server/api/user/index.js",
30234 "groupTitle": "Users"
30238 "url": "/api/users/{id}/unpause",
30239 "title": "Unpause",
30242 "title": "Example usage:",
30243 "content": "curl https://{domain}/api/users/{id}/unpause -v -u {name}:{password} -X POST",
30249 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30250 "version": "0.0.0",
30251 "filename": "server/api/user/index.js",
30252 "groupTitle": "Users"
30256 "url": "/api/users/whoami",
30260 "title": "Example usage:",
30261 "content": "curl https://{domain}/api/users/whoami -v -u {name}:{password} -X GET",
30267 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30268 "version": "0.0.0",
30269 "filename": "server/api/user/index.js",
30270 "groupTitle": "Users"
30274 "url": "/api/users/{id}/avatar",
30275 "title": "Add avatar",
30278 "title": "Example usage:",
30279 "content": "curl https://{domain}/api/users/{id}/avatar -H 'Content-Type: multipart/form-data' -F 'file=@{filename}' -v -u {name}:{password} -X POST",
30283 "name": "addAvatar",
30285 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30286 "version": "0.0.0",
30287 "filename": "server/api/user/index.js",
30288 "groupTitle": "Users"
30292 "url": "/api/users/create_many",
30293 "title": "Create Users",
30296 "title": "Example usage:",
30297 "content": "curl https://{domain}/api/users/create_many -d '[{\"name\": \"john.doe\", \"role\": \"user\", \"...\": \"...\"}]' -v -u {name}:{password} -X POST",
30301 "name": "bulkCreate",
30303 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30304 "version": "0.0.0",
30305 "filename": "server/api/user/index.js",
30306 "groupTitle": "Users"
30310 "url": "/api/users/{id}/avatar",
30311 "title": "Get avatar",
30314 "title": "Example usage:",
30315 "content": "curl https://{domain}/api/users/{id}/avatar -v -u {name}:{password} -X GET",
30319 "name": "getAvatar",
30321 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30322 "version": "0.0.0",
30323 "filename": "server/api/user/index.js",
30324 "groupTitle": "Users"
30328 "url": "/api/users/{id}/open_tabs",
30329 "title": "Get interactions opened tabs",
30332 "title": "Example usage:",
30333 "content": "curl https://{domain}/api/users/{id}/open_tabs -v -u {name}:{password} -X GET",
30337 "name": "getOpenTabs",
30339 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30340 "version": "0.0.0",
30341 "filename": "server/api/user/index.js",
30342 "groupTitle": "Users"
30346 "url": "/api/users/presence",
30347 "title": "Gets agent presence",
30350 "title": "Example usage:",
30351 "content": "curl https://{domain}/api/users/presence -v -u {name}:{password} -X GET",
30355 "name": "getPresence",
30357 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30358 "version": "0.0.0",
30359 "filename": "server/api/user/index.js",
30360 "groupTitle": "Users"
30364 "url": "/api/users/{id}",
30365 "title": "Update an existing User",
30368 "title": "Example usage:",
30369 "content": "curl https://{domain}/api/users/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
30373 "name": "updateUsers",
30375 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30376 "version": "0.0.0",
30377 "filename": "server/api/user/index.js",
30378 "groupTitle": "Users"
30382 "url": "/api/variables",
30383 "title": "Creates a new Variable",
30386 "title": "Example usage:",
30387 "content": "curl https://{domain}/api/variables -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
30391 "name": "CreateVariables",
30392 "group": "Variables",
30407 "field": "description",
30413 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30414 "version": "0.0.0",
30415 "filename": "server/api/variable/index.js",
30416 "groupTitle": "Variables"
30420 "url": "/api/variables/{id}",
30421 "title": "Deletes a Variable",
30424 "title": "Example usage:",
30425 "content": "curl https://{domain}/api/variables/{id} -v -u {name}:{password} -X DELETE",
30429 "name": "DeleteVariables",
30430 "group": "Variables",
30431 "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>",
30432 "version": "0.0.0",
30433 "filename": "server/api/variable/index.js",
30434 "groupTitle": "Variables"
30438 "url": "/api/variables",
30439 "title": "Gets a list of Variables",
30442 "title": "Example usage:",
30443 "content": "curl https://{domain}/api/variables -v -u {name}:{password}",
30447 "name": "GetVariables",
30448 "group": "Variables",
30449 "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&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>",
30450 "version": "0.0.0",
30451 "filename": "server/api/variable/index.js",
30452 "groupTitle": "Variables"
30456 "url": "/api/variables/{id}",
30457 "title": "Gets a single Variable",
30460 "title": "Example usage:",
30461 "content": "curl https://{domain}/api/variables/{id} -v -u {name}:{password}",
30465 "name": "ShowVariables",
30466 "group": "Variables",
30467 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30468 "version": "0.0.0",
30469 "filename": "server/api/variable/index.js",
30470 "groupTitle": "Variables"
30474 "url": "/api/variables/{id}",
30475 "title": "Update an existing Variable",
30478 "title": "Example usage:",
30479 "content": "curl https://{domain}/api/variables/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
30483 "name": "updateVariables",
30484 "group": "Variables",
30485 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30486 "version": "0.0.0",
30487 "filename": "server/api/variable/index.js",
30488 "groupTitle": "Variables"
30492 "url": "/api/version/fetch",
30493 "title": "Fetch git version",
30496 "title": "Example usage:",
30497 "content": "curl https://{domain}/api/version/fetch -v -u {name}:{password}",
30501 "name": "FetchVersion",
30502 "group": "Version",
30503 "description": "<p>Motion run the following command: git fetch origin master</p>",
30504 "version": "0.0.0",
30505 "filename": "server/api/version/index.js",
30506 "groupTitle": "Version"
30510 "url": "/api/version",
30511 "title": "Gets version",
30514 "title": "Example usage:",
30515 "content": "curl https://{domain}/api/version -v -u {name}:{password}",
30519 "name": "GetVersion",
30520 "group": "Version",
30521 "description": "<p>Motion returns the current and latest motion version.</p>",
30522 "version": "0.0.0",
30523 "filename": "server/api/version/index.js",
30524 "groupTitle": "Version"
30528 "url": "/api/version/migrations",
30529 "title": "Launch database migrations",
30532 "title": "Example usage:",
30533 "content": "curl https://{domain}/api/version/migrations -v -u {name}:{password}",
30537 "name": "MigrateVersion",
30538 "group": "Version",
30539 "description": "<p>Motion launch the database migrations, according to the application version</p>",
30540 "version": "0.0.0",
30541 "filename": "server/api/version/index.js",
30542 "groupTitle": "Version"
30546 "url": "/api/version/pull",
30547 "title": "Pull git version",
30550 "title": "Example usage:",
30551 "content": "curl https://{domain}/api/version/pull -v -u {name}:{password}",
30555 "name": "PullVersion",
30556 "group": "Version",
30557 "description": "<p>Motion run the following command: git pull</p>",
30558 "version": "0.0.0",
30559 "filename": "server/api/version/index.js",
30560 "groupTitle": "Version"
30564 "url": "/api/version/reset",
30565 "title": "Reset git version",
30568 "title": "Example usage:",
30569 "content": "curl https://{domain}/api/version/reset -v -u {name}:{password}",
30573 "name": "ResetVersion",
30574 "group": "Version",
30575 "description": "<p>Motion run the following command: git reset --hard FETCH_HEAD</p>",
30576 "version": "0.0.0",
30577 "filename": "server/api/version/index.js",
30578 "groupTitle": "Version"
30582 "url": "/api/version/restart",
30583 "title": "Restart motion2 after update",
30586 "title": "Example usage:",
30587 "content": "curl https://{domain}/api/version/restart -v -u {name}:{password}",
30591 "name": "RestartVersion",
30592 "group": "Version",
30593 "description": "<p>Motion run the following command: pm2 restart motion</p>",
30594 "version": "0.0.0",
30595 "filename": "server/api/version/index.js",
30596 "groupTitle": "Version"
30600 "url": "/api/voice/agents/reports/describe",
30601 "title": "Gets table info about Agent Reports",
30604 "title": "Example usage:",
30605 "content": "curl https://{domain}/api/voice/agents/reports/describe -v -u {name}:{password}",
30609 "name": "DescribeAgent_Reports",
30610 "group": "Voice_Agent_Reports",
30611 "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>",
30612 "version": "0.0.0",
30613 "filename": "server/api/voiceAgentReport/index.js",
30614 "groupTitle": "Voice_Agent_Reports"
30618 "url": "/api/voice/agents/reports",
30619 "title": "Gets a list of Agent Reports",
30622 "title": "Example usage:",
30623 "content": "curl https://{domain}/api/voice/agents/reports -v -u {name}:{password}",
30627 "name": "GetAgent_Reports",
30628 "group": "Voice_Agent_Reports",
30629 "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&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>",
30630 "version": "0.0.0",
30631 "filename": "server/api/voiceAgentReport/index.js",
30632 "groupTitle": "Voice_Agent_Reports"
30636 "url": "/api/voice/agents/reports/{id}",
30637 "title": "Gets a single Agent Report",
30640 "title": "Example usage:",
30641 "content": "curl https://{domain}/api/voice/agents/reports/{id} -v -u {name}:{password}",
30645 "name": "ShowAgent_Reports",
30646 "group": "Voice_Agent_Reports",
30647 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30648 "version": "0.0.0",
30649 "filename": "server/api/voiceAgentReport/index.js",
30650 "groupTitle": "Voice_Agent_Reports"
30654 "url": "/api/voice/calls/reports/describe",
30655 "title": "Gets table info about Call Reports",
30658 "title": "Example usage:",
30659 "content": "curl https://{domain}/api/voice/calls/reports/describe -v -u {name}:{password}",
30663 "name": "DescribeCall_Reports",
30664 "group": "Voice_Call_Reports",
30665 "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>",
30666 "version": "0.0.0",
30667 "filename": "server/api/voiceCallReport/index.js",
30668 "groupTitle": "Voice_Call_Reports"
30672 "url": "/api/voice/calls/reports",
30673 "title": "Gets a list of Call Reports",
30676 "title": "Example usage:",
30677 "content": "curl https://{domain}/api/voice/calls/reports -v -u {name}:{password}",
30681 "name": "GetCall_Reports",
30682 "group": "Voice_Call_Reports",
30683 "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&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>",
30684 "version": "0.0.0",
30685 "filename": "server/api/voiceCallReport/index.js",
30686 "groupTitle": "Voice_Call_Reports"
30690 "url": "/api/voice/calls/reports/{id}",
30691 "title": "Gets a single Call Report",
30694 "title": "Example usage:",
30695 "content": "curl https://{domain}/api/voice/calls/reports/{id} -v -u {name}:{password}",
30699 "name": "ShowCall_Reports",
30700 "group": "Voice_Call_Reports",
30701 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30702 "version": "0.0.0",
30703 "filename": "server/api/voiceCallReport/index.js",
30704 "groupTitle": "Voice_Call_Reports"
30708 "url": "/api/voice/calls/reports/{id}",
30709 "title": "Update a single cdr",
30712 "title": "Example usage:",
30713 "content": "curl https://{domain}/api/voice/calls/reports/{id} -d '{\"userDispositio\": \"OK\"}' -v -u {name}:{password} -X PUT",
30718 "group": "Voice_Call_Reports",
30719 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30720 "version": "0.0.0",
30721 "filename": "server/api/voiceCallReport/index.js",
30722 "groupTitle": "Voice_Call_Reports"
30726 "url": "/api/voice/chanspy",
30727 "title": "Creates a new ChanSpy",
30730 "title": "Example usage:",
30731 "content": "curl https://{domain}/api/voice/chanspy -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
30735 "name": "CreateChanSpy",
30736 "group": "Voice_ChanSpy",
30758 "field": "options",
30772 "field": "password",
30786 "field": "recordingFormat",
30793 "field": "description",
30799 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30800 "version": "0.0.0",
30801 "filename": "server/api/voiceChanSpy/index.js",
30802 "groupTitle": "Voice_ChanSpy"
30806 "url": "/api/voice/chanspy/{id}",
30807 "title": "Deletes a ChanSpy",
30810 "title": "Example usage:",
30811 "content": "curl https://{domain}/api/voice/chanspy/{id} -v -u {name}:{password} -X DELETE",
30815 "name": "DeleteChanSpy",
30816 "group": "Voice_ChanSpy",
30817 "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>",
30818 "version": "0.0.0",
30819 "filename": "server/api/voiceChanSpy/index.js",
30820 "groupTitle": "Voice_ChanSpy"
30824 "url": "/api/voice/chanspy",
30825 "title": "Gets a list of ChanSpy",
30828 "title": "Example usage:",
30829 "content": "curl https://{domain}/api/voice/chanspy -v -u {name}:{password}",
30833 "name": "GetChanSpy",
30834 "group": "Voice_ChanSpy",
30835 "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&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>",
30836 "version": "0.0.0",
30837 "filename": "server/api/voiceChanSpy/index.js",
30838 "groupTitle": "Voice_ChanSpy"
30842 "url": "/api/voice/chanspy/{id}",
30843 "title": "Gets a single ChanSpy",
30846 "title": "Example usage:",
30847 "content": "curl https://{domain}/api/voice/chanspy/{id} -v -u {name}:{password}",
30851 "name": "ShowChanSpy",
30852 "group": "Voice_ChanSpy",
30853 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30854 "version": "0.0.0",
30855 "filename": "server/api/voiceChanSpy/index.js",
30856 "groupTitle": "Voice_ChanSpy"
30860 "url": "/api/voice/chanspy/{id}",
30861 "title": "Update an existing ChanSpy",
30864 "title": "Example usage:",
30865 "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",
30869 "name": "updateChanSpy",
30870 "group": "Voice_ChanSpy",
30871 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30872 "version": "0.0.0",
30873 "filename": "server/api/voiceChanSpy/index.js",
30874 "groupTitle": "Voice_ChanSpy"
30878 "url": "/api/voice/contexts",
30879 "title": "Create a new context",
30882 "title": "Example usage:",
30883 "content": "curl https://{domain}/api/voice/contexts -v -u {name}:{password} -X POST",
30888 "group": "Voice_Contexts",
30903 "field": "description",
30910 "field": "defaultEntry",
30916 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30917 "version": "0.0.0",
30918 "filename": "server/api/voiceContext/index.js",
30919 "groupTitle": "Voice_Contexts"
30923 "url": "/api/voice/contexts/{id}",
30924 "title": "Deletes a context",
30927 "title": "Example usage:",
30928 "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password} -X DELETE",
30933 "group": "Voice_Contexts",
30934 "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>",
30935 "version": "0.0.0",
30936 "filename": "server/api/voiceContext/index.js",
30937 "groupTitle": "Voice_Contexts"
30941 "url": "/api/voice/contexts",
30942 "title": "Gets a list of Contexts",
30945 "title": "Example usage:",
30946 "content": "curl https://{domain}/api/voice/contexts -v -u {name}:{password}",
30950 "name": "GetContexts",
30951 "group": "Voice_Contexts",
30952 "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&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>",
30953 "version": "0.0.0",
30954 "filename": "server/api/voiceContext/index.js",
30955 "groupTitle": "Voice_Contexts"
30959 "url": "/api/voice/contexts/{id}",
30960 "title": "Gets a single Context",
30963 "title": "Example usage:",
30964 "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password}",
30968 "name": "ShowContexts",
30969 "group": "Voice_Contexts",
30970 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30971 "version": "0.0.0",
30972 "filename": "server/api/voiceContext/index.js",
30973 "groupTitle": "Voice_Contexts"
30977 "url": "/api/voice/contexts/{id}",
30978 "title": "Update an existing context",
30981 "title": "Example usage:",
30982 "content": "curl https://{domain}/api/voice/contexts/{id} -v -u {name}:{password} -X PUT",
30987 "group": "Voice_Contexts",
30988 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
30989 "version": "0.0.0",
30990 "filename": "server/api/voiceContext/index.js",
30991 "groupTitle": "Voice_Contexts"
30995 "url": "/api/voice/dials/reports/describe",
30996 "title": "Gets table info about Dial Reports",
30999 "title": "Example usage:",
31000 "content": "curl https://{domain}/api/voice/dials/reports/describe -v -u {name}:{password}",
31004 "name": "DescribeDial_Reports",
31005 "group": "Voice_Dial_Reports",
31006 "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>",
31007 "version": "0.0.0",
31008 "filename": "server/api/voiceDialReport/index.js",
31009 "groupTitle": "Voice_Dial_Reports"
31013 "url": "/api/voice/dials/reports",
31014 "title": "Gets a list of Dial Reports",
31017 "title": "Example usage:",
31018 "content": "curl https://{domain}/api/voice/dials/reports -v -u {name}:{password}",
31022 "name": "GetDial_Reports",
31023 "group": "Voice_Dial_Reports",
31024 "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&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>",
31025 "version": "0.0.0",
31026 "filename": "server/api/voiceDialReport/index.js",
31027 "groupTitle": "Voice_Dial_Reports"
31031 "url": "/api/voice/dials/reports/{id}",
31032 "title": "Gets a single Dial Report",
31035 "title": "Example usage:",
31036 "content": "curl https://{domain}/api/voice/dials/reports/{id} -v -u {name}:{password}",
31040 "name": "ShowDial_Reports",
31041 "group": "Voice_Dial_Reports",
31042 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31043 "version": "0.0.0",
31044 "filename": "server/api/voiceDialReport/index.js",
31045 "groupTitle": "Voice_Dial_Reports"
31049 "url": "/api/voice/extensions/{id}",
31050 "title": "Deletes a Extension",
31053 "title": "Example usage:",
31054 "content": "curl https://{domain}/api/voice/extensions/{id} -v -u {name}:{password} -X DELETE",
31058 "name": "DeleteExtensions",
31059 "group": "Voice_Extensions",
31060 "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>",
31061 "version": "0.0.0",
31062 "filename": "server/api/voiceExtension/index.js",
31063 "groupTitle": "Voice_Extensions"
31067 "url": "/api/voice/extensions",
31068 "title": "Gets a list of Extensions",
31071 "title": "Example usage:",
31072 "content": "curl https://{domain}/api/voice/extensions -v -u {name}:{password}",
31076 "name": "GetExtensions",
31077 "group": "Voice_Extensions",
31078 "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&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>",
31079 "version": "0.0.0",
31080 "filename": "server/api/voiceExtension/index.js",
31081 "groupTitle": "Voice_Extensions"
31085 "url": "/api/voice/extensions/{id}",
31086 "title": "Gets a single Extension",
31089 "title": "Example usage:",
31090 "content": "curl https://{domain}/api/voice/extensions/{id} -v -u {name}:{password}",
31094 "name": "ShowExtensions",
31095 "group": "Voice_Extensions",
31096 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31097 "version": "0.0.0",
31098 "filename": "server/api/voiceExtension/index.js",
31099 "groupTitle": "Voice_Extensions"
31103 "url": "/api/voice/extensions",
31104 "title": "Create new applications",
31107 "title": "Example usage:",
31108 "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",
31112 "name": "addApplications",
31113 "group": "Voice_Extensions",
31114 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31115 "version": "0.0.0",
31116 "filename": "server/api/voiceExtension/index.js",
31117 "groupTitle": "Voice_Extensions"
31121 "url": "/api/voice/extensions",
31122 "title": "Create an extension",
31125 "title": "Example usage:",
31126 "content": "curl https://{domain}/api/voice/extensions -d '{\"exten\": \"12345\", \"context\": \"from-custom\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31131 "group": "Voice_Extensions",
31132 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31133 "version": "0.0.0",
31134 "filename": "server/api/voiceExtension/index.js",
31135 "groupTitle": "Voice_Extensions"
31139 "url": "/api/voice/extensions/{id}",
31140 "title": "Update an extension",
31143 "title": "Example usage:",
31144 "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",
31149 "group": "Voice_Extensions",
31150 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31151 "version": "0.0.0",
31152 "filename": "server/api/voiceExtension/index.js",
31153 "groupTitle": "Voice_Extensions"
31157 "url": "/api/voice/mohs",
31158 "title": "Create a new a new MOH",
31161 "title": "Example usage:",
31162 "content": "curl https://{domain}/api/voice/mohs -d '{\"name\": \"xmas_musics\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31167 "group": "Voice_MOHs",
31168 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31169 "version": "0.0.0",
31170 "filename": "server/api/voiceMusicOnHold/index.js",
31171 "groupTitle": "Voice_MOHs"
31175 "url": "/api/voice/mohs/{id}/sounds",
31176 "title": "Add sound to MOH",
31179 "title": "Example usage:",
31180 "content": "curl https://{domain}/api/voice/mohs/{id}/sounds -d '{\"id\": 1}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
31184 "name": "AddSound",
31185 "group": "Voice_MOHs",
31186 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31187 "version": "0.0.0",
31188 "filename": "server/api/voiceMusicOnHold/index.js",
31189 "groupTitle": "Voice_MOHs"
31193 "url": "/api/voice/mohs/{id}",
31194 "title": "Deletes an MOH",
31197 "title": "Example usage:",
31198 "content": "curl https://{domain}/api/voice/mohs/{id} -v -u {name}:{password} -X DELETE",
31202 "name": "DestroyMoh",
31203 "group": "Voice_MOHs",
31204 "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>",
31205 "version": "0.0.0",
31206 "filename": "server/api/voiceMusicOnHold/index.js",
31207 "groupTitle": "Voice_MOHs"
31211 "url": "/api/voice/mohs",
31212 "title": "Gets a list of Music On Holds",
31215 "title": "Example usage:",
31216 "content": "curl https://{domain}/api/voice/mohs -v -u {name}:{password}",
31220 "name": "GetMusic_On_Holds",
31221 "group": "Voice_MOHs",
31222 "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&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>",
31223 "version": "0.0.0",
31224 "filename": "server/api/voiceMusicOnHold/index.js",
31225 "groupTitle": "Voice_MOHs"
31229 "url": "/api/voice/mohs/{id}/sounds",
31230 "title": "Gets sounds from MOH",
31233 "title": "Example usage:",
31234 "content": "curl https://{domain}/api/voice/mohs/{id}/sounds -v -u {name}:{password} -X DELETE",
31238 "name": "GetSounds",
31239 "group": "Voice_MOHs",
31240 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31241 "version": "0.0.0",
31242 "filename": "server/api/voiceMusicOnHold/index.js",
31243 "groupTitle": "Voice_MOHs"
31247 "url": "/api/voice/mohs/{id}/sounds/{id2}",
31248 "title": "Remove sound from MOH",
31251 "title": "Example usage:",
31252 "content": "curl https://{domain}/api/voice/mohs/{id}/sounds/{id2} -v -u {name}:{password} -X DELETE",
31256 "name": "RemoveSound",
31257 "group": "Voice_MOHs",
31258 "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>",
31259 "version": "0.0.0",
31260 "filename": "server/api/voiceMusicOnHold/index.js",
31261 "groupTitle": "Voice_MOHs"
31265 "url": "/api/voice/mohs/{id}",
31266 "title": "Gets a single Music On Hold",
31269 "title": "Example usage:",
31270 "content": "curl https://{domain}/api/voice/mohs/{id} -v -u {name}:{password}",
31274 "name": "ShowMusic_On_Holds",
31275 "group": "Voice_MOHs",
31276 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31277 "version": "0.0.0",
31278 "filename": "server/api/voiceMusicOnHold/index.js",
31279 "groupTitle": "Voice_MOHs"
31283 "url": "/api/voice/mohs/{id}",
31284 "title": "Update an existing Music On Hold",
31287 "title": "Example usage:",
31288 "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",
31292 "name": "updateMusic_On_Holds",
31293 "group": "Voice_MOHs",
31294 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31295 "version": "0.0.0",
31296 "filename": "server/api/voiceMusicOnHold/index.js",
31297 "groupTitle": "Voice_MOHs"
31301 "url": "/api/voice/mails",
31302 "title": "Creates a new Mail",
31305 "title": "Example usage:",
31306 "content": "curl https://{domain}/api/voice/mails -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
31310 "name": "CreateMails",
31311 "group": "Voice_Mails",
31319 "field": "customer_id",
31326 "field": "context",
31333 "field": "mailbox",
31340 "field": "password",
31347 "field": "fullname",
31397 "field": "dialout",
31404 "field": "callback",
31426 "field": "operator",
31437 "field": "envelope",
31448 "field": "sayduration",
31455 "field": "saydurationm",
31466 "field": "sendvoicemail",
31488 "field": "nextaftercmd",
31499 "field": "forcename",
31510 "field": "forcegreetings",
31521 "field": "hidefromdir",
31535 "field": "emailsubject",
31542 "field": "emailbody",
31549 "field": "maxsecs",
31569 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31570 "version": "0.0.0",
31571 "filename": "server/api/voiceMail/index.js",
31572 "groupTitle": "Voice_Mails"
31576 "url": "/api/voice/mails/{id}",
31577 "title": "Deletes a Mail",
31580 "title": "Example usage:",
31581 "content": "curl https://{domain}/api/voice/mails/{id} -v -u {name}:{password} -X DELETE",
31585 "name": "DeleteMails",
31586 "group": "Voice_Mails",
31587 "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>",
31588 "version": "0.0.0",
31589 "filename": "server/api/voiceMail/index.js",
31590 "groupTitle": "Voice_Mails"
31594 "url": "/api/voice/mails",
31595 "title": "Gets a list of Mails",
31598 "title": "Example usage:",
31599 "content": "curl https://{domain}/api/voice/mails -v -u {name}:{password}",
31603 "name": "GetMails",
31604 "group": "Voice_Mails",
31605 "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&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>",
31606 "version": "0.0.0",
31607 "filename": "server/api/voiceMail/index.js",
31608 "groupTitle": "Voice_Mails"
31612 "url": "/api/voice/mails/{id}",
31613 "title": "Gets a single Mail",
31616 "title": "Example usage:",
31617 "content": "curl https://{domain}/api/voice/mails/{id} -v -u {name}:{password}",
31621 "name": "ShowMails",
31622 "group": "Voice_Mails",
31623 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31624 "version": "0.0.0",
31625 "filename": "server/api/voiceMail/index.js",
31626 "groupTitle": "Voice_Mails"
31630 "url": "/api/voice/mails/{id}/messages",
31631 "title": "Gets voice mail messages",
31634 "title": "Example usage:",
31635 "content": "curl https://{domain}/api/voice/mails/{id}/messages -v -u {name}:{password} -X GET",
31639 "name": "getMessages",
31640 "group": "Voice_Mails",
31641 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31642 "version": "0.0.0",
31643 "filename": "server/api/voiceMail/index.js",
31644 "groupTitle": "Voice_Mails"
31648 "url": "/api/voice/mails/{id}",
31649 "title": "Update an existing Mail",
31652 "title": "Example usage:",
31653 "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",
31657 "name": "updateMails",
31658 "group": "Voice_Mails",
31659 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31660 "version": "0.0.0",
31661 "filename": "server/api/voiceMail/index.js",
31662 "groupTitle": "Voice_Mails"
31666 "url": "/api/voice/mails/messages",
31667 "title": "Creates a new Message",
31670 "title": "Example usage:",
31671 "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",
31675 "name": "CreateMessages",
31676 "group": "Voice_Messages",
31705 "field": "context",
31712 "field": "macrocontext",
31719 "field": "callerid",
31726 "field": "origtime",
31733 "field": "duration",
31740 "field": "mailboxuser",
31747 "field": "mailboxcontext",
31754 "field": "recording",
31781 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31782 "version": "0.0.0",
31783 "filename": "server/api/voiceMailMessage/index.js",
31784 "groupTitle": "Voice_Messages"
31788 "url": "/api/voice/mails/messages/{id}",
31789 "title": "Deletes a Message",
31792 "title": "Example usage:",
31793 "content": "curl https://{domain}/api/voice/mails/messages/{id} -v -u {name}:{password} -X DELETE",
31797 "name": "DeleteMessages",
31798 "group": "Voice_Messages",
31799 "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>",
31800 "version": "0.0.0",
31801 "filename": "server/api/voiceMailMessage/index.js",
31802 "groupTitle": "Voice_Messages"
31806 "url": "/api/voice/mails/messages",
31807 "title": "Gets a list of Messages",
31810 "title": "Example usage:",
31811 "content": "curl https://{domain}/api/voice/mails/messages -v -u {name}:{password}",
31815 "name": "GetMessages",
31816 "group": "Voice_Messages",
31817 "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&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>",
31818 "version": "0.0.0",
31819 "filename": "server/api/voiceMailMessage/index.js",
31820 "groupTitle": "Voice_Messages"
31824 "url": "/api/voice/mails/messages/{id}",
31825 "title": "Gets a single Message",
31828 "title": "Example usage:",
31829 "content": "curl https://{domain}/api/voice/mails/messages/{id} -v -u {name}:{password}",
31833 "name": "ShowMessages",
31834 "group": "Voice_Messages",
31835 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31836 "version": "0.0.0",
31837 "filename": "server/api/voiceMailMessage/index.js",
31838 "groupTitle": "Voice_Messages"
31842 "url": "voice/mails/messages/{id}/download",
31843 "title": "Download Voice Message",
31846 "title": "Example usage:",
31847 "content": "curl https://{domain}voice/mails/messages/{id}/download -v -u {name}:{password} -X GET",
31851 "name": "download",
31852 "group": "Voice_Messages",
31853 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31854 "version": "0.0.0",
31855 "filename": "server/api/voiceMailMessage/index.js",
31856 "groupTitle": "Voice_Messages"
31860 "url": "/api/voice/mails/messages/{id}",
31861 "title": "Update an existing Message",
31864 "title": "Example usage:",
31865 "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",
31869 "name": "updateMessages",
31870 "group": "Voice_Messages",
31871 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31872 "version": "0.0.0",
31873 "filename": "server/api/voiceMailMessage/index.js",
31874 "groupTitle": "Voice_Messages"
31878 "url": "/api/voice/prefixes/{id}/users",
31879 "title": "Add agents to a prefix",
31882 "title": "Example usage:",
31883 "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",
31887 "name": "AddAgents",
31888 "group": "Voice_Prefixes",
31889 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31890 "version": "0.0.0",
31891 "filename": "server/api/voicePrefix/index.js",
31892 "groupTitle": "Voice_Prefixes"
31896 "url": "/api/voice/prefixes/{id}",
31897 "title": "Deletes a Prefix",
31900 "title": "Example usage:",
31901 "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password} -X DELETE",
31905 "name": "DeletePrefixes",
31906 "group": "Voice_Prefixes",
31907 "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>",
31908 "version": "0.0.0",
31909 "filename": "server/api/voicePrefix/index.js",
31910 "groupTitle": "Voice_Prefixes"
31914 "url": "/api/voice/prefixes/describe",
31915 "title": "Gets table info about Prefixes",
31918 "title": "Example usage:",
31919 "content": "curl https://{domain}/api/voice/prefixes/describe -v -u {name}:{password}",
31923 "name": "DescribePrefixes",
31924 "group": "Voice_Prefixes",
31925 "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>",
31926 "version": "0.0.0",
31927 "filename": "server/api/voicePrefix/index.js",
31928 "groupTitle": "Voice_Prefixes"
31932 "url": "/api/voice/prefixes/{id}/users",
31933 "title": "Gets agents from prefix",
31936 "title": "Example usage:",
31937 "content": "curl https://{domain}/api/voice/prefixes/{id}/users -v -u {name}:{password} -X GET",
31941 "name": "GetAgents",
31942 "group": "Voice_Prefixes",
31943 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31944 "version": "0.0.0",
31945 "filename": "server/api/voicePrefix/index.js",
31946 "groupTitle": "Voice_Prefixes"
31950 "url": "/api/voice/prefixes",
31951 "title": "Gets a list of Prefixes",
31954 "title": "Example usage:",
31955 "content": "curl https://{domain}/api/voice/prefixes -v -u {name}:{password}",
31959 "name": "GetPrefixes",
31960 "group": "Voice_Prefixes",
31961 "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&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>",
31962 "version": "0.0.0",
31963 "filename": "server/api/voicePrefix/index.js",
31964 "groupTitle": "Voice_Prefixes"
31968 "url": "/api/voice/prefixes/{id}/users",
31969 "title": "Removes agents from a prefix",
31972 "title": "Example usage:",
31973 "content": "curl https://{domain}/api/voice/prefixes/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
31977 "name": "RemoveAgents",
31978 "group": "Voice_Prefixes",
31979 "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>",
31980 "version": "0.0.0",
31981 "filename": "server/api/voicePrefix/index.js",
31982 "groupTitle": "Voice_Prefixes"
31986 "url": "/api/voice/prefixes/{id}",
31987 "title": "Gets a single Prefix",
31990 "title": "Example usage:",
31991 "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password}",
31995 "name": "ShowPrefixes",
31996 "group": "Voice_Prefixes",
31997 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
31998 "version": "0.0.0",
31999 "filename": "server/api/voicePrefix/index.js",
32000 "groupTitle": "Voice_Prefixes"
32004 "url": "/api/voice/prefixes/{id}",
32005 "title": "Update an existing prefix",
32008 "title": "Example usage:",
32009 "content": "curl https://{domain}/api/voice/prefixes/{id} -v -u {name}:{password} -X PUT",
32014 "group": "Voice_Prefixes",
32015 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32016 "version": "0.0.0",
32017 "filename": "server/api/voicePrefix/index.js",
32018 "groupTitle": "Voice_Prefixes"
32022 "url": "/api/voice/prefixes",
32023 "title": "Create a prefix",
32026 "title": "Example usage:",
32027 "content": "curl https://{domain}/api/voice/prefixes -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
32032 "group": "Voice_Prefixes",
32033 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32034 "version": "0.0.0",
32035 "filename": "server/api/voicePrefix/index.js",
32036 "groupTitle": "Voice_Prefixes"
32040 "url": "/api/voice/queues/reports/describe",
32041 "title": "Gets table info about Queue Reports",
32044 "title": "Example usage:",
32045 "content": "curl https://{domain}/api/voice/queues/reports/describe -v -u {name}:{password}",
32049 "name": "DescribeQueue_Reports",
32050 "group": "Voice_Queue_Reports",
32051 "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>",
32052 "version": "0.0.0",
32053 "filename": "server/api/voiceQueueReport/index.js",
32054 "groupTitle": "Voice_Queue_Reports"
32058 "url": "/api/voice/queues/reports",
32059 "title": "Gets a list of Queue Reports",
32062 "title": "Example usage:",
32063 "content": "curl https://{domain}/api/voice/queues/reports -v -u {name}:{password}",
32067 "name": "GetQueue_Reports",
32068 "group": "Voice_Queue_Reports",
32069 "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&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>",
32070 "version": "0.0.0",
32071 "filename": "server/api/voiceQueueReport/index.js",
32072 "groupTitle": "Voice_Queue_Reports"
32076 "url": "/api/voice/queues/reports/{id}",
32077 "title": "Gets a single Queue Report",
32080 "title": "Example usage:",
32081 "content": "curl https://{domain}/api/voice/queues/reports/{id} -v -u {name}:{password}",
32085 "name": "ShowQueue_Reports",
32086 "group": "Voice_Queue_Reports",
32087 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32088 "version": "0.0.0",
32089 "filename": "server/api/voiceQueueReport/index.js",
32090 "groupTitle": "Voice_Queue_Reports"
32094 "url": "/api/voice/queues/reports/index",
32095 "title": "Get Voice Queues Report",
32098 "title": "Example usage:",
32099 "content": "curl https://{domain}/api/voice/queues/reports/index -v -u {name}:{password} -X GET",
32103 "name": "getVoiceQueuesReport",
32104 "group": "Voice_Queue_Reports",
32105 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32106 "version": "0.0.0",
32107 "filename": "server/api/voiceQueueReport/index.js",
32108 "groupTitle": "Voice_Queue_Reports"
32112 "url": "/api/voice/queues/{id}/users",
32113 "title": "Add agents to queue",
32116 "title": "Example usage:",
32117 "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",
32121 "name": "AddAgents",
32122 "group": "Voice_Queues",
32123 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32124 "version": "0.0.0",
32125 "filename": "server/api/voiceQueue/index.js",
32126 "groupTitle": "Voice_Queues"
32130 "url": "/api/voice/queues/{id}/blacklists",
32131 "title": "Add blacklists to a queue",
32134 "title": "Example usage:",
32135 "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",
32139 "name": "AddBlackLists",
32140 "group": "Voice_Queues",
32141 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32142 "version": "0.0.0",
32143 "filename": "server/api/voiceQueue/index.js",
32144 "groupTitle": "Voice_Queues"
32148 "url": "/api/voice/queues/{id}/lists",
32149 "title": "Add lists to a queue",
32152 "title": "Example usage:",
32153 "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",
32157 "name": "AddLists",
32158 "group": "Voice_Queues",
32159 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32160 "version": "0.0.0",
32161 "filename": "server/api/voiceQueue/index.js",
32162 "groupTitle": "Voice_Queues"
32166 "url": "/api/voice/queues/{id}/teams",
32167 "title": "Add teams to queue",
32170 "title": "Example usage:",
32171 "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",
32175 "name": "AddTeams",
32176 "group": "Voice_Queues",
32177 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32178 "version": "0.0.0",
32179 "filename": "server/api/voiceQueue/index.js",
32180 "groupTitle": "Voice_Queues"
32184 "url": "/api/voice/queues/clone",
32185 "title": "Clone an existing Queue",
32188 "title": "Example usage:",
32189 "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",
32193 "name": "CloneQueues",
32194 "group": "Voice_Queues",
32195 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
32196 "version": "0.0.0",
32197 "filename": "server/api/voiceQueue/index.js",
32198 "groupTitle": "Voice_Queues"
32202 "url": "/api/voice/queues",
32203 "title": "Creates a new Queue",
32206 "title": "Example usage:",
32207 "content": "curl https://{domain}/api/voice/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
32211 "name": "CreateQueues",
32212 "group": "Voice_Queues",
32238 "field": "musiconhold",
32245 "field": "announce",
32263 "field": "strategy",
32270 "field": "servicelevel",
32277 "field": "context",
32284 "field": "penaltymemberslimit",
32291 "field": "timeout",
32305 "field": "timeoutpriority",
32319 "field": "wrapuptime",
32330 "field": "autofill",
32342 "field": "autopause",
32349 "field": "autopausedelay",
32360 "field": "autopausebusy",
32371 "field": "autopauseunavail",
32389 "field": "setinterfacevar",
32400 "field": "setqueueentryvar",
32411 "field": "setqueuevar",
32422 "field": "eventmemberstatus",
32429 "field": "membermacro",
32436 "field": "membergosub",
32443 "field": "announce_frequency",
32450 "field": "min_announce_frequency",
32457 "field": "periodic_announce_frequency",
32468 "field": "random_periodic_announce",
32479 "field": "relative_periodic_announce",
32491 "field": "announce_holdtime",
32498 "field": "announce_position",
32509 "field": "announce_to_first_user",
32516 "field": "announce_position_limit",
32531 "field": "announce_round_seconds",
32538 "field": "monitor_format",
32545 "field": "monitor_type",
32552 "field": "queue_youarenext",
32559 "field": "queue_thereare",
32566 "field": "queue_callswaiting",
32573 "field": "queue_holdtime",
32580 "field": "queue_minute",
32587 "field": "queue_minutes",
32594 "field": "queue_seconds",
32601 "field": "queue_thankyou",
32608 "field": "queue_reporthold",
32615 "field": "queue_quantity1",
32622 "field": "queue_quantity2",
32629 "field": "queue_periodic_announce",
32636 "field": "queue_less_than",
32643 "field": "periodic_announce",
32650 "field": "joinempty",
32657 "field": "leavewhenempty",
32668 "field": "reportholdtime",
32679 "field": "ringinuse",
32686 "field": "memberdelay",
32697 "field": "timeoutrestart",
32704 "field": "defaultrule",
32711 "field": "description",
32725 "field": "acwTimeout",
32732 "field": "dialActive",
32733 "description": "<p>Active/Disactive Campaign</p>"
32746 "field": "dialMethod",
32747 "description": "<p>Dial Method.</p>"
32753 "field": "dialLimitChannel",
32754 "description": "<p>Max 9999 channels, 0 means unlimited.</p>"
32760 "field": "dialLimitQueue",
32761 "description": "<p>Max 9999 member in queue(min:1, max:9999), 0 means unlimited.</p>"
32767 "field": "dialPowerLevel",
32768 "description": "<p>Power Level: Calls for agents (min:1, max:10).</p>"
32774 "\"agentBusyFactor\"",
32778 "field": "dialPredictiveOptimization",
32779 "description": "<p>Only for predictive method.</p>"
32785 "field": "dialPredictiveOptimizationPercentage",
32786 "description": "<p>Predictive Optimization Percentage (min: 1, max: 95)</p>"
32792 "field": "dialPredictiveInterval",
32793 "description": "<p>Interval Predictive Minutes (min:5 max:30)</p>"
32799 "field": "dialOriginateCallerIdName",
32806 "field": "dialOriginateCallerIdNumber",
32813 "field": "dialOriginateTimeout",
32814 "description": "<p>Originate Timeout Seconds (min:1, max:999)</p>"
32820 "field": "dialQueueOptions",
32821 "description": "<p>https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Queue</p>"
32827 "field": "dialQueueTimeout",
32828 "description": "<p>Queue Timeout Seconds (min:1, max:999)</p>"
32834 "field": "dialQueueProject",
32835 "description": "<p>AGI queue option (use: agi://127.0.0.1/square,<project_name>)</p>"
32841 "field": "dialCongestionMaxRetry",
32842 "description": "<p>#Congestion Retry (min:1, max:999)</p>"
32848 "field": "dialCongestionRetryFrequency",
32849 "description": "<p>Congestion Retry Frequency Minutes (min:1, max:99999)</p>"
32855 "field": "dialBusyMaxRetry",
32856 "description": "<p>#Busy Retry (min:1, max:999)</p>"
32862 "field": "dialBusyRetryFrequency",
32863 "description": "<p>Busy Retry Frequency Minutes (min:1, max:99999)</p>"
32869 "field": "dialNoAnswerMaxRetry",
32870 "description": "<p>#NoAnswer Retry (min:1, max:999)</p>"
32876 "field": "dialNoAnswerRetryFrequency",
32877 "description": "<p>NoAnswer Retry Frequency Minutes (min:1, max:99999)</p>"
32883 "field": "dialGlobalMaxRetry",
32884 "description": "<p>#Global Max Retry (min:1, max:999)</p>"
32890 "field": "dialTimezone",
32897 "field": "dialGlobalInterval",
32904 "field": "dialPrefix",
32916 "field": "dialCheckDuplicateType",
32923 "field": "dialAMDActive",
32924 "description": "<p>Active/Disactive AMD</p>"
32930 "field": "dialAMDInitialSilence",
32931 "description": "<p>#AMD Initial Silence</p>"
32937 "field": "dialAMDGreeting",
32938 "description": "<p>#AMD Greeting</p>"
32944 "field": "dialAMDAfterGreetingSilence",
32945 "description": "<p>#AMD After Greeting Silence</p>"
32951 "field": "dialAMDTotalAnalysisTime",
32952 "description": "<p>#AMD Total Analysis Time</p>"
32958 "field": "dialAMDMinWordLength",
32959 "description": "<p>#AMD Min Word Length</p>"
32965 "field": "dialAMDBetweenWordsSilence",
32966 "description": "<p>#AMD Between Words Silence</p>"
32972 "field": "dialAMDMaximumNumberOfWords",
32973 "description": "<p>#AMD Maximum Number Of Words</p>"
32979 "field": "dialAMDSilenceThreshold",
32980 "description": "<p>#AMD Silence Threshold (min:0, max:32767)</p>"
32986 "field": "dialAMDMaximumWordLength",
32987 "description": "<p>#AMD Maximum Word Length</p>"
32993 "field": "dialRecallMeTimeout",
32994 "description": "<p>#RecallMe Timeout (min:1)</p>"
33000 "field": "dialRecallInQueue",
33001 "description": "<p>Active/Disactive Recall In Queue</p>"
33011 "field": "dialOrderByScheduledAt",
33018 "field": "dialQueueProject2",
33019 "description": "<p>AGI queue option (use: agi://127.0.0.1/square,<project_name>)</p>"
33025 "field": "dialAgiAfterHangupClient",
33032 "field": "dialAgiAfterHangupAgent",
33039 "field": "dialRandomLastDigitCallerIdNumber",
33040 "description": "<p>Random Last Digit (min:1, max:15)</p>"
33046 "field": "dialCutDigit",
33047 "description": "<p>Cut Digit (min:1, max:15)</p>"
33053 "field": "dialNoSuchNumberMaxRetry",
33054 "description": "<p>#NoSuchNumber Retry (min:1, max:999)</p>"
33060 "field": "dialNoSuchNumberRetryFrequency",
33061 "description": "<p>NoSuchNumber Retry Frequency Minutes (min:1, max:99999)</p>"
33067 "field": "dialDropMaxRetry",
33068 "description": "<p>#Drop Retry (min:1, max:999)</p>"
33074 "field": "dialDropRetryFrequency",
33075 "description": "<p>Drop Retry Frequency Minutes (min:1, max:99999)</p>"
33081 "field": "dialAbandonedMaxRetry",
33082 "description": "<p>#Abandoned Retry (min:1, max:999)</p>"
33088 "field": "dialAbandonedRetryFrequency",
33089 "description": "<p>Abandoned Retry Frequency Minutes (min:1, max:99999)</p>"
33095 "field": "dialMachineMaxRetry",
33096 "description": "<p>#Machine Retry (min:1, max:999)</p>"
33102 "field": "dialMachineRetryFrequency",
33103 "description": "<p>Machine Retry Frequency Minutes (min:1, max:99999)</p>"
33109 "field": "dialAgentRejectMaxRetry",
33110 "description": "<p>#AgentReject Retry (min:1, max:999)</p>"
33116 "field": "dialAgentRejectRetryFrequency",
33117 "description": "<p>AgentReject Retry Frequency Minutes (min:1, max:99999)</p>"
33123 "field": "callAdditionalPhoneAfterMin",
33124 "description": "<p>Minutes to wait to call next additional phone number</p>"
33130 "field": "mandatoryDispositionPauseId",
33131 "description": "<p>Status to put when mandatory disposition is enabled</p>"
33137 "field": "mandatoryDisposition",
33138 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
33144 "field": "dialPredictiveIntervalMaxThreshold",
33151 "field": "dialPredictiveIntervalMinThreshold",
33157 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33158 "version": "0.0.0",
33159 "filename": "server/api/voiceQueue/index.js",
33160 "groupTitle": "Voice_Queues"
33164 "url": "/api/voice/queues/{id}",
33165 "title": "Deletes a Queue",
33168 "title": "Example usage:",
33169 "content": "curl https://{domain}/api/voice/queues/{id} -v -u {name}:{password} -X DELETE",
33173 "name": "DeleteQueues",
33174 "group": "Voice_Queues",
33175 "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>",
33176 "version": "0.0.0",
33177 "filename": "server/api/voiceQueue/index.js",
33178 "groupTitle": "Voice_Queues"
33182 "url": "/api/voice/queues/{id}/users",
33183 "title": "Gets queue agents",
33186 "title": "Example usage:",
33187 "content": "curl https://{domain}/api/voice/queues/{id}/users -v -u {name}:{password} -X GET",
33191 "name": "GetAgents",
33192 "group": "Voice_Queues",
33193 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33194 "version": "0.0.0",
33195 "filename": "server/api/voiceQueue/index.js",
33196 "groupTitle": "Voice_Queues"
33200 "url": "/api/voice/queues/{id}/blacklists",
33201 "title": "Get queue blacklists",
33204 "title": "Example usage:",
33205 "content": "curl https://{domain}/api/voice/queues/{id}/blacklists -v -u {name}:{password} -X GET",
33209 "name": "GetBlackLists",
33210 "group": "Voice_Queues",
33211 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33212 "version": "0.0.0",
33213 "filename": "server/api/voiceQueue/index.js",
33214 "groupTitle": "Voice_Queues"
33218 "url": "/api/voice/queues/{id}/finals",
33219 "title": "Gets queue hopper finals",
33222 "title": "Example usage:",
33223 "content": "curl https://{domain}/api/voice/queues/{id}/hopper_finals -v -u {name}:{password} -X GET",
33227 "name": "GetHopperFinals",
33228 "group": "Voice_Queues",
33229 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33230 "version": "0.0.0",
33231 "filename": "server/api/voiceQueue/index.js",
33232 "groupTitle": "Voice_Queues"
33236 "url": "/api/voice/queues/{id}/hopper_histories",
33237 "title": "Gets queue hopper histories",
33240 "title": "Example usage:",
33241 "content": "curl https://{domain}/api/voice/queues/{id}/hopper_histories -v -u {name}:{password} -X GET",
33245 "name": "GetHopperHistories",
33246 "group": "Voice_Queues",
33247 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33248 "version": "0.0.0",
33249 "filename": "server/api/voiceQueue/index.js",
33250 "groupTitle": "Voice_Queues"
33254 "url": "/api/voice/queues/{id}/hoppers",
33255 "title": "Gets queue hoppers",
33258 "title": "Example usage:",
33259 "content": "curl https://{domain}/api/voice/queues/{id}/hoppers -v -u {name}:{password} -X GET",
33263 "name": "GetHoppers",
33264 "group": "Voice_Queues",
33265 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33266 "version": "0.0.0",
33267 "filename": "server/api/voiceQueue/index.js",
33268 "groupTitle": "Voice_Queues"
33272 "url": "/api/voice/queues/{id}/lists",
33273 "title": "Get queue lists",
33276 "title": "Example usage:",
33277 "content": "curl https://{domain}/api/voice/queues/{id}/lists -v -u {name}:{password} -X GET",
33281 "name": "GetLists",
33282 "group": "Voice_Queues",
33283 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33284 "version": "0.0.0",
33285 "filename": "server/api/voiceQueue/index.js",
33286 "groupTitle": "Voice_Queues"
33290 "url": "/api/voice/queues/{id}/members",
33291 "title": "Gets queue members",
33294 "title": "Example usage:",
33295 "content": "curl https://{domain}/api/voice/queues/{id}/members -v -u {name}:{password} -X GET",
33299 "name": "GetMembers",
33300 "group": "Voice_Queues",
33301 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33302 "version": "0.0.0",
33303 "filename": "server/api/voiceQueue/index.js",
33304 "groupTitle": "Voice_Queues"
33308 "url": "/api/voice/queues",
33309 "title": "Gets a list of Queues",
33312 "title": "Example usage:",
33313 "content": "curl https://{domain}/api/voice/queues -v -u {name}:{password}",
33317 "name": "GetQueues",
33318 "group": "Voice_Queues",
33319 "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&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>",
33320 "version": "0.0.0",
33321 "filename": "server/api/voiceQueue/index.js",
33322 "groupTitle": "Voice_Queues"
33326 "url": "/api/voice/queues/{id}/teams",
33327 "title": "Gets queue team",
33330 "title": "Example usage:",
33331 "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X GET",
33335 "name": "GetTeams",
33336 "group": "Voice_Queues",
33337 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33338 "version": "0.0.0",
33339 "filename": "server/api/voiceQueue/index.js",
33340 "groupTitle": "Voice_Queues"
33344 "url": "/api/voice/queues/{id}/users",
33345 "title": "Removes agents from a queue",
33348 "title": "Example usage:",
33349 "content": "curl https://{domain}/api/voice/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
33353 "name": "RemoveAgents",
33354 "group": "Voice_Queues",
33355 "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>",
33356 "version": "0.0.0",
33357 "filename": "server/api/voiceQueue/index.js",
33358 "groupTitle": "Voice_Queues"
33362 "url": "/api/voice/queues/{id}/blacklists",
33363 "title": "Remove blacklists from a queue",
33366 "title": "Example usage:",
33367 "content": "curl https://{domain}/api/voice/queues/{id}/blacklists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
33371 "name": "RemoveBlackLists",
33372 "group": "Voice_Queues",
33373 "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>",
33374 "version": "0.0.0",
33375 "filename": "server/api/voiceQueue/index.js",
33376 "groupTitle": "Voice_Queues"
33380 "url": "/api/voice/queues/{id}/lists",
33381 "title": "Remove lists from a queue",
33384 "title": "Example usage:",
33385 "content": "curl https://{domain}/api/voice/queues/{id}/lists?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
33389 "name": "RemoveLists",
33390 "group": "Voice_Queues",
33391 "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>",
33392 "version": "0.0.0",
33393 "filename": "server/api/voiceQueue/index.js",
33394 "groupTitle": "Voice_Queues"
33398 "url": "/api/voice/queues/{id}",
33399 "title": "Gets a single Queue",
33402 "title": "Example usage:",
33403 "content": "curl https://{domain}/api/voice/queues/{id} -v -u {name}:{password}",
33407 "name": "ShowQueues",
33408 "group": "Voice_Queues",
33409 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33410 "version": "0.0.0",
33411 "filename": "server/api/voiceQueue/index.js",
33412 "groupTitle": "Voice_Queues"
33416 "url": "/api/voice/queues/{id}/blacks",
33417 "title": "Gets queue hopper blacks",
33420 "title": "Example usage:",
33421 "content": "curl https://{domain}/api/voice/queues/{id}/hopper_black -v -u {name}:{password} -X GET",
33425 "name": "getHopperBlacks",
33426 "group": "Voice_Queues",
33427 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33428 "version": "0.0.0",
33429 "filename": "server/api/voiceQueue/index.js",
33430 "groupTitle": "Voice_Queues"
33434 "url": "/api/voice/queues/{id}",
33435 "title": "Update an existing Queue",
33438 "title": "Example usage:",
33439 "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",
33443 "name": "updateQueues",
33444 "group": "Voice_Queues",
33445 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33446 "version": "0.0.0",
33447 "filename": "server/api/voiceQueue/index.js",
33448 "groupTitle": "Voice_Queues"
33452 "url": "/api/voice/recordings",
33453 "title": "Creates a new Recording",
33456 "title": "Example usage:",
33457 "content": "curl https://{domain}/api/voice/recordings -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
33461 "name": "CreateRecordings",
33462 "group": "Voice_Recordings",
33477 "field": "uniqueid",
33484 "field": "channel",
33491 "field": "membername",
33498 "field": "calleridnum",
33505 "field": "calleridname",
33512 "field": "connectedlinenum",
33519 "field": "connectedlinename",
33526 "field": "accountcode",
33533 "field": "context",
33575 "field": "userDisposition",
33582 "field": "userSecondDisposition",
33589 "field": "userThirdDisposition",
33596 "field": "location",
33603 "field": "transcribeName",
33610 "field": "transcribeStatus",
33617 "field": "fileUri",
33624 "field": "fileText",
33631 "field": "failureReason",
33638 "field": "sentiment",
33645 "field": "sPositive",
33652 "field": "sNegative",
33659 "field": "sNeutral",
33673 "field": "tempSentiment",
33680 "field": "createdAt",
33687 "field": "updatedAt",
33693 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33694 "version": "0.0.0",
33695 "filename": "server/api/voiceRecording/index.js",
33696 "groupTitle": "Voice_Recordings"
33700 "url": "/api/voice/recordings/describe",
33701 "title": "Gets table info about Recordings",
33704 "title": "Example usage:",
33705 "content": "curl https://{domain}/api/voice/recordings/describe -v -u {name}:{password}",
33709 "name": "DescribeRecordings",
33710 "group": "Voice_Recordings",
33711 "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>",
33712 "version": "0.0.0",
33713 "filename": "server/api/voiceRecording/index.js",
33714 "groupTitle": "Voice_Recordings"
33718 "url": "/api/voice/recordings",
33719 "title": "Gets a list of Recordings",
33722 "title": "Example usage:",
33723 "content": "curl https://{domain}/api/voice/recordings -v -u {name}:{password}",
33727 "name": "GetRecordings",
33728 "group": "Voice_Recordings",
33729 "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&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>",
33730 "version": "0.0.0",
33731 "filename": "server/api/voiceRecording/index.js",
33732 "groupTitle": "Voice_Recordings"
33736 "url": "/api/voice/recordings/{id}",
33737 "title": "Gets a single Recording",
33740 "title": "Example usage:",
33741 "content": "curl https://{domain}/api/voice/recordings/{id} -v -u {name}:{password}",
33745 "name": "ShowRecordings",
33746 "group": "Voice_Recordings",
33747 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33748 "version": "0.0.0",
33749 "filename": "server/api/voiceRecording/index.js",
33750 "groupTitle": "Voice_Recordings"
33754 "url": "/api/voice/recordings/{id}",
33755 "title": "Delete voice recording",
33758 "title": "Example usage:",
33759 "content": "curl https://{domain}/api/voice/recordings/{id} -v -u {name}:{password} -X DELETE",
33764 "group": "Voice_Recordings",
33765 "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>",
33766 "version": "0.0.0",
33767 "filename": "server/api/voiceRecording/index.js",
33768 "groupTitle": "Voice_Recordings"
33772 "url": "/api/voice/recordings/{id}/download",
33773 "title": "Download Recording",
33776 "title": "Example usage:",
33777 "content": "curl https://{domain}/api/voice/recordings/{id}/download -v -u {name}:{password} -X GET",
33781 "name": "download",
33782 "group": "Voice_Recordings",
33783 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33784 "version": "0.0.0",
33785 "filename": "server/api/voiceRecording/index.js",
33786 "groupTitle": "Voice_Recordings"
33790 "url": "/api/voice/recordings/{id}/downloads",
33791 "title": "Download Recording",
33794 "title": "Example usage:",
33795 "content": "curl https://{domain}/api/voice/recordings/{id}/downloads -v -u {name}:{password} -X GET",
33799 "name": "downloads",
33800 "group": "Voice_Recordings",
33801 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33802 "version": "0.0.0",
33803 "filename": "server/api/voiceRecording/index.js",
33804 "groupTitle": "Voice_Recordings"
33808 "url": "/api/voice/recordings/{id}/transcribe",
33809 "title": "Run Transcribe Recording",
33812 "title": "Example usage:",
33813 "content": "curl https://{domain}/api/voice/recordings/{id}/transcribe -d '{\"runSentiment\": \"true\"}' -v -u {name}:{password} -X POST",
33817 "name": "transcribe",
33818 "group": "Voice_Recordings",
33819 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33820 "version": "0.0.0",
33821 "filename": "server/api/voiceRecording/index.js",
33822 "groupTitle": "Voice_Recordings"
33826 "url": "/api/voice/recordings/{id}/transcribe",
33827 "title": "Run Transcribe Recording",
33830 "title": "Example usage:",
33831 "content": "curl https://{domain}/api/voice/recordings/{id}/transcribe -v -u {name}:{password} -X GET",
33835 "name": "transcribe",
33836 "group": "Voice_Recordings",
33837 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33838 "version": "0.0.0",
33839 "filename": "server/api/voiceRecording/index.js",
33840 "groupTitle": "Voice_Recordings"
33844 "url": "/api/voice/recordings/{id}",
33845 "title": "Update an existing Recording",
33848 "title": "Example usage:",
33849 "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",
33853 "name": "updateRecordings",
33854 "group": "Voice_Recordings",
33855 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
33856 "version": "0.0.0",
33857 "filename": "server/api/voiceRecording/index.js",
33858 "groupTitle": "Voice_Recordings"
33862 "url": "/api/voice/transfers/reports",
33863 "title": "Creates a new Transfer Report",
33866 "title": "Example usage:",
33867 "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",
33871 "name": "CreateTransfer_Reports",
33872 "group": "Voice_Transfer_Reports",
33898 "field": "transfererchannel",
33905 "field": "transferercalleridnum",
33912 "field": "transferercalleridname",
33919 "field": "transfererconnectedlinenum",
33926 "field": "transfererconnectedlinename",
33933 "field": "transfereraccountcode",
33940 "field": "transferercontext",
33947 "field": "transfererexten",
33954 "field": "transfererlinkedid",
33961 "field": "transfereechannel",
33968 "field": "transfereecalleridnum",
33975 "field": "transfereecalleridname",
33982 "field": "transfereeconnectedlinenum",
33989 "field": "transfereeconnectedlinename",
33996 "field": "transfereeaccountcode",
34003 "field": "transfereecontext",
34010 "field": "transfereeexten",
34017 "field": "transfereelinkedid",
34028 "field": "isexternal",
34035 "field": "context",
34042 "field": "extension",
34048 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34049 "version": "0.0.0",
34050 "filename": "server/api/voiceTransferReport/index.js",
34051 "groupTitle": "Voice_Transfer_Reports"
34055 "url": "/api/voice/transfers/reports/{id}",
34056 "title": "Deletes a Transfer Report",
34059 "title": "Example usage:",
34060 "content": "curl https://{domain}/api/voice/transfers/reports/{id} -v -u {name}:{password} -X DELETE",
34064 "name": "DeleteTransfer_Reports",
34065 "group": "Voice_Transfer_Reports",
34066 "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>",
34067 "version": "0.0.0",
34068 "filename": "server/api/voiceTransferReport/index.js",
34069 "groupTitle": "Voice_Transfer_Reports"
34073 "url": "/api/voice/transfers/reports/describe",
34074 "title": "Gets table info about Transfer Reports",
34077 "title": "Example usage:",
34078 "content": "curl https://{domain}/api/voice/transfers/reports/describe -v -u {name}:{password}",
34082 "name": "DescribeTransfer_Reports",
34083 "group": "Voice_Transfer_Reports",
34084 "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>",
34085 "version": "0.0.0",
34086 "filename": "server/api/voiceTransferReport/index.js",
34087 "groupTitle": "Voice_Transfer_Reports"
34091 "url": "/api/voice/transfers/reports",
34092 "title": "Gets a list of Transfer Reports",
34095 "title": "Example usage:",
34096 "content": "curl https://{domain}/api/voice/transfers/reports -v -u {name}:{password}",
34100 "name": "GetTransfer_Reports",
34101 "group": "Voice_Transfer_Reports",
34102 "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&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>",
34103 "version": "0.0.0",
34104 "filename": "server/api/voiceTransferReport/index.js",
34105 "groupTitle": "Voice_Transfer_Reports"
34109 "url": "/api/voice/transfers/reports/{id}",
34110 "title": "Gets a single Transfer Report",
34113 "title": "Example usage:",
34114 "content": "curl https://{domain}/api/voice/transfers/reports/{id} -v -u {name}:{password}",
34118 "name": "ShowTransfer_Reports",
34119 "group": "Voice_Transfer_Reports",
34120 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34121 "version": "0.0.0",
34122 "filename": "server/api/voiceTransferReport/index.js",
34123 "groupTitle": "Voice_Transfer_Reports"
34127 "url": "/api/voice/transfers/reports/{id}",
34128 "title": "Update an existing Transfer Report",
34131 "title": "Example usage:",
34132 "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",
34136 "name": "updateTransfer_Reports",
34137 "group": "Voice_Transfer_Reports",
34138 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34139 "version": "0.0.0",
34140 "filename": "server/api/voiceTransferReport/index.js",
34141 "groupTitle": "Voice_Transfer_Reports"
34145 "url": "/api/integrations/vtiger/accounts",
34146 "title": "Creates a new Vtiger Account",
34149 "title": "Example usage:",
34150 "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",
34154 "name": "CreateVtiger_Accounts",
34155 "group": "Vtiger_Accounts",
34170 "field": "description",
34177 "field": "username",
34184 "field": "moduleName",
34191 "field": "remoteUri",
34198 "field": "serverUrl",
34205 "field": "accessKey",
34211 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34212 "version": "0.0.0",
34213 "filename": "server/api/intVtigerAccount/index.js",
34214 "groupTitle": "Vtiger_Accounts"
34218 "url": "/api/integrations/vtiger/accounts/{id}",
34219 "title": "Deletes a Vtiger Account",
34222 "title": "Example usage:",
34223 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id} -v -u {name}:{password} -X DELETE",
34227 "name": "DeleteVtiger_Accounts",
34228 "group": "Vtiger_Accounts",
34229 "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>",
34230 "version": "0.0.0",
34231 "filename": "server/api/intVtigerAccount/index.js",
34232 "groupTitle": "Vtiger_Accounts"
34236 "url": "/api/integrations/vtiger/accounts",
34237 "title": "Gets a list of Vtiger Accounts",
34240 "title": "Example usage:",
34241 "content": "curl https://{domain}/api/integrations/vtiger/accounts -v -u {name}:{password}",
34245 "name": "GetVtiger_Accounts",
34246 "group": "Vtiger_Accounts",
34247 "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&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>",
34248 "version": "0.0.0",
34249 "filename": "server/api/intVtigerAccount/index.js",
34250 "groupTitle": "Vtiger_Accounts"
34254 "url": "/api/integrations/vtiger/accounts/{id}",
34255 "title": "Gets a single Vtiger Account",
34258 "title": "Example usage:",
34259 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id} -v -u {name}:{password}",
34263 "name": "ShowVtiger_Accounts",
34264 "group": "Vtiger_Accounts",
34265 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34266 "version": "0.0.0",
34267 "filename": "server/api/intVtigerAccount/index.js",
34268 "groupTitle": "Vtiger_Accounts"
34272 "url": "/api/integrations/vtiger/accounts/{id}/configurations",
34273 "title": "Creates new configuration",
34276 "title": "Example usage:",
34277 "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",
34281 "name": "addConfiguration",
34282 "group": "Vtiger_Accounts",
34283 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34284 "version": "0.0.0",
34285 "filename": "server/api/intVtigerAccount/index.js",
34286 "groupTitle": "Vtiger_Accounts"
34290 "url": "/api/integrations/vtiger/accounts/{id}/configurations",
34291 "title": "Gets account configurations",
34294 "title": "Example usage:",
34295 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id}/configurations -v -u {name}:{password} -X GET",
34299 "name": "getConfigurations",
34300 "group": "Vtiger_Accounts",
34301 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34302 "version": "0.0.0",
34303 "filename": "server/api/intVtigerAccount/index.js",
34304 "groupTitle": "Vtiger_Accounts"
34308 "url": "/api/integrations/vtiger/accounts/{id}/fields",
34309 "title": "Gets account fields",
34312 "title": "Example usage:",
34313 "content": "curl https://{domain}/api/integrations/vtiger/accounts/{id}/fields -v -u {name}:{password} -X GET",
34317 "name": "getFields",
34318 "group": "Vtiger_Accounts",
34319 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34320 "version": "0.0.0",
34321 "filename": "server/api/intVtigerAccount/index.js",
34322 "groupTitle": "Vtiger_Accounts"
34326 "url": "/api/integrations/vtiger/accounts/{id}",
34327 "title": "Update an existing Vtiger Account",
34330 "title": "Example usage:",
34331 "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",
34335 "name": "updateVtiger_Accounts",
34336 "group": "Vtiger_Accounts",
34337 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34338 "version": "0.0.0",
34339 "filename": "server/api/intVtigerAccount/index.js",
34340 "groupTitle": "Vtiger_Accounts"
34344 "url": "/api/integrations/vtiger/configurations",
34345 "title": "Creates a new Vtiger Configuration",
34348 "title": "Example usage:",
34349 "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",
34353 "name": "CreateVtiger_Configurations",
34354 "group": "Vtiger_Configurations",
34369 "field": "description",
34375 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34376 "version": "0.0.0",
34377 "filename": "server/api/intVtigerConfiguration/index.js",
34378 "groupTitle": "Vtiger_Configurations"
34382 "url": "/api/integrations/vtiger/configurations/{id}",
34383 "title": "Deletes a Vtiger Configuration",
34386 "title": "Example usage:",
34387 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id} -v -u {name}:{password} -X DELETE",
34391 "name": "DeleteVtiger_Configurations",
34392 "group": "Vtiger_Configurations",
34393 "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>",
34394 "version": "0.0.0",
34395 "filename": "server/api/intVtigerConfiguration/index.js",
34396 "groupTitle": "Vtiger_Configurations"
34400 "url": "/api/integrations/vtiger/configurations",
34401 "title": "Gets a list of Vtiger Configurations",
34404 "title": "Example usage:",
34405 "content": "curl https://{domain}/api/integrations/vtiger/configurations -v -u {name}:{password}",
34409 "name": "GetVtiger_Configurations",
34410 "group": "Vtiger_Configurations",
34411 "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&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>",
34412 "version": "0.0.0",
34413 "filename": "server/api/intVtigerConfiguration/index.js",
34414 "groupTitle": "Vtiger_Configurations"
34418 "url": "/api/integrations/vtiger/configurations/{id}",
34419 "title": "Gets a single Vtiger Configuration",
34422 "title": "Example usage:",
34423 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id} -v -u {name}:{password}",
34427 "name": "ShowVtiger_Configurations",
34428 "group": "Vtiger_Configurations",
34429 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34430 "version": "0.0.0",
34431 "filename": "server/api/intVtigerConfiguration/index.js",
34432 "groupTitle": "Vtiger_Configurations"
34436 "url": "/api/integrations/vtiger/configurations/{id}/descriptions",
34437 "title": "Gets configurations descriptions",
34440 "title": "Example usage:",
34441 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
34445 "name": "getDescriptions",
34446 "group": "Vtiger_Configurations",
34447 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34448 "version": "0.0.0",
34449 "filename": "server/api/intVtigerConfiguration/index.js",
34450 "groupTitle": "Vtiger_Configurations"
34454 "url": "/api/integrations/vtiger/configurations/{id}/fields",
34455 "title": "Gets configurations fields",
34458 "title": "Example usage:",
34459 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/fields -v -u {name}:{password} -X GET",
34463 "name": "getFields",
34464 "group": "Vtiger_Configurations",
34465 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34466 "version": "0.0.0",
34467 "filename": "server/api/intVtigerConfiguration/index.js",
34468 "groupTitle": "Vtiger_Configurations"
34472 "url": "/api/integrations/vtiger/configurations/{id}/subjects",
34473 "title": "Gets configurations subjects",
34476 "title": "Example usage:",
34477 "content": "curl https://{domain}/api/integrations/vtiger/configurations/{id}/subjects -v -u {name}:{password} -X GET",
34481 "name": "getSubjects",
34482 "group": "Vtiger_Configurations",
34483 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34484 "version": "0.0.0",
34485 "filename": "server/api/intVtigerConfiguration/index.js",
34486 "groupTitle": "Vtiger_Configurations"
34490 "url": "/api/integrations/vtiger/configurations/{id}",
34491 "title": "Update an existing Vtiger Configuration",
34494 "title": "Example usage:",
34495 "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",
34499 "name": "updateVtiger_Configurations",
34500 "group": "Vtiger_Configurations",
34501 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34502 "version": "0.0.0",
34503 "filename": "server/api/intVtigerConfiguration/index.js",
34504 "groupTitle": "Vtiger_Configurations"
34508 "url": "/api/integrations/vtiger/fields",
34509 "title": "Creates a new Vtiger Field",
34512 "title": "Example usage:",
34513 "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",
34517 "name": "CreateVtiger_Fields",
34518 "group": "Vtiger_Fields",
34528 "\"customVariable\"",
34540 "field": "content",
34556 "\"customVariable\""
34559 "field": "keyType",
34566 "field": "keyContent",
34573 "field": "idField",
34580 "field": "nameField",
34587 "field": "customField",
34594 "field": "variableName",
34600 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34601 "version": "0.0.0",
34602 "filename": "server/api/intVtigerField/index.js",
34603 "groupTitle": "Vtiger_Fields"
34607 "url": "/api/integrations/vtiger/fields/{id}",
34608 "title": "Deletes a Vtiger Field",
34611 "title": "Example usage:",
34612 "content": "curl https://{domain}/api/integrations/vtiger/fields/{id} -v -u {name}:{password} -X DELETE",
34616 "name": "DeleteVtiger_Fields",
34617 "group": "Vtiger_Fields",
34618 "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>",
34619 "version": "0.0.0",
34620 "filename": "server/api/intVtigerField/index.js",
34621 "groupTitle": "Vtiger_Fields"
34625 "url": "/api/integrations/vtiger/fields",
34626 "title": "Gets a list of Vtiger Fields",
34629 "title": "Example usage:",
34630 "content": "curl https://{domain}/api/integrations/vtiger/fields -v -u {name}:{password}",
34634 "name": "GetVtiger_Fields",
34635 "group": "Vtiger_Fields",
34636 "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&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>",
34637 "version": "0.0.0",
34638 "filename": "server/api/intVtigerField/index.js",
34639 "groupTitle": "Vtiger_Fields"
34643 "url": "/api/integrations/vtiger/fields/{id}",
34644 "title": "Gets a single Vtiger Field",
34647 "title": "Example usage:",
34648 "content": "curl https://{domain}/api/integrations/vtiger/fields/{id} -v -u {name}:{password}",
34652 "name": "ShowVtiger_Fields",
34653 "group": "Vtiger_Fields",
34654 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34655 "version": "0.0.0",
34656 "filename": "server/api/intVtigerField/index.js",
34657 "groupTitle": "Vtiger_Fields"
34661 "url": "/api/integrations/vtiger/fields/{id}",
34662 "title": "Update an existing Vtiger Field",
34665 "title": "Example usage:",
34666 "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",
34670 "name": "updateVtiger_Fields",
34671 "group": "Vtiger_Fields",
34672 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34673 "version": "0.0.0",
34674 "filename": "server/api/intVtigerField/index.js",
34675 "groupTitle": "Vtiger_Fields"
34679 "url": "/api/webbar/answer",
34680 "title": "answer webrtc call",
34683 "title": "Example usage:",
34684 "content": "curl https://{domain}/api/webbar/answer -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34688 "name": "Web_Bar_answer",
34697 "field": "sessionId",
34710 "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>",
34711 "version": "0.0.0",
34712 "filename": "server/api/webbar/index.js",
34713 "groupTitle": "WebBar"
34717 "url": "/api/webbar/calls",
34718 "title": "webrtc call list",
34721 "title": "Example usage:",
34722 "content": "curl https://{domain}/api/webbar/calls -d '{\"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34726 "name": "Web_Bar_calls",
34741 "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>",
34742 "version": "0.0.0",
34743 "filename": "server/api/webbar/index.js",
34744 "groupTitle": "WebBar"
34748 "url": "/api/webbar/hangup",
34749 "title": "hangup webrtc call",
34752 "title": "Example usage:",
34753 "content": "curl https://{domain}/api/webbar/hangup -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34757 "name": "Web_Bar_hangup",
34766 "field": "sessionId",
34779 "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>",
34780 "version": "0.0.0",
34781 "filename": "server/api/webbar/index.js",
34782 "groupTitle": "WebBar"
34786 "url": "/api/webbar/hold",
34787 "title": "hold webrtc call",
34790 "title": "Example usage:",
34791 "content": "curl https://{domain}/api/webbar/hold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34795 "name": "Web_Bar_hold",
34804 "field": "sessionId",
34817 "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>",
34818 "version": "0.0.0",
34819 "filename": "server/api/webbar/index.js",
34820 "groupTitle": "WebBar"
34824 "url": "/api/webbar/unhold",
34825 "title": "unhold webrtc call",
34828 "title": "Example usage:",
34829 "content": "curl https://{domain}/api/webbar/unhold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34833 "name": "Web_Bar_hold",
34842 "field": "sessionId",
34855 "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>",
34856 "version": "0.0.0",
34857 "filename": "server/api/webbar/index.js",
34858 "groupTitle": "WebBar"
34862 "url": "/api/webbar/originate",
34863 "title": "Originate new webrtc call",
34866 "title": "Example usage:",
34867 "content": "curl https://{domain}/api/webbar/originate -d '{\"callNumber\": \"0119692844\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
34871 "name": "Web_Bar_originate",
34880 "field": "callNumber",
34894 "field": "callerId",
34901 "field": "callbackUrl",
34907 "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>",
34908 "version": "0.0.0",
34909 "filename": "server/api/webbar/index.js",
34910 "groupTitle": "WebBar"
34914 "url": "/api/webbar/transfer",
34915 "title": "blind transfer webrtc call",
34918 "title": "Example usage:",
34919 "content": "curl https://{domain}/api/webbar/transfer -d '{\"userId\": 54, \"sessionId\":\"<sessionId>\", \"transferNumber\":\"<transferNumber>\"}' \\\n -H \"Content-Type: application/json\" -X POST",
34923 "name": "Web_Bar_transfer",
34939 "field": "sessionId",
34946 "field": "transferNumber",
34952 "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>",
34953 "version": "0.0.0",
34954 "filename": "server/api/webbar/index.js",
34955 "groupTitle": "WebBar"
34959 "url": "/api/whatsapp/accounts/{id}/users",
34960 "title": "Add agents to a whatsapp account",
34963 "title": "Example usage:",
34964 "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",
34968 "name": "AddAgents",
34969 "group": "Whatsapp_Accounts",
34970 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
34971 "version": "0.0.0",
34972 "filename": "server/api/whatsappAccount/index.js",
34973 "groupTitle": "Whatsapp_Accounts"
34977 "url": "/api/whatsapp/accounts",
34978 "title": "Creates a new Account",
34981 "title": "Example usage:",
34982 "content": "curl https://{domain}/api/whatsapp/accounts -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
34986 "name": "CreateAccounts",
34987 "group": "Whatsapp_Accounts",
35040 "field": "accountSid",
35047 "field": "authToken",
35054 "field": "notificationTemplate",
35061 "field": "notificationSound",
35068 "field": "notificationShake",
35075 "field": "waitForTheAssignedAgent",
35082 "field": "queueTransfer",
35089 "field": "queueTransferTimeout",
35096 "field": "agentTransfer",
35103 "field": "agentTransferTimeout",
35110 "field": "mandatoryDispositionPauseId",
35111 "description": "<p>Status to put when mandatory disposition is enabled</p>"
35117 "field": "mandatoryDisposition",
35118 "description": "<p>Enabled/disables mandatory dispo on a queue</p>"
35124 "field": "description",
35130 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35131 "version": "0.0.0",
35132 "filename": "server/api/whatsappAccount/index.js",
35133 "groupTitle": "Whatsapp_Accounts"
35137 "url": "/api/whatsapp/accounts/{id}",
35138 "title": "Deletes a Account",
35141 "title": "Example usage:",
35142 "content": "curl https://{domain}/api/whatsapp/accounts/{id} -v -u {name}:{password} -X DELETE",
35146 "name": "DeleteAccounts",
35147 "group": "Whatsapp_Accounts",
35148 "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>",
35149 "version": "0.0.0",
35150 "filename": "server/api/whatsappAccount/index.js",
35151 "groupTitle": "Whatsapp_Accounts"
35155 "url": "/api/whatsapp/accounts/describe",
35156 "title": "Gets table info about Accounts",
35159 "title": "Example usage:",
35160 "content": "curl https://{domain}/api/whatsapp/accounts/describe -v -u {name}:{password}",
35164 "name": "DescribeAccounts",
35165 "group": "Whatsapp_Accounts",
35166 "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>",
35167 "version": "0.0.0",
35168 "filename": "server/api/whatsappAccount/index.js",
35169 "groupTitle": "Whatsapp_Accounts"
35173 "url": "/api/whatsapp/accounts",
35174 "title": "Gets a list of Accounts",
35177 "title": "Example usage:",
35178 "content": "curl https://{domain}/api/whatsapp/accounts -v -u {name}:{password}",
35182 "name": "GetAccounts",
35183 "group": "Whatsapp_Accounts",
35184 "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&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>",
35185 "version": "0.0.0",
35186 "filename": "server/api/whatsappAccount/index.js",
35187 "groupTitle": "Whatsapp_Accounts"
35191 "url": "/api/whatsapp/accounts/{id}/users",
35192 "title": "Gets agents from whatsapp account",
35195 "title": "Example usage:",
35196 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/users -v -u {name}:{password} -X GET",
35200 "name": "GetAgents",
35201 "group": "Whatsapp_Accounts",
35202 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35203 "version": "0.0.0",
35204 "filename": "server/api/whatsappAccount/index.js",
35205 "groupTitle": "Whatsapp_Accounts"
35209 "url": "/api/whatsapp/accounts/{id}/users",
35210 "title": "Removes agents from a whatsapp account",
35213 "title": "Example usage:",
35214 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35218 "name": "RemoveAgents",
35219 "group": "Whatsapp_Accounts",
35220 "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>",
35221 "version": "0.0.0",
35222 "filename": "server/api/whatsappAccount/index.js",
35223 "groupTitle": "Whatsapp_Accounts"
35227 "url": "/api/whatsapp/accounts/{id}/canned_answers",
35228 "title": "Removes canned answers from account",
35231 "title": "Example usage:",
35232 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/canned_answers?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35236 "name": "RemoveAnswers",
35237 "group": "Whatsapp_Accounts",
35238 "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>",
35239 "version": "0.0.0",
35240 "filename": "server/api/whatsappAccount/index.js",
35241 "groupTitle": "Whatsapp_Accounts"
35245 "url": "/api/whatsapp/accounts/{id}/dispositions",
35246 "title": "Removes dispositions from account",
35249 "title": "Example usage:",
35250 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35254 "name": "RemoveDispositions",
35255 "group": "Whatsapp_Accounts",
35256 "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>",
35257 "version": "0.0.0",
35258 "filename": "server/api/whatsappAccount/index.js",
35259 "groupTitle": "Whatsapp_Accounts"
35263 "url": "/api/whatsapp/accounts/{id}",
35264 "title": "Gets a single Account",
35267 "title": "Example usage:",
35268 "content": "curl https://{domain}/api/whatsapp/accounts/{id} -v -u {name}:{password}",
35272 "name": "ShowAccounts",
35273 "group": "Whatsapp_Accounts",
35274 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35275 "version": "0.0.0",
35276 "filename": "server/api/whatsappAccount/index.js",
35277 "groupTitle": "Whatsapp_Accounts"
35281 "url": "/api/whatsapp/messages/{id}/accept",
35282 "title": "Accepts message",
35285 "title": "Example usage:",
35286 "content": "curl https://{domain}/api/whatsapp/messages/{id}/accept \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
35290 "name": "acceptMessage",
35291 "group": "Whatsapp_Accounts",
35292 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35293 "version": "0.0.0",
35294 "filename": "server/api/whatsappMessage/index.js",
35295 "groupTitle": "Whatsapp_Accounts"
35299 "url": "/api/whatsapp/accounts/{id}/canned_answers",
35300 "title": "Creates new canned answer",
35303 "title": "Example usage:",
35304 "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",
35308 "name": "addAnswer",
35309 "group": "Whatsapp_Accounts",
35331 "field": "description",
35344 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35345 "version": "0.0.0",
35346 "filename": "server/api/whatsappAccount/index.js",
35347 "groupTitle": "Whatsapp_Accounts"
35351 "url": "/api/whatsapp/accounts/{id}/applications",
35352 "title": "Creates new applications",
35355 "title": "Example usage:",
35356 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
35360 "name": "addApplications",
35361 "group": "Whatsapp_Accounts",
35369 "field": "priority",
35383 "field": "appdata",
35390 "field": "description",
35397 "field": "interval",
35403 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35404 "version": "0.0.0",
35405 "filename": "server/api/whatsappAccount/index.js",
35406 "groupTitle": "Whatsapp_Accounts"
35410 "url": "/api/whatsapp/accounts/{id}/dispositions",
35411 "title": "Creates new disposition",
35414 "title": "Example usage:",
35415 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions -d '{\"name\": \"vip\"}' -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
35419 "name": "addDisposition",
35420 "group": "Whatsapp_Accounts",
35447 "field": "description",
35453 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35454 "version": "0.0.0",
35455 "filename": "server/api/whatsappAccount/index.js",
35456 "groupTitle": "Whatsapp_Accounts"
35460 "url": "/api/whatsapp/accounts/{id}/canned_answers",
35461 "title": "Gets account canned answers",
35464 "title": "Example usage:",
35465 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/canned_answers -v -u {name}:{password} -X GET",
35469 "name": "getAnswers",
35470 "group": "Whatsapp_Accounts",
35471 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35472 "version": "0.0.0",
35473 "filename": "server/api/whatsappAccount/index.js",
35474 "groupTitle": "Whatsapp_Accounts"
35478 "url": "/api/whatsapp/accounts/{id}/applications",
35479 "title": "Gets account applications",
35482 "title": "Example usage:",
35483 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/applications -v -u {name}:{password} -X GET",
35487 "name": "getApplications",
35488 "group": "Whatsapp_Accounts",
35489 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35490 "version": "0.0.0",
35491 "filename": "server/api/whatsappAccount/index.js",
35492 "groupTitle": "Whatsapp_Accounts"
35496 "url": "/api/whatsapp/accounts/{id}/dispositions",
35497 "title": "Gets account dispositions",
35500 "title": "Example usage:",
35501 "content": "curl https://{domain}/api/whatsapp/accounts/{id}/dispositions -v -u {name}:{password} -X GET",
35505 "name": "getDispositions",
35506 "group": "Whatsapp_Accounts",
35507 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35508 "version": "0.0.0",
35509 "filename": "server/api/whatsappAccount/index.js",
35510 "groupTitle": "Whatsapp_Accounts"
35514 "url": "/api/whatsapp/accounts/{id}/notify",
35515 "title": "Notify new message",
35518 "title": "Example usage:",
35519 "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",
35524 "group": "Whatsapp_Accounts",
35525 "description": "<p>Motion 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>",
35526 "version": "0.0.0",
35527 "filename": "server/api/whatsappAccount/index.js",
35528 "groupTitle": "Whatsapp_Accounts"
35532 "url": "/api/whatsapp/messages/{id}/reject",
35533 "title": "Rejects message",
35536 "title": "Example usage:",
35537 "content": "curl https://{domain}/api/whatsapp/messages/{id}/reject \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X PUT",
35541 "name": "rejectMessage",
35542 "group": "Whatsapp_Accounts",
35543 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35544 "version": "0.0.0",
35545 "filename": "server/api/whatsappMessage/index.js",
35546 "groupTitle": "Whatsapp_Accounts"
35550 "url": "/api/whatsapp/accounts/{id}/send",
35551 "title": "Send new whatsapp message",
35554 "title": "Example usage:",
35555 "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",
35559 "name": "sendWhatsapp",
35560 "group": "Whatsapp_Accounts",
35561 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35562 "version": "0.0.0",
35563 "filename": "server/api/whatsappAccount/index.js",
35564 "groupTitle": "Whatsapp_Accounts"
35568 "url": "/api/whatsapp/messages/{id}/status",
35569 "title": "Receive message status",
35572 "title": "Example usage:",
35573 "content": "curl https://{domain}/api/whatsapp/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST",
35577 "name": "statusMessage",
35578 "group": "Whatsapp_Accounts",
35579 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35580 "version": "0.0.0",
35581 "filename": "server/api/whatsappMessage/index.js",
35582 "groupTitle": "Whatsapp_Accounts"
35586 "url": "/api/whatsapp/accounts/{id}",
35587 "title": "Update an existing Account",
35590 "title": "Example usage:",
35591 "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",
35595 "name": "updateAccounts",
35596 "group": "Whatsapp_Accounts",
35597 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35598 "version": "0.0.0",
35599 "filename": "server/api/whatsappAccount/index.js",
35600 "groupTitle": "Whatsapp_Accounts"
35604 "url": "/api/whatsapp/applications",
35605 "title": "Creates a new Application",
35608 "title": "Example usage:",
35609 "content": "curl https://{domain}/api/whatsapp/applications -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
35613 "name": "CreateApplications",
35614 "group": "Whatsapp_Applications",
35622 "field": "priority",
35636 "field": "appdata",
35643 "field": "description",
35650 "field": "interval",
35656 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35657 "version": "0.0.0",
35658 "filename": "server/api/whatsappApplication/index.js",
35659 "groupTitle": "Whatsapp_Applications"
35663 "url": "/api/whatsapp/applications/{id}",
35664 "title": "Deletes a Application",
35667 "title": "Example usage:",
35668 "content": "curl https://{domain}/api/whatsapp/applications/{id} -v -u {name}:{password} -X DELETE",
35672 "name": "DeleteApplications",
35673 "group": "Whatsapp_Applications",
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": "server/api/whatsappApplication/index.js",
35677 "groupTitle": "Whatsapp_Applications"
35681 "url": "/api/whatsapp/applications",
35682 "title": "Gets a list of Applications",
35685 "title": "Example usage:",
35686 "content": "curl https://{domain}/api/whatsapp/applications -v -u {name}:{password}",
35690 "name": "GetApplications",
35691 "group": "Whatsapp_Applications",
35692 "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&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>",
35693 "version": "0.0.0",
35694 "filename": "server/api/whatsappApplication/index.js",
35695 "groupTitle": "Whatsapp_Applications"
35699 "url": "/api/whatsapp/applications/{id}",
35700 "title": "Gets a single Application",
35703 "title": "Example usage:",
35704 "content": "curl https://{domain}/api/whatsapp/applications/{id} -v -u {name}:{password}",
35708 "name": "ShowApplications",
35709 "group": "Whatsapp_Applications",
35710 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <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": "server/api/whatsappApplication/index.js",
35713 "groupTitle": "Whatsapp_Applications"
35717 "url": "/api/whatsapp/applications/{id}",
35718 "title": "Update an existing Application",
35721 "title": "Example usage:",
35722 "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",
35726 "name": "updateApplications",
35727 "group": "Whatsapp_Applications",
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": "server/api/whatsappApplication/index.js",
35731 "groupTitle": "Whatsapp_Applications"
35735 "url": "/api/whatsapp/interactions/{id}/tags",
35736 "title": "Add tags to the interaction",
35739 "title": "Example usage:",
35740 "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",
35745 "group": "Whatsapp_Interactions",
35746 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35747 "version": "0.0.0",
35748 "filename": "server/api/whatsappInteraction/index.js",
35749 "groupTitle": "Whatsapp_Interactions"
35753 "url": "/api/whatsapp/interactions",
35754 "title": "Creates a new Interaction",
35757 "title": "Example usage:",
35758 "content": "curl https://{domain}/api/whatsapp/interactions -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
35762 "name": "CreateInteractions",
35763 "group": "Whatsapp_Interactions",
35778 "field": "closedAt",
35785 "field": "disposition",
35792 "field": "secondDisposition",
35799 "field": "thirdDisposition",
35820 "field": "read1stAt",
35831 "field": "firstMsgDirection",
35838 "field": "lastMsgAt",
35849 "field": "lastMsgDirection",
35855 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35856 "version": "0.0.0",
35857 "filename": "server/api/whatsappInteraction/index.js",
35858 "groupTitle": "Whatsapp_Interactions"
35862 "url": "/api/whatsapp/interactions/{id}",
35863 "title": "Deletes a Interaction",
35866 "title": "Example usage:",
35867 "content": "curl https://{domain}/api/whatsapp/interactions/{id} -v -u {name}:{password} -X DELETE",
35871 "name": "DeleteInteractions",
35872 "group": "Whatsapp_Interactions",
35873 "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>",
35874 "version": "0.0.0",
35875 "filename": "server/api/whatsappInteraction/index.js",
35876 "groupTitle": "Whatsapp_Interactions"
35880 "url": "/api/whatsapp/interactions/describe",
35881 "title": "Gets table info about Interactions",
35884 "title": "Example usage:",
35885 "content": "curl https://{domain}/api/whatsapp/interactions/describe -v -u {name}:{password}",
35889 "name": "DescribeInteractions",
35890 "group": "Whatsapp_Interactions",
35891 "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>",
35892 "version": "0.0.0",
35893 "filename": "server/api/whatsappInteraction/index.js",
35894 "groupTitle": "Whatsapp_Interactions"
35898 "url": "/api/whatsapp/interactions",
35899 "title": "Gets a list of Interactions",
35902 "title": "Example usage:",
35903 "content": "curl https://{domain}/api/whatsapp/interactions -v -u {name}:{password}",
35907 "name": "GetInteractions",
35908 "group": "Whatsapp_Interactions",
35909 "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&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>",
35910 "version": "0.0.0",
35911 "filename": "server/api/whatsappInteraction/index.js",
35912 "groupTitle": "Whatsapp_Interactions"
35916 "url": "/api/whatsapp/interactions/{id}/tags",
35917 "title": "Removes tags from interaction",
35920 "title": "Example usage:",
35921 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/tags?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
35925 "name": "RemoveTags",
35926 "group": "Whatsapp_Interactions",
35927 "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>",
35928 "version": "0.0.0",
35929 "filename": "server/api/whatsappInteraction/index.js",
35930 "groupTitle": "Whatsapp_Interactions"
35934 "url": "/api/whatsapp/interactions/{id}",
35935 "title": "Gets a single Interaction",
35938 "title": "Example usage:",
35939 "content": "curl https://{domain}/api/whatsapp/interactions/{id} -v -u {name}:{password}",
35943 "name": "ShowInteractions",
35944 "group": "Whatsapp_Interactions",
35945 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
35946 "version": "0.0.0",
35947 "filename": "server/api/whatsappInteraction/index.js",
35948 "groupTitle": "Whatsapp_Interactions"
35952 "url": "/api/whatsapp/interactions/{id}/messages",
35953 "title": "Creates new messages",
35956 "title": "Example usage:",
35957 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/messages -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
35961 "name": "addMessage",
35962 "group": "Whatsapp_Interactions",
35988 "field": "direction",
35995 "field": "messageId",
36023 "field": "providerName",
36030 "field": "providerResponse",
36036 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36037 "version": "0.0.0",
36038 "filename": "server/api/whatsappInteraction/index.js",
36039 "groupTitle": "Whatsapp_Interactions"
36043 "url": "/api/whatsapp/interactions/{id}/download",
36044 "title": "Gets interaction",
36047 "title": "Example usage:",
36048 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/download -v -u {name}:{password} -X GET",
36052 "name": "download",
36053 "group": "Whatsapp_Interactions",
36054 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36055 "version": "0.0.0",
36056 "filename": "server/api/whatsappInteraction/index.js",
36057 "groupTitle": "Whatsapp_Interactions"
36061 "url": "/api/whatsapp/interactions/{id}/messages",
36062 "title": "Gets interaction messages",
36065 "title": "Example usage:",
36066 "content": "curl https://{domain}/api/whatsapp/interactions/{id}/messages -v -u {name}:{password} -X GET",
36070 "name": "getMessages",
36071 "group": "Whatsapp_Interactions",
36072 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36073 "version": "0.0.0",
36074 "filename": "server/api/whatsappInteraction/index.js",
36075 "groupTitle": "Whatsapp_Interactions"
36079 "url": "/api/whatsapp/interactions/{id}",
36080 "title": "Update an existing Interaction",
36083 "title": "Example usage:",
36084 "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",
36088 "name": "updateInteractions",
36089 "group": "Whatsapp_Interactions",
36090 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36091 "version": "0.0.0",
36092 "filename": "server/api/whatsappInteraction/index.js",
36093 "groupTitle": "Whatsapp_Interactions"
36097 "url": "/api/whatsapp/messages",
36098 "title": "Creates a new Message",
36101 "title": "Example usage:",
36102 "content": "curl https://{domain}/api/whatsapp/messages -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
36106 "name": "CreateMessages",
36107 "group": "Whatsapp_Messages",
36133 "field": "direction",
36140 "field": "messageId",
36168 "field": "providerName",
36175 "field": "providerResponse",
36181 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36182 "version": "0.0.0",
36183 "filename": "server/api/whatsappMessage/index.js",
36184 "groupTitle": "Whatsapp_Messages"
36188 "url": "/api/whatsapp/messages/{id}",
36189 "title": "Deletes a Message",
36192 "title": "Example usage:",
36193 "content": "curl https://{domain}/api/whatsapp/messages/{id} -v -u {name}:{password} -X DELETE",
36197 "name": "DeleteMessages",
36198 "group": "Whatsapp_Messages",
36199 "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>",
36200 "version": "0.0.0",
36201 "filename": "server/api/whatsappMessage/index.js",
36202 "groupTitle": "Whatsapp_Messages"
36206 "url": "/api/whatsapp/messages/describe",
36207 "title": "Gets table info about Messages",
36210 "title": "Example usage:",
36211 "content": "curl https://{domain}/api/whatsapp/messages/describe -v -u {name}:{password}",
36215 "name": "DescribeMessages",
36216 "group": "Whatsapp_Messages",
36217 "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>",
36218 "version": "0.0.0",
36219 "filename": "server/api/whatsappMessage/index.js",
36220 "groupTitle": "Whatsapp_Messages"
36224 "url": "/api/whatsapp/messages",
36225 "title": "Gets a list of Messages",
36228 "title": "Example usage:",
36229 "content": "curl https://{domain}/api/whatsapp/messages -v -u {name}:{password}",
36233 "name": "GetMessages",
36234 "group": "Whatsapp_Messages",
36235 "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&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>",
36236 "version": "0.0.0",
36237 "filename": "server/api/whatsappMessage/index.js",
36238 "groupTitle": "Whatsapp_Messages"
36242 "url": "/api/whatsapp/messages/{id}",
36243 "title": "Gets a single Message",
36246 "title": "Example usage:",
36247 "content": "curl https://{domain}/api/whatsapp/messages/{id} -v -u {name}:{password}",
36251 "name": "ShowMessages",
36252 "group": "Whatsapp_Messages",
36253 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36254 "version": "0.0.0",
36255 "filename": "server/api/whatsappMessage/index.js",
36256 "groupTitle": "Whatsapp_Messages"
36260 "url": "/api/whatsapp/messages/{id}",
36261 "title": "Update an existing Message",
36264 "title": "Example usage:",
36265 "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",
36269 "name": "updateMessages",
36270 "group": "Whatsapp_Messages",
36271 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36272 "version": "0.0.0",
36273 "filename": "server/api/whatsappMessage/index.js",
36274 "groupTitle": "Whatsapp_Messages"
36278 "url": "/api/whatsapp/reports/queue",
36279 "title": "Creates a new Whatsapp Queue Report",
36282 "title": "Example usage:",
36283 "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",
36287 "name": "CreateWhatsapp_Queue_Reports",
36288 "group": "Whatsapp_Queue_Reports",
36296 "field": "uniqueid",
36317 "field": "leaveAt",
36324 "field": "acceptAt",
36344 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36345 "version": "0.0.0",
36346 "filename": "server/api/whatsappQueueReport/index.js",
36347 "groupTitle": "Whatsapp_Queue_Reports"
36351 "url": "/api/whatsapp/reports/queue/{id}",
36352 "title": "Deletes a Whatsapp Queue Report",
36355 "title": "Example usage:",
36356 "content": "curl https://{domain}/api/whatsapp/reports/queue/{id} -v -u {name}:{password} -X DELETE",
36360 "name": "DeleteWhatsapp_Queue_Reports",
36361 "group": "Whatsapp_Queue_Reports",
36362 "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>",
36363 "version": "0.0.0",
36364 "filename": "server/api/whatsappQueueReport/index.js",
36365 "groupTitle": "Whatsapp_Queue_Reports"
36369 "url": "/api/whatsapp/reports/queue/describe",
36370 "title": "Gets table info about Whatsapp Queue Reports",
36373 "title": "Example usage:",
36374 "content": "curl https://{domain}/api/whatsapp/reports/queue/describe -v -u {name}:{password}",
36378 "name": "DescribeWhatsapp_Queue_Reports",
36379 "group": "Whatsapp_Queue_Reports",
36380 "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>",
36381 "version": "0.0.0",
36382 "filename": "server/api/whatsappQueueReport/index.js",
36383 "groupTitle": "Whatsapp_Queue_Reports"
36387 "url": "/api/whatsapp/reports/queue",
36388 "title": "Gets a list of Whatsapp Queue Reports",
36391 "title": "Example usage:",
36392 "content": "curl https://{domain}/api/whatsapp/reports/queue -v -u {name}:{password}",
36396 "name": "GetWhatsapp_Queue_Reports",
36397 "group": "Whatsapp_Queue_Reports",
36398 "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&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>",
36399 "version": "0.0.0",
36400 "filename": "server/api/whatsappQueueReport/index.js",
36401 "groupTitle": "Whatsapp_Queue_Reports"
36405 "url": "/api/whatsapp/reports/queue/{id}",
36406 "title": "Gets a single Whatsapp Queue Report",
36409 "title": "Example usage:",
36410 "content": "curl https://{domain}/api/whatsapp/reports/queue/{id} -v -u {name}:{password}",
36414 "name": "ShowWhatsapp_Queue_Reports",
36415 "group": "Whatsapp_Queue_Reports",
36416 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36417 "version": "0.0.0",
36418 "filename": "server/api/whatsappQueueReport/index.js",
36419 "groupTitle": "Whatsapp_Queue_Reports"
36423 "url": "/api/whatsapp/reports/queue/{id}",
36424 "title": "Update an existing Whatsapp Queue Report",
36427 "title": "Example usage:",
36428 "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",
36432 "name": "updateWhatsapp_Queue_Reports",
36433 "group": "Whatsapp_Queue_Reports",
36434 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36435 "version": "0.0.0",
36436 "filename": "server/api/whatsappQueueReport/index.js",
36437 "groupTitle": "Whatsapp_Queue_Reports"
36441 "url": "/api/whatsapp/queues/{id}/users",
36442 "title": "Add agents to a queue",
36445 "title": "Example usage:",
36446 "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",
36450 "name": "AddAgents",
36451 "group": "Whatsapp_Queues",
36452 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36453 "version": "0.0.0",
36454 "filename": "server/api/whatsappQueue/index.js",
36455 "groupTitle": "Whatsapp_Queues"
36459 "url": "/api/whatsapp/queues/{id}/teams",
36460 "title": "Add teams to a queue",
36463 "title": "Example usage:",
36464 "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",
36468 "name": "AddTeams",
36469 "group": "Whatsapp_Queues",
36470 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36471 "version": "0.0.0",
36472 "filename": "server/api/whatsappQueue/index.js",
36473 "groupTitle": "Whatsapp_Queues"
36477 "url": "/api/whatsapp/queues",
36478 "title": "Creates a new Queue",
36481 "title": "Example usage:",
36482 "content": "curl https://{domain}/api/whatsapp/queues -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
36486 "name": "CreateQueues",
36487 "group": "Whatsapp_Queues",
36502 "field": "timeout",
36514 "field": "strategy",
36521 "field": "description",
36527 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36528 "version": "0.0.0",
36529 "filename": "server/api/whatsappQueue/index.js",
36530 "groupTitle": "Whatsapp_Queues"
36534 "url": "/api/whatsapp/queues/{id}",
36535 "title": "Deletes a Queue",
36538 "title": "Example usage:",
36539 "content": "curl https://{domain}/api/whatsapp/queues/{id} -v -u {name}:{password} -X DELETE",
36543 "name": "DeleteQueues",
36544 "group": "Whatsapp_Queues",
36545 "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>",
36546 "version": "0.0.0",
36547 "filename": "server/api/whatsappQueue/index.js",
36548 "groupTitle": "Whatsapp_Queues"
36552 "url": "/api/whatsapp/queues/describe",
36553 "title": "Gets table info about Queues",
36556 "title": "Example usage:",
36557 "content": "curl https://{domain}/api/whatsapp/queues/describe -v -u {name}:{password}",
36561 "name": "DescribeQueues",
36562 "group": "Whatsapp_Queues",
36563 "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>",
36564 "version": "0.0.0",
36565 "filename": "server/api/whatsappQueue/index.js",
36566 "groupTitle": "Whatsapp_Queues"
36570 "url": "/api/whatsapp/queues/{id}/users",
36571 "title": "Gets queue agents",
36574 "title": "Example usage:",
36575 "content": "curl https://{domain}/api/whatsapp/queues/{id}/users -v -u {name}:{password} -X POST",
36579 "name": "GetAgents",
36580 "group": "Whatsapp_Queues",
36581 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36582 "version": "0.0.0",
36583 "filename": "server/api/whatsappQueue/index.js",
36584 "groupTitle": "Whatsapp_Queues"
36588 "url": "/api/whatsapp/queues/{id}/members",
36589 "title": "GetMembers",
36592 "title": "Example usage:",
36593 "content": "curl https://{domain}/api/whatsapp/queues/{id}/members -v -u {name}:{password}",
36597 "name": "GetMembers",
36598 "group": "Whatsapp_Queues",
36599 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36600 "version": "0.0.0",
36601 "filename": "server/api/whatsappQueue/index.js",
36602 "groupTitle": "Whatsapp_Queues"
36606 "url": "/api/whatsapp/queues",
36607 "title": "Gets a list of Queues",
36610 "title": "Example usage:",
36611 "content": "curl https://{domain}/api/whatsapp/queues -v -u {name}:{password}",
36615 "name": "GetQueues",
36616 "group": "Whatsapp_Queues",
36617 "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&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>",
36618 "version": "0.0.0",
36619 "filename": "server/api/whatsappQueue/index.js",
36620 "groupTitle": "Whatsapp_Queues"
36624 "url": "/api/whatsapp/queues/{id}/teams",
36625 "title": "Gets queues list",
36628 "title": "Example usage:",
36629 "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password}",
36633 "name": "GetTeams",
36634 "group": "Whatsapp_Queues",
36635 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36636 "version": "0.0.0",
36637 "filename": "server/api/whatsappQueue/index.js",
36638 "groupTitle": "Whatsapp_Queues"
36642 "url": "/api/whatsapp/queues/{id}/users",
36643 "title": "Removes agents from a queue",
36646 "title": "Example usage:",
36647 "content": "curl https://{domain}/api/whatsapp/queues/{id}/users?ids=1&ids=2 -v -u {name}:{password} -X DELETE",
36651 "name": "RemoveAgents",
36652 "group": "Whatsapp_Queues",
36653 "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>",
36654 "version": "0.0.0",
36655 "filename": "server/api/whatsappQueue/index.js",
36656 "groupTitle": "Whatsapp_Queues"
36660 "url": "/api/whatsapp/queues/{id}",
36661 "title": "Gets a single Queue",
36664 "title": "Example usage:",
36665 "content": "curl https://{domain}/api/whatsapp/queues/{id} -v -u {name}:{password}",
36669 "name": "ShowQueues",
36670 "group": "Whatsapp_Queues",
36671 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36672 "version": "0.0.0",
36673 "filename": "server/api/whatsappQueue/index.js",
36674 "groupTitle": "Whatsapp_Queues"
36678 "url": "/api/whatsapp/queues/{id}",
36679 "title": "Update an existing Queue",
36682 "title": "Example usage:",
36683 "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",
36687 "name": "updateQueues",
36688 "group": "Whatsapp_Queues",
36689 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36690 "version": "0.0.0",
36691 "filename": "server/api/whatsappQueue/index.js",
36692 "groupTitle": "Whatsapp_Queues"
36696 "url": "/api/whatsapp/reports/transfer",
36697 "title": "Creates a new Whatsapp Transfer Report",
36700 "title": "Example usage:",
36701 "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",
36705 "name": "CreateWhatsapp_Transfer_Reports",
36706 "group": "Whatsapp_Transfer_Reports",
36714 "field": "uniqueid",
36733 "field": "transferredAt",
36739 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36740 "version": "0.0.0",
36741 "filename": "server/api/whatsappTransferReport/index.js",
36742 "groupTitle": "Whatsapp_Transfer_Reports"
36746 "url": "/api/whatsapp/reports/transfer/{id}",
36747 "title": "Deletes a Whatsapp Transfer Report",
36750 "title": "Example usage:",
36751 "content": "curl https://{domain}/api/whatsapp/reports/transfer/{id} -v -u {name}:{password} -X DELETE",
36755 "name": "DeleteWhatsapp_Transfer_Reports",
36756 "group": "Whatsapp_Transfer_Reports",
36757 "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>",
36758 "version": "0.0.0",
36759 "filename": "server/api/whatsappTransferReport/index.js",
36760 "groupTitle": "Whatsapp_Transfer_Reports"
36764 "url": "/api/whatsapp/reports/transfer/describe",
36765 "title": "Gets table info about Whatsapp Transfer Reports",
36768 "title": "Example usage:",
36769 "content": "curl https://{domain}/api/whatsapp/reports/transfer/describe -v -u {name}:{password}",
36773 "name": "DescribeWhatsapp_Transfer_Reports",
36774 "group": "Whatsapp_Transfer_Reports",
36775 "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>",
36776 "version": "0.0.0",
36777 "filename": "server/api/whatsappTransferReport/index.js",
36778 "groupTitle": "Whatsapp_Transfer_Reports"
36782 "url": "/api/whatsapp/reports/transfer",
36783 "title": "Gets a list of Whatsapp Transfer Reports",
36786 "title": "Example usage:",
36787 "content": "curl https://{domain}/api/whatsapp/reports/transfer -v -u {name}:{password}",
36791 "name": "GetWhatsapp_Transfer_Reports",
36792 "group": "Whatsapp_Transfer_Reports",
36793 "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&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>",
36794 "version": "0.0.0",
36795 "filename": "server/api/whatsappTransferReport/index.js",
36796 "groupTitle": "Whatsapp_Transfer_Reports"
36800 "url": "/api/whatsapp/reports/transfer/{id}",
36801 "title": "Gets a single Whatsapp Transfer Report",
36804 "title": "Example usage:",
36805 "content": "curl https://{domain}/api/whatsapp/reports/transfer/{id} -v -u {name}:{password}",
36809 "name": "ShowWhatsapp_Transfer_Reports",
36810 "group": "Whatsapp_Transfer_Reports",
36811 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36812 "version": "0.0.0",
36813 "filename": "server/api/whatsappTransferReport/index.js",
36814 "groupTitle": "Whatsapp_Transfer_Reports"
36818 "url": "/api/whatsapp/reports/transfer/{id}",
36819 "title": "Update an existing Whatsapp Transfer Report",
36822 "title": "Example usage:",
36823 "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",
36827 "name": "updateWhatsapp_Transfer_Reports",
36828 "group": "Whatsapp_Transfer_Reports",
36829 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36830 "version": "0.0.0",
36831 "filename": "server/api/whatsappTransferReport/index.js",
36832 "groupTitle": "Whatsapp_Transfer_Reports"
36836 "url": "/api/integrations/zendesk/accounts",
36837 "title": "Creates a new Zendesk Account",
36840 "title": "Example usage:",
36841 "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",
36845 "name": "CreateZendesk_Accounts",
36846 "group": "Zendesk_Accounts",
36861 "field": "description",
36868 "field": "username",
36875 "field": "password",
36889 "field": "remoteUri",
36900 "field": "authType",
36907 "field": "serverUrl",
36914 "\"integrationTab\"",
36924 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36925 "version": "0.0.0",
36926 "filename": "server/api/intZendeskAccount/index.js",
36927 "groupTitle": "Zendesk_Accounts"
36931 "url": "/api/integrations/zendesk/accounts/{id}",
36932 "title": "Deletes a Zendesk Account",
36935 "title": "Example usage:",
36936 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id} -v -u {name}:{password} -X DELETE",
36940 "name": "DeleteZendesk_Accounts",
36941 "group": "Zendesk_Accounts",
36942 "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>",
36943 "version": "0.0.0",
36944 "filename": "server/api/intZendeskAccount/index.js",
36945 "groupTitle": "Zendesk_Accounts"
36949 "url": "/api/integrations/zendesk/accounts",
36950 "title": "Gets a list of Zendesk Accounts",
36953 "title": "Example usage:",
36954 "content": "curl https://{domain}/api/integrations/zendesk/accounts -v -u {name}:{password}",
36958 "name": "GetZendesk_Accounts",
36959 "group": "Zendesk_Accounts",
36960 "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&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>",
36961 "version": "0.0.0",
36962 "filename": "server/api/intZendeskAccount/index.js",
36963 "groupTitle": "Zendesk_Accounts"
36967 "url": "/api/integrations/zendesk/accounts/{id}",
36968 "title": "Gets a single Zendesk Account",
36971 "title": "Example usage:",
36972 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id} -v -u {name}:{password}",
36976 "name": "ShowZendesk_Accounts",
36977 "group": "Zendesk_Accounts",
36978 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36979 "version": "0.0.0",
36980 "filename": "server/api/intZendeskAccount/index.js",
36981 "groupTitle": "Zendesk_Accounts"
36985 "url": "/api/integrations/zendesk/accounts/{id}/configurations",
36986 "title": "Creates new configuration",
36989 "title": "Example usage:",
36990 "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",
36994 "name": "addConfiguration",
36995 "group": "Zendesk_Accounts",
36996 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
36997 "version": "0.0.0",
36998 "filename": "server/api/intZendeskAccount/index.js",
36999 "groupTitle": "Zendesk_Accounts"
37003 "url": "/api/integrations/zendesk/accounts/{id}/configurations",
37004 "title": "Gets account configurations",
37007 "title": "Example usage:",
37008 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id}/configurations -v -u {name}:{password} -X GET",
37012 "name": "getConfigurations",
37013 "group": "Zendesk_Accounts",
37014 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37015 "version": "0.0.0",
37016 "filename": "server/api/intZendeskAccount/index.js",
37017 "groupTitle": "Zendesk_Accounts"
37021 "url": "/api/integrations/zendesk/accounts/{id}/fields",
37022 "title": "Gets account fields",
37025 "title": "Example usage:",
37026 "content": "curl https://{domain}/api/integrations/zendesk/accounts/{id}/fields -v -u {name}:{password} -X GET",
37030 "name": "getFields",
37031 "group": "Zendesk_Accounts",
37032 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37033 "version": "0.0.0",
37034 "filename": "server/api/intZendeskAccount/index.js",
37035 "groupTitle": "Zendesk_Accounts"
37039 "url": "/api/integrations/zendesk/accounts/{id}",
37040 "title": "Update an existing Zendesk Account",
37043 "title": "Example usage:",
37044 "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",
37048 "name": "updateZendesk_Accounts",
37049 "group": "Zendesk_Accounts",
37050 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37051 "version": "0.0.0",
37052 "filename": "server/api/intZendeskAccount/index.js",
37053 "groupTitle": "Zendesk_Accounts"
37057 "url": "/api/integrations/zendesk/configurations",
37058 "title": "Creates a new Zendesk Configuration",
37061 "title": "Example usage:",
37062 "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",
37066 "name": "CreateZendesk_Configurations",
37067 "group": "Zendesk_Configurations",
37082 "field": "description",
37088 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37089 "version": "0.0.0",
37090 "filename": "server/api/intZendeskConfiguration/index.js",
37091 "groupTitle": "Zendesk_Configurations"
37095 "url": "/api/integrations/zendesk/configurations/{id}",
37096 "title": "Deletes a Zendesk Configuration",
37099 "title": "Example usage:",
37100 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id} -v -u {name}:{password} -X DELETE",
37104 "name": "DeleteZendesk_Configurations",
37105 "group": "Zendesk_Configurations",
37106 "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>",
37107 "version": "0.0.0",
37108 "filename": "server/api/intZendeskConfiguration/index.js",
37109 "groupTitle": "Zendesk_Configurations"
37113 "url": "/api/integrations/zendesk/configurations",
37114 "title": "Gets a list of Zendesk Configurations",
37117 "title": "Example usage:",
37118 "content": "curl https://{domain}/api/integrations/zendesk/configurations -v -u {name}:{password}",
37122 "name": "GetZendesk_Configurations",
37123 "group": "Zendesk_Configurations",
37124 "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&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>",
37125 "version": "0.0.0",
37126 "filename": "server/api/intZendeskConfiguration/index.js",
37127 "groupTitle": "Zendesk_Configurations"
37131 "url": "/api/integrations/zendesk/configurations/{id}",
37132 "title": "Gets a single Zendesk Configuration",
37135 "title": "Example usage:",
37136 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id} -v -u {name}:{password}",
37140 "name": "ShowZendesk_Configurations",
37141 "group": "Zendesk_Configurations",
37142 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37143 "version": "0.0.0",
37144 "filename": "server/api/intZendeskConfiguration/index.js",
37145 "groupTitle": "Zendesk_Configurations"
37149 "url": "/api/integrations/zendesk/configurations/{id}/descriptions",
37150 "title": "Gets configurations descriptions",
37153 "title": "Example usage:",
37154 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
37158 "name": "getDescriptions",
37159 "group": "Zendesk_Configurations",
37160 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37161 "version": "0.0.0",
37162 "filename": "server/api/intZendeskConfiguration/index.js",
37163 "groupTitle": "Zendesk_Configurations"
37167 "url": "/api/integrations/zendesk/configurations/{id}/fields",
37168 "title": "Gets configurations fields",
37171 "title": "Example usage:",
37172 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/fields -v -u {name}:{password} -X GET",
37176 "name": "getFields",
37177 "group": "Zendesk_Configurations",
37178 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37179 "version": "0.0.0",
37180 "filename": "server/api/intZendeskConfiguration/index.js",
37181 "groupTitle": "Zendesk_Configurations"
37185 "url": "/api/integrations/zendesk/configurations/{id}/subjects",
37186 "title": "Gets configurations subjects",
37189 "title": "Example usage:",
37190 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/subjects -v -u {name}:{password} -X GET",
37194 "name": "getSubjects",
37195 "group": "Zendesk_Configurations",
37196 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37197 "version": "0.0.0",
37198 "filename": "server/api/intZendeskConfiguration/index.js",
37199 "groupTitle": "Zendesk_Configurations"
37203 "url": "/api/integrations/zendesk/configurations/{id}/tags",
37204 "title": "Gets configurations tags",
37207 "title": "Example usage:",
37208 "content": "curl https://{domain}/api/integrations/zendesk/configurations/{id}/tags -v -u {name}:{password} -X GET",
37213 "group": "Zendesk_Configurations",
37214 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37215 "version": "0.0.0",
37216 "filename": "server/api/intZendeskConfiguration/index.js",
37217 "groupTitle": "Zendesk_Configurations"
37221 "url": "/api/integrations/zendesk/configurations/{id}/tags",
37222 "title": "Sets new tags",
37225 "title": "Example usage:",
37226 "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",
37231 "group": "Zendesk_Configurations",
37232 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37233 "version": "0.0.0",
37234 "filename": "server/api/intZendeskConfiguration/index.js",
37235 "groupTitle": "Zendesk_Configurations"
37239 "url": "/api/integrations/zendesk/configurations/{id}",
37240 "title": "Update an existing Zendesk Configuration",
37243 "title": "Example usage:",
37244 "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",
37248 "name": "updateZendesk_Configurations",
37249 "group": "Zendesk_Configurations",
37250 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37251 "version": "0.0.0",
37252 "filename": "server/api/intZendeskConfiguration/index.js",
37253 "groupTitle": "Zendesk_Configurations"
37257 "url": "/api/integrations/zendesk/fields",
37258 "title": "Creates a new Zendesk Field",
37261 "title": "Example usage:",
37262 "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",
37266 "name": "CreateZendesk_Fields",
37267 "group": "Zendesk_Fields",
37277 "\"customVariable\"",
37289 "field": "content",
37305 "\"customVariable\""
37308 "field": "keyType",
37315 "field": "keyContent",
37322 "field": "idField",
37329 "field": "nameField",
37336 "field": "customField",
37343 "field": "variableName",
37349 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37350 "version": "0.0.0",
37351 "filename": "server/api/intZendeskField/index.js",
37352 "groupTitle": "Zendesk_Fields"
37356 "url": "/api/integrations/zendesk/fields/{id}",
37357 "title": "Deletes a Zendesk Field",
37360 "title": "Example usage:",
37361 "content": "curl https://{domain}/api/integrations/zendesk/fields/{id} -v -u {name}:{password} -X DELETE",
37365 "name": "DeleteZendesk_Fields",
37366 "group": "Zendesk_Fields",
37367 "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>",
37368 "version": "0.0.0",
37369 "filename": "server/api/intZendeskField/index.js",
37370 "groupTitle": "Zendesk_Fields"
37374 "url": "/api/integrations/zendesk/fields",
37375 "title": "Gets a list of Zendesk Fields",
37378 "title": "Example usage:",
37379 "content": "curl https://{domain}/api/integrations/zendesk/fields -v -u {name}:{password}",
37383 "name": "GetZendesk_Fields",
37384 "group": "Zendesk_Fields",
37385 "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&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>",
37386 "version": "0.0.0",
37387 "filename": "server/api/intZendeskField/index.js",
37388 "groupTitle": "Zendesk_Fields"
37392 "url": "/api/integrations/zendesk/fields/{id}",
37393 "title": "Gets a single Zendesk Field",
37396 "title": "Example usage:",
37397 "content": "curl https://{domain}/api/integrations/zendesk/fields/{id} -v -u {name}:{password}",
37401 "name": "ShowZendesk_Fields",
37402 "group": "Zendesk_Fields",
37403 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37404 "version": "0.0.0",
37405 "filename": "server/api/intZendeskField/index.js",
37406 "groupTitle": "Zendesk_Fields"
37410 "url": "/api/integrations/zendesk/fields/{id}",
37411 "title": "Update an existing Zendesk Field",
37414 "title": "Example usage:",
37415 "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",
37419 "name": "updateZendesk_Fields",
37420 "group": "Zendesk_Fields",
37421 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37422 "version": "0.0.0",
37423 "filename": "server/api/intZendeskField/index.js",
37424 "groupTitle": "Zendesk_Fields"
37428 "url": "/api/integrations/zoho/accounts",
37429 "title": "Creates a new Zoho Account",
37432 "title": "Example usage:",
37433 "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",
37437 "name": "CreateZoho_Accounts",
37438 "group": "Zoho_Accounts",
37453 "field": "description",
37474 "field": "clientId",
37481 "field": "clientSecret",
37488 "field": "serverUrl",
37502 "field": "refreshToken",
37508 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37509 "version": "0.0.0",
37510 "filename": "server/api/intZohoAccount/index.js",
37511 "groupTitle": "Zoho_Accounts"
37515 "url": "/api/integrations/zoho/accounts/{id}",
37516 "title": "Deletes a Zoho Account",
37519 "title": "Example usage:",
37520 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id} -v -u {name}:{password} -X DELETE",
37524 "name": "DeleteZoho_Accounts",
37525 "group": "Zoho_Accounts",
37526 "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>",
37527 "version": "0.0.0",
37528 "filename": "server/api/intZohoAccount/index.js",
37529 "groupTitle": "Zoho_Accounts"
37533 "url": "/api/integrations/zoho/accounts",
37534 "title": "Gets a list of Zoho Accounts",
37537 "title": "Example usage:",
37538 "content": "curl https://{domain}/api/integrations/zoho/accounts -v -u {name}:{password}",
37542 "name": "GetZoho_Accounts",
37543 "group": "Zoho_Accounts",
37544 "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&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>",
37545 "version": "0.0.0",
37546 "filename": "server/api/intZohoAccount/index.js",
37547 "groupTitle": "Zoho_Accounts"
37551 "url": "/api/integrations/zoho/accounts/{id}",
37552 "title": "Gets a single Zoho Account",
37555 "title": "Example usage:",
37556 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id} -v -u {name}:{password}",
37560 "name": "ShowZoho_Accounts",
37561 "group": "Zoho_Accounts",
37562 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37563 "version": "0.0.0",
37564 "filename": "server/api/intZohoAccount/index.js",
37565 "groupTitle": "Zoho_Accounts"
37569 "url": "/api/integrations/zoho/accounts/{id}/configurations",
37570 "title": "Creates new configuration",
37573 "title": "Example usage:",
37574 "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",
37578 "name": "addConfiguration",
37579 "group": "Zoho_Accounts",
37580 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37581 "version": "0.0.0",
37582 "filename": "server/api/intZohoAccount/index.js",
37583 "groupTitle": "Zoho_Accounts"
37587 "url": "/api/integrations/zoho/accounts/{id}/configurations",
37588 "title": "Gets account configurations",
37591 "title": "Example usage:",
37592 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id}/configurations -v -u {name}:{password} -X GET",
37596 "name": "getConfigurations",
37597 "group": "Zoho_Accounts",
37598 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37599 "version": "0.0.0",
37600 "filename": "server/api/intZohoAccount/index.js",
37601 "groupTitle": "Zoho_Accounts"
37605 "url": "/api/integrations/zoho/accounts/{id}/fields",
37606 "title": "Gets account fields",
37609 "title": "Example usage:",
37610 "content": "curl https://{domain}/api/integrations/zoho/accounts/{id}/fields -v -u {name}:{password} -X GET",
37614 "name": "getFields",
37615 "group": "Zoho_Accounts",
37616 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37617 "version": "0.0.0",
37618 "filename": "server/api/intZohoAccount/index.js",
37619 "groupTitle": "Zoho_Accounts"
37623 "url": "/api/integrations/zoho/accounts/{id}",
37624 "title": "Update an existing Zoho Account",
37627 "title": "Example usage:",
37628 "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",
37632 "name": "updateZoho_Accounts",
37633 "group": "Zoho_Accounts",
37634 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37635 "version": "0.0.0",
37636 "filename": "server/api/intZohoAccount/index.js",
37637 "groupTitle": "Zoho_Accounts"
37641 "url": "/api/integrations/zoho/configurations",
37642 "title": "Creates a new Zoho Configuration",
37645 "title": "Example usage:",
37646 "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",
37650 "name": "CreateZoho_Configurations",
37651 "group": "Zoho_Configurations",
37671 "field": "moduleCreate",
37678 "\"contact_lead\"",
37683 "field": "moduleSearch",
37690 "field": "description",
37696 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37697 "version": "0.0.0",
37698 "filename": "server/api/intZohoConfiguration/index.js",
37699 "groupTitle": "Zoho_Configurations"
37703 "url": "/api/integrations/zoho/configurations/{id}",
37704 "title": "Deletes a Zoho Configuration",
37707 "title": "Example usage:",
37708 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id} -v -u {name}:{password} -X DELETE",
37712 "name": "DeleteZoho_Configurations",
37713 "group": "Zoho_Configurations",
37714 "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>",
37715 "version": "0.0.0",
37716 "filename": "server/api/intZohoConfiguration/index.js",
37717 "groupTitle": "Zoho_Configurations"
37721 "url": "/api/integrations/zoho/configurations",
37722 "title": "Gets a list of Zoho Configurations",
37725 "title": "Example usage:",
37726 "content": "curl https://{domain}/api/integrations/zoho/configurations -v -u {name}:{password}",
37730 "name": "GetZoho_Configurations",
37731 "group": "Zoho_Configurations",
37732 "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&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>",
37733 "version": "0.0.0",
37734 "filename": "server/api/intZohoConfiguration/index.js",
37735 "groupTitle": "Zoho_Configurations"
37739 "url": "/api/integrations/zoho/configurations/{id}",
37740 "title": "Gets a single Zoho Configuration",
37743 "title": "Example usage:",
37744 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id} -v -u {name}:{password}",
37748 "name": "ShowZoho_Configurations",
37749 "group": "Zoho_Configurations",
37750 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37751 "version": "0.0.0",
37752 "filename": "server/api/intZohoConfiguration/index.js",
37753 "groupTitle": "Zoho_Configurations"
37757 "url": "/api/integrations/zoho/configurations/{id}/descriptions",
37758 "title": "Gets configurations descriptions",
37761 "title": "Example usage:",
37762 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/descriptions -v -u {name}:{password} -X GET",
37766 "name": "getDescriptions",
37767 "group": "Zoho_Configurations",
37768 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37769 "version": "0.0.0",
37770 "filename": "server/api/intZohoConfiguration/index.js",
37771 "groupTitle": "Zoho_Configurations"
37775 "url": "/api/integrations/zoho/configurations/{id}/fields",
37776 "title": "Gets configurations fields",
37779 "title": "Example usage:",
37780 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/fields -v -u {name}:{password} -X GET",
37784 "name": "getFields",
37785 "group": "Zoho_Configurations",
37786 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37787 "version": "0.0.0",
37788 "filename": "server/api/intZohoConfiguration/index.js",
37789 "groupTitle": "Zoho_Configurations"
37793 "url": "/api/integrations/zoho/configurations/{id}/subjects",
37794 "title": "Gets configurations subjects",
37797 "title": "Example usage:",
37798 "content": "curl https://{domain}/api/integrations/zoho/configurations/{id}/subjects -v -u {name}:{password} -X GET",
37802 "name": "getSubjects",
37803 "group": "Zoho_Configurations",
37804 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37805 "version": "0.0.0",
37806 "filename": "server/api/intZohoConfiguration/index.js",
37807 "groupTitle": "Zoho_Configurations"
37811 "url": "/api/integrations/zoho/configurations/{id}",
37812 "title": "Update an existing Zoho Configuration",
37815 "title": "Example usage:",
37816 "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",
37820 "name": "updateZoho_Configurations",
37821 "group": "Zoho_Configurations",
37822 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37823 "version": "0.0.0",
37824 "filename": "server/api/intZohoConfiguration/index.js",
37825 "groupTitle": "Zoho_Configurations"
37829 "url": "/api/integrations/zoho/fields",
37830 "title": "Creates a new Zoho Field",
37833 "title": "Example usage:",
37834 "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",
37838 "name": "CreateZoho_Fields",
37839 "group": "Zoho_Fields",
37849 "\"customVariable\"",
37861 "field": "content",
37877 "\"customVariable\""
37880 "field": "keyType",
37887 "field": "keyContent",
37894 "field": "idField",
37901 "field": "nameField",
37908 "field": "customField",
37915 "field": "variableName",
37921 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37922 "version": "0.0.0",
37923 "filename": "server/api/intZohoField/index.js",
37924 "groupTitle": "Zoho_Fields"
37928 "url": "/api/integrations/zoho/fields/{id}",
37929 "title": "Deletes a Zoho Field",
37932 "title": "Example usage:",
37933 "content": "curl https://{domain}/api/integrations/zoho/fields/{id} -v -u {name}:{password} -X DELETE",
37937 "name": "DeleteZoho_Fields",
37938 "group": "Zoho_Fields",
37939 "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>",
37940 "version": "0.0.0",
37941 "filename": "server/api/intZohoField/index.js",
37942 "groupTitle": "Zoho_Fields"
37946 "url": "/api/integrations/zoho/fields",
37947 "title": "Gets a list of Zoho Fields",
37950 "title": "Example usage:",
37951 "content": "curl https://{domain}/api/integrations/zoho/fields -v -u {name}:{password}",
37955 "name": "GetZoho_Fields",
37956 "group": "Zoho_Fields",
37957 "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&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>",
37958 "version": "0.0.0",
37959 "filename": "server/api/intZohoField/index.js",
37960 "groupTitle": "Zoho_Fields"
37964 "url": "/api/integrations/zoho/fields/{id}",
37965 "title": "Gets a single Zoho Field",
37968 "title": "Example usage:",
37969 "content": "curl https://{domain}/api/integrations/zoho/fields/{id} -v -u {name}:{password}",
37973 "name": "ShowZoho_Fields",
37974 "group": "Zoho_Fields",
37975 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37976 "version": "0.0.0",
37977 "filename": "server/api/intZohoField/index.js",
37978 "groupTitle": "Zoho_Fields"
37982 "url": "/api/integrations/zoho/fields/{id}",
37983 "title": "Update an existing Zoho Field",
37986 "title": "Example usage:",
37987 "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",
37991 "name": "updateZoho_Fields",
37992 "group": "Zoho_Fields",
37993 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
37994 "version": "0.0.0",
37995 "filename": "server/api/intZohoField/index.js",
37996 "groupTitle": "Zoho_Fields"
38001 "title": "Creates a new Cdr",
38004 "title": "Example usage:",
38005 "content": "curl https://{domain}/api/cdr -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
38009 "name": "CreateCdrs",
38018 "field": "calldate",
38046 "field": "dcontext",
38053 "field": "channel",
38060 "field": "dstchannel",
38067 "field": "lastapp",
38074 "field": "lastdata",
38081 "field": "duration",
38088 "field": "billsec",
38095 "field": "disposition",
38102 "field": "amaflags",
38109 "field": "accountcode",
38116 "field": "userfield",
38123 "field": "uniqueid",
38130 "field": "linkedid",
38137 "field": "sequence",
38144 "field": "peeraccount",
38164 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38165 "version": "0.0.0",
38166 "filename": "server/api/cdr/index.js",
38167 "groupTitle": "cdr"
38171 "url": "/api/cdr/{id}",
38172 "title": "Deletes a Cdr",
38175 "title": "Example usage:",
38176 "content": "curl https://{domain}/api/cdr/{id} -v -u {name}:{password} -X DELETE",
38180 "name": "DeleteCdrs",
38182 "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>",
38183 "version": "0.0.0",
38184 "filename": "server/api/cdr/index.js",
38185 "groupTitle": "cdr"
38189 "url": "/api/cdr/describe",
38190 "title": "Gets table info about Cdrs",
38193 "title": "Example usage:",
38194 "content": "curl https://{domain}/api/cdr/describe -v -u {name}:{password}",
38198 "name": "DescribeCdrs",
38200 "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>",
38201 "version": "0.0.0",
38202 "filename": "server/api/cdr/index.js",
38203 "groupTitle": "cdr"
38208 "title": "Gets a list of Cdrs",
38211 "title": "Example usage:",
38212 "content": "curl https://{domain}/api/cdr -v -u {name}:{password}",
38218 "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&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>",
38219 "version": "0.0.0",
38220 "filename": "server/api/cdr/index.js",
38221 "groupTitle": "cdr"
38225 "url": "/api/cdr/{id}",
38226 "title": "Gets a single Cdr",
38229 "title": "Example usage:",
38230 "content": "curl https://{domain}/api/cdr/{id} -v -u {name}:{password}",
38234 "name": "ShowCdrs",
38236 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38237 "version": "0.0.0",
38238 "filename": "server/api/cdr/index.js",
38239 "groupTitle": "cdr"
38243 "url": "/api/cdr/{id}",
38244 "title": "Update an existing Cdr",
38247 "title": "Example usage:",
38248 "content": "curl https://{domain}/api/cdr/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
38252 "name": "updateCdrs",
38254 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38255 "version": "0.0.0",
38256 "filename": "server/api/cdr/index.js",
38257 "groupTitle": "cdr"
38261 "url": "/api/voiceQueuesLog",
38262 "title": "Creates a new VoiceQueuesLog",
38265 "title": "Example usage:",
38266 "content": "curl https://{domain}/api/voiceQueuesLog -d '{\"key1\": \"valu1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
38270 "name": "CreateVoiceQueuesLogs",
38271 "group": "voiceQueuesLog",
38293 "field": "queuename",
38362 "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38363 "version": "0.0.0",
38364 "filename": "server/api/voiceQueuesLog/index.js",
38365 "groupTitle": "voiceQueuesLog"
38369 "url": "/api/voiceQueuesLog/{id}",
38370 "title": "Deletes a VoiceQueuesLog",
38373 "title": "Example usage:",
38374 "content": "curl https://{domain}/api/voiceQueuesLog/{id} -v -u {name}:{password} -X DELETE",
38378 "name": "DeleteVoiceQueuesLogs",
38379 "group": "voiceQueuesLog",
38380 "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>",
38381 "version": "0.0.0",
38382 "filename": "server/api/voiceQueuesLog/index.js",
38383 "groupTitle": "voiceQueuesLog"
38387 "url": "/api/voiceQueuesLog",
38388 "title": "Gets a list of VoiceQueuesLogs",
38391 "title": "Example usage:",
38392 "content": "curl https://{domain}/api/voiceQueuesLog -v -u {name}:{password}",
38396 "name": "GetVoiceQueuesLogs",
38397 "group": "voiceQueuesLog",
38398 "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&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>",
38399 "version": "0.0.0",
38400 "filename": "server/api/voiceQueuesLog/index.js",
38401 "groupTitle": "voiceQueuesLog"
38405 "url": "/api/voiceQueuesLog/{id}",
38406 "title": "Gets a single VoiceQueuesLog",
38409 "title": "Example usage:",
38410 "content": "curl https://{domain}/api/voiceQueuesLog/{id} -v -u {name}:{password}",
38414 "name": "ShowVoiceQueuesLogs",
38415 "group": "voiceQueuesLog",
38416 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38417 "version": "0.0.0",
38418 "filename": "server/api/voiceQueuesLog/index.js",
38419 "groupTitle": "voiceQueuesLog"
38423 "url": "/api/voiceQueuesLog/{id}",
38424 "title": "Update an existing VoiceQueuesLog",
38427 "title": "Example usage:",
38428 "content": "curl https://{domain}/api/voiceQueuesLog/{id} -d '{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X PUT",
38432 "name": "updateVoiceQueuesLogs",
38433 "group": "voiceQueuesLog",
38434 "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
38435 "version": "0.0.0",
38436 "filename": "server/api/voiceQueuesLog/index.js",
38437 "groupTitle": "voiceQueuesLog"